JPH10228319A - Controller for motor - Google Patents
Controller for motorInfo
- Publication number
- JPH10228319A JPH10228319A JP9031851A JP3185197A JPH10228319A JP H10228319 A JPH10228319 A JP H10228319A JP 9031851 A JP9031851 A JP 9031851A JP 3185197 A JP3185197 A JP 3185197A JP H10228319 A JPH10228319 A JP H10228319A
- Authority
- JP
- Japan
- Prior art keywords
- motor
- pulses
- speed
- correction
- signal
- 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
Links
Landscapes
- Control Of Electric Motors In General (AREA)
- Control Of Position Or Direction (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、位置制御ループと
速度制御ループを用いてモータの回転位置と回転速度を
フィードバック制御するモータの制御装置に関するもの
である。更に詳しくは、位置決め精度を向上させるため
の改良を施したモータの制御装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device for performing feedback control of the rotational position and rotational speed of a motor using a position control loop and a speed control loop. More particularly, the present invention relates to a motor control device improved to improve positioning accuracy.
【0002】[0002]
【従来の技術】ロボットアームの動きを制御するモーシ
ョンシステムでは、ロボットアームの駆動用モータの回
転位置のフィードバック制御はモーションコントローラ
が担い、回転速度のフィードバック制御はサーボドライ
バが担う構成になったものがある。このようなモーショ
ンシステムにはモータの制御装置が搭載されている。2. Description of the Related Art In a motion system for controlling the movement of a robot arm, feedback control of the rotational position of a motor for driving the robot arm is performed by a motion controller, and feedback control of the rotational speed is performed by a servo driver. is there. Such a motion system is equipped with a motor control device.
【0003】図3はこの種のモータの制御装置の従来に
おける構成例を示した図である。図3のMの部分がモー
ションコントローラ、Sの部分がサーボドライバであ
る。FIG. 3 is a diagram showing a conventional configuration example of a motor control device of this kind. 3 is a motion controller, and S is a servo driver.
【0004】図3で、1は制御対象であるモータ、2は
モータ1の現在の回転位置をパルス数で与える現在位置
パルスを出力するエンコーダ、3は現在位置パルスの周
波数をもとにモータ1の現在の回転速度をアナログ電圧
で与える現在速度信号を出力するF/V変換器である。
4は目標位置を与える指令位置パルスと現在位置パルス
のパルス数の偏差をとる減算器、5は減算器4でとった
偏差をもとに、比例制御によりモータの回転位置をフィ
ードバック制御するための制御信号をアナログ電圧信号
で出力する位置制御部である。6は位置制御部6の制御
信号とF/V変換器3の現在速度信号のアナログ電圧の
偏差をとる減算器である。7は減算器6でとった偏差を
もとに、モータの回転速度をフィードバック制御するた
めの制御信号を出力する速度制御部、8は速度制御部7
が出力した制御信号をもとにモータ1を駆動する駆動回
路である。In FIG. 3, 1 is a motor to be controlled, 2 is an encoder for outputting a current position pulse which gives the current rotational position of the motor 1 by the number of pulses, and 3 is a motor 1 based on the frequency of the current position pulse. This is an F / V converter that outputs a current speed signal that gives the current rotation speed of the device as an analog voltage.
Reference numeral 4 denotes a subtractor for calculating a deviation between the number of pulses between the command position pulse for providing the target position and the current position pulse. It is a position control unit that outputs a control signal as an analog voltage signal. Reference numeral 6 denotes a subtractor for calculating a deviation between the control signal of the position control unit 6 and the analog voltage of the current speed signal of the F / V converter 3. Reference numeral 7 denotes a speed control unit that outputs a control signal for feedback-controlling the rotation speed of the motor based on the deviation obtained by the subtractor 6, and 8 denotes a speed control unit.
Is a drive circuit that drives the motor 1 based on the control signal output by the control circuit.
【0005】図4は図3のモーションコントローラMの
ボード線図である。図4で、Kpは位置制御部5の比例
ゲインである。モーションコントローラMは、(指令位
置パルスと現在位置パルスのパルス数の偏差)×Kpに
応じたアナログ電圧を出力する。FIG. 4 is a Bode diagram of the motion controller M of FIG. In FIG. 4, Kp is a proportional gain of the position control unit 5. The motion controller M outputs an analog voltage corresponding to (deviation between the number of pulses between the command position pulse and the current position pulse) × Kp.
【0006】図3のモータの制御装置では、温度変化や
調整不足等により、モーションコントローラMのアナロ
グ出力電圧とサーボドライバSのアナログ入力電圧との
間にオフセット電圧が生じると、オフセット電圧の分だ
けモータが回転し、指令位置パルスと現在位置パルスの
パルス数に偏差が生じる。この偏差を定常偏差とする。
モーションコントローラMがモータを停止させようとす
るときに出力するアナログ電圧と、サーボドライバSが
実際にモータを停止させるときに入力されるアナログ電
圧には差がある。この差がオフセット電圧である。図3
の装置では、定常偏差が発生することにより位置決め精
度が低下するという問題点があった。In the motor control device shown in FIG. 3, when an offset voltage is generated between the analog output voltage of the motion controller M and the analog input voltage of the servo driver S due to a temperature change, insufficient adjustment, or the like, the offset voltage is used. The motor rotates, and a deviation occurs between the number of command position pulses and the number of current position pulses. This deviation is defined as a steady-state deviation.
There is a difference between the analog voltage output when the motion controller M attempts to stop the motor and the analog voltage input when the servo driver S actually stops the motor. This difference is the offset voltage. FIG.
In the device described above, there is a problem that the positioning accuracy is reduced due to the occurrence of the steady-state deviation.
【0007】[0007]
【発明が解決しようとする課題】本発明は上述した問題
点を解決するためになされたものであり、定常偏差を補
正するアナログ電圧を位置制御部のアナログ出力電圧に
加算することによって、位置決め精度を向上させたモー
タの制御装置を実現することを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an apparatus for adding a positioning error to a position control unit by adding an analog voltage for correcting a steady-state error to an analog output voltage. It is an object of the present invention to realize a motor control device having improved motor performance.
【0008】[0008]
【課題を解決するための手段】本発明は、モータの現在
の回転位置をパルス数で与える現在位置パルスを出力す
るエンコーダと、前記現在位置パルスの周波数をもとに
モータの現在の回転速度をアナログ電圧で与える現在速
度信号を出力するF/V変換器と、目標位置を与える指
令位置パルスと前記現在位置パルスのパルス数の偏差を
もとに、比例制御によりモータの回転位置をフィードバ
ック制御するための制御信号をアナログ電圧信号で出力
する位置制御部と、前記制御信号を速度指令信号とし、
この制御信号と前記速度検出信号の偏差をもとにモータ
の回転速度をフィードバック制御するための制御信号を
出力する速度制御部と、を具備したモータの制御装置に
おいて、モータが停止状態にあるときに、前記指令位置
パルスと前記現在位置パルスのパルス数の偏差である補
正パルス数から(補正パルス数)×Kp(Kpは前記位
置制御部の比例ゲイン)により補正量を算出する補正演
算手段と、前記補正量に応じたアナログ電圧を前記位置
制御部の出力に加算する加算器と、を具備したことを特
徴とするモータの制御装置である。According to the present invention, there is provided an encoder for outputting a current position pulse which gives a current rotational position of a motor by the number of pulses, and a current rotational speed of the motor based on the frequency of the current position pulse. An F / V converter for outputting a current speed signal given by an analog voltage, and a feedback control of a rotational position of the motor by proportional control based on a deviation between a command position pulse for giving a target position and the number of pulses of the current position pulse. A position control unit that outputs a control signal for the analog voltage signal, and the control signal as a speed command signal,
A speed control unit that outputs a control signal for feedback-controlling the rotation speed of the motor based on the deviation between the control signal and the speed detection signal. Correction calculation means for calculating a correction amount from the number of correction pulses, which is a deviation between the number of pulses of the command position pulse and the number of the current position pulse, by (number of correction pulses) × Kp (Kp is a proportional gain of the position control unit); And an adder for adding an analog voltage corresponding to the correction amount to an output of the position control unit.
【0009】[0009]
【発明の実施の形態】以下、図面を用いて本発明を説明
する。図1は本発明の一実施例を示した構成図である。
図1で図3と同一のものは同一符号を付ける。図1のM
1の部分がモーションコントローラである。図1で、2
0は補正演算手段で、モータ1が停止状態にあるとき
に、モータ1が停止状態にあるときに、指令位置パルス
と現在位置パルスのパルス数の偏差である補正パルス数
から(補正パルス数)×Kpにより補正量を算出する。
なお、補正パルス数は、オペレータが設定する。21は
加算器で、(補正パルス数)×Kpなるアナログ電圧を
位置制御部5の出力に加算する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing one embodiment of the present invention.
1 that are the same as those in FIG. 3 are given the same reference numerals. M in FIG.
The part 1 is a motion controller. In FIG. 1, 2
Numeral 0 is a correction calculating means. When the motor 1 is in a stopped state, when the motor 1 is in a stopped state, the number of correction pulses is the difference between the number of pulses of the command position pulse and the number of pulses of the current position pulse. The correction amount is calculated by × Kp.
The number of correction pulses is set by the operator. An adder 21 adds an analog voltage of (number of correction pulses) × Kp to an output of the position control unit 5.
【0010】図2はモーションコントローラM1のボー
ド線図である。eは定常偏差である。モーションコント
ローラMは、e×Kpに(補正パルス数)×Kpを加算
したアナログ電圧を出力する。FIG. 2 is a Bode diagram of the motion controller M1. e is a steady state deviation. The motion controller M outputs an analog voltage obtained by adding (correction pulse number) × Kp to e × Kp.
【0011】図1の装置の動作を説明する。モーション
コントローラMのアナログ出力電圧とサーボドライバS
のアナログ入力電圧との間にオフセット電圧が生じる
と、オフセット電圧の分だけモータ1が回転し、指令位
置パルスと現在位置パルスのパルス数の間に定常偏差e
が生じる。オペレータは、画面表示された指令位置パル
スと現在位置パルスのパルス数の差から補正パルス数を
求め、求めた補正パルス数を補正演算手段20に設定す
る。補正演算手段20は、設定された補正パルス数から
(補正パルス数)×Kpを求める。加算器21は、位置
制御部5の出力に(補正パルス数)×Kpなるアナログ
電圧を加算する。これによって、オフセット電圧の分を
補正演算手段20が出力することになり、位置制御部5
の出力が0になる。このため、位置制御部5の入力であ
る定常偏差も0になる。位置制御の最中に補正演算手段
20は(補正パルス数)×Kpなるアナログ電圧を常に
加算し、定常偏差を除去する。The operation of the apparatus shown in FIG. 1 will be described. Analog output voltage of motion controller M and servo driver S
When an offset voltage is generated between the analog input voltage and the analog input voltage, the motor 1 rotates by an amount corresponding to the offset voltage, and the stationary deviation e between the number of pulses of the command position pulse and the current position pulse.
Occurs. The operator obtains the number of correction pulses from the difference between the command position pulse displayed on the screen and the number of pulses of the current position pulse, and sets the obtained correction pulse number in the correction calculation unit 20. The correction calculating means 20 calculates (correction pulse number) × Kp from the set correction pulse number. The adder 21 adds an analog voltage of (number of correction pulses) × Kp to the output of the position control unit 5. As a result, the offset calculation unit 20 outputs the offset voltage, and the position control unit 5
Becomes zero. For this reason, the steady-state deviation which is an input of the position control unit 5 also becomes zero. During the position control, the correction calculation means 20 always adds an analog voltage of (number of correction pulses) × Kp to remove a steady-state error.
【0012】[0012]
【発明の効果】本発明では、モータの回転位置に定常偏
差が生じたときに、定常偏差を補正するアナログ電圧を
位置制御部のアナログ出力電圧に加算している。これに
よって、位置決め精度を向上させることができる。According to the present invention, when a steady-state error occurs in the rotational position of the motor, an analog voltage for correcting the steady-state error is added to the analog output voltage of the position control unit. Thereby, the positioning accuracy can be improved.
【図1】本発明の一実施例を示した構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.
【図2】図1の装置のモーションコントローラのボード
線図である。FIG. 2 is a Bode diagram of a motion controller of the apparatus of FIG. 1;
【図3】モータの制御装置の従来における構成例を示し
た図である。FIG. 3 is a diagram showing a conventional configuration example of a motor control device.
【図4】図3の装置のモーションコントローラのボード
線図である。FIG. 4 is a Bode diagram of the motion controller of the device of FIG. 3;
1 モータ 2 エンコーダ 3 F/V変換器 4,6 減算器 5 位置制御部 7 速度制御部 20 補正演算手段 21 加算器 DESCRIPTION OF SYMBOLS 1 Motor 2 Encoder 3 F / V converter 4,6 Subtractor 5 Position control part 7 Speed control part 20 Correction calculation means 21 Adder
Claims (1)
える現在位置パルスを出力するエンコーダと、 前記現在位置パルスの周波数をもとにモータの現在の回
転速度をアナログ電圧で与える現在速度信号を出力する
F/V変換器と、 目標位置を与える指令位置パルスと前記現在位置パルス
のパルス数の偏差をもとに、比例制御によりモータの回
転位置をフィードバック制御するための制御信号をアナ
ログ電圧信号で出力する位置制御部と、 前記制御信号を速度指令信号とし、この制御信号と前記
速度検出信号の偏差をもとにモータの回転速度をフィー
ドバック制御するための制御信号を出力する速度制御部
と、を具備したモータの制御装置において、 モータが停止状態にあるときに、前記指令位置パルスと
前記現在位置パルスのパルス数の偏差である補正パルス
数から(補正パルス数)×Kp(Kpは前記位置制御部
の比例ゲイン)により補正量を算出する補正演算手段
と、 前記補正量に応じたアナログ電圧を前記位置制御部の出
力に加算する加算器と、を具備したことを特徴とするモ
ータの制御装置。An encoder for outputting a current position pulse for giving a current rotational position of a motor by the number of pulses, and a current speed signal for giving a current rotational speed of the motor as an analog voltage based on a frequency of the current position pulse. An F / V converter for outputting, and a control signal for feedback-controlling the rotational position of the motor by proportional control based on a deviation between a command position pulse for providing a target position and the number of pulses of the current position pulse. A position control unit that outputs a control signal as a speed command signal, and a speed control unit that outputs a control signal for feedback-controlling the rotation speed of the motor based on a deviation between the control signal and the speed detection signal. And a motor control device comprising: a motor; and a controller configured to calculate a number of pulses of the command position pulse and the current position pulse when the motor is stopped. A correction calculating means for calculating a correction amount from the number of correction pulses, which is a difference, by (number of correction pulses) × Kp (Kp is a proportional gain of the position control unit), and an analog voltage corresponding to the correction amount is calculated by the position control unit. A motor control device, comprising: an adder for adding to an output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03185197A JP3438195B2 (en) | 1997-02-17 | 1997-02-17 | Motor control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03185197A JP3438195B2 (en) | 1997-02-17 | 1997-02-17 | Motor control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10228319A true JPH10228319A (en) | 1998-08-25 |
JP3438195B2 JP3438195B2 (en) | 2003-08-18 |
Family
ID=12342564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP03185197A Expired - Fee Related JP3438195B2 (en) | 1997-02-17 | 1997-02-17 | Motor control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3438195B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007068344A (en) * | 2005-08-31 | 2007-03-15 | Sanyo Electric Co Ltd | Motor speed control integrated circuit |
CN100434867C (en) * | 2004-01-26 | 2008-11-19 | 三星电子株式会社 | Incremental encoding and decoding apparatus and method |
CN112737428A (en) * | 2020-12-28 | 2021-04-30 | 珠海格力电器股份有限公司 | Motor rotating speed pulse feedback control method and device, controller and air conditioning system |
-
1997
- 1997-02-17 JP JP03185197A patent/JP3438195B2/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100434867C (en) * | 2004-01-26 | 2008-11-19 | 三星电子株式会社 | Incremental encoding and decoding apparatus and method |
JP2007068344A (en) * | 2005-08-31 | 2007-03-15 | Sanyo Electric Co Ltd | Motor speed control integrated circuit |
JP4746942B2 (en) * | 2005-08-31 | 2011-08-10 | 三洋電機株式会社 | Motor speed control integrated circuit |
CN112737428A (en) * | 2020-12-28 | 2021-04-30 | 珠海格力电器股份有限公司 | Motor rotating speed pulse feedback control method and device, controller and air conditioning system |
Also Published As
Publication number | Publication date |
---|---|
JP3438195B2 (en) | 2003-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63274385A (en) | Speed controller for servo-motor | |
JPS63148314A (en) | Controller for semiclosed loop servo control system | |
JP2004234205A (en) | Numerical controller | |
JP3438195B2 (en) | Motor control device | |
JP2000218577A (en) | Robot control device | |
JPH11143548A (en) | Friction compensating method for motor | |
JP2006215626A (en) | Position controller | |
JPH08278821A (en) | Damping method for servo control system | |
JP2003047269A (en) | Servo controller | |
JPH0792702B2 (en) | Control device | |
JPH1142576A (en) | Control method and device for robot | |
JP2000089829A (en) | Position control method and device therefor | |
JP3291902B2 (en) | Servo control device | |
JPH06261572A (en) | Torque control apparatus of torque supply machine | |
JP4671171B2 (en) | Motor control device | |
JP3294492B2 (en) | Motor control device | |
JPH081560A (en) | Robot vibration restricting method and its device | |
JP3811926B2 (en) | Speed control device for electric motor | |
JP3589251B2 (en) | Speed feedback delay correction method | |
JPS59158406A (en) | Control method of robot | |
JPH07175521A (en) | Controller for servomotor | |
JPS61255409A (en) | Control device for positioning double spindle | |
JP2728260B2 (en) | Servo control device | |
JP4020660B2 (en) | Servo control system | |
JPH09225870A (en) | Robot controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080613 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090613 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100613 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100613 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110613 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130613 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140613 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |