JPH04169907A - Acceleration/deceleration control system - Google Patents

Acceleration/deceleration control system

Info

Publication number
JPH04169907A
JPH04169907A JP29637690A JP29637690A JPH04169907A JP H04169907 A JPH04169907 A JP H04169907A JP 29637690 A JP29637690 A JP 29637690A JP 29637690 A JP29637690 A JP 29637690A JP H04169907 A JPH04169907 A JP H04169907A
Authority
JP
Japan
Prior art keywords
speed
acceleration
deceleration
command
program
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
JP29637690A
Other languages
Japanese (ja)
Inventor
Koji Yamamuro
山室 幸二
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 JP29637690A priority Critical patent/JPH04169907A/en
Publication of JPH04169907A publication Critical patent/JPH04169907A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To always execute a working program while overlapping two blocks by detecting the command speed of a tool at the time of acceleration/ deceleration and comparing this speed with a reference speed to command the execution start of the next block. CONSTITUTION:A program executing means 2 executes a working program 1 while overlapping two continuous blocks. An interpolating means 3 distributes pulses of respective shafts based on speed command data outputted from the program executing means 2, and distributed pulses are supplied to an exponential acceleration/deceleration means 4a or/and a linear acceleration/deceleration means 4b. A command speed detecting means 6 detects a command speed FR outputted from the linear acceleration/deceleration means 4b, and an execution start command means 7 compares this speed FR with a reference speed Fx to command the execution start of the next block. Thus, the execution efficiency of the program is not degraded even if blocks of the working program are different in acceleration/deceleration type, and the working time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御装置の加減速制御方式に関し、特に工
具の指令速度をプログラム速度より直線的に、或いは指
数関数的に加減速する加減速制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an acceleration/deceleration control method for a numerical control device, and in particular to an acceleration/deceleration control method in which the commanded speed of a tool is accelerated or decelerated linearly or exponentially from a programmed speed. Regarding control method.

〔従来の技術] 工作機械の可動部などの工具を高速で移動すると、移動
の開始時、停止時にそれぞれショックが加わる。数値制
御装置では、機械可動部を滑らかに動かし、且つ加工精
度を保証する必要が有る。
[Prior Art] When a tool such as a movable part of a machine tool is moved at high speed, shocks are applied at the start and stop of the movement. In a numerical control device, it is necessary to move the mechanical movable parts smoothly and to guarantee machining accuracy.

そのため、指令速度を直線的に、或いは指数関数的に加
減速する方式が採用されている。
Therefore, a method is adopted in which the command speed is accelerated or decelerated linearly or exponentially.

直線加減速は、一般に早送り時に使用され、軸毎に加減
速時定数がパラメータによって設定される。また、指数
加減速は切削送り、ドライラン時に使用され、同じく加
減速時定数は軸毎にパラメータによって設定される。
Linear acceleration/deceleration is generally used during rapid forwarding, and acceleration/deceleration time constants are set for each axis by parameters. Further, exponential acceleration/deceleration is used during cutting feed and dry run, and similarly, acceleration/deceleration time constants are set by parameters for each axis.

そして従来では、直線加減速が連続するプログラムブロ
ックから指令された場合のみ、2つのブロックをオーバ
ラップして実行し、加工時間の短縮を図るようにしてい
た。
Conventionally, only when commands for linear acceleration/deceleration are issued from consecutive program blocks, two blocks are executed in an overlapping manner to reduce machining time.

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

しかし、連続する2つのプログラムブロック間において
、両ブロックの加減速タイプが異なる場合には、前者の
プログラムブロックによる指令パルスの分配が完了する
まで、次のプログラムブロックを実行できなかった。
However, when two successive program blocks have different acceleration/deceleration types, the next program block cannot be executed until the distribution of command pulses by the former program block is completed.

本発明はこのような点に鑑みてなされたものであり、ブ
ロック間の加減速タイプによらずに、常に加工プログラ
ムをオーバラップして実行できる加減速制御方式を提供
することを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to provide an acceleration/deceleration control method that can always execute machining programs in an overlapping manner, regardless of the type of acceleration/deceleration between blocks.

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

本発明では上記課題を解決するために、加工プログラム
をブロック毎に実行し、工具の指令速度を直線的に、或
いは指数関数的に加減速する加減速制御方式において、
前記加工プログラムの連続する2つのブロックをオーバ
ラップして実行するプログラム実行手段と、前記加減速
時の工具の指令速度を検出する速度検出手段と、前記速
度検出手段で検出された速度を基準速度と比較して次ブ
ロックの実行開始を指令する指令手段と、を有すること
を特徴とする加減速制御方式が、提供される。
In order to solve the above problems, the present invention uses an acceleration/deceleration control method in which a machining program is executed block by block and the commanded speed of the tool is accelerated or decelerated linearly or exponentially.
A program execution means for executing two consecutive blocks of the machining program in an overlapping manner; a speed detection means for detecting the commanded speed of the tool during acceleration/deceleration; and a speed detected by the speed detection means as a reference speed. An acceleration/deceleration control method is provided, comprising: command means for commanding the start of execution of the next block in comparison with the first block.

〔作用〕[Effect]

連続する2つのプログラムブロックの加減速タイプが異
なっていても、減速時にその速度がプログラム速度に対
して、決められた割合まで低下した時、次のブロックの
速度パルスの分配を開始する。
Even if the acceleration/deceleration types of two consecutive program blocks are different, when the speed decreases to a predetermined ratio with respect to the program speed during deceleration, distribution of speed pulses for the next block is started.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は本発明の加減速制御を実行するための数値制御
装置を示すブロック図である。加工プログラム1のCN
C指令は、所定の実行形式に変換され、プログラムブロ
ックごとにプログラム実行手段2に読み込まれる。この
プログラム実行手段2では、加工プログラムlの連続す
る2つのブロックをオーバラップして実行できる。プロ
グラム実行手段2は、更に補間手段3に接続されている
FIG. 1 is a block diagram showing a numerical control device for executing acceleration/deceleration control of the present invention. CN of machining program 1
The C command is converted into a predetermined execution format and read into the program execution means 2 program block by program block. This program execution means 2 can execute two consecutive blocks of the machining program 1 in an overlapping manner. The program execution means 2 is further connected to interpolation means 3.

この補間手段3はプログラム実行手段2から出力される
速度指令データに基づいて各軸のパルス分配を行う。こ
こでは、補間後の指令パルスが1軸分のみ出力されるも
のとして説明するが、通常は複数軸についての速度指令
が分配パルスとして出力される。
The interpolation means 3 distributes pulses to each axis based on speed command data output from the program execution means 2. Although the explanation here assumes that the interpolated command pulses are output for only one axis, normally speed commands for multiple axes are output as distributed pulses.

上記補間手段3は2つの加減速手段、即ち指数加減速手
段4aと直線加減速手段4bとに接続される。この補間
手段3から出力される分配パルスは、いずれか一方の、
或いは両方の加減速手段に供給される。更に2つの加減
速手段4a、4bの出力は、速度加算回路5に出力され
ている。
The interpolation means 3 is connected to two acceleration/deceleration means, namely, an exponential acceleration/deceleration means 4a and a linear acceleration/deceleration means 4b. The distribution pulse output from this interpolation means 3 is either one of the
Alternatively, it is supplied to both acceleration/deceleration means. Further, the outputs of the two acceleration/deceleration means 4a and 4b are outputted to a speed adding circuit 5.

指令速度検出手段6は、上記直線加減速手段4bから出
力される指令速度PRを検出する。この指令速度検出手
段6は、検出した指令速度FRに基づいて演算した速度
信号V1を実行開始指令手段7に出力している。実行開
始指令手段7は、指令速度検出手段6で検出された速度
PRを基準速度Fxと比較して次ブロックの実行開始を
指令する。ここには、基準速度Fxを与えるためのパラ
メータ記憶手段8が接続されている。
The command speed detection means 6 detects the command speed PR output from the linear acceleration/deceleration means 4b. The command speed detection means 6 outputs a speed signal V1 calculated based on the detected command speed FR to the execution start command means 7. The execution start command means 7 compares the speed PR detected by the command speed detection means 6 with the reference speed Fx and commands the start of execution of the next block. A parameter storage means 8 for providing a reference speed Fx is connected here.

また、上記速度加算回路5はサーボ制御部9と接続され
、このサーボ制御部9から工具を駆動するためのサーボ
モータ10に対する速度が指令される。
Further, the speed adding circuit 5 is connected to a servo control section 9, and the servo control section 9 commands a speed to a servo motor 10 for driving the tool.

第2図は上記補間手段3より直線加減速手段4bに補間
後の指令速度FRrnaxが与えられたときの、加減速
後の速度PRを示している。加速時定数、減速時定数と
もにTRと等しく設定されている。自動加減速の場合に
は、1毎の加減速時定数としてパラメータ設定しておけ
ば、プログラムによって指令する必要はない。
FIG. 2 shows the speed PR after acceleration/deceleration when the interpolated command speed FRrnax is given to the linear acceleration/deceleration means 4b by the interpolation means 3. Both the acceleration time constant and the deceleration time constant are set equal to TR. In the case of automatic acceleration/deceleration, if a parameter is set as an acceleration/deceleration time constant of 1, there is no need to issue a command using a program.

第3図は、切削送りやドライランのときの速度指令に対
する指数加減速曲線の一例を示している。
FIG. 3 shows an example of an exponential acceleration/deceleration curve with respect to a speed command during cutting feed or dry run.

第1図の指数加減速手段4aに補間手段3より指令速度
Fcが与えられると、パラメータ設定されている加減速
時定数TCで曲線FCが立ち上がり、同じ時定数TCで
立ち下がる。いずれの加減速手段4a、4bも、移動開
始時と移動終了時に工具等の可動部を滑らかに起動し且
つ停止させることができる。
When a command speed Fc is given from the interpolation means 3 to the exponential acceleration/deceleration means 4a in FIG. 1, the curve FC rises with the parameter-set acceleration/deceleration time constant TC and falls with the same time constant TC. Both acceleration/deceleration means 4a and 4b can smoothly start and stop movable parts such as tools at the start and end of movement.

第4図は加工プログラムの連続する2つのブロックをオ
ーバラップして実行したときの速度曲線の一例である。
FIG. 4 is an example of a speed curve when two consecutive blocks of a machining program are executed in an overlapping manner.

先行するプログラムブロックの直線加減速指令に基づい
て、第1の速度FRが決定される。後行するブロックは
指数加減速を指令している。そして先行する直線加減速
における減速時間内の時刻t1に、指数加減速ブロック
の実行が開始される。
The first speed FR is determined based on the linear acceleration/deceleration command of the preceding program block. The following block commands exponential acceleration/deceleration. Then, at time t1 within the deceleration time in the preceding linear acceleration/deceleration, execution of the exponential acceleration/deceleration block is started.

即ち、指数加減速指令に基づいて時刻tl後に、第2の
速度FCが決定される。2つのプログラムブロックがオ
ーバラップして実行される過渡的な期間には、第1の速
度FRと第2の速度FCが加算して出力される。したが
って、加工プログラムの各ブロックの指令を総合し、本
来指定された移動距離を変えずに、加工時間の短縮を図
ることができる。
That is, the second speed FC is determined after time tl based on the exponential acceleration/deceleration command. During a transient period in which two program blocks are executed in an overlapping manner, the first speed FR and the second speed FC are added together and output. Therefore, by integrating the commands of each block of the machining program, it is possible to shorten the machining time without changing the originally designated moving distance.

なお、加工プログラムの実行に先立って、第1の速度P
Rの減速の割合をパラメータ記憶手段に設定し、その設
定値によって決定される基準速度Fxから時刻t1が決
定される。
Note that, prior to execution of the machining program, the first speed P
The rate of deceleration of R is set in the parameter storage means, and time t1 is determined from the reference speed Fx determined by the set value.

第5図は本発明の加減速制御の一例を示す制御フローチ
ャートである。図において、Sに続く数値はステップ番
号を示す。
FIG. 5 is a control flowchart showing an example of acceleration/deceleration control of the present invention. In the figure, the number following S indicates the step number.

〔S1〕補聞手段3より出力された補間後の速度を直線
加減速制御して、速度パルスを出力する。
[S1] The interpolated speed output from the interpolation means 3 is subjected to linear acceleration/deceleration control, and a speed pulse is output.

〔S2〕先行するブロックの速度指令が直線的な減速領
域になると、その速度FRを基準速度Fxと比較する。
[S2] When the speed command of the preceding block falls into a linear deceleration region, its speed FR is compared with the reference speed Fx.

基準速度Fxまで減速されたとき、即ちFx≧PRにな
ったとき、次の83に進む。
When the speed is reduced to the reference speed Fx, that is, when Fx≧PR, the process proceeds to the next step 83.

〔S3〕次のプログラムブロックで指令された指数加減
速指令を実行する。すなわち、直線加減速指令を格納し
ているレジスタとは別のレジスタを備えた指数加減速手
段4aから、第2の速度パルスが出力される。
[S3] Execute the exponential acceleration/deceleration command instructed in the next program block. That is, the second speed pulse is output from the exponential acceleration/deceleration means 4a, which has a register different from the register storing the linear acceleration/deceleration command.

〔S4〕上記ステツプS1、S3で出力される2つの速
度パルスを加算する。
[S4] Add the two speed pulses output in steps S1 and S3 above.

〔S5〕上記ステツプS1では先行するブロックの指令
する第1の速度パルスPRが出力されているので、速度
指令としては速度パルスFR又は(PR+FC)がサー
ボ制御部9に出力される。
[S5] In step S1, the first speed pulse PR commanded by the preceding block has been output, so the speed pulse FR or (PR+FC) is output to the servo control section 9 as the speed command.

以上の説明は、先行するブロックの速度指令が直線加減
速の場合であって、これによって早送りから切削制御に
移行する時の加工効率が高められる。逆に、指数加減速
から直線加減速に移行するプログラムブロックについて
も、同様に適用でき、その場合の加工効率を高めること
もできる。
The above explanation is for the case where the speed command of the preceding block is linear acceleration/deceleration, and thereby the machining efficiency is increased when transitioning from rapid feed to cutting control. Conversely, the same can be applied to a program block that transitions from exponential acceleration/deceleration to linear acceleration/deceleration, and machining efficiency in that case can also be improved.

また、基準速度Fxは減速後の移動量に応じて決定する
ようにしても良い。
Further, the reference speed Fx may be determined according to the amount of movement after deceleration.

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

以上説明したように本発明では、2つの連続するブロッ
ク間で加工プログラムをオーバラップして実行する機能
を持つ数値制御装置に適用すれば、加工プログラムのブ
ロック毎に、加減速タイプが違っていても、プログラム
の実行効率が低下しないため、加工時間を短縮できる。
As explained above, if the present invention is applied to a numerical control device that has the function of overlapping and executing a machining program between two consecutive blocks, the acceleration/deceleration type will be different for each block of the machining program. However, since the program execution efficiency does not decrease, machining time can be shortened.

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

第1図は本発明の加減速制御を実行するための数値制御
装置を示すブロック図、 第2図は直線加減速手段による加減速後の速度曲線を示
す図、 第3図は指数加減速曲線の一例を示す図、第4図は連続
する2つのブロックをオーバラップして実行したときの
速度曲線の一例を示す図、第5図は本発明の加減速制御
の一例を示す制御フローチャートである。 2   プログラム実行手段 3   補間手段 4a   指数加減速手段 4b   直線加減速手段 5   速度加算回路 6   指令速度検出手段 7〜  実行開始指令手段 8   パラメータ記憶手段 特許出願人  ファナック株式会社 第5図
Figure 1 is a block diagram showing a numerical control device for executing acceleration/deceleration control of the present invention, Figure 2 is a diagram showing a speed curve after acceleration/deceleration by the linear acceleration/deceleration means, and Figure 3 is an exponential acceleration/deceleration curve. FIG. 4 is a diagram showing an example of a speed curve when two consecutive blocks are executed in an overlapping manner. FIG. 5 is a control flowchart showing an example of acceleration/deceleration control of the present invention. . 2 Program execution means 3 Interpolation means 4a Exponential acceleration/deceleration means 4b Linear acceleration/deceleration means 5 Speed addition circuit 6 Command speed detection means 7 to execution start command means 8 Parameter storage means Patent applicant FANUC Corporation Fig. 5

Claims (3)

【特許請求の範囲】[Claims] (1)加工プログラムをブロック毎に実行し、工具の指
令速度を直線的に、或いは指数関数的に加減速する加減
速制御方式において、 前記加工プログラムの連続する2つのブロックをオーバ
ラップして実行するプログラム実行手段と、 前記加減速時の工具の指令速度を検出する速度検出手段
と、 前記速度検出手段で検出された速度を基準速度と比較し
て次ブロックの実行開始を指令する指令手段と、 を有することを特徴とする加減速制御方式。
(1) In an acceleration/deceleration control method in which a machining program is executed block by block and the command speed of the tool is accelerated or decelerated linearly or exponentially, two consecutive blocks of the machining program are executed in an overlapping manner. A speed detection means for detecting a commanded speed of the tool during the acceleration/deceleration, and a command means for comparing the speed detected by the speed detection means with a reference speed and commanding the start of execution of the next block. An acceleration/deceleration control method characterized by having the following.
(2)加工プログラムを実行して工具の指令速度を決定
する数値制御装置の加減速制御方式において、 前記数値制御装置で実行されたプログラムブロック内の
直線加減速指令に基づいて第1の速度を決定し、 前記第1の速度が所定の割合まで減速されたことを検知
して、前記プログラムブロックに続くプログラムブロッ
ク内の指数加減速を指令し、前記指数加減速指令に基づ
いて決定された第2の速度と、前記第1の速度とを加算
して出力することを特徴とする加減速制御方式。
(2) In an acceleration/deceleration control method of a numerical control device that executes a machining program to determine a command speed of a tool, the first speed is determined based on a linear acceleration/deceleration command in a program block executed by the numerical control device. determining, detecting that the first speed has been decelerated to a predetermined rate, and commanding exponential acceleration/deceleration in a program block following the program block; An acceleration/deceleration control method characterized in that the second speed and the first speed are added together and output.
(3)前記第1の速度の減速割合を、前記加工プログラ
ムの実行に先立ってパラメータに設定しておくことを特
徴とする請求項2記載の加減速制御方式。
(3) The acceleration/deceleration control method according to claim 2, wherein the deceleration rate of the first speed is set as a parameter prior to execution of the machining program.
JP29637690A 1990-11-01 1990-11-01 Acceleration/deceleration control system Pending JPH04169907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29637690A JPH04169907A (en) 1990-11-01 1990-11-01 Acceleration/deceleration control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29637690A JPH04169907A (en) 1990-11-01 1990-11-01 Acceleration/deceleration control system

Publications (1)

Publication Number Publication Date
JPH04169907A true JPH04169907A (en) 1992-06-17

Family

ID=17832751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29637690A Pending JPH04169907A (en) 1990-11-01 1990-11-01 Acceleration/deceleration control system

Country Status (1)

Country Link
JP (1) JPH04169907A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06180605A (en) * 1992-10-16 1994-06-28 Makino Milling Mach Co Ltd Fast feeding control method and device for machine tool
JPWO2002077729A1 (en) * 2001-03-27 2004-07-15 株式会社テクノウェイブ Multi-axis machine and motor control method
DE102015012973A1 (en) 2014-10-14 2016-04-14 Fanuc Corporation Numerical controller with overlap function between arbitrary blocks by a common acceleration / deceleration control unit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06180605A (en) * 1992-10-16 1994-06-28 Makino Milling Mach Co Ltd Fast feeding control method and device for machine tool
JPWO2002077729A1 (en) * 2001-03-27 2004-07-15 株式会社テクノウェイブ Multi-axis machine and motor control method
DE102015012973A1 (en) 2014-10-14 2016-04-14 Fanuc Corporation Numerical controller with overlap function between arbitrary blocks by a common acceleration / deceleration control unit
CN105511407A (en) * 2014-10-14 2016-04-20 发那科株式会社 Numerical controller
CN105511407B (en) * 2014-10-14 2018-01-12 发那科株式会社 Numerical control device
US10514681B2 (en) 2014-10-14 2019-12-24 Fanuc Corporation Numerical controller including overlap function between arbitrary blocks by common acceleration/deceleration control unit
DE102015012973B4 (en) 2014-10-14 2022-08-11 Fanuc Corporation Numerical controller with overlap function between arbitrary blocks by common acceleration/deceleration controller

Similar Documents

Publication Publication Date Title
US4728872A (en) Robot path error correction system
US6920363B2 (en) Acceleration and deceleration control method
EP0299080B1 (en) Speed controller in a servo system
EP0357778B1 (en) Method of speed control for servomotor
US4535408A (en) Numerical control machining method and apparatus
US5218281A (en) Acceleration/deceleration control method for a numerical control device
US5150306A (en) Cutting tool stop-control apparatus
JPH04169907A (en) Acceleration/deceleration control system
US9983570B2 (en) Multiple system numerical control device
US5485069A (en) Numerical control apparatus
JP2724647B2 (en) Feed rate control method in numerical control
JPH07191728A (en) Method and device for controlling feed rate in numerical control
JP4599750B2 (en) Numerical control method and apparatus
JP3219195B2 (en) Feed rate control method in numerical control
JPH0240701A (en) Block overlap system
JP2925414B2 (en) Speed control method and apparatus for numerically controlled machine tool
EP0328665B1 (en) Numerical controller
JP2000231412A (en) In-position check method and device therefor
JP2584225B2 (en) Numerical control unit
JPS6063605A (en) Numerical controller with composite skipping function
US4584509A (en) Method of discriminating present position region of a machine
JPH0643929A (en) Method for controlling feed speed of numerical control
JP3188396B2 (en) Feed rate control method and apparatus in numerical control
JPH0695720A (en) Numerical control system
JPH0573127A (en) Feed rate control method for numerical controller