JP5816812B2 - Motor drive device - Google Patents
Motor drive device Download PDFInfo
- Publication number
- JP5816812B2 JP5816812B2 JP2011126978A JP2011126978A JP5816812B2 JP 5816812 B2 JP5816812 B2 JP 5816812B2 JP 2011126978 A JP2011126978 A JP 2011126978A JP 2011126978 A JP2011126978 A JP 2011126978A JP 5816812 B2 JP5816812 B2 JP 5816812B2
- Authority
- JP
- Japan
- Prior art keywords
- speed
- gain
- gain switching
- switching signal
- determination
- 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.)
- Active
Links
Images
Landscapes
- Control Of Electric Motors In General (AREA)
- Control Of Position Or Direction (AREA)
Description
本発明は、モータ位置を指令位置に追従させるよう制御を行い、かつゲイン切換機能を有するモータ駆動装置に関する。 The present invention relates to a motor drive device that controls a motor position to follow a command position and has a gain switching function.
サーボモータの位置決め制御では、上位コントローラから出力される位置指令に対し、モータ位置を追従させるよう制御される。その場合、要求される性能として、整定時間の短縮や、振動の低減などがある。 In the servo motor positioning control, the motor position is controlled to follow the position command output from the host controller. In that case, the required performance includes shortening of settling time and reduction of vibration.
要求性能を満たすために、各種制御ゲインを調整することになるが、モータの動作条件に応じて制御ゲインを切替えることで、整定時間の短縮や振動の低減などを実現する方法などが提案されている(例えば、特許文献1参照)。 Various control gains will be adjusted to meet the required performance, but a method has been proposed that shortens the settling time and reduces vibrations by switching the control gain according to the operating conditions of the motor. (For example, refer to Patent Document 1).
この方法は、モータの動作状態を加減速状態、一定速状態、停止状態の3つに分類し、その状態に応じた制御ゲインを適用するというものであり、加減速時の応答性向上とオーバシュートの低減、一定速状態時の安定性といった要求仕様にそれぞれ別の制御ゲインで対応することができるようにしている。 In this method, the motor operating state is classified into an acceleration / deceleration state, a constant speed state, and a stop state, and a control gain corresponding to the state is applied. The required specifications such as reduction of chute and stability at a constant speed state can be handled with different control gains.
しかしながら、上述した技術は、ある特定の位置指令パターンに対しては効果があるものの、位置指令の形状が変化した場合などの異なる仕様には、機器の仕様と要求仕様とに整合性し得ない場合も考察される。例えば、加減速度が同じという条件でも、位置指令距離が短い場合は、位置指令速度の形状は三角波になり、位置指令距離が長い場合は台形波になる。上述した技術で台形波に対し制御ゲインを最適化しても、指令が三角波に変わると再度振動等が発生してしまう。つまり、異なる位置指令距離に対する制御ゲインの最適化にまで対応した技術ではない点で、更なる高性能化を求められるケースもあり、これを課題とされる場合もあった。 However, although the above-described technique is effective for a specific position command pattern, the specification of the device and the required specification cannot be consistent with different specifications such as when the shape of the position command changes. Cases are also considered. For example, even when the acceleration / deceleration is the same, when the position command distance is short, the shape of the position command speed is a triangular wave, and when the position command distance is long, the shape is a trapezoidal wave. Even if the control gain is optimized with respect to the trapezoidal wave by the above-described technique, vibration or the like again occurs when the command changes to a triangular wave. In other words, there is a case where further higher performance is required because it is not a technology that supports the optimization of the control gain for different position command distances.
本発明は上記従来の課題を解決するものであり、更なる高性能化の要望に対応することを旨に、位置指令距離が異なる場合に対し、個別に制御ゲインを最適化できるモータ駆動装置を提供することを目的とする。 The present invention solves the above-described conventional problems, and a motor drive device capable of individually optimizing the control gain with respect to the case where the position command distance is different, in order to meet the demand for higher performance. The purpose is to provide.
第1の発明は、モータ位置を位置指令に追従させるよう制御するモータ制御装置において、ゲイン切換信号にて選択された位置制御ゲインを用いて位置偏差を0に収束させるよう位置制御出力を算出する位置制御手段と、ゲイン切換信号にて選択された速度制御ゲインを用いて速度偏差を0に収束させるよう速度制御出力を算出する速度制御手段と、トルク指令どおりにモータを駆動させるよう電流制御出力を算出する電流制御手段と、ゲイン切換信号にて選択された速度フィードフォワードゲインを用いて位置指令から速度フィードフォーワード出力を算出する速度フィードフォワード手段と、ゲイン切換信号にて選択されたトルクフィードフォワードゲインを用いて速度フィードフォワード出力からトルクフィードフォーワード出力を算出するトルクフィードフォワード手段と、モータ位置からモータ速度を算出する速度検出手段と、位置指令から位置指令速度を算出する位置指令速度検出手段と、位置指令速度と判定遅延時間と判定閾値からゲイン切換信号をオン/オフするゲイン切換判定手段と、判定遅延時間を設定する判定遅延時間設定手段と、判定閾値を設定する判定閾値設定手段とを有し、ゲイン切換判定手段にて判定遅延時間経過後の位置指令速度の絶対値が判定閾値以下であればゲイン切換信号をオンし、判定閾値より大きい場合はゲイン切換信号をオフのままとする構成を具備するモータ駆動装置である。 In a first aspect of the present invention, in the motor control apparatus that controls the motor position to follow the position command, the position control output is calculated so that the position deviation is converged to 0 using the position control gain selected by the gain switching signal. Position control means, speed control means for calculating the speed control output so that the speed deviation is converged to 0 using the speed control gain selected by the gain switching signal, and current control output for driving the motor according to the torque command Current control means for calculating the speed, speed feed forward means for calculating the speed feed forward output from the position command using the speed feed forward gain selected by the gain switching signal, and the torque feed selected by the gain switching signal. Calculate torque feed forward output from speed feed forward output using forward gain Torque feed-forward means, speed detection means for calculating motor speed from motor position, position command speed detection means for calculating position command speed from position command, gain command signal from position command speed, judgment delay time and judgment threshold Gain switching determination means for turning ON / OFF, determination delay time setting means for setting a determination delay time, and determination threshold setting means for setting a determination threshold, and after the determination delay time has passed by the gain switching determination means If the absolute value of the position command speed is equal to or smaller than the determination threshold, the gain switching signal is turned on. If the absolute value of the position command speed is larger than the determination threshold, the motor driving device is configured to keep the gain switching signal off.
第2の発明は、モータ位置を位置指令に追従させるよう制御するモータ制御装置において、ゲイン切換信号にて選択された位置制御ゲインを用いて位置偏差を0に収束させるよう位置制御出力を算出する位置制御手段と、ゲイン切換信号にて選択された速度制御ゲインを用いて速度偏差を0に収束させるよう速度制御出力を算出する速度制御手段と、トルク指令どおりにモータを駆動させるよう電流制御出力を算出する電流制御手段と、ゲイン切換信号にて選択された速度フィードフォワードゲインを用いて位置指令から速度フィードフォーワード出力を算出する速度フィードフォワード手段と、ゲイン切換信号にて選択されたトルクフィードフォワードゲインを用いて速度フィードフォワード出力からトルクフィードフォーワード出力を算出するトルクフィードフォワード手段と、モータ位置からモータ速度を算出する速度検出手段と、位置指令から位置指令速度を算出する位置指令速度検出手段と、位置指令速度と判定遅延時間と判定閾値からゲイン切換信号をオン/オフするゲイン切換判定手段と、判定遅延時間を設定する判定遅延時間設定手段と、判定閾値を設定する判定閾値設定手段と、ゲイン切換継続時間を設定するゲイン切換継続時間設定手段を有し、ゲイン切換判定手段にて判定遅延時間経過後の位置指令速度の絶対値が判定閾値以下であればゲイン切換継続時間だけゲイン切換信号をオンし、判定閾値より大きい場合はゲイン切換信号をオフのままとする構成を具備するモータ駆動装置である。 According to a second aspect of the present invention, in the motor control device that controls the motor position to follow the position command, the position control output is calculated so that the position deviation is converged to 0 using the position control gain selected by the gain switching signal. Position control means, speed control means for calculating the speed control output so that the speed deviation is converged to 0 using the speed control gain selected by the gain switching signal, and current control output for driving the motor according to the torque command Current control means for calculating the speed, speed feed forward means for calculating the speed feed forward output from the position command using the speed feed forward gain selected by the gain switching signal, and the torque feed selected by the gain switching signal. Calculate torque feed forward output from speed feed forward output using forward gain Torque feed-forward means, speed detection means for calculating motor speed from motor position, position command speed detection means for calculating position command speed from position command, gain command signal from position command speed, judgment delay time and judgment threshold Gain switching determination means for turning on / off, determination delay time setting means for setting a determination delay time, determination threshold setting means for setting a determination threshold, and gain switching duration setting means for setting a gain switching duration If the absolute value of the position command speed after the judgment delay time has passed is less than or equal to the judgment threshold value, the gain switching signal is turned on for the gain switching duration, and if it is larger than the judgment threshold value, the gain switching signal is turned off. It is a motor drive device which comprises the composition which remains.
本発明のモータ駆動装置によれば、位置指令距離が異なる2つの状態に対し、それぞれの状態に最適な制御ゲインを適用することができる。 According to the motor drive device of the present invention, the optimum control gain can be applied to each of two states having different position command distances.
以下、本発明について、図面を参照しながら説明する。なお、以下の実施例によって本発明が限定されるものではない。 Hereinafter, the present invention will be described with reference to the drawings. In addition, this invention is not limited by the following examples.
図1は、第1の発明のモータ駆動装置におけるブロックである。図1において、位置制御手段1は、位置指令20とモータ位置29との差分である位置偏差21とゲイン切換信号34から位置制御出力22を出力し、速度制御手段2は位置制御出力22と速度フィードフォワード出力27との加算値とモータ速度30との差分である速度偏差23とゲイン切換信号34から速度制御出力24を出力し、電流制御手段3は、速度制御出力24とトルクフィードフォワード出力28との加算値であるトルク指令25から電流制御出力26を出力し、速度フィードフォワード手段4は、位置指令20とゲイン切換信号34から速度フィードフォワード出力27を出力し、トルクフィードフォワード手段5は、速度フィードフォワード出力27とゲイン切換信号34からトルクフィードフォワード出力28を出力し、速度検出手段6は、モータ位置29のサンプリング間の差分からモータ速度30を算出し、位置指令速度検出手段7は、位置指令20のサンプリング間の差分から位置指令速度31を算出し、ゲイン切換判定手段8は、位置指令速度31と判定遅延時間32と判定閾値33からゲイン切換信号34を出力し、判定遅延時間設定手段9は判定遅延時間32を設定し、判定閾値設定手段10は判定閾値33を設定するものである。
FIG. 1 is a block diagram of the motor driving apparatus according to the first invention. In FIG. 1, the position control means 1 outputs a
位置制御手段1と速度制御手段2と速度フィードフォワード手段4とトルクフィードフォワード手段5は、内部で2種類の制御ゲインを保有し、ゲイン切換信号34がオフの場合は第1の制御ゲインを適用、オンの場合は第2の制御ゲインを適用するものである。この制御ゲインはパラメータ設定などであらかじめ設定しておく。
The position control means 1, speed control means 2, speed feed forward means 4 and torque feed forward means 5 have two types of control gains internally, and the first control gain is applied when the
ゲイン切換判定手段8では、位置指令速度31の絶対値が0より大になった時点から判定遅延時間32経過後に、そのときの位置指令速度31の絶対値が判定閾値33以下の場合はゲイン切換信号34をオンする。位置指令速度31の絶対値が判定閾値33より大きい場合はゲイン切換信号34は初期状態のオフのままとする。これにより、判定遅延時間32経過後の位置指令速度31が一定値以上にならない場合のみゲイン切換信号34はオフ/オンし、それ以外の場合はゲイン切換信号34はオフのまま、という2つの状態を作り出すことができる。また、ゲイン切換信号34がオンのときに、位置指令速度31の絶対値が0から0より大の変化を検出した場合にはゲイン切換信号34をオフに戻す。
When the absolute value of the position command speed 31 is less than or equal to the
つぎに位置指令距離の違いに対応できるかについて、図2を用いて説明する。図2において、(a)は位置指令距離が短い場合(ショートピッチ)、(b)は位置指令距離が長い場合(ロングピッチ)を示している。それぞれの位置指令速度31は図に示すとおりであり、ショートピッチの場合は三角波指令、ロングピッチの場合は台形波指令になる。判定閾値33をショートピッチ時の最大値に設定し、判定遅延時間32をショートピッチの減速中程度の時間に設定すると、図に示すように、ゲイン切換信号34は、ショートピッチではオフ/オンの変化があり、ロングピッチではオフのままとなる。まずロングピッチに対し、ゲイン切換信号34がオフの状態で適用される制御ゲインを最適化する。その後、ショートピッチに対しては、ゲイン切換信号34がオンの状態で適用される制御ゲインをショートピッチ用に最適化する。このショートピッチ用に最適化した制御ゲインはロングピッチに対しては全く影響を与えないため、独立した最適化を実現できる。また、判定閾値33や判定遅延時間32を微調整することでゲイン切換時の衝撃が少ないタイミング、例えばトルク指令25が0付近、またはモータ速度30付近などで切り換えるよう調整することができる。
Next, it will be described with reference to FIG. 2 whether the difference in position command distance can be accommodated. 2A shows a case where the position command distance is short (short pitch), and FIG. 2B shows a case where the position command distance is long (long pitch). The respective position command speeds 31 are as shown in the figure, and are a triangular wave command for a short pitch and a trapezoidal wave command for a long pitch. When the
なお、判定遅延時間設定手段9や判定閾値設定手段10では、判定遅延時間32や判定閾値33をパラメータ等で可変にしておき、通信や前面パネル操作などから変更できるようにしておくとよい。
In the determination delay time setting means 9 and the determination threshold setting means 10, the
また、位置制御手段1、速度制御手段2、速度フィードフォワード手段4、トルクフィードフォワード手段5にてゲイン切換を行っているが、ゲインを変更したくない部分はゲイン切換信号34がオン/オフどちらでも同じ制御ゲイン設定にしておけばよい。
Further, gain switching is performed by the position control means 1, the speed control means 2, the speed feed forward means 4, and the torque feed forward
また、位置制御手段1内には一般的には位置比例ゲイン、位置積分ゲイン、速度制御手段2内には速度比例ゲイン、速度積分ゲイン、速度フィードフォワード手段4内には、速度フィードフォワードゲイン、速度フィードフォワードフィルタ時定数、トルクフィードフォワード手段5内にはトルクフィードフォワードゲイン、トルクフィードフォワードフィルタ時定数などの各制御ゲインを有し、それぞれにおいてゲイン切換信号34がオン用、オフ用の2種類のゲインをもっておけばよい。これ以外にも制御系に応じて、加速度フィードバックなどの制御手段を付加し、同様にゲイン切換を行えることは明白である。
The position control means 1 generally has a position proportional gain, a position integral gain, the speed control means 2 has a speed proportional gain, a speed integral gain, and the speed feed forward
図3は、第2の発明のモータ駆動装置におけるブロックである。図1に対し、ゲイン切換継続時間35を設定するゲイン切換継続時間設定手段11を付加した形である。
FIG. 3 is a block diagram of the motor drive device of the second invention. 1, a gain switching duration setting means 11 for setting a
基本的な構成は実施例1と同じであり、ここでは相違点のみ説明する。ゲイン切換判定手段8では、位置指令速度31の絶対値が0より大になった時点から判定遅延時間32経過後に、そのときの位置指令速度31の絶対値が判定閾値33以下の場合はゲイン切換信号34をオンする。位置指令速度31の絶対値が判定閾値33より大きい場合はゲイン切換信号34は初期状態のオフのままとする。ゲイン切換信号34がオンになった状態からゲイン切換継続時間35経過後、ゲイン切換信号34をオフする。
The basic configuration is the same as that of the first embodiment, and only the differences will be described here. When the absolute value of the position command speed 31 is less than or equal to the
こうすることにより、図4に示すように、ショートピッチ時に、ゲイン切換信号34がオンしている区間を任意に設定できるようになるため、制御ゲインの最適化の自由度を向上させることができる。
As a result, as shown in FIG. 4, it is possible to arbitrarily set the section in which the
なお、ゲイン切換継続時間設定手段11では、判定遅延時間設定手段9や判定閾値設定手段10と同様に、ゲイン切換継続時間35をパラメータ等で可変にしておき、通信や前面パネル操作などから変更できるようにしておくとよい。
In the gain switching duration setting means 11, the
本発明のモータ駆動装置は、位置決め制御だけでなく、速度制御などにも有用である。 The motor drive device of the present invention is useful not only for positioning control but also for speed control and the like.
1 位置制御手段
2 速度制御手段
3 電流制御手段
4 速度フィードフォワード手段
5 トルクフィードフォワード手段
6 速度検出手段
7 位置指令速度検出手段
8 ゲイン切換判定手段
9 判定遅延時間設定手段
10 判定閾値設定手段
11 ゲイン切換継続時間設定手段
20 位置指令
21 位置偏差
22 位置制御出力
23 速度偏差
24 速度制御出力
25 トルク指令
26 電流制御出力
27 速度フィードフォワード出力
28 トルクフィードフォワード出力
29 モータ位置
30 モータ速度
31 位置指令速度
32 判定遅延時間
33 判定閾値
34 ゲイン切換信号
35 ゲイン切換継続時間
DESCRIPTION OF
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011126978A JP5816812B2 (en) | 2011-06-07 | 2011-06-07 | Motor drive device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011126978A JP5816812B2 (en) | 2011-06-07 | 2011-06-07 | Motor drive device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012253987A JP2012253987A (en) | 2012-12-20 |
JP5816812B2 true JP5816812B2 (en) | 2015-11-18 |
Family
ID=47526226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011126978A Active JP5816812B2 (en) | 2011-06-07 | 2011-06-07 | Motor drive device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5816812B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6118988B2 (en) * | 2013-04-09 | 2017-04-26 | パナソニックIpマネジメント株式会社 | Motor drive device |
JP6806746B2 (en) * | 2018-09-21 | 2021-01-06 | ファナック株式会社 | Motor control device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10161750A (en) * | 1996-11-29 | 1998-06-19 | Toyota Motor Corp | Travel speed control system |
JP2001350525A (en) * | 2000-06-09 | 2001-12-21 | Yaskawa Electric Corp | Positioning servo controller |
JP2003061377A (en) * | 2001-08-17 | 2003-02-28 | Yaskawa Electric Corp | Motor control apparatus with auto-tuning function |
JP3809097B2 (en) * | 2001-11-30 | 2006-08-16 | 松下電器産業株式会社 | Servo motor control device and control method |
-
2011
- 2011-06-07 JP JP2011126978A patent/JP5816812B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012253987A (en) | 2012-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5689704B2 (en) | Motor control device and motor control method | |
JP5762582B1 (en) | Shift range switching device | |
TWI404322B (en) | Motor control unit | |
US20090251093A1 (en) | Motor control apparatus | |
JP5825953B2 (en) | Integrated upsampler and filtering for multi-speed controller of electromechanical flight actuation system | |
KR101916894B1 (en) | Motor control devicde | |
CN111095131A (en) | Servo control method | |
JP5816812B2 (en) | Motor drive device | |
JP4093191B2 (en) | Motor control device and printer | |
KR20170015643A (en) | Method of launching of vehicle with dct | |
EP2752718B1 (en) | Actuator control method and actuator control device | |
US12187576B2 (en) | Drive system and method for controlling a drive system | |
JP5845434B2 (en) | Motor drive device | |
JP2010130778A (en) | Motor controller and quadrant projection compensating adjusting method thereof | |
JP2013141357A (en) | Controller and control method of multiple system motor | |
KR20130013096A (en) | Servo control method for industrial robot | |
JP4973410B2 (en) | Control device for arm drive of construction machinery | |
JP5125283B2 (en) | Electric motor control device and electric motor control program | |
JPH0792702B2 (en) | Control device | |
JP2005328607A (en) | Motor controller | |
JP2006077580A (en) | Electronic governor | |
JP2019122208A (en) | Motor torque control device | |
JP2008027246A (en) | Positioning controller and positioning control method | |
JP2010055470A (en) | Machine controller | |
US11086300B2 (en) | Control method, control device and program recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140606 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20140714 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20141007 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150326 |
|
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: 20150331 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150413 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5816812 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |