JPH0266604A - Numerical control system - Google Patents

Numerical control system

Info

Publication number
JPH0266604A
JPH0266604A JP63217239A JP21723988A JPH0266604A JP H0266604 A JPH0266604 A JP H0266604A JP 63217239 A JP63217239 A JP 63217239A JP 21723988 A JP21723988 A JP 21723988A JP H0266604 A JPH0266604 A JP H0266604A
Authority
JP
Japan
Prior art keywords
trajectory
command
allowable
feed rate
amount
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.)
Granted
Application number
JP63217239A
Other languages
Japanese (ja)
Other versions
JPH0752365B2 (en
Inventor
Takahiro Yamaguchi
隆宏 山口
Kenji Ito
健二 伊藤
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 Machinery Works Ltd
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 Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP63217239A priority Critical patent/JPH0752365B2/en
Priority to DE3928547A priority patent/DE3928547A1/en
Priority to GB8919582A priority patent/GB2224586B/en
Publication of JPH0266604A publication Critical patent/JPH0266604A/en
Priority to US07/770,404 priority patent/US5198984A/en
Publication of JPH0752365B2 publication Critical patent/JPH0752365B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4062Monitoring servoloop, e.g. overload of servomotor, loss of feedback or reference
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37617Tolerance of form, shape or position
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/42Servomotor, servo controller kind till VSS
    • G05B2219/42162Model reference adaptive control MRAC, correction fictive-real error, position
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PURPOSE:To ensure the stable working accuracy by correcting a command locus designated by a working program based on an allowable locus error inputted previously and at the same time correcting the feed speed based on the information obtained by detecting the corrected command locus and the position of a drive part. CONSTITUTION:A command locus Pc is corrected based on the position correction value Dc and a new command locus Pex is calculated. This new locus is sent to a function generating part 5 and also to a command form evaluating part 4'. The form data SD' is calculated based on the locus Pex. While a feed speed correcting part 9' calculates an allowable follow-up delay amount with which the locus error is kept within the value obtained by adding an allowable locus error Et and the value Dc together based on the data SD'. At the same time, the part 9' calculates an actual follow-up delay amount based on the shift value DELTAf set per unit time outputted from the part 5 and the detection value Pa given from a position detector 8. Furthermore the part 9 corrects the feed speed Ft so that the actual follow-up delay amount is kept within the allowed follow-up delay amount and calculates a new command feed speed Fex.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、加工プログラムにより指令される指令軌跡と
実際の工具軌跡との軌跡誤差を、予め人力される許容軌
跡誤差量以内にするように数値制御(以下NCという)
工作機械の駆動部を制御する数値制御方式に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention is designed to reduce the trajectory error between the commanded trajectory specified by a machining program and the actual tool trajectory to within an allowable trajectory error amount manually inputted in advance. Numerical control (hereinafter referred to as NC)
This paper relates to numerical control methods for controlling the drive parts of machine tools.

(従来の技術) 公知のNC工作機械のおいては、人力される加工プログ
ラムにより加工形状、送り速度、使用工具等を指令して
加工処理を行なっている。ところが、実際の加工におい
ては、機械のサーボ系の遅れ等のために加工プログラム
により指令される指令軌跡と実際の工具軌跡との間にず
れ(軌跡誤差)が生じてしまう。この軌跡誤差は、とり
わけ高速な切削送り速度による加工の場合に加工形状が
変化する曲線形状部、特に形状変化率が急激であるコー
ナ形状部において顕著になる。
(Prior Art) In known NC machine tools, machining is performed by commanding the machining shape, feed rate, tools to be used, etc. using a machining program that is manually input. However, in actual machining, a deviation (trajectory error) occurs between the command trajectory commanded by the machining program and the actual tool trajectory due to delays in the servo system of the machine. This trajectory error becomes particularly noticeable in a curved portion where the machining shape changes when machining is performed at a high cutting feed rate, particularly in a corner portion where the rate of shape change is rapid.

このことから、最近では軌跡誤差が予め入力される許容
軌跡誤差量以下になるような送り速度を、指令された指
令軌跡により算出し、この算出された送り速度に基づき
NC工作機械の駆動部を制御する数値制御方式が提案さ
れている。
For this reason, recently, the feed rate that makes the trajectory error less than the allowable trajectory error amount input in advance is calculated based on the commanded trajectory, and the drive section of the NC machine tool is controlled based on the calculated feed rate. A numerical control method has been proposed.

第7図は、この従来の数値制御方式を実現するNC装置
の一例を示すブロック図である。
FIG. 7 is a block diagram showing an example of an NC device that implements this conventional numerical control method.

図において、従来の数値制御方式を実現するNC装置は
、紙テープに記憶された加工プログラム1と、許容軌跡
誤差量Etが入力される外部人力装置2と、加工プログ
ラムlの内容の解釈を行なう加工プログラム解釈部3と
、加工形状データSDを算出する指令形状評価部4と、
単位時間当りの移動量Δfを算出する関数発生部5と、
入力される送り速度FCの補正を行なう送り速度補正部
9と、工具等の駆動を行なうサーボモータ(M)7と、
サーボモータ7の制御を行なうサーボ制御部6と、工具
等の位置の検出を行なう位置検出器(D)8とで構成さ
れている。
In the figure, the NC device that realizes the conventional numerical control method includes a machining program 1 stored on a paper tape, an external human power device 2 into which the allowable trajectory error amount Et is input, and a machining device that interprets the contents of the machining program l. A program interpretation section 3, a command shape evaluation section 4 that calculates machining shape data SD,
a function generating unit 5 that calculates a movement amount Δf per unit time;
A feed rate correction unit 9 that corrects the input feed rate FC, a servo motor (M) 7 that drives a tool, etc.
It is comprised of a servo control section 6 that controls the servo motor 7, and a position detector (D) 8 that detects the position of tools and the like.

上述した構成のNC装置における従来の数値制御方式を
説明する。
A conventional numerical control method in the NC device having the above-mentioned configuration will be explained.

先ず、加工プログラム1がテープリーダ等を介してNC
装置に人力され、更にこの加工プログラム1の1ブロツ
ク毎のデータが加工プログラム解釈部3に読込まれる。
First, machining program 1 is sent to the NC via a tape reader, etc.
The data of each block of the machining program 1 is read into the machining program interpreter 3 manually.

1ブロツク毎のデータを読込んだ加工プログラム解釈部
3は、そのデータを解析することにより指令軌跡P。を
割出すと共に指令送り速度F、を設定する。この指令軌
跡PCは、関数発生部5に送込まれると共に指令形状評
価部4に送込まれ、指令軌跡PCを人力した指令形状評
価部4は、それに基づき加工形状データSDを算出する
。この加工形状データSDは指令軌跡の形状を示すデー
タであり、送り速度等の指令軌跡の形状に起因するデー
タを算出する際に使用される。その例としては、任意の
1ブロツクの指令点と、そのブロックの前後の1ブロツ
クの指令点を通る仮想円弧の半径であったり、あるいは
任意の1ブロツクとそのブロックの次のブロックが成す
コーナ角度であったり、あるいは任意の1ブロツクの指
令点とそのブロックの前後の数ブロックの指令点を曲線
に近似し、そのときの曲線の傾きであるなど種々の形態
が考えられる。
The machining program interpreter 3 that has read the data for each block analyzes the data to create a command trajectory P. , and set the command feed rate F. This command trajectory PC is sent to the function generation section 5 and also to the command shape evaluation section 4, and the command shape evaluation section 4, which manually generated the command trajectory PC, calculates machining shape data SD based on it. This machining shape data SD is data indicating the shape of the commanded trajectory, and is used when calculating data such as feed rate due to the shape of the commanded trajectory. Examples include the radius of a virtual arc that passes through the command point of one arbitrary block and the command points of one block before and after that block, or the corner angle formed by one arbitrary block and the block next to that block. Alternatively, various forms can be considered, such as approximating a command point of one arbitrary block and command points of several blocks before and after that block to a curve, and using the slope of the curve at that time.

そして、この加工形状データSDは送り速度補正部9に
送り込まれ、送り速度補正部9は、軌跡誤差がオペレー
タにより外部人力装置2を介して指定される許容軌跡誤
差量E5以内となるような許容追従遅れ量を算出する。
Then, this machining shape data SD is sent to the feed rate correction unit 9, and the feed rate correction unit 9 adjusts the allowable trajectory error so that the trajectory error is within the allowable trajectory error amount E5 specified by the operator via the external human power device 2. Calculate the tracking delay amount.

このとき許容追従遅れ量は、許容軌跡誤差量Et、加工
形状データSD、サーボ系の定数等から算出される。ま
た、許容軌跡誤差量Etは、外部人力装置2からだけで
なく加工プログラム1から指定する方法も可能である。
At this time, the allowable follow-up delay amount is calculated from the allowable trajectory error amount Et, machining shape data SD, constants of the servo system, and the like. Further, the allowable trajectory error amount Et can be specified not only from the external human power device 2 but also from the machining program 1.

送り速度補正部9は、上述した許容追従遅れ量を算出す
る一方、関数発生部5からの単位時間当りの移動量Δf
と、サーボモータフに取付けられた位置検出器8からの
検出値P1とにより実際の追従遅れ量を算出する。また
、算出された許容追従遅れ量と実際の追従遅れ量との差
を算出し、更にその差に基づいて指令送り速度FCを補
正し、送り速度F axを算出する。このとき、その差
が正の場合にはその差を小さくするために送り速度Fa
x<FCとし、その差が男になれば指令送り速度の補正
を中止しFex=FCとする。
The feed speed correction section 9 calculates the above-mentioned allowable follow-up delay amount, and also calculates the movement amount Δf per unit time from the function generation section 5.
The actual follow-up delay amount is calculated from the detected value P1 from the position detector 8 attached to the servo motor. Further, the difference between the calculated allowable follow-up delay amount and the actual follow-up delay amount is calculated, and the command feed speed FC is further corrected based on the difference, and the feed speed F ax is calculated. At this time, if the difference is positive, the feed rate Fa is increased to reduce the difference.
Set x<FC, and if the difference becomes equal to 1, the correction of the command feed rate is stopped and Fex=FC.

最後に、関数発生部5は指令軌跡PC及び送り速度Fa
xに基づいて単位時間当りの移動量Δfを算出し、サー
ボ制御部6はΔfに基づいてサーボモータ7を駆動する
Finally, the function generator 5 generates the command trajectory PC and the feed rate Fa.
The moving amount Δf per unit time is calculated based on x, and the servo control unit 6 drives the servo motor 7 based on Δf.

以上のように、従来においては、加工プログラムの指令
軌跡、予め入力される許容軌跡誤差量等により求められ
る許容追従遅れ量と実際の追従遅れ量を比較し、実際の
追従遅れ量が許容追従遅れ量以内に収まるように指令送
り速度に補正を与えることにより、軌跡誤差を許容軌跡
誤差量以内にすることを可能としていた。
As described above, conventionally, the actual follow-up delay amount is compared with the allowable follow-up delay amount obtained from the command trajectory of the machining program, the allowable trajectory error amount input in advance, etc., and the actual follow-up delay amount is By correcting the command feed rate so that it falls within the allowable trajectory error amount, it is possible to reduce the trajectory error to within the allowable trajectory error amount.

(発明が解決しようとする課題) 上述したような従来における数値制御方式では、たとえ
加工プログラムにより高速な切削速度を指令して短時間
に加工を終了させようとしても、加工形状が変化する曲
線形状部、特に形状変化率が急激であるコーナ形状部に
おいては加工プログラムにより指令された送り速度より
かなり遅い速度で切削が行なわれるという状況を呈した
(Problems to be Solved by the Invention) In the conventional numerical control method as described above, even if the machining program commands a high cutting speed to complete the machining in a short time, the machining shape may change due to curved shapes. The situation was such that cutting was performed at a much slower speed than the feed rate commanded by the machining program, particularly in corner-shaped areas where the rate of shape change was rapid.

従って、その結果全体の加工時間の増大を招くという問
題点があった。また、特に加工時間が長時間に及ぶ金型
加工においては、この加工時間の増加は顕著な問題点で
あフた。
Therefore, there is a problem in that the overall machining time increases as a result. In addition, especially in mold machining where the machining time is long, this increase in machining time is a significant problem.

本発明は上述のような事情から成されたものであり、本
発明の目的は、軌跡誤差を許容軌跡誤差量以内に収め、
かつ送り速度の低下による加工時間の増大を回避すると
共に予測しがたい要因により発生する誤差をも含めて安
定した加工精度保証を可能とする数値制御方式を提供す
ることにある。
The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to keep the trajectory error within the allowable trajectory error amount,
Another object of the present invention is to provide a numerical control method that avoids an increase in machining time due to a decrease in feed speed and can guarantee stable machining accuracy, including errors caused by unpredictable factors.

(課題を解決するための手段) 本発明は、加工プログラムにより指令される指令軌跡及
び指令送り速度に基づき工作機械の駆動部の制御を行な
う数値制御方式に関するものであり、本発明の上記目的
は、指令送り速度に基づいて駆動部を制御した場合の前
記駆動部の実際の軌跡と前記指令軌跡との軌跡誤差を予
測し、予測した軌跡誤差と予め人力される許容軌跡誤差
量とに基づいて位置補正量を算出し、算出した位置補正
量に基づいて前記指令軌跡を補正すると共に、補正した
指令軌跡と前記許容軌跡誤差量とに基づいて許容追従遅
れ量を算出し、前記駆動部の位置を検出することで得ら
れる情報に基づいて実際の追従遅れ量を算出し、算出し
た追従遅れ量と前記許容追従遅れ量とに基づいて前記指
令送り速度を補正し、補正した前記指令軌跡と補正した
指令送り速度とに基づいて前記駆動部を制御することに
よって達成される。
(Means for Solving the Problems) The present invention relates to a numerical control method for controlling a drive section of a machine tool based on a command trajectory and a command feed rate commanded by a machining program, and the above object of the present invention is to , predicting a trajectory error between the actual trajectory of the drive unit and the commanded trajectory when the drive unit is controlled based on the commanded feed rate, and based on the predicted trajectory error and an allowable trajectory error amount manually inputted in advance. A position correction amount is calculated, the command trajectory is corrected based on the calculated position correction amount, and an allowable follow-up delay amount is calculated based on the corrected command trajectory and the allowable trajectory error amount, and the position of the drive unit is adjusted. The actual follow-up delay amount is calculated based on the information obtained by detecting the follow-up delay amount, and the command feed rate is corrected based on the calculated follow-up delay amount and the allowable follow-up delay amount, and the corrected command trajectory and correction are performed. This is achieved by controlling the drive unit based on the commanded feed rate.

(作用) 本発明の数値制御方式は、予め人力される許容軌跡誤差
量に基づいて加工プログラムにより指令される指令軌跡
を補正すると共に、補正された指令軌跡及び駆動部の位
置を検出することで得られる情報より送り速度を補正す
ることにより送り速度を著しく低下させることなく、予
測しがたい要因により発生する誤差も含めて安定した加
工精度の保証が可能となる。
(Function) The numerical control method of the present invention corrects the command trajectory commanded by the machining program based on the allowable trajectory error amount manually entered in advance, and also detects the corrected command trajectory and the position of the drive unit. By correcting the feed rate from the obtained information, it is possible to guarantee stable machining accuracy, including errors caused by unpredictable factors, without significantly reducing the feed rate.

(実施例) 第1実施例; 第1図は、本発明の数値制御方式を実現するNC装置の
第1実施例を第7図に対応させて示すブロック図であり
、同一構成箇所は同符号を付して説明を省略する。
(Embodiment) First embodiment; FIG. 1 is a block diagram showing a first embodiment of an NC device that realizes the numerical control method of the present invention, corresponding to FIG. will be added and the explanation will be omitted.

図において、このNC装置は、指令送り速度FC形状デ
ータSDおよび許容軌跡誤差量E、に基づき送り速度F
tを算出する送り速度算出部11と、サーボ系の遅れ等
によって生じる送り速度Ftにおける軌跡誤差を形状デ
ータSDに基づいて予測し、その予測される軌跡誤差及
び予め人力される許容軌跡誤差’L E tに基づ各指
令軌跡PCに応じた最適な位置補正m D cを算出す
る位置補正量算出部10と、位置補正量DCにより指令
軌跡PCを補正した結果の指令軌跡PeXに基づき形状
データSD’ を算出する指令形状評価部4”とが新た
に設けられている。
In the figure, this NC device calculates the feed rate F based on the command feed rate FC shape data SD and the allowable trajectory error amount E.
A feed rate calculation unit 11 that calculates t, predicts the trajectory error in the feed rate Ft caused by delays in the servo system, etc. based on the shape data SD, and calculates the predicted trajectory error and the allowable trajectory error 'L manually input in advance. A position correction amount calculation unit 10 that calculates the optimal position correction mDc according to each command trajectory PC based on Et, and shape data based on the command trajectory PeX as a result of correcting the command trajectory PC using the position correction amount DC. A commanded shape evaluation section 4'' for calculating SD' is newly provided.

第2図は、本発明の数値制御方式の動作のフローチャー
トを示す。第2図に基づきこの実施例の動作を説明する
FIG. 2 shows a flowchart of the operation of the numerical control method of the present invention. The operation of this embodiment will be explained based on FIG.

先ず、加工プログラム1がテープリーダ等を介してNC
装買に入力され、更にこの加工プログラム1の1ブロツ
ク毎のデータが加工プログラム解釈部3に読込まれる(
ステップ51)。1ブロツクごとのデータを読込んだ加
工プログラム解釈部3は、そのデータを解析することに
より指令軌跡PC及び指令送り速度FCを算出する(ス
テップS2)。
First, machining program 1 is sent to the NC via a tape reader, etc.
The data for each block of the machining program 1 is input to the machining program interpreter 3 (
Step 51). The machining program interpreter 3 that has read the data for each block calculates the command trajectory PC and command feed rate FC by analyzing the data (step S2).

次に、送り速度算出部11は送り速度Ftを設定し、更
に位置補正量算出部lOはサーボ系の遅れ等によって生
じる送り速度Ftにおける軌跡誤差を形状データSDに
基づいて予測し、その予測される軌跡誤差及び予め人力
される許容軌跡誤差量Et等により指令軌跡PCに応じ
た最適な位置補正量Orを算出する。(ステップS3)
。また、指令軌跡PCはその位置補正ユDcに基づいて
補正され、新たに指令軌跡P。Xが算出される(ステッ
プS4)。指令軌跡Pexは、関数発生部5に送込まれ
ると共に指令形状評価部4゛に送られ、指令形状評価部
4゛は、指令形状評価部4と同様の処理によって指令軌
跡Paxに基づき形状データSD’ を算出する。
Next, the feed rate calculation unit 11 sets the feed rate Ft, and the position correction amount calculation unit 1O predicts the trajectory error in the feed rate Ft caused by delays in the servo system based on the shape data SD. The optimum position correction amount Or corresponding to the commanded trajectory PC is calculated based on the trajectory error and the allowable trajectory error amount Et manually entered in advance. (Step S3)
. Further, the command trajectory PC is corrected based on the position correction unit Dc, and a new command trajectory P is obtained. X is calculated (step S4). The command trajectory Pex is sent to the function generating section 5 and also to the command shape evaluation section 4', and the command shape evaluation section 4' generates shape data SD based on the command trajectory Pax through the same process as the command shape evaluation section 4. ' Calculate.

一方、送り速度補正部9°は、関数発生部5において指
令軌跡PaXに基づき関数を発生させた際に生じる軌跡
誤差か、許容軌跡誤差量Etと位置補正FX D cと
を加算した大きさ以内になるような許容許容追従遅れ量
を、形状データSD’に基づいて算出すると共に(ステ
ップS5)、関数発生部5から出力される単位時間当り
の移動量Δf及び位置検出器8からの検出値P、に基づ
いて実際の追従遅れ量を算出する。更に、実際の追従遅
れ量が許容追従遅れ全以内になるように送り速度Ftを
補正し、新たに指令送り速度Faxを算出する(ステッ
プ56)。ここで、送り速度の補正の方法は、従来技術
と同様であるため説明を省略する。
On the other hand, the feed rate correction section 9° is within the magnitude of the trajectory error that occurs when the function generation section 5 generates the function based on the command trajectory PaX, or the sum of the allowable trajectory error amount Et and the position correction FX D c. The allowable follow-up delay amount is calculated based on the shape data SD' (step S5), and the amount of movement Δf per unit time output from the function generator 5 and the detected value from the position detector 8 are calculated. The actual follow-up delay amount is calculated based on P. Further, the feed rate Ft is corrected so that the actual follow-up delay amount is within the total allowable follow-up delay, and a new command feed rate Fax is calculated (step 56). Here, since the method of correcting the feed rate is the same as that of the prior art, the explanation will be omitted.

ところで、関数発生部5は、指令軌跡P。X及び指令送
り速度F axに基づいて関数発生を行なうことにより
、単位時間当りの移動量Δfを算出する。この単位時間
当りの移動量Δfは、前述したように送り速度補正部9
°に送込まれる一方、サーボ制御部6に送込まれる。単
位時間当りの移動量Δfを人力したサーボ制御部6は、
それに基づきサーボモータ7を駆動させる。
By the way, the function generator 5 generates a command trajectory P. The movement amount Δf per unit time is calculated by generating a function based on X and the commanded feed rate F ax. This movement amount Δf per unit time is determined by the feed rate correction section 9 as described above.
On the other hand, it is sent to the servo control section 6. The servo control unit 6 manually controls the movement amount Δf per unit time.
Based on this, the servo motor 7 is driven.

第3図は指令軌跡P。8の算出方法を示す。Figure 3 shows the command trajectory P. 8 is shown below.

図において、ε8は、位置補正量算出部lOの内部で加
工プログラムに指令される指令軌跡P。の形状に基づい
て予測される軌跡誤差である。この予測される軌跡誤差
ε6を算出する方法としては、図に示すようにサーボ系
の遅れを加味した実際の工具軌跡P5をシミュレーショ
ンすることにより算出したり、サーボ定数、送り速度及
び形状データを変数とする関数により算出したりする方
法等が考えられる。そして、この予測される軌跡誤差ε
8と許容軌跡誤差量Etに基づいて位置補正量DCが算
出される。このときこの位置補正ffi D cの大き
さは、加工形状の形状変化率が一定である定常状態にお
いては、予測される軌跡誤差ε。から許容軌跡誤差量E
tを減算した値とほぼ等しく、形状変化率が変化する過
渡状態においては、予測される軌跡誤差ε8から許容軌
跡誤差量Etを減算した値より大きくなるように、加工
形状の形状変化率あるいは予測される軌跡誤差の変化率
なども考慮して算出される。そして、指令軌跡PCをこ
の位置補正量DCに基づいて補正することにより新たな
指令軌跡P。Xが算出される。
In the figure, ε8 is a command trajectory P that is instructed to the machining program inside the position correction amount calculation unit IO. is the predicted trajectory error based on the shape of . As shown in the figure, this predicted trajectory error ε6 can be calculated by simulating the actual tool trajectory P5 that takes into account the delay of the servo system, or by using variables such as servo constants, feed rate, and shape data. Possible methods include calculating using a function. And this predicted trajectory error ε
8 and the allowable trajectory error amount Et, the position correction amount DC is calculated. At this time, the magnitude of this position correction ffi D c is the predicted trajectory error ε in a steady state where the rate of shape change of the machined shape is constant. to allowable trajectory error amount E
In a transient state where the shape change rate changes, the shape change rate or prediction of the machined shape is set so that it is approximately equal to the value obtained by subtracting t, and is larger than the value obtained by subtracting the allowable trajectory error amount Et from the predicted trajectory error ε8. It is calculated by taking into account the rate of change in the trajectory error. Then, a new command trajectory P is created by correcting the command trajectory PC based on this position correction amount DC. X is calculated.

また、図においてd、は送り速度補正部9゛において算
出される許容追従遅れ量を示している。ここで、加工形
状の形状変化率が一定の部分においては、送り速度Ft
において指令軌跡P@xを実行する際に発生する実際の
追従遅れ量はほぼ許容追従遅れ3iI d rに等しく
なり、送り速度を補正することなく高速な切削送りで軌
跡誤差を許容軌跡誤差量Et内に納めることができ、加
工形状の形状変化が急激なコーナ形状部において、予測
しがたい機械系の遅れのような動的要因が発生し、実際
の追従遅れ量か許容追従遅れ量d、以上になり軌跡誤差
が許容軌跡誤差量E、を越えるような場合が生しても、
送り速度補正部9°により送り速度に若干の補正を加え
ることにより軌跡誤差を常に許容軌跡誤差量Et以内に
することができる。
Further, in the figure, d indicates the allowable follow-up delay amount calculated in the feed speed correction section 9'. Here, in the part where the shape change rate of the machined shape is constant, the feed rate Ft
The actual follow-up delay amount that occurs when executing the command trajectory P@x is approximately equal to the allowable follow-up delay 3iIdr, and the trajectory error is reduced to the allowable trajectory error amount Et by high-speed cutting feed without correcting the feed rate. In corner shapes where the shape of the machining shape changes rapidly, dynamic factors such as mechanical system delays that are difficult to predict occur, and the actual follow-up delay amount or the allowable follow-up delay amount d, Even if there is a case where the trajectory error exceeds the allowable trajectory error amount E,
By slightly correcting the feed rate using the feed rate correction section 9°, the trajectory error can always be kept within the allowable trajectory error amount Et.

ところで、位置補正量算出部lOにおいて軌跡誤差を予
測する際に使用し、また送り速度補正部9゜で補正を施
す送り速度F、は、加工プログラムで指令される送り速
度FCを使用する場合(1)  と、軌跡誤差が許容軌
跡誤差量E、のn倍(口≧1)になるように予め算出し
たものを使用する場合(2)の2通りか考えられる。こ
こで(1)は、送り速度算出部11において指令軌跡P
Cの形状データSDに関係なく常にFt−FCとする方
式であり、(2)は送り速度算出部11において軌跡誤
差が許容軌跡誤差量Etのn倍(n≧1)以内に収まる
ように形状データSDに基づいて算出される送り速度を
Ftとする方式である。このとき、nは送り速度算出部
llが持つ内部パラメータである。
By the way, the feed rate F, which is used when predicting the trajectory error in the position correction amount calculation unit 1O and which is corrected by the feed rate correction unit 9, is the same as that when the feed rate FC commanded by the machining program is used ( There are two possible cases: (1) and (2) where a trajectory error calculated in advance is n times the allowable trajectory error amount E (where ≧1) is used. Here, (1) is the command trajectory P in the feed rate calculation unit 11.
This is a method in which Ft-FC is always used regardless of the shape data SD of C, and (2) is a method in which the feed rate calculation unit 11 calculates the shape so that the trajectory error is within n times (n≧1) the allowable trajectory error amount Et. This is a method in which the feed rate calculated based on the data SD is Ft. At this time, n is an internal parameter held by the feed rate calculation unit ll.

位置補正量算出部10で予測される軌跡誤差は、送り速
度Ftの大きさに比例して増大し、また位置補正量DC
は定常状態において予測される軌跡誤差の大きさから許
容軌跡誤差1Et(一定)を減算した大きさにほぼ等し
いことにより、位置補正量DCの大きさも送り速度Ft
の大ぎさに比例して増大する。更に、位置補正量算出部
lOで予測される軌跡誤差は、加工形状の形状変化率が
急激なコーナ形状部で大きくなることより、位置補正量
もコーナ形状部で増大する。
The trajectory error predicted by the position correction amount calculation unit 10 increases in proportion to the feed rate Ft, and the position correction amount DC
is approximately equal to the magnitude of the predicted trajectory error in a steady state minus the allowable trajectory error 1Et (constant), so the magnitude of the position correction amount DC is also equal to the feed rate Ft
increases in proportion to the magnitude of Further, the trajectory error predicted by the position correction amount calculation unit 1O becomes larger at a corner shape portion where the shape change rate of the machining shape is rapid, so that the position correction amount also increases at the corner shape portion.

上述の説明より、(1)の方式では加工プログラムに指
令される指令送り速度FCが高速であればあるほど、ま
た加工プログラムに指令される指令軌跡PCの形状変化
率が大きくなればなるほど位置補正量DCが増大する。
From the above explanation, in method (1), the higher the command feed rate FC commanded to the machining program, and the larger the shape change rate of the command trajectory PC commanded to the machining program, the more the position correction becomes. The amount DC increases.

一方、(2)の方式では予測される軌跡誤差の大きさを
Etxn(n≧1)以下にクランプさせる。よって位置
補正II D cは予測される軌跡誤差の大きさから許
容軌跡誤差量Etを減算した大きさにほぼ等しいことに
より、Etx (n−1) を許容位置補正量Epとす
ると位置補正量DCは加工プログラムに指令される指令
軌跡Pcの形状及び指令送り速度FCにかかわらず許容
位置補正I E p以下にクランプすることが可能にな
る。
On the other hand, in method (2), the magnitude of the predicted trajectory error is clamped to Etxn (n≧1) or less. Therefore, since the position correction II Dc is approximately equal to the size obtained by subtracting the allowable trajectory error amount Et from the predicted trajectory error size, if Etx (n-1) is the allowable position correction amount Ep, the position correction amount DC can be clamped to below the allowable position correction IEp regardless of the shape of the command trajectory Pc and the command feed rate FC commanded by the machining program.

この許容位置補正量Epを外部入力装置を通じてオペレ
ータにより人力させ、オペレータに位置補正量の上限値
を設定させることが可能な方式を第2実施例として以下
に説明する。
A second embodiment of the system will be described below in which the allowable position correction amount Ep is manually inputted by the operator through an external input device, and the operator is allowed to set the upper limit value of the position correction amount.

第2実施例: 第4図は、本発明の数値制御方式を実現するNC装買の
第2実施例を第1図に対応させて示すブロック図であり
、同一構成箇所は同符号を付して説明を省略する。
Second Embodiment: FIG. 4 is a block diagram showing a second embodiment of the NC equipment for realizing the numerical control method of the present invention, corresponding to FIG. The explanation will be omitted.

図において、このNG装置は、軌跡誤差の大きさをクラ
ンプするための係数mが入力される外部人力装置13と
、許容軌跡誤差量Etと係数mとにより許容位置補正I
fI E pを算出する許容位置補正量算出部12とが
新たに設けられている。
In the figure, this NG device includes an external human power device 13 into which a coefficient m for clamping the magnitude of the trajectory error is input, and an allowable position correction I based on the allowable trajectory error amount Et and the coefficient m.
An allowable position correction amount calculation unit 12 that calculates fI E p is newly provided.

そこで、許容位置補正量算出部12は第1実施例におい
で記述した係数(n−1) に相当する係数mを外部人
力装置13を通じてオペレータより人力させることによ
り、許容軌跡誤差量Etにその係数mを乗算し許容位置
補正ffi E pを算出することが可能になる。よっ
てその算出された許容位置補正mE2に許容軌跡誤差量
Etを加算した値を送り速度算出誤差量Evとすると。
Therefore, the allowable position correction amount calculation unit 12 manually inputs the coefficient m corresponding to the coefficient (n-1) described in the first embodiment from the operator through the external human power device 13, and adds the coefficient to the allowable trajectory error amount Et. By multiplying by m, it becomes possible to calculate the allowable position correction ffi E p. Therefore, the value obtained by adding the allowable trajectory error amount Et to the calculated allowable position correction mE2 is defined as the feed speed calculation error amount Ev.

その送り速度算出誤差ff1Evは第1実施例に記述し
たEtxnに相当し内部パラメータnは(m+1)によ
って外部より設定される。そして、送り速度算出部11
は、軌跡誤差が算出された送り速度算出誤差量Ev以内
に収まるような送り速度Ftを形状データSDに基づい
て算出する。
The feed rate calculation error ff1Ev corresponds to Etxn described in the first embodiment, and the internal parameter n is set from the outside by (m+1). Then, the feed rate calculation unit 11
calculates the feed rate Ft such that the trajectory error falls within the calculated feed rate calculation error amount Ev based on the shape data SD.

第5図(A)はオペレータにより設定される許容位置補
正量E、に基づく位置補正’L D cの変化の様子を
示す。また、第5図(B)は、送り速度算出誤差量Ev
に基づき送り速度算出部11で算出される送り速度F、
を示す。第5図(A) において、実線は加工プログラ
ムにより指令される指令軌跡200点線は実際の工具軌
跡P8.−点鎖線は位置補正後の指令軌跡P。Xを示す
FIG. 5(A) shows how the position correction 'L D c changes based on the allowable position correction amount E set by the operator. Moreover, FIG. 5(B) shows the feed rate calculation error amount Ev
The feed rate F calculated by the feed rate calculation unit 11 based on
shows. In FIG. 5(A), the solid line indicates the command trajectory 200 instructed by the machining program, and the dotted line indicates the actual tool trajectory P8. - The dotted chain line is the command trajectory P after position correction. Indicates X.

そこで、指令軌跡上の(a)部分は許容位置補正量Ep
は許容軌跡誤差量Etのm倍(m>1)であり、(b)
部分は許容位置補正量Epは許容軌跡誤差量E。
Therefore, part (a) on the command trajectory is the allowable position correction amount Ep
is m times (m>1) the allowable trajectory error amount Et, (b)
The allowable position correction amount Ep is the allowable trajectory error amount E.

と等しく (m−1) 、 (c)部分は許容位置補正
量Epは;(m”0)であるようにオペレータにより設
定された場合を示すが、このとき(a)部分におりる送
り速度算出誤差量Evは許容軌跡誤差量Etの(mal
)倍に相当し、(b)部分における送り速度算出誤差量
Evは許容軌跡誤差量E、の2倍に相当し、(C)部分
における送り速度算出誤差E、は許容軌跡誤差量Etと
等しくなる。
is equal to (m-1), and part (c) shows the case where the allowable position correction amount Ep is set by the operator so that it is (m"0). In this case, the feed rate that reaches part (a) is The calculated error amount Ev is (mal
), the feed speed calculation error amount Ev in the part (b) is equivalent to twice the allowable trajectory error amount E, and the feed speed calculation error E in the (C) part is equal to the allowable trajectory error amount Et. Become.

以上のことより(a)部分、(b)部分、(C)部分に
おける位置補正量DCをそれぞれDCl +DC2+D
c3とし、送り速度FtをそれぞれFt+ 、Ft2.
Ft3とすると次式(1)の関係が成り立つ。
From the above, the position correction amount DC in the (a) part, (b) part, and (C) part is respectively DCl +DC2+D
c3, and the feed speeds Ft are Ft+, Ft2 .
When Ft3 is set, the following equation (1) holds true.

このように、位置補正量DCを自由にクランプしながら
軌ii+8誤差を許容軌跡誤差量Et以内にすることに
より、オペレータは加工状態、加工内容に基ついて実際
の工具の動きを見ながら位置補正量を調整することがで
きる。そのことにより加工途中で加工を一時停止させた
い場合があるときは、許容位置補正量EPを許容軌跡誤
差量Etと等しくしておけは(m=1) 、いつ加工を
一時停止させても位置補正による加工プログラム上の指
令軌跡からのすれは常に許容軌跡誤差量Et以内に収ま
る。また、手動割込みによる手動切削が介入する部分に
おいては、許容位置補正量E、を零とすれば(m=0)
 、スムーズな手動割込みが行なえる。一方、−時停止
や手動割込み等の操作が介入しない加工てあれば、許容
位置補正量Epを最大値にしておけは最大限に高速な切
削送りが加工になる。更に、予測しがたい要因により実
際の軌跡誤差が予測した軌跡誤差より大きくなり、許容
軌跡誤差量Et以上の軌跡誤差によってしまうような状
態を回避させたい場合には、位置補正量を小さく調整す
ることにより回避することが可能となる。
In this way, by freely clamping the position correction amount DC and keeping the trajectory ii + 8 error within the allowable trajectory error amount Et, the operator can adjust the position correction amount while observing the actual tool movement based on the machining status and machining contents. can be adjusted. Therefore, if you want to temporarily stop machining during machining, it is best to make the allowable position correction amount EP equal to the allowable trajectory error amount Et (m = 1), so that no matter when machining is temporarily stopped, the position The deviation from the command trajectory on the machining program due to correction always falls within the allowable trajectory error amount Et. In addition, in the part where manual cutting due to manual interruption intervenes, if the allowable position correction amount E is set to zero (m=0)
, smooth manual interrupts can be performed. On the other hand, if the machining does not involve intervention such as -time stop or manual interrupt, the maximum allowable position correction amount Ep can be set to the maximum value to perform the machining at the highest possible speed of cutting feed. Furthermore, if you want to avoid a situation where the actual trajectory error becomes larger than the predicted trajectory error due to unpredictable factors and the trajectory error exceeds the allowable trajectory error amount Et, the position correction amount is adjusted to a smaller value. This makes it possible to avoid this.

尚、この実施例においては、許容位置補正量E。In this embodiment, the allowable position correction amount E.

を演算する情報は外部人力装置13より指定する方法を
説明しているが、それ以外に加工プログラム1による指
令の方法も考えられる。また、そのとき許容位置補正量
Epを算出する情報として、許容軌跡誤差量Etに乗算
する係数mを指定したが、直接許容位置補正量Epを指
定する方法も考えられる。
Although a method is described in which the information for calculating is specified by the external human power device 13, an alternative method of commanding by the machining program 1 is also conceivable. Furthermore, although the coefficient m to be multiplied by the allowable trajectory error amount Et is specified as information for calculating the allowable position correction amount Ep at that time, a method of directly specifying the allowable position correction amount Ep is also conceivable.

上述した第2実施例によれば、加工プログラムに指令さ
れる指令軌跡PCに加える位置補正量DCの大きさを、
外部より設定される許容位置補正量EPに基づき自由に
変更できるようにしているが、別の方法として指令軌跡
の加工形状に応じて位置補正III D cを変更する
方法も考えられる。つまり、指令軌跡PCの加工状態の
形状変化率が変化する曲線形状部、特に形状変化率が急
激なコーナ形状部においては、駆動部の加速度が変化し
、予測しがたいサーボ系の遅れ等が発生するため軌跡誤
差が予測しにくくなり、位置補正量算出部lOで算出さ
れる位置補正量DCの正確度が低下する。従って、指令
軌跡Peの形状に応じて位置補正量DCを変更するとい
う方法をとれば、形状変化率が急激で軌跡誤差が予測し
にくい加工形状の部分では位置補正量DCを小さくした
り、逆に形状変化率がほぼ一定で軌跡誤差を予測しやす
い加工形状の部分では位置補正量を最大限に大きくする
ことによって、より高精度な加工が高速に行なわれる。
According to the second embodiment described above, the magnitude of the position correction amount DC to be added to the command trajectory PC instructed to the machining program is
Although it is possible to freely change the position correction amount EP based on the allowable position correction amount EP set from the outside, another method is to change the position correction III D c according to the machining shape of the command trajectory. In other words, in a curved part where the rate of shape change of the machining state of the command trajectory PC changes, especially in a corner part where the rate of shape change is rapid, the acceleration of the drive unit changes, causing unpredictable delays in the servo system, etc. As a result, the trajectory error becomes difficult to predict, and the accuracy of the position correction amount DC calculated by the position correction amount calculation unit IO decreases. Therefore, if a method is adopted in which the position correction amount DC is changed according to the shape of the command trajectory Pe, the position correction amount DC may be made smaller in the part of the machining shape where the rate of shape change is rapid and the trajectory error is difficult to predict, or vice versa. In the part of the machined shape where the shape change rate is almost constant and the trajectory error is easy to predict, by maximizing the position correction amount, more accurate machining can be performed at high speed.

この方式を第3実施例として以下に説明する。This method will be described below as a third embodiment.

第3実施例。Third example.

第6図は、本発明の数値制御方式を実現するNC装置の
第3実施例を第4図に対応させて示すブロック図であり
、同一構成箇所は同符号を付して説明を省略する。
FIG. 6 is a block diagram showing a third embodiment of the NC device that implements the numerical control method of the present invention, corresponding to FIG. 4, and the same components are given the same reference numerals and the explanation will be omitted.

図において、このNC装置は、指令形状評価部4から出
力される形状データSDに基づいて誤差予測係数に、を
算出する誤差予測係数算出部13が新たに設けられてい
る。
In the figure, this NC device is newly provided with an error prediction coefficient calculation unit 13 that calculates an error prediction coefficient based on the shape data SD output from the commanded shape evaluation unit 4.

そこで誤差予測係数算出部13は、指令形状評価部4か
ら出力される形状データSDに基づいて加工プログラム
で指令される指令軌跡PCの加工形状を解析し、誤差予
測係数に、を算出する。この誤差予測計数に、は、形状
データSDに応じてO≦に、≦1の条件を満たし、例え
ば軌跡誤差が予測しがたい要因の影響を受けやすいコー
ナ形状部においてに、は零に近い値となり、逆に軌跡誤
差が予測しがたい要因の影響を受けにくい加工形状にお
いては、に。
Therefore, the error prediction coefficient calculation unit 13 analyzes the machining shape of the command trajectory PC instructed by the machining program based on the shape data SD output from the command shape evaluation unit 4, and calculates the error prediction coefficient. This error prediction coefficient satisfies the conditions O≦ and ≦1 depending on the shape data SD, and for example, in a corner shape part where the trajectory error is easily affected by factors that are difficult to predict, is a value close to zero. On the other hand, for machining shapes where the trajectory error is less susceptible to unpredictable factors,

はlに近い値をとる。また。この誤差予測係数に。takes a value close to l. Also. to this error prediction coefficient.

は許容位置補正量算出部14に送込まれ、更にこの許容
位置補正量算出部14は、外部入力装置13より入力さ
れる係数m及び誤差予測係数に、を許容軌跡誤差量Et
に乗算することにより許容位置補正量Epを算出する。
is sent to the allowable position correction amount calculation unit 14, and this allowable position correction amount calculation unit 14 further converts the coefficient m and error prediction coefficient input from the external input device 13 into an allowable trajectory error amount Et.
The allowable position correction amount Ep is calculated by multiplying by Ep.

従って、軌跡誤差を完全に予測しがたいコーナ形状部に
おいては、許容位置補正量E。
Therefore, in a corner shape part where it is difficult to completely predict the trajectory error, the allowable position correction amount E.

は;に近い値となり位置補正が実行されず、逆に軌跡誤
差が予測しやすい加工形状においては、許容位置補正量
E2はオペレータから人力される値とほぼ等しくなり位
置補正が実行される。
is a value close to ;, and position correction is not executed. Conversely, in a machining shape where a trajectory error is easy to predict, the allowable position correction amount E2 is approximately equal to the value entered manually by the operator, and position correction is executed.

尚、この実施例において、誤差予測係数に、を許容位置
補正量算出部12に送込ませているが、別の方法として
位置補正量算出部10に送込ませ、位置補正量算出部1
0において予測される軌跡誤差に誤差予測計数に、を乗
算させ、その軌跡誤差に基づいて位置補正ff1Deを
算出することにより、指令軌跡PCの加工形状に応じて
位置補正ffi D Cを変更する方法も考えられる。
In this embodiment, the error prediction coefficient is sent to the allowable position correction amount calculation section 12, but as another method, the error prediction coefficient is sent to the position correction amount calculation section 10, and the error prediction coefficient is sent to the position correction amount calculation section 12.
A method of changing the position correction ffi D C according to the machining shape of the command trajectory PC by multiplying the trajectory error predicted at 0 by the error prediction count and calculating the position correction ff1De based on the trajectory error. can also be considered.

(発明の効果) 以上のように本発明の数値制御方式によれば、予測しが
たい動的要因から発生する軌跡誤差も含めて安定した加
工精度の保証が可能になり、加工形状にかかわらず高速
で高精度な加工が可能となる。また、その際にオペレー
タにより手動切削の介入も容易に行なえる。
(Effects of the Invention) As described above, according to the numerical control method of the present invention, it is possible to guarantee stable machining accuracy, including trajectory errors caused by unpredictable dynamic factors, and regardless of the machining shape. This enables high-speed, high-precision machining. Further, at this time, manual cutting can be easily performed by the operator.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の数値制御方式を実現するNC装置の第
1実施例のブロック図、第2図はその動作例を説明する
フローチャート、第3図は指令軌跡P、xの算出方法を
示す説明図、第4図は本発明の数値制御方式を実現する
NC装置の第2実施例のブロック図、第5図は位置補正
量Dcと送り速度Ftの変化を示す説明図、第6図は本
発明の数値制御方式を実現するNC装置の第3実施例の
ブロック図、第7図は従来における数値制御方式を実現
するNC装置のブロック図である。 1・・・加工プログラム、2,2°・・・外部人力装置
、3・・・加工プログラム解釈部、4.4°・・・指令
形状評価部、5・・・関数発生部、6・・・サーボ制御
部、7・・・サーボモータ、8・・・位置検出器、9.
9゛・・・送り速度補正部、lO・・・位置補正量算出
部、11・・・送り速度算出部、 12・・・許容位置
補正量算出部、13・・・誤差予測係数算出部。
Fig. 1 is a block diagram of a first embodiment of an NC device that implements the numerical control method of the present invention, Fig. 2 is a flowchart explaining an example of its operation, and Fig. 3 shows a method for calculating command trajectories P and x. 4 is a block diagram of a second embodiment of the NC device that implements the numerical control method of the present invention, FIG. 5 is an explanatory diagram showing changes in position correction amount Dc and feed rate Ft, and FIG. A block diagram of a third embodiment of an NC device that implements the numerical control method of the present invention, and FIG. 7 is a block diagram of an NC device that implements a conventional numerical control method. 1... Machining program, 2,2°... External human power device, 3... Machining program interpretation section, 4.4°... Commanded shape evaluation section, 5... Function generation section, 6... - Servo control unit, 7... Servo motor, 8... Position detector, 9.
9゛...Feed rate correction section, lO... Position correction amount calculation section, 11... Feed speed calculation section, 12... Allowable position correction amount calculation section, 13... Error prediction coefficient calculation section.

Claims (1)

【特許請求の範囲】 1、加工プログラムにより指令される指令軌跡及び指令
送り速度に基づいて数値制御工作機械の駆動部の制御を
行なう数値制御方式において、前記指令送り速度に基づ
いて前記駆動部を制御した場合の前記駆動部の実際の軌
跡と前記指令軌跡との軌跡誤差を予測し、予測した軌跡
誤差と予め入力される許容軌跡誤差量とに基づいて位置
補正量を算出し、算出した位置補正量に基づいて前記指
令軌跡を補正すると共に、補正した指令軌跡と前記許容
軌跡誤差量とに基づいて許容追従遅れ量を算出し、前記
駆動部の位置を検出することで得られる情報に基づいて
実際の追従遅れ量を算出し、算出した追従遅れ量と前記
許容追従遅れ量とに基づいて前記指令送り速度を補正し
、補正した前記指令軌跡と補正した前記指令送り速度と
に基づいて前記駆動部を制御するようにしたことを特徴
とする数値制御方式。 2、前記加工プログラムにより指令される前記指令軌跡
に基づいて前記軌跡誤差が前記許容軌跡誤差量の所定倍
を越えないような送り速度を算出し、算出した送り速度
に基づいて前記駆動部を制御した場合の前記駆動部の実
際の軌跡と前記指令軌跡との軌跡誤差を予測すると共に
、算出した送り速度に補正を施すことを特徴とする請求
項1に記載の数値制御方式。 3、前記加工プログラムにより指令される前記指令軌跡
に基づいて軌跡誤差予測係数を算出し、算出した軌跡誤
差予測係数に基づいて前記位置補正量を修正し、修正し
た前記位置補正量に基づいて前記指令軌跡を補正するよ
うにしたことを特徴とする請求項1に記載の数値制御方
式。 4、前記軌跡誤差が外部装置もしくは前記加工プログラ
ムにより設定される許容位置補正量に前記許容軌跡誤差
量を加えた値を越えないような送り速度を算出するよう
にしたことを特徴とする請求項2に記載の数値制御方式
。 5、前記加工プログラムにより指令される前記指令軌跡
に基づいて軌跡誤差予測係数を算出し、算出した軌跡誤
差予測係数に基づいて前記許容位置補正量を修正し、前
記軌跡誤差が修正した前記許容位置補正量に前記許容軌
跡誤差量を加えた値を越えないような送り速度を算出す
るようにしたことを特徴とする請求項4に記載の数値制
御方式。
[Claims] 1. In a numerical control method in which a drive unit of a numerically controlled machine tool is controlled based on a command trajectory and a command feed rate commanded by a machining program, the drive unit is controlled based on the command feed rate. A trajectory error between the actual trajectory of the drive unit and the commanded trajectory when controlled is predicted, a position correction amount is calculated based on the predicted trajectory error and an allowable trajectory error amount input in advance, and the calculated position is calculated. Based on information obtained by correcting the command trajectory based on the correction amount, calculating an allowable follow-up delay amount based on the corrected command trajectory and the allowable trajectory error amount, and detecting the position of the drive unit. calculate the actual amount of follow-up delay, correct the command feed rate based on the calculated amount of follow-up delay and the allowable follow-up delay amount, and correct the command feed rate based on the corrected command trajectory and the corrected command feed rate. A numerical control method characterized by controlling the drive unit. 2. Calculate a feed rate such that the trajectory error does not exceed a predetermined times the allowable trajectory error amount based on the command trajectory instructed by the machining program, and control the drive unit based on the calculated feed rate. 2. The numerical control method according to claim 1, wherein a trajectory error between the actual trajectory of the drive unit and the commanded trajectory is predicted in the case where the movement occurs, and the calculated feed rate is corrected. 3. Calculate a trajectory error prediction coefficient based on the command trajectory instructed by the machining program, correct the position correction amount based on the calculated trajectory error prediction coefficient, and correct the position correction amount based on the corrected position correction amount. 2. The numerical control method according to claim 1, wherein the command trajectory is corrected. 4. A feed rate is calculated such that the trajectory error does not exceed a value obtained by adding the allowable trajectory error amount to an allowable position correction amount set by an external device or the machining program. The numerical control method described in 2. 5. Calculate a trajectory error prediction coefficient based on the command trajectory instructed by the machining program, correct the allowable position correction amount based on the calculated trajectory error prediction coefficient, and adjust the allowable position with the corrected trajectory error. 5. The numerical control method according to claim 4, wherein the feed rate is calculated such that the feed rate does not exceed a value obtained by adding the allowable trajectory error amount to the correction amount.
JP63217239A 1988-08-31 1988-08-31 Numerical control device Expired - Fee Related JPH0752365B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP63217239A JPH0752365B2 (en) 1988-08-31 1988-08-31 Numerical control device
DE3928547A DE3928547A1 (en) 1988-08-31 1989-08-29 NUMERICAL CONTROL METHOD
GB8919582A GB2224586B (en) 1988-08-31 1989-08-30 Numerical control method
US07/770,404 US5198984A (en) 1988-08-31 1991-10-03 Numerical control method for correcting machine tool path errors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63217239A JPH0752365B2 (en) 1988-08-31 1988-08-31 Numerical control device

Publications (2)

Publication Number Publication Date
JPH0266604A true JPH0266604A (en) 1990-03-06
JPH0752365B2 JPH0752365B2 (en) 1995-06-05

Family

ID=16701034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63217239A Expired - Fee Related JPH0752365B2 (en) 1988-08-31 1988-08-31 Numerical control device

Country Status (3)

Country Link
JP (1) JPH0752365B2 (en)
DE (1) DE3928547A1 (en)
GB (1) GB2224586B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334570A (en) * 2006-06-14 2007-12-27 Yasuda Kogyo Kk Position prediction device
JP5985124B1 (en) * 2015-06-16 2016-09-06 三菱電機株式会社 Command value generator
US9757834B2 (en) 2012-03-21 2017-09-12 Mitsubishi Electric Corporation Track control apparatus
US10481580B2 (en) 2014-01-07 2019-11-19 Mitsubishi Electric Corporation Trajectory control device
WO2023223571A1 (en) * 2022-05-18 2023-11-23 三菱電機株式会社 Tool route correction device, machine tool system, tool route correction method, and program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2665388B1 (en) * 1990-08-02 1994-08-26 Num Sa PREDICTIVE CONTROL METHOD AND DEVICE APPLICABLE TO A NUMERICALLY CONTROLLED MACHINE TOOL.
DE19535869A1 (en) * 1995-09-27 1997-04-03 Isg Ind Steuerungstechnik Gmbh Control of braking paths of numerically controlled (NC) machine tool axles
CN102426436B (en) * 2011-10-24 2013-03-27 华中科技大学 Multi-axis numerical control machining post-processing method considering structural error of machine tool

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53104087A (en) * 1977-02-22 1978-09-09 Toyoda Mach Works Ltd Numerically controlled feed gear
JPS62256005A (en) * 1986-04-30 1987-11-07 Mitsubishi Heavy Ind Ltd Nc device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3122691A (en) * 1962-03-01 1964-02-25 Bendix Corp Digital contouring system with automatic feed rate control
DE3408523A1 (en) * 1984-03-08 1985-09-12 Siemens AG, 1000 Berlin und 8000 München METHOD FOR MONITORING THE TRAIN PRODUCED BY CONTROLLING THE DRIVES OF A COMPUTER-CONTROLLED MACHINE TOOL OR AN INDUSTRIAL ROBOT

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53104087A (en) * 1977-02-22 1978-09-09 Toyoda Mach Works Ltd Numerically controlled feed gear
JPS62256005A (en) * 1986-04-30 1987-11-07 Mitsubishi Heavy Ind Ltd Nc device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334570A (en) * 2006-06-14 2007-12-27 Yasuda Kogyo Kk Position prediction device
US9757834B2 (en) 2012-03-21 2017-09-12 Mitsubishi Electric Corporation Track control apparatus
US10481580B2 (en) 2014-01-07 2019-11-19 Mitsubishi Electric Corporation Trajectory control device
JP5985124B1 (en) * 2015-06-16 2016-09-06 三菱電機株式会社 Command value generator
WO2016203546A1 (en) * 2015-06-16 2016-12-22 三菱電機株式会社 Command value generating device
WO2023223571A1 (en) * 2022-05-18 2023-11-23 三菱電機株式会社 Tool route correction device, machine tool system, tool route correction method, and program

Also Published As

Publication number Publication date
GB8919582D0 (en) 1989-10-11
GB2224586A (en) 1990-05-09
DE3928547A1 (en) 1990-03-08
JPH0752365B2 (en) 1995-06-05
GB2224586B (en) 1992-11-04

Similar Documents

Publication Publication Date Title
EP0917033B1 (en) Controller for machine
EP0012620B1 (en) Closed loop type numerical-controlled machine tool
US5331264A (en) Method and device for generating an input command for a motion control system
US7019482B2 (en) Motion controller having sliding mode controller
EP0089156B1 (en) Method and apparatus for controlling acceleration and/or deceleration
CN109725600B (en) Post-processor device, machining program generating method, CNC machining system, and computer-readable information recording medium
US6539275B1 (en) Machine controller and process with two-step interpolation
JP3399419B2 (en) Numerical control simulation device
US5986422A (en) Control mode changing over method for servo control system
US20170277150A1 (en) Motor controller having function of reducing vibration
KR19980018829A (en) SERVOMOTOR CONTROL METHOD
EP2600217A1 (en) Numerical control apparatus
JP6363642B2 (en) Numerical controller with corner path optimization function in tangential continuous corners
JPH0266604A (en) Numerical control system
WO1995004316A1 (en) Method and system for estimating robot tool center point speed
US5198984A (en) Numerical control method for correcting machine tool path errors
EP1271274B1 (en) Servo controlling device and method
JP3556779B2 (en) Servo motor overshoot prevention method
JP2020003958A (en) Numerical control device
JPH07210225A (en) Numerical controller
JP3242190B2 (en) Numerical control unit
JP4982170B2 (en) Machining control device and machining control program
JPH06289917A (en) Servo motor control method by estimated disturbance load torque
JP2000020104A (en) Method and device for speed control gain adjustment
JP6923736B2 (en) Numerical control device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees