JP2010246336A - Motor control device and motor control method - Google Patents

Motor control device and motor control method Download PDF

Info

Publication number
JP2010246336A
JP2010246336A JP2009094982A JP2009094982A JP2010246336A JP 2010246336 A JP2010246336 A JP 2010246336A JP 2009094982 A JP2009094982 A JP 2009094982A JP 2009094982 A JP2009094982 A JP 2009094982A JP 2010246336 A JP2010246336 A JP 2010246336A
Authority
JP
Japan
Prior art keywords
phase angle
voltage
voltage phase
motor
control
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.)
Withdrawn
Application number
JP2009094982A
Other languages
Japanese (ja)
Inventor
Tomoyasu Furukawa
智康 古川
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.)
Toyota Industries Corp
Original Assignee
Toyota Industries 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 Toyota Industries Corp filed Critical Toyota Industries Corp
Priority to JP2009094982A priority Critical patent/JP2010246336A/en
Publication of JP2010246336A publication Critical patent/JP2010246336A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve high precision torque control by allowing a voltage to be outputted in accordance with a command value without reducing a control period during rectangular wave control. <P>SOLUTION: A motor control device is provided with: a voltage phase control part for calculating a voltage phase angle command value; a counter for counting in a fixed period; an output timing calculating part that refers to the change timing of a rectangular wave voltage recorded in a recording part while being previously associated with the voltage phase angle command value, determines whether a voltage phase angle of an output voltage of an inverter is a voltage phase angle of the change timing for each control period longer than the fixed period, calculates a difference value between the voltage phase angle command value and the voltage phase angle of the change timing, and calculates a changed count value obtained by integrating a count value counted by the counter in one period of the control period to a ratio between the difference value and a voltage phase angle corresponding to one period of the control period; and a rectangular-wave generating part for changing a state of a rectangular-wave voltage after the counting of an amount of the changed count value from the voltage phase angle of the change timing. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、インバータのパルス制御を用いたモータ制御装置およびモータ制御方法に関する。   The present invention relates to a motor control device and a motor control method using pulse control of an inverter.

高回転領域でモータ制御を行う場合、逆起電力が大きくなりPWM(Pulse Width Modulation)制御では電源電圧が不足するため、矩形波制御を行う必要がある。矩形波制御では振幅を固定しているため、インバータの出力電圧の位相を制御することによりトルクを制御している。そのため、矩形波制御では出力電圧の位相精度が重要となる。   When motor control is performed in a high rotation region, the back electromotive force becomes large, and power supply voltage is insufficient in PWM (Pulse Width Modulation) control. Therefore, it is necessary to perform rectangular wave control. Since the amplitude is fixed in the rectangular wave control, the torque is controlled by controlling the phase of the output voltage of the inverter. Therefore, the phase accuracy of the output voltage is important in the rectangular wave control.

しかし、近年のモータ制御ではマイコンなどが用いられ、離散的な信号処理により矩形波を制御することから、制御周期(マシンサイクルなど)以外のタイミングでは出力電圧指令値に基づき、出力電圧の位相を制御できない。そのため、制御周期以外で出力電圧指令値を変更したい場合でも、次の制御周期タイミングまで待たなければならないため、出力電圧指令値通りに出力電圧の位相を制御できず、実際の出力電圧には位相誤差が生じトルク制御性能の低下が発生するという問題がある。   However, in recent motor control, a microcomputer or the like is used, and the rectangular wave is controlled by discrete signal processing. Therefore, the phase of the output voltage is adjusted based on the output voltage command value at timings other than the control cycle (machine cycle, etc.). I can't control it. Therefore, even if you want to change the output voltage command value outside the control cycle, you must wait until the next control cycle timing, so you cannot control the phase of the output voltage according to the output voltage command value. There is a problem that an error occurs and the torque control performance is degraded.

そこで、出力電圧の位相誤差を低減させるため、一般的には制御周期を短くすることにより矩形波制御の出力電圧の位相精度を上げる方法が採用されている。しかし、制御周期を短くするとマイコンの計算負荷が増加することから、処理性能の高いマイコンへの代替などが必要になり、装置のコストが高くなるという問題がある。   Therefore, in order to reduce the phase error of the output voltage, generally, a method of increasing the phase accuracy of the output voltage of the rectangular wave control by shortening the control cycle is employed. However, if the control cycle is shortened, the calculation load of the microcomputer increases, so that it is necessary to replace the microcomputer with a high processing performance and the cost of the apparatus increases.

なお、特許文献1、特許文献2などが提案されている。   Patent Document 1, Patent Document 2, and the like have been proposed.

特開平4−222466号公報JP-A-4-222466 特開平5−146163号公報JP-A-5-146163

上記のような実情に鑑みてなされたものであり、矩形波制御時に制御周期を短くすることなく指令値通りに電圧を出力させ、高精度なトルク制御を実現するモータ制御装置およびモータ制御方法を提供することを目的とする。   A motor control device and a motor control method for realizing high-accuracy torque control by outputting a voltage according to a command value without shortening the control cycle during rectangular wave control, which has been made in view of the above circumstances. The purpose is to provide.

態様のひとつであるモータを制御するインバータを備えたモータ制御装置は、電圧位相制御部、内部カウンタ、出力タイミング計算部、矩形波発生部を備えている。
電圧位相制御部は、制御周期ごとに電圧位相角指令値を算出する。内部カウンタは、上記制御周期より短い周期でカウントする。
A motor control device including an inverter that controls a motor, which is one aspect, includes a voltage phase control unit, an internal counter, an output timing calculation unit, and a rectangular wave generation unit.
The voltage phase control unit calculates a voltage phase angle command value for each control period. The internal counter counts with a cycle shorter than the control cycle.

出力タイミング計算部は、電圧位相角指令値を算出する電圧位相制御部と、一定の周期でカウントするカウンタと、記録部に予め電圧位相角指令値に関連付けて記録されている矩形波電圧の変更タイミングを参照して、上記一定の周期よりも長い制御周期ごとに上記インバータの出力電圧の電圧位相角が変更タイミングの電圧位相角であるかを判定するとともに、上記電圧位相角指令値と変更タイミングの電圧位相角との差分値を算出し、上記差分値と上記制御周期の1周期に対応する電圧位相角との比率に上記制御周期の1周期に上記カウンタがカウントするカウント値を積算した変更カウント値を算出する。   The output timing calculation unit includes a voltage phase control unit that calculates a voltage phase angle command value, a counter that counts at a constant period, and a change in a rectangular wave voltage that is recorded in advance in association with the voltage phase angle command value in the recording unit. Referring to the timing, it is determined whether the voltage phase angle of the output voltage of the inverter is the voltage phase angle of the change timing every control cycle longer than the fixed cycle, and the voltage phase angle command value and the change timing are determined. The difference between the voltage phase angle and the voltage phase angle corresponding to one cycle of the control cycle is integrated with the count value counted by the counter in one cycle of the control cycle. Calculate the count value.

矩形波発生部は、上記変更タイミングの電圧位相角から上記変更カウント値の分のカウント後に矩形波電圧の状態を変化させる。
上記構成により、矩形波制御時に制御周期を短くすることなく指令値通りに電圧を出力させ、高精度なトルク制御を実現することができる。
The rectangular wave generator changes the state of the rectangular wave voltage after counting the change count value from the voltage phase angle at the change timing.
With the above configuration, it is possible to output a voltage according to the command value without shortening the control cycle during rectangular wave control, and to realize highly accurate torque control.

また、上記電圧位相制御部は、トルク演算部において上記インバータの出力である三相交流電流値と電圧指令値とモータ角速度に基づいて算出したトルク推定値とトルク指令値とのトルク差分値を取得し、モータの移動子位置と上記トルク差分値に基づいて上記電圧位相角指令値を算出する。   The voltage phase control unit obtains a torque difference value between a torque estimated value and a torque command value calculated based on a three-phase AC current value, a voltage command value, and a motor angular velocity, which are outputs of the inverter, in a torque calculation unit. Then, the voltage phase angle command value is calculated based on the moving position of the motor and the torque difference value.

また、上記モータ制御装置に、さらに上記インバータをPWM制御するPWM制御部を設け、モータの動作条件によりPWM制御が必要と判定されたとき、上記PWM制御部で上記モータを制御する。   Further, the motor control device is further provided with a PWM control unit that performs PWM control of the inverter, and the PWM control unit controls the motor when it is determined that the PWM control is necessary according to the operating condition of the motor.

矩形波制御時に制御周期を短くすることなく指令値通りに電圧を出力させ、高精度なトルク制御を実現することができる。   The voltage can be output according to the command value without shortening the control cycle during the rectangular wave control, and high-accuracy torque control can be realized.

モータ制御装置を示す図である。It is a figure which shows a motor control apparatus. モータの駆動制御系を示すブロック図である。It is a block diagram which shows the drive control system of a motor. モータの駆動制御系の動作を示すフロー図とデータテーブルを示す図である。It is a figure which shows the flowchart and data table which show operation | movement of the drive control system of a motor. モータの駆動制御系の動作を示すタイムチャートである。It is a time chart which shows operation | movement of the drive control system of a motor.

以下図面に基づいて、本発明の実施形態について詳細を説明する。
(実施例1)
図1はモータ制御装置を示す図である。モータ制御装置は、インバータ2、制御部3、駆動部4、記録部5を備え、モータ1(M)の制御を行う。例えば、モータ1は永久磁石同期モータであり、インバータ2を介して電源から供給される電力を利用して駆動される。また、電源は特に限定されるものではないが、例えば、バッテリである。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Example 1
FIG. 1 is a diagram showing a motor control device. The motor control device includes an inverter 2, a control unit 3, a drive unit 4, and a recording unit 5, and controls the motor 1 (M). For example, the motor 1 is a permanent magnet synchronous motor, and is driven using electric power supplied from a power source via the inverter 2. Further, the power source is not particularly limited, but is a battery, for example.

モータ1は、制御部3により制御されるインバータ2の交流出力端子と接続され、インバータ2の交流出力端子から出力される交流電流(U相、V相、W相)により駆動する。なお、モータ1は永久磁石同期モータには限定されず、交流モータであれば良い。永久磁石同期モータやシンクロナスリラクタンスモータを含む同期機が望ましいが、誘導モータでも良い。また、回転電機には限定されず、リニアモータ等の電動機でも良い。   The motor 1 is connected to an AC output terminal of the inverter 2 controlled by the control unit 3 and is driven by an AC current (U phase, V phase, W phase) output from the AC output terminal of the inverter 2. The motor 1 is not limited to a permanent magnet synchronous motor, and may be an AC motor. A synchronous machine including a permanent magnet synchronous motor and a synchronous reluctance motor is desirable, but an induction motor may be used. Moreover, it is not limited to a rotary electric machine, Electric motors, such as a linear motor, may be sufficient.

インバータ2は、互いに直列接続される2つのスイッチング素子(例えば、IGBT(Insulated Gate Bipolar Transistor))が3組それぞれ直流電源にコンデンサを介して並列接続されて構成される。そして、インバータ2の各スイッチング素子がオン/オフすることによりスイッチング素子の各接続点(U相、V相、W相)からそれぞれ交流電流が出力される。   The inverter 2 is configured by connecting two sets of switching elements (for example, IGBT (Insulated Gate Bipolar Transistor)) connected in series with each other in parallel to a DC power source via a capacitor. Then, when each switching element of the inverter 2 is turned on / off, an alternating current is output from each connection point (U phase, V phase, W phase) of the switching element.

制御部3はモータ1を制御するハードウェアである。例えば、CPU、DSP、プログラマブルなデバイスを用いて構成してもよい。駆動部4は、インバータ2の各スイッチング素子をそれぞれPWM制御によりオン/オフさせるための駆動信号を出力する。なお、制御部3は、センサなどから出力される信号(アナログ信号)をA/D変換器を用いてデジタル信号に変換して取得し、後述する処理を実行する際に用いる。   The control unit 3 is hardware that controls the motor 1. For example, you may comprise using CPU, DSP, and a programmable device. The drive unit 4 outputs a drive signal for turning on / off each switching element of the inverter 2 by PWM control. The control unit 3 acquires a signal (analog signal) output from a sensor or the like by converting it into a digital signal using an A / D converter, and uses it when executing a process described later.

記録部5は、制御部3と接続され、ROM、RAMなどのメモリを有しており、モータ1を制御するためのプログラムやデータなどが記録されている。
図2は、モータ1の駆動制御系を示すブロック図である。駆動制御系は、制御切替部6、電流センサ7a、7b、PWM制御部8、矩形波制御部9、位置検出部16、角速度計算部17を備えている。
The recording unit 5 is connected to the control unit 3 and includes a memory such as a ROM and a RAM. Programs and data for controlling the motor 1 are recorded therein.
FIG. 2 is a block diagram showing a drive control system of the motor 1. The drive control system includes a control switching unit 6, current sensors 7 a and 7 b, a PWM control unit 8, a rectangular wave control unit 9, a position detection unit 16, and an angular velocity calculation unit 17.

制御切替部6は、モータ1の回転速度に基づいてPWM制御部8と矩形波制御部9を切り替える。例えば、モータ1の回転速度が低速域であるときはPWM制御部8によりモータ1を制御し、高速域であるときは矩形波制御部9によりモータ1を制御するように切り替える。なお、モータ回転速度、回転角度UVW相電流値、UVW相電圧指令値などから計算される、電流位相角や電圧変調率などの物理量を元に切り替えをしてもよい。   The control switching unit 6 switches between the PWM control unit 8 and the rectangular wave control unit 9 based on the rotation speed of the motor 1. For example, the motor 1 is controlled by the PWM control unit 8 when the rotation speed of the motor 1 is in a low speed region, and the motor 1 is controlled by the rectangular wave control unit 9 when it is in a high speed region. Note that switching may be performed based on physical quantities such as a current phase angle and a voltage modulation rate calculated from a motor rotation speed, a rotation angle UVW phase current value, a UVW phase voltage command value, and the like.

電流センサ7a、7bは、インバータ2とモータ1を接続する3本のUVW相ラインのU相のラインとW相のラインに設けられ、インバータ2の出力電流であるU相電流(Iu)とW相電流(Iw)を計測する。   The current sensors 7 a and 7 b are provided on the U-phase line and the W-phase line of the three UVW-phase lines connecting the inverter 2 and the motor 1, and the U-phase current (Iu), which is the output current of the inverter 2, and W The phase current (Iw) is measured.

PWM制御部8は、トルク/dq指令算出部10、電流値減算部11、電流制御部12、dq/UVW変換部13、PWM発生部14、UVW/dq変換部15を備えている。
トルク/dq指令算出部10は、トルク指令値Trefに基づいてd軸電流指令値Idおよびq軸電流指令値Iqを生成する。例えば、記録部5に記録されている予め作成されたトルク指令値Trefとd軸電流指令値Id、q軸電流指令値Iqが関連付けられたテーブルを用いてトルク/dq変換を行う。
The PWM control unit 8 includes a torque / dq command calculation unit 10, a current value subtraction unit 11, a current control unit 12, a dq / UVW conversion unit 13, a PWM generation unit 14, and a UVW / dq conversion unit 15.
The torque / dq command calculation unit 10 generates a d-axis current command value Id * and a q-axis current command value Iq * based on the torque command value Tref. For example, torque / dq conversion is performed using a table in which the torque command value Tref, the d-axis current command value Id * , and the q-axis current command value Iq * created in advance recorded in the recording unit 5 are associated with each other.

電流値減算部11は、d軸電流値減算部とq軸電流値減算部を備えている。d軸電流値減算部は、d軸電流指令値IdとUVW/dq変換部15から出力されるd軸電流値Idとの差分値を算出する。同様に、q軸電流値減算部は、q軸電流指令値IqとUVW/dq変換部15から出力されるq軸電流値Iqとの差分値を算出する。 The current value subtraction unit 11 includes a d-axis current value subtraction unit and a q-axis current value subtraction unit. The d-axis current value subtraction unit calculates a difference value between the d-axis current command value Id * and the d-axis current value Id output from the UVW / dq conversion unit 15. Similarly, the q-axis current value subtraction unit calculates a difference value between the q-axis current command value Iq * and the q-axis current value Iq output from the UVW / dq conversion unit 15.

電流制御部12、上記d軸電流値減算部で算出した差分値に基づいてd軸電圧指令値Vdを生成する。上記q軸電流値減算部で算出した差分値に基づいてq軸電圧指令値Vqを生成する。例えば、d軸およびq軸に対応する差分値について所定のゲインによるPI演算を行い制御偏差を算出し、この制御偏差に基づいてd軸電圧指令値Vd、q軸電圧指令値Vqを生成してもよい。 Current control unit 12, and generates a d-axis voltage command value Vd * based on the difference value calculated in the d-axis current value subtraction unit. A q-axis voltage command value Vq * is generated based on the difference value calculated by the q-axis current value subtraction unit. For example, a PI deviation with a predetermined gain is calculated for a difference value corresponding to the d-axis and the q-axis to calculate a control deviation, and a d-axis voltage command value Vd * and a q-axis voltage command value Vq * are generated based on the control deviation. May be.

dq/UVW変換部13は、モータ1の移動子位置θをモニタしながら、d軸、q軸の制御電圧指令値(Vd、Vq)をU相、V相、W相の電圧指令値(Vu、Vv、Vw)に変換する。 The dq / UVW conversion unit 13 monitors the d-axis and q-axis control voltage command values (Vd * , Vq * ) while monitoring the mover position θ of the motor 1, the U-phase, V-phase, and W-phase voltage command values. Convert to (Vu * , Vv * , Vw * ).

PWM発生部14と駆動部4は、UVW相電圧指令値Vu、Vv、Vwに従って各相のPWM信号Vu、Vv、Vwを生成する。なお、永久磁石同期モータ1の各相に供給されるモータ電流は、それぞれ対応するPWM信号Vu、Vv、Vwのデューティにより決まる。 The PWM generator 14 and the drive unit 4 generate PWM signals Vu, Vv, and Vw for each phase according to the UVW phase voltage command values Vu * , Vv * , and Vw * . The motor current supplied to each phase of the permanent magnet synchronous motor 1 is determined by the duty of the corresponding PWM signal Vu, Vv, Vw.

UVW/dq変換部15は、モータ1の移動子位置θを位置検出部16の出力をモニタしながら、モータ1に供給されるモータ電流の検出値をd軸/q軸電流値に変換する。ここでは、電流センサ7a、7bを用いて検出されたU相電流IuおよびW相電流Iwが、d軸電流値Idおよびq軸電流値Iqに変換されている。なお、d軸電流は、いわゆる界磁電流であり、界磁を発生させるための電流ベクトル成分である。また、q軸電流は、いわゆるトルク電流であり、トルクを発生させるための電流ベクトル成分である。   The UVW / dq converter 15 converts the detected value of the motor current supplied to the motor 1 into a d-axis / q-axis current value while monitoring the output of the position detector 16 with respect to the slider position θ of the motor 1. Here, the U-phase current Iu and the W-phase current Iw detected using the current sensors 7a and 7b are converted into a d-axis current value Id and a q-axis current value Iq. The d-axis current is a so-called field current and is a current vector component for generating a field. The q-axis current is a so-called torque current and is a current vector component for generating torque.

位置検出部16は、モータ1の回転子の移動子位置θを検出する。
角速度計算部17は、位置検出部16により検出された移動子位置θに基づいて、モータ1の角速度ωを算出する。
The position detection unit 16 detects the mover position θ of the rotor of the motor 1.
The angular velocity calculation unit 17 calculates the angular velocity ω of the motor 1 based on the mover position θ detected by the position detection unit 16.

矩形波制御部9は、トルク演算部18、トルク値減算部19、電圧位相制御部20、出力タイミング計算部21、内部カウンタ22、矩形波発生部23を備えている。
トルク演算部18は、U相電流IuとW相電流IwからV相電流Ivを生成するとともに、角速度計算部17から出力される角速度計測値ω、UVW相電流Iu、Iv、Iw、効率ηを用い式1に基づいてトルク推定値Testを生成する。
The rectangular wave control unit 9 includes a torque calculation unit 18, a torque value subtraction unit 19, a voltage phase control unit 20, an output timing calculation unit 21, an internal counter 22, and a rectangular wave generation unit 23.
The torque calculation unit 18 generates a V-phase current Iv from the U-phase current Iu and the W-phase current Iw, and outputs the angular velocity measurement value ω, the UVW phase currents Iu, Iv, Iw, and the efficiency η output from the angular velocity calculation unit 17. Based on Formula 1, a torque estimate value Test is generated.


Test=(Vu×Iu+Vv×Iv+Vw×Iw)×η/ω (式1)
Vu、Vv、Vw :UVW相の電圧指令値[V]
Iu、Iv、Iw :UVW相の電流検出値[A]
ω :角速度計測値[rad/sec]
η :効率

トルク値減算部19は、トルク指令値Trefとトルク推定値Testの差分を計算してトルク差分値Tsubを算出する。

Test = (Vu * × Iu + Vv * × Iv + Vw * × Iw) × η / ω (Formula 1)
Vu * , Vv * , Vw * : UVW phase voltage command value [V]
Iu, Iv, Iw: current detection value of UVW phase [A]
ω: Angular velocity measurement value [rad / sec]
η: Efficiency

The torque value subtraction unit 19 calculates a difference between the torque command value T ref and the estimated torque value T est to calculate a torque difference value T sub .

電圧位相制御部20は、制御周期ごとに電圧位相角指令値を算出する。例えば、トルク差分値Tsubに基づいて、d軸電圧指令値Vdとq軸電圧指令値Vqを生成する。さらに、d軸電圧指令値Vdとq軸電圧指令値Vqと位置検出部16の出力である移動子位置θを取得して式2に従って電圧位相角指令値φrefを算出する。また、現在の電圧位相角φを移動子位置θに基づいて算出する。 The voltage phase control unit 20 calculates a voltage phase angle command value for each control period. For example, the d-axis voltage command value Vd * and the q-axis voltage command value Vq * are generated based on the torque difference value T sub . Further, the d-axis voltage command value Vd * , the q-axis voltage command value Vq *, and the mover position θ that is the output of the position detector 16 are acquired, and the voltage phase angle command value φ ref is calculated according to Equation 2. Further, the current voltage phase angle φ is calculated based on the moving element position θ.


φref=θ+tan−1(−Vq/Vd) (式2)

なお、電圧位相制御部20は、電流制御部12の出力からd軸電圧指令値Vdとq軸電圧指令値Vqを取得してもよい。その場合、トルク演算部18、トルク値減算部19での処理、電圧位相制御部20のd軸電圧指令値Vdとq軸電圧指令値Vqの算出する処理がなくなるため回路規模またはプログラムの規模を小さくすることができる。

φref = θ + tan −1 (−Vq / Vd) (Formula 2)

The voltage phase control unit 20 may acquire the d-axis voltage command value Vd * and the q-axis voltage command value Vq * from the output of the current control unit 12. In this case, since the processing in the torque calculation unit 18 and the torque value subtraction unit 19 and the processing for calculating the d-axis voltage command value Vd * and the q-axis voltage command value Vq * in the voltage phase control unit 20 are eliminated, the circuit scale or program The scale can be reduced.

出力タイミング計算部21は、後述する電圧位相角指令値φref、内部カウンタ22から出力されるカウント値Tに基づいて、制御周期以外のタイミングで矩形波を発生させる変更カウント値ΔTを算出する。ここで、制御周期は例えばマシンサイクルである。 The output timing calculation unit 21 calculates a change count value ΔT that generates a rectangular wave at a timing other than the control period, based on a voltage phase angle command value φ ref described later and a count value T output from the internal counter 22. Here, the control cycle is, for example, a machine cycle.

例えば、以下の式3を満たす時に変更タイミングであると判定する。Δφは電圧位相角φと電圧位相角φ取得時の電圧位相角指令値φref(i)の差分値である。

φ<Δφ<φ (式3)
φ :1制御周期に相当する電圧位相角
φ :2×φ(2倍の制御周期に相当する電圧位相角)

次に、変更タイミングであるときは、電圧位相角指令値と変更タイミングの電圧位相角との第1の差分値を算出するとともに、変更タイミングの1周期前に取得した電圧位相角と変更タイミングの2周期前に取得した電圧位相角との第2の差分値を算出する。第1の差分値と第2の差分値の比率に内部カウンタがカウントした制御周期に対応するカウント値を積算して変更カウント値を算出する。
For example, it is determined that the change timing is reached when the following Expression 3 is satisfied. Δφ is the difference between the voltage phase angle phi i and voltage phase angle phi i acquired during the voltage phase angle command value φ ref (i).

φ 1 <Δφ <φ 2 (Equation 3)
φ 1 : voltage phase angle corresponding to 1 control cycle φ 2 : 2 × φ 1 (voltage phase angle corresponding to twice control cycle)

Next, when it is the change timing, the first difference value between the voltage phase angle command value and the voltage phase angle at the change timing is calculated, and the voltage phase angle and change timing obtained one cycle before the change timing are calculated. A second difference value from the voltage phase angle acquired two cycles ago is calculated. The change count value is calculated by adding the count value corresponding to the control cycle counted by the internal counter to the ratio between the first difference value and the second difference value.

内部カウンタ22は、PWM制御や矩形波制御で使用するモータ1の制御周期Tsよりも短い周期でカウントを行うカウンタである。なお、内部カウンタ22はCPUなどの内部カウンタを利用してもよいし、CPUなどとは別に外部に設けてもよい。   The internal counter 22 is a counter that counts at a cycle shorter than the control cycle Ts of the motor 1 used in PWM control or rectangular wave control. The internal counter 22 may use an internal counter such as a CPU, or may be provided outside the CPU.

矩形波発生部23は、変更カウント値ΔTと変更タイミングの制御周期に対応するカウント値Tに基づいて、インバータ2の各スイッチング素子をオン、オフさせるための矩形波信号を生成して、矩形波電圧の状態を変化させる。
(動作説明)
図3と図4により動作説明をする。図3は、モータの駆動制御系の動作を示すフロー図とデータテーブルを示す図である。図4は、モータの駆動制御系の動作を示すタイムチャートである。図4の縦軸には、出力電圧指令値、電圧位相角指令値の取得タイミング、従来の出力電圧、内部カウンタ、出力電圧が示され、横軸には時間とカウント値が示されている。
The rectangular wave generator 23 generates a rectangular wave signal for turning on and off each switching element of the inverter 2 based on the change count value ΔT and the count value T corresponding to the control period of the change timing. Change the voltage state.
(Description of operation)
The operation will be described with reference to FIGS. FIG. 3 is a flowchart showing the operation of the motor drive control system and a data table. FIG. 4 is a time chart showing the operation of the motor drive control system. The vertical axis of FIG. 4 shows the output voltage command value, the acquisition timing of the voltage phase angle command value, the conventional output voltage, the internal counter, and the output voltage, and the horizontal axis shows the time and count value.

ステップS1では、制御部3のトルク値減算部19は、記録部5に記録されているトルク指令値Trefとトルク演算部18で算出して記録部5に記録されたトルク推定値Testを取得して、トルク差分値Tsub(=トルク指令値Tref−トルク推定値Test)を生成して記録部5またはCPUなどのレジスタに記録する(図3のA参照)。 In step S <b> 1, the torque value subtraction unit 19 of the control unit 3 calculates the torque command value T ref recorded in the recording unit 5 and the estimated torque value T est calculated by the torque calculation unit 18 and recorded in the recording unit 5. The torque difference value Tsub (= torque command value T ref -torque estimated value T est ) is generated and recorded in a register such as the recording unit 5 or the CPU (see A in FIG. 3).

ステップS2では、制御部3の電圧位相制御部20は、記録部5に記録されたトルク差分値Tsubに基づいて、d軸電圧指令値Vdとq軸電圧指令値Vqを生成する。さらに、d軸電圧指令値Vdとq軸電圧指令値Vqと移動子位置θを取得して式2に従って電圧位相角指令値φrefを算出して記録部5またはCPUなどのレジスタに記録する(図3のB参照)。 In step S2, the voltage phase control unit 20 of the control unit 3 generates the d-axis voltage command value Vd * and the q-axis voltage command value Vq * based on the torque difference value T sub recorded in the recording unit 5. Further, the d-axis voltage command value Vd * , the q-axis voltage command value Vq *, and the moving element position θ are acquired, and the voltage phase angle command value φ ref is calculated according to Equation 2 and recorded in the recording unit 5 or a register such as a CPU. (See B in FIG. 3).

ステップS3では、制御部3の出力タイミング計算部21は、内部カウンタ22が予め設定されている制御周期内において何カウントできるかを記録するために、制御周期ごとにカウント値を記録する。例えば、図4に示すタイミングT2、タイミングT3において、内部カウンタ22がカウントした値Ti−1、Tを取得する。Ti−1からTまで(制御周期)を内部カウンタ22でカウントするとカウント値はTsとなるため、Tsをカウント値として記録部5またはCPUなどのレジスタに記録する。なお、制御周期は一定周期であるので予めカウント値Tsを算出して記録しておいてもよい。 In step S3, the output timing calculation unit 21 of the control unit 3 records a count value for each control cycle in order to record how many counts the internal counter 22 can count within a preset control cycle. For example, the values T i−1 and T i counted by the internal counter 22 are acquired at the timings T2 and T3 shown in FIG. When the internal counter 22 counts from T i−1 to T i (control cycle), the count value becomes Ts. Therefore, Ts is recorded as a count value in the recording unit 5 or a register such as a CPU. Since the control cycle is a fixed cycle, the count value Ts may be calculated and recorded in advance.

また、出力タイミング計算部21は電圧位相角指令値φrefを取得する。図4では、タイミングT1までにφi−2が取得され、タイミングT2までにφi−1が取得され、タイミングT3までにφが取得され、タイミングT4までにφi+1が取得される。 Further, the output timing calculation unit 21 acquires the voltage phase angle command value φ ref . In FIG. 4, φ i−2 is acquired by timing T1, φ i−1 is acquired by timing T2, φ i is acquired by timing T3, and φ i + 1 is acquired by timing T4.

そして、各タイミングで電圧位相角指令値φrefを取得後、条件角度値範囲(φ1<Δφ<φ2)と比較してUVW相の電圧指令値の変更タイミングであるかを判定する。
図4の場合であれば、電圧位相角φが変更タイミングであると判定されると、式4に従い変更タイミングを示す変更カウント値ΔT算出し(図3のC参照)、矩形波発生部23に転送される。
Then, it is determined whether the change timing of each post timing acquisition voltage phase angle command value phi ref, the voltage command value of UVW phase compared to condition angular value range (φ1 <Δφ <φ2).
In the case of FIG. 4, when it is determined that the voltage phase angle φ i is the change timing, a change count value ΔT indicating the change timing is calculated according to Equation 4 (see C in FIG. 3), and the rectangular wave generator 23 Forwarded to


ΔT=((φref(i)−φ)/(φi−2−φi−1))×(T−Ti−1) (式4)

なお、図4においてT3のタイミングの電圧位相角φを算出するときに、算出される電圧位相角指令値φrefがφref(i)であり、φi−1で算出されたφrefがφref(i−1)である。

ΔT = ((φ ref (i) −φ i ) / (φ i−2 −φ i−1 )) × (T i −T i−1 ) (Formula 4)

In FIG. 4, when the voltage phase angle φ i at the timing T3 is calculated, the calculated voltage phase angle command value φ ref is φ ref (i) , and φ ref calculated by φ i−1 is φ ref (i−1) .

ステップS4では、矩形波発生部23が変更タイミングΔTとカウント値Tiに基づいてインバータ2に供給する矩形波信号Vrefを生成する(図3のD参照)。図4では、カウント値TiがタイミングT3に関連付けられているので、矩形波発生部23はタイミングT3から変更カウント値ΔTまでカウントしてタイミングTaで電圧レベルをローレベルからハイレベルに変更する。なお、電圧レベルをハイレベルからローレベルに変更する場合(タイミングTb)には、例えば、電圧位相角指令値φiが180度変化した時点でハイレベルからローレベルに変更するように設定してもよい。   In step S4, the rectangular wave generator 23 generates a rectangular wave signal Vref to be supplied to the inverter 2 based on the change timing ΔT and the count value Ti (see D in FIG. 3). In FIG. 4, since the count value Ti is associated with the timing T3, the rectangular wave generator 23 counts from the timing T3 to the change count value ΔT and changes the voltage level from the low level to the high level at the timing Ta. When the voltage level is changed from the high level to the low level (timing Tb), for example, the voltage phase angle command value φi may be set to change from the high level to the low level when it changes by 180 degrees. Good.

上記のようにすることにより、計算された出力電圧の変更タイミングを内部カウンタでカウントし電圧を出力することで、矩形波制御時に制御周期を短くすることなく指令値通りに電圧を出力させ、高精度なトルク制御を実現することができる。   By doing the above, the calculated output voltage change timing is counted by the internal counter and the voltage is output, so that the voltage is output according to the command value without shortening the control cycle during rectangular wave control, Accurate torque control can be realized.

また、内部カウンタ22のカウント周期は、PWM制御周期や矩形波制御のモータ1の制御周期よりも短いため、内部カウンタ22のカウント値を基準として電圧を出力させることで、制御タイミング以外の時にも出力電圧の変更ができる。   Since the count cycle of the internal counter 22 is shorter than the PWM control cycle or the control cycle of the motor 1 for rectangular wave control, the voltage is output with reference to the count value of the internal counter 22 so that it can be used at other times than the control timing. The output voltage can be changed.

内部タイマはCPUやマイコンに一般的に搭載されているものであるため、CPUやマイコンの内部カウンタ以外であっても制御周期よりも短い周期でカウントするタイマを利用すれば、この発明を実現することができる。   Since the internal timer is generally mounted in the CPU or microcomputer, the present invention can be realized by using a timer that counts in a cycle shorter than the control cycle even if it is not the internal counter of the CPU or microcomputer. be able to.

また、提案する手法は高速回転領域に利用する矩形波制御に限らず、低・中速領域で利用するPWM制御やV/f制御など、その他の電動機制御においても実現することができ、応用が可能である。   The proposed method is not limited to the rectangular wave control used in the high-speed rotation region, but can be realized in other motor controls such as PWM control and V / f control used in the low / medium speed region. Is possible.

なお、処理性能の高いマイコンへの代替などが必要なく、装置のコストを抑えることができる。
また、本発明は、上記実施の形態に限定されるものでなく、本発明の要旨を逸脱しない範囲内で種々の改良、変更が可能である。
Note that it is not necessary to replace the microcomputer with high processing performance, and the cost of the apparatus can be reduced.
The present invention is not limited to the above-described embodiment, and various improvements and modifications can be made without departing from the gist of the present invention.

1 モータ、
2 インバータ、
3 制御部、
4 駆動部、
5 記録部、
6 制御切替部、
7a、7b 電流センサ、
8 PWM制御部、
9 矩形波制御部、
10 トルク/dq指令算出部、
11 電流値減算部、
12 電流制御部、
13 dq/UVW変換部、
14 PWM発生部、
15 UVW/dq変換部、
16 位置検出部、
17 速度計算部、
18 トルク演算部、
19 トルク値減算部、
20 電圧位相制御部、
21 出力タイミング計算部、
22 内部カウンタ、
23 矩形波発生部、
1 motor,
2 inverter,
3 Control unit,
4 Drive unit,
5 Recording section,
6 Control switching part,
7a, 7b current sensor,
8 PWM controller,
9 Rectangular wave control unit,
10 Torque / dq command calculation unit,
11 Current value subtraction part,
12 Current controller,
13 dq / UVW converter,
14 PWM generator,
15 UVW / dq converter,
16 position detector,
17 Speed calculator,
18 Torque calculator,
19 Torque value subtraction part,
20 voltage phase controller,
21 output timing calculation section,
22 Internal counter,
23 rectangular wave generator,

Claims (5)

モータを制御するインバータを備えたモータ制御装置であって、
電圧位相角指令値を算出する電圧位相制御部と、一定の周期でカウントするカウンタと、
記録部に予め電圧位相角指令値に関連付けて記録されている矩形波電圧の変更タイミングを参照して、前記一定の周期よりも長い制御周期ごとに前記インバータの出力電圧の電圧位相角が変更タイミングの電圧位相角であるかを判定するとともに、前記電圧位相角指令値と変更タイミングの電圧位相角との差分値を算出し、前記差分値と前記制御周期の1周期に対応する電圧位相角との比率に前記制御周期の1周期に前記カウンタがカウントするカウント値を積算した変更カウント値を算出する出力タイミング計算部と、
前記変更タイミングの電圧位相角から前記変更カウント値の分のカウント後に矩形波電圧の状態を変化させる矩形波発生部と、
を備えることを特徴とするモータ制御装置。
A motor control device including an inverter for controlling a motor,
A voltage phase controller that calculates a voltage phase angle command value, a counter that counts at a constant period,
With reference to the change timing of the rectangular wave voltage recorded in advance in the recording unit in association with the voltage phase angle command value, the voltage phase angle of the output voltage of the inverter is changed every control cycle longer than the certain cycle. And calculating a difference value between the voltage phase angle command value and the voltage phase angle at the change timing, and a voltage phase angle corresponding to one cycle of the control cycle, An output timing calculation unit that calculates a change count value obtained by integrating a count value counted by the counter in one cycle of the control cycle in the ratio of
A rectangular wave generator for changing the state of the rectangular wave voltage after counting the change count value from the voltage phase angle of the change timing;
A motor control device comprising:
前記電圧位相制御部は、
前記インバータの出力である三相交流電流値と電圧指令値とモータ角速度に基づいて算出したトルク推定値とトルク指令値とのトルク差分値を取得し、
モータの移動子位置と前記トルク差分値に基づいて前記電圧位相角指令値を算出することを特徴とする請求項1に記載のモータ制御装置。
The voltage phase controller is
Obtaining a torque difference value between a torque command value and a torque estimation value calculated based on a three-phase alternating current value, a voltage command value, and a motor angular velocity, which are outputs of the inverter;
The motor control device according to claim 1, wherein the voltage phase angle command value is calculated based on a position of the moving element of the motor and the torque difference value.
前記モータ制御装置に、さらに前記インバータをパルス変調制御するパルス変調制御部を設け、電流位相角又は電圧変調率を元にパルス変調制御に切替えが必要と判定されたとき、前記パルス変調制御部で前記モータを制御することを特徴とする請求項1〜2のいずれかひとつに記載のモータ制御装置。   The motor control device further includes a pulse modulation control unit that performs pulse modulation control of the inverter. When it is determined that switching to pulse modulation control is necessary based on the current phase angle or voltage modulation rate, the pulse modulation control unit The motor control apparatus according to claim 1, wherein the motor is controlled. 前記モータの回転速度が予め記録された回転速度より遅いと判定されたとき、前記パルス変調制御部で前記モータを制御することを特徴とする請求項3に記載のモータ制御装置。   The motor control device according to claim 3, wherein when it is determined that the rotation speed of the motor is slower than a rotation speed recorded in advance, the pulse modulation control unit controls the motor. モータを制御するインバータを備えたモータ制御方法であって、
電圧位相角指令値を算出し、
記録部に予め電圧位相角指令値に関連付けて記録されている矩形波電圧の変更タイミングを参照して、予め設定された一定の周期よりも長い制御周期ごとに前記インバータの出力電圧の電圧位相角が変更タイミングの電圧位相角であるかを判定するとともに、前記電圧位相角指令値と変更タイミングの電圧位相角との差分値を算出し、
前記差分値と前記制御周期の1周期に対応する電圧位相角との比率に前記制御周期の1周期に前記カウンタがカウントするカウント値を積算した変更カウント値を算出し、
前記変更タイミングの電圧位相角から前記変更カウント値の分のカウント後に矩形波電圧の状態を変化させる、
ことを特徴とするモータ制御方法。
A motor control method comprising an inverter for controlling a motor,
Calculate the voltage phase angle command value,
With reference to the change timing of the rectangular wave voltage recorded in advance in the recording unit in association with the voltage phase angle command value, the voltage phase angle of the output voltage of the inverter for each control period longer than a predetermined constant period Is a voltage phase angle at the change timing, and calculates a difference value between the voltage phase angle command value and the voltage phase angle at the change timing,
Calculating a change count value obtained by integrating a count value counted by the counter in one cycle of the control cycle to a ratio between the difference value and a voltage phase angle corresponding to one cycle of the control cycle;
Change the state of the rectangular wave voltage after counting the change count value from the voltage phase angle of the change timing,
The motor control method characterized by the above-mentioned.
JP2009094982A 2009-04-09 2009-04-09 Motor control device and motor control method Withdrawn JP2010246336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009094982A JP2010246336A (en) 2009-04-09 2009-04-09 Motor control device and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009094982A JP2010246336A (en) 2009-04-09 2009-04-09 Motor control device and motor control method

Publications (1)

Publication Number Publication Date
JP2010246336A true JP2010246336A (en) 2010-10-28

Family

ID=43098749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009094982A Withdrawn JP2010246336A (en) 2009-04-09 2009-04-09 Motor control device and motor control method

Country Status (1)

Country Link
JP (1) JP2010246336A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018019496A (en) * 2016-07-27 2018-02-01 株式会社東芝 Device for motor control
WO2020044909A1 (en) * 2018-08-31 2020-03-05 株式会社安川電機 Industrial equipment control device and industrial equipment data collecting system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018019496A (en) * 2016-07-27 2018-02-01 株式会社東芝 Device for motor control
CN107666265A (en) * 2016-07-27 2018-02-06 株式会社东芝 Motor control equipment
US10630221B2 (en) 2016-07-27 2020-04-21 Kabushiki Kaisha Toshiba Motor control device
CN107666265B (en) * 2016-07-27 2020-05-05 株式会社东芝 Motor control device
WO2020044909A1 (en) * 2018-08-31 2020-03-05 株式会社安川電機 Industrial equipment control device and industrial equipment data collecting system
CN112424709A (en) * 2018-08-31 2021-02-26 株式会社安川电机 Control device for industrial equipment and data acquisition system for industrial equipment
JPWO2020044909A1 (en) * 2018-08-31 2021-08-12 株式会社安川電機 Industrial equipment control device and industrial equipment data collection system
JP7046320B2 (en) 2018-08-31 2022-04-04 株式会社安川電機 Industrial equipment control device and industrial equipment data collection system
US11796985B2 (en) 2018-08-31 2023-10-24 Kabushiki Kaisha Yaskawa Denki Industrial equipment controller and industrial equipment data collection system
CN112424709B (en) * 2018-08-31 2024-02-09 株式会社安川电机 Control device of industrial equipment and data acquisition system of industrial equipment

Similar Documents

Publication Publication Date Title
JP3419725B2 (en) Position sensorless motor controller
US20070296371A1 (en) Position sensorless control apparatus for synchronous motor
JP2007202365A (en) Power converter device and motor drive unit using it
JP5891738B2 (en) Motor driving device and control method of motor driving device
JP2010246260A (en) Motor control device and method
JP2015023755A (en) Three-phase inverter current detection device
JP2015149875A (en) Electric motor controller
US20160156294A1 (en) Motor driving module
JP2013141345A (en) Motor control device and air conditioner
JP4051833B2 (en) Vector controller for permanent magnet synchronous motor
JP2015139360A (en) Motor controller
JP2010246336A (en) Motor control device and motor control method
JP6156162B2 (en) Motor control device
JP4535082B2 (en) Sensorless control device and control method for synchronous generator
JP6994685B2 (en) Brushless DC motor control devices, systems and methods
JP2003348876A (en) Inverter, semiconductor integrated circuit, and multiplier
JP2023048833A (en) State estimation method for motor unit and state estimation device
JP5534991B2 (en) Control device for synchronous motor
JP2020014266A (en) Control device for electric motor
JP2012186911A (en) Motor control device
CN115398794A (en) Motor control device, motor system, and motor control method
JP4127000B2 (en) Motor control device
JP5376218B2 (en) Motor control device
JP2008160915A (en) Inverter controller for driving motor and apparatus employing the same
JPH08126379A (en) Driver and control method for dc brushless motor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120703