JPWO2014112178A1 - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JPWO2014112178A1
JPWO2014112178A1 JP2014557326A JP2014557326A JPWO2014112178A1 JP WO2014112178 A1 JPWO2014112178 A1 JP WO2014112178A1 JP 2014557326 A JP2014557326 A JP 2014557326A JP 2014557326 A JP2014557326 A JP 2014557326A JP WO2014112178 A1 JPWO2014112178 A1 JP WO2014112178A1
Authority
JP
Japan
Prior art keywords
speed
state variable
current
command
feedforward
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
JP2014557326A
Other languages
Japanese (ja)
Other versions
JP5847338B2 (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 JP2014557326A priority Critical patent/JP5847338B2/en
Application granted granted Critical
Publication of JP5847338B2 publication Critical patent/JP5847338B2/en
Publication of JPWO2014112178A1 publication Critical patent/JPWO2014112178A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/32Automatic controllers electric with inputs from more than one sensing element; with outputs to more than one correcting element
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/041Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a variable is automatically adjusted to optimise the performance
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/14Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/42Servomotor, servo controller kind till VSS
    • G05B2219/42155Model
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/06Rotor flux based control involving the use of rotor position or rotor speed sensors
    • H02P21/08Indirect field-oriented control; Rotor flux feed-forward control

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)
  • Feedback Control In General (AREA)

Abstract

高速且つ良好な応答特性を実現するモータ制御装置を得るため、モータ制御装置が、第1の状態変数ξと速度指令Vrとに基づいて第1の状態変数ξの変化分を算出して第1の状態変数ξを更新し、更新後の第1の状態変数ξに基づいて速度フィードフォワードVff及び電流フィードフォワードUffを出力する速度モデル21と、モータ11の実速度Vと速度フィードフォワードVffと電流フィードフォワードUffとに基づいて第2の状態変数ηの変化分を算出して第2の状態変数ηを更新し、モータ11の実速度Vと速度フィードフォワードVffと電流フィードフォワードUffと更新後の第2の状態変数ηとに基づいて電流指令Uを出力する速度制御器33と、電流指令Uを入力として制限後電流指令Usatを出力する電流制限器34と、電流指令Uと制限後電流指令Usatとに基づき、変化分係数αを算出する変化分係数算出部36と、を備える。In order to obtain a motor control device that realizes high-speed and good response characteristics, the motor control device calculates a change amount of the first state variable ξ based on the first state variable ξ and the speed command Vr, and performs the first operation. , The speed model 21 that outputs the speed feedforward Vff and the current feedforward Uff based on the updated first state variable ξ, the actual speed V of the motor 11, the speed feedforward Vff, and the current The second state variable η is calculated based on the feedforward Uff and the second state variable η is updated, and the actual speed V, the speed feedforward Vff, the current feedforward Uff of the motor 11 and the updated state are updated. A speed controller 33 that outputs a current command U based on the second state variable η, and a current limit that outputs a current command Usat after limitation with the current command U as an input Includes a 34, based on the current command U and post-restriction current command USAT, a variation coefficient calculation unit 36 for calculating a variation coefficient alpha, the.

Description

本発明は、モータ制御装置に関する。   The present invention relates to a motor control device.

モータと該モータに連結された機械系を備える制御対象を駆動するモータ制御装置において、制御対象の慣性モーメントや摩擦といった負荷が変化すると、負荷の大きさに基づいて目標位置指令を算出し直さねばならない。そのため、目標位置や負荷の大きさに自動的に適応し、最大トルクによる位置決め指令を自動で生成することが可能な技術開発が進められている。   In a motor control device that drives a control target including a motor and a mechanical system coupled to the motor, if a load such as a moment of inertia or friction of the control target changes, the target position command must be recalculated based on the magnitude of the load. Don't be. For this reason, technological development is being advanced that can automatically adapt to the target position and load size and automatically generate a positioning command with the maximum torque.

このような従来技術として、例えば、特許文献1には、位置偏差と基準値との大小関係によって、最大速度指令、零速度指令及び位置偏差に比例した速度指令を切り替える速度指令発生手段と、アンチワインドアップ機能付き速度制御器と、を備える制御装置が開示されている。特許文献1に開示された技術によれば、前記基準値は、モータの実速度の二乗をモータの最大トルク、制御対象の慣性モーメント及び摩擦から求まる加速度を2倍した値で割った値とし、目標位置を与えるだけで、最大トルクを用いた理想的な速度パターンに従って、高速に位置決めすることが可能であるとされている。   As such a prior art, for example, Patent Document 1 discloses a speed command generating means for switching a maximum speed command, a zero speed command, and a speed command proportional to the position deviation according to the magnitude relationship between the position deviation and a reference value, A control device including a speed controller with a windup function is disclosed. According to the technique disclosed in Patent Document 1, the reference value is a value obtained by dividing the square of the actual speed of the motor by a value obtained by doubling the acceleration obtained from the maximum torque of the motor, the inertial moment and friction of the control target, It is said that it is possible to perform high-speed positioning according to an ideal speed pattern using maximum torque only by giving a target position.

特開2005−160152号公報JP 2005-160152 A

しかしながら、モータと該モータに連結された機械系からなる制御対象を駆動するモータ制御装置において、制御対象の負荷が未知である場合には、制御対象の慣性モーメントがモータの慣性モーメントの1倍から数十倍程度まで対応可能とすることが要求されるところ、上記従来の技術によれば、制御対象の負荷の大きさによって応答特性が変化してしまい、制御対象の負荷の大きさがノミナル値と大きく異なる場合には良好な応答を得ることができないという問題があった。また、速度指令値が最大速度から零速度に切り替わるため、切り替えに伴う過渡変化により応答が悪化する恐れがあるという問題があった。   However, in a motor control device that drives a controlled object composed of a motor and a mechanical system coupled to the motor, if the load of the controlled object is unknown, the inertial moment of the controlled object is less than 1 times the inertial moment of the motor. Where it is required to be able to handle up to several tens of times, according to the above-described conventional technology, the response characteristics change depending on the magnitude of the load to be controlled, and the magnitude of the load to be controlled is a nominal value. There is a problem that a good response cannot be obtained when it is greatly different from the above. Further, since the speed command value is switched from the maximum speed to the zero speed, there is a problem that the response may be deteriorated due to a transient change accompanying the switching.

本発明は、上記に鑑みてなされたものであって、制御対象の慣性モーメントや摩擦といった負荷が未知である、または、負荷の大きさが大きく変化する場合においても、目標位置及び制限速度並びに負荷の大きさに適応した位置指令及び速度指令を自動で生成することが可能な、高速且つ良好な応答特性を実現するモータ制御装置を得ることを目的とする。   The present invention has been made in view of the above, and even when the load such as the moment of inertia and friction of the controlled object is unknown or the magnitude of the load changes greatly, the target position, the speed limit, and the load An object of the present invention is to obtain a motor control device that can automatically generate a position command and a speed command adapted to the size of the motor and realizes a high-speed and good response characteristic.

上述した課題を解決し、目的を達成するために、本発明は、速度指令に基づき、モータと該モータに連結された機械系を備える制御対象を駆動するモータ制御装置であって、1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、前記モータの実速度と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と、前記速度フィードフォワードと、前記電流フィードフォワードと、更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、前記電流指令を入力とし、制限電流値以下の制限後電流指令を出力する電流制限器と、前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行うことを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention is a motor control device that drives a control object including a motor and a mechanical system connected to the motor based on a speed command, and includes one or more The first state variable is calculated based on the first state variable and the speed command, and the first state variable is updated, and the updated first state variable is used as the updated first state variable. A speed model that calculates and outputs a speed feedforward and a current feedforward based on the second speed variable, and a second state variable that is one or more variables based on the actual speed of the motor, the speed feedforward, and the current feedforward And the second state variable is updated, the actual speed of the motor, the speed feedforward, the current feedforward, and the updated second state variable. A speed controller that calculates and outputs a current command based on the state variable, a current limiter that receives the current command as an input and outputs a post-limit current command that is equal to or less than a limit current value, the current command and the post-limit A change coefficient calculation unit that calculates a change coefficient that is a correction coefficient of the change of the first state variable and the second state variable based on a current command, and the speed model includes the first In the calculation of the change amount of the first state variable, correction is performed by multiplying the change amount coefficient, and the speed controller performs correction for multiplying the change amount coefficient in the calculation of the change amount of the second state variable. It is characterized by.

本発明によれば、制御対象の慣性モーメントや摩擦といった負荷が未知である、または、負荷の大きさが大きく変化する場合であっても、目標位置及び速度並びに負荷の大きさに自動で適応した位置指令及び速度指令を自動で生成することが可能な、高速且つ良好な応答特性を実現するモータ制御装置を得ることができるという効果を奏する。   According to the present invention, even if the load such as the moment of inertia and friction of the controlled object is unknown or the load changes greatly, it is automatically adapted to the target position and speed and the load. There is an effect that it is possible to obtain a motor control device capable of automatically generating a position command and a speed command and realizing a high-speed and good response characteristic.

図1は、実施の形態1にかかるモータ制御装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of the motor control device according to the first embodiment. 図2は、実施の形態1にかかる非線形関数で表される電流−トルク特性を示す図である。FIG. 2 is a diagram illustrating a current-torque characteristic represented by a nonlinear function according to the first embodiment. 図3は、実施の形態1にかかる制御対象の負荷慣性比を変化させた場合の仮想時間τ軸上における速度応答を示す図である。FIG. 3 is a diagram illustrating a speed response on the virtual time τ axis when the load inertia ratio of the control target according to the first embodiment is changed. 図4は、実施の形態1にかかる実時間t軸と仮想時間τ軸における速度応答を示す図である。FIG. 4 is a diagram illustrating velocity responses on the real time t-axis and the virtual time τ axis according to the first embodiment. 図5は、実施の形態1にかかる制御対象の負荷慣性比を変化させた場合における速度応答とトルクの応答を示す図である。FIG. 5 is a diagram illustrating a speed response and a torque response when the load inertia ratio of the control target according to the first embodiment is changed. 図6は、実施の形態2にかかるモータ制御装置の構成を示すブロック図である。FIG. 6 is a block diagram of a configuration of the motor control device according to the second embodiment. 図7は、実施の形態2にかかる制御対象の負荷慣性比を変化させた場合における速度応答とトルクの応答を示す図である。FIG. 7 is a diagram illustrating a speed response and a torque response when the load inertia ratio of the control target according to the second embodiment is changed. 図8は、実施の形態1にかかる速度モデルの構成の一例を示すブロック図である。FIG. 8 is a block diagram of an example of the configuration of the speed model according to the first embodiment. 図9は、実施の形態3にかかるモータ制御装置の構成を示すブロック図である。FIG. 9 is a block diagram of a configuration of the motor control device according to the third embodiment.

以下に、本発明にかかるモータ制御装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a motor control device according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、本発明にかかるモータ制御装置の実施の形態1の構成を示すブロック図である。図1に示すモータ制御装置は、制御対象1と、速度モデル21と、速度制御器33と、電流制限器34と、電流制御器35と、変化分係数算出部36と、を備える。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a first embodiment of a motor control device according to the present invention. The motor control device shown in FIG. 1 includes a control object 1, a speed model 21, a speed controller 33, a current limiter 34, a current controller 35, and a change coefficient calculation unit 36.

制御対象1は、モータ11と、モータ11に連結された機械系12と、モータ11の速度を検出する速度検出器13と、を備える。または、速度検出器13に代えて、位置検出器(例えば、エンコーダまたはレゾルバ)が備えられ、位置検出器の出力を微分してモータ11の速度を算出してもよい。または、速度検出器13に代えて、電流検出器が備えられ、電流検出器の出力からモータ11の速度を推定してもよい。速度検出器13は、検出した実速度Vを出力する。   The control target 1 includes a motor 11, a mechanical system 12 connected to the motor 11, and a speed detector 13 that detects the speed of the motor 11. Alternatively, a position detector (for example, an encoder or a resolver) may be provided instead of the speed detector 13, and the speed of the motor 11 may be calculated by differentiating the output of the position detector. Alternatively, a current detector may be provided instead of the speed detector 13, and the speed of the motor 11 may be estimated from the output of the current detector. The speed detector 13 outputs the detected actual speed V.

速度モデル21は、外部より入力される速度指令Vから、下記の式(1)に示される状態方程式を用いて、速度フィードフォワードVff及び電流フィードフォワードUffを算出して出力するモデルである。The speed model 21 is a model that calculates and outputs a speed feed forward V ff and a current feed forward U ff from a speed command V r input from the outside using a state equation represented by the following expression (1). is there.

Figure 2014112178
Figure 2014112178

なお、式(1)における行列Aff,Bff,Cff,Dffは、予め設定された行列であり、変化分係数αは、後述するように変化分係数算出部36によって算出されるものであり、1つ以上の変数である状態変数ξは、速度モデル21の状態変数を表すベクトルである。式(1)の第1式は、状態変数ξの更新演算であり、式(1)の第1式によって状態変数ξの変化分が算出され、これを逐次積分することで、状態変数ξのそれぞれを算出する。Note that the matrices A ff , B ff , C ff , and D ff in Equation (1) are preset matrices, and the variation coefficient α is calculated by the variation coefficient calculation unit 36 as described later. The state variable ξ that is one or more variables is a vector that represents the state variable of the speed model 21. The first expression of the equation (1) is an update operation of the state variable ξ, and the change amount of the state variable ξ is calculated by the first equation of the expression (1). Calculate each.

ここで、α=1とすると、式(1)は、一般的なモデルフォロイング制御と呼ばれる制御方式における速度モデルの状態方程式である。一般的なモデルフォロイング制御と呼ばれる制御方式では、速度モデルによって、外部から入力される速度指令Vから、速度フィードフォワードVff及び電流フィードフォワードUffが算出される。この速度フィードフォワードVffとしては、速度指令Vに対する理想的な応答波形となる信号が出力される。また、電流フィードフォワードUffとしては、速度フィードフォワードVffを微分し、制御対象1の慣性モーメントのノミナル値Jを乗じた信号が出力される。このとき、電流フィードフォワードUffと速度フィードフォワードVffの特性は、制御対象1のノミナルモデルの入出力特性と一致する。行列Aff,Bff,Cff,Dffは、速度モデル21が上述した特性となるように設定される。Here, when α = 1, Equation (1) is a state equation of a speed model in a control method called general model following control. In a control method called general model following control, a speed feedforward V ff and a current feedforward U ff are calculated from a speed command V r input from the outside by a speed model. As the speed feed forward V ff , a signal having an ideal response waveform with respect to the speed command V r is output. Further, as the current feedforward U ff , a signal obtained by differentiating the velocity feedforward V ff and multiplying by the nominal value J n of the moment of inertia of the controlled object 1 is output. At this time, the characteristics of the current feed forward U ff and the speed feed forward V ff are in agreement with the input / output characteristics of the nominal model of the controlled object 1. The matrices A ff , B ff , C ff , and D ff are set so that the speed model 21 has the characteristics described above.

このような特性が得られる速度モデル21の構成の一例を示すブロック図を図8に示す。図8に示す速度モデル21は、積分器211,212と、乗算器213,214,215と、減算器216,217と、を備える。図8において、α=1とすると、速度指令Vから速度フィードフォワードVffまでの入出力特性は線形のローパス特性となり、電流フィードフォワードUffには速度フィードフォワードVffの微分に相当する信号に制御対象1の慣性モーメントのノミナル値Jを乗じた信号が出力される。また、積分器211,212は、積分器への入力信号と変化分係数αとの積を積分変数の変化分とし、前記変化分を各時刻において積分することにより、積分変数の値を計算する。積分器211,212の値をそれぞれξ,ξとすると、図8に示すブロック図の状態方程式は下記の式(2)で表すことができる。よって、行列Aff,Bff,Cff,Dff及び状態変数ベクトルξを下記の式(3)のように設定することで、図8のブロック図の計算式を式(1)で表すことができる。FIG. 8 is a block diagram showing an example of the configuration of the speed model 21 that can obtain such characteristics. The speed model 21 illustrated in FIG. 8 includes integrators 211 and 212, multipliers 213, 214, and 215, and subtractors 216 and 217. In FIG. 8, when α = 1, the input / output characteristics from the speed command V r to the speed feed forward V ff are linear low-pass characteristics, and the current feed forward U ff is a signal corresponding to the differentiation of the speed feed forward V ff. Is multiplied by the nominal value J n of the moment of inertia of the controlled object 1. Further, the integrators 211 and 212 calculate the value of the integration variable by integrating the change at each time as the change of the integration variable, which is the product of the input signal to the integrator and the change coefficient α. . If the values of the integrators 211 and 212 are respectively ξ 1 and ξ 2 , the state equation of the block diagram shown in FIG. 8 can be expressed by the following equation (2). Therefore, by setting the matrices A ff , B ff , C ff , D ff and the state variable vector ξ as shown in the following formula (3), the calculation formula of the block diagram of FIG. 8 is expressed by the formula (1). Can do.

Figure 2014112178
Figure 2014112178

Figure 2014112178
Figure 2014112178

なお、本実施の形態では、速度モデル21が2つの積分器を備える場合、すなわち、速度モデル21の次数が2次の場合について説明したが、これに限定されるものではない。速度モデルの次数は、自然数であればよい。   In the present embodiment, the case where the speed model 21 includes two integrators, that is, the case where the order of the speed model 21 is the second order has been described. However, the present invention is not limited to this. The order of the speed model may be a natural number.

速度制御器33は、速度フィードフォワードVffと実速度Vの差及び電流フィードフォワードUffと、予め設定された定数K(速度比例ゲイン),K(速度積分ゲイン)と、変化分係数αと、から下記の式(4)に示される状態方程式を用いて、電流指令Uを算出して出力する。The speed controller 33 includes a difference between the speed feedforward V ff and the actual speed V, a current feedforward U ff , preset constants K v (speed proportional gain), K i (speed integral gain), and change coefficient. From α, the current command U is calculated and output using the state equation shown in the following equation (4).

Figure 2014112178
Figure 2014112178

ここで、α=1とすると、式(4)は、一般的な速度比例積分(PI)制御を表すことになる。なお、積分変数η(第2の状態変数)は、速度制御器33の積分変数を表すスカラー値である。ただし、本実施の形態のモータ制御装置では、実際の積分変数ηの変化分は、式(1)と同様に、一般的な比例積分演算によって得られた積分変数の変化分に、変化分係数αを乗じて得られた値とする。なお、速度制御器33に例えばローパスフィルタを追加すると、積分変数ηは、比例積分演算の積分変数と、追加したローパスフィルタの演算の状態変数からなるベクトルとなる。   Here, when α = 1, Expression (4) represents general speed proportional integration (PI) control. The integral variable η (second state variable) is a scalar value that represents the integral variable of the speed controller 33. However, in the motor control device of the present embodiment, the actual change amount of the integral variable η is changed to the change amount of the integral variable obtained by a general proportional integration calculation, as in the equation (1). The value obtained by multiplying α. For example, when a low-pass filter is added to the speed controller 33, the integral variable η becomes a vector composed of the integral variable of the proportional integral calculation and the state variable of the added low-pass filter calculation.

電流制限器34は、電流指令Uを入力とし、入力された電流指令Uの絶対値が予め設定された最大電流指令値Umax以下となるように制限後電流指令Usatを出力する。すなわち、入力された電流指令Uの絶対値が最大電流指令値Umax以下である場合には制限後電流指令Usatは入力された電流指令Uに等しく、入力された電流指令Uの絶対値が最大電流指令値Umaxを超えている場合には制限後電流指令Usatは最大電流指令値Umaxとなる。The current limiter 34 receives the current command U and outputs a post-limit current command U sat so that the absolute value of the input current command U is equal to or less than a preset maximum current command value U max . That is, when the absolute value of the input current command U is equal to or less than the maximum current command value U max , the limited current command U sat is equal to the input current command U, and the absolute value of the input current command U is When the maximum current command value U max is exceeded, the post-limit current command U sat becomes the maximum current command value U max .

電流制御器35は、制限後電流指令Usatを入力とし、モータ11の電流iを出力する。The current controller 35 receives the limited current command U sat and outputs the current i of the motor 11.

変化分係数算出部36は、トルク定数乗算器361と、非線形トルクモデル362と、比率演算器363と、を備え、電流指令Uと制限後電流指令Usatとの比率により変化分係数αを算出する。トルク定数乗算器361は、電流指令Uを入力とし、予め設定されたトルク定数Kを乗じてトルク指令Tcmdを算出して出力する。非線形トルクモデル362は、入力される制限後電流指令Usatから、予め設定されたモータ11の電流−トルク特性を用いて、モータ11の実トルクTを算出して出力するモデルである。なお、ここで、非線形トルクモデル362に用いられる電流−トルク特性は、モータ11の磁気飽和及び電圧飽和を考慮した非線形関数で表される。図2は、このような非線形関数(実線)で表される電流−トルク特性を示す図である。比率演算器363は、実トルクTにトルク指令Tcmdの逆数を乗じて変化分係数αを算出して出力する。なお、トルク指令Tcmdが0であるときには、比率演算器363が出力する変化分係数αは1とされる。The variation coefficient calculation unit 36 includes a torque constant multiplier 361, a nonlinear torque model 362, and a ratio calculator 363, and calculates a variation coefficient α based on the ratio of the current command U and the limited current command U sat. To do. The torque constant multiplier 361 receives the current command U, calculates a torque command T cmd by multiplying it by a preset torque constant K t , and outputs it. The non-linear torque model 362 is a model that calculates and outputs the actual torque T of the motor 11 from the input post-restricted current command U sat using a preset current-torque characteristic of the motor 11. Here, the current-torque characteristic used for the nonlinear torque model 362 is expressed by a nonlinear function considering the magnetic saturation and voltage saturation of the motor 11. FIG. 2 is a diagram showing current-torque characteristics represented by such a nonlinear function (solid line). The ratio calculator 363 calculates and outputs the variation coefficient α by multiplying the actual torque T by the reciprocal of the torque command T cmd . When the torque command T cmd is 0, the variation coefficient α output by the ratio calculator 363 is 1.

次に、実施の形態1のモータ制御装置の動作原理を説明する。   Next, the operation principle of the motor control device of the first embodiment will be described.

制御対象1が備える機械系12の剛性が制御対象1を慣性モーメントJの剛体とみなすことが可能な程度に高く、また、電流制御器35による遅れが無視できると仮定すると、制御対象1の電流指令Uから実速度Vまでの動特性は、下記の式(5)の状態方程式で表される。   Assuming that the rigidity of the mechanical system 12 included in the control target 1 is high enough to allow the control target 1 to be regarded as a rigid body of the moment of inertia J and that the delay due to the current controller 35 can be ignored, the current of the control target 1 The dynamic characteristics from the command U to the actual speed V are expressed by the following equation (5).

Figure 2014112178
Figure 2014112178

なお、ここで、g(U)は、電流指令Uの関数であり、電流制限器34による非線形特性及びモータ11の電流−トルク特性を表す。すなわち、g(U)は、実トルクTを表す。   Here, g (U) is a function of the current command U and represents the non-linear characteristic by the current limiter 34 and the current-torque characteristic of the motor 11. That is, g (U) represents the actual torque T.

また、トルク定数乗算器361において用いられるトルク定数Kは、下記の式(6)で表される。Further, the torque constant K t used in the torque constant multiplier 361 is expressed by the following equation (6).

Figure 2014112178
Figure 2014112178

また、変化分係数αは、実トルクT=g(U)にトルク指令Tcmd=K*Uの逆数を乗じて算出された値であることから、変化分係数αは、下記の式(7)で表される。Since the variation coefficient α is a value calculated by multiplying the actual torque T = g (U) by the reciprocal of the torque command T cmd = K t * U, the variation coefficient α is expressed by the following equation ( 7).

Figure 2014112178
Figure 2014112178

ここで、仮想時間τを下記の式(8)で定義する。   Here, the virtual time τ is defined by the following equation (8).

Figure 2014112178
Figure 2014112178

仮想時間τは、その変化率が実時間tの変化率に対して式(8)の逆数を乗じたように、実時間tを伸縮させたものである。仮想時間τ軸上における制御対象1の状態方程式(実時間t軸上では式(5))は、仮想時間τ軸上では、下記の式(9)で表される。   The virtual time τ is obtained by expanding and contracting the real time t so that the rate of change is obtained by multiplying the rate of change of the real time t by the reciprocal of the equation (8). The state equation of the controlled object 1 on the virtual time τ axis (equation (5) on the real time t axis) is expressed by the following equation (9) on the virtual time τ axis.

Figure 2014112178
Figure 2014112178

慣性モーメントJ及びトルク定数Kは定数であるため、式(9)は線形である。Since the moment of inertia J and the torque constant Kt are constants, equation (9) is linear.

同様に、仮想時間τ軸上における速度モデル21の状態方程式は、式(8)の右辺が式(5)の右辺の逆数であるため、仮想時間τ軸上では、下記の式(10)で表される。   Similarly, in the state equation of the velocity model 21 on the virtual time τ axis, since the right side of the equation (8) is the reciprocal of the right side of the equation (5), the following equation (10) is obtained on the virtual time τ axis. expressed.

Figure 2014112178
Figure 2014112178

また、同様に、仮想時間τ軸上における速度制御器33の状態方程式は、仮想時間τ軸上では、下記の式(11)で表される。   Similarly, the state equation of the speed controller 33 on the virtual time τ axis is expressed by the following equation (11) on the virtual time τ axis.

Figure 2014112178
Figure 2014112178

上記の式(9),(10),(11)はすべて線形であり、且つ電流指令Uには制限がない。そのため、仮想時間τ軸上での制御対象1の応答は、電流制限器34における電流制限の影響を受けない。また、仮想時間τ軸上での制御対象1の応答は、モータ11の電流−トルク特性が非線形であることにも影響を受けない。   The above equations (9), (10), and (11) are all linear, and the current command U is not limited. Therefore, the response of the control target 1 on the virtual time τ axis is not affected by the current limit in the current limiter 34. Further, the response of the control object 1 on the virtual time τ axis is not affected by the fact that the current-torque characteristic of the motor 11 is nonlinear.

また、上記説明したように、図1に示すモータ制御装置の制御系は、速度モデル21で所望の応答を生成し、この応答に制御対象1が追従するようにフィードバック制御を行うモデルフォロイング制御を基本としているため、速度制御系の応答特性は、速度モデル21における行列Aff,Bff,Cff,Dffにより、速度制御器33の特性とは独立に設定することが可能である。Further, as described above, the control system of the motor control device shown in FIG. 1 generates a desired response with the speed model 21, and performs model following control in which feedback control is performed so that the controlled object 1 follows this response. Therefore, the response characteristics of the speed control system can be set independently of the characteristics of the speed controller 33 by the matrices A ff , B ff , C ff , and D ff in the speed model 21.

図3は、速度制御器33の誤差抑圧性能が速度モデル21の応答特性と比べて十分に高くなるように(すなわち、速度モデル21の応答特性に対して誤差が抑圧されているといえる程度に)設定した場合における、制御対象1の負荷慣性比(慣性モーメント)を変化させたときの仮想時間τ軸上における速度応答を示す図である。速度制御器33の誤差抑圧性能が速度モデル21の応答特性と比べて十分に高くなるように行列Aff,Bff,Cff,Dff及び定数K,Kを設定すると、制御対象1の慣性モーメントが変化しても応答特性の変化が小さい制御系を実現することができる。FIG. 3 shows that the error suppression performance of the speed controller 33 is sufficiently higher than the response characteristic of the speed model 21 (that is, the error is suppressed with respect to the response characteristic of the speed model 21). FIG. 6 is a diagram illustrating a speed response on the virtual time τ axis when the load inertia ratio (moment of inertia) of the control target 1 is changed in the case of setting. When the matrices A ff , B ff , C ff , D ff and constants K v , K i are set so that the error suppression performance of the speed controller 33 is sufficiently higher than the response characteristics of the speed model 21, the control object 1 Even if the moment of inertia changes, a control system in which the change in response characteristics is small can be realized.

すなわち、制御対象1における慣性モーメントのノミナル値Jと制御対象1の慣性モーメントJとの間に誤差が存在しても、良好な応答が可能である。That is, even if there is an error between the nominal value J n of the inertial moment in the controlled object 1 and the inertial moment J of the controlled object 1, a satisfactory response is possible.

図4は、実時間t軸と仮想時間τ軸における制御対象1の速度応答を示す図である。実時間t軸上における制御対象1の速度応答は、線形の状態方程式である式(9)と式(10)と式(11)と、から求まる仮想時間τ軸上の速度応答を、式(8)で求まる実時間tと仮想時間τとの関係に応じて、時間軸方向に伸張した応答となる。そのため、実時間t軸上での速度応答をオーバーシュートさせないようにするためには、仮想時間τ軸上で速度応答がオーバーシュートしないように速度モデル21及び速度制御器33の動特性を設定すればよい。これは、上記説明した本実施の形態の制御系がアンチワインドアップ効果を含んでいるということであり、速度指令Vにステップ信号として大きな値が入力され、U≧Umaxとなる場合であっても、実速度Vをオーバーシュートさせずに制御することができる。従って、上記のように構成することで、制御対象1の慣性モーメントJが未知である場合(Umaxにおける最大加速度が未知である場合)であっても、速度指令Vに目標速度をステップ信号として入力するだけで、最大加速度による高速な速度応答を実現することができる。FIG. 4 is a diagram illustrating the speed response of the controlled object 1 on the real time t axis and the virtual time τ axis. The speed response of the controlled object 1 on the real time t-axis is expressed by the following formula (9), (10), and (11) that are linear state equations: According to the relationship between the real time t and the virtual time τ obtained in 8), the response is expanded in the time axis direction. Therefore, in order not to overshoot the speed response on the real time t-axis, the dynamic characteristics of the speed model 21 and the speed controller 33 should be set so that the speed response does not overshoot on the virtual time τ axis. That's fine. This means that the control system of the present embodiment described above includes an anti-windup effect, and is a case where a large value is input as a step signal to the speed command V r and U ≧ U max. However, the actual speed V can be controlled without overshooting. Therefore, by configuring as described above, control also subject 1 moment of inertia J is a case where the unknown (if the maximum acceleration at U max is unknown), step signal target speed to the speed command V r It is possible to realize a high speed response by the maximum acceleration.

図5は、制御対象1の負荷慣性比(慣性モーメントJ)を変化させた場合における速度応答(図5(A))とトルクの応答(図5(B))を示す図である。図5(A)及び(B)によると、いずれの場合も、最大トルク(最大加速度)で加速を行っても、実速度Vはオーバーシュートしていない。   FIG. 5 is a diagram illustrating a speed response (FIG. 5A) and a torque response (FIG. 5B) when the load inertia ratio (moment of inertia J) of the control target 1 is changed. According to FIGS. 5A and 5B, in any case, the actual speed V does not overshoot even when acceleration is performed with the maximum torque (maximum acceleration).

以上説明したように、本実施の形態のモータ制御装置では、制御対象の慣性モーメントが未知である、または、負荷の大きさが大きく変化する場合であっても、目標速度が与えられれば、自動的に目標速度及び慣性モーメントに適応した高速且つ良好な速度応答を実現することができる。また、本実施の形態のモータ制御装置では、モータの電流−トルク特性(非線形トルクモデルの特性)の非線形性を補償し、モータの電流−トルク特性が非線形であることによる応答の劣化を防ぐことができる。   As described above, in the motor control device of the present embodiment, even if the inertial moment to be controlled is unknown or the magnitude of the load changes greatly, if the target speed is given, Therefore, it is possible to realize a high speed and good speed response adapted to the target speed and the moment of inertia. Further, in the motor control device of the present embodiment, the non-linearity of the motor current-torque characteristic (non-linear torque model characteristic) is compensated to prevent deterioration of the response due to the non-linearity of the motor current-torque characteristic. Can do.

なお、上記の説明では、制御対象1における摩擦がない場合について説明している。制御対象1に摩擦が生じ、粘性摩擦係数をcとすると、制御対象1の動特性は、下記の式(12)の状態方程式で表される。   In addition, in said description, the case where there is no friction in the control object 1 is demonstrated. If friction occurs in the controlled object 1 and the viscous friction coefficient is c, the dynamic characteristic of the controlled object 1 is expressed by the following equation (12).

Figure 2014112178
Figure 2014112178

摩擦が生じる制御対象1に対しても、摩擦がない場合と同様の制御を行うとすると、仮想時間τ軸での制御対象1は、下記の式(13)の状態方程式で表される。   If the same control as in the case where there is no friction is performed on the control target 1 in which friction occurs, the control target 1 on the virtual time τ axis is represented by the following equation (13).

Figure 2014112178
Figure 2014112178

上記の式(13)は、粘性摩擦係数cが変化分係数αによって変化する線形時変の状態方程式とみることができる。上記説明したように、モデルフォロイング制御における制御系は、制御対象1の誤差と変動の影響を受けにくいため、慣性モーメントJが変動しても応答特性がほとんど変化しないのと同様、摩擦係数が変化しても応答特性はほとんど変化しない。そのため、本実施の形態のモータ制御装置は、摩擦の影響をほとんど受けず、目標速度を与えるのみで高速且つ良好な速度応答を実現することができる。   The above equation (13) can be regarded as a linear time-varying state equation in which the viscous friction coefficient c varies with the variation coefficient α. As described above, since the control system in the model following control is not easily affected by the error and fluctuation of the controlled object 1, the friction coefficient is the same as the response characteristic hardly changes even when the inertia moment J fluctuates. Even if it changes, the response characteristic hardly changes. Therefore, the motor control device according to the present embodiment is hardly affected by friction and can realize a high speed and good speed response only by giving a target speed.

なお、慣性モーメントJ及び粘性摩擦係数cが予め設定されている場合には、変化分係数算出部36において変化分係数αを下記の式(14)により算出することもできる。   When the moment of inertia J and the viscous friction coefficient c are set in advance, the variation coefficient calculation unit 36 can also calculate the variation coefficient α by the following equation (14).

Figure 2014112178
Figure 2014112178

このとき、上記式(8)に代えて仮想時間τを下記の式(15)で定義する。   At this time, the virtual time τ is defined by the following equation (15) instead of the above equation (8).

Figure 2014112178
Figure 2014112178

すると、仮想時間τ軸上での制御対象1の状態方程式は、下記の式(16)で表される。   Then, the state equation of the control target 1 on the virtual time τ axis is expressed by the following equation (16).

Figure 2014112178
Figure 2014112178

上記の式(16)は、上記の式(13)とは異なり、状態方程式を、変化分係数αを含まない線形時不変の状態方程式とみることができる。このように、変化分係数算出部36において算出される変化分係数αの算出方法は、上記に限定されず、様々な方法を適用することができる。   Unlike the above equation (13), the above equation (16) can be regarded as a linear time-invariant state equation that does not include the variation coefficient α. Thus, the calculation method of the variation coefficient α calculated by the variation coefficient calculation unit 36 is not limited to the above, and various methods can be applied.

なお、上記では、連続時間の状態方程式を用いて説明しているが、離散時間の場合でも同様に各サンプリング時刻の状態変数の前サンプリング時刻との変化分を従来の状態変数の更新演算で求めた値のα倍とすることで、上記の特性を実現することができる。   In the above description, the state equation of the continuous time is used. However, even in the case of the discrete time, the change from the previous sampling time of the state variable at each sampling time is similarly obtained by the conventional update operation of the state variable. The above characteristics can be realized by setting the value to α times the value obtained.

なお、モータ11の電流−トルク特性の非線形性が無視できるほど小さく、または、そのような非線形性を無視できる範囲においてのみ動作させる場合には、変化分係数算出部36にトルク定数乗算器361及び非線形トルクモデル362を設けずに、比率演算器363に電流指令Uと制限後電流指令Usatとを入力すればよい。このような構成とすることで、電流制限器34における電流指令の制限値である最大電流指令値Umaxによる非線形性のみが考慮されることになる。Note that when the non-linearity of the current-torque characteristic of the motor 11 is so small that it can be ignored, or when the operation is performed only in a range where such non-linearity can be ignored, the torque coefficient multiplier 361 and The current command U and the limited current command U sat may be input to the ratio calculator 363 without providing the nonlinear torque model 362. By adopting such a configuration, only the non-linearity due to the maximum current command value U max that is the limit value of the current command in the current limiter 34 is considered.

なお、速度制御器33にローパスフィルタや機械の共振を抑制するノッチフィルタが設けられている場合に、電流飽和が発生してもそれらのフィルタには誤差は蓄積されないため、それらフィルタの状態変数の変化分には変化分係数αを乗じなくてよい。特にノッチフィルタでは、状態変数の変化分に変化分係数αを乗じると機械の共振周波数に応じて設定するノッチ周波数が変化するため、変化分係数αを乗じなくてもよい。   If the speed controller 33 is provided with a low-pass filter or a notch filter that suppresses mechanical resonance, even if current saturation occurs, no error is accumulated in these filters. The change need not be multiplied by the change coefficient α. In particular, in the notch filter, when the change of the state variable is multiplied by the change coefficient α, the notch frequency set according to the resonance frequency of the machine changes, and therefore, the change coefficient α need not be multiplied.

以上説明したように、本実施の形態のモータ制御装置は、速度指令に基づき、モータと該モータに連結された機械系を備える制御対象を駆動するモータ制御装置であって、1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、前記モータの実速度と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と前記速度フィードフォワードと前記電流フィードフォワードと更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、前記電流指令を入力とし、制限電流値以下の制限後電流指令を出力する電流制限器と、前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行うことを特徴とする。   As described above, the motor control device of the present embodiment is a motor control device that drives a control target including a motor and a mechanical system coupled to the motor based on a speed command, and includes one or more variables. The change of the first state variable is calculated based on the first state variable and the speed command, and the first state variable is updated. Based on the updated first state variable A speed model that calculates and outputs a speed feedforward and a current feedforward, and a change in a second state variable that is one or more variables based on the actual speed of the motor, the speed feedforward, and the current feedforward The second state variable is calculated and the second state variable is updated, the actual speed of the motor, the speed feedforward, the current feedforward, and the updated second state variable. A speed controller that calculates and outputs a current command based on the current command, a current limiter that receives the current command as input and outputs a post-restricted current command that is equal to or less than a limit current value, the current command and the post-restricted current command And a variation coefficient calculation unit that calculates a variation coefficient that is a correction coefficient for the variation of the first state variable and the second state variable, and the velocity model includes the first state variable In the calculation of the change amount of the variable, correction is performed by multiplying by the change amount coefficient, and in the calculation of the change amount of the second state variable, the speed controller performs correction by multiplying by the change amount coefficient. To do.

実施の形態2.
図6は、本発明にかかるモータ制御装置の実施の形態2の構成を示すブロック図である。ここで、実施の形態1と同様の機能を有する構成要素は、同一の符号を付して説明を省略する。図6に示すモータ制御装置は、制御対象1aと、速度モデル21を含む位置モデル2と、位置制御器31と、微分器32と、速度制御器33と、電流制限器34と、電流制御器35と、変化分係数算出部36と、慣性モーメント推定部37と、減速度算出部38と、最大速度設定部39と、を備える。
Embodiment 2. FIG.
FIG. 6 is a block diagram showing the configuration of the second embodiment of the motor control apparatus according to the present invention. Here, constituent elements having the same functions as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted. The motor control device shown in FIG. 6 includes a control object 1a, a position model 2 including a speed model 21, a position controller 31, a differentiator 32, a speed controller 33, a current limiter 34, and a current controller. 35, a change coefficient calculation unit 36, an inertia moment estimation unit 37, a deceleration calculation unit 38, and a maximum speed setting unit 39.

制御対象1aは、モータ11と、モータ11に連結された機械系12と、モータ11の位置を検出する位置検出器14と、を備える。位置検出器14としては、例えば、エンコーダまたはレゾルバを用いればよい。   The control target 1 a includes a motor 11, a mechanical system 12 connected to the motor 11, and a position detector 14 that detects the position of the motor 11. For example, an encoder or a resolver may be used as the position detector 14.

位置モデル2は、速度モデル21と、速度指令算出部22と、積分器23と、を備える。   The position model 2 includes a speed model 21, a speed command calculation unit 22, and an integrator 23.

速度指令算出部22には、残距離e(目標位置Xと位置フィードフォワードXffとの偏差)、予め設定された最大速度Vmax、及び後述するように減速度算出部38によって算出された減速度Adecが入力され、速度指令Vを出力する。なお、最大速度Vmaxは、最大速度設定部39によって設定される。The speed command calculator 22, (the difference between the target position X r and the position feedforward X ff) remaining distance e, which is calculated by the deceleration calculation unit 38 to the maximum velocity V max, and described below a preset The deceleration A dec is input, and the speed command V r is output. The maximum speed V max is set by the maximum speed setting unit 39.

速度モデル21は、速度指令Vを入力とし、実施の形態1と同様に、速度フィードフォワードVff及び電流フィードフォワードUffを算出して出力するモデルである。The speed model 21 is a model that receives the speed command V r and calculates and outputs the speed feed forward V ff and the current feed forward U ff as in the first embodiment.

積分器23は、速度モデル21から出力されて入力される速度フィードフォワードVffを積分して、位置フィードフォワードXffを出力する。The integrator 23 integrates the velocity feedforward V ff output from the velocity model 21 and outputs the position feedforward Xff .

位置制御器31は、積分器23から出力された位置フィードフォワードXffと位置検出器14で検出された実位置Xとの偏差を入力とし、予め設定された位置ゲインを用いて速度補正量Vを出力する。The position controller 31, the deviation of the actual position X is detected as a position feedforward X ff output from the integrator 23 at a position detector 14 as an input, the speed correction amount using the position gain set in advance V c is output.

微分器32は、実位置Xを微分して、実速度Vを出力する。   The differentiator 32 differentiates the actual position X and outputs an actual speed V.

速度制御器33は、速度フィードフォワードVffと速度補正量Vの和と実速度Vとの差、及び電流フィードフォワードUffを入力とし、実施の形態1と同様に、電流指令Uを出力する。Speed controller 33, the difference between the sum and the actual speed V of the velocity feed forward V ff and the speed correction amount V c, and inputs the current feedforward U ff, as in the first embodiment, the output current command U To do.

電流制限器34、電流制御器35、及び変化分係数算出部36は、実施の形態1と同様である。   The current limiter 34, the current controller 35, and the variation coefficient calculation unit 36 are the same as those in the first embodiment.

慣性モーメント推定部37は、電流制御器35が出力した電流iと実位置Xまたは実速度Vを入力とし、制御対象1aの慣性モーメント推定値Jhatを出力する。慣性モーメント推定値Jhatは、例えば、実位置Xを二階微分または実速度Vを一階微分して算出した加速度と電流iを用いて逐次的に推定を行うことで算出すればよい。The inertia moment estimator 37 receives the current i output from the current controller 35 and the actual position X or the actual speed V, and outputs the estimated inertia moment J hat of the controlled object 1a. The inertia moment estimated value J hat may be calculated, for example, by successively estimating using the acceleration and current i calculated by second-order differentiation of the actual position X or first-order differentiation of the actual speed V.

減速度算出部38は、慣性モーメント推定値Jhatを入力とし、予め設定された最大電流Umaxから算出される最大トルクTmaxを用いて、減速度Adecを算出して出力する。減速度Adecは下記の式(17)によって算出される。The deceleration calculation unit 38 receives the estimated inertia moment value J hat and calculates and outputs the deceleration A dec using the maximum torque T max calculated from the preset maximum current U max . The deceleration A dec is calculated by the following equation (17).

Figure 2014112178
Figure 2014112178

ここで、上記の式(17)における定数γは、予め設定された1以下の正の定数であり、減速時のトルクを最大トルクよりも小さくするために概ね0.8〜0.9とする。また、制御対象1aの摩擦の大きさが予め設定されている場合には、摩擦を考慮して、減速度Adecを上記の式(17)によって算出される値よりも大きくすることも可能である。Here, the constant γ in the above equation (17) is a positive constant that is set to 1 or less in advance, and is approximately 0.8 to 0.9 in order to make the torque during deceleration smaller than the maximum torque. . In addition, when the magnitude of the friction of the control object 1a is set in advance, the deceleration A dec can be made larger than the value calculated by the above equation (17) in consideration of the friction. is there.

ここで、速度指令算出部22の動作について説明する。速度指令算出部22は、PTOS(Proximate Time−Optimal Servomechanism)法と呼ばれる制御方式の目標速度関数を用いる。この目標速度関数は、下記の式(18)〜(20)で表される。なお、eは、目標位置Xと位置フィードフォワードXffとの残距離である。Here, the operation of the speed command calculation unit 22 will be described. The speed command calculation unit 22 uses a target speed function of a control method called a PTOS (Proximate Time-Optical Servo mechanism) method. This target speed function is expressed by the following equations (18) to (20). Note that e is the remaining distance between the target position Xr and the position feedforward Xff .

Figure 2014112178
Figure 2014112178

Figure 2014112178
Figure 2014112178

Figure 2014112178
Figure 2014112178

このような目標速度関数を用いると、残距離eに応じて目標速度関数が連続的に切り替わるため、過渡応答を悪化させずに速度指令Vの切り替えを行うことができる。When such a target speed function is used, the target speed function is continuously switched according to the remaining distance e, so that the speed command V r can be switched without deteriorating the transient response.

次に、実施の形態2のモータ制御装置の動作を説明する。   Next, the operation of the motor control device according to the second embodiment will be described.

現在の実位置Xから十分に離れた目標位置Xが設定されると、式(19)より速度指令算出部22は最大速度Vmaxを出力し、速度指令Vは、0からVmaxに切り替わる。すると、この制御系は速度ループに実施の形態1の速度制御系と同等の制御系を含むため、電流制限やモータ11の電流−トルク特性の非線形性に自動で対応し、高速且つ良好に応答してモータ11の実速度Vは最大速度Vmaxまで加速される。When the target position X r where sufficiently distant from the current actual position X is set, the speed command calculation unit 22 from the equation (19) outputs a maximum speed V max, the speed command V r is from 0 V max Switch. Then, since this control system includes a control system equivalent to the speed control system of the first embodiment in the speed loop, it automatically responds to the current limitation and the nonlinearity of the current-torque characteristics of the motor 11 and responds quickly and satisfactorily. actual speed V of the motor 11 is accelerated to the maximum velocity V max by.

このとき、加速中に電流飽和が発生すると、速度フィードフォワードVffの応答は、変化分係数αによって自動で調整されている。そのため、速度フィードフォワードVffを積分した位置フィードフォワードXffも同様に、電流飽和に対して自動で調整された応答となる。また、加速中に慣性モーメント推定部37が制御対象1aの慣性モーメントを推定し、速度指令算出部22に入力される減速度Adecは、上記の式(17)によって設定される。At this time, if current saturation occurs during acceleration, the response of the speed feedforward V ff is automatically adjusted by the variation coefficient α. Therefore, the position feed forward X ff obtained by integrating the speed feed forward V ff is also a response that is automatically adjusted with respect to the current saturation. Further, the inertia moment estimation unit 37 estimates the inertia moment of the controlled object 1a during acceleration, and the deceleration A dec input to the speed command calculation unit 22 is set by the above equation (17).

残距離eが減少すると、速度指令算出部22の目標速度関数V’が式(18)の第1の式に切り替わる。そのため、速度指令Vは減速度Adecで一定減速する。この間、モータ11の実速度Vも減速度Adecで減速される。減速度Adecの値が制御対象1aの慣性モーメント推定値Jhatによって設定されているため、モータ11で発生可能なトルクを最大まで使用した理想的な減速応答を実現することができる。When the remaining distance e decreases, the target speed function V r ′ of the speed command calculation unit 22 is switched to the first expression of Expression (18). Therefore, the speed command Vr is decelerated at a constant speed Adec . During this time, the actual speed V of the motor 11 is also decelerated at the deceleration A dec . Since the value of the deceleration A dec is set by the inertia moment estimated value J hat of the controlled object 1a, an ideal deceleration response using the torque that can be generated by the motor 11 to the maximum can be realized.

最後に、残距離eが上記の式(20)によって算出されるe以下になると、速度指令算出部22の目標速度関数V’は上記の式(18)の第2の式に切り替わり、目標速度関数V’(速度指令V)は、残距離eに比例する。このとき、位置モデル2の全体が線形となるため、位置フィードフォワードXffは目標位置Xに滑らかに収束する。位置制御器31により、位置フィードフォワードXffと実位置Xの誤差は抑制されるので、実位置Xも目標位置Xに滑らかに整定される。Finally, when the remaining distance e becomes equal to or less than el calculated by the above equation (20), the target velocity function V r ′ of the velocity command calculating unit 22 is switched to the second equation of the above equation (18), The target speed function V r ′ (speed command V r ) is proportional to the remaining distance e. At this time, since the whole position model 2 is linear, the position feedforward X ff is smoothly converged to the target position X r. The position controller 31, the error of the position feedforward X ff and the actual position X so is suppressed, the actual position X is also smoothly settled at the target position X r.

以上説明したように、本実施の形態のモータ制御装置では、目標位置Xの入力のみで、速度応答が理想的な台形波形となるように位置フィードフォワードXff、速度フィードフォワードVff、及び電流フィードフォワードUffが自動生成され、高速且つ良好な位置決め応答を実現することができる。As described above, the motor control device of the present embodiment, only the input of the target position X r, the position so that the velocity response is an ideal trapezoidal waveform feedforward X ff, velocity feedforward V ff, and The current feedforward U ff is automatically generated, and a high-speed and good positioning response can be realized.

本実施の形態では、実施の形態1にて説明した構成による速度制御系を有しているため、従来のPTOS制御法と比較して、例えば制御対象1aの負荷の変動や電流制限といった非線形性に対してロバストな制御が可能である。また、従来のPTOS制御法では減速度Adecが固定されていたが、本実施の形態では制御対象1aの慣性モーメント推定値Jhatによって減速度Adecが動的に設定されるため、制御対象1aの負荷の大きさが未知の場合でも、加速、減速ともに理想的な応答を得ることができる。In the present embodiment, since the speed control system having the configuration described in the first embodiment is included, compared to the conventional PTOS control method, for example, non-linearity such as load fluctuation or current limitation of the controlled object 1a. Robust control is possible. Further, although the deceleration A dec is fixed in the conventional PTOS control method, the deceleration A dec is dynamically set by the inertia moment estimated value J hat of the controlled object 1a in the present embodiment. Even when the magnitude of the load 1a is unknown, an ideal response can be obtained for both acceleration and deceleration.

また、移動距離が小さい場合でも、残距離eに応じた速度指令Vが算出され、速度指令Vと速度フィードフォワードVffの大小によって、加速と減速の切り替えが自動でなされるため、速度応答が理想的な三角波形となるように位置フィードフォワードXff,速度フィードフォワードVff,電流フィードフォワードUffが自動で生成される。Even when the moving distance is small, the speed command V r corresponding to the remaining distance e is calculated, and acceleration and deceleration are automatically switched depending on the magnitude of the speed command V r and the speed feed forward V ff. Position feedforward X ff , velocity feedforward V ff , and current feedforward U ff are automatically generated so that the response has an ideal triangular waveform.

図7は、制御対象1aの負荷慣性比(慣性モーメントJ)を変化させた場合における速度応答(図7(A))とトルクの応答(図7(B))を示す図である。図7によると、いずれの場合も、理想的な速度パターンによる高速な位置決めが可能である。   FIG. 7 is a diagram showing a speed response (FIG. 7A) and a torque response (FIG. 7B) when the load inertia ratio (moment of inertia J) of the controlled object 1a is changed. According to FIG. 7, in any case, high-speed positioning with an ideal speed pattern is possible.

以上説明したように、本実施の形態のモータ制御装置では、制御対象の負荷の大きさが未知である、または、負荷の大きさが大きく変化する場合であっても、目標位置が与えられれば、自動的に目標位置及び制御対象の負荷の大きさに適応した高速且つ良好な位置決めを実現することができる。   As described above, in the motor control device of the present embodiment, if the target load is given even if the magnitude of the load to be controlled is unknown or the magnitude of the load changes greatly. In addition, it is possible to realize high-speed and good positioning that is automatically adapted to the target position and the size of the load to be controlled.

なお、本実施の形態では、目標位置が与えられると自動的に位置決め制御を行うことが可能な制御系について説明しているが、これに限定されず、本実施の形態は、時系列(例えばパルス列)で与えられる位置指令に対して追従制御を行う制御系にも適用することができる。この場合には、速度指令算出部22は、残距離eによらず、残距離eに比例した速度指令Vを出力するように設定する。また、このような制御系では、電流飽和していない状況では、一般的なモデルフォロイング制御と呼ばれる制御方式による位置制御と一致するため、与えられた位置指令Xに追従するようにモータ11の実位置Xが制御される。一方、電流飽和が発生した場合には、変化分係数αにより速度モデル21と速度制御器33の双方が補償されるため、アンチワインドアップ効果を得ることができ、例えばオーバーシュートのように不安定な応答をさせずに制御することができる。In this embodiment, a control system capable of automatically performing positioning control when a target position is given is described. However, the present embodiment is not limited to this, and this embodiment is a time series (for example, The present invention can also be applied to a control system that performs follow-up control with respect to a position command given by a pulse train). In this case, the speed command calculation unit 22, regardless of the remaining distance e, is set to output a speed command V r which is proportional to the remaining distance e. Further, in such a control system, in a situation where no current saturation, in order to coincide with the position control of the control system called general model following control, so as to follow the given position command X r motor 11 The actual position X is controlled. On the other hand, when current saturation occurs, both the speed model 21 and the speed controller 33 are compensated for by the variation coefficient α, so that an anti-windup effect can be obtained and unstable, for example, overshoot. It is possible to control without causing a response.

以上説明したように、本実施の形態のモータ制御装置は、位置指令に基づき、モータを備える制御対象を駆動するモータ制御装置であって、前記位置指令と位置フィードフォワードとの偏差に基づき速度指令を出力する速度指令算出部と、1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、前記速度フィードフォワードを積分し前記位置フィードフォワードを出力する積分器と、前記モータの実位置と前記位置フィードフォワードとの差分に基づき速度補正量を出力する位置制御器と、前記モータの実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードと更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、前記電流指令を入力とし、制限電流値以下の制限後電流指令を出力する電流制限器と、前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行うことを特徴とする。   As described above, the motor control device according to the present embodiment is a motor control device that drives a control target including a motor based on a position command, and a speed command based on a deviation between the position command and the position feedforward. The speed command calculation unit for outputting the first state variable, the first state variable that is one or more variables, and the speed command to calculate a change amount of the first state variable and update the first state variable A speed model that calculates and outputs a speed feedforward and a current feedforward based on the updated first state variable, an integrator that integrates the speed feedforward and outputs the position feedforward, A position controller that outputs a speed correction amount based on the difference between the actual position of the motor and the position feedforward; the actual speed of the motor and the speed correction amount; Based on the speed feedforward and the current feedforward, a change in the second state variable that is one or more variables is calculated to update the second state variable, and the actual speed of the motor A speed controller that calculates and outputs a current command based on a speed correction amount, the speed feedforward, the current feedforward, and the updated second state variable; and the current command as an input, and a current limit value A change amount that is a correction coefficient for a change amount of the first state variable and the second state variable based on the current limiter that outputs the following limited current command and the current command and the limited current command. A change coefficient calculation unit that calculates a coefficient, wherein the speed model performs correction by multiplying the change coefficient in calculating the change of the first state variable, and the speed controller In the calculation of the change of the second state variable, and it performs the correction by multiplying the variation coefficient.

実施の形態3.
図9は、本発明にかかるモータ制御装置の実施の形態3の構成を示すブロック図である。図9において、図1,6と同様の機能を有する構成要素には、同一の符号を付して説明を省略する。
Embodiment 3 FIG.
FIG. 9 is a block diagram showing the configuration of the third embodiment of the motor control apparatus according to the present invention. In FIG. 9, components having the same functions as those in FIGS.

図9に示すモータ制御装置は、制御対象1aと、位置モデル2bと、位置制御器31と、微分器32と、速度制御器33と、電流制限器34と、電流制御器35と、変化分係数算出部36と、慣性モーメント推定部37と、減速度算出部38と、最大速度設定部39と、モデル補正部40と、切り替えスイッチ41と、を備える。すなわち、図9に示すモータ制御装置は、図6に示すモータ制御装置にモデル補正部40及び切り替えスイッチ41を追加したものである。   The motor control device shown in FIG. 9 includes a control object 1a, a position model 2b, a position controller 31, a differentiator 32, a speed controller 33, a current limiter 34, a current controller 35, and a change amount. A coefficient calculation unit 36, an inertia moment estimation unit 37, a deceleration calculation unit 38, a maximum speed setting unit 39, a model correction unit 40, and a changeover switch 41 are provided. That is, the motor control device shown in FIG. 9 is obtained by adding a model correction unit 40 and a changeover switch 41 to the motor control device shown in FIG.

なお、本実施の形態では、電流制限器34は、電流制限の有無を出力する構成を有する。また、積分器23には、速度モデル21から出力される速度フィードフォワードVffと切り替えスイッチ41の出力信号の偏差が入力される。In the present embodiment, the current limiter 34 has a configuration for outputting the presence or absence of current limitation. Further, the integrator 23 receives a deviation between the speed feedforward V ff output from the speed model 21 and the output signal of the changeover switch 41.

モデル補正部40は、積分器23から出力された位置フィードフォワードXffと位置検出器14で検出された実位置Xとの偏差(誤差信号)を位置制御器31と同様に入力とし、これに対して予め設定されたモデル補正ゲインWmを乗じたモデル補正信号を出力する。出力されたモデル補正信号は、切り替えスイッチ41に入力されている。Model correction section 40, the deviation between the actual position X detected by a position feedforward X ff and the position detector 14 output from the integrator 23 (error signal) similarly to type position controller 31, to A model correction signal obtained by multiplying a preset model correction gain Wm is output. The output model correction signal is input to the changeover switch 41.

切り替えスイッチ41は、電流制限器34が出力する電流制限の有無によって接続または非接続とする構成である。電流制限器34において電流制限が発生しているときには切り替えスイッチ41は接続とし、電流制限が発生していないときには切り替えスイッチ41は非接続とする。換言すると、切り替えスイッチ41は、電流指令Uの大きさが制限電流値を越えているときに接続とし、電流指令Uの大きさが制限電流値以下であるときに非接続とする。   The changeover switch 41 is configured to be connected or disconnected depending on whether or not the current limiter 34 outputs a current limit. When the current limiter 34 generates a current limit, the changeover switch 41 is connected. When the current limiter does not occur, the changeover switch 41 is disconnected. In other words, the changeover switch 41 is connected when the magnitude of the current command U exceeds the limit current value, and is disconnected when the magnitude of the current command U is equal to or less than the limit current value.

切り替えスイッチ41が接続状態であるときには、切り替えスイッチ41の出力はモデル補正信号であり、非接続状態であるときには、切り替えスイッチ41の出力は0である。   When the changeover switch 41 is in the connected state, the output of the changeover switch 41 is a model correction signal, and when it is in the disconnected state, the output of the changeover switch 41 is 0.

切り替えスイッチ41の出力により、積分器23は、速度フィードフォワードVffとモデル補正信号の偏差を積分して、位置フィードフォワードXffを出力する。By the output of the changeover switch 41, the integrator 23 integrates the deviation between the speed feedforward Vff and the model correction signal, and outputs a position feedforward Xff .

次に、実施の形態3のモータ制御装置の動作を説明する。   Next, the operation of the motor control apparatus according to the third embodiment will be described.

まず、現在の実位置Xから十分に離れた目標位置Xが設定されると、実施の形態2にて式(19)を参照して説明したように、速度指令算出部22は最大速度Vmaxを出力し、速度指令Vは、0からVmaxに切り替わり、モータ11の実速度Vは最大速度Vmaxまで加速される。First, when the target position Xr sufficiently separated from the current actual position X is set, the speed command calculation unit 22 determines the maximum speed V as described with reference to the equation (19) in the second embodiment. outputs max, the speed command V r is switched from 0 to V max, the actual speed V of the motor 11 is accelerated to the maximum velocity V max.

このとき、加速中に電流飽和が発生すると、切り替えスイッチ41が接続状態となり、積分器23、モデル補正部40及び切り替えスイッチ41によりフィードバックループが形成される。このフィードバックループの状態方程式は、下記の式(21)で表される。   At this time, when current saturation occurs during acceleration, the changeover switch 41 is connected, and a feedback loop is formed by the integrator 23, the model correction unit 40, and the changeover switch 41. The state equation of the feedback loop is expressed by the following equation (21).

Figure 2014112178
Figure 2014112178

モデル補正ゲインWmをオブザーバゲインとすると、上記の式(21)は、状態オブザーバの式と同様になっており、積分器23、モデル補正部40及び切り替えスイッチ41により形成されたフィードバックループは、位置フィードフォワードXffと実位置Xとの誤差が減少するように位置フィードフォワードXffを補正する。When the model correction gain Wm is an observer gain, the above equation (21) is the same as the state observer equation, and the feedback loop formed by the integrator 23, the model correction unit 40, and the changeover switch 41 is the position. The position feedforward Xff is corrected so that the error between the feedforward Xff and the actual position X decreases.

実施の形態2にて説明したように図6に示すモータ制御装置では、電流飽和が発生しているときに変化分係数αにより速度モデル21の動作が補正されている。このように速度モデル21の動作が補正されると、位置モデル2と制御対象1aとの応答の乖離が抑制され、電流飽和が発生しても良好な応答を得ることができる。   As described in the second embodiment, in the motor control device shown in FIG. 6, the operation of the speed model 21 is corrected by the variation coefficient α when the current saturation occurs. When the operation of the speed model 21 is corrected in this way, a difference in response between the position model 2 and the controlled object 1a is suppressed, and a good response can be obtained even when current saturation occurs.

本実施の形態における図9に示すモータ制御装置では、モデル補正部40により位置フィードフォワードXffと実位置Xとの誤差も補正されるので、電流飽和が発生しているときの位置モデルと制御対象1aとの応答の乖離はさらに抑制される。従って、電流飽和に対して実施の形態2よりもさらにロバストな制御を実現することができる。In the motor control device shown in FIG. 9 in the present embodiment, the model correction unit 40 also corrects the error between the position feedforward Xff and the actual position X, so that the position model and control when current saturation occurs are controlled. The deviation of the response with the object 1a is further suppressed. Therefore, more robust control than that of the second embodiment can be realized with respect to current saturation.

さらには、電流飽和していない状況では、切り替えスイッチ41が非接続状態となるため、一般的なモデルフォロイング制御と呼ばれる制御方式による位置制御と一致し、制御対象のばらつきや外乱に対してロバストな制御を実現することができる。   Furthermore, since the changeover switch 41 is not connected in a state where the current is not saturated, it coincides with position control by a control method called general model following control, and is robust against variations in control objects and disturbances. Can be realized.

以上説明したように、本実施の形態のモータ制御装置は、位置指令に基づき、モータを備える制御対象を駆動するモータ制御装置であって、前記位置指令と位置フィードフォワードとの偏差に基づき速度指令を出力する速度指令算出部と、1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、前記モータの実位置の前記位置フィードフォワードとの差分に基づきモデル補正信号を出力するモデル補正部と、前記モデル補正信号を入力とし、接続状態では前記モデル補正信号を出力し、非接続状態では零信号を出力する切り替えスイッチと、前記速度フィードフォワードと前記切り替えスイッチの出力信号の偏差を積分し前記位置フィードフォワードを出力する積分器と、前記モータの実位置と前記位置フィードフォワードとの差分に基づき速度補正量を出力する位置制御器と、前記モータの実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードと更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、前記電流指令を入力とし、前記電流指令の大きさを制限電流値以下に制限した制限後電流指令を出力する電流制限器と、前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、前記切り替えスイッチは、前記電流指令の大きさが前記制限電流値を越えているときに接続とし、前記電流指令の大きさが前記制限電流値以下であるときに非接続とすることを特徴とする。   As described above, the motor control device according to the present embodiment is a motor control device that drives a control target including a motor based on a position command, and a speed command based on a deviation between the position command and the position feedforward. The speed command calculation unit for outputting the first state variable, the first state variable that is one or more variables, and the speed command to calculate a change amount of the first state variable and update the first state variable And a model correction signal based on a difference between a speed model that calculates and outputs a speed feedforward and a current feedforward based on the updated first state variable, and the position feedforward of the actual position of the motor. A model correction unit for outputting and a switching switch for inputting the model correction signal, outputting the model correction signal in a connected state, and outputting a zero signal in a disconnected state. A speed correction amount based on the difference between the actual position of the motor and the position feedforward, and an integrator that integrates the deviation of the output signals of the speed feedforward and the changeover switch and outputs the position feedforward. Based on the output position controller, the actual speed of the motor, the speed correction amount, the speed feed forward, and the current feed forward, a change amount of a second state variable that is one or more variables is calculated. The second state variable is updated, and a current command is calculated based on the actual speed of the motor, the speed correction amount, the speed feedforward, the current feedforward, and the updated second state variable. Output the speed controller and the current command as an input, and the current command after the limit that limits the magnitude of the current command to the limit current value or less. A variation coefficient for calculating a variation coefficient that is a correction coefficient for a variation of the first state variable and the second state variable based on the current limiter to be applied, and the current command and the post-limit current command A calculation unit, wherein the speed model performs correction by multiplying the change coefficient in calculating the change amount of the first state variable, and the speed controller changes the change amount of the second state variable. In the calculation of the change coefficient, the changeover switch is connected when the magnitude of the current command exceeds the limit current value, the magnitude of the current command is the limit current value It is characterized by being disconnected when:

以上のように、本発明にかかるモータ制御装置は、慣性モーメントや摩擦といった負荷が未知である、または、負荷の大きさが大きく変化する制御対象に対して適用するモータ制御装置として有用である。   As described above, the motor control device according to the present invention is useful as a motor control device to be applied to a control target whose load such as moment of inertia or friction is unknown or whose load greatly changes.

1,1a 制御対象、2,2b 位置モデル、11 モータ、12 機械系、13 速度検出器、14 位置検出器、21 速度モデル、211,212 積分器、213,214,215 乗算器、216,217 減算器、22 速度指令算出部、23 積分器、31 位置制御器、32 微分器、33 速度制御器、34 電流制限器、35 電流制御器、36 変化分係数算出部、361 トルク定数乗算器、362 非線形トルクモデル、363 比率演算器、37 慣性モーメント推定部、38 減速度算出部、39 最大速度設定部、40 モデル補正部、41 切り替えスイッチ。   1, 1a Control object, 2, 2b Position model, 11 Motor, 12 Mechanical system, 13 Speed detector, 14 Position detector, 21 Speed model, 211, 212 Integrator, 213, 214, 215 Multiplier, 216, 217 Subtractor, 22 Speed command calculator, 23 Integrator, 31 Position controller, 32 Differentiator, 33 Speed controller, 34 Current limiter, 35 Current controller, 36 Change coefficient calculator, 361 Torque constant multiplier, 362 Nonlinear torque model, 363 ratio calculator, 37 moment of inertia estimation unit, 38 deceleration calculation unit, 39 maximum speed setting unit, 40 model correction unit, 41 changeover switch.

Claims (7)

速度指令に基づき、モータと該モータに連結された機械系を備える制御対象を駆動するモータ制御装置であって、
1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、
前記モータの実速度と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と前記速度フィードフォワードと前記電流フィードフォワードと更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、
前記電流指令を入力とし、前記電流指令の大きさを制限電流値以下に制限した制限後電流指令を出力する電流制限器と、
前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、
前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、
前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行うことを特徴とするモータ制御装置。
A motor control device that drives a control object including a motor and a mechanical system coupled to the motor based on a speed command,
Based on the first state variable that is one or more variables and the speed command, a change amount of the first state variable is calculated to update the first state variable, and the updated first state variable A velocity model that calculates and outputs velocity feedforward and current feedforward based on state variables;
Based on the actual speed of the motor, the speed feedforward, and the current feedforward, a change amount of a second state variable that is one or more variables is calculated to update the second state variable, and the motor A speed controller that calculates and outputs a current command based on the actual speed, the speed feedforward, the current feedforward, and the updated second state variable;
A current limiter that outputs the current command after limiting the current command as an input and limiting the magnitude of the current command to a limit current value or less;
A variation coefficient calculation unit that calculates a variation coefficient that is a correction coefficient of a variation of the first state variable and the second state variable based on the current command and the limited current command;
The speed model performs correction by multiplying the change coefficient in the calculation of the change of the first state variable,
The speed controller performs correction by multiplying by the change coefficient in the calculation of the change of the second state variable.
位置指令に基づき、モータを備える制御対象を駆動するモータ制御装置であって、
前記位置指令と位置フィードフォワードとの偏差に基づき速度指令を出力する速度指令算出部と、
1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、
前記速度フィードフォワードを積分し前記位置フィードフォワードを出力する積分器と、
前記モータの実位置と前記位置フィードフォワードとの差分に基づき速度補正量を出力する位置制御器と、
前記モータの実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードと更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、
前記電流指令を入力とし、前記電流指令の大きさを制限電流値以下に制限した制限後電流指令を出力する電流制限器と、
前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、
前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、
前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行うことを特徴とするモータ制御装置。
A motor control device that drives a control object including a motor based on a position command,
A speed command calculation unit that outputs a speed command based on a deviation between the position command and the position feedforward;
Based on the first state variable that is one or more variables and the speed command, a change amount of the first state variable is calculated to update the first state variable, and the updated first state variable A velocity model that calculates and outputs velocity feedforward and current feedforward based on state variables;
An integrator that integrates the velocity feedforward and outputs the position feedforward;
A position controller that outputs a speed correction amount based on the difference between the actual position of the motor and the position feedforward;
Based on the actual speed of the motor, the speed correction amount, the speed feed forward, and the current feed forward, a change amount of a second state variable that is one or more variables is calculated, and the second state variable is calculated. A speed controller that updates and outputs a current command based on the actual speed of the motor, the speed correction amount, the speed feedforward, the current feedforward, and the updated second state variable; ,
A current limiter that outputs the current command after limiting the current command as an input and limiting the magnitude of the current command to a limit current value or less;
A variation coefficient calculation unit that calculates a variation coefficient that is a correction coefficient of a variation of the first state variable and the second state variable based on the current command and the limited current command;
The speed model performs correction by multiplying the change coefficient in the calculation of the change of the first state variable,
The speed controller performs correction by multiplying by the change coefficient in the calculation of the change of the second state variable.
位置指令に基づき、モータを備える制御対象を駆動するモータ制御装置であって、
前記位置指令と位置フィードフォワードとの偏差に基づき速度指令を出力する速度指令算出部と、
1つ以上の変数である第1の状態変数と前記速度指令とに基づいて前記第1の状態変数の変化分を算出して前記第1の状態変数を更新し、更新後の前記第1の状態変数に基づいて速度フィードフォワード及び電流フィードフォワードを算出して出力する速度モデルと、
前記モータの実位置の前記位置フィードフォワードとの差分に基づきモデル補正信号を出力するモデル補正部と、
前記モデル補正信号を入力とし、接続状態では前記モデル補正信号を出力し、非接続状態では零信号を出力する切り替えスイッチと、
前記速度フィードフォワードと前記切り替えスイッチの出力信号の偏差を積分し前記位置フィードフォワードを出力する積分器と、
前記モータの実位置と前記位置フィードフォワードとの差分に基づき速度補正量を出力する位置制御器と、
前記モータの実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードとに基づいて1つ以上の変数である第2の状態変数の変化分を算出して前記第2の状態変数を更新し、前記モータの前記実速度と前記速度補正量と前記速度フィードフォワードと前記電流フィードフォワードと更新後の前記第2の状態変数とに基づいて電流指令を算出して出力する速度制御器と、
前記電流指令を入力とし、前記電流指令の大きさを制限電流値以下に制限した制限後電流指令を出力する電流制限器と、
前記電流指令と前記制限後電流指令とに基づき、前記第1の状態変数と前記第2の状態変数の変化分の補正係数である変化分係数を算出する変化分係数算出部と、を備え、
前記速度モデルは、前記第1の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、
前記速度制御器は、前記第2の状態変数の変化分の算出において、前記変化分係数を乗じる補正を行い、
前記切り替えスイッチは、前記電流指令の大きさが前記制限電流値を越えているときに接続とし、前記電流指令の大きさが前記制限電流値以下であるときに非接続とすることを特徴とするモータ制御装置。
A motor control device that drives a control object including a motor based on a position command,
A speed command calculation unit that outputs a speed command based on a deviation between the position command and the position feedforward;
Based on the first state variable that is one or more variables and the speed command, a change amount of the first state variable is calculated to update the first state variable, and the updated first state variable A velocity model that calculates and outputs velocity feedforward and current feedforward based on state variables;
A model correction unit that outputs a model correction signal based on a difference between the actual position of the motor and the position feedforward;
The switch for outputting the model correction signal as an input, outputting the model correction signal in a connected state, and outputting a zero signal in a disconnected state;
An integrator that integrates a deviation of the output signal of the speed feedforward and the changeover switch and outputs the position feedforward;
A position controller that outputs a speed correction amount based on the difference between the actual position of the motor and the position feedforward;
Based on the actual speed of the motor, the speed correction amount, the speed feed forward, and the current feed forward, a change amount of a second state variable that is one or more variables is calculated, and the second state variable is calculated. A speed controller that updates and outputs a current command based on the actual speed of the motor, the speed correction amount, the speed feedforward, the current feedforward, and the updated second state variable; ,
A current limiter that outputs the current command after limiting the current command as an input and limiting the magnitude of the current command to a limit current value or less;
A variation coefficient calculation unit that calculates a variation coefficient that is a correction coefficient of a variation of the first state variable and the second state variable based on the current command and the limited current command;
The speed model performs correction by multiplying the change coefficient in the calculation of the change of the first state variable,
The speed controller performs correction by multiplying the change coefficient in the calculation of the change of the second state variable,
The changeover switch is connected when the magnitude of the current command exceeds the limit current value, and is disconnected when the magnitude of the current command is equal to or less than the limit current value. Motor control device.
前記モータの最大速度を設定する最大速度設定部と、
前記モータの減速停止時の減速度を算出する減速度算出部と、を備え、
前記速度指令算出部は、前記位置指令と前記位置フィードフォワードとの偏差、前記最大速度及び前記減速度に基づく関数により前記速度指令を算出することを特徴とした請求項2または請求項3に記載のモータ制御装置。
A maximum speed setting unit for setting the maximum speed of the motor;
A deceleration calculating unit that calculates a deceleration at the time of deceleration stop of the motor,
The speed command calculation unit calculates the speed command using a function based on a deviation between the position command and the position feedforward, the maximum speed, and the deceleration. Motor control device.
前記減速度算出部は、
前記モータの電流及び実位置または実速度から推定した前記制御対象の慣性モーメント推定値に基づいて前記減速度を算出することを特徴とした請求項4に記載のモータ制御装置。
The deceleration calculation unit
5. The motor control device according to claim 4, wherein the deceleration is calculated based on an estimated moment of inertia of the control object estimated from the current and actual position or actual speed of the motor.
前記変化分係数算出部は、
前記電流指令と前記制限後電流指令との比率により前記変化分係数を算出することを特徴とする請求項1から請求項5のいずれか一項に記載のモータ制御装置。
The change coefficient calculation unit
6. The motor control device according to claim 1, wherein the change coefficient is calculated based on a ratio between the current command and the post-limit current command.
前記変化分係数算出部は、
前記電流指令に、予め設定された前記モータのトルク定数を乗じてトルク指令を算出するトルク定数乗算器と、
前記モータの電流とトルクとの間の非線形特性をモデル化した非線形トルクモデルを備え、
前記トルク指令と、
前記制限後電流指令と前記非線形トルクモデルに基づき算出した実トルクと、の比率により前記変化分係数を算出することを特徴とする請求項1から請求項5のいずれか一項に記載のモータ制御装置。
The change coefficient calculation unit
A torque constant multiplier that calculates a torque command by multiplying the current command by a preset torque constant of the motor;
A non-linear torque model that models non-linear characteristics between the motor current and torque;
The torque command;
6. The motor control according to claim 1, wherein the change coefficient is calculated based on a ratio between the post-limit current command and an actual torque calculated based on the nonlinear torque model. apparatus.
JP2014557326A 2013-01-16 2013-10-30 Motor control device Active JP5847338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014557326A JP5847338B2 (en) 2013-01-16 2013-10-30 Motor control device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2013005268 2013-01-16
JP2013005268 2013-01-16
JP2014557326A JP5847338B2 (en) 2013-01-16 2013-10-30 Motor control device
PCT/JP2013/079427 WO2014112178A1 (en) 2013-01-16 2013-10-30 Motor control apparatus

Publications (2)

Publication Number Publication Date
JP5847338B2 JP5847338B2 (en) 2016-01-20
JPWO2014112178A1 true JPWO2014112178A1 (en) 2017-01-19

Family

ID=51209290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014557326A Active JP5847338B2 (en) 2013-01-16 2013-10-30 Motor control device

Country Status (4)

Country Link
JP (1) JP5847338B2 (en)
CN (1) CN104756399B (en)
TW (1) TWI504131B (en)
WO (1) WO2014112178A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6409743B2 (en) 2015-10-30 2018-10-24 オムロン株式会社 Command generator
US10333455B2 (en) * 2016-03-30 2019-06-25 Eaton Intelligent Power Limited System and method for consistent speed regulation in a variable frequency drive
CN105958898B (en) * 2016-06-01 2018-09-11 深圳德康威尔科技有限公司 Voice coil motor driver and its control method
JP6412075B2 (en) * 2016-09-08 2018-10-24 ファナック株式会社 Servo motor control device, servo motor control method, and servo motor control program
KR102198760B1 (en) * 2016-09-27 2021-01-05 가부시키가이샤 하모닉 드라이브 시스템즈 Positioning control device for actuator with wave gear device by state observer combination type full closed control
EP3522366A4 (en) * 2016-09-29 2019-08-07 Panasonic Intellectual Property Management Co., Ltd. Motor control device and motor control method
JP6457569B2 (en) * 2017-02-24 2019-01-23 ファナック株式会社 Servo motor control device, servo motor control method, and servo motor control program
JP6577508B2 (en) * 2017-04-07 2019-09-18 ファナック株式会社 Control device
US10822024B2 (en) * 2017-11-06 2020-11-03 Steering Solutions Ip Holding Corporation Current sensor fault mitigation for steering systems with permanent magnet DC drives
CN111164526B (en) * 2017-11-28 2023-10-13 株式会社安川电机 Abnormality determination system, motor control device, and abnormality determination method
TWI683525B (en) * 2018-07-13 2020-01-21 茂達電子股份有限公司 Motor driving circuit and motor driving method
JP7338960B2 (en) * 2018-09-27 2023-09-05 ニデックインスツルメンツ株式会社 Servo control device and servo control method
JP7312684B2 (en) * 2019-11-27 2023-07-21 株式会社日立産機システム Motor control device and its automatic adjustment method
CN111055285B (en) * 2020-01-08 2022-11-25 山东理工大学 Vibration suppression method under variable load working condition of humanoid flexible joint arm
JP7535885B2 (en) 2020-07-30 2024-08-19 ニデックインスツルメンツ株式会社 Control method and control device based on dynamic torque compensation
JP2023133032A (en) * 2022-03-11 2023-09-22 株式会社日立産機システム Motor control device and automatic adjustment method thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04145886A (en) * 1990-10-02 1992-05-19 Toshiba Corp Speed control method and apparatus for motor
JP3274070B2 (en) * 1996-08-08 2002-04-15 三菱電機株式会社 Motor control method and motor control device
KR100661106B1 (en) * 2002-04-05 2006-12-26 미쓰비시덴키 가부시키가이샤 Motor control device
JP2005269856A (en) * 2004-03-22 2005-09-29 Matsushita Electric Ind Co Ltd Motor controller and motor control method
DE112004001083B4 (en) * 2004-07-29 2015-04-02 Mitsubishi Denki K.K. Position control and control method for it
JP4522443B2 (en) * 2007-11-12 2010-08-11 三菱電機株式会社 Control parameter adjusting device and control parameter adjusting method for positioning control device
JP4946814B2 (en) * 2007-11-13 2012-06-06 日本電気株式会社 Information provision system
JP5484949B2 (en) * 2010-02-23 2014-05-07 山洋電気株式会社 Motor control method and apparatus
WO2011136160A1 (en) * 2010-04-26 2011-11-03 三菱電機株式会社 Servo control device

Also Published As

Publication number Publication date
WO2014112178A1 (en) 2014-07-24
TW201440415A (en) 2014-10-16
JP5847338B2 (en) 2016-01-20
CN104756399A (en) 2015-07-01
TWI504131B (en) 2015-10-11
CN104756399B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
JP5847338B2 (en) Motor control device
CN101546173B (en) Method and apparatus for controlling system
JP5899547B2 (en) Electric motor control device
CN106020124B (en) Servo motor control device and collision detection method
JP4676254B2 (en) Digital servo control device and laser processing device
JPH0630578A (en) Position controller of electric motor
US9757834B2 (en) Track control apparatus
JP6020537B2 (en) Motor control device and motor control method
JP6353731B2 (en) Motor system
JP5652678B2 (en) Electric motor control device
JP7293905B2 (en) friction compensator
JP6453576B2 (en) Motor system
JP6281751B2 (en) Position control system
US7560890B2 (en) Position controller and controlling method therefor
JP2005293564A (en) Position control device having sliding mode controller
CN109143849B (en) Servo control device, servo control method, and servo control system
JP5413036B2 (en) Motor control device and motor control system
JP2014007900A (en) Motor controller
JP2018156557A (en) Method for designing delay compensator filter, and feedback control method and motor controller using same
JP3943061B2 (en) Servo control device
JPH10295092A (en) Speed controller of motor
JP2009131022A (en) Inertial moment estimating unit
JP2007306779A (en) Motor controller
WO2018142868A1 (en) Position control device and method
JP5975943B2 (en) Motor control device

Legal Events

Date Code Title Description
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: 20151027

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151124

R150 Certificate of patent or registration of utility model

Ref document number: 5847338

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250