Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH071462B2 - Numerical control method - Google Patents
[go: Go Back, main page]

JPH071462B2 - Numerical control method - Google Patents

Numerical control method

Info

Publication number
JPH071462B2
JPH071462B2 JP14614686A JP14614686A JPH071462B2 JP H071462 B2 JPH071462 B2 JP H071462B2 JP 14614686 A JP14614686 A JP 14614686A JP 14614686 A JP14614686 A JP 14614686A JP H071462 B2 JPH071462 B2 JP H071462B2
Authority
JP
Japan
Prior art keywords
position deviation
actual
movement amount
deviation
cmd
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.)
Expired - Lifetime
Application number
JP14614686A
Other languages
Japanese (ja)
Other versions
JPS633318A (en
Inventor
光康 加知
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14614686A priority Critical patent/JPH071462B2/en
Publication of JPS633318A publication Critical patent/JPS633318A/en
Publication of JPH071462B2 publication Critical patent/JPH071462B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)
  • Feedback Control In General (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御方法に関し、特にサーボ電動機の過渡
的な位置を制御する位置制御における電動機の位置ルー
プゲイン制御に係るものである。
The present invention relates to a numerical control method, and more particularly to position loop gain control of a motor in position control for controlling a transient position of a servo motor.

〔従来の技術〕[Conventional technology]

第2図は従来の数値制御方法の概要を説明するためのブ
ロック図である。図において、符号(1)は単位時間当
りの移動量PCMDを指示する信号を出力する指令部、
(2)は反単位時間当たりの、検出された実移動距離Pf
Bを表す信号を出力する処理部、(3)は低域ゲイン補
償回路、(4)は位置ループゲインKPを設定する設定
部、(5)は検出された実速度VfBを表す信号を出力す
る処理部、(6)は電力増幅部(電流ループを含む)、
(7)はサーボ電動機、(8)位置及び速度を検出する
検出器である。
FIG. 2 is a block diagram for explaining the outline of the conventional numerical control method. In the figure, reference numeral (1) is a command unit that outputs a signal instructing the movement amount P CMD per unit time,
(2) is the detected actual movement distance Pf per unit time
A processing unit that outputs a signal representing B , (3) a low-frequency gain compensation circuit, (4) a setting unit that sets the position loop gain K P , and (5) a signal that represents the detected actual speed Vf B. A processing unit for outputting, (6) a power amplification unit (including a current loop),
(7) is a servomotor, and (8) is a detector for detecting position and speed.

次に動作について説明する。前記検出器(8)によりサ
ーボ電動機(7)の回転位置及び回転速度が検出され、
この検出信号は前記処理部(2),(5)に供給され
る。処理部(2)からは前記の実移動距離PfBを表す信
号が出力され、また処理部(5)からは前記の実速度Vf
Bを表す信号が出力される。前記処理部(5)からの実
速度VfBを表す信号と、前記設定部(4)により設定さ
れたループゲインKPとに基づいて電力増幅部(6)の出
力が制御され、該出力により前記のサーボ電動機(7)
が駆動される。
Next, the operation will be described. The detector (8) detects the rotational position and rotational speed of the servomotor (7),
This detection signal is supplied to the processing units (2) and (5). The processing unit (2) outputs a signal representing the actual movement distance Pf B, and the processing unit (5) outputs the actual speed Vf.
A signal representing B is output. The output of the power amplification section (6) is controlled based on the signal representing the actual speed Vf B from the processing section (5) and the loop gain K P set by the setting section (4). Servo electric motor (7)
Is driven.

一方、前記指令部(1)で指示された移動量PCMDを示す
信号と、前記処理部(2)から出力された実移動距離Pf
Bを示す信号とが演算され、これらの移動量PCMDと実移
動距離PfBの差が位置偏差(9)として算出される。こ
の位置偏差(9)を示す信号は前記の低域ゲイン補償回
路(3)に供給され、位置偏差(9)がある範囲以内の
小さい値の場合には、通常の場合よりも大きな値とし
て、ある定数倍されるように前記の設定部(4)の位置
ループゲインKPが上げられる。このようにゲインが上る
ことによって、微小指令時の応答も確実なものとなる。
On the other hand, a signal indicating the movement amount P CMD instructed by the command unit (1) and the actual movement distance Pf output from the processing unit (2).
The signal indicating B is calculated, and the difference between the movement amount P CMD and the actual movement distance Pf B is calculated as the position deviation (9). The signal indicating the position deviation (9) is supplied to the low-frequency gain compensating circuit (3), and if the position deviation (9) is a small value within a certain range, the value is larger than that in the normal case, The position loop gain K P of the setting unit (4) is increased so that it is multiplied by a certain constant. By increasing the gain in this way, the response at the time of a minute command becomes reliable.

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

従来の数値制御方法を適用した数値制御装置は以上のよ
うな構成のため、追従遅れの量を定量的に把握すること
が不可能で、例えば切削速度の変化に対する追従の遅れ
の変化に対応することができなく、また機械によるゲイ
ンの調整も多様化する等の問題があった。また、停止時
には、定常的に位置ループゲインが上がっているので、
機械的な振動を発生する恐れもあった。
Since the numerical control device to which the conventional numerical control method is applied is configured as described above, it is impossible to quantitatively grasp the amount of the follow-up delay, and for example, it corresponds to the change of the follow-up delay with respect to the change of the cutting speed. However, there is a problem in that the adjustment of the gain by the machine is diversified. Also, since the position loop gain is constantly increasing when stopped,
There was also a risk of mechanical vibration.

この発明は、上記のような問題点を解消するためになさ
れたもので、現在の追従遅れを定量的に把握することが
可能であり、追従遅れを目標の値に一致されることがで
きる数値制御方法を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to quantitatively grasp the current tracking delay, and the tracking delay can be matched with a target value. The purpose is to obtain a control method.

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

本発明に係る数値制御方法は、サーボ電動機の回転位置
及び回転速度を検出し、回転位置及び回転速度から実移
動量及び実速度を求め、指令移動量が与えられ、実移動
量及び指令移動量から位置偏差を求め、あらかじめ設定
された位置制御ループの位置ループゲイン及び指令移動
量から理論的位置偏差を逐次求め、位置偏差と理論的位
置偏差と差をあらかじめ設定された補正定数倍して位置
偏差に加算し、その加算された位置偏差に位置ループゲ
インを乗算し、その乗算された位置偏差及び実速度に基
いて前記サーボ電動機を制御し、位置偏差を理論的位置
偏差に追従させるようにしたものである。
A numerical control method according to the present invention detects a rotation position and a rotation speed of a servomotor, obtains an actual movement amount and an actual speed from the rotation position and the rotation speed, gives a command movement amount, and gives an actual movement amount and a command movement amount. The position deviation is obtained from the position deviation, the theoretical position deviation is sequentially obtained from the preset position control loop position loop gain and command movement amount, and the difference between the position deviation and the theoretical position deviation is multiplied by the preset correction constant to determine the position. A deviation is added, the added position deviation is multiplied by a position loop gain, and the servomotor is controlled based on the multiplied position deviation and the actual speed so that the position deviation follows the theoretical position deviation. It was done.

〔作用〕[Action]

本発明においては、与えられた指令移動量及び実移動量
から位置偏差が求められ、あらかじめ設定された位置制
御ループの位置ループゲイン及び指令移動量から理論的
位置偏差が逐次求められ、位置偏差と理論的位置偏差と
の差があらかじめ設定された補正定数倍され位置偏差に
加算され、その加算された位置偏差に位置ループゲイン
が乗算され、その乗算された位置偏差及び実速度に基い
て前記サーボ電動機が制御され、位置偏差が理論的位置
偏差に追従する。
In the present invention, the position deviation is obtained from the given command movement amount and the actual movement amount, the theoretical position deviation is sequentially obtained from the preset position control loop position loop gain and the command movement amount, and the position deviation The difference from the theoretical position deviation is multiplied by a preset correction constant and added to the position deviation, the added position deviation is multiplied by the position loop gain, and the servo is based on the multiplied position deviation and the actual speed. The motor is controlled and the position deviation follows the theoretical position deviation.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、第2図と同一符号は同一または相当部分を
示すので、その詳細な説明は省略する。符号(10)は位
置ループゲイン可変回路であり、(10a)は単位時間当
りの位置偏差モデル値DCMDを指示する信号を出力する指
令部、(10b)は補正定数値Kaを設定する設定部であ
る。
An embodiment of the present invention will be described below with reference to the drawings. First
In the figure, the same reference numerals as those in FIG. 2 indicate the same or corresponding portions, and thus detailed description thereof will be omitted. Reference numeral (10) is a position loop gain variable circuit, (10a) is a command unit that outputs a signal instructing the position deviation model value D CMD per unit time, and (10b) is a setting unit that sets the correction constant value Ka. Is.

前記処理部(5)からの実速度VfBを表する信号と、前
記設定部(4)により設定された位置ループゲインKP
基づいて電力増幅部(6)の出力が制御され、該出力に
より前記のサーボ電動機(7)が駆動される。
The output of the power amplification unit (6) is controlled based on the signal representing the actual speed Vf B from the processing unit (5) and the position loop gain K P set by the setting unit (4), and the output This drives the servomotor (7).

また、前記指令部(1)で指示された移動量PCMDを示す
信号と、前記処理部(2)から出力された実移動距離Pf
Bを示す信号とが演算され、これらの移動量PCMDと実移
動距離PfBの差が位置偏差(9)として算出される。こ
の実際の位置偏差(9)の値は前記位置ループゲインKP
と指令部(1)で指示された単位時間当りの移動量PCMD
によってほぼ決定される。
Also, a signal indicating the movement amount P CMD instructed by the command unit (1) and the actual movement distance Pf output from the processing unit (2).
The signal indicating B is calculated, and the difference between the movement amount P CMD and the actual movement distance Pf B is calculated as the position deviation (9). The value of this actual position deviation (9) is the position loop gain K P.
And the movement amount per unit time P CMD instructed by the command unit (1)
Almost determined by

微小な指示時には、検出器(8)の分解能、サーボ電動
機(7)の不感帯、電力増幅器(6)の不感帯(電流ル
ープゲインの応答限界を含む)等により、目標通りの前
記位置偏差(9)の値、即ち実位置偏差Dを追従できな
いときがある。また、前記した単位時間当りの位置偏差
モデル値、即ち理論的位置偏差DCMDは、式(1)で表さ
れる。
At the time of a minute instruction, the position deviation (9) as intended is caused by the resolution of the detector (8), the dead zone of the servomotor (7), the dead zone of the power amplifier (6) (including the response limit of the current loop gain), etc. In some cases, the value of, that is, the actual position deviation D cannot be tracked. Further, the above-mentioned position deviation model value per unit time, that is, the theoretical position deviation D CMD is expressed by the equation (1).

DCMD=PCMD/KP ………(1) この理論的位置偏差DCMDの値は移動量PCMDと同期して制
御系に与えられ、実位置偏差Dと理論位置偏差DCMDとの
差が前記の設定部(10b)で設定された補正定数値Ka倍
され、実位置偏差Dに加えられる。そして、この実位置
偏差Dと理論的位置偏差DCMDとの差の補正定数値Kaの値
が加えられた実位置偏差Dが位置ループゲインKPで乗算
され、この乗算された実位置偏差D及び実速度VfBに基
いて電力増幅部(6)の出力が制御され、サーボ電動機
(7)が駆動制御される。
D CMD = P CMD / K P ……… (1) The value of this theoretical position deviation D CMD is given to the control system in synchronization with the movement amount P CMD, and the actual position deviation D and the theoretical position deviation D CMD The difference is multiplied by the correction constant value Ka set by the setting section (10b) and added to the actual position deviation D. Then, the actual position deviation D to which the value of the correction constant value Ka of the difference between the actual position deviation D and the theoretical position deviation D CMD is added is multiplied by the position loop gain K P , and the multiplied actual position deviation D Also, the output of the power amplification section (6) is controlled based on the actual speed Vf B and the servomotor (7) is drive-controlled.

このような動作により、指令部(1)で指示された移動
量PCMDが微小な指令時等で、実位置偏差Dが理論的位置
偏差DCMDからずれているときは、実位置偏差Dを理論的
位置偏差DCMDに近づくように、実位置偏差Dに加えられ
る値が変化するようになり、実位置偏差Dが理論的位置
偏差DCMDに追従するようになっている。
By such an operation, when the actual position deviation D is deviated from the theoretical position deviation D CMD due to a minute command of the movement amount P CMD instructed by the command unit (1), the actual position deviation D is calculated. The value added to the actual position deviation D changes so as to approach the theoretical position deviation D CMD , and the actual position deviation D follows the theoretical position deviation D CMD .

また、この加算値は、Ka(D−DCMD)で表され、補正定
数値Kaは、実位置偏差Dを理論的位置偏差DCMDに近づけ
るための定数であり、補正定数値Kaの値を大きくするほ
どその効果が現れるものである。
The added value is represented by Ka (D-D CMD ), and the correction constant value Ka is a constant for bringing the actual position deviation D close to the theoretical position deviation D CMD , and the value of the correction constant value Ka is The larger the value, the more effective the effect.

実際の実位置偏差Dは、機械系に存在する摩擦等による
外乱により理想的な理論的位置偏差DCMDから誤差をもっ
て追従しているものであり、例えば、動く方向が反転す
るような場合、摩擦力を上まわるトルクを出すまでは一
時的に全く動かない時間が存在し、理論的位置偏差DCMD
から外れてしまうが、補正定数値Kaによる補正を加える
ことにより、実位置偏差Dを理論的位置偏差DCMDに近づ
けることができるようになる。
The actual actual position deviation D follows the ideal theoretical position deviation D CMD with an error due to disturbance due to friction existing in the mechanical system. For example, when the moving direction is reversed, the friction There is a moment when there is no movement at all until the torque exceeding the force is generated, and the theoretical position deviation D CMD
However, by adding the correction based on the correction constant value Ka, the actual position deviation D can be brought close to the theoretical position deviation D CMD .

しかし、補正定数値Kaの値を大きくしすぎると、機械振
動や騒音が発生するため、補正定数値Kaの適正値はこれ
らの発生しない上限値に設定することにより最大の効果
を得ることができる。
However, if the value of the correction constant value Ka is too large, mechanical vibration or noise occurs, so the optimum value of the correction constant value Ka can be set to the upper limit value at which these values do not occur to obtain the maximum effect. .

したがって、補正定数値Kaは機械毎にその機械特性に合
わせて設定値が決められ、設定部(10b)で設定される
ようになっている。
Therefore, the correction constant value Ka is set for each machine according to its mechanical characteristics, and is set by the setting section (10b).

また、上記変数の単位は全て、単位時間を1秒当りに換
算したものとする。また、位置ループゲインKPはパラメ
ータ的に管理可能なディジタル制御であることが望まし
い。
In addition, all the units of the above variables are calculated by converting the unit time per second. Further, it is desirable that the position loop gain K P is a digital control that can be controlled in terms of parameters.

〔発明の効果〕〔The invention's effect〕

以上のように、本発明によれば、与えられた指令移動量
及び実移動量から位置偏差を求め、あらかじめ設定され
た位置制御ループの位置ループゲイン及び指令移動量か
ら理論的位置偏差を逐次求め、位置偏差と理論的位置偏
差との差をあらかじめ設定された補正定数倍して位置偏
差に加算し、その加算された位置偏差に位置ループゲイ
ンを乗算し、その乗算された位置偏差及び実速度に基い
て前記サーボ電動機を制御し、位置偏差を理論的位置偏
差に追従させるようにしたので、速度の変化、機会の特
性に左右されることなく、また、指令移動量が微小なと
きでも位置偏差が理論的位置偏差に追従し、切削誤差を
極力小さくすることができ、精度の高い数値制御ができ
るという効果を有する。
As described above, according to the present invention, the position deviation is obtained from the given command movement amount and the actual movement amount, and the theoretical position deviation is sequentially obtained from the preset position control loop position loop gain and the command movement amount. , The difference between the position deviation and the theoretical position deviation is multiplied by a preset correction constant and added to the position deviation, the added position deviation is multiplied by the position loop gain, and the multiplied position deviation and actual speed Based on the above, the servo motor is controlled so that the position deviation follows the theoretical position deviation.Therefore, the position deviation does not depend on the characteristics of the speed change and the opportunity, and even when the command movement amount is minute, The deviation follows the theoretical position deviation, the cutting error can be minimized, and highly accurate numerical control can be performed.

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

第1図はこの発明の一実施例を示すものであり、数値制
御方法の概要を説明するためのブロック図、第2図は従
来の数値制御方法の概要を説明するためのブロック図で
ある。 図において、符号(6)電力増幅部、(7)はサーボ電
動機、(8)は検出器、(9)は位置偏差、(10)は位
置ループゲイン可変回路、(10a)は単位時間当りの位
置偏差モデル値を指示する信号を出力する指令部、(10
b)は補正定数値を設定する設定部である。 なお、各図中同一符号は同一又は相当部分を示すもので
ある。
FIG. 1 shows an embodiment of the present invention, and is a block diagram for explaining an outline of a numerical control method, and FIG. 2 is a block diagram for explaining an outline of a conventional numerical control method. In the figure, reference numeral (6) power amplifier, (7) servo motor, (8) detector, (9) position deviation, (10) position loop gain variable circuit, (10a) per unit time A command unit that outputs a signal indicating the position deviation model value, (10
b) is a setting unit for setting the correction constant value. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】サーボ電動機の回転位置及び回転速度を検
出し、前記回転位置及び回転速度から実移動量及び実速
度を求め、指令移動量が与えられ、前記実移動量及び前
記指令移動量から位置偏差を求め、あらかじめ設定され
た位置制御ループの位置ループゲイン及び前記指令移動
量から理論的位置偏差を逐次求め、前記位置偏差と前記
理論的位置偏差との差をあらかじめ設定された補正定数
倍して前記位置偏差に加算し、その加算された位置偏差
に前記位置ループゲインを乗算し、その乗算された位置
偏差及び前記実速度に基いて前記サーボ電動機を制御
し、前記位置偏差を前記理論的位置偏差に追従させるよ
うにしたことを特徴とする数値制御方法。
1. A rotation position and a rotation speed of a servomotor are detected, an actual movement amount and an actual speed are obtained from the rotation position and the rotation speed, a command movement amount is given, and the actual movement amount and the command movement amount are calculated. The position deviation is obtained, the theoretical position deviation is sequentially obtained from the position loop gain of the position control loop and the command movement amount set in advance, and the difference between the position deviation and the theoretical position deviation is set by a preset correction constant. Then, the position deviation is added to the position deviation, the added position deviation is multiplied by the position loop gain, the servo motor is controlled based on the multiplied position deviation and the actual speed, and the position deviation is calculated based on the theory. A numerical control method characterized in that it is made to follow a dynamic position deviation.
JP14614686A 1986-06-24 1986-06-24 Numerical control method Expired - Lifetime JPH071462B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14614686A JPH071462B2 (en) 1986-06-24 1986-06-24 Numerical control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14614686A JPH071462B2 (en) 1986-06-24 1986-06-24 Numerical control method

Publications (2)

Publication Number Publication Date
JPS633318A JPS633318A (en) 1988-01-08
JPH071462B2 true JPH071462B2 (en) 1995-01-11

Family

ID=15401177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14614686A Expired - Lifetime JPH071462B2 (en) 1986-06-24 1986-06-24 Numerical control method

Country Status (1)

Country Link
JP (1) JPH071462B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6671238B2 (en) * 2016-05-20 2020-03-25 Jfe物流株式会社 Moving body speed control method and apparatus

Also Published As

Publication number Publication date
JPS633318A (en) 1988-01-08

Similar Documents

Publication Publication Date Title
JP3129622B2 (en) Quadrant projection correction method in full closed loop system
EP0012620A2 (en) Closed loop type numerical-controlled machine tool
US5006770A (en) Servomotor velocity control apparatus
JPH0230522B2 (en)
US4695780A (en) Servomotor velocity control system
US4000449A (en) Electrical shaft system
EP0292574B1 (en) Numerical controller
US4605885A (en) Method of controlling rotation speed of motor
US4750104A (en) Method of and apparatus for tracking position error control
JPH03110607A (en) Servo motor control system
US4864209A (en) Negative feedback control system
JPH071462B2 (en) Numerical control method
JP3551762B2 (en) Motor control device
JP3308656B2 (en) Servo motor control method
JPH0475113A (en) Controller
JP2512727B2 (en) Servo controller
US6025684A (en) Servo-motor driving method
JP3269198B2 (en) Position control device
JP2740618B2 (en) Looper control device
JPH04100130A (en) Servo controller for motor
JPS62150409A (en) Speed control method in digital servo control
JPH01234136A (en) Shaft driving method for numerically controlled machine tool
KR920006163B1 (en) Current Control Digital Position Control Method
JP2626173B2 (en) Speed fluctuation suppression control method for induction motor
JPS636604A (en) Numerical control system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term