JPS62237509A - Forming method for control command data for numerical control - Google Patents

Forming method for control command data for numerical control

Info

Publication number
JPS62237509A
JPS62237509A JP8008886A JP8008886A JPS62237509A JP S62237509 A JPS62237509 A JP S62237509A JP 8008886 A JP8008886 A JP 8008886A JP 8008886 A JP8008886 A JP 8008886A JP S62237509 A JPS62237509 A JP S62237509A
Authority
JP
Japan
Prior art keywords
acceleration
command value
control command
interval clock
original
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
JP8008886A
Other languages
Japanese (ja)
Other versions
JPH07113850B2 (en
Inventor
Tadamasa Aoyama
青山 忠正
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.)
SAN ESU SHOKO CO Ltd
Original Assignee
SAN ESU SHOKO CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SAN ESU SHOKO CO Ltd filed Critical SAN ESU SHOKO CO Ltd
Priority to JP61080088A priority Critical patent/JPH07113850B2/en
Publication of JPS62237509A publication Critical patent/JPS62237509A/en
Publication of JPH07113850B2 publication Critical patent/JPH07113850B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To prevent a machine from being charged with overload due to unnatural acceleration/deceleration by previously inspecting whether a control command value is suitable or not, and when the command value is unsuitable, correcting the command value. CONSTITUTION:A numerical control device 1 executes the inputs, storage and output of control data, etc., for respective axes 6X, 6Y in every optional interval clock. Variation operating parts 10X, 10Y calculate the differences, i.e. variations, between acceleration values obtained by acceleration operating parts 9X, 9Y before and after each interval clock. Correct value operating parts 11X, 11Y calculate control command values corrected based on the variations and supply the calculated values to the device 1. Consequently, the distribution of pulses can be suitably executed and the machine side can be prevented from being charged with overload due to unnatural acceleration/deceleration.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は工作機械やロボット等に対する数値制御におけ
る制御指令データの生成方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for generating control command data in numerical control for machine tools, robots, etc.

〔従来の技術〕[Conventional technology]

従来の数値制御は、位置と速度を表わす制御指令値によ
りなされている。
Conventional numerical control is performed using control command values representing position and speed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

例えば、従来の速度制御は、予め選択されている制御ゲ
インにおいて、制御対象の現在位置に対応してパルス分
配を維持、変更することによりなされるが、このパルス
分配が機械側からみて適切であるか否かは、検討されて
いない。
For example, conventional speed control is performed by maintaining or changing pulse distribution in accordance with the current position of the controlled object at a preselected control gain, but this pulse distribution is appropriate from the machine's perspective. Whether or not this is the case has not been considered.

しかし乍ら、上記のパルス分配が不適切であると、機械
に振動を生じたり、応答特性が悪くなったりして、高速
、高精度の位置決め制御は実現出来ない。
However, if the pulse distribution described above is inappropriate, vibrations may occur in the machine or response characteristics may deteriorate, making it impossible to achieve high-speed, high-precision positioning control.

〔問題点を解決するための手段〕[Means for solving problems]

そこで1本発明では速度制御のための制御指令値が適切
なものであるかどうかを予め点検し、上記指令値が不適
切なものであるときは、制御指令値を補正する処理を行
い、適切な制御指令値に形成する方法を提供することを
目的としてなされたもので、その構成は、位置、速度を
表わす制御指令値(原指令値)から任意に設定可能なイ
ンターバルクロック毎の加速度を求めて上記インターバ
ルクロック毎の加速度の変化量を算出し、上記加速度の
変化量を小さくするため、上記インターバルクロック毎
の加速度を、a指令値又は原指令値にもとづいた加速度
2時間を含む原指令値についての許容値の範囲内におい
て別途に任意に設定可能なインターバルロック毎の加速
度ゼロを含む等加速度又は同方向に同率的に変化する加
速度に置き換え、この加速度にもとづいてもとの制御指
令値を補正し、これを制御指令データとすることを特徴
とするものである。
Therefore, in the present invention, it is checked in advance whether the control command value for speed control is appropriate, and if the command value is inappropriate, a process is performed to correct the control command value, and It was developed with the purpose of providing a method for forming control command values, and its structure is to calculate acceleration for each arbitrarily settable interval clock from control command values (original command values) representing position and velocity. The amount of change in acceleration for each interval clock is calculated, and in order to reduce the amount of change in acceleration, the acceleration for each interval clock is set to an original command value that includes the acceleration 2 hours based on the a command value or the original command value. Replace the original control command value with a constant acceleration including zero acceleration for each interval lock or an acceleration that changes at the same rate in the same direction, which can be separately set arbitrarily within the allowable value for . It is characterized in that it is corrected and used as control command data.

〔実施例〕〔Example〕

次に、本発明方法の実施例を説明する。 Next, examples of the method of the present invention will be described.

1は適宜コンピュータ等を主体に形成しまた数値制御装
置で、各軸の制御対象6X、、6Yの各軸について、制
御データの入力、格納、払出等を任意に設定可能なイン
ターバルロック毎に行うようになっている。
Reference numeral 1 is a numerical control device mainly composed of a computer or the like, and inputs, stores, and outputs control data for each of the controlled axes 6X, 6Y, etc. at each arbitrarily settable interval lock. It looks like this.

2は制御データをパルス信号、即ち、制御指令値で払出
すためのインターフェイス部で、指令値が指令パルス列
に整形されて各軸の備差カウンタ3X、3Yに供給され
る。このカウンタ3x、3Yに於ては、その出力がD/
A変換されてサーボドライブ回路4X、4Yに速度指令
として供給される。
Reference numeral 2 denotes an interface unit for outputting control data as a pulse signal, that is, a control command value, in which the command value is shaped into a command pulse train and supplied to the differential counters 3X and 3Y of each axis. In these counters 3x and 3Y, the output is D/
The signal is converted into A and supplied to the servo drive circuits 4X and 4Y as a speed command.

サーボドライブ回路4X、4Yは、各軸のサーボモータ
5X、5Yを駆動する。各軸のモータ5X、5Yの出力
はボールネジ等の伝動系を介してX軸のテーブル6X、
Y軸のテーブル6Yの移動。
Servo drive circuits 4X and 4Y drive servo motors 5X and 5Y for each axis. The output of the motors 5X and 5Y for each axis is transmitted to the X-axis table 6X and
Movement of table 6Y on the Y axis.

停止の駆動源として作動する。Acts as a stop driving source.

L記各軸のモータ5X、5Yには、各軸筋にタコジェネ
レータ7X、7Yやパルスジェネレータ8X、8Yが設
けてあり、各軸についての速度フィードバック信号Vx
、Vyや位置フィードバック信号Px、Pyが検出され
、上記のインターバルクロックと同タロツク毎に帰還デ
ータとして帰還させられるようになっている。
The motors 5X and 5Y for each axis in L are provided with tacho generators 7X and 7Y and pulse generators 8X and 8Y on each axis, and a speed feedback signal Vx for each axis.
, Vy and position feedback signals Px, Py are detected and fed back as feedback data every interval clock and taroch.

上記1〜8X、8YによりX、Yの2軸についてのフィ
ードバック制御による従来の数値制御方法を実行する制
御系の一例を構成する。
The above 1 to 8X and 8Y constitute an example of a control system that executes a conventional numerical control method using feedback control for the two axes X and Y.

本発明においては、上記従来の制御系において、各軸ご
との制御指令値から各軸について同じインターバルロッ
ク毎に加速度を求める。
In the present invention, in the conventional control system described above, acceleration is determined for each axis at the same interval lock from the control command value for each axis.

9X、9Yは、この加速度を求めるための演算部、IO
X、 IOYは上記加速度演算部で求められたインター
バルクロック毎における前後の加速度値の差、即ち、変
化量を算出する変化量演算部である9本発明では上記イ
ンターバルクロック毎の変化量を小さくするため、例え
ば、インターバルクロックを小さくすると共に加速度の
変化量を小さくし、この小さくしたインターバルクロッ
ク及び加速度の変化量において、位置、速度の制御指令
値を算出する。
9X and 9Y are calculation units and IOs for determining this acceleration.
X and IOY are change calculation units that calculate the difference between the previous and subsequent acceleration values for each interval clock determined by the acceleration calculation unit, that is, the amount of change.9 In the present invention, the amount of change for each interval clock is reduced. Therefore, for example, the interval clock is made smaller and the amount of change in acceleration is made smaller, and the position and velocity control command values are calculated using the smaller interval clock and the reduced amount of change in acceleration.

11X、 IIYは、この補正される制御指令値を算出
するための補正値演算部である。
11X and IIY are correction value calculation units for calculating the control command value to be corrected.

ここで、上記演算部LIX、 ILYにおける補正値は
Here, the correction values in the calculation units LIX and ILY are as follows.

位置、速度についての原指令値に許容される範囲内のも
のとして形成される。また、小さくしたインターバルク
ロックも、原指令値に基づいて許容さ胆る時間内におい
て細分化されたものである。
The original command values for position and velocity are within the allowable range. Furthermore, the reduced interval clock is also subdivided within the allowable time based on the original command value.

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

このように、位置、速度の原指令値から適宜のインター
バルクロック毎における加速度を算出し。
In this way, the acceleration at each appropriate interval clock is calculated from the original position and velocity command values.

この加速度の変化が小さくなるように許容範囲で新たな
インターバルクロック毎の加速度を算出し、これにもと
づいて原指令値を補正する新たな指令値形成して供給す
ると1機械側に無理な加、減速による負担をかけない。
If we calculate a new acceleration for each interval clock within the allowable range so that this change in acceleration is small, and then form a new command value to correct the original command value based on this and supply it, it will cause an unreasonable addition to one machine. No burden due to deceleration.

因に、従来は、制御指令値についてこの指令値によりも
たらされる加速度の変化、いわば加速度の揺れは全く検
討されていない。この加速度の揺れは機械の振動1位置
決め精度の低下をもたらし。
Incidentally, in the past, changes in acceleration caused by control command values, so to speak, fluctuations in acceleration have not been considered at all. This acceleration fluctuation causes vibration of the machine and a decrease in positioning accuracy.

高速、高精度の数値制御が実現困難な大きな要因である
This is a major reason why high-speed, high-precision numerical control is difficult to achieve.

また、加速度の変化が小さなインターバルクロック毎に
大きくならないようにできるから、速度変更の応答性が
高まる。
Furthermore, since changes in acceleration can be prevented from increasing with each small interval clock, the responsiveness of speed changes is improved.

上記実施例において、新たに生成される制御指令値は、
各軸の偏差カウンタ3X、3Yサ一ボドライブ回路4X
、4Yにおいて夫々の帰還データと比較演算されるから
、実施例はフィードバックループ制御系であるが、本発
明はオープンループ制御系に適用しても、上記実施例と
同等の効果が得られる。
In the above embodiment, the newly generated control command value is
Deviation counter for each axis 3X, 3Y servo drive circuit 4X
, 4Y are compared with the respective feedback data, so the embodiment is a feedback loop control system, but even if the present invention is applied to an open loop control system, the same effect as the above embodiment can be obtained.

また1本発明方法の実施に際して、制御系全体のゲイン
パラメータ、或は、サーボドライブ回路のゲインパラメ
ータをインターバルクロック毎に補正するようにしても
よい。このようにして制御効率を更に高めることができ
る。
Furthermore, when implementing the method of the present invention, the gain parameter of the entire control system or the gain parameter of the servo drive circuit may be corrected every interval clock. In this way, control efficiency can be further increased.

更には、原指令値に基づいて新たに算出されるインター
バルクロック毎の加速度を制御指令値とし、これをその
まま供給するようにしてもよい。
Furthermore, the acceleration for each interval clock newly calculated based on the original command value may be used as the control command value, and this may be supplied as is.

本発明は以上の通りであって、工作機械やロボット等の
数値制御方法としてきわめて有用である。
The present invention is as described above, and is extremely useful as a numerical control method for machine tools, robots, etc.

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

図は本発明方法を実施する制御系の一例のブロック図で
ある。 1・・・数値制御装置、2・・・インターフェイス部、
3X、3Y・・・偏差カウンタ、4X、4Y・・・サー
ボドライブ回路、5X、5Y・・・サーボモータ、6X
。 6Y・・・制御対象、7X、7Y・・・タコジェネレー
タ、8X、8Y・・・パルスジェネレータ、9X、9Y
・・・加速度演算部、IOX、 IOY・・・変化量演
算部、IIX。 lIY・・・補正値演算部
The figure is a block diagram of an example of a control system that implements the method of the present invention. 1... Numerical control device, 2... Interface section,
3X, 3Y...deviation counter, 4X, 4Y...servo drive circuit, 5X, 5Y...servo motor, 6X
. 6Y... Controlled object, 7X, 7Y... Tacho generator, 8X, 8Y... Pulse generator, 9X, 9Y
... Acceleration calculation section, IOX, IOY... Change amount calculation section, IIX. lIY...Correction value calculation section

Claims (1)

【特許請求の範囲】 1 位置、速度を表わす制御指令値(原指令値)から任
意に設定可能なインターバルクロック毎の加速度を求め
て上記インターバルクロック毎の加速度の変化量を算出
し、上記加速度の変化量を小さくするため、上記インタ
ーバルクロック毎の加速度を、原指令値又は原指令値に
もとづいた加速度、時間を含む原指令値についての許容
値の範囲内において別途に任意に設定可能なインターバ
ルロック毎の加速度ゼロを含む等加速度又は同方向に同
率的に変化する加速度に置き換え、この加速度にもとづ
いてもとの制御指令値を補正し、これを制御指令データ
とすることを特徴とする制御指令データの生成方法。 2 位置、速度を表わす制御指令値(原指令値)から任
意に設定可能なインターバルクロック毎の加速度を求め
て上記インターバルクロック毎の加速度の変化量を算出
し、上記加速度の変化量を小さくするため、上記インタ
ーバルクロック毎の加速度を、原指令値又は原指令値に
もとづいた加速度、時間を含む原指令値についての許容
値の範囲内において別途に任意に設定可能なインターバ
ルロック毎の加速度ゼロを含む等加速度又は同方向に同
率的に変化する加速度に置き換え、この加速度を制御指
令データとすることを特徴とする制御指令データの生成
方法。 3 制御指令データは、制御対象側から帰還される指令
値に対応した帰還データと比較演算されて補正される特
許請求の範囲の第1項又は第2項記載の制御指令データ
の生成方法。 4 制御指令値には制御系又はサーボドライブ回路の任
意に設定可能なインターバルクロック毎のゲインパラメ
ータを含む特許請求の範囲第1項から第3項記載のいず
れかの制御指令データの生成方法。
[Claims] 1. Obtain the acceleration for each interval clock that can be set arbitrarily from the control command value (original command value) representing the position and velocity, calculate the amount of change in acceleration for each interval clock, and calculate the change in the acceleration for each interval clock. In order to reduce the amount of change, the acceleration for each interval clock can be set separately as desired within the range of allowable values for the original command value, including the original command value or the acceleration and time based on the original command value. A control command characterized in that the original control command value is corrected based on this acceleration, and this is used as control command data. How the data is generated. 2. To reduce the amount of change in acceleration by calculating the amount of change in acceleration for each interval clock by finding the acceleration for each interval clock that can be arbitrarily set from the control command value (original command value) representing position and speed. , the acceleration for each interval clock is the original command value or the acceleration based on the original command value, including zero acceleration for each interval lock that can be separately set arbitrarily within the range of allowable values for the original command value including time. A method for generating control command data, characterized in that the acceleration is replaced with a constant acceleration or an acceleration that changes at the same rate in the same direction, and this acceleration is used as control command data. 3. A method for generating control command data according to claim 1 or 2, wherein the control command data is corrected by comparison with feedback data corresponding to a command value fed back from the controlled object side. 4. The method for generating control command data according to any one of claims 1 to 3, wherein the control command value includes a gain parameter for each interval clock that can be arbitrarily set for the control system or the servo drive circuit.
JP61080088A 1986-04-09 1986-04-09 Method of generating control command data for numerical control Expired - Lifetime JPH07113850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61080088A JPH07113850B2 (en) 1986-04-09 1986-04-09 Method of generating control command data for numerical control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61080088A JPH07113850B2 (en) 1986-04-09 1986-04-09 Method of generating control command data for numerical control

Publications (2)

Publication Number Publication Date
JPS62237509A true JPS62237509A (en) 1987-10-17
JPH07113850B2 JPH07113850B2 (en) 1995-12-06

Family

ID=13708443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61080088A Expired - Lifetime JPH07113850B2 (en) 1986-04-09 1986-04-09 Method of generating control command data for numerical control

Country Status (1)

Country Link
JP (1) JPH07113850B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622106A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Servocontrol device
JPS6037009A (en) * 1983-08-10 1985-02-26 Fujitsu Ltd Controller of articulated robot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622106A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Servocontrol device
JPS6037009A (en) * 1983-08-10 1985-02-26 Fujitsu Ltd Controller of articulated robot

Also Published As

Publication number Publication date
JPH07113850B2 (en) 1995-12-06

Similar Documents

Publication Publication Date Title
EP0012620A2 (en) Closed loop type numerical-controlled machine tool
KR20000057636A (en) Motor controller
JPS63274385A (en) Speed controller for servo-motor
US5394323A (en) Path error control system
JPS63229506A (en) Output system for axis speed
US5510996A (en) Method for determining auxiliary position-control parameters
JPS62237509A (en) Forming method for control command data for numerical control
JPH02178811A (en) Servo controller
JP2793804B2 (en) Pulse distribution method
JP2622833B2 (en) Numerical control method
JPH0392911A (en) Robot control method for sliding mode control
JPH03278108A (en) Follow-up control system between two servo-system
JPS62249208A (en) Generating method for control output command value in numerical control
JPS62217304A (en) Automatic controller
US4276792A (en) Method for continuous path control of a machine tool
JPS63157209A (en) Method and device for feed control of numerically controlled machine tool
JPH08328635A (en) Position control system
JPS58140813A (en) Position controlling system
JP3234308B2 (en) Control device for composite control system and control method for composite control system
JP3077145B2 (en) Multi-axis machine where each axis is composed of servo mechanism
JP2629758B2 (en) Trajectory correction method
JPS6368903A (en) Digital servo controller
JPS58214905A (en) Feedforward signal generating method of servo system
JPH0766291B2 (en) Linear time-series command signal generation method
JP2001100819A (en) Position driving control system and synchronizing/tuning position driving control method