JP3242190B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP3242190B2
JP3242190B2 JP06018293A JP6018293A JP3242190B2 JP 3242190 B2 JP3242190 B2 JP 3242190B2 JP 06018293 A JP06018293 A JP 06018293A JP 6018293 A JP6018293 A JP 6018293A JP 3242190 B2 JP3242190 B2 JP 3242190B2
Authority
JP
Japan
Prior art keywords
speed
command
correction amount
position correction
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP06018293A
Other languages
Japanese (ja)
Other versions
JPH06274229A (en
Inventor
正行 杉江
義和 横山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Okuma Corp
Original Assignee
Okuma Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Corp filed Critical Okuma Corp
Priority to JP06018293A priority Critical patent/JP3242190B2/en
Publication of JPH06274229A publication Critical patent/JPH06274229A/en
Application granted granted Critical
Publication of JP3242190B2 publication Critical patent/JP3242190B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、数値制御工作機械の数
値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device for a numerically controlled machine tool.

【0002】[0002]

【従来の技術】一般に数値制御装置においては、加工プ
ログラムで指令される指令形状データ(位置と関数)と
送り速度指令に基づいて工作機械を駆動するよう制御さ
れる。この速度指令は指令形状データのある位置から別
のある位置までの2点間の移動速度を示すデータである
が、この2点間の間の速度は一定として指令している。
従って、停止状態からある速度vで移動してまた停止す
るような場合、速度指令は、速度0の状態からいきなり
速度vで移動して、またいきなり速度0を指令する。し
かし、現実の系においては系の慣性などが存在し、前述
のように加速度を無限大にする制御は行なえない。そこ
で、実際の工作機械においては、現実の系が実際に発生
することが出来る加速度で実現されるようにサーボ系を
制御している。この制御は、加減速処理といわれ、加速
に要する時間(時定数)を定め、この時間内に、例えば
速度0からvまでの加速を行なうものである。
2. Description of the Related Art Generally, a numerical control device is controlled to drive a machine tool based on command shape data (position and function) commanded by a machining program and a feed speed command. This speed command is data indicating a moving speed between two points from a certain position of the command shape data to another certain position, and the speed between the two points is commanded as being constant.
Therefore, in the case of moving at a certain speed v from the stop state and stopping again, the speed command suddenly moves at the speed v from the state of speed 0 and then commands the speed 0 again. However, in an actual system, there is inertia of the system, and control for making the acceleration infinite as described above cannot be performed. Therefore, in an actual machine tool, the servo system is controlled so that a real system is realized at an acceleration that can actually be generated. This control is called acceleration / deceleration processing, in which a time (time constant) required for acceleration is determined, and acceleration from, for example, a speed 0 to v is performed within this time.

【0003】しかし、この加減速処理の間は、実際の速
度指令と異なる速度で移動していることになり、この違
いが追従誤差と呼ばれる制御上の誤差となって現れる。
この追従誤差は、工具やアームの軌跡の誤差となって現
れ、製品の加工精度を悪化させる一因となる場合があ
る。特に昨今の高速で高精度に加工するため工作機械の
数値制御装置においては、サーボ系の追従誤差を指令形
状と送り速度により予測し、所定の軌跡誤差(トレラン
ス量)におさまるように速度指令を制御するとともに、
指令形状を位置補正し工作機械のサーボ系を制御する方
法が実現されている。
However, during the acceleration / deceleration processing, the vehicle is moving at a speed different from the actual speed command, and this difference appears as a control error called a tracking error.
This follow-up error appears as an error in the trajectory of the tool or the arm, and may be a cause of deteriorating the processing accuracy of the product. Particularly in recent numerical control devices for machine tools for high-speed and high-precision machining, the following error of the servo system is predicted by the command shape and the feed speed, and the speed command is set so as to fall within a predetermined trajectory error (tolerance amount). Control and
A method for controlling the servo system of a machine tool by correcting the position of a command shape has been realized.

【0004】図5は従来の装置における制御のブロック
図である。プログラム解析部2は、加工プログラム記憶
部1に記憶される加工プログラムを解析し、加工プログ
ラムで指令される高速加工に必要なトレランス量(許容
加工誤差量)、切削速度上限値等のトレランスパラメー
タをトレランスパラメータ記憶部3に記憶すると共に、
形状判定部4で加工プログラムで指令される形状指令か
ら形状を認識する。速度算出部5では形状判定部4で認
識された形状とトレランスパラメータ記憶部3に記憶さ
れたトレランスパラメータを用いて、前記トレランス量
に一定の係数をかけた加工誤差量を保証できる加工速度
が算出される。高速関数発生部6で、前記指令形状に基
づき前記加工速度に相当する関数が発生させる。さらに
該関数発生結果に基づき、加減速シミュレーション部7
で工作機械のサーボ系の追従をシミュレートする。位置
補正算出部8では、前記高速関数発生部6の関数発生結
果と前記サーボ系の追従をシミュレート結果から追従誤
差を予測し、追従誤差を補償する位置補正量が算出され
る。位置補正後の関数発生部11では、前記高速関数発
生部6の関数発生結果に対して前記位置補正算出部8の
位置補正量を加算した位置補正後の指令値に対して前記
速度算出部5で算出された加工速度で関数発生を行な
い、軸駆動制御部12で工作機械のサーボ系を駆動制御
する。なお機械を一時的に停止する場合はオペレータの
操作により一時停止信号を位置補正後の関数発生部11
に送り、該一時停止信号により位置補正後の関数発生部
11の動作を一時的に停止させている。さらに詳細に説
明するため図6の動作指令軌跡を用いて説明を補足す
る。
FIG. 5 is a block diagram of control in a conventional apparatus. The program analysis unit 2 analyzes a machining program stored in the machining program storage unit 1 and calculates tolerance parameters (allowable machining error amount) required for high-speed machining and a tolerance parameter such as a cutting speed upper limit value, which are instructed by the machining program. While being stored in the tolerance parameter storage unit 3,
The shape determination unit 4 recognizes the shape from the shape command issued by the machining program. Using the shape recognized by the shape determination unit 4 and the tolerance parameter stored in the tolerance parameter storage unit 3, the speed calculation unit 5 calculates a machining speed that can guarantee a machining error amount obtained by multiplying the tolerance amount by a constant coefficient. Is done. The high-speed function generator 6 generates a function corresponding to the processing speed based on the command shape. Further, based on the function generation result, the acceleration / deceleration simulation unit 7
Simulates the following of the machine tool servo system. The position correction calculator 8 predicts a tracking error from a function generation result of the high-speed function generator 6 and a result of simulating the tracking of the servo system, and calculates a position correction amount for compensating the tracking error. In the function generator 11 after the position correction, the speed calculator 5 adds a position correction amount obtained by adding the position correction amount of the position correction calculator 8 to the function generation result of the high-speed function generator 6. A function is generated at the machining speed calculated in the step (1), and the axis drive control unit 12 drives and controls the servo system of the machine tool. When the machine is temporarily stopped, the pause signal is output from the function generator 11 after the position correction by the operation of the operator.
The operation of the function generator 11 after the position correction is temporarily stopped by the pause signal. For further detailed explanation, the explanation is supplemented by using the operation command trajectory of FIG.

【0005】P1〜P8は高速関数発生部6により発生
された関数の示す軌跡である。p7〜p14はトレラン
ス量に一定の係数をかけた加工誤差量を保証しうる加工
速度に基づき高速関数発生部6によって関数発生させ、
この結果に基づいて加減速シミュレーション部7で工作
機械のサーボ系の追従をシミュレートさせた結果による
予測軌跡を示す。l1〜l8はサーボ系の追従誤差を予
測し結果から軌跡誤差を予測したスカラ量(P1−p
7、・・・・、P8−p14)を示している。ここで予
測した軌跡誤差を補正するために、前記スカラ量(軌跡
誤差)に所定の係数(本例では1/2)を乗じた軌跡誤
差量を前記関数発生軌跡に対して位置補正を加えた位置
補正後の指令軌跡P1’〜P8’が作成される。この位
置補正後の指令軌跡P1’〜P8’に基づいて工作機械
のサーボ系を駆動制御すると工作機械の動作軌跡はp
7’〜p14’となり、許容加工誤差量内の動作軌跡と
なるように制御されることを示している。なおp8→P
8は、サーボ系の時定数による追従誤差量を示してい
る。
[0005] P1 to P8 are trajectories indicated by the functions generated by the high-speed function generator 6. p7 to p14 are generated by the high-speed function generator 6 based on a processing speed capable of guaranteeing a processing error amount obtained by multiplying the tolerance amount by a constant coefficient;
The predicted trajectory based on the result of simulating the following of the servo system of the machine tool by the acceleration / deceleration simulation unit 7 based on the result is shown. Reference numerals 11 to 18 denote scalar quantities (P1-p) for which the tracking error of the servo system is predicted and the trajectory error is predicted from the result.
7,..., P8-p14). In order to correct the trajectory error predicted here, a trajectory error amount obtained by multiplying the scalar amount (trajectory error) by a predetermined coefficient (1/2 in this example) is subjected to position correction to the function generation trajectory. Command trajectories P1 'to P8' after position correction are created. If the servo system of the machine tool is drive-controlled based on the command trajectories P1 'to P8' after the position correction, the operation trajectory of the machine tool becomes p
7 ′ to p14 ′, indicating that the motion trajectory is controlled to be within the allowable machining error amount. Note that p8 → P
Reference numeral 8 denotes a tracking error amount due to the time constant of the servo system.

【0006】このような数値制御装置において、一時停
止が行なわれると加工速度は図7のタイムチャートに記
載したように、速度指令Vは直ちに0が指令される。こ
の時の軌跡動作を示したものが図8であり、軌跡L0は
加工プログラムで指令される指令形状であり、軌跡L1
は位置補正後の関数発生軌跡、軌跡L2は、実際の工作
機械の動作軌跡を示している。一時停止信号Tが入力さ
れると、速度指令が0となるため、位置補正後の関数発
生軌跡は、位置Paで即停止されるが工作機械の動作軌
跡は、前記サーボ系の加減速による時定数による追従誤
差を持っているから一時停止信号Tが入力された時に
は、位置Pbにあり前記時定数を経過後、位置Paに到
達する。
In such a numerical control device, when the suspension is performed, the machining speed is immediately set to 0 as shown in the time chart of FIG. FIG. 8 shows the trajectory motion at this time. The trajectory L0 is a command shape specified by the machining program, and the trajectory L1
Indicates a function generation locus after position correction, and a locus L2 indicates an actual operation locus of the machine tool. When the pause signal T is input, the speed command becomes 0, so that the function generation trajectory after the position correction is immediately stopped at the position Pa, but the operation trajectory of the machine tool is caused by the acceleration / deceleration of the servo system. When the temporary stop signal T is input because of the following error due to the constant, the position is at the position Pb and reaches the position Pa after the time constant elapses.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の制御に
よれば、一時停止が行なわれると位置補正後の位置で停
止するので指令形状とは異なる位置に停止してしまう。
このため加工形状に対して食い込みあるいは突起形状が
著しく発生する。この食い込み傷や突起を修正するため
加工後の補修作業が著しく発生するという問題があっ
た。
According to the conventional control described above, if a temporary stop is performed, the stop is performed at the position after the position correction, so that the stop is performed at a position different from the command shape.
For this reason, a bite or a protruding shape is significantly generated in the processed shape. There has been a problem that repair work after processing is remarkably generated in order to correct the bite scratches and protrusions.

【0008】従って、加工時に一時停止を極力行なわな
いように操作する配慮が必要があったが、切削上での切
粉の巻きつきあるいは安全上での停止操作が必要な場合
があり一時停止操作を全くなくすことは出来ない。よっ
て上述した問題を解決する必要があった。
[0008] Therefore, it was necessary to consider the operation to minimize the pause during machining. However, there is a case where it is necessary to wind the chips during cutting or to stop the operation for safety. Cannot be completely eliminated. Therefore, it was necessary to solve the above-mentioned problem.

【0009】本発明の目的は、上述の問題点に鑑みサー
ボ系の追従誤差を指令形状と送り速度により予測し、所
定の軌跡誤差(トレランス量)におさまるように速度指
令を制御するとともに、指令形状を位置補正し工作機械
のサーボ系を制御する方法において一時停止を行なって
も、停止位置が指令形状で停止することが出来る数値制
御装置を提供することにある。
In view of the above problems, it is an object of the present invention to predict a tracking error of a servo system based on a command shape and a feed speed, control a speed command so as to fall within a predetermined trajectory error (tolerance amount), and provide a command. It is an object of the present invention to provide a numerical control device capable of stopping a stop position at a commanded shape even if a temporary stop is performed in a method of correcting a position of a shape and controlling a servo system of a machine tool.

【0010】[0010]

【課題を解決するための手段】加工プログラムの指令形
状データと送り速度指令に従い演算動作する数値制御装
置であって、送り軸モータを駆動する駆動制御部が持つ
加減速時定数による軌跡誤差を前記指令形状データと送
り速度指令と加減速時定数から予測し、該軌跡誤差が所
定の値以内となるような補正量を算出し、この補正量に
より指令位置を補正する位置補正制御を行なう数値制御
装置において、外部から一時停止信号を入力する一時停
止信号入力手段と、前記一時停止信号が入力されると、
前記速度指令の速度を徐々に減速させ第1の所定時間後
に0となるように減速制御する減速制御手段と、前記一
時停止信号が入力されると、前記指令位置補正量を徐々
に減少させ前記第1所定時間後に0となるように減少制
御する補正量減衰手段と、外部から再起動信号を入力す
る再起動信号入力手段と、前記再起動信号が入力される
と、前記速度指令の速度を徐々に増速させ第2の所定時
間後に当初の速度指令となるようにする速度増加手段
と、前記再起動信号が入力されると、前記指令位置補正
量を0より徐々に増加させ第2の所定時間後に当初の補
正量となるようにする補正量増加手段とを備えたことを
特徴とする。
A numerical control device which operates in accordance with a command shape data of a machining program and a feed speed command, wherein a trajectory error caused by an acceleration / deceleration time constant of a drive control section for driving a feed shaft motor is controlled. Numerical control that predicts from the command shape data, the feed speed command, and the acceleration / deceleration time constant, calculates a correction amount such that the trajectory error is within a predetermined value, and performs position correction control for correcting the command position based on the correction amount. In the device, when a pause signal input means for inputting a pause signal from outside, and the pause signal is input,
Deceleration control means for gradually decelerating the speed of the speed command to decelerate so as to become 0 after a first predetermined time, and when the pause signal is input, gradually decreases the command position correction amount. A correction amount attenuating means for performing reduction control to be 0 after a first predetermined time, a restart signal input means for inputting a restart signal from outside, and, when the restart signal is input, reducing the speed of the speed command. A speed increasing means for gradually increasing the speed so as to become the initial speed command after a second predetermined time; and when the restart signal is inputted, the command position correction amount is gradually increased from 0 to the second speed command. A correction amount increasing unit for setting the correction amount to an initial correction amount after a predetermined time.

【0011】さらには、前記第1および第2の所定時間
は、前記加減速時定数に基づき算出されることを特徴と
する。
Further, the first and second predetermined times are calculated based on the acceleration / deceleration time constant.

【0012】[0012]

【作用】外部から入力される一時停止信号により、速度
指令を所定の速度に減速する減速手段と該減速と同時に
位置補正量を所定時間で減少させる位置補正減衰手段を
備え、所定の時間経過後演算を停止するようにしたか
ら、停止時には位置補正量がなくなり、指令軌跡上で機
械を停止することが出来る。
A speed reduction means for decelerating a speed command to a predetermined speed in response to a pause signal input from the outside and a position correction attenuation means for simultaneously reducing the position correction amount in a predetermined time after the predetermined time elapses. Since the calculation is stopped, there is no position correction amount at the time of stop, and the machine can be stopped on the command locus.

【0013】[0013]

【実施例】本発明の実施例を図を用いて説明する。図1
は、本発明の一実施例を示すブロック図であり、従来技
術と同等なものについては同符号をつけその説明を省略
する。図1において、速度算出部5で算出された加工速
度は、速度指令加減速部9で一時停止/再起動信号によ
り速度加減速処理が行なわれ、位置補正算出部8で算出
された位置補正量を位置補正量増減部10で一時停止/
再起動信号により増減し位置補正後の関数発生部11へ
送出する。位置補正後の関数発生部11は、前記増減さ
れた位置補正量を加算した位置補正後の指令値に対して
前記速度加減速処理が行なわれた加工速度で関数発生が
行なわれ、軸駆動制御部12で工作機械のサーボ系を駆
動制御する。
An embodiment of the present invention will be described with reference to the drawings. FIG.
Is a block diagram showing one embodiment of the present invention, and the same components as those in the prior art are denoted by the same reference numerals and description thereof will be omitted. In FIG. 1, the machining speed calculated by the speed calculation unit 5 is subjected to speed acceleration / deceleration processing by a speed command acceleration / deceleration unit 9 based on a pause / restart signal, and the position correction amount calculated by the position correction calculation unit 8. Is temporarily stopped /
It is increased or decreased by a restart signal and sent to the function generator 11 after position correction. The position-corrected function generator 11 generates a function at the machining speed at which the speed acceleration / deceleration processing has been performed on the position-corrected command value obtained by adding the increased / decreased position correction amount, and performs axis drive control. The drive unit 12 controls the servo system of the machine tool.

【0014】さらに図3のフローチャートを用い本発明
により追加される速度指令加減速部9および位置補正量
増減部10の動作を説明する。一時停止処理中フラッグ
を判定し(ステップS1)、一時停止処理中でなけれ
ば、オペレータの操作により一時停止信号(一時停止
釦)が入力されたかを判定し(ステップS2)、一時停
止信号が入力されていなければ、ステップS20へ進
む。一時停止信号が入力されると一時停止処理中フラッ
グをON(ステップS3)し、ワーキングカウンタWを
カウントアップ(ステップS6)しワーキングカウンタ
Wが、所定の回数Tt/Ta(Ttはサーボ系の時定数
でありTaは関数発生制御周期)に達していれば、ワー
キングカウンタWを(Tt/Ta)にセットすると共に
加工速度Vおよび位置補正量εをゼロにして処理を終了
し(ステップS8、S9、S10)、ワーキングカウン
タWが所定の回数Tt/Taに達していなければ、速度
算出部5で算出された加工速度Vcに対して加減速処理
した加工速度Vを式(1)で算出(ステップS11)す
る。
The operation of the speed command acceleration / deceleration unit 9 and the position correction amount increasing / decreasing unit 10 added according to the present invention will be described with reference to the flowchart of FIG. The flag during the pause process is determined (step S1). If the flag is not during the pause process, it is determined whether a pause signal (pause button) has been input by an operator's operation (step S2), and the pause signal is input. If not, the process proceeds to step S20. When the temporary stop signal is input, the flag during the temporary stop processing is turned ON (step S3), the working counter W is counted up (step S6), and the working counter W is set to a predetermined number of times Tt / Ta (where Tt is a servo system). If Ta is a constant and Ta has reached the function generation control cycle, the working counter W is set to (Tt / Ta), the machining speed V and the position correction amount ε are set to zero, and the process is terminated (steps S8 and S9). If the working counter W has not reached the predetermined number of times Tt / Ta, the processing speed V obtained by performing the acceleration / deceleration processing on the processing speed Vc calculated by the speed calculation unit 5 is calculated by equation (1) (step S10). S11).

【0015】 V=Vc×(Tt−W×Ta)/Tt・・・・・式(1) さらに加減速処理した加工速度Vが、速度算出部5で算
出された加工速度Vcに所定の係数Kを乗じた値より小
さくなる時は、加工速度Vを加工速度Vcに所定の係数
Kを乗じた値にクランプする(ステップS12、S1
3)。なお加工速度Vを加工速度Vcに所定の係数Kを
乗じた値にクランプするのは、加工速度を極端に減速す
ると、サーボ系の時定数の遅れにより停止時の工作機械
の動作軌跡が乱れるためスムースに停止させるべく実測
的に決定され本実施例では1/2の速度でクランプする
ようにしている。さらに位置補正量についても、位置補
正算出部8で算出された位置補正量εcに対して増減処
理した位置補正量εを式(2)で算出する(ステップS
14)。
V = Vc × (Tt−W × Ta) / Tt (1) Further, the processing speed V subjected to the acceleration / deceleration processing is a predetermined coefficient calculated by the processing speed Vc calculated by the speed calculation unit 5. If the value is smaller than the value obtained by multiplying K, the processing speed V is clamped to a value obtained by multiplying the processing speed Vc by a predetermined coefficient K (steps S12 and S1).
3). The reason why the machining speed V is clamped to a value obtained by multiplying the machining speed Vc by a predetermined coefficient K is that when the machining speed is extremely reduced, the movement locus of the machine tool at the time of stoppage is disturbed due to a delay in the time constant of the servo system. In order to stop smoothly, it is actually measured, and in this embodiment, it is clamped at a speed of 1/2. Further, as for the position correction amount, a position correction amount ε obtained by increasing / decreasing the position correction amount εc calculated by the position correction calculation unit 8 is calculated by Expression (2) (Step S).
14).

【0016】 ε=εc×(Tt−W×Ta)/Tt・・・・・式(2) 一方ステップS1で、一時停止処理中と判定されれば、
オペレータの操作により再起動信号(再起動釦)が入力
されたかを判定し(ステップS4)再起動信号が入力さ
れていれば、再起動中フラッグをON(ステップS1
5)し、後述するステップS16以降で再起動処理が行
なわれる。また再起動中フラッグを判定し(ステップS
5)再起動中であれば同様後述するステップS16以降
で再起動処理が行なわれる。再起動中でなければ上述し
たステップS6以降の動作を繰り返し一時停止処理を継
続する。次にステップS4、S5で再起動信号が入力あ
るいは再起動中と判定され再起動処理が開始されるとワ
ーキングカウンタWをカウントダウン(ステップS1
6)され、ワーキングカウンタWがゼロまたは負となる
まで、上述したステップS11〜S14で加工速度Vの
加速処理および位置補正量εの増加処理が行なわれる。
ワーキングカウンタWがゼロまたは負となると一時停止
処理中および再起動中をOFFし(ステップS18、ス
テップS19)ワーキングカウンタWをクリア(ステッ
プS20)するとともに、速度算出部5で算出された加
工速度Vcおよび位置補正算出部8で算出された位置補
正量εcをそのまま加工速度Vおよび位置補正量εとし
て出力する(ステップS21、S22)。なお位置補正
後の関数発生部11はこの加工速度Vおよび位置補正量
εを用いて関数発生制御される。上記動作は図2のタイ
ムチャートに記載される動作となり一時停止が行なわれ
ると加工速度Vは所定の値まで減速処理すると共に位置
補正量εが減少され、サーボ系の時定数Tの時間経過後
停止する。再起動が行なわれると加工速度Vは所定の値
で起動したのち加速が行なわれるとともに位置補正量ε
は増加している。この時の軌跡動作を示したものが図4
であり、軌跡L0は加工プログラムで指令される指令形
状であり、軌跡L1は位置補正後の関数発生軌跡、軌跡
L2は、実際の工作機械の動作軌跡を示している。一時
停止信号Tが入力されると、加工速度の減速と共に位置
補正後の関数発生軌跡は、位置補正量が減少してくるた
め位置Paから位置Pat(指令軌跡上の点)に変化し
停止する。再起動が行なわれると加工速度の増速ととも
に位置補正量が増加し再起動処理の完了時には、通常加
工状態に復帰する。
Ε = εc × (Tt−W × Ta) / Tt (2) On the other hand, if it is determined in step S1 that the suspension processing is being performed,
It is determined whether or not a restart signal (restart button) has been input by the operator (step S4). If the restart signal has been input, the restart flag is turned on (step S1).
5) Then, a restart process is performed in step S16 and later described later. Also, the flag during restart is determined (step S
5) If a restart is being performed, a restart process is performed in step S16 and later described later. If the restart is not being performed, the operation from step S6 described above is repeated to continue the temporary stop processing. Next, in steps S4 and S5, when it is determined that the restart signal is input or the restart is being performed and the restart processing is started, the working counter W is counted down (step S1).
6) Until the working counter W becomes zero or negative, the processing of accelerating the processing speed V and the processing of increasing the position correction amount ε are performed in steps S11 to S14 described above.
When the working counter W becomes zero or negative, the pause processing and the restart are turned off (steps S18 and S19), the working counter W is cleared (step S20), and the machining speed Vc calculated by the speed calculation unit 5 is calculated. And the position correction amount εc calculated by the position correction calculation unit 8 is output as it is as the processing speed V and the position correction amount ε (steps S21 and S22). The function generation unit 11 after the position correction is controlled to generate a function using the processing speed V and the position correction amount ε. The above operation is the operation described in the time chart of FIG. 2, and when the suspension is performed, the processing speed V is decelerated to a predetermined value, the position correction amount ε is reduced, and after the time of the servo system time constant T elapses. Stop. When restarting is performed, the machining speed V is started at a predetermined value and then accelerated, and the position correction amount ε
Is increasing. FIG. 4 shows the locus motion at this time.
The locus L0 is a command shape instructed by the machining program, the locus L1 is a function generation locus after position correction, and the locus L2 is an actual motion locus of the machine tool. When the pause signal T is input, the function generation trajectory after the position correction together with the reduction in the processing speed changes from the position Pa to the position Pat (a point on the command trajectory) because the position correction amount decreases, and stops. . When the restart is performed, the position correction amount increases with the increase in the processing speed, and when the restart processing is completed, the state returns to the normal processing state.

【0017】[0017]

【発明の効果】本発明によれば、指令形状を位置補正し
工作機械のサーボ系を制御する方式において、外部から
入力される一時停止信号により工作機械を一時停止する
際位置補正量を減衰させて停止するようにしたから、停
止位置は指令形状上で停止するため、加工形状に対して
食い込みあるいは突起形状が軽減され加工後の補修作業
に要する工数が著しく改善される。
According to the present invention, in a system for controlling the servo system of a machine tool by correcting the position of a commanded shape, the position correction amount is attenuated when the machine tool is temporarily stopped by a pause signal input from the outside. Since the stop position is stopped on the command shape, the bite or protrusion shape is reduced with respect to the machining shape, and the number of steps required for repair work after machining is significantly improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明にかかる数値制御装置の実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a numerical control device according to the present invention.

【図2】本実施例における一時停止動作タイムチャート
である。
FIG. 2 is a time chart of a temporary stop operation in the embodiment.

【図3】本実施例のフローチャートである。FIG. 3 is a flowchart of the present embodiment.

【図4】本実施例における一時停止動作軌跡を示す図で
ある。
FIG. 4 is a diagram showing a trajectory of a temporary stop operation in the embodiment.

【図5】従来装置のブロック図である。FIG. 5 is a block diagram of a conventional device.

【図6】指令形状を位置補正させる補正動作を示す図で
ある。
FIG. 6 is a diagram illustrating a correction operation for correcting a position of a command shape.

【図7】従来装置における一時停止動作タイムチャート
である。
FIG. 7 is a time chart of a temporary stop operation in the conventional device.

【図8】従来装置における一時停止動作軌跡を示す図で
ある。
FIG. 8 is a diagram showing a trajectory of a temporary stop operation in the conventional device.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05D 3/00 - 3/20 B23Q 15/00 - 15/28 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G05D 3/00-3/20 B23Q 15/00-15/28

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 加工プログラムの指令形状データと送り
速度指令に従い演算動作する数値制御装置であって、送
り軸モータを駆動する駆動制御部が持つ加減速時定数に
よる軌跡誤差を前記指令形状データと送り速度指令と加
減速時定数から予測し、該軌跡誤差が所定の値以内とな
るような補正量を算出し、この補正量により指令位置を
補正する位置補正制御を行なう数値制御装置において、 外部から一時停止信号を入力する一時停止信号入力手段
と、 前記一時停止信号が入力されると、前記速度指令の速度
を徐々に減速させ第1の所定時間後に0となるように減
速制御する減速制御手段と、 前記一時停止信号が入力されると、前記指令位置補正量
を徐々に減少させ前記第1所定時間後に0となるように
減少制御する補正量減衰手段と、 外部から再起動信号を入力する再起動信号入力手段と、 前記再起動信号が入力されると、前記速度指令の速度を
徐々に増速させ第2の所定時間後に当初の速度指令とな
るようにする速度増加手段と、 前記再起動信号が入力されると、前記指令位置補正量を
0より徐々に増加させ第2の所定時間後に当初の補正量
となるようにする補正量増加手段と、 を備えたことを特徴とする数値制御装置。
1. A numerical control device which operates in accordance with a command shape data of a machining program and a feed speed command, wherein a trajectory error caused by an acceleration / deceleration time constant of a drive control unit for driving a feed shaft motor is determined by the command shape data. The numerical controller predicts from the feed speed command and the acceleration / deceleration time constant, calculates a correction amount such that the trajectory error is within a predetermined value, and performs a position correction control for correcting the command position based on the correction amount. A pause signal inputting means for inputting a pause signal from the controller; and a deceleration control for, when the pause signal is input, gradually reducing the speed of the speed command so as to become 0 after a first predetermined time. A correction amount attenuating unit that, when the pause signal is input, gradually reduces the command position correction amount and controls the command position correction amount to be 0 after the first predetermined time. Restart signal input means for inputting a restart signal from the control unit, and when the restart signal is input, gradually increase the speed of the speed command so that the speed command becomes the original speed command after a second predetermined time. A speed increasing unit; and a correction amount increasing unit that, when the restart signal is input, gradually increases the command position correction amount from 0 to become the initial correction amount after a second predetermined time. Numerical control device characterized by the above-mentioned.
【請求項2】 請求項1記載の数値制御装置であって、
前記第1および第2の所定時間は、前記加減速時定数に
基づき算出されることを特徴とする数値制御装置。
2. The numerical control device according to claim 1, wherein
The numerical controller according to claim 1, wherein the first and second predetermined times are calculated based on the acceleration / deceleration time constant.
JP06018293A 1993-03-19 1993-03-19 Numerical control unit Expired - Fee Related JP3242190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06018293A JP3242190B2 (en) 1993-03-19 1993-03-19 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06018293A JP3242190B2 (en) 1993-03-19 1993-03-19 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH06274229A JPH06274229A (en) 1994-09-30
JP3242190B2 true JP3242190B2 (en) 2001-12-25

Family

ID=13134768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06018293A Expired - Fee Related JP3242190B2 (en) 1993-03-19 1993-03-19 Numerical control unit

Country Status (1)

Country Link
JP (1) JP3242190B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4056662B2 (en) * 1999-09-16 2008-03-05 株式会社デンソー Appearance inspection device
JP4688022B2 (en) * 2005-03-30 2011-05-25 株式会社ニコン Positioning control device
WO2016199266A1 (en) * 2015-06-11 2016-12-15 三菱電機株式会社 Numerical value control device

Also Published As

Publication number Publication date
JPH06274229A (en) 1994-09-30

Similar Documents

Publication Publication Date Title
US4728872A (en) Robot path error correction system
EP0440805B1 (en) Feed speed control method of numeric controller
US5477117A (en) Motion controller and synchronous control process therefor
US5986422A (en) Control mode changing over method for servo control system
EP0089156B1 (en) Method and apparatus for controlling acceleration and/or deceleration
EP0357778B1 (en) Method of speed control for servomotor
JPH06245561A (en) Abnormal load detection control method for servo motor
US5371452A (en) Adjustable time constant control and method system for a servomotor
JP3242190B2 (en) Numerical control unit
JPH07302103A (en) Motion controller
KR970002259B1 (en) Method for controlling servomotor
JPH0752365B2 (en) Numerical control device
JPH07210225A (en) Numerical controller
JPH09106304A (en) Control method of working area for machine tool
JP2653130B2 (en) Acceleration / deceleration control device
JP2001154719A (en) Method for interpolating free curve
JP3188396B2 (en) Feed rate control method and apparatus in numerical control
CN109308050B (en) Numerical controller
JPH0695727A (en) Feed speed clamping system
JP3513840B2 (en) Feed rate control method for numerical controller
JPH04100123A (en) Acceleration/deceleration time constant setting system for numerical controller
EP0219551A1 (en) Numerical controller having overtravel checking function
JPH0769732B2 (en) Numerical control method
JPH03246708A (en) Acceleration feedback control system for servomotor
JPH0573128A (en) Feed rate control method for numerical controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees