JPH08137538A - Feed rate control method for numerical controller - Google Patents

Feed rate control method for numerical controller

Info

Publication number
JPH08137538A
JPH08137538A JP6294035A JP29403594A JPH08137538A JP H08137538 A JPH08137538 A JP H08137538A JP 6294035 A JP6294035 A JP 6294035A JP 29403594 A JP29403594 A JP 29403594A JP H08137538 A JPH08137538 A JP H08137538A
Authority
JP
Japan
Prior art keywords
deceleration
speed
command
acceleration
parameter
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
JP6294035A
Other languages
Japanese (ja)
Other versions
JP3513840B2 (en
Inventor
Shusuke Oba
秀典 大場
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP29403594A priority Critical patent/JP3513840B2/en
Publication of JPH08137538A publication Critical patent/JPH08137538A/en
Application granted granted Critical
Publication of JP3513840B2 publication Critical patent/JP3513840B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Automatic Control Of Machine Tools (AREA)

Abstract

PURPOSE: To automatically set a deceleration distance to an optimum value corresponding to working conditions by deciding a deceleration start point immediately before the corner part of a command locus corresponding to the product of a deceleration command speed and the sum of the reciprocal of a position loop gain and an acceleration/deceleration time constant. CONSTITUTION: In the case of performing the deceleration processing of the corner part, in an NC language analysis part 2, the deceleration distance of the corner part and a deceleration speed are decided and transferred to an interpolation processing part 3. At the time, in the NC language analysis part 2, by using the value of an NC parameter 6 stored beforehand, the deceleration distance Ld is obtained from Ld=FdXΔtxn×60 where Δt=Tp+Ta. In this case, the deceleration speed Fd is set by an NC program or the NC parameter. Tp is the reciprocal of the position loop gain which is the NC parameter and Ta is the acceleration/deceleration constant of the NC parameter. A deceleration distance magnification (n) is set as a value for which the time required for a feed rate to decline from a command speed to the deceleration speed Fd can not be secured. Then, in the interpolation processing part 3, the interpolation processing of the corner part is performed by using the transferred deceleration distance and deceleration speed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、数値制御装置の送り速
度制御方法に関し、特にコーナ部の送り速度を減速する
場合の減速距離を設定する送り速度制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a feed speed control method for a numerical controller, and more particularly to a feed speed control method for setting a deceleration distance when the feed speed of a corner portion is decelerated.

【0002】[0002]

【従来の技術】数値制御装置を使用した工作機械では、
各送り軸の制御を行う際、一般には各送り軸毎に位置ル
ープ制御を行い、さらに位置指令の変化によるショック
の発生を抑えるために、例えば加減速フィルタを用いて
各軸毎に加減速処理を行っている。これら各軸毎の位置
ループ制御や加減速処理を行うと、軸の移動中の実際の
速度は指令速度に対し遅れて立ち上がるため、実際の位
置も指令位置に対して遅れてしまう。図3は位置ループ
処理による遅れを示しており、Tp はNCパラメータで
ある位置ループゲインの逆数で決まる定数である。ま
た、図4は一般的な一次遅れフィルタを用いた加減速処
理による遅れを示しており、Ta はNCパラメータの加
減速時定数によって決定される定数である。指令位置に
対する実際の位置の遅れ量は、位置ループゲインの逆数
と加減速時定数の和に比例し、送り速度にも比例する。
図3、図4において、原点から右斜め上方向に伸びた点
線は、図中の実際の速度に対して、原点において接する
接線である。この接線が指令速度と交差するまでの時間
がそれぞれTp 、Ta に一致する。この遅れ量のため、
2軸以上で補間送りを行うと、指令コーナ部分では加工
精度が低下する問題が生じる。図5はこの遅れ量による
コーナ部の軌跡誤差を示しており、指令軌跡P1 とP2
のコーナ部の手前q1 から加工軌跡が指令軌跡から外
れ、コーナ部を過ぎたq2 で指令軌跡P2 と一致する。
加工軌跡q1 〜q2 間は加工誤差となる。この加工軌跡
1 〜q2 が生じる原因を6図に基づいて説明すると、
Y軸のみ移動した後X軸のみを移動するプログラムで
は、X軸Y軸の指令速度と実際の速度の波形は図のよう
になる。なお、図5の軌跡q11〜q22については実施例
の項で説明する。この場合、Y軸の指令を出力し終わっ
た時に、Y軸の実際の位置が、遅れ量のためにY軸移動
量の終点に到達していないままX軸が移動し始めるた
め、コーナ部分では、XY両軸が移動することとなり、
図5の破線で表される軌跡を描いて移動してしまうこと
となり、結果として加工精度が低下する。このような加
工精度の低下を抑えるための手段として、指令コーナ部
分については、一定区間を指令速度よりも減速する方法
がとられている。前述の通り、遅れ量は送り速度に比例
するため、コーナ部分のみ減速することによって加工精
度の低下を抑えることができる。
2. Description of the Related Art In a machine tool using a numerical control device,
When controlling each feed axis, generally, position loop control is performed for each feed axis, and in order to suppress the occurrence of shock due to changes in the position command, for example, acceleration / deceleration processing is performed for each axis using an acceleration / deceleration filter. It is carried out. If position loop control or acceleration / deceleration processing is performed for each axis, the actual speed during movement of the axis rises later than the command speed, and the actual position also lags the command position. FIG. 3 shows the delay due to the position loop processing, and T p is a constant determined by the reciprocal of the position loop gain which is the NC parameter. Further, FIG. 4 shows a delay due to acceleration / deceleration processing using a general first-order delay filter, and T a is a constant determined by the acceleration / deceleration time constant of the NC parameter. The delay amount of the actual position with respect to the command position is proportional to the sum of the reciprocal of the position loop gain and the acceleration / deceleration time constant, and also proportional to the feed speed.
In FIGS. 3 and 4, a dotted line extending obliquely upward and rightward from the origin is a tangent line that is tangent to the actual velocity in the drawings at the origin. The time until this tangent line intersects the commanded speed corresponds to T p and T a , respectively. Because of this delay amount,
If the interpolation feed is performed with two or more axes, there is a problem that the machining accuracy is reduced in the command corner portion. FIG. 5 shows the trajectory error of the corner portion due to this delay amount, and the command trajectories P 1 and P 2
The machining locus deviates from the command locus from q 1 in front of the corner part, and coincides with the command locus P 2 at q 2 after passing the corner part.
A processing error occurs between the processing loci q 1 and q 2 . The reason why the processing loci q 1 to q 2 occur will be described with reference to FIG.
In a program in which only the Y axis is moved and then only the X axis is moved, the waveforms of the command speed of the X axis and the Y axis and the actual speed are as shown in the figure. The trajectories q 11 to q 22 in FIG. 5 will be described in the section of the embodiment. In this case, when the Y-axis command is output, the X-axis starts to move without the actual position of the Y-axis reaching the end point of the Y-axis movement amount due to the delay amount, so that at the corner portion. , XY both axes will move,
The robot moves along the locus represented by the broken line in FIG. 5, resulting in a decrease in processing accuracy. As a means for suppressing such a decrease in machining accuracy, a method of decelerating a certain section from a command speed is adopted in the command corner portion. As described above, since the delay amount is proportional to the feed speed, it is possible to suppress the deterioration of machining accuracy by decelerating only the corner portion.

【0003】[0003]

【発明が解決しようとする課題】しかしながら従来技術
では、減速する一定区間(以下減速距離という)はNC
プログラムやNCパラメータで指令された値で設定され
ているため、オペレータの経験値から決定されることが
多い。このため、設定された減速距離が長い場合は加工
時間が長くなってしまい、逆に設定された減速距離が短
い場合は遅れ量のために十分に減速されないままコーナ
部分を通過してしまうので、減速の効果が得られず加工
精度の低下を招いてしまう。そこで、本発明はこのよう
な問題を解決するために、減速距離を加工条件に応じて
自動的に最適値に設定することを目的としている。
However, in the prior art, the decelerating constant section (hereinafter referred to as deceleration distance) is NC.
Since it is set by the value instructed by the program or NC parameter, it is often determined from the experience value of the operator. For this reason, if the set deceleration distance is long, the machining time becomes long, and conversely, if the set deceleration distance is short, it will pass through the corner without being sufficiently decelerated due to the delay amount. The deceleration effect cannot be obtained, and the machining accuracy is reduced. Therefore, in order to solve such a problem, an object of the present invention is to automatically set the deceleration distance to an optimum value according to the processing conditions.

【0004】[0004]

【課題を解決するための手段】上記問題を解決するた
め、本発明は、位置制御の閉ループを有する数値制御装
置の送り速度制御方法において、位置ループゲインの逆
数と加減速時定数の和と減速指令速度との積に応じて、
指令軌跡のコーナー部直前の減速開始点を決定し、この
減速開始点から前記コーナー部までの間、送り速度を前
記減速指令速度に設定することを特徴とする数値制御装
置の送り速度制御方法。
In order to solve the above problems, the present invention provides a feed rate control method for a numerical controller having a closed loop for position control, in which the reciprocal of the position loop gain and the sum of the acceleration / deceleration time constant and the deceleration. Depending on the product of command speed,
A feed speed control method for a numerical control device, characterized in that a deceleration start point immediately before a corner portion of a command locus is determined, and a feed speed is set to the deceleration command speed from the deceleration start point to the corner portion.

【0005】[0005]

【作用】上記手段により、コーナ部分の減速距離は、減
速速度と位置ループゲインと加減速時定数の値に応じて
最適値に設定される。以下、本発明の原理を図2を参照
して説明する。図において、Fは指令速度、Fdはコー
ナ部の減速速度(mm/min)(以下単に減速速度と
いう)、Δtは位置ループゲインと加減速時定数から決
まる単位時間、Ldは減速距離を示し、図の斜線部に該
当する。図中の直線Kは、図3、図4で説明した実際の
速度に接する接線であり、直線Kが減速速度Fdと交差
するまでの時間がΔtに相当する。本発明における減速
距離Ldは次式で求められる。 Ld=Fd×Δt×n×60 (1) ただし、Δt=Tp+Ta Tp:1÷位置ループゲイン(sec) Ta:加減速時定数(sec) n:減速距離倍率 式(1)で、減速速度FdはNCプログラムまたはNC
パラメータにて設定される。TpはNCパラメータであ
る位置ループゲインの逆数、TaはNCパラメータの加
減速時定数である。減速距離倍率nは、送り速度が指令
速度Fから減速速度Fdまで低下するためにひつような
時間を確保できる値に設定する。この時間は加減速方法
によって異なるためNCパラメータとして与えられる。
一般的な一次遅れフィルタによる指数加減速を用いる場
合には、nの値は3〜4程度が適当である。以上説明し
たように、本発明によれば、コーナ部分の減速距離は、
減速速度と位置ループゲインと加減速時定数の値から自
動的に最適値に設定されるため、加工時間も短くなり、
コーナ部の加工精度の低下も抑制することが可能とな
る。
By the above means, the deceleration distance at the corner portion is set to the optimum value in accordance with the deceleration speed, the position loop gain and the acceleration / deceleration time constant. Hereinafter, the principle of the present invention will be described with reference to FIG. In the figure, F is a command speed, Fd is a deceleration speed (mm / min) of a corner portion (hereinafter simply referred to as deceleration speed), Δt is a unit time determined by a position loop gain and an acceleration / deceleration time constant, and Ld is a deceleration distance. It corresponds to the shaded area in the figure. The straight line K in the figure is a tangent line that is in contact with the actual speed described in FIGS. 3 and 4, and the time until the straight line K intersects the deceleration speed Fd corresponds to Δt. The deceleration distance Ld in the present invention is calculated by the following equation. Ld = Fd × Δt × n × 60 (1) where Δt = Tp + Ta Tp: 1 / position loop gain (sec) Ta: acceleration / deceleration time constant (sec) n: deceleration distance multiplying formula (1), deceleration speed Fd Is NC program or NC
It is set by the parameter. Tp is the reciprocal of the position loop gain which is the NC parameter, and Ta is the acceleration / deceleration time constant of the NC parameter. The deceleration distance multiplying factor n is set to a value that can secure an intimidating time because the feed speed decreases from the command speed F to the deceleration speed Fd. This time is given as an NC parameter because it depends on the acceleration / deceleration method.
When exponential acceleration / deceleration by a general first-order lag filter is used, the value of n is preferably about 3-4. As described above, according to the present invention, the deceleration distance of the corner portion is
Since the optimum values are automatically set from the values of deceleration speed, position loop gain, and acceleration / deceleration time constant, the machining time is shortened.
It is also possible to suppress a decrease in the machining accuracy of the corner portion.

【0006】[0006]

【実施例】以下、本発明の実施例を図に基づいて説明す
る。図1は本発明の数値制御装置の送り速度制御方法の
ブロック図を示す。1はNCプログラムを保存している
プログラムメモリ、2はNCプログラムを解析し補間処
理が補間可能な形式のデータに変換するNC言語解析
部、3はNC言語解析部から出力されたデータをもとに
直線補間、円弧補間等を行い、各軸の移動指令を作成す
る補間処理部、4は各軸の加減速を行う加減速処理部、
5は各軸の位置制御、速度制御電流制御を行うサーボ制
御部を表す。コーナ部分の減速処理を行う場合は、NC
言語解析部2において、コーナ部分の減速距離と減速速
度を決定し補間処理部3に転送する。この時NC言語解
析部では、予め記憶されているNCパラメータ6の値を
用いて(1)式から減速距離Ld を求める。補間処理部
では、NC言語解析部から転送された減速距離と減速速
度を用いてコーナ部分の補間処理を行う。図2は本発明
の原理と実施例の説明を兼ねた図で、減速距離倍率n=
4とした例の速度波形である。破線で表された実際の速
度が十分に低下するように減速距離Ldを設定すること
によって、加工時間も短くかつ加工精度の低下も抑制で
きる減速距離が得られる。この結果、コーナ部の加工軌
跡の精度は従来技術より改善される。図5の加工軌跡q
11〜q22は本発明による加工軌跡で、従来の加工軌跡q
1 〜q2 より加工精度が向上することを示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a feed rate control method for a numerical controller according to the present invention. Reference numeral 1 is a program memory storing an NC program, 2 is an NC language analysis unit that analyzes the NC program and converts it into data of a format that can be interpolated, and 3 is based on data output from the NC language analysis unit. An interpolation processing unit that performs linear interpolation, circular interpolation, etc., and creates a movement command for each axis, 4 is an acceleration / deceleration processing unit that performs acceleration / deceleration of each axis,
Reference numeral 5 represents a servo control unit that performs position control of each axis and speed control current control. When performing deceleration processing for corners, NC
In the language analysis unit 2, the deceleration distance and deceleration speed of the corner portion are determined and transferred to the interpolation processing unit 3. At this time, the NC language analysis unit obtains the deceleration distance L d from the equation (1) using the value of the NC parameter 6 stored in advance. The interpolation processing unit uses the deceleration distance and deceleration speed transferred from the NC language analysis unit to interpolate the corner portion. FIG. 2 is a diagram for explaining the principle of the present invention and the embodiment, and the deceleration distance magnification n =
4 is a velocity waveform of the example set to 4. By setting the deceleration distance Ld so that the actual speed represented by the broken line is sufficiently reduced, it is possible to obtain the deceleration distance in which the processing time is short and the deterioration of the processing accuracy can be suppressed. As a result, the accuracy of the machining locus of the corner portion is improved as compared with the related art. Processing trajectory q in FIG.
11 to q 22 are machining trajectories according to the present invention, which are conventional machining trajectories q
It shows that the processing accuracy is improved from 1 to q 2 .

【0007】[0007]

【発明の効果】以上述べたように、本発明によれば、指
令コーナ部分を減速する送り速度制御方法におけるコー
ナ部の減速距離が自動的に最適値に設定される。従来は
オペレータの判断で減速距離を設定したため、設定した
減速距離が長すぎると加工時間が長くなり、減速距離が
短すぎると加工精度が低下するという問題が生じていた
が、本発明により減速距離が自動的に最適値に設定され
る結果、従来技術におけるこのような問題が解消され
る。
As described above, according to the present invention, the deceleration distance of the corner portion in the feed speed control method for decelerating the command corner portion is automatically set to the optimum value. Conventionally, since the deceleration distance is set by the operator's judgment, if the set deceleration distance is too long, the machining time becomes long, and if the deceleration distance is too short, the machining accuracy deteriorates. Is automatically set to an optimum value, and as a result, such a problem in the related art is solved.

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

【図1】本発明の実施例としての送り速度制御方法のブ
ロック図。
FIG. 1 is a block diagram of a feed rate control method as an embodiment of the present invention.

【図2】本発明の原理と実施例の説明を兼ねた図FIG. 2 is a diagram that serves to explain the principle of the present invention and an embodiment.

【図3】位置ループ制御による遅れ。FIG. 3 is a delay caused by position loop control.

【図4】加減速処理による遅れ。FIG. 4 is a delay due to acceleration / deceleration processing.

【図5】コーナ部の指令と軌跡。FIG. 5 is a command and trajectory of a corner section.

【図6】X,Y軸の速度波形。FIG. 6 is a velocity waveform of X and Y axes.

【符号の説明】[Explanation of symbols]

1 プログラムメモリ 2 NC言語解析部 3 補間処理部 4 加減速処理部 5 サーボ制御部 6 NCパラメータ 1 Program Memory 2 NC Language Analysis Section 3 Interpolation Processing Section 4 Acceleration / Deceleration Processing Section 5 Servo Control Section 6 NC Parameters

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】位置制御の閉ループを有する数値制御装置
の送り速度制御方法において、位置ループゲインの逆数
と加減速定数の和と減速指令速度との積に応じて、指令
軌跡のコーナー部直前の減速開始点を決定し、この減速
開始点から前記コーナー部までの間、送り速度を前記減
速指令速度に設定することを特徴とする数値制御装置の
送り速度制御方法。
1. A feed rate control method for a numerical controller having a closed loop for position control, wherein a command immediately before a corner portion of a command locus is determined according to a product of a reciprocal of a position loop gain, a sum of acceleration / deceleration constants, and a deceleration command speed. A deceleration start point is determined, and a feed speed is set to the deceleration command speed from the deceleration start point to the corner portion.
JP29403594A 1994-11-02 1994-11-02 Feed rate control method for numerical controller Expired - Fee Related JP3513840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29403594A JP3513840B2 (en) 1994-11-02 1994-11-02 Feed rate control method for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29403594A JP3513840B2 (en) 1994-11-02 1994-11-02 Feed rate control method for numerical controller

Publications (2)

Publication Number Publication Date
JPH08137538A true JPH08137538A (en) 1996-05-31
JP3513840B2 JP3513840B2 (en) 2004-03-31

Family

ID=17802428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29403594A Expired - Fee Related JP3513840B2 (en) 1994-11-02 1994-11-02 Feed rate control method for numerical controller

Country Status (1)

Country Link
JP (1) JP3513840B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112828649A (en) * 2019-11-25 2021-05-25 发那科株式会社 Electric motor control device and electric motor control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04352004A (en) * 1991-05-29 1992-12-07 Yaskawa Electric Corp Method for controlling screwing work
JPH06214631A (en) * 1993-01-12 1994-08-05 Toyoda Mach Works Ltd Locus controller
JPH07191728A (en) * 1991-08-30 1995-07-28 Makino Milling Mach Co Ltd Feed rate control method and device in numerical control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04352004A (en) * 1991-05-29 1992-12-07 Yaskawa Electric Corp Method for controlling screwing work
JPH07191728A (en) * 1991-08-30 1995-07-28 Makino Milling Mach Co Ltd Feed rate control method and device in numerical control
JPH06214631A (en) * 1993-01-12 1994-08-05 Toyoda Mach Works Ltd Locus controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112828649A (en) * 2019-11-25 2021-05-25 发那科株式会社 Electric motor control device and electric motor control method

Also Published As

Publication number Publication date
JP3513840B2 (en) 2004-03-31

Similar Documents

Publication Publication Date Title
US4728872A (en) Robot path error correction system
JP5417392B2 (en) Numerical controller
US9636774B2 (en) Controller for laser beam machining for controlling approaching operation of machining head
CN109725600B (en) Post-processor device, machining program generating method, CNC machining system, and computer-readable information recording medium
US5521830A (en) Motion controller and synchronous control process therefor
CN108375957B (en) Numerical control device and control method
JP2001125613A (en) Numerical control simulation device
EP2600217A1 (en) Numerical control apparatus
WO2008053601A1 (en) Working control device, and its program
JPH10254526A (en) Numerical controller
JPH0969013A (en) Control mode switching method of servo system using servomotor
JP2853023B2 (en) Method and apparatus for controlling mechanical devices by numerical control
CN118891593A (en) Speed dependent transition linking between blocks with discontinuous tracks
JP3749222B2 (en) Numerical controller
JP2000052076A (en) Laser processing device and processing head driving method
JP3513840B2 (en) Feed rate control method for numerical controller
JPH0266604A (en) Numerical control system
JPH07210225A (en) Numerical controller
JPH09262742A (en) Machine tool feed control method and device
JPH02195409A (en) Method for controlling feeding speed of numerical controller
JPH11194813A (en) How to create operation commands for industrial machines
JP4982170B2 (en) Machining control device and machining control program
JP3242190B2 (en) Numerical control unit
KR0151016B1 (en) Acceleration / Deceleration Control Method of Servo Motor
JPH10320028A (en) Numerical control unit with vertical axis acceleration / deceleration time setting function

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040104

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090123

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100123

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees