JP2013074674A - Motor controller and motor control method - Google Patents

Motor controller and motor control method Download PDF

Info

Publication number
JP2013074674A
JP2013074674A JP2011210711A JP2011210711A JP2013074674A JP 2013074674 A JP2013074674 A JP 2013074674A JP 2011210711 A JP2011210711 A JP 2011210711A JP 2011210711 A JP2011210711 A JP 2011210711A JP 2013074674 A JP2013074674 A JP 2013074674A
Authority
JP
Japan
Prior art keywords
motor
gain
control mode
inverter
current
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
JP2011210711A
Other languages
Japanese (ja)
Other versions
JP5808210B2 (en
Inventor
Hiroyuki Araki
宏幸 荒木
Yoshiki Kato
義樹 加藤
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 Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2011210711A priority Critical patent/JP5808210B2/en
Publication of JP2013074674A publication Critical patent/JP2013074674A/en
Application granted granted Critical
Publication of JP5808210B2 publication Critical patent/JP5808210B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

PROBLEM TO BE SOLVED: To appropriately suppress a current offset through a pulse width modulation control system and a rectangular wave control system in a motor controller having a PWM control mode by the pulse width modulation control system and a one-pulse control mode by the rectangular wave control system.SOLUTION: A low frequency component extraction part 151 extracts low frequency components in a current supplied to a motor M by an inverter 168. Also, a gain setting part 140 sets a gain to be made to act on the low frequency components extracted by the low frequency component extraction part 151 such that a gain in the PWM control mode is smaller than a gain in the one-pulse control mode. Then, an offset correction part 165 performs offset correction of reducing the offset of the current supplied to the motor M by the inverter 168 on the basis of an offset correction command value obtained by making the gain set by the gain setting part 140 act on the low frequency components extracted by the low frequency component extraction part 151.

Description

本発明は、モータ制御装置およびモータ制御方法に関する。   The present invention relates to a motor control device and a motor control method.

インバータを具備するモータ制御装置における制御方式の1つに、パルス幅変調(Pulse Width Modulation;PWM)制御方式がある。また、パルス幅変調制御方式ではモータに印加できる電圧が必要電圧に満たない場合に、矩形波制御方式に切り替えてモータ制御を行う方法が知られている。例えば、特許文献1に記載の、交流電動機の制御装置は、矩形波電圧駆動(矩形波制御方式)と、PWM電圧駆動(パルス幅変調制御方式)とを行う。   One of the control methods in a motor control device having an inverter is a pulse width modulation (PWM) control method. In the pulse width modulation control method, when the voltage that can be applied to the motor is less than the required voltage, a method of performing motor control by switching to the rectangular wave control method is known. For example, an AC motor control device described in Patent Document 1 performs rectangular wave voltage drive (rectangular wave control method) and PWM voltage drive (pulse width modulation control method).

ここで、矩形波制御方式において、モータ軸の回転角に誤差が生じると、インバータからモータに供給する電流の切り替えタイミングにずれが生じ、電流が正側または負側にオフセットが発生し得るという問題がある。かかるオフセットにより、モータの発熱や振動等が発生するおそれがある。
かかる問題に対し、特許文献2では、モータの回転の1周期を等間隔に複数に分割したタイミングで駆動電流値(インバータからモータに供給される電流の値)を1周期分サンプリングし、これらサンプリングした駆動電流値の平均値としてオフセット値を算出して、得られたオフセット値に基づいて駆動信号のデューティ比を補正することで、駆動電流のオフセットを補正することが記載されている。
また、特許文献1では、ローパスフィルタを用いて、相電流(インバータからモータに供給される電流)の直流成分をオフセットとして検出することが記載されている。
Here, in the rectangular wave control method, if an error occurs in the rotation angle of the motor shaft, there is a shift in the switching timing of the current supplied from the inverter to the motor, and the current may be offset on the positive side or the negative side. There is. Such offset may cause heat generation or vibration of the motor.
In order to deal with such a problem, in Patent Document 2, the driving current value (the value of the current supplied from the inverter to the motor) is sampled for one period at a timing obtained by dividing one period of rotation of the motor into a plurality of equal intervals. It is described that the offset value is calculated as an average value of the drive current values, and the drive current offset is corrected by correcting the duty ratio of the drive signal based on the obtained offset value.
Patent Document 1 describes that a low-pass filter is used to detect a DC component of a phase current (current supplied from an inverter to a motor) as an offset.

特開2006−74951号公報JP 2006-74951 A 特開2001−298992号公報JP 2001-298990 A

しかしながら、特許文献1や特許文献2には、パルス幅変調制御方式と矩形波制御方式とを通じて適切にオフセットを検出する方法は示されていない。例えば、特許文献1に記載の方法では、モータ低速回転領域において矩形波電圧駆動を行う際に、相電流の周波数が低いことから、相電流自身をオフセットと誤検出してしまうおそれがある。
さらに、特許文献2に記載には、駆動電流値のサンプリングを行うタイミングの検出方法が示されていない。モータ速度が変化する場合、モータの回転の1周期や、当該1周期に基づくサンプリングのタイミングをリアルタイムで検出することは困難と思われる。駆動電流値のサンプリングを行うタイミングにずれが生じると、得られるオフセットに誤差が生じ、オフセット補正を正確に行えなくなってしまう。
However, Patent Document 1 and Patent Document 2 do not show a method for appropriately detecting an offset through a pulse width modulation control method and a rectangular wave control method. For example, in the method described in Patent Document 1, when the rectangular wave voltage drive is performed in the motor low-speed rotation region, the phase current itself may be erroneously detected as an offset because the frequency of the phase current is low.
Further, Patent Document 2 does not disclose a timing detection method for sampling the drive current value. When the motor speed changes, it seems difficult to detect in real time one cycle of rotation of the motor and sampling timing based on the one cycle. If a deviation occurs in the timing for sampling the drive current value, an error occurs in the obtained offset, and the offset correction cannot be performed accurately.

本発明は、このような事情を考慮してなされたものであり、その目的は、パルス幅変調制御方式と矩形波制御方式とを通じて適切に電流オフセットを抑制することのできるモータ制御装置およびモータ制御方法を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a motor control device and a motor control capable of appropriately suppressing a current offset through a pulse width modulation control method and a rectangular wave control method. It is to provide a method.

この発明は上述した課題を解決するためになされたもので、本発明の一態様によるモータ制御装置は、交流電力をモータに供給するインバータを具備し、前記インバータが前記モータに供給する電力をパルス幅変調制御方式にて制御する第1制御モードと、前記インバータが前記モータに供給する電力を矩形波制御方式にて制御する第2制御モードとを有するモータ制御装置であって、前記インバータが前記モータに供給する電流を測定する電流測定部と、前記電流測定部が測定した電流のうち低周波成分を抽出するローパスフィルタと、前記電流測定部が測定した電流の低周波成分に作用させるゲインを、前記第1制御モードにおける前記ゲインが前記第2制御モードにおける前記ゲインより小さくなるように設定するゲイン設定部と、前記電流測定部が測定した電流の低周波成分に前記ゲインを作用させて得られるオフセット補正指令値に基づいて、前記インバータが前記モータに供給する電流のオフセットを低減させるオフセット補正を行うオフセット補正部と、を具備することを特徴とする。   The present invention has been made to solve the above-described problems, and a motor control device according to an aspect of the present invention includes an inverter that supplies AC power to a motor, and pulses the power that the inverter supplies to the motor. A motor control device having a first control mode controlled by a width modulation control method and a second control mode controlling a power supplied from the inverter to the motor by a rectangular wave control method, wherein the inverter A current measurement unit that measures a current supplied to the motor, a low-pass filter that extracts a low-frequency component from the current measured by the current measurement unit, and a gain that acts on the low-frequency component of the current measured by the current measurement unit. A gain setting unit for setting the gain in the first control mode to be smaller than the gain in the second control mode; An offset correction unit for performing offset correction for reducing an offset of a current supplied to the motor by the inverter, based on an offset correction command value obtained by applying the gain to a low frequency component of the current measured by the current measurement unit; It is characterized by comprising.

また、本発明の一態様によるモータ制御装置は、上述のモータ制御装置であって、前記ゲイン設定部は、制御モードの切り替わりの際の前記ゲインの急変を防止するローパスフィルタを具備することを特徴とする。   A motor control device according to an aspect of the present invention is the above-described motor control device, wherein the gain setting unit includes a low-pass filter that prevents a sudden change in the gain when the control mode is switched. And

また、本発明の一態様によるモータ制御装置は、上述のモータ制御装置であって、前記モータ制御装置は、前記インバータが前記モータに供給する電力を正弦波パルス幅変調制御方式にて制御する第3制御モードと、前記インバータが前記モータに供給する電力を過変調パルス幅変調制御方式にて制御する第4制御モードとを、前記第1制御モードに含んで有し、前記ゲイン設定部は、前記第3制御モードにおける前記ゲインが前記第4制御モードにおける前記ゲインより小さくなるように設定することを特徴とする。   A motor control device according to an aspect of the present invention is the above-described motor control device, wherein the motor control device controls power supplied from the inverter to the motor by a sine wave pulse width modulation control method. 3 control mode and a fourth control mode for controlling the power supplied from the inverter to the motor by an overmodulation pulse width modulation control method. The gain setting unit includes: The gain in the third control mode is set to be smaller than the gain in the fourth control mode.

また、本発明の一態様によるモータ制御方法は、交流電力をモータに供給するインバータを具備し、前記インバータが前記モータに供給する電力をパルス幅変調制御方式にて制御する第1制御モードと、前記インバータが前記モータに供給する電力を矩形波制御方式にて制御する第2制御モードとを有するモータ制御装置のモータ制御方法であって、前記インバータが前記モータに供給する電流を測定する電流測定ステップと、前記電流測定ステップにて測定した電流のうち低周波成分を抽出する低周波成分抽出ステップと、前記電流測定ステップにて測定した電流の低周波成分に作用させるゲインを、前記第1制御モードにおける前記ゲインが前記第2制御モードにおける前記ゲインより小さくなるように設定するゲイン設定ステップと、前記電流測定ステップにて測定した電流の低周波成分に前記ゲインを作用させて得られるオフセット補正指令値に基づいて、前記インバータが前記モータに供給する電流のオフセットを低減させるオフセット補正を行うオフセット補正ステップと、を具備することを特徴とする。   The motor control method according to one aspect of the present invention includes an inverter that supplies AC power to the motor, and a first control mode that controls the power that the inverter supplies to the motor by a pulse width modulation control method; A motor control method of a motor control device having a second control mode for controlling electric power supplied from the inverter to the motor by a rectangular wave control method, wherein current measurement is performed for measuring current supplied from the inverter to the motor. Step, a low-frequency component extraction step for extracting a low-frequency component from the current measured in the current measurement step, and a gain that acts on the low-frequency component of the current measured in the current measurement step. A gain setting step for setting the gain in the mode to be smaller than the gain in the second control mode; Offset correction for performing offset correction for reducing the offset of the current supplied to the motor by the inverter based on the offset correction command value obtained by applying the gain to the low frequency component of the current measured in the current measurement step And a step.

本発明によれば、パルス幅変調制御方式と矩形波制御方式とを通じて適切に電流オフセットを抑制し得る。   According to the present invention, the current offset can be appropriately suppressed through the pulse width modulation control method and the rectangular wave control method.

本発明の一実施形態におけるモータ制御装置の機能構成を示す概略ブロック図である。It is a schematic block diagram which shows the function structure of the motor control apparatus in one Embodiment of this invention. 同実施形態において、モータ制御装置100がオフセット補正を行う処理手順を示すフローチャートである。4 is a flowchart illustrating a processing procedure in which the motor control device 100 performs offset correction in the same embodiment.

以下、図面を参照して、本発明の実施の形態について説明する。
図1は、本発明の一実施形態におけるモータ制御装置の機能構成を示す概略ブロック図である。同図において、モータ制御装置100は、角度検出部111と、速度計算部112と、電流検出器121と、3相/2相変換部122と、モード切替部131と、ゲイン設定部140と、低周波成分抽出部151と、乗算部152と、PWM制御電圧生成部161と、ワンパルス制御電圧生成部162と、信号選択部163と、2相/3相変換部164と、オフセット補正部165と、デューティ計算部166と、電源部167と、インバータ168とを具備する。ゲイン設定部140は、記憶部141と、ゲイン切替部142と、急変防止部143とを具備する。また、モータ制御装置100は、モータMを制御する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic block diagram showing a functional configuration of a motor control device according to an embodiment of the present invention. In the figure, the motor control device 100 includes an angle detection unit 111, a speed calculation unit 112, a current detector 121, a three-phase / two-phase conversion unit 122, a mode switching unit 131, a gain setting unit 140, Low frequency component extraction unit 151, multiplication unit 152, PWM control voltage generation unit 161, one-pulse control voltage generation unit 162, signal selection unit 163, two-phase / three-phase conversion unit 164, offset correction unit 165, , A duty calculation unit 166, a power supply unit 167, and an inverter 168. The gain setting unit 140 includes a storage unit 141, a gain switching unit 142, and a sudden change prevention unit 143. In addition, the motor control device 100 controls the motor M.

モータ制御装置100は、電気自動車に搭載されて、当該電気自動車の駆動用モータMを制御する。ただし、本発明は、電気自動車のモータ制御に限らず様々なモータの制御に適用可能である。例えば、産業車両、ハイブリッド自動車、電車、船舶、飛行機または発電システム等のモータの制御にも本発明を適用可能である。   The motor control device 100 is mounted on an electric vehicle and controls a drive motor M of the electric vehicle. However, the present invention is applicable not only to motor control of an electric vehicle but also to control of various motors. For example, the present invention can be applied to control of motors such as industrial vehicles, hybrid cars, trains, ships, airplanes, and power generation systems.

モータMは、3相モータであり、電力変換部155から出力される駆動電流により駆動される。モータMには、角度検出部111が取り付けられている。
角度検出部111は、例えばレゾルバであり、モータMのロータ回転角度θを検出し、得られたロータ回転角度θを速度計算部112と3相/2相変換部122と2相/3相変換部164とに出力する。
速度計算部112は、角度検出部111から出力される回転角度θから、モータMの回転子の角速度ωを算出し、得られた角速度ωをワンパルス制御電圧生成部162とPWM制御電圧生成部161とに出力する。
The motor M is a three-phase motor and is driven by a drive current output from the power conversion unit 155. An angle detector 111 is attached to the motor M.
The angle detection unit 111 is, for example, a resolver, detects the rotor rotation angle θ of the motor M, and uses the obtained rotor rotation angle θ to convert the speed calculation unit 112, the 3-phase / 2-phase conversion unit 122, and the 2-phase / 3-phase conversion. To the unit 164.
The speed calculation unit 112 calculates the angular velocity ω of the rotor of the motor M from the rotation angle θ output from the angle detection unit 111, and uses the obtained angular velocity ω for the one-pulse control voltage generation unit 162 and the PWM control voltage generation unit 161. And output.

電流検出器121は、例えば電流トランス(Current Transformer)を具備し、インバータ168がモータMに供給する3相の電流Iu、Iv、Iw(の電流値)を検出して、3相/2相変換部122と低周波成分抽出部151とに出力する。
3相/2相変換部122は、電流検出器121から出力される3相の電流値Iu、IvおよびIwを、2相のd軸成分の電流値Idおよびq軸成分の電流値Iq(以下、「検出電流値」と称する)に変換する。3相/2相変換部122は、得られた検出電流値IdおよびIqを、PWM制御電圧生成部161と、ワンパルス制御電圧生成部162とに出力する。ここで、d軸およびq軸はモータ軸に対して設定される座標軸である。d軸は、磁極が発生させる磁束の方向に設定され、q軸はd軸と電気的および磁気的に直交して設定される。d軸成分の電流(d軸電流)は、モータMに磁束を発生させるのに用いられる成分(励磁電流成分)である。また、q軸成分の電流(q軸電流)は、負荷のトルクに対応した成分である。
なお、以下では、指令値や指令信号を、右上に「*」を付した変数にて表す。
The current detector 121 includes, for example, a current transformer, detects three-phase currents Iu, Iv, and Iw (current values) supplied from the inverter 168 to the motor M, and performs three-phase / two-phase conversion. Output to the unit 122 and the low-frequency component extraction unit 151.
The three-phase / two-phase converter 122 converts the three-phase current values Iu, Iv, and Iw output from the current detector 121 into the two-phase d-axis component current value Id and the q-axis component current value Iq (hereinafter referred to as the two-phase current value Iq). , Referred to as “detected current value”). The three-phase / two-phase conversion unit 122 outputs the obtained detected current values Id and Iq to the PWM control voltage generation unit 161 and the one-pulse control voltage generation unit 162. Here, the d axis and the q axis are coordinate axes set with respect to the motor axis. The d-axis is set in the direction of the magnetic flux generated by the magnetic pole, and the q-axis is set to be electrically and magnetically orthogonal to the d-axis. The d-axis component current (d-axis current) is a component (excitation current component) used to cause the motor M to generate magnetic flux. The q-axis component current (q-axis current) is a component corresponding to the torque of the load.
In the following, command values and command signals are represented by variables with “*” in the upper right.

モード切替部131は、信号選択部163から出力される指令電圧値VdおよびVqに基づいて、モータ制御装置100の制御モード切り替える。
ここで、モータ制御装置100は、制御モードとして、正弦波PWM制御モード(第3制御モード)と、過変調PWM制御モード(第4制御モード)と、ワンパルス制御モード(第2制御モード)とを有する。また、以下では、正弦波PWM制御モードおよび過変調PWM制御モードを、「PWM制御モード」(第1制御モード)と総称する。
The mode switching unit 131 switches the control mode of the motor control device 100 based on the command voltage values Vd * and Vq * output from the signal selection unit 163.
Here, the motor control device 100 has a sine wave PWM control mode (third control mode), an overmodulation PWM control mode (fourth control mode), and a one-pulse control mode (second control mode) as control modes. Have. Hereinafter, the sine wave PWM control mode and the overmodulation PWM control mode are collectively referred to as “PWM control mode” (first control mode).

正弦波PWM制御モードは、インバータ168がモータMに供給する電力を正弦波パルス幅変調制御方式(正弦波PWM制御方式)にて制御するモードである。
正弦波パルス幅変調制御方式は、インバータ168に対する駆動信号として、その基本波成分が正弦波となるデューティ比を有するPWM電圧波形の駆動信号を用いる方式である。この正弦波パルス幅変調制御方式は、騒音・振動の少なさやトルクの安定性の点で、矩形波制御方式や正弦波パルス幅変調制御方式よりも優れているが、モータに供給(印加)可能な電圧は、矩形波制御方式や過変調パルス幅変調制御方式よりも低い。
The sine wave PWM control mode is a mode in which the power supplied from the inverter 168 to the motor M is controlled by a sine wave pulse width modulation control method (sine wave PWM control method).
The sine wave pulse width modulation control method uses a PWM voltage waveform drive signal having a duty ratio whose fundamental wave component is a sine wave as a drive signal for the inverter 168. This sine wave pulse width modulation control method is superior to the rectangular wave control method and sine wave pulse width modulation control method in terms of noise and vibration and torque stability, but can be supplied (applied) to the motor. Such a voltage is lower than the rectangular wave control method and the overmodulation pulse width modulation control method.

ワンパルス制御モードは、インバータ168がモータMに供給する電力を矩形波制御方式(ワンパルス制御方式)にて制御するモードである。
矩形波制御方式は、インバータ168に対する、モータの回転の1周期分の駆動信号として、ハイレベル期間とローレベル期間との比が1:1の矩形波1パルス分を用いる方式である。矩形波制御方式では、正弦波パルス幅変調制御方式や過変調パルス幅変調制御方式の場合よりも高い電圧をモータに供給可能である。
The one pulse control mode is a mode in which the electric power supplied from the inverter 168 to the motor M is controlled by a rectangular wave control method (one pulse control method).
The rectangular wave control method is a method using one pulse of a rectangular wave whose ratio between the high level period and the low level period is 1: 1 as a drive signal for one cycle of motor rotation for the inverter 168. In the rectangular wave control method, a higher voltage can be supplied to the motor than in the sine wave pulse width modulation control method and the overmodulation pulse width modulation control method.

過変調PWM制御モードは、インバータ168がモータMに供給する電力を過変調パルス幅変調制御方式(過変調PWM制御方式)にて制御するモードである。
過変調パルス幅変調制御方式では、インバータ168に対する駆動信号として、その基本波成分が正弦波から歪むデューティ比を有するPWM電圧波形の駆動信号を用いる。これによって、正弦波パルス幅変調制御方式の場合よりも高い電圧をモータに供給可能である。
The overmodulation PWM control mode is a mode in which the power supplied from the inverter 168 to the motor M is controlled by the overmodulation pulse width modulation control method (overmodulation PWM control method).
In the overmodulation pulse width modulation control method, a drive signal having a PWM voltage waveform having a duty ratio whose fundamental wave component is distorted from a sine wave is used as a drive signal for the inverter 168. This makes it possible to supply a higher voltage to the motor than in the sine wave pulse width modulation control method.

これら各方式の特性に従って、モード切替部131は、モータ制御装置100の制御モードを切り替える。具体的には、モータMへの必要電圧が低い場合、モード切替部131は、正弦波PWM制御モードを選択する。これにより、騒音・振動を抑制し、また、モータMのトルクを安定させ得る。一方、正弦波PWM制御モードではモータMへの必要電圧に足りない場合、モード切替部131は、過変調PWM制御モードを選択する。これにより、ワンパルス制御モードの場合よりも騒音・振動を抑制し、また、モータMのトルクを安定させ得る。さらに、過変調PWM制御モードでもモータMへの必要電圧に足りない場合、モード切替部131は、ワンパルス制御モードを選択する。これにより、騒音・振動やトルクの安定性の点では劣るものの、モータMに対して高い電圧を供給し得る。例えば、モード切替部131は、予め記憶している正弦波PWM制御モードや過変調PWM制御モードでの供給可能電圧と、信号選択部163から出力される指令電圧値VdおよびVqとを比較して制御モードを選択する。 The mode switching unit 131 switches the control mode of the motor control device 100 according to the characteristics of each method. Specifically, when the required voltage to the motor M is low, the mode switching unit 131 selects the sine wave PWM control mode. Thereby, noise and vibration can be suppressed and the torque of the motor M can be stabilized. On the other hand, when the required voltage to the motor M is insufficient in the sine wave PWM control mode, the mode switching unit 131 selects the overmodulation PWM control mode. Thereby, noise and vibration can be suppressed more than in the case of the one-pulse control mode, and the torque of the motor M can be stabilized. Further, when the necessary voltage to the motor M is insufficient even in the overmodulation PWM control mode, the mode switching unit 131 selects the one-pulse control mode. As a result, although the noise / vibration and torque stability are poor, a high voltage can be supplied to the motor M. For example, the mode switching unit 131 compares the voltage that can be supplied in advance in the sine wave PWM control mode and the overmodulation PWM control mode with the command voltage values Vd * and Vq * output from the signal selection unit 163. To select the control mode.

なお、モータ制御装置100が、PWM制御モードとして、正弦波PWM制御モードのみを有するようにしてもよい。この場合、モード切替部131は、正弦波PWM制御モードとワンパルス制御モードとのいずれかを選択する。   Note that the motor control device 100 may have only the sine wave PWM control mode as the PWM control mode. In this case, the mode switching unit 131 selects either the sine wave PWM control mode or the one pulse control mode.

PWM制御電圧生成部161は、トルク指令と、速度計算部112から出力される角速度ωと、3相/2相変換部122から出力される検出電流値IdおよびIqとの入力を受けて、出力電流のPI制御によるd軸電圧Vdaおよびq軸電圧Vqaを出力する。
具体的には、PWM制御電圧生成部161は、まず、トルク指令の値と角速度ωとに対応する電流の指令値として、d軸成分およびq軸成分を持つ2相の電流値である指令電流値を生成する。次に、PWM制御電圧生成部161は、検出電流値IdおよびIqを制御変数として、この検出電流値IdおよびIqが、指令電流値に応じた値になるように、PI制御によるd軸電圧Vdaおよびq軸電圧Vqaを算出し、信号選択部163に出力する。
The PWM control voltage generator 161 receives the torque command, the angular velocity ω output from the speed calculator 112, and the detected current values Id and Iq output from the three-phase / two-phase converter 122, and outputs them. The d-axis voltage Vda * and the q-axis voltage Vqa * are output by current PI control.
Specifically, the PWM control voltage generator 161 first determines a command current which is a two-phase current value having a d-axis component and a q-axis component as a current command value corresponding to the torque command value and the angular velocity ω. Generate a value. Next, the PWM control voltage generator 161 uses the detected current values Id and Iq as control variables, and the d-axis voltage Vda by PI control so that the detected current values Id and Iq become values according to the command current value. * And q-axis voltage Vqa * are calculated and output to the signal selection unit 163.

ワンパルス制御電圧生成部162は、トルク指令と、速度計算部112から出力される角速度ωと、3相/2相変換部122から出力される検出電流値IdおよびIqとの入力を受けて、モータトルクのPI制御によるd軸電圧Vdbおよびq軸電圧Vqbを出力する。
具体的には、ワンパルス制御電圧生成部162は、まず、トルク指令の値と、検出電流値IdおよびIqとに基づいて、モータMの出力トルクを推定する。次に、ワンパルス制御電圧生成部162は、推定した出力トルクが、トルク指令に応じた値になるように、PI制御によるd軸電圧Vdbおよびq軸電圧Vqbを算出し、信号選択部163に出力する。
The one-pulse control voltage generator 162 receives the torque command, the angular velocity ω output from the speed calculator 112, and the detected current values Id and Iq output from the three-phase / two-phase converter 122, A d-axis voltage Vdb * and a q-axis voltage Vqb * are output by torque PI control.
Specifically, the one-pulse control voltage generation unit 162 first estimates the output torque of the motor M based on the value of the torque command and the detected current values Id and Iq. Next, the one-pulse control voltage generation unit 162 calculates the d-axis voltage Vdb * and the q-axis voltage Vqb * by PI control so that the estimated output torque becomes a value according to the torque command, and the signal selection unit 163 Output to.

信号選択部163は、モード切替部131の選択した制御モードに応じて、正弦波PWM制御モードまたは過変調PWM制御モードの場合は、PWM制御電圧生成部161からのd軸電圧Vdaおよびq軸電圧Vqaを、指令電圧値VdおよびVqとして2相/3相変換部164に出力し、ワンパルス制御モードの場合は、ワンパルス制御電圧生成部162からのd軸電圧Vdbおよびq軸電圧Vqbを、指令電圧値VdおよびVqとして2相/3相変換部164に出力する。 Depending on the control mode selected by the mode switching unit 131, the signal selection unit 163, in the case of the sine wave PWM control mode or the overmodulation PWM control mode, outputs the d-axis voltage Vda * and the q-axis from the PWM control voltage generation unit 161. The voltage Vqa * is output as the command voltage values Vd * and Vq * to the two-phase / three-phase converter 164. In the one-pulse control mode, the d-axis voltage Vdb * and the q-axis voltage from the one-pulse control voltage generator 162 are output. Vqb * is output to 2-phase / 3-phase converter 164 as command voltage values Vd * and Vq * .

2相/3相変換部164は、角度検出部111から出力される回転角度θを用いて、信号選択部163から出力される指令電圧値VdおよびVqを座標変換して、3相の指令電圧Vuo、Vvo、Vwoを算出する。2相/3相変換部164は、算出した3相の指令電圧Vuo、Vvo、Vwoをオフセット補正部165に出力する。
特に、モータ制御装置100の制御モードがワンパルスモードの場合、2相/3相変換部164は、指令電圧Vuo、Vvo、Vwoとして、インバータ168に対する駆動指令を出力する。ここで、角度検出部111の検出誤差により、2相/3相変換部164が出力する駆動指令において、ハイレベル期間とローレベル期間との比が1:1からずれている場合がある。
The two-phase / three-phase conversion unit 164 uses the rotation angle θ output from the angle detection unit 111 to coordinate-convert the command voltage values Vd * and Vq * output from the signal selection unit 163, thereby converting the three-phase Command voltages Vuo * , Vvo * , and Vwo * are calculated. The two-phase / three-phase conversion unit 164 outputs the calculated three-phase command voltages Vuo * , Vvo * , and Vwo * to the offset correction unit 165.
In particular, when the control mode of the motor control device 100 is the one-pulse mode, the two-phase / three-phase converter 164 outputs a drive command to the inverter 168 as the command voltages Vuo * , Vvo * , and Vwo * . Here, the ratio between the high level period and the low level period may deviate from 1: 1 in the drive command output by the two-phase / three-phase converter 164 due to a detection error of the angle detector 111.

オフセット補正部165は、インバータ168がモータMに供給する電流のオフセットを低減させるオフセット補正を行う。
モータ制御装置100の制御モードが正弦波PWM制御モードまたは過変調PWM制御モードの場合、オフセット補正部165は、2相/3相変換部164から出力される指令電圧Vuoから、乗算部152から出力されるオフセット補正指令値Vumを減算して補正後指令電圧Vuを算出する。同様に、オフセット補正部165は、指令電圧Vvoからオフセット補正指令値Vvmを減算して補正後指令電圧Vuを算出し、また、指令電圧Vwoからオフセット補正指令値Vwmを減算して、補正後指令電圧Vwを算出する。そして、オフセット補正部165は、得られた補正後指令電圧Vu、Vv、Vwをデューティ計算部166に出力する。
The offset correction unit 165 performs offset correction for reducing the offset of the current supplied to the motor M by the inverter 168.
When the control mode of the motor control device 100 is the sine wave PWM control mode or the overmodulation PWM control mode, the offset correction unit 165 uses the command voltage Vuo * output from the two-phase / three-phase conversion unit 164 and the multiplication unit 152. The offset correction command value Vum * that is output is subtracted to calculate a corrected command voltage Vu * . Similarly, the offset correction unit 165 subtracts the command voltage VVO * from the offset correction command value Vvm * to calculate a corrected command voltage Vu *, also the offset correction command value Vwm * is subtracted from the command voltage Vwo * Thus, the corrected command voltage Vw * is calculated. Then, the offset correction unit 165 outputs the obtained corrected command voltages Vu * , Vv * , Vw * to the duty calculation unit 166.

一方、モータ制御装置100の制御モードがワンパルス制御モードの場合、オフセット補正部165は、乗算部152から出力されるオフセット補正指令値Vum、Vvm、Vwmに基づいて、インバータ168がモータMに供給する電流のオフセットを低減させるオフセット補正を行う。
ここで、後述するように、モータ制御装置100の制御モードがワンパルス制御モードの場合、オフセット補正指令値Vum、Vvm、Vwmは、インバータ168がモータMに供給する電圧のオフセット示す。そこで、オフセット補正部165は、フィードバック制御(例えば積分制御)により、オフセット補正指令値Vum、Vvm、Vwmの示すオフセットが0となるよう補正を行う。オフセットが正の値の場合、オフセット補正部165は、指令電圧のハイレベル期間が短くなるように、あるいは、ローレベル期間が長くなるようにデューティ比を変更して補正後指令電圧とする。一方、オフセットが負の値の場合、オフセット補正部165は、指令電圧のハイレベル期間が長くなるように、あるいは、ローレベル期間が短くなるようにデューティ比を変更して補正後指令電圧とする。
On the other hand, when the control mode of the motor control device 100 is the one-pulse control mode, the offset correction unit 165 causes the inverter 168 to operate the motor M based on the offset correction command values Vum * , Vvm * , and Vwm * output from the multiplication unit 152. Offset correction is performed to reduce the offset of the current supplied to.
Here, as will be described later, when the control mode of the motor control device 100 is the one-pulse control mode, the offset correction command values Vum * , Vvm * , and Vwm * indicate the offset of the voltage that the inverter 168 supplies to the motor M. Therefore, the offset correction unit 165 performs correction so that the offsets indicated by the offset correction command values Vum * , Vvm * , and Vwm * become 0 by feedback control (for example, integration control). When the offset is a positive value, the offset correction unit 165 changes the duty ratio so that the high level period of the command voltage is shortened or the low level period is lengthened to obtain the corrected command voltage. On the other hand, when the offset is a negative value, the offset correction unit 165 changes the duty ratio so that the high level period of the command voltage becomes longer or the low level period becomes shorter to obtain the corrected command voltage. .

デューティ計算部166は、モータ制御装置100の制御モードが正弦波PWM制御モードの場合、基本波成分が正弦波となるデューティ比を有するPWM電圧波形の駆動信号を生成して、インバータ168に出力する。例えば、まず、オフセット補正部165が、補正後指令電圧Vuとして、正弦波の信号を出力する。そして、デューティ計算部166は、補正後指令電圧Vuと三角波状の搬送波とを比較して、補正後指令電圧Vuが搬送波よりも大きいタイミングでは駆動信号をハイレベルとし、補正後指令電圧Vuが搬送波よりも小さいタイミングでは駆動信号をローレベルする。デューティ計算部166は、v相およびw相についても同様にしてPWM電圧波形の駆動信号を生成する。モータ制御装置100の制御モードが過変調PWM制御モードの場合も同様にして、デューティ計算部166は、基本波成分が正弦波から歪むデューティ比を有するPWM電圧波形の駆動信号を生成して、インバータ168に出力する。 When the control mode of motor control device 100 is a sine wave PWM control mode, duty calculation unit 166 generates a drive signal having a PWM voltage waveform having a duty ratio in which the fundamental wave component is a sine wave, and outputs the drive signal to inverter 168. . For example, first, the offset correction unit 165 outputs a sine wave signal as the corrected command voltage Vu * . Then, the duty calculator 166 compares the corrected command voltage Vu * with a triangular wave carrier wave, sets the drive signal to a high level at a timing when the corrected command voltage Vu * is larger than the carrier wave, and corrects the corrected command voltage Vu. At the timing when * is smaller than the carrier wave, the drive signal is set to low level. Duty calculation unit 166 similarly generates a drive signal having a PWM voltage waveform for the v phase and the w phase. Similarly, when the control mode of the motor control device 100 is the overmodulation PWM control mode, the duty calculation unit 166 generates a drive signal having a PWM voltage waveform having a duty ratio in which the fundamental wave component is distorted from a sine wave. To 168.

また、モータ制御装置100の制御モードがワンパルス制御モードの場合、デューティ計算部166は、オフセット補正部165から出力される補正後指令電圧(駆動指令)を、そのままインバータ168に出力する。   Further, when the control mode of motor control device 100 is the one-pulse control mode, duty calculation unit 166 outputs the corrected command voltage (drive command) output from offset correction unit 165 to inverter 168 as it is.

電源部167は、二次電池等の直流電源であり、インバータ168に電力を供給する。
インバータ168は、例えばIGBT(Insulated Gate Bipolar Transistor)素子などの電力制御素子(パワー素子)を具備して、電源部167から供給される電力を、デューティ計算部166から出力される駆動信号に応じた3相のモータ駆動電力に変換して、モータMに供給する。
The power supply unit 167 is a DC power supply such as a secondary battery, and supplies power to the inverter 168.
The inverter 168 includes, for example, a power control element (power element) such as an IGBT (Insulated Gate Bipolar Transistor) element, and the power supplied from the power supply unit 167 corresponds to the drive signal output from the duty calculation unit 166. It is converted into three-phase motor drive power and supplied to the motor M.

記憶部141は、正弦波PWM制御モード、過変調PWM制御モード、ワンパルス制御モードの各々について、オフセット補正指令値Vum、Vvm、Vwmを生成するためのゲインの基となる定数(以下では、「ゲイン基定数」と称する)を予め記憶している。
記憶部141の記憶するゲイン基定数は、ワンパルス制御モードのゲイン基定数が最も大きく、次に、過変調PWM制御モードのゲイン基定数が大きく、正弦波PWM制御モードのゲイン基定数が最も小さい。
ここで、ワンパルス制御モードでは、矩形波のデューティ比が1:1から僅かでもずれるとオフセットが発生してしまうため、充分な補正が必要となる。これに対して、過変調PWM制御モードでは、オフセットは発生し難く、補正量は少なくてよい。正弦波PWM制御モードでは、補正量はさらに少なくてよい。
なお、記憶部141が、半導体メモリを具備してゲイン基定数を記憶するようにしてもよいし、あるいは、各ゲイン基定数に応じた抵抗値の電気抵抗を具備するなど、半導体メモリ以外の手段でゲイン基定数を記憶するようしてもよい。
The storage unit 141 is a constant (hereinafter referred to as a gain) for generating offset correction command values Vum * , Vvm * , and Vwm * for each of the sine wave PWM control mode, overmodulation PWM control mode, and one-pulse control mode. , Referred to as “gain base constant”).
The gain base constant stored in the storage unit 141 is the largest in the one-pulse control mode, next the gain base constant in the overmodulation PWM control mode is the largest, and the gain base constant in the sine wave PWM control mode is the smallest.
Here, in the one-pulse control mode, an offset occurs when the duty ratio of the rectangular wave slightly deviates from 1: 1, so that sufficient correction is necessary. On the other hand, in the overmodulation PWM control mode, the offset hardly occurs and the correction amount may be small. In the sine wave PWM control mode, the correction amount may be further reduced.
Note that the storage unit 141 may include a semiconductor memory and store gain base constants, or may include means other than the semiconductor memory, such as including an electrical resistance having a resistance value corresponding to each gain base constant. The gain base constant may be stored.

ゲイン切替部142は、モータ制御装置100の制御モードに応じたゲイン基定数を、記憶部141から取得して、急変防止部143に出力する。以下では、急変防止部143の出力する値を「フィルタ前ゲイン」と称する。
急変防止部143は、例えば1次のローパスフィルタであり、ゲイン切替部142から出力されるゲイン基定数が切り替わる際の高調波成分を除去して、ゲインとして乗算部152に出力する。これにより、急変防止部143は、モータ制御装置100の制御モードが切り替わる際の、ゲインの急変を防止する。
The gain switching unit 142 acquires the gain base constant corresponding to the control mode of the motor control device 100 from the storage unit 141 and outputs it to the sudden change prevention unit 143. Hereinafter, the value output from the sudden change prevention unit 143 is referred to as “pre-filter gain”.
The sudden change prevention unit 143 is, for example, a first-order low-pass filter, removes a harmonic component when the gain base constant output from the gain switching unit 142 is switched, and outputs the result to the multiplication unit 152 as a gain. Thereby, the sudden change prevention unit 143 prevents a sudden change in gain when the control mode of the motor control device 100 is switched.

また、以上により、ゲイン設定部140は、電流検出器121が測定した電流から低周波成分抽出部151が抽出する低周波成分に作用させるゲインを、PWM制御モードにおけるゲインがワンパルス制御モードにおけるゲインより小さくなるように設定する。また、ゲイン設定部140は、正弦波PWM制御モードにおけるゲインが過変調PMW制御モードにおけるゲインより小さくなるように設定する。   In addition, as described above, the gain setting unit 140 causes the gain to be applied to the low frequency component extracted by the low frequency component extraction unit 151 from the current measured by the current detector 121, so that the gain in the PWM control mode is greater than the gain in the one pulse control mode. Set to be smaller. The gain setting unit 140 sets the gain in the sine wave PWM control mode to be smaller than the gain in the overmodulation PMW control mode.

低周波成分抽出部151は、例えば1次のローパスフィルタであり、電流検出器121が測定した電流Iu、Iv、Iwのうち低周波成分Iul、Ivl、Iwlを抽出する。
ここで、モータMの回転速度が速い場合(例えば、ワンパルス制御モードの場合)、インバータ168がモータMに供給する電流の周波数が高い。従って、低周波成分抽出部151は直流成分、すなわちオフセットを抽出し得る。
The low-frequency component extraction unit 151 is, for example, a primary low-pass filter, and extracts the low-frequency components Iul, Ivl, and Iwl from the currents Iu, Iv, and Iw measured by the current detector 121.
Here, when the rotation speed of the motor M is high (for example, in the one-pulse control mode), the frequency of the current supplied to the motor M by the inverter 168 is high. Therefore, the low frequency component extraction unit 151 can extract a DC component, that is, an offset.

乗算部152は、急変防止部143から出力されるゲインを、低周波成分抽出部151から出力される低周波成分に作用させる。具体的には、乗算部152は、低周波成分抽出部151から出力される低周波成分Iul、Ivl、Iwlの各々に、急変防止部143から出力されるゲインを乗算する。そして、乗算部152は、得られた乗算結果を、三相電圧に対するオフセット補正指令値Vum、Vvm、Vwmとしてオフセット補正部165に出力する。
ただし、乗算部152がゲインを作用させる方法は、ゲインを乗算する方法に限らない。例えば、ゲインの対数を乗算するなど、単純にゲインを乗算する以外の方法で、乗算部152がゲインを作用させるようにしてもよい。
ここで、モータ制御装置100の制御モードがワンパルス制御モードの場合、モータMの回転速度が速いことが考えられる。この場合、上記のように、低周波成分抽出部151が、電流Iu、Iv、Iwのオフセットを抽出する。従って、乗算部152の出力するオフセット補正指令値Vum、Vvm、Vwmは、インバータ168がモータMに供給する電圧のオフセット示す。
The multiplier 152 causes the gain output from the sudden change prevention unit 143 to act on the low frequency component output from the low frequency component extraction unit 151. Specifically, the multiplication unit 152 multiplies each of the low frequency components Iul, Ivl, and Iwl output from the low frequency component extraction unit 151 by the gain output from the sudden change prevention unit 143. Then, the multiplication unit 152 outputs the obtained multiplication result to the offset correction unit 165 as offset correction command values Vum * , Vvm * , and Vwm * for the three-phase voltage.
However, the method by which the multiplier 152 applies the gain is not limited to the method of multiplying the gain. For example, the multiplier 152 may apply the gain by a method other than simply multiplying the gain, such as multiplying the logarithm of the gain.
Here, when the control mode of the motor control device 100 is the one-pulse control mode, it is conceivable that the rotation speed of the motor M is fast. In this case, as described above, the low-frequency component extraction unit 151 extracts the offsets of the currents Iu, Iv, and Iw. Therefore, the offset correction command values Vum * , Vvm * , and Vwm * output from the multiplication unit 152 indicate the offset of the voltage that the inverter 168 supplies to the motor M.

次に、図2を参照して、モータ制御装置100が行うオフセット補正の処理手順について説明する。
図2は、モータ制御装置100がオフセット補正を行う処理手順を示すフローチャートである。同図の処理において、まず、モータ制御装置100の制御モードに応じて、ゲイン切替部142が、記憶部141からゲイン基定数を取得し、急変防止部143に出力する(ステップS101)。次に、急変防止部143は、ゲイン切替部142から出力される値をローパスフィルタに通して、モータ制御装置100の制御モードが切り替わる際の値の急変を防止したゲインを取得する(ステップS102)。急変防止部143は、得られたゲインを乗算部152に出力させる。
Next, an offset correction processing procedure performed by the motor control device 100 will be described with reference to FIG.
FIG. 2 is a flowchart illustrating a processing procedure in which the motor control device 100 performs offset correction. In the process shown in the figure, first, the gain switching unit 142 acquires the gain base constant from the storage unit 141 according to the control mode of the motor control device 100, and outputs the gain base constant to the sudden change prevention unit 143 (step S101). Next, the sudden change prevention unit 143 passes the value output from the gain switching unit 142 through a low-pass filter, and obtains a gain that prevents a sudden change in value when the control mode of the motor control device 100 is switched (step S102). . The sudden change prevention unit 143 causes the multiplication unit 152 to output the obtained gain.

一方、電流検出器121は、インバータ168がモータMに供給する電流を測定し、得られた電流値を低周波成分抽出部151に出力する(ステップS111)。次に、低周波成分抽出部151は、電流検出器121が測定した電流の低周波成分を抽出して乗算部152に出力する(ステップS112)。
そして、乗算部152は、低周波成分抽出部151から出力された低周波成分(の電流値)に急変防止部143から出力されたゲインを乗算してオフセット補正指令を算出し、オフセット補正部165に出力する(ステップS121)。そして、オフセット補正部165は、モータ制御装置100の制御モードに応じて、オフセット補正指令に基づいてオフセット補正を行う(ステップS122)。
その後、同図の処理を終了する。
On the other hand, the current detector 121 measures the current supplied to the motor M by the inverter 168, and outputs the obtained current value to the low frequency component extraction unit 151 (step S111). Next, the low frequency component extraction unit 151 extracts the low frequency component of the current measured by the current detector 121 and outputs the low frequency component to the multiplication unit 152 (step S112).
Then, the multiplication unit 152 multiplies the low-frequency component (current value) output from the low-frequency component extraction unit 151 by the gain output from the sudden change prevention unit 143 to calculate an offset correction command, and the offset correction unit 165 (Step S121). Then, the offset correction unit 165 performs offset correction based on the offset correction command in accordance with the control mode of the motor control device 100 (step S122).
Thereafter, the process of FIG.

以上のように、低周波成分抽出部151は、インバータ168がモータMに供給する電流のうち低周波成分を抽出する。また、ゲイン設定部140は、低周波成分抽出部151が抽出した低周波成分に作用させるゲインを、PWM制御モードにおけるゲインがワンパルス制御モードにおけるゲインより小さくなるように設定する。そして、オフセット補正部165は、低周波成分抽出部151が抽出した低周波成分に、ゲイン設定部140が設定したゲインを作用させて得られるオフセット補正指令値に基づいて、インバータ168がモータM供給する電流のオフセットを低減させるオフセット補正を行う。
これにより、モータ制御装置100は、パルス幅変調制御方式と矩形波制御方式とを通じて適切にオフセットを検出し得る。
As described above, the low frequency component extraction unit 151 extracts a low frequency component from the current supplied to the motor M by the inverter 168. The gain setting unit 140 sets the gain to be applied to the low frequency component extracted by the low frequency component extraction unit 151 so that the gain in the PWM control mode is smaller than the gain in the one-pulse control mode. The offset correction unit 165 then supplies the motor M to the inverter 168 based on the offset correction command value obtained by applying the gain set by the gain setting unit 140 to the low frequency component extracted by the low frequency component extraction unit 151. Offset correction is performed to reduce the current offset.
Thereby, the motor control apparatus 100 can detect an offset appropriately through the pulse width modulation control method and the rectangular wave control method.

ここで、ワンパルス制御モードでは、インバータ168がモータMに供給する電力の周波数が高く、低周波成分抽出部151は、当該電力のオフセットを抽出し得る。一方、PWM制御モードでは、インバータ168がモータに供給する電力の周波数が低い。このため、低周波成分抽出部151は、インバータ168がモータMに出力する電流自身をオフセットと誤検出してしまうおそれがある。インバータ168がモータMに出力する電流自身に基づいてオフセット補正部165がオフセット補正を行うと、インバータ168がモータMに出力する電流が弱められてしまい、モータ制御を適切に行えないおそれがある。   Here, in the one-pulse control mode, the frequency of the power supplied from the inverter 168 to the motor M is high, and the low-frequency component extraction unit 151 can extract the offset of the power. On the other hand, in the PWM control mode, the frequency of power supplied from the inverter 168 to the motor is low. For this reason, the low frequency component extraction unit 151 may erroneously detect the current itself output from the inverter 168 to the motor M as an offset. If the offset correction unit 165 performs the offset correction based on the current itself output from the inverter 168 to the motor M, the current output from the inverter 168 to the motor M is weakened, and the motor control may not be performed properly.

この場合、低周波成分抽出部151のフィルタの時定数を大きくすれば(すなわち、フィルタが通過させる周波数を低くすれば)、インバータ168がモータMに出力する電流自身をオフセットと誤検出するおそれを低減させ得る。しかし、フィルタの時定数を大きくすることで、電流値の変化に対する応答性が低下し、オフセットを適切に検出するまでに時間を要してしまうおそれがある。   In this case, if the time constant of the filter of the low-frequency component extraction unit 151 is increased (that is, if the frequency that the filter passes is reduced), the current output from the inverter 168 to the motor M may be erroneously detected as an offset. Can be reduced. However, by increasing the time constant of the filter, the responsiveness to changes in the current value may be reduced, and it may take time to properly detect the offset.

そこで、乗算部152は、低周波成分抽出部151が抽出した低周波成分に対して、ワンパルス制御モードの際には大きいゲインを作用させ、PWM制御モードの際には小さいゲインを作用させる。これにより、ワンパルス制御モードにおいては、低周波成分抽出部151の抽出するオフセットに対して充分な補正を行い、かつ、PWM制御モードにおいては、インバータ168がモータMに出力する電流が弱められてモータ制御を適切に行えない事態を回避し得る。   Therefore, the multiplication unit 152 applies a large gain to the low frequency component extracted by the low frequency component extraction unit 151 in the one-pulse control mode and applies a small gain in the PWM control mode. Thus, in the one-pulse control mode, sufficient correction is performed on the offset extracted by the low-frequency component extraction unit 151, and in the PWM control mode, the current output from the inverter 168 to the motor M is weakened to reduce the motor. It is possible to avoid a situation where the control cannot be performed properly.

また、ゲイン設定部140は、制御モードの切り替わりの際のゲインの急変を防止するローパスフィルタ(急変防止部143)を具備する。これにより、制御モードが切り替わる際にも、モータ制御装置100は、モータMを安定的に制御し得る。
本願発明者が、ゲイン設定部140がローパスフィルタを具備しないモデルを用いてモータ制御装置の動作のシミュレーションを行ったところ、制御モードが切り替わる際に、モータ制御装置100の動作が不安定になった。
そこで、本願発明者は、ゲイン設定部140がローパスフィルタを具備するモデルを用いてモータ制御装置の動作のシミュレーションを行った。かかるモデルでは、制御モードが切り替わる際にもモータ制御装置100の動作が安定し、良好な結果を得られた。
The gain setting unit 140 also includes a low-pass filter (abrupt change prevention unit 143) that prevents a sudden change in gain when the control mode is switched. Thereby, even when the control mode is switched, the motor control device 100 can stably control the motor M.
The inventor of the present application performed a simulation of the operation of the motor control device using a model in which the gain setting unit 140 does not include a low-pass filter, and the operation of the motor control device 100 became unstable when the control mode was switched. .
Therefore, the inventors of the present application performed a simulation of the operation of the motor control device using a model in which the gain setting unit 140 includes a low-pass filter. In such a model, even when the control mode is switched, the operation of the motor control device 100 is stabilized, and good results are obtained.

また、モータ制御装置100は、正弦波PWM制御モードと、過変調PWM制御モードとを、PWM制御モードに含んで有する。そして、ゲイン設定部140は、正弦波PWM制御モードにおけるゲインが、過変調PWM制御モードにおけるゲインより小さくなるように設定する。
これにより、モータMの回転速度がより遅く、従って、インバータ168がモータMに供給する電流の周波数がより低いと考えられる正弦波PWM制御モードにおいて、インバータ168がモータMに出力する電流が弱められてモータ制御を適切に行えない事態を、より確実に回避し得る。
The motor control device 100 includes a sine wave PWM control mode and an overmodulation PWM control mode in the PWM control mode. The gain setting unit 140 sets the gain in the sine wave PWM control mode to be smaller than the gain in the overmodulation PWM control mode.
As a result, the current output from the inverter 168 to the motor M is weakened in the sine wave PWM control mode in which the rotation speed of the motor M is slower and therefore the frequency of the current supplied to the motor M by the inverter 168 is considered to be lower. Thus, the situation where the motor control cannot be performed properly can be avoided more reliably.

なお、ゲイン設定部140がゲインの基となる値を切り替える方法は、上述したモータ制御装置100の制御モードに基づく方法に限らない。例えば、ゲイン設定部140が、モータMの回転速度(回転角ω)に応じて、ゲインの元となる値を変化させる(従って、ゲインを変化させる)ようにしてもよい。具体的には、ゲイン設定部140は、モータMの回転速度が速いほどゲインを大きくし、モータMの回転速度が遅いほどゲインを小さくする。
これにより、モータ制御装置100は、モータの回転速度が速い場合には、インバータ168がモータMに供給する電流のオフセットを抽出して適切にオフセット補正を行い、また、モータの回転速度が遅い場合には、インバータ168がモータMに出力する電流自身に基づいてオフセット補正部165がオフセット補正を行う影響を抑制し得る。
Note that the method by which the gain setting unit 140 switches the value on which the gain is based is not limited to the method based on the control mode of the motor control device 100 described above. For example, the gain setting unit 140 may change the value that is the source of the gain according to the rotational speed (rotation angle ω) of the motor M (thus changing the gain). Specifically, the gain setting unit 140 increases the gain as the rotation speed of the motor M increases, and decreases the gain as the rotation speed of the motor M decreases.
Thereby, when the rotational speed of the motor is high, the motor control device 100 extracts an offset of the current supplied to the motor M by the inverter 168 and appropriately corrects the offset, and when the rotational speed of the motor is slow. The offset correction unit 165 can suppress the influence of the offset correction based on the current itself output from the inverter 168 to the motor M.

なお、モータ制御装置100が、ワンパルス制御モードにおけるオフセット補正量を大きくし、PWM制御モードにおけるオフセット補正量を小さくする方法は、上述したゲインを作用させる方法に限らない。例えば、モータ制御装置100が、ワンパルス制御モードにおいて低周波成分抽出部151の時定数を比較的小さく設定し、PWM制御モードにおいて低周波成分抽出部151の時定数を比較的大きく設定するようにしてもよい。
これにより、モータ制御装置100は、モータMの回転速度が比較的速いと考えられるワンパルス制御モードでは、インバータ168がモータMに供給する電流の変化に応答して適切にオフセット補正を行い、また、モータの回転速度が比較的遅いと考えられるPWM制御モードでは、インバータ168がモータMに出力する電流自身に基づいてオフセット補正部165がオフセット補正を行う影響を抑制し得る。
Note that the method in which the motor control device 100 increases the offset correction amount in the one-pulse control mode and decreases the offset correction amount in the PWM control mode is not limited to the above-described method of applying the gain. For example, the motor control device 100 sets the time constant of the low frequency component extraction unit 151 to be relatively small in the one-pulse control mode, and sets the time constant of the low frequency component extraction unit 151 to be relatively large in the PWM control mode. Also good.
Accordingly, the motor control device 100 appropriately performs offset correction in response to a change in the current supplied from the inverter 168 to the motor M in the one-pulse control mode in which the rotation speed of the motor M is considered to be relatively fast. In the PWM control mode in which the rotation speed of the motor is considered to be relatively slow, the influence of the offset correction unit 165 performing offset correction based on the current itself output from the inverter 168 to the motor M can be suppressed.

あるいは、モータ制御装置100が、モータMの回転速度が速い場合に低周波成分抽出部151の時定数を比較的小さく設定し、モータMの回転速度が遅い場合に低周波成分抽出部151の時定数を比較的大きく設定するようにしてもよい。
これにより、モータ制御装置100は、モータMの回転速度が速いが場合には、インバータ168がモータMに供給する電流の変化に応答して適切にオフセット補正を行い、また、モータの回転速度が遅い場合には、インバータ168がモータMに出力する電流自身に基づいてオフセット補正部165がオフセット補正を行う影響を抑制し得る。
Alternatively, the motor control device 100 sets the time constant of the low-frequency component extraction unit 151 to be relatively small when the rotation speed of the motor M is high, and the low-frequency component extraction unit 151 when the rotation speed of the motor M is low. The constant may be set relatively large.
As a result, when the rotational speed of the motor M is fast, the motor control device 100 appropriately performs offset correction in response to a change in the current supplied to the motor M by the inverter 168, and the rotational speed of the motor is When it is late, the influence of the offset correction unit 165 performing offset correction based on the current itself output from the inverter 168 to the motor M can be suppressed.

なお、以上では、ワンパルス制御モードにおいて、オフセット補正指令値で指令電圧を補正して補正後指令電圧とすることでオフセット補正を行う場合について説明したが、本発明におけるオフセット補正は、指令電圧を補正するものに限らない。例えば、特許文献1や特許文献2に示されているような、ワンパルス波形の電圧位相を制御する場合において、オフセット補正指令値で電圧位相を直接補正するようにしてもよい。   In the above description, in the one-pulse control mode, the case where offset correction is performed by correcting the command voltage with the offset correction command value to obtain the corrected command voltage has been described. However, the offset correction in the present invention corrects the command voltage. It is not limited to what you do. For example, when controlling the voltage phase of a one-pulse waveform as shown in Patent Document 1 or Patent Document 2, the voltage phase may be directly corrected with an offset correction command value.

なお、ゲイン設定部140や、低周波成分抽出部151や、乗算部152の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
Note that a program for realizing all or part of the functions of the gain setting unit 140, the low-frequency component extraction unit 151, and the multiplication unit 152 is recorded on a computer-readable recording medium and recorded on the recording medium. Each unit may be processed by causing the computer system to read and execute the program. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.

100 モータ制御装置
111 角度検出部
112 速度計算部
121 電流検出器
122 3相/2相変換部
131 モード切替部
140 ゲイン設定部
141 記憶部
142 ゲイン切替部
143 急変防止部
151 低周波成分抽出部
152 乗算部
161 PWM制御電圧生成部
162 ワンパルス制御電圧生成部
163 信号選択部
164 2相/3相変換部
165 オフセット補正部
166 デューティ計算部
167 電源部
168 インバータ
DESCRIPTION OF SYMBOLS 100 Motor control apparatus 111 Angle detection part 112 Speed calculation part 121 Current detector 122 3 phase / 2 phase conversion part 131 Mode switching part 140 Gain setting part 141 Storage part 142 Gain switching part 143 Abrupt change prevention part 151 Low frequency component extraction part 152 Multiplication unit 161 PWM control voltage generation unit 162 One-pulse control voltage generation unit 163 Signal selection unit 164 2-phase / 3-phase conversion unit 165 Offset correction unit 166 Duty calculation unit 167 Power supply unit 168 Inverter

Claims (4)

交流電力をモータに供給するインバータを具備し、前記インバータが前記モータに供給する電力をパルス幅変調制御方式にて制御する第1制御モードと、前記インバータが前記モータに供給する電力を矩形波制御方式にて制御する第2制御モードとを有するモータ制御装置であって、
前記インバータが前記モータに供給する電流を測定する電流測定部と、
前記電流測定部が測定した電流のうち低周波成分を抽出するローパスフィルタと、
前記電流測定部が測定した電流の低周波成分に作用させるゲインを、前記第1制御モードにおける前記ゲインが前記第2制御モードにおける前記ゲインより小さくなるように設定するゲイン設定部と、
前記電流測定部が測定した電流の低周波成分に前記ゲインを作用させて得られるオフセット補正指令値に基づいて、前記インバータが前記モータに供給する電流のオフセットを低減させるオフセット補正を行うオフセット補正部と、
を具備することを特徴とするモータ制御装置。
A first control mode comprising an inverter for supplying AC power to the motor, wherein the inverter supplies power to the motor by a pulse width modulation control method, and rectangular wave control for power supplied to the motor by the inverter A motor control device having a second control mode controlled by a method,
A current measuring unit for measuring a current supplied to the motor by the inverter;
A low-pass filter that extracts a low-frequency component from the current measured by the current measurement unit;
A gain setting unit that sets a gain to be applied to a low frequency component of the current measured by the current measuring unit so that the gain in the first control mode is smaller than the gain in the second control mode;
An offset correction unit that performs offset correction for reducing the offset of the current supplied to the motor by the inverter based on an offset correction command value obtained by applying the gain to the low frequency component of the current measured by the current measurement unit When,
A motor control device comprising:
前記ゲイン設定部は、制御モードの切り替わりの際の前記ゲインの急変を防止するローパスフィルタを具備することを特徴とする請求項1に記載のモータ制御装置。   The motor control apparatus according to claim 1, wherein the gain setting unit includes a low-pass filter that prevents a sudden change in the gain when the control mode is switched. 前記モータ制御装置は、前記インバータが前記モータに供給する電力を正弦波パルス幅変調制御方式にて制御する第3制御モードと、前記インバータが前記モータに供給する電力を過変調パルス幅変調制御方式にて制御する第4制御モードとを、前記第1制御モードに含んで有し、
前記ゲイン設定部は、前記第3制御モードにおける前記ゲインが前記第4制御モードにおける前記ゲインより小さくなるように設定する
ことを特徴とする請求項1または請求項2に記載のモータ制御装置。
The motor control device includes: a third control mode for controlling power supplied from the inverter to the motor by a sine wave pulse width modulation control method; and an overmodulation pulse width modulation control method for power supplied from the inverter to the motor. Including the fourth control mode controlled by the first control mode,
The motor control device according to claim 1, wherein the gain setting unit sets the gain in the third control mode to be smaller than the gain in the fourth control mode.
交流電力をモータに供給するインバータを具備し、前記インバータが前記モータに供給する電力をパルス幅変調制御方式にて制御する第1制御モードと、前記インバータが前記モータに供給する電力を矩形波制御方式にて制御する第2制御モードとを有するモータ制御装置のモータ制御方法であって、
前記インバータが前記モータに供給する電流を測定する電流測定ステップと、
前記電流測定ステップにて測定した電流のうち低周波成分を抽出する低周波成分抽出ステップと、
前記電流測定ステップにて測定した電流の低周波成分に作用させるゲインを、前記第1制御モードにおける前記ゲインが前記第2制御モードにおける前記ゲインより小さくなるように設定するゲイン設定ステップと、
前記電流測定ステップにて測定した電流の低周波成分に前記ゲインを作用させて得られるオフセット補正指令値に基づいて、前記インバータが前記モータに供給する電流のオフセットを低減させるオフセット補正を行うオフセット補正ステップと、
を具備することを特徴とするモータ制御方法。
A first control mode comprising an inverter for supplying AC power to the motor, wherein the inverter supplies power to the motor by a pulse width modulation control method, and rectangular wave control for power supplied to the motor by the inverter A motor control method of a motor control device having a second control mode controlled by a method,
A current measuring step for measuring a current supplied to the motor by the inverter;
A low frequency component extraction step for extracting a low frequency component from the current measured in the current measurement step;
A gain setting step for setting a gain to be applied to a low frequency component of the current measured in the current measurement step so that the gain in the first control mode is smaller than the gain in the second control mode;
Offset correction for performing offset correction for reducing the offset of the current supplied to the motor by the inverter based on the offset correction command value obtained by applying the gain to the low frequency component of the current measured in the current measurement step Steps,
A motor control method comprising:
JP2011210711A 2011-09-27 2011-09-27 Motor control device and motor control method Expired - Fee Related JP5808210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011210711A JP5808210B2 (en) 2011-09-27 2011-09-27 Motor control device and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011210711A JP5808210B2 (en) 2011-09-27 2011-09-27 Motor control device and motor control method

Publications (2)

Publication Number Publication Date
JP2013074674A true JP2013074674A (en) 2013-04-22
JP5808210B2 JP5808210B2 (en) 2015-11-10

Family

ID=48478746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011210711A Expired - Fee Related JP5808210B2 (en) 2011-09-27 2011-09-27 Motor control device and motor control method

Country Status (1)

Country Link
JP (1) JP5808210B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391373A (en) * 2015-12-15 2016-03-09 肥东凯利电子科技有限公司 Filter capacitor full-distributed type motor controller
JP2019134588A (en) * 2018-01-31 2019-08-08 株式会社デンソー Controller of rotary electric machine
JP7464513B2 (en) 2020-12-11 2024-04-09 日立グローバルライフソリューションズ株式会社 AC motor control device and vacuum cleaner using the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7154343B1 (en) 2021-05-12 2022-10-17 三菱電機株式会社 Rotating machine control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003309997A (en) * 2002-04-16 2003-10-31 Toyota Motor Corp Apparatus and method for converting voltage and computer-readable recording medium recording program for making computer execute control of voltage conversion
JP2009005557A (en) * 2007-06-25 2009-01-08 Aisin Seiki Co Ltd Device and method for controlling motor
JP2010088205A (en) * 2008-09-30 2010-04-15 Toyota Motor Corp Controller of ac motor
US20130106332A1 (en) * 2010-03-02 2013-05-02 Trw Limited Current Sensor Error Compensation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003309997A (en) * 2002-04-16 2003-10-31 Toyota Motor Corp Apparatus and method for converting voltage and computer-readable recording medium recording program for making computer execute control of voltage conversion
JP2009005557A (en) * 2007-06-25 2009-01-08 Aisin Seiki Co Ltd Device and method for controlling motor
JP2010088205A (en) * 2008-09-30 2010-04-15 Toyota Motor Corp Controller of ac motor
US20110181231A1 (en) * 2008-09-30 2011-07-28 Toyota Jidosha Kabushiki Kaisha Control device and control method for ac motor
US20130106332A1 (en) * 2010-03-02 2013-05-02 Trw Limited Current Sensor Error Compensation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391373A (en) * 2015-12-15 2016-03-09 肥东凯利电子科技有限公司 Filter capacitor full-distributed type motor controller
CN105391373B (en) * 2015-12-15 2017-11-28 肥东凯利电子科技有限公司 A kind of full distributed electric machine controller of filter capacitor
JP2019134588A (en) * 2018-01-31 2019-08-08 株式会社デンソー Controller of rotary electric machine
JP7081180B2 (en) 2018-01-31 2022-06-07 株式会社デンソー Rotating electric machine control device
JP7464513B2 (en) 2020-12-11 2024-04-09 日立グローバルライフソリューションズ株式会社 AC motor control device and vacuum cleaner using the same

Also Published As

Publication number Publication date
JP5808210B2 (en) 2015-11-10

Similar Documents

Publication Publication Date Title
JP4205157B1 (en) Electric motor control device
JP3972124B2 (en) Synchronous motor speed control device
JP6754661B2 (en) AC motor control device and control method, and AC motor drive system
US8519648B2 (en) Temperature compensation for improved field weakening accuracy
JP5281339B2 (en) Synchronous motor drive system and control device used therefor
JP5807847B2 (en) AC motor control device
JP5549751B1 (en) Inverter device, control method for inverter device, and motor drive system
JP2007202365A (en) Power converter device and motor drive unit using it
JPWO2008047438A1 (en) Vector controller for permanent magnet synchronous motor
US20140225540A1 (en) Control apparatus for ac motor
JP2010119245A (en) Controller of ac motor
JP3674741B2 (en) Control device for permanent magnet synchronous motor
US20210114652A1 (en) Motor control device
JP2004289926A (en) Motor controller
JP2006129632A (en) Motor drive unit
JP5808210B2 (en) Motor control device and motor control method
WO2020217764A1 (en) Power conversion device, and electric vehicle system provided therewith
JP6579195B2 (en) Power control method and power control apparatus
JP2013085372A (en) Control device and control method of ac motor
CN111758215B (en) Motor control method and motor control device
JP2010068581A (en) Electric motor drive unit
JP2013141345A (en) Motor control device and air conditioner
JP5888148B2 (en) Rotating machine control device
JP2005151744A (en) Motor drive unit
JP2020089203A (en) Motor drive device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20150202

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: 20150811

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150908

R151 Written notification of patent or utility model registration

Ref document number: 5808210

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees