JP3747767B2 - Speed detection method for motor control device - Google Patents

Speed detection method for motor control device Download PDF

Info

Publication number
JP3747767B2
JP3747767B2 JP2000328579A JP2000328579A JP3747767B2 JP 3747767 B2 JP3747767 B2 JP 3747767B2 JP 2000328579 A JP2000328579 A JP 2000328579A JP 2000328579 A JP2000328579 A JP 2000328579A JP 3747767 B2 JP3747767 B2 JP 3747767B2
Authority
JP
Japan
Prior art keywords
speed
motor
value
control
torque command
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
JP2000328579A
Other languages
Japanese (ja)
Other versions
JP2002136165A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2000328579A priority Critical patent/JP3747767B2/en
Publication of JP2002136165A publication Critical patent/JP2002136165A/en
Application granted granted Critical
Publication of JP3747767B2 publication Critical patent/JP3747767B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【0001】
【発明の属する技術分野】
本発明は、モータ制御装置の速度検出方式に関するものである。
【0002】
【従来の技術】
近年、CPU・周辺ICの進歩により、制御のディジタル化は一般的となり、アナログ制御では実現困難な制御を行うことで、機器の高性能・高機能化に大きく貢献している。
【0003】
一般的なモータ制御装置の速度制御ブロック図を用いて説明する。
【0004】
において、モータ制御装置3は、モータ1に取り付けられたエンコーダ2からモータ位置4を得る。このモータ位置4は速度制御周期の開始時点にサンプラ5でサンプリングされ、今回の速度制御演算に用いられる。
【0005】
サンプリング後のモータ位置6は、従来の速度検出器15によりモータ速度8に変換される。与えられた速度指令9と検出されたモータ速度8から速度制御器10はトルク指令11を計算し、電流制御器12に指令を与える。電流制御器12は、トルク指令11に等しいトルクをモータが発生するようにモータ電流13を制御する。
【0006】
ここで従来の速度検出器15内処理のフローチャートを図に示す。ここでは、今回のサンプリング開始時のモータ速度計算を行うステップS51があるのみである。
【0007】
またモータ制御装置3内処理のタイミングチャートを図に示す。
【0008】
エンコーダパルス16は、モータ制御装置3内でカウント値17に変換され、速度制御周期18毎にサンプル・ホールドされ離散化した値となる。
【0009】
この値を元に、速度制御処理19が行われる。一般に速度制御処理19はマイコンなどによるディジタル計算が行われることが多いが、これは必然的に速度演算遅れTd1を生む。
【0010】
また、電流制御処理21がディジタル計算されている場合、速度制御処理19で計算されたトルク指令は、電流制御周期20毎に電流制御処理21に与えられるため、転送遅れTd2が生ずる。また、電流制御処理21自体の演算遅れ、および実際にモータ電流が変化するまでの応答遅れなどにより、電流遅れTd3がある。最終的に、位置情報のサンプリング時点からモータ電流が変化するまでには、Td1+Td2+Td3だけの遅れが生ずることとなる。
【0011】
【発明が解決しようとする課題】
この遅れは、速度閉ループ制御系の位相遅れ要素となるため、速度応答性向上の大きな妨げとなっていた。
【0012】
従来、速度制御周期および電流制御周期の時間を短くすることでTd1、Td2およびTd3を小さくしてきたが、これには高性能なCPUを用いる必要があり、コスト等の問題で限界が生ずる。
【0013】
また、ディジタル制御を行っている限り、この遅れは0にはならないことから、アナログ制御による速度制御系に対して応答性の面で劣る課題があった。
【0014】
本発明は、この従来の課題を解決するもので、速度閉ループの位相遅れを補償し、速度制御系の応答性を向上させる手段を提供することを目的とする。
【0015】
【課題を解決するための手段】
上記課題を解決するため、本発明は、速度オブザーバを用いて計算された速度推定値と外乱トルク情報を用い、設定される時間だけ未来の速度情報を推定して制御に用いることで、速度閉ループ制御の位相遅れを精度よく補償し、応答性を向上させることを可能とする。
【0016】
【発明の実施の形態】
上記の課題を解決するために本発明は、モータの位置を制御周期毎に検出したエンコーダ情報からモータ速度を計算する速度検出回路と、速度検出値と与えられる速度指令値を比較しトルク指令を生成する速度制御器と、トルク指令に従いモータ電流を制御する電流制御器を備えたモータ制御装置において、制御周期開始時のモータ速度の計算に速度オブザーバを用い、速度オブザーバで得られる外乱トルク推定値を前回計算したトルク指令値に加算し、その値をモータと負荷の総イナーシャで割った値に、制御周期開始時から計算されたトルク指令に応じて、実際にモータ電流が変化するまでの時間を乗じ、その値に今回の制御周期開始時の速度検出値を加算した結果を、速度検出値として制御に用いることを特徴としている。
【0017】
これにより、Td1、Td2およびTd3による速度閉ループ系の位相遅れが正確に補正され、最良な未来速度推定が可能となることから、最高の応答性能を得ることができる。
【0018】
【実施例】
以下本発明の実施例について、図面を参照して説明する。
【0019】
(実施例1)
は実施例の速度制御系のブロック図で、トルク指令11が速度検出器14に入力されている点以外は、図と同じである。
【0020】
この速度検出器14内の処理を示したフローチャートを用いて説明する。
【0021】
において、速度オブザーバは一般に、ステップS41に示す負荷モデルに基づいたモータ位置・速度の推定部と、ステップS42に表されるモータ位置推定値と実際のモータ位置との誤差による推定値の修正から構成される。この結果、サンプリング開始時のモータ速度が正確に推定されると同時に、外乱トルクの推定値も得られる。
【0022】
負荷イナーシャをJとすれば、回転系の運動方程式を離散化したステップS43の計算式で、外乱トルクを考慮した未来速度推定ができ、さらに、設定時間として、図5におけるTd1+Td2+Td3の遅れ時間を設定することで、速度検出からトルク出力までの位相遅れを正確に補償した速度制御が可能となる。
【0023】
【発明の効果】
上記の実施例から明らかなように、本発明によれば、速度オブザーバを最適に調整することで、精度のよい未来速度推定が可能となるため、トルク指令が実際に反映されるまでの遅れ時間だけ未来のモータ速度を正確に推定し、以降の速度制御に用いることで、速度制御の正確な位相遅れ補償が可能となる。これにより、広範囲に速度閉ループの位相遅れを補償でき、速度制御系の応答性を向上させる効果が得られる。
【図面の簡単な説明】
【図1】 実施例1におけるモータ速度制御処理ブロック図
【図2】 実施例1におけるモータ速度検出処理フローチャート
【図3】 従来のモータ制御の速度検出処理フローチャート
【図4】 従来のモータ速度制御処理ブロック図
【図5】 従来のモータ制御処理タイミングチャート
【符号の説明】
1 モータ
2 エンコーダ
3 モータ制御装置
4 モータ位置
7、14 速度検出器
8 モータ速度
9 速度指令
10 速度制御器
11 トルク指令
12 電流制御器
13 モータ電流
18 速度制御周期
19 速度制御処理
20 電流制御周期
21 電流制御処理
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a speed detection method for a motor control device.
[0002]
[Prior art]
In recent years, with the advancement of CPUs and peripheral ICs, digitization of control has become common, and control that is difficult to achieve with analog control greatly contributes to high performance and high functionality of equipment.
[0003]
This will be described with reference to a speed control block diagram of a general motor control device.
[0004]
In FIG. 4 , the motor control device 3 obtains the motor position 4 from the encoder 2 attached to the motor 1. The motor position 4 is sampled by the sampler 5 at the start of the speed control cycle and used for the current speed control calculation.
[0005]
The sampled motor position 6 is converted to a motor speed 8 by a conventional speed detector 15. From the given speed command 9 and the detected motor speed 8, the speed controller 10 calculates a torque command 11 and gives the command to the current controller 12. The current controller 12 controls the motor current 13 so that the motor generates a torque equal to the torque command 11.
[0006]
Here, FIG. 3 shows a flowchart of the processing in the conventional speed detector 15. Here, there is only step S51 for calculating the motor speed at the start of sampling this time.
[0007]
FIG. 5 shows a timing chart of the processing in the motor control device 3.
[0008]
The encoder pulse 16 is converted into a count value 17 in the motor control device 3, and is sampled and held at every speed control period 18 to become a discretized value.
[0009]
Based on this value, the speed control process 19 is performed. In general, the speed control processing 19 is often digitally calculated by a microcomputer or the like, but this inevitably generates a speed calculation delay Td1.
[0010]
Further, when the current control process 21 is digitally calculated, the torque command calculated in the speed control process 19 is given to the current control process 21 every current control period 20, so that a transfer delay Td2 occurs. Further, there is a current delay Td3 due to a calculation delay of the current control process 21 itself and a response delay until the motor current actually changes. Eventually, there will be a delay of Td1 + Td2 + Td3 from when the position information is sampled until the motor current changes.
[0011]
[Problems to be solved by the invention]
Since this delay becomes a phase delay element of the speed closed loop control system, it has been a major obstacle to improving the speed response.
[0012]
Conventionally, Td1, Td2 and Td3 have been reduced by shortening the time of the speed control cycle and the current control cycle, but this requires the use of a high-performance CPU and is limited by problems such as cost.
[0013]
Further, as long as digital control is performed, this delay does not become zero, so that there is a problem in terms of responsiveness with respect to the speed control system by analog control.
[0014]
An object of the present invention is to solve this conventional problem and to provide means for compensating for a phase delay of a speed closed loop and improving the response of a speed control system.
[0015]
[Means for Solving the Problems]
In order to solve the above problems, the present invention uses a speed estimation value and disturbance torque information calculated using a speed observer, estimates future speed information for a set time, and uses it for control. It is possible to accurately compensate for the phase delay of the control and improve the response.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
In order to solve the above-described problems, the present invention compares a speed detection circuit that calculates a motor speed from encoder information obtained by detecting a motor position at each control cycle, and compares the speed detection value with a given speed command value to obtain a torque command. In a motor controller equipped with a speed controller to be generated and a current controller that controls the motor current according to the torque command, a disturbance observer is used to calculate the motor speed at the start of the control cycle , and the estimated disturbance torque obtained from the speed observer Is added to the previously calculated torque command value, and the value divided by the total inertia of the motor and load is the time until the motor current actually changes according to the torque command calculated from the start of the control cycle. And the result obtained by adding the speed detection value at the start of the current control cycle to the value is used as a speed detection value for control.
[0017]
As a result, the phase delay of the speed closed loop system due to Td1, Td2, and Td3 is accurately corrected, and the best future speed can be estimated, so that the best response performance can be obtained.
[0018]
【Example】
Embodiments of the present invention will be described below with reference to the drawings.
[0019]
(Example 1)
FIG. 1 is a block diagram of the speed control system of the first embodiment, and is the same as FIG. 4 except that the torque command 11 is input to the speed detector 14.
[0020]
The processing in the speed detector 14 will be described with reference to a flowchart showing the processing.
[0021]
In FIG. 2 , the speed observer generally corrects the estimated value based on the error between the motor position estimated value based on the load model shown in step S41 and the motor position estimated value shown in step S42 and the actual motor position. Consists of As a result, the motor speed at the start of sampling is accurately estimated, and at the same time, an estimated value of disturbance torque is obtained.
[0022]
If the load inertia is J, it is possible to estimate the future speed in consideration of the disturbance torque with the calculation formula of step S43 in which the motion equation of the rotating system is discretized, and further set the delay time of Td1 + Td2 + Td3 in FIG. By doing so, it is possible to perform speed control that accurately compensates for the phase delay from speed detection to torque output.
[0023]
【The invention's effect】
As is clear from the above-described embodiment, according to the present invention , it is possible to accurately estimate the future speed by optimally adjusting the speed observer, so that the delay time until the torque command is actually reflected By accurately estimating the future motor speed only and using it for the subsequent speed control, accurate phase delay compensation of the speed control becomes possible. Thereby, the phase delay of the speed closed loop can be compensated in a wide range, and the effect of improving the responsiveness of the speed control system can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram of motor speed control processing in Embodiment 1. FIG . 2 is a flowchart of motor speed detection processing in Embodiment 1. FIG. 3 is a flowchart of speed detection processing in conventional motor control. Block diagram [Figure 5] Conventional motor control processing timing chart [Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Motor 2 Encoder 3 Motor control apparatus 4 Motor position 7, 14 Speed detector 8 Motor speed 9 Speed command 10 Speed controller 11 Torque command 12 Current controller 13 Motor current 18 Speed control cycle 19 Speed control processing 20 Current control cycle 21 Current control processing

Claims (1)

モータの位置を制御周期毎に検出したエンコーダ情報からモータ速度を計算する速度検出回路と、速度検出値と与えられる速度指令値を比較しトルク指令を生成する速度制御器と、トルク指令に従いモータ電流を制御する電流制御器を備えたモータ制御装置において、制御周期開始時のモータ速度の計算に速度オブザーバを用い、速度オブザーバで得られる外乱トルク推定値を前回計算したトルク指令値に加算し、その値をモータと負荷の総イナーシャで割った値に、制御周期開始時から計算されたトルク指令に応じて、実際にモータ電流が変化するまでの時間を乗じ、その値に今回の制御周期開始時の速度検出値を加算した結果を、速度検出値として制御に用いることを特徴とするモータ制御装置の速度検出方法。A speed detection circuit that calculates the motor speed from encoder information that detects the motor position for each control cycle, a speed controller that generates a torque command by comparing the speed detection value with a given speed command value, and a motor current according to the torque command In a motor control device equipped with a current controller for controlling the motor, a speed observer is used to calculate the motor speed at the start of the control cycle , and the estimated disturbance torque obtained by the speed observer is added to the previously calculated torque command value. The value obtained by dividing the value by the total inertia of the motor and load is multiplied by the time until the motor current actually changes according to the torque command calculated from the start of the control cycle. A speed detection method for a motor control device, wherein the result obtained by adding the detected speed values is used as a detected speed value for control.
JP2000328579A 2000-10-27 2000-10-27 Speed detection method for motor control device Expired - Lifetime JP3747767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000328579A JP3747767B2 (en) 2000-10-27 2000-10-27 Speed detection method for motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000328579A JP3747767B2 (en) 2000-10-27 2000-10-27 Speed detection method for motor control device

Publications (2)

Publication Number Publication Date
JP2002136165A JP2002136165A (en) 2002-05-10
JP3747767B2 true JP3747767B2 (en) 2006-02-22

Family

ID=18805410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000328579A Expired - Lifetime JP3747767B2 (en) 2000-10-27 2000-10-27 Speed detection method for motor control device

Country Status (1)

Country Link
JP (1) JP3747767B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5532074B2 (en) * 2012-04-13 2014-06-25 富士電機株式会社 Door drive control method
DE102020002352A1 (en) * 2019-04-25 2020-10-29 Fanuc Corporation Motor drive device with energy storage
JP7007421B2 (en) * 2019-04-25 2022-01-24 ファナック株式会社 Motor drive device with power storage device

Also Published As

Publication number Publication date
JP2002136165A (en) 2002-05-10

Similar Documents

Publication Publication Date Title
JP3707535B2 (en) Method and apparatus for correcting estimated speed value of induction motor
JP3367260B2 (en) Encoder device and servo motor control device
JP4816645B2 (en) Apparatus for estimating initial magnetic pole position of AC synchronous motor
US5325460A (en) System and method for controlling the speed of an electric motor in an extremely low speed range using a rotary pulse encoder
EP1583218B1 (en) Stepping motor control apparatus
JP4045747B2 (en) Motor control device
US11056992B2 (en) Motor controller
JP3747767B2 (en) Speed detection method for motor control device
US7948201B2 (en) Induction motor control device
JPH06284762A (en) Speed controller for motor
JP2001078486A (en) Vector controller of permanent magnet system of synchronous motor
JP4273775B2 (en) Magnetic pole position estimation method and control device for permanent magnet type synchronous motor
CN108880369B (en) Motor anti-interference control method, system and device based on fractional order sliding mode control
JP2001178166A (en) Speed control apparatus for motor
JPH05333931A (en) Robot controller
JP4922954B2 (en) Position control device
JPH02307384A (en) Motor speed controller
JP3207723B2 (en) Servo control device
KR100422204B1 (en) Magnetic flux angle acquisition method by rotor or induction motor
JP2001169578A (en) Method for estimating and method for regulating current offset in ac motor
US11356042B2 (en) Method of controlling a brushless DC motor
JP3055186B2 (en) Device for detecting instantaneous position, instantaneous speed, and instantaneous acceleration of motor, and motor control method using instantaneous position value, instantaneous speed value, and instantaneous acceleration value
JP2003047299A (en) Method of controlling vector of pw motor
JP2006094668A (en) Servo control apparatus and control method therefor
KR101184453B1 (en) Sensorless control apparatus for synchronous motor

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050630

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050816

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051011

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051121

R151 Written notification of patent or utility model registration

Ref document number: 3747767

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091209

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091209

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101209

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101209

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111209

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111209

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121209

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121209

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131209

Year of fee payment: 8

EXPY Cancellation because of completion of term