JPH03152604A - Feed speed control method for numerical controller - Google Patents

Feed speed control method for numerical controller

Info

Publication number
JPH03152604A
JPH03152604A JP29196589A JP29196589A JPH03152604A JP H03152604 A JPH03152604 A JP H03152604A JP 29196589 A JP29196589 A JP 29196589A JP 29196589 A JP29196589 A JP 29196589A JP H03152604 A JPH03152604 A JP H03152604A
Authority
JP
Japan
Prior art keywords
block
acceleration
speed
deceleration
command speed
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.)
Pending
Application number
JP29196589A
Other languages
Japanese (ja)
Inventor
Takao Sasaki
隆夫 佐々木
Kentaro Fujibayashi
謙太郎 藤林
Toshiaki Otsuki
俊明 大槻
Yasuhiro Saito
斎藤 康寛
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP29196589A priority Critical patent/JPH03152604A/en
Publication of JPH03152604A publication Critical patent/JPH03152604A/en
Pending 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
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/43Speed, acceleration, deceleration control ADC
    • G05B2219/43009Acceleration deceleration for each block of data, segment

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To eliminate the shock to be applied to a mechanical system by using the pre-read/preinterpolation acceleration/deceleration to read the next block during interpolation of a current block. CONSTITUTION:A command speed FN2 of the next block N2 is previously read during interpolation of a block N1. If the speed F2 is higher than a command speed FN1 of the N1, the FN1 is defined as a target feed speed at the end point C of the N1. Then a speed command FN3 of a block N3 is previously read when the N2 is shifted to the N3. The FN3 is defined as a target feed speed at the end point F of the N2 if the FN1 is higher than the FN3. In such a constitution, the acceleration never changes suddenly at the start and end points of acceleration. Thus on shock is given to a mechanical system at the preinterpolation acceleration/deceleration. A CPU produces a control signal for mechanical side with use of a ROM and a RAM and based on a sequence program of a programmable controller.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御装置の送り速度制御方法に係り、特に
送り速度を補間前に目標送り速度に加速、減速する際の
加速度を可変とした数値制御装置の送り速度制御方法に
関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a feed rate control method for a numerical control device, and in particular, a method in which the acceleration when accelerating and decelerating the feed rate to a target feed rate before interpolation is made variable. The present invention relates to a feed rate control method for a numerical control device.

〔従来の技術〕[Conventional technology]

数値制御装置(CNC)では、加ニブログラムによって
指令された通路上を指令された速度で工具を移動させる
ことによってワークを所望の形状に加工している。
In a numerical control device (CNC), a workpiece is machined into a desired shape by moving a tool along a path specified by a cutting program at a specified speed.

ところで、このような加工では、工具の移動の開始、終
了時、又は指令送り速度に変化があった場合、工具進行
方向に急な変化があった場合等に、軸毎の速度が急激に
変わるため、機械に対するショックが大きいという問題
がある。
By the way, in this type of machining, the speed of each axis changes suddenly at the start or end of tool movement, when there is a change in the commanded feed rate, or when there is a sudden change in the direction of tool movement. Therefore, there is a problem that the shock to the machine is large.

そのため、従来は補間前に指令速度に直線形の加減速を
行う補間曲直線形加減速を行い、工具の進行方向に急な
変化があった場合は、その箇所で適切な速度に減速した
り、又は、補間後に軸毎の送り速度に加減速を行う補間
後加減速を行っていた。
Therefore, conventionally, interpolation curve linear acceleration/deceleration is performed to linearly accelerate/decelerate the command speed before interpolation, and if there is a sudden change in the direction of tool movement, the speed is decelerated to an appropriate speed at that point. Alternatively, post-interpolation acceleration/deceleration is performed to accelerate/decelerate the feed rate of each axis after interpolation.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、補間後加減速の場合は、機械系にショックがな
いように、移動開始時、停止時には所定の時定数で軸ご
とに加速、減速が行われるので、加工誤差が大きいとい
う問題がある。
However, in the case of acceleration/deceleration after interpolation, acceleration and deceleration are performed for each axis at a predetermined time constant at the start and stop of movement to avoid shock to the mechanical system, so there is a problem that machining errors are large.

一方、補間曲直線形加減速の場合は加速、減速の始点と
終点とで加速度が急激に変化するため、機械系に与える
ショックが大きいという問題がある。以下、これを図面
を用いて説明する。
On the other hand, in the case of interpolated curve linear acceleration/deceleration, the acceleration changes rapidly between the start and end points of acceleration and deceleration, so there is a problem in that a large shock is applied to the mechanical system. This will be explained below using the drawings.

第5図は補間前に指令速度に直線形加減速を行う従来の
補間曲直線形加減速を示す図である。3つのブロックN
l、N2及びN30指令速度はそれぞれFNI、FN2
及びFN3である。ブロックN1の始点へから指定速度
FNIに達するまでの終点Bまでは直線で加速され、指
定速度FNIに到達後、次のブロックN2の始点Cまで
は指定速度FNIが維持される。次に、ブロックN2で
は、ブロックN2の始点Cから指定速度FN2に達する
までの終点りまでは直線で加速される。指定速度FN2
に到達後はその速度を維持するが、次のブロックN3の
始点Fが近づくと、指定速度FN2上の点Eからブロッ
クN3の始点Fまで直線で減速され、ブロックN3の始
点Fに到達後は指定速度FN3が維持される。そして、
ブロックN3の終点Hが近づくと、指定速度FNa上の
点GからブロックN3の終点Hまで直線で減速される。
FIG. 5 is a diagram showing conventional interpolation curved linear acceleration/deceleration in which linear acceleration/deceleration is performed to the command speed before interpolation. three blocks N
l, N2 and N30 command speeds are FNI and FN2 respectively.
and FN3. The vehicle is accelerated in a straight line from the start point of block N1 to the end point B until reaching the specified speed FNI, and after reaching the specified speed FNI, the specified speed FNI is maintained until the starting point C of the next block N2. Next, in block N2, the vehicle is accelerated in a straight line from the starting point C of block N2 to the end point until reaching the designated speed FN2. Specified speed FN2
After reaching the start point F of the next block N3, the speed is maintained, but as the start point F of the next block N3 approaches, the speed is decelerated in a straight line from the point E on the specified speed FN2 to the start point F of the block N3, and after reaching the start point F of the block N3. The designated speed FN3 is maintained. and,
When the end point H of block N3 approaches, the speed is decelerated in a straight line from point G on designated speed FNa to end point H of block N3.

このように、補間問直線形加減速の場合は、加速及び減
速が直線で行われているため、加速の開始点A及びC1
加速の終了点B及びD1減速の開始点E及びG、減速の
終了点F及び■]で急に加速度が変化し、機械系に与え
るショックが大きいという問題がある。
In this way, in the case of interpolated linear acceleration/deceleration, acceleration and deceleration are performed in a straight line, so the acceleration starting points A and C1
There is a problem that the acceleration suddenly changes at the acceleration end point B and D1, the deceleration start point E and G, and the deceleration end point F and ■], and a large shock is given to the mechanical system.

本発明はこのような点に鑑みてなされたものであり、補
間的加減速の際に機械系にショックを与えることなく加
減速を行える数値制御装置の送り制御方法を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a feed control method for a numerical control device that can perform acceleration/deceleration without giving a shock to the mechanical system during interpolative acceleration/deceleration. .

〔課題を解決するための手段〕[Means to solve the problem]

本発明では上記課題を解決するために、第1ブロック始
点での送り速度から前記第1ブロック内の目標指令速度
に加速し、前記第1ブロック内の送り速度から前記第1
ブロック終点での目標指令速度に減速する加減速を補間
前に行う数値制御装置の送り速度制御方法において、前
記第1ブロック始点での送り速度から前記第1ブロック
内の目標指令速度に加速する場合は、所定の大きさのプ
ラスの加速度になるまで徐々にプラスの加速度を増加し
、前記第1ブロック内の目標指令速度に近づいてきたら
前記プラスの加速度の大きさを徐々に減少し、前記第1
ブロック内の送り速度から前記第1ブロック終点での目
標指令速度に減速する場合は、所定の大きさのマイナス
の加速度になるまで徐々にマイナスの加速度を増加し、
前記第1ブロック終点での目標指令速度に近づいてきた
ら前記マイナスの加速度の大きさを徐々に減少すること
を特徴とする数値制御装置の送り速度制御方式が提供さ
れる。
In order to solve the above problems, the present invention accelerates the feed speed at the starting point of the first block to the target command speed within the first block, and changes the feed speed within the first block to the target command speed within the first block.
In a feed rate control method for a numerical control device in which acceleration/deceleration to decelerate to a target command speed at a block end point is performed before interpolation, when accelerating from the feed speed at the first block start point to the target command speed within the first block. gradually increases the positive acceleration until it reaches a predetermined positive acceleration, and when it approaches the target command speed in the first block, gradually decreases the positive acceleration, and 1
When decelerating from the feed speed within the block to the target command speed at the end point of the first block, gradually increase the negative acceleration until it reaches a predetermined negative acceleration,
There is provided a feed rate control method for a numerical control device, characterized in that the magnitude of the negative acceleration is gradually reduced when the target commanded velocity at the end point of the first block is approached.

〔作用〕[Effect]

加速の場合は、プラスの加速度が所定のプラスの加速度
になるまで徐々に増加していき、目標指令速度に近づい
たらその目標指令速度で丁度プラスの加速度がゼロとな
るような点からプラスの加速度が徐々に減少する。減速
の場合も同様に、マイナスの加速度が所定のマイナスの
加速度になるまで徐々に増加していき、目標指令速度に
近づいたらその目標指令速度で丁度マイナスの加速度が
ゼロとなるような点からマイナスの加速度が徐々に減少
する。これによって、補間的加減速の際に機械系にショ
ックが加わらなくなる。
In the case of acceleration, the positive acceleration gradually increases until it reaches a predetermined positive acceleration, and when it approaches the target command speed, the positive acceleration starts from the point where the positive acceleration becomes zero at the target command speed. gradually decreases. Similarly, in the case of deceleration, the negative acceleration gradually increases until it reaches a predetermined negative acceleration, and when it approaches the target command speed, the negative acceleration decreases from the point where the negative acceleration becomes zero exactly at that target command speed. acceleration gradually decreases. This prevents shock from being applied to the mechanical system during interpolative acceleration/deceleration.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の送り速度制御方法を実施するための数
値制御装置(CNC)のハードウェアの構成を示す図で
ある。図にふいて、プロセッサ11は、数値制御装置全
体を制御するものであり、後述する送り速度制御処理を
実行し、加速、減速時の加速度を可変制御する。
FIG. 2 is a diagram showing the hardware configuration of a numerical control device (CNC) for implementing the feed rate control method of the present invention. As shown in the figure, a processor 11 controls the entire numerical control device, executes a feed rate control process to be described later, and variably controls acceleration during acceleration and deceleration.

ROM12はEPROMあるいはEEPROMで構成さ
れ、コントロールプログラム等を記憶する。RAM13
はDRAMで構成され、各種のデータを記憶する。不揮
発性メモリ14はバッテリバックアップされたCMO3
等で構成され、加ニブログラム14a1パラメータ等を
記憶し、数値制御装置の電源切断後もその内容を保持す
る。
The ROM 12 is composed of an EPROM or an EEPROM, and stores control programs and the like. RAM13
is composed of DRAM and stores various data. Non-volatile memory 14 is CMO3 with battery backup
etc., stores the parameters of the computer program 14a1, etc., and retains the contents even after the numerical control device is powered off.

PC(プログラマブル・コントローラ)15はM機能、
S機能、1機能等の指令を受けて、シーケンスプログラ
ム15aによってこの指令を解読処理し、工作機械制御
用の信号を出力する。また、PCl5は機械側からのリ
ミットスイッチの信号又は機械操作盤からのスイッチ信
号を受けて、シーケンス・プログラム15aで処理し、
機械側制御用の信号を出力する。数値制御装置で必要な
信号はバス25を経由してRAM13に転送され、プロ
セッサ11によって、読み取られる。
PC (programmable controller) 15 has M function,
Upon receiving commands such as S function and 1 function, the sequence program 15a decodes and processes the commands and outputs signals for machine tool control. In addition, the PCl5 receives a limit switch signal from the machine side or a switch signal from the machine operation panel, and processes it with the sequence program 15a.
Outputs signals for machine side control. Signals required by the numerical control device are transferred via bus 25 to RAM 13 and read by processor 11.

グラフィック制御回路16はRAM13に格納された各
軸の現在位置、移動量等のデータを表示信号に変換し、
表示装置16aに出力する。表示装置16aはCRT、
液晶表示装置等で構成され、グラフィック制御回路16
からの表示信号を表示する。キーボード17は各種のデ
ータを人力するのに使用される。
The graphic control circuit 16 converts data such as the current position and movement amount of each axis stored in the RAM 13 into display signals.
It is output to the display device 16a. The display device 16a is a CRT,
A graphic control circuit 16 consisting of a liquid crystal display device, etc.
Display the display signal from. The keyboard 17 is used to enter various data manually.

軸制御回路18はサーボモータ20を制御するものであ
り、加ニブログラムに応じた指令速度をプロセッサll
から受けて、それを加減速制御した後に補間演算して、
サーボモータ20を制御するための速度指令信号をサー
ボアンプ19へ出力する。サーボアンプ19はこの速度
指令信号を増幅し、サーボモータ20を駆動する。サー
ボモータ20には位置帰還信号を出力するパルスコーダ
21が結合されている。パルスコーダ21は位置帰還パ
ルスを軸制御回路18にフィードバックする。パルスコ
ーダ21の他にリニアスケール等ノ位置検出器を使用す
る場合もある。これらの要素は軸数分だけ必要であるが
、各要素の構成は同じであるので、ここでは1軸分のみ
示しである。
The axis control circuit 18 controls the servo motor 20, and sends a command speed according to the rotation program to the processor II.
After receiving from
A speed command signal for controlling the servo motor 20 is output to the servo amplifier 19. The servo amplifier 19 amplifies this speed command signal and drives the servo motor 20. A pulse coder 21 that outputs a position feedback signal is coupled to the servo motor 20. The pulse coder 21 feeds back position feedback pulses to the axis control circuit 18. In addition to the pulse coder 21, a position detector such as a linear scale may be used. These elements are required for the number of axes, but since the configuration of each element is the same, only one axis is shown here.

入出力回路22は機械側との人出力信号の授受を行う、
すなわち機械側のリミットスイッチ信号、機械操作盤の
スイッチ信号等を受ける。受は取った信号は、PCl5
によって読み取られる。また、入出力回路22はPCl
5からの機械側の空圧アクチュエイタ等を制御する出力
信号を受けて、機械側に出力する。
The input/output circuit 22 sends and receives human output signals to and from the machine side.
That is, it receives limit switch signals from the machine, switch signals from the machine operation panel, etc. The received signal is PCl5
read by. In addition, the input/output circuit 22 is
It receives an output signal from 5 for controlling the pneumatic actuator etc. on the machine side and outputs it to the machine side.

手動パルス発生器23は回転角度に応じて、各軸を精密
に移動させるパルス列を出力し、機械位置を精密に位置
決めするために使用される。手動パルス発生器23は通
常機械操作盤に実装される。
The manual pulse generator 23 outputs a pulse train for precisely moving each axis according to the rotation angle, and is used to precisely position the machine. Manual pulse generator 23 is usually mounted on a machine operation panel.

図ではスピンドルを制御するためのスピンドル制御回路
、スピンドルアンプ、スピンドルモータ等は省略しであ
る。
In the figure, the spindle control circuit, spindle amplifier, spindle motor, etc. for controlling the spindle are omitted.

また、ここではプロセッサは1個であるが、システムに
応じて複数のプロセッサを使用したマルチ・プロセッサ
システムにすることもできる。
Further, although there is one processor here, a multi-processor system using a plurality of processors can be used depending on the system.

本実施例では、ブロックの始点及び終点における加減速
開始時の加速度を徐々に大きくし、加減速終了時の加速
度を徐々に小さくするようにした。
In this embodiment, the acceleration at the start of acceleration/deceleration at the start and end points of a block is gradually increased, and the acceleration at the end of acceleration/deceleration is gradually decreased.

第1図は本発明の補間前に指令速度に加減速を行う送り
速度制御方法を示す図である。本図は第5図と同じ指令
速度が指令された場合を示す。即ち、3つのブロックN
1、N2及びN3の指令速度はそれぞれFNI、FN2
及びFN3である。
FIG. 1 is a diagram showing a feed rate control method of accelerating or decelerating a commanded rate before interpolation according to the present invention. This figure shows a case where the same command speed as in FIG. 5 is commanded. That is, three blocks N
The command speeds of 1, N2 and N3 are FNI and FN2, respectively.
and FN3.

ブロックN1の始点への近傍では、所定の大きさの加速
度になるまで徐々に加速度が増大し、送り速度が徐々に
大きくなり、指定速度FNIに近づいてきたら、即ち点
Bの近傍では、送り速度が指定速度FNIに達するまで
、加速度の大きさが徐々に減少していく。指定速度FN
Iに到達後、次のブロックN2の始点Cまでは指定速度
FNIが維持される。そして、ブロックN2の始点C及
び点りの近傍でも送り速度が指定速度FN2に達するま
で、ブロックN1と同様の加速制御が行われる。
In the vicinity of the starting point of block N1, the acceleration gradually increases until it reaches a predetermined acceleration, and the feed rate gradually increases, and when it approaches the designated speed FNI, that is, in the vicinity of point B, the feed rate The magnitude of the acceleration gradually decreases until it reaches the designated speed FNI. Specified speed FN
After reaching point I, the designated speed FNI is maintained until the starting point C of the next block N2. Then, the same acceleration control as in block N1 is performed near the starting point C and the dot of block N2 until the feed speed reaches the designated speed FN2.

従って、ブロックN1の始点A及びブロックN2の始点
Cの近傍では、始めは小さな加速度で加速が開始し、そ
の後所定の加速度になるまで徐々に加速度は増加してい
く。また、ブロックN1の点B及びブロックN2の点り
の近傍では、指定速度FNI及びFN2に到達するまで
所定の加速度が徐々に小さくなっていく。
Therefore, near the starting point A of block N1 and the starting point C of block N2, acceleration starts with a small acceleration at first, and then the acceleration gradually increases until it reaches a predetermined acceleration. Further, near the point B of block N1 and the dot of block N2, the predetermined acceleration gradually decreases until the designated speeds FNI and FN2 are reached.

次に、指定速度FN2を維持しているブロックN2上で
次のブロックN3の始点Fが近づくと、指定速度FN2
上の点EからブロックN3の始点Fまでの間で減速が行
われる。この減速は加速の場合と同様に行われる。
Next, when the starting point F of the next block N3 approaches on block N2 maintaining the specified speed FN2, the specified speed FN2
Deceleration is performed between the upper point E and the starting point F of block N3. This deceleration is performed in the same way as acceleration.

即ち、ブロックN2の点Eの近傍では、所定の大きさの
マイナスの加速度になるまで徐々にマイナスの加速度の
絶対値が増大し、送り速度が徐々に小さくなり、指定速
度FN3に近づいてきたら、即ちブロックN3の始点F
の近傍では、送り速度が指定速度FN3に達するまで、
マイナスの加速度の絶対値は徐々に小さくなる。指定速
度FN3に到達後、ブロックN3上の点Gまでは指定速
度FN3が維持される。そして、ブロックN3上の点G
及びブロックN3の終点Hでも送り速度が指令速度FO
に達するまで、ブロックN2と同様の減速制御が行われ
る。
That is, in the vicinity of point E of block N2, the absolute value of the negative acceleration gradually increases until it reaches a predetermined magnitude of negative acceleration, and the feed rate gradually decreases until it approaches the designated speed FN3. That is, the starting point F of block N3
In the vicinity of , until the feed speed reaches the specified speed FN3,
The absolute value of negative acceleration gradually decreases. After reaching the designated speed FN3, the designated speed FN3 is maintained until point G on block N3. Then, point G on block N3
And even at the end point H of block N3, the feed speed is the command speed FO.
The same deceleration control as in block N2 is performed until reaching the block N2.

従って、ブロックN2上の点E及びブロックN3上の点
GFでは始めは小さなマイナスの加速度で減速が開始し
、その後所定のマイナスの加速度になるまで徐々にマイ
ナスの加速度は増加していく。即ち、加速度の絶対値が
大きくなっていく。
Therefore, at point E on block N2 and point GF on block N3, deceleration starts with a small negative acceleration, and then the negative acceleration gradually increases until it reaches a predetermined negative acceleration. That is, the absolute value of acceleration increases.

また、ブロックN3の始点F及びブロックN3の終点1
1の近傍では、指令速度FN3及びFOに到達するまで
所定のマイナスの加速度の絶対値が徐々に減少していく
Also, the starting point F of block N3 and the ending point 1 of block N3
In the vicinity of 1, the absolute value of the predetermined negative acceleration gradually decreases until the command speeds FN3 and FO are reached.

本実施例によれば、第5図の加減速制御のように加減速
の開始点及び終了点で急に加速度が変化しないので、補
間的加減速の際に機械系にショックを与えることはない
According to this embodiment, unlike the acceleration/deceleration control shown in FIG. 5, the acceleration does not suddenly change at the start and end points of acceleration/deceleration, so there is no shock to the mechanical system during interpolative acceleration/deceleration. .

本実施例の動作を図面を用いて説明する。第3図は本実
施例の送り速度制御方法のフローチャートを示す図であ
る。第4図は第1図の加速時の送り速度の詳細を示す図
であり、指令速度FOから指令速度FNIに加速する場
合を示す。
The operation of this embodiment will be explained using the drawings. FIG. 3 is a diagram showing a flowchart of the feed rate control method of this embodiment. FIG. 4 is a diagram showing details of the feed rate during acceleration in FIG. 1, and shows the case of accelerating from commanded speed FO to commanded speed FNI.

本実施例では、現在のブロックを補間中に次のブロック
を読み込む先読み補間的加減速を採用する。第1図のよ
うに、ブロックN1を補間中に、補間中のブロック(現
ブロック)Nlがら次のブロックN2に移る場合に、次
のブロックN2の指令速度FN2を予め読み込み、指令
速度FN2が指令速度FNIよりも大きいければ、現ブ
ロックN1の指令速度FNIをブロックN1の終点Cで
の目標送り速度とする。また、現ブロックN2から次の
ブロックN3に移る場合に、次のブロックN3の指令速
度FN3を予め読み込み、指令速度FN3が指令速度F
NIよりも小さければ、現ブロックN3の指令速度FN
3をブロックN2の終点Fでの目標送り速度とする。
This embodiment employs look-ahead interpolation acceleration/deceleration in which the next block is read while the current block is being interpolated. As shown in Fig. 1, when interpolating block N1 and moving from the block (current block) Nl being interpolated to the next block N2, the commanded speed FN2 of the next block N2 is read in advance, and the commanded speed FN2 is set to the commanded speed FN2. If the speed is greater than the speed FNI, the commanded speed FNI of the current block N1 is set as the target feed speed at the end point C of the block N1. In addition, when moving from the current block N2 to the next block N3, the command speed FN3 of the next block N3 is read in advance, and the command speed FN3 is changed to the command speed FN3.
If it is smaller than NI, the command speed FN of the current block N3
3 is the target feed rate at the end point F of block N2.

即ち、次のブロックの指令速度を予め読み込んで、次の
ブロックの指令速度が現ブロックの指令速度よりも小さ
い場合は、現ブロックの終点における目標送り速度を次
のブロックの指令速度とし、逆に次のブロックの指令速
度が現ブロックの指令速度よりも大きい場合は、現ブロ
ックの終点における目標送り速度をそのまま現ブロック
の指令速度とする。
That is, if the command speed of the next block is read in advance and the command speed of the next block is smaller than the command speed of the current block, the target feed speed at the end point of the current block is set as the command speed of the next block, and vice versa. If the commanded speed of the next block is greater than the commanded speed of the current block, the target feed speed at the end point of the current block is directly used as the commanded speed of the current block.

以上の先読み補間的加減速を前提として、本実施例の動
作を第3図のフローチャートに従って説明する。図にお
いて、Sに続く数値はステップ番号を示す。
On the premise of the above-mentioned pre-read interpolation acceleration/deceleration, the operation of this embodiment will be explained according to the flowchart of FIG. 3. In the figure, the number following S indicates the step number.

〔S1〕分配周期毎に、仮にすぐ減速に入ったとしても
現ブロックN1の終点Cでの目標指令速度FNIに達す
るのに必要な距離を減速距離Dkとし、実行中の現ブロ
ックN1の残りの距離Drとする。そして、残りの距離
Drと減速距離Dkとを比較し、残りの距離Drが減速
距離Dkより大きい場合はS2へ進み、小さい場合はS
7へ進む。
[S1] For each distribution cycle, the distance required to reach the target command speed FNI at the end point C of the current block N1 even if deceleration starts immediately is defined as the deceleration distance Dk, and the remaining distance of the current block N1 being executed is Let the distance be Dr. Then, the remaining distance Dr is compared with the deceleration distance Dk, and if the remaining distance Dr is larger than the deceleration distance Dk, the process proceeds to S2, and if it is smaller, the process proceeds to S2.
Proceed to step 7.

従って、ブロックN1の終点Cでの目標指令速度はFN
Iなので減速距離Dkはゼロとなり、S2に進む。これ
に対してブロックN2の場合は、その終点Fでの目標指
令速度がFN3なので、減速距離Dkの値と残りの距離
Drとの関係で加速動作又は減速動作を行うことになる
Therefore, the target command speed at the end point C of block N1 is FN
I, the deceleration distance Dk becomes zero, and the process proceeds to S2. On the other hand, in the case of block N2, the target command speed at the end point F is FN3, so the acceleration or deceleration operation is performed depending on the relationship between the value of the deceleration distance Dk and the remaining distance Dr.

[52)SlでDr>Dkの場合は、一つ前の分配周期
の加速度Ak−1に加速度変化量ΔAだけ増加した加速
度を、その分配周期での加速度Akとする。同時に、送
り速度も一つ前の分配周期の送り速度Fk−1に加速度
Akだけ増加して、その分配周期での送り速度Fkとす
る。即ち、第4図の分配周期TIでは、ブロックN1の
始点Aの一つ前の分配周期の加速度Ak−1がゼロであ
り、送り速度がFOであるから、加速度A1はΔAであ
り、送り速度F1はFO+ΔAである。従って、分配周
期T1からT6まではS2の処理が施され、83及びS
5の判定では「NO」の方向へ進み、そのまま終了(E
ND)L、加速度Akは加速度Δ1、A2、A3、A4
、A5の順に加速度変化量ΔAずつ増加する。
[52) When Dr>Dk in Sl, the acceleration obtained by increasing the acceleration Ak-1 of the previous distribution cycle by the acceleration change amount ΔA is set as the acceleration Ak in that distribution cycle. At the same time, the feed rate is also increased by the acceleration Ak to the feed rate Fk-1 of the previous distribution cycle, and is set as the feed rate Fk in that distribution cycle. That is, in the distribution cycle TI of FIG. 4, the acceleration Ak-1 of the distribution cycle immediately before the starting point A of the block N1 is zero and the feed rate is FO, so the acceleration A1 is ΔA and the feed rate is F1 is FO+ΔA. Therefore, the processing of S2 is performed from distribution period T1 to T6, and the processing of 83 and S
In the case of judgment 5, proceed in the direction of “NO” and exit as is (E
ND)L, acceleration Ak is acceleration Δ1, A2, A3, A4
, A5 increases by the acceleration change amount ΔA.

分配周期T6からT7までは次のステップ83及びS4
が処理される。
From distribution period T6 to T7, the next step 83 and S4
is processed.

[:S3]S2での加速度Akがパラメータ設定された
所定の加速度Aaより大きいかどうか比較する。加速度
Akが加速度Aaより大きい場合は、S4へ進み、小さ
い場合はS5へ進む。従って、分配周期T6では、S2
にて加速度Akが6×ΔAとなる。しかし、本実施例の
所定加速度Aaは5XΔAなので、S4へ進む。
[:S3] Compare whether the acceleration Ak in S2 is larger than a predetermined acceleration Aa set as a parameter. If the acceleration Ak is greater than the acceleration Aa, the process proceeds to S4, and if it is smaller, the process proceeds to S5. Therefore, in the distribution period T6, S2
The acceleration Ak becomes 6×ΔA. However, since the predetermined acceleration Aa in this embodiment is 5XΔA, the process advances to S4.

[54)S3で加速度Akが加速度Aaより大きいと判
定された場合に、加速度Akを一つ前の分配周期の加速
度Ak−1とし、送り速度Fkも一つ前の分配周期の送
り速度Fk−1にその加速度Akだけ増加した値にする
。従って、分配周期T6では、加速度Akが一つ前の分
配周期T5の加速度A5と同じ値(5×ΔA)となり、
送り速度Fkも一つ前の分配周期の送り速度Fk−1に
その加速度Ak (5xΔA)だけ増加した値になる。
[54) If it is determined in S3 that the acceleration Ak is greater than the acceleration Aa, the acceleration Ak is set to the acceleration Ak-1 of the previous distribution cycle, and the feed rate Fk is also set to the feed rate Fk- of the previous distribution cycle. 1 and increased by the acceleration Ak. Therefore, in the distribution period T6, the acceleration Ak has the same value (5×ΔA) as the acceleration A5 in the previous distribution period T5,
The feed rate Fk also becomes a value obtained by increasing the feed rate Fk-1 of the previous distribution cycle by the acceleration Ak (5xΔA).

以降、分配周期T6及びT7はS2、S3及びS4の処
理が施され、S5の判定ではrNOJの方向へ進み、そ
のまま終了(END)L、加速度Akは一定の加速度A
a (5XΔA)となる。
Thereafter, the distribution cycles T6 and T7 are processed in S2, S3, and S4, and in the judgment in S5, the process proceeds in the direction of rNOJ, and the process ends (END) L. The acceleration Ak is a constant acceleration A.
a (5XΔA).

分配周期T8からTllまでは次のステップS5及びS
6が処理される。
From the distribution period T8 to Tll, the next steps S5 and S
6 is processed.

〔S5〕現ブロックの指令速度Faから現在実行中の分
配周期の送り速度Fkを引いた値の絶対値1Fa−Fk
lと、所定加速度Aaを加速度変化量ΔAで除した値か
ら1引いた値n (=Aa/ΔΣi)とを比較する。
[S5] Absolute value 1Fa-Fk of the value obtained by subtracting the feed speed Fk of the currently executed distribution cycle from the command speed Fa of the current block
1 is compared with a value n (=Aa/ΔΣi) obtained by subtracting 1 from the value obtained by dividing the predetermined acceleration Aa by the acceleration change amount ΔA.

mn ここでは総和は10×ΔAである。比較結果が「YES
」の場合は、S6へ進み、rNOJ (7)場合は終了
する。従って、分配周期T8では、S2、S3及びS4
の処理によって、加速度Akは5XΔAであるが、S5
の判定では絶対値|Fa−Fk1の値、即ちIFNI−
F81の値が5XΔAであるからS6へ進む。
mn Here the sum is 10×ΔA. The comparison result is “YES”
”, the process proceeds to S6, and if rNOJ (7), the process ends. Therefore, in distribution period T8, S2, S3 and S4
As a result of the processing, the acceleration Ak is 5XΔA, but S5
In the determination of the absolute value |Fa−Fk1 value, that is, the value of IFNI−
Since the value of F81 is 5XΔA, the process advances to S6.

〔S6〕一つ前の分配周期の加速度Ak−1から加速度
変化量ΔAだけ減少した値をその分配周期での加速度A
kとする。同時に、送り速度も一つ前の分配周期の送り
速度Fk−1にその加速度Akだけ増加して、その分配
周期での送り速度Fkとする。従って、分配周期T8で
は、ステップS2、S3、S4及びS5の処理の結果、
加速度Akは5xΔAであるからS6の処理で加速度A
kは4×ΔAとなり、送り速度はFT+4XΔAとなる
。これ以降、分配周期T8からTllまではこのS6の
処理が施され、加速度Akは加速度へ8、A9、Al0
1Allの順に加速度変化量ΔAずつ減少し、ブロック
N1の終点Cでの目標指令速度FNIに達する。
[S6] The value obtained by decreasing the acceleration change amount ΔA from the acceleration Ak-1 of the previous distribution cycle is set as the acceleration A in that distribution cycle.
Let it be k. At the same time, the feed rate is also increased by the acceleration Ak to the feed rate Fk-1 of the previous distribution cycle, and is set as the feed rate Fk in that distribution cycle. Therefore, in the distribution cycle T8, as a result of the processing in steps S2, S3, S4, and S5,
Since the acceleration Ak is 5xΔA, the acceleration A is
k becomes 4×ΔA, and the feed rate becomes FT+4×ΔA. From now on, the process of S6 is performed from the distribution period T8 to Tll, and the acceleration Ak is changed to 8, A9, Al0.
The acceleration change amount ΔA decreases in the order of 1All, and reaches the target command speed FNI at the end point C of block N1.

上記S2から86までのステップは加速動作についての
処理であるが、後述するS7から312までのステップ
は減速動作についての処理である。
The steps from S2 to 86 described above are processes for acceleration operations, while the steps from S7 to 312, which will be described later, are processes for deceleration operations.

〔S7〕本ステップは、Slにおいて、残りの距離Dr
と減速距離Dkとを比較し、残りの距離Drが減速距離
Dkより小さいと判定された場合の処理である。即ち、
ブロックN2の始点Cから点りまではSlの判定がrY
EsJであるから、S2から86までの加速動作を実行
し、ブロックN2の点りから点Eまでは、指令速度FN
2を維持し、そして、点Eに近づき、残りの距離Drが
減速距離Dkよりも小さくなった場合の点Eから終点F
までに実行される処理である。
[S7] In this step, in Sl, the remaining distance Dr
This process is performed when the remaining distance Dr is determined to be smaller than the deceleration distance Dk. That is,
From the starting point C of block N2 to the point, the judgment of Sl is rY
Since EsJ, the acceleration operation from S2 to 86 is executed, and from the point of block N2 to point E, the command speed is FN.
2, and approaches point E, and from point E to end point F when the remaining distance Dr becomes smaller than the deceleration distance Dk.
This is the process that will be executed until

本ステップはS2とは逆に一つ前の分配周期の加速度A
k−1から加速度変化量ΔAだけ減少した加速度をその
分配周期での加速度Akとし、同時に、送り速度も一つ
前の分配周期の送り速度Fk−1に加速度Akをプラス
した値を、その分配周期での送り速度Fkとする。
In this step, contrary to S2, the acceleration A of the previous distribution cycle is
The acceleration decreased by the acceleration change amount ΔA from k-1 is defined as the acceleration Ak in that distribution cycle, and at the same time, the feed rate is also calculated by adding the acceleration Ak to the feed rate Fk-1 of the previous distribution cycle. Let the feed rate in the period be Fk.

〔S8〕S7で求めた加速度Akが正(プラス)の加速
度なのか、負(マイナス)の加速度なのかを判定し、プ
ラスの加速度の場合はそのまま終了し、マイナスの加速
度の場合はS9へ進む。即ち、第1図のブロックN2か
らブロックN3に移行する場合は、送り速度は指令速度
FN2から指令速度FN3まで減速するので、加速度A
kは必ず負(マイナス)の加速度である。しかし、ブロ
ックN2の間隔が短く、始点Cから点りに向かって加速
中に、ブロックの終点が近づいてきた場合は、加速中の
プラスの加速度を徐々に減少させ、加速度をゼロにし、
そこから徐々にマイナスの加速度で減速動作を行ってや
らなければならない。本ステップはこのような加速中に
減速する場合を想定している。従って、S7で求めた加
速度Akが正(プラス)の場合はそのまま終了し、プラ
スの加速度がゼロになるまで、S7の処理、即ち、加速
度Akから加速度変化量ΔAだけ減少させる動作を繰り
返す。
[S8] Determine whether the acceleration Ak obtained in S7 is a positive (plus) acceleration or a negative (minus) acceleration. If it is a positive acceleration, the process ends; if it is a negative acceleration, proceed to S9. . That is, when moving from block N2 to block N3 in FIG. 1, the feed rate is decelerated from commanded speed FN2 to commanded speed FN3, so acceleration A
k is always a negative acceleration. However, if the interval between blocks N2 is short and the end point of the block approaches while accelerating from the starting point C toward the point, the positive acceleration during acceleration is gradually reduced to zero,
From there, it is necessary to gradually decelerate with negative acceleration. This step assumes a case where the vehicle decelerates during such acceleration. Therefore, if the acceleration Ak determined in S7 is positive, the process ends and the process of S7, that is, the operation of decreasing the acceleration Ak by the acceleration change amount ΔA, is repeated until the positive acceleration becomes zero.

S7で求めた加速度Akがマイナスの加速度の場合はS
9から312までの処理を行う。
If the acceleration Ak obtained in S7 is a negative acceleration, S
Processes from 9 to 312 are performed.

[S9]37で求めたマイナスの加速度Akの絶対値が
パラメータ設定された所定の加速度Aaより大きいかど
うか比較する。マイナスの加速度Akの絶対値が加速度
Aaより大きい場合は、S10へ進み、小さい場合はS
llへ進む。
[S9] Compare whether the absolute value of the negative acceleration Ak obtained in step 37 is larger than a predetermined acceleration Aa set as a parameter. If the absolute value of the negative acceleration Ak is greater than the acceleration Aa, proceed to S10; if it is smaller, proceed to S10.
Proceed to ll.

[S10]S9でマイナスの加速度Akの絶対値が加速
度Aaより大きいと判定された場合に、マイナスの加速
度Akを一つ前の分配周期のマイナスの加速度Ak−1
とし、送り速度Fkも一つ前の分配周期の送り速度Fk
−1にマイナスの加速度をプラスした値、即ち、送り速
度Fk−1からそのマイナスの加速度Akの絶対値だけ
減少した値にする。
[S10] If it is determined in S9 that the absolute value of the negative acceleration Ak is greater than the acceleration Aa, the negative acceleration Ak is set to the negative acceleration Ak-1 of the previous distribution cycle.
The feed rate Fk is also the feed rate Fk of the previous distribution cycle.
-1 plus a negative acceleration, that is, a value that is reduced from the feed rate Fk-1 by the absolute value of the negative acceleration Ak.

[S11]現ブロックの指令速度Faから現在実行中の
分配周期の送り速度Fkを引いた値の絶対値|Fa−F
klと、所定加速度Aaを加速度変化量ΔAで除した値
から1引いた値n (=Aa/ΔA−1)の総和Σiに
、ΔAを乗じた値(ΔAL+れ ここでは総和はIOXΔAである。比較結果がrYEs
Jの場合は、S6へ進み、「NO」の場合は終了する。
[S11] Absolute value of the command speed Fa of the current block minus the feed speed Fk of the currently executed distribution cycle | Fa-F
kl and the sum Σi obtained by subtracting 1 from the value obtained by dividing the predetermined acceleration Aa by the acceleration change amount ΔA (=Aa/ΔA-1), multiplied by ΔA (ΔAL+here, the sum is IOXΔA). The comparison result is rYEs
In the case of J, the process proceeds to S6, and in the case of ``NO'', the process ends.

[312]一つ前の分配周期のマイナスの加速度Ak−
1から加速度変化量ΔAだけ増加した値をその分配周期
でのマイナスの加速度Akとする。
[312] Negative acceleration Ak- of the previous distribution cycle
The value increased by the acceleration change amount ΔA from 1 is defined as the negative acceleration Ak in that distribution cycle.

同時に、送り速度も一つ前の分配周期の送り速度Fk−
1にマイナスの加速度をプラスした値、即ち、送り速度
Fk−1からそのマイナスの加速度Akの絶対値だけ減
少した値をその分配周期での送り速度Fkとする。
At the same time, the feed rate is also changed to the feed rate Fk- of the previous distribution cycle.
A value obtained by adding a negative acceleration to 1, that is, a value obtained by decreasing the feed rate Fk-1 by the absolute value of the negative acceleration Ak, is set as the feed rate Fk in that distribution cycle.

以上の一連の処理によって、補間前加減速の際に機械系
にショックを与えることなく加減速を行なうことが可能
となる。
Through the above series of processes, it becomes possible to perform acceleration/deceleration without giving a shock to the mechanical system during pre-interpolation acceleration/deceleration.

上述の説明では、先読みするブロックの数を一つの場合
について説明したが、先読みするブロックの数を10〜
15ブロック程度に増やしてもよい。その場合、先読み
したブロックの指令速度が現ブロックの指令速度より小
さい場合は、その先読みしたブロックの指令速度を上述
のブロック終点での目標送り速度とし、先読みしたブロ
ックまでの距離の合計を上述の実行中の現ブロックN1
の残りの距離Drとして、Slの判定を行う。これによ
って、複数のブロックにまたがって減速処理を行うこと
ができる。
In the above explanation, the number of blocks to be read ahead is one, but the number of blocks to be read ahead is 10 to 10.
The number may be increased to about 15 blocks. In that case, if the commanded speed of the prefetched block is smaller than the commanded speed of the current block, the commanded speed of the prefetched block is set as the target feed rate at the end point of the block mentioned above, and the total distance to the prefetched block is calculated as described above. Current block N1 being executed
Sl is determined as the remaining distance Dr. This allows deceleration processing to be performed across multiple blocks.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、補間前加減速の際
に機械系にショックを与えることなく加工速度を決定す
ることができる。
As explained above, according to the present invention, the machining speed can be determined without giving a shock to the mechanical system during pre-interpolation acceleration/deceleration.

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

第1図は本発明の補間前に指令速度に加減速を行う送り
速度制御方法を示す図、 第2図は本発明の送り速度制御方法を実施するための数
値制御装置’(CNC)のハードウェアの構成を示す図
、 第3図は本実施例の送り速度制御方法のフローチャート
を示す図、 第4図は第1図の加速時の送り速度の詳細を示す図、 第5図は補間前に指令速度に直線形加減速を行う従来の
補関前直線形加減速を示す図である。 1− 2 13−・ 4 4a 5 プロセッサ OM AM 不揮発性メモリ 加ニブログラム PMC(プログラマブル・マシン ・コントローラ) シーケンスプログラム 表示装置 キーボード 軸t制御回路 サーボアンプ サーボモータ 5a 6a 7 8 9 0 1 22 3 5 ・−−バルスコーダ ・  入出力回路 −手動パルス発生器 −ノくス
Fig. 1 is a diagram showing the feed rate control method of the present invention that accelerates or decelerates the commanded speed before interpolation, and Fig. 2 is a diagram showing the hardware of a numerical controller' (CNC) for implementing the feed rate control method of the present invention. Figure 3 is a flowchart of the feed rate control method of this embodiment. Figure 4 is a diagram showing details of the feed rate during acceleration in Figure 1. Figure 5 is before interpolation. FIG. 3 is a diagram showing conventional linear acceleration/deceleration before interpolation in which linear acceleration/deceleration is performed to a command speed. 1-2 13-・4 4a 5 Processor OM AM Non-volatile memory Niprogram PMC (programmable machine controller) Sequence program display device Keyboard axis t control circuit Servo amplifier Servo motor 5a 6a 7 8 9 0 1 22 3 5 ・- -Valse coder/input/output circuit -Manual pulse generator-Nox

Claims (5)

【特許請求の範囲】[Claims] (1)第1ブロック始点での送り速度から前記第1ブロ
ック内の目標指令速度に加速し、前記第1ブロック内の
送り速度から前記第1ブロック終点での目標指令速度に
減速する加減速を補間前に行う数値制御装置の送り速度
制御方法において、前記第1ブロック始点での送り速度
から前記第1ブロック内の目標指令速度に加速する場合
は、所定の大きさのプラスの加速度になるまで徐々にプ
ラスの加速度を増加し、前記第1ブロック内の目標指令
速度に近づいてきたら前記プラスの加速度の大きさを徐
々に減少し、 前記第1ブロック内の送り速度から前記第1ブロック終
点での目標指令速度に減速する場合は、所定の大きさの
マイナスの加速度になるまで徐々にマイナスの加速度を
増加し、前記第1ブロック終点での目標指令速度に近づ
いてきたら前記マイナスの加速度の大きさを徐々に減少
することを特徴とする数値制御装置の送り速度制御方式
(1) Acceleration/deceleration to accelerate from the feed speed at the start point of the first block to the target command speed within the first block and decelerate from the feed speed within the first block to the target command speed at the end point of the first block. In a method for controlling the feed rate of a numerical control device performed before interpolation, when accelerating from the feed rate at the start point of the first block to the target command speed within the first block, the speed is increased until a positive acceleration of a predetermined magnitude is reached. Gradually increase the positive acceleration, and when it approaches the target command speed within the first block, gradually decrease the magnitude of the positive acceleration, and from the feed speed within the first block to the end point of the first block. When decelerating to the target command speed of A feed rate control method for a numerical control device that is characterized by gradually decreasing the speed.
(2)k回目の分配での送り速度をF_k、加速度をA
_kとし、分配周期毎の加速度の変化量をΔAとする時
に、前記分配周期毎に、前記A_kは、加速の場合はA
_k=A_k_−_1+ΔAとし、減速の場合はA_k
=A_k_−_1−ΔAとし、前記F_kは、F_k=
F_k_−_1+A_kとし、前記A_kの絶対値がパ
ラメータ設定された加速度A_aより大きくなったら、
前記A_k及びF_kをA_k=A_k_−_1、F_
k=F_k_−_1+A_kとし、前記第1ブロック内
の目標指令速度及び前記第1ブロック終点での目標指令
速度をFaとし、前記Faから現在実行中の分配周期の
送り速度Fkを引いた値の絶対値|Fa−Fk|が、所
定加速度Aaを加速度変化量ΔAで除した値から1引い
た値n(=Aa/ΔA−1)の総和▲数式、化学式、表
等があります▼に、ΔAを乗じた値(ΔA×▲数式、化
学式、表等があります▼)よりも小さくなった場場に、
前記A_kは、 加速の場合はA_k=A_k_−_1−ΔAとし、減速
の場合はA_k=A_k_−_1+ΔAとし、送り速度
F_kは、F_k=F_k_−_1+A_kとすること
を特徴とする特許請求の範囲第1項記載の数値制御装置
の送り速度制御方法。
(2) The feed rate at the kth distribution is F_k, and the acceleration is A
_k, and when the amount of change in acceleration for each distribution period is ΔA, for each distribution period, the above A_k is A in the case of acceleration.
_k=A_k_-_1+ΔA, and in case of deceleration, A_k
=A_k_-_1-ΔA, and the above F_k is F_k=
F_k_−_1+A_k, and when the absolute value of A_k becomes larger than the parameter-set acceleration A_a,
The above A_k and F_k are A_k=A_k_-_1, F_
k=F_k_-_1+A_k, the target command speed in the first block and the target command speed at the end point of the first block are Fa, and the absolute value of the value obtained by subtracting the feed speed Fk of the distribution cycle currently being executed from Fa. The value |Fa-Fk| is the sum of the value n (=Aa/ΔA-1) obtained by subtracting 1 from the value obtained by dividing the predetermined acceleration Aa by the acceleration change amount ΔA ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ ▼ If the value is smaller than the multiplied value (ΔA×▲mathematical formula, chemical formula, table, etc.▼),
The A_k is A_k=A_k_-_1-ΔA in the case of acceleration, A_k=A_k_-_1+ΔA in the case of deceleration, and the feed rate F_k is F_k=F_k_-_1+A_k. A feed rate control method for a numerical control device according to item 1.
(3)前記第1ブロックの次の第2ブロックの指令速度
を予め読み込んで、前記第2ブロックの指令速度が前記
第1ブロックの指令速度よりも小さい場合は、前記第1
ブロックの終点における目標指令速度を前記第2ブロッ
クの指令速度とし、逆に前記第2ブロックの指令速度が
前記第1ブロックの指令速度よりも大きい場合は、前記
第1ブロックの終点における目標指令速度をそのまま前
記第1ブロックの指令速度とすることを特徴とする特許
請求の範囲第1項記載の数値制御装置の送り速度制御方
法。
(3) Read in advance the commanded speed of the second block following the first block, and if the commanded speed of the second block is smaller than the commanded speed of the first block,
The target command speed at the end point of the block is the command speed of the second block, and conversely, if the command speed of the second block is greater than the command speed of the first block, the target command speed at the end point of the first block. 2. The method of controlling the feed speed of a numerical control device according to claim 1, wherein the command speed of the first block is directly used as the command speed of the first block.
(4)分配周期毎に、仮にすぐ減速に入ったとしても前
記第1ブロックの終点での目標指令速度に達するのに必
要な距離を減速距離と、実行中の前記第1ブロックの残
りの距離とを比較し、前記残りの距離が前記減速距離よ
り大きい場合は前記加速を実行し、前記残りの距離が前
記減速距離より小さい場合は前記減速を実行することを
特徴とする特許請求の範囲第1項記載の数値制御装置の
送り制御方法。
(4) For each distribution cycle, the distance required to reach the target command speed at the end point of the first block even if deceleration starts immediately is defined as the deceleration distance, and the remaining distance of the first block being executed. , and if the remaining distance is larger than the deceleration distance, the acceleration is performed, and if the remaining distance is smaller than the deceleration distance, the deceleration is performed. A feed control method for a numerical control device according to item 1.
(5)先読みしたブロックの指令速度が前記第1ブロッ
クの指令速度より小さい場合は、前記先読みしたブロッ
クの指令速度を前記第1ブロック終点での目標指令速度
とし、前記先読みしたブロックまでの距離の合計を前記
実行中の前記第1ブロックの残りの距離として、前記残
りの距離と前記減速距離との判定を行うことを特徴とす
る特許請求の範囲第3項記載の数値制御装置の送り速度
制御方法。
(5) If the commanded speed of the prefetched block is smaller than the commanded speed of the first block, the commanded speed of the prefetched block is set as the target commanded speed at the end point of the first block, and the distance to the prefetched block is Feed rate control of the numerical control device according to claim 3, characterized in that the remaining distance and the deceleration distance are determined by taking the total as the remaining distance of the first block being executed. Method.
JP29196589A 1989-11-09 1989-11-09 Feed speed control method for numerical controller Pending JPH03152604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29196589A JPH03152604A (en) 1989-11-09 1989-11-09 Feed speed control method for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29196589A JPH03152604A (en) 1989-11-09 1989-11-09 Feed speed control method for numerical controller

Publications (1)

Publication Number Publication Date
JPH03152604A true JPH03152604A (en) 1991-06-28

Family

ID=17775757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29196589A Pending JPH03152604A (en) 1989-11-09 1989-11-09 Feed speed control method for numerical controller

Country Status (1)

Country Link
JP (1) JPH03152604A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475602A (en) * 1992-10-15 1995-12-12 Fanuc Ltd. Acceleration constant switching apparatus
EP0740237A2 (en) * 1991-09-02 1996-10-30 Mitsubishi Denki Kabushiki Kaisha Numerical control unit
JP2018005304A (en) * 2016-06-27 2018-01-11 ファナック株式会社 Numerical control device dynamically switching time constant of acceleration/deceleration filter

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0740237A2 (en) * 1991-09-02 1996-10-30 Mitsubishi Denki Kabushiki Kaisha Numerical control unit
EP0740237A3 (en) * 1991-09-02 1996-12-04 Mitsubishi Electric Corp
US5475602A (en) * 1992-10-15 1995-12-12 Fanuc Ltd. Acceleration constant switching apparatus
JP2018005304A (en) * 2016-06-27 2018-01-11 ファナック株式会社 Numerical control device dynamically switching time constant of acceleration/deceleration filter
US10248103B2 (en) 2016-06-27 2019-04-02 Fanuc Corporation Numerical controller dynamically switching time constant for acceleration and deceleration filter

Similar Documents

Publication Publication Date Title
JP2742104B2 (en) Feed rate control method for numerical controller
EP0089156B1 (en) Method and apparatus for controlling acceleration and/or deceleration
JP4813616B1 (en) Numerical control device for machine tool having speed control function during arc motion
JPS6321922B2 (en)
US4894594A (en) Servo system speed control apparatus
JPS60198606A (en) Acceleration and deceleration system of numerical controller
WO1989006066A1 (en) Method of speed control for servomotor
JPH0926813A (en) Free curve interpolation system
JPS63123107A (en) Position control system
JPH03152604A (en) Feed speed control method for numerical controller
US5485069A (en) Numerical control apparatus
JPH02275505A (en) Reference point restoration system
JPH0752365B2 (en) Numerical control device
JPH07210225A (en) Numerical controller
JPH04245307A (en) Numerical controller and acceleration/deceleration control method
JPH0258106A (en) Accelerating/decelerating time constant control system
JP2628923B2 (en) Feed rate control method for numerical controller
JPS6015718A (en) Speed servo control method
JPH04100123A (en) Acceleration/deceleration time constant setting system for numerical controller
JPH0573128A (en) Feed rate control method for numerical controller
JPS60105012A (en) Feed control method for numerically controlled machine tool
KR930007595A (en) Linear interpolation method of industrial robot
JP2640467B2 (en) Numerical control unit
JPH0312711A (en) Position signal output system
JPH04259011A (en) Feed velocity control method