JP2010200498A - Motor control apparatus - Google Patents

Motor control apparatus Download PDF

Info

Publication number
JP2010200498A
JP2010200498A JP2009042832A JP2009042832A JP2010200498A JP 2010200498 A JP2010200498 A JP 2010200498A JP 2009042832 A JP2009042832 A JP 2009042832A JP 2009042832 A JP2009042832 A JP 2009042832A JP 2010200498 A JP2010200498 A JP 2010200498A
Authority
JP
Japan
Prior art keywords
electrical angle
motor
current
phase
output
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
JP2009042832A
Other languages
Japanese (ja)
Other versions
JP5396910B2 (en
Inventor
Kentaro Hata
賢太郎 秦
Tronnamchai Kleison
トロンナムチャイ クライソン
Yasuaki Hayami
泰明 早見
Toshisuke Kai
敏祐 甲斐
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2009042832A priority Critical patent/JP5396910B2/en
Publication of JP2010200498A publication Critical patent/JP2010200498A/en
Application granted granted Critical
Publication of JP5396910B2 publication Critical patent/JP5396910B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor control apparatus which eliminates torque fluctuations, even if the sampling of motor electrical angle and motor current is carried out at unequal intervals. <P>SOLUTION: A carrier period variable section 6 diffuses the spectra of higher harmonics generated by an inverter 2, by changing a carrier period used by a PWM control section 18. An electrical angle compensating section 15 outputs an electrical angle compensating an electrical angle of a motor 3 detected by an angle sensor 5, to a 2-phase/3-phase conversion section 14, according to a carrier period changed by the carrier period variable section 6. The PWM control section 18 controls the inverter 2 at the carrier period, changed by the carrier period variable section 6 so as to obtain a three-phase target value which is outputted by the 2-phase/3-phase conversion section 14. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、インバータの出力電力をデジタル制御することによりモータを制御するモータ制御装置に関する。   The present invention relates to a motor control device that controls a motor by digitally controlling the output power of an inverter.

インバータの出力電力をデジタル制御することにより、3相モータを制御する3相交流モータデジタル制御装置は、例えば特許文献1に記載の構成が知られている。   For example, a configuration described in Patent Document 1 is known as a three-phase AC motor digital control device that controls a three-phase motor by digitally controlling the output power of the inverter.

この従来のデジタルモータ制御装置は、モータ電気角とモータ電流値を所定のサンプリング周期毎に取得し、モータ電気角からモータ回転数を算出し、このモータ回転数とトルク指令値に応じてd軸、q軸電流指令値を設定する。次いで、この電流指令値に基づいてPI制御によりd軸、q軸電圧指令値を設定し、2相/3相変換によりU,V,W各相の電圧指令値に変換し、PWM制御によってモータ電流を制御していた。   This conventional digital motor control device acquires a motor electrical angle and a motor current value at every predetermined sampling period, calculates a motor rotational speed from the motor electrical angle, and d-axis according to the motor rotational speed and a torque command value. , Q-axis current command value is set. Next, based on this current command value, the d-axis and q-axis voltage command values are set by PI control, converted to voltage command values for U, V, and W phases by 2-phase / 3-phase conversion, and the motor is controlled by PWM control. The current was controlled.

特開平11−332298号公報JP-A-11-332298

しかしながら、上記従来のデジタル制御方法において、インバータの高調波に起因する雑音の影響を低減するために、PWMキャリアの周波数を可変とすると、モータ電気角とモータ電流値のサンプリングが不等間隔になるために、制御周期も不等間隔となり、d軸q軸電圧指令値から2相/3相変換によりU,V,W各相の電圧指令値を演算する1制御周期の間にモータ電気角が進む量も変化することにより、d軸、q軸の2相電流値も変化し、トルク変動が発生するという問題点があった。   However, in the above conventional digital control method, if the frequency of the PWM carrier is made variable in order to reduce the influence of noise caused by the harmonics of the inverter, the sampling of the motor electrical angle and the motor current value becomes unequal intervals. For this reason, the control cycle is also unequal, and the motor electrical angle is calculated during one control cycle in which the voltage command values for the U, V, and W phases are calculated from the d-axis and q-axis voltage command values by 2-phase / 3-phase conversion. When the amount of advance also changes, the two-phase current values of the d-axis and q-axis also change, and there is a problem that torque fluctuation occurs.

本発明は、上記従来の問題点に鑑みてなされたもので、モータ電気角、モータ電流を不等間隔にサンプリングして取り込み、制御演算に用いるモータデジタル制御においても、トルク指令値と実トルク平均値との偏差をうち消し、トルク変動をなくすことができるモータ制御装置を提供することを目的とする。   The present invention has been made in view of the above-described conventional problems. The motor electrical angle and the motor current are sampled at unequal intervals, and the torque command value and the actual torque average are also used in the motor digital control used for the control calculation. An object of the present invention is to provide a motor control device that can eliminate the deviation from the value and eliminate the torque fluctuation.

上記目的を達成するために本発明は、モータに電力を供給する電力変換装置と、電力変換装置がモータに供給する電力を制御することによりモータを制御するモータコントロールユニットと、モータ電流を検出する電流検出手段と、モータ電気角を検出する電気角検出手段と、を有するモータ制御装置において、前記モータコントロールユニットは、モータに対するトルク指令値とモータの回転数から電流指令を発生し、電流指令に基づいて前記電力変換装置に制御信号を出力するPWM制御手段のキャリア信号の周波数を可変とし、キャリア周期に同期してモータの電気角及びモータの電流のサンプリングを行い、キャリア周期可変手段が変化させたキャリア周波数に応じて補償された電気角により電力変換装置を制御することを要旨とする。   In order to achieve the above object, the present invention provides a power converter that supplies power to a motor, a motor control unit that controls the motor by controlling the power that the power converter supplies to the motor, and detects the motor current. In a motor control device having a current detection means and an electrical angle detection means for detecting a motor electrical angle, the motor control unit generates a current command based on a torque command value for the motor and the number of rotations of the motor. Based on this, the frequency of the carrier signal of the PWM control means for outputting the control signal to the power converter is made variable, the motor electrical angle and the motor current are sampled in synchronization with the carrier cycle, and the carrier cycle changing means is changed. The power converter is controlled by the electrical angle compensated according to the carrier frequency. .

本発明によれば、キャリア周期が変化してもモータの電流及び電気角のサンプリングから電力変換装置の出力までの間に進むモータ電気角を推定し、電流指令値を補正するように電力変換装置を制御するので、トルク指令値と実トルクとの偏差をうち消すため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   According to the present invention, even if the carrier period changes, the power converter is configured to estimate the motor electrical angle that travels between the sampling of the motor current and electrical angle and the output of the power converter and corrects the current command value. Since the deviation between the torque command value and the actual torque is eliminated, there is an effect that torque fluctuations during the sampling period can be eliminated.

実施例1のモータ制御装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the motor control apparatus of Example 1. FIG. 実施例1の電気角補償部の詳細を説明するブロック図である。It is a block diagram explaining the detail of the electrical angle compensation part of Example 1. FIG. 実施例1が制御するモータの例を説明する図である。It is a figure explaining the example of the motor which Example 1 controls. (a)実施例1のキャリア周波数可変部が出力するキャリア周波数の時間変化、(b)実施例1のキャリア周波数可変部が出力するキャリア信号の波形例を説明する図である。(A) The time change of the carrier frequency which the carrier frequency variable part of Example 1 outputs, (b) It is a figure explaining the example of a waveform of the carrier signal which the carrier frequency variable part of Example 1 outputs. 実施例1が制御するモータを説明する図である。It is a figure explaining the motor which Example 1 controls. (a)実施例1のキャリア周波数可変部が出力するキャリア周波数の時間変化、(b)実施例1の電気角補正値演算部の出力、(c)実施例1のキャリア周期変動分演算部の出力を説明する図である。(A) Time variation of the carrier frequency output from the carrier frequency variable unit according to the first embodiment, (b) Output from the electrical angle correction value calculating unit according to the first example, and (c) The carrier cycle variation calculating unit according to the first example. It is a figure explaining an output. 実施例2のモータ制御装置の要部構成を説明するブロック図である。It is a block diagram explaining the principal part structure of the motor control apparatus of Example 2. FIG. 実施例2の電気角補償部の処理を説明するタイムチャートである。It is a time chart explaining the process of the electrical angle compensation part of Example 2. (a)キャリア周波数可変部によって変化したキャリア周波数の時間変化、(b)実施例2の平均電気角演算部の出力を説明する図である。(A) The time change of the carrier frequency changed with the carrier frequency variable part, (b) It is a figure explaining the output of the average electrical angle calculating part of Example 2. FIG. 実施例3のモータ制御装置の要部構成を説明するブロック図である。It is a block diagram explaining the principal part structure of the motor control apparatus of Example 3. FIG. (a)実施例3における速度制御処理のフローチャート、(b)実施例3における電流制御処理のフローチャートである。(A) The flowchart of the speed control process in Example 3, (b) The flowchart of the electric current control process in Example 3. FIG. 実施例4のモータ制御装置の要部構成を説明するブロック図である。It is a block diagram explaining the principal part structure of the motor control apparatus of Example 4. FIG. 実施例4の電気角補償部の処理を説明するタイムチャートである。It is a time chart explaining the process of the electrical angle compensation part of Example 4. 実施例4における外部入力、キャリア周波数、キャリア周期変動分補償後の電気角、外部入力遅延補償後の電気角を説明する図である。It is a figure explaining the electrical angle after external input, carrier frequency, carrier period variation compensation, and external input delay compensation in Example 4.

次に、図面を参照して、本発明の実施の形態を詳細に説明する。尚、以下に説明する各実施例は、特に限定されないが、ハイブリッド車や電気自動車のモータ制御に好適な実施例である。   Next, embodiments of the present invention will be described in detail with reference to the drawings. In addition, although each Example described below is not specifically limited, it is an Example suitable for the motor control of a hybrid vehicle or an electric vehicle.

図1は、本発明に係るモータ制御装置の実施例1を示すブロック図である。図1において、制御対象のモータ3を制御するモータ制御装置は、モータ3へ3相電力を供給するインバータ2と、インバータ2からモータ3へ供給する電流を検出する電流センサ7u,7wと、モータ3の電気角を検出する角度センサ5と、角度センサ5が検出した電気角と外部から与えられるトルク指令値に基づいてインバータ2を制御するモータコントロールユニット1とを備えている。   FIG. 1 is a block diagram showing a first embodiment of a motor control device according to the present invention. In FIG. 1, a motor control device that controls a motor 3 to be controlled includes an inverter 2 that supplies three-phase power to the motor 3, current sensors 7u and 7w that detect a current supplied from the inverter 2 to the motor 3, and a motor. 3, an angle sensor 5 that detects an electrical angle 3, and a motor control unit 1 that controls the inverter 2 based on the electrical angle detected by the angle sensor 5 and a torque command value given from the outside.

角度センサ5はモータ3のモータ電気角θを検出し、電流センサ7u,7wはモータ3の3相電流の内U,W相の電流値Iu,Iwを検出する。インバータ2は、モータコントロールユニット1の指令値に基づきモータ駆動電力をモータ3へ供給する。   The angle sensor 5 detects the motor electrical angle θ of the motor 3, and the current sensors 7 u and 7 w detect U- and W-phase current values Iu and Iw of the three-phase current of the motor 3. The inverter 2 supplies motor driving power to the motor 3 based on the command value of the motor control unit 1.

モータコントロールユニット1は、角度センサ5の検出するモータ電気角θと電流センサ7u,7wの検出する電流値Iu,Iwとを用いて、モータ3に供給されるモータ電流をフィードバック制御するものである。   The motor control unit 1 performs feedback control of the motor current supplied to the motor 3 using the motor electrical angle θ detected by the angle sensor 5 and the current values Iu and Iw detected by the current sensors 7u and 7w. .

なお、この図1の構成は、従来例のデジタル制御装置に対して、キャリア周期可変部6、電気角補償部15の部分が新規なものであり、その他の要素については共通する。なお、現実にはモータコントロールユニット1が1つのマイクロコンピュータにより構成され、制御演算プログラムにより図1に示す各部の演算処理を実行するものであるが、ここでは機能構成を分けて示してある。   The configuration of FIG. 1 is different from the conventional digital control device in that the carrier cycle variable unit 6 and the electrical angle compensation unit 15 are new, and the other elements are common. In reality, the motor control unit 1 is constituted by a single microcomputer, and the arithmetic processing of each part shown in FIG. 1 is executed by a control arithmetic program. Here, the functional configuration is shown separately.

以下、このモータコントロールユニット1によるモータ3のデジタル制御方法について説明する。モータコントロールユニット1は角度センサ5、電流センサ7u,7wから所定のサンプリング周期毎にモータ電気角θ、3相交流電流検出値を取り込む。回転数検出部17は、角度センサ5の検出値θからモータ回転数Nを算出し、電流指令値演算部12に出力する。
電流指令値演算部12は、外部より入力されるトルク指令値と回転数検出部17からのモータ回転数Nに基づき、予めROMに格納されている電流マップを参照してd軸、q軸の電流指令値Id* ,Iq* を算出し、電流PI制御器13に出力する。3相/2相変換器16は、電流センサ7u,7wにより検出した電流検出値Iu,Iwに対してモータ電気角θを用いて3相/2相変換演算を行い、2相電流検出値Id(ave) ,Iq(ave) を算出し、電流PI制御器13に出力する。
Hereinafter, a digital control method of the motor 3 by the motor control unit 1 will be described. The motor control unit 1 takes in a motor electrical angle θ and a three-phase alternating current detection value from the angle sensor 5 and the current sensors 7 u and 7 w at every predetermined sampling period. The rotation speed detection unit 17 calculates the motor rotation speed N from the detection value θ of the angle sensor 5 and outputs it to the current command value calculation unit 12.
The current command value calculation unit 12 refers to the current map stored in advance in the ROM based on the torque command value input from the outside and the motor rotation number N from the rotation number detection unit 17. Current command values Id * and Iq * are calculated and output to the current PI controller 13. The three-phase / two-phase converter 16 performs a three-phase / two-phase conversion operation using the motor electrical angle θ on the current detection values Iu, Iw detected by the current sensors 7u, 7w, and a two-phase current detection value Id. (ave) and Iq (ave) are calculated and output to the current PI controller 13.

なお、電流センサ7u,7wはU,V,W3相の交流電流の内U相、W相の交流電流しか検出しないが、3相電流値はIu+Iv+Iw=0の関係があるので、v相電流Ivは他の2相の電流値から演算で求めることができる。また2相/3相変換器14による2相/3相変換演算については後述する。   The current sensors 7u and 7w detect only the U-phase and W-phase AC currents of the U, V, and W three-phase AC currents, but the three-phase current values have a relationship of Iu + Iv + Iw = 0, so the v-phase current Iv Can be calculated from the current values of the other two phases. The 2-phase / 3-phase conversion calculation by the 2-phase / 3-phase converter 14 will be described later.

電流PI制御器13は、入力される2相電流指令値Id* ,Iq* 及び2相電流検出値Id(ave) ,Iq(ave) から比例積分(PI)制御演算により2相電圧指令値Vd* ,Vq* を算出し、2相/3相変換器14に出力する。2相/3相変換器14は、2相電圧指令値Vd* ,Vq* を後述する2相/3相変換処理によりU,V,W3相の電圧指令値Vu* ,Vv* ,Vw* に変換し、PWM制御部18に出力する。PWM制御部18は、電圧指令値Vu* ,Vv* ,Vw* をPWM信号に変換し、これによってインバータ2を制御し、モータ3への供給電力を制御する。   The current PI controller 13 performs a two-phase voltage command value Vd by proportional integral (PI) control calculation from the input two-phase current command values Id * and Iq * and the two-phase current detection values Id (ave) and Iq (ave). * And Vq * are calculated and output to the 2-phase / 3-phase converter 14. The two-phase / three-phase converter 14 converts the two-phase voltage command values Vd * and Vq * into U, V, and W three-phase voltage command values Vu *, Vv *, and Vw * by a two-phase / three-phase conversion process described later. The converted signal is output to the PWM controller 18. The PWM control unit 18 converts the voltage command values Vu *, Vv *, and Vw * into PWM signals, thereby controlling the inverter 2 and controlling the power supplied to the motor 3.

図2は、電気角補償部15の詳細な構成を示す図である。電気角補償部15は電気角補正値演算部151とキャリア周期変動分演算部152と加算器153から構成される。電気角補償部15は、角度センサ5から検出される電気角θと一定周期分の補償値を演算する電気角補正値演算部151の出力θ’、キャリア周期が変化することに応じて電気角を演算するキャリア周期変動分演算部152の出力Δθ(n)を加算器153で加算することにより補償した電気角θ”を2相/3相変換部14に出力する。   FIG. 2 is a diagram showing a detailed configuration of the electrical angle compensator 15. The electrical angle compensation unit 15 includes an electrical angle correction value calculation unit 151, a carrier cycle variation calculation unit 152, and an adder 153. The electrical angle compensator 15 calculates the electrical angle θ detected from the angle sensor 5 and the output θ ′ of the electrical angle correction value calculator 151 that calculates the compensation value for a certain period, and the electrical angle according to the change of the carrier period. The electrical angle θ ″ compensated by adding the output Δθ (n) of the carrier period variation calculation unit 152 that calculates the value by the adder 153 is output to the two-phase / three-phase conversion unit 14.

2相/3相変換部14による2相/3相変換処理は次のようにして行う。2相/3相変換とは、d,q軸をU,V,W軸に座標変換することを意味するが、ここではd,q軸、U,V,W軸はそれぞれ図3の3相同期モータモデルで120度毎に配置された3相コイル30u,30v,30wを貫く軸をそれぞれU軸、V軸、W軸とし、回転子である永久磁石31のN極を正方向に貫く軸をd軸、このd軸に直交する軸をq軸とし、電気角θはU軸とd軸との間の角度を表すものとし、電圧指令値の2相/3相変換は次の数1式により算出する。

Figure 2010200498
The two-phase / three-phase conversion process by the two-phase / 3-phase converter 14 is performed as follows. Two-phase / 3-phase conversion means coordinate conversion of d, q axis to U, V, W axis. Here, d, q axis, U, V, W axis are 3 homologous in FIG. Axis that penetrates the three-phase coils 30u, 30v, and 30w arranged every 120 degrees in the initial motor model are the U axis, V axis, and W axis, respectively, and the axis that penetrates the N pole of the permanent magnet 31 that is the rotor in the positive direction. Is the d-axis, the axis orthogonal to the d-axis is the q-axis, the electrical angle θ represents the angle between the U-axis and the d-axis, and the two-phase / three-phase conversion of the voltage command value Calculated by the formula.
Figure 2010200498

ここで、キャリア周期可変部6について説明を行う。キャリア周期可変部6はPWM制御部18におけるPWM比較を行う場合のキャリア信号の周波数(周期)を変える機能ブロックである。図4(a)にキャリア周期の変化を示し、図4(b)にそのときのPWM比較キャリア信号を示す。図4(a)では、毎回キャリア周波数が変化する場合の例で示しているため、キャリア周波数が低い場合はその逆数であるキャリア周期は長くなるため、時間が長い。また、キャリア周波数が高い場合はその逆である。このため、キャリア周波数の低い方が高い方に比べ、時間が長くなっている。この時間差を減らしたい場合は、キャリア周波数の長いものと短いもので回数を変化させるとよい。   Here, the carrier cycle variable unit 6 will be described. The carrier cycle variable unit 6 is a functional block that changes the frequency (cycle) of a carrier signal when performing PWM comparison in the PWM control unit 18. FIG. 4A shows a change in the carrier period, and FIG. 4B shows a PWM comparison carrier signal at that time. FIG. 4A shows an example in which the carrier frequency changes every time. Therefore, when the carrier frequency is low, the reciprocal carrier period becomes long, and thus the time is long. The reverse is also true when the carrier frequency is high. For this reason, the time with a lower carrier frequency is longer than that with a higher carrier frequency. In order to reduce this time difference, the number of times may be changed between a long carrier frequency and a short carrier frequency.

図4(a)の例では、キャリア周波数は、fcmin ⇒fcmax ⇒fcmin と以後繰り返し変化する。つまり、キャリア周波数がfcmin 〜fcmax のように時間とともに変化すると、それに伴い図4(b)に示すようにPWM比較の三角波の周期がTcmax (=fcmin )〜Tcmin (=fcmax )へと変化する。図4(b)ではPWM比較におけるキャリア信号を三角波状で示しているがこれに限定するものではなくノコギリ波状でも可能である。   In the example of FIG. 4 (a), the carrier frequency changes repeatedly from fcmin to fcmax to fcmin. That is, when the carrier frequency changes with time such as fcmin to fcmax, the period of the triangular wave of PWM comparison changes from Tcmax (= fcmin) to Tcmin (= fcmax) as shown in FIG. In FIG. 4B, the carrier signal in the PWM comparison is shown in a triangular wave shape, but the present invention is not limited to this, and a sawtooth wave shape is also possible.

このように、キャリア周期可変部6において、キャリア周期を変化させることで、PWM制御部18のキャリア信号の周期を変化させ、キャリア信号の周期に同期してモータコントロールユニット1において制御処理する場合、制御周期間に進むモータ電気角を図5に示す。   As described above, in the carrier cycle variable unit 6, by changing the carrier cycle, the cycle of the carrier signal of the PWM control unit 18 is changed, and the control processing is performed in the motor control unit 1 in synchronization with the cycle of the carrier signal. FIG. 5 shows the motor electrical angle that advances during the control cycle.

図5に示すように、3相の電流値Iu,Iv,Iw及び電気角θをサンプリングした時を開始時刻Start とし、モータ1の回転数Nから推定したキャリア周期Tc(ave) 後のθの値をθ’としキャリア周期Tc(min) からTc(max) までのθの変化値をΔθ(n)とする。数1式でこのθ’とΔθ(n)を用いて2相/3相変換演算を行い、その結果を出力すると、実際の電気角(=回転子の位置)は制御周期がTc(min) からTc(max) まで変化しているため、d,q軸電圧値変動→d,q軸電流値変動→トルク変動の因果関係によりトルク変動が発生する。なお、3相同期モータでは一般的に、トルクTは数2式の通りである。

Figure 2010200498
As shown in FIG. 5, when the three-phase current values Iu, Iv, Iw and the electrical angle θ are sampled, the start time Start is set, and θ after the carrier cycle Tc (ave) estimated from the rotation speed N of the motor 1 is obtained. The value is θ ′, and the change value of θ from the carrier period Tc (min) to Tc (max) is Δθ (n). When the two-phase / three-phase conversion calculation is performed using the θ ′ and Δθ (n) in the equation 1, and the result is output, the actual electrical angle (= rotor position) has a control cycle of Tc (min) Torque fluctuation occurs due to the causal relationship of d, q-axis voltage value fluctuation → d, q-axis current value fluctuation → torque fluctuation. In general, in a three-phase synchronous motor, the torque T is expressed by Equation 2.
Figure 2010200498

ただし、pは極対数、φaは電機子コイル鎖交磁束数であり、Iqはトルク軸電流である。   Where p is the number of pole pairs, φa is the number of armature coil linkage magnetic fluxes, and Iq is the torque shaft current.

この時間とともに変化するキャリア信号の周期と制御周期が同期して演算処理が行われる場合に生じる上記のようなトルク変動を低減する方法、つまり制御周期の変化に応じて、モータ電気角の推定値を変化させる方法を以下のように実施する。   A method of reducing the torque fluctuation as described above when the calculation process is performed in synchronization with the control period of the carrier signal that changes over time, that is, the estimated value of the motor electrical angle according to the change of the control period The method of changing the is performed as follows.

回転角速度ω、変化する制御周期の平均周期Tc(ave) ,制御周期Tc(n),サンプリング電気角をθの場合、
制御平均周期Tc(ave) 間の電気角進み量θ’はθ’=ω×Tc(ave)
制御平均周期からの差分の電気角進み量ΔθはΔθ=ω×{Tc(ave) −Tc(n)}
制御周期Tc(n)後の推定電気角θ’はθ”=θ’+Δθとなる。
When the rotational angular velocity ω, the average period Tc (ave) of the changing control period, the control period Tc (n), and the sampling electrical angle is θ,
The electrical angle advance amount θ ′ during the control average period Tc (ave) is θ ′ = ω × Tc (ave)
The difference in electrical angle advance Δθ from the control average period is Δθ = ω × {Tc (ave) −Tc (n)}.
The estimated electrical angle θ ′ after the control cycle Tc (n) is θ ″ = θ ′ + Δθ.

キャリア周波数の変化とモータ電気角の推定値の変化を図6に示す。図6(a)はキャリア周波数の時間変化を表している。これは図4と同様の変化で説明を行う。いま、キャリア周波数と制御周期が同期しているため、キャリア周波数が低い場合はその逆数であるキャリア周期は長くなる。また、キャリア周波数が高い場合はその逆である。図6(b)は電気角補正値演算部151の出力波形を示す。図6(c)はキャリア周期変動分演算部152の出力波形を示す。この電気角補正値演算手段151の出力とキャリア周期変動分演算部152の出力を加算したものがθ”となる。このθ”を用いた電圧指令値の2相/3相変換は次の数3式により算出する。

Figure 2010200498
FIG. 6 shows changes in the carrier frequency and changes in the estimated value of the motor electrical angle. FIG. 6A shows the change over time of the carrier frequency. This will be described with the same changes as in FIG. Now, since the carrier frequency and the control period are synchronized, when the carrier frequency is low, the reciprocal carrier period becomes long. The reverse is also true when the carrier frequency is high. FIG. 6B shows an output waveform of the electrical angle correction value calculation unit 151. FIG. 6C shows an output waveform of the carrier cycle variation calculation unit 152. The sum of the output of the electrical angle correction value calculation means 151 and the output of the carrier period variation calculation unit 152 is θ ″. Two-phase / three-phase conversion of the voltage command value using this θ ″ is the following number: Calculated using equation (3).
Figure 2010200498

以上説明した実施例1によれば、キャリア周期が変化してもモータの電流及び電気角のサンプリングから電力変換装置の出力までの間に進むモータ電気角を推定し、電流指令値を補正するように電力変換装置を制御するので、トルク指令値と実トルクとの偏差をうち消すため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   According to the first embodiment described above, even if the carrier period changes, the motor electrical angle that travels between the sampling of the motor current and electrical angle and the output of the power converter is estimated, and the current command value is corrected. In addition, since the power converter is controlled, the deviation between the torque command value and the actual torque is eliminated, so that there is an effect that torque fluctuations between sampling periods can be eliminated.

図7は、本発明に係るモータ制御装置の実施例2の要部である電気角補償部15を示すブロック図である。本実施例は、電気角補償部15以外の構成は、図1に示した実施例1と同様であるので、重複する説明を省略する。実施例2の電気角補償部15は、実施例1に対して、平均電気角演算部154と加算器155とが追加されている。平均電気角演算部154は、キャリア周期可変部6が変化させるキャリア周期に応じて、電流サンプリングの周期間に回転するモータの電気角の平均値Δθ2を出力する。加算器155は、θ”にΔθ2を加算したθ”’を2相/3相変換器14へ出力する。   FIG. 7 is a block diagram showing an electrical angle compensator 15 which is a main part of the motor control apparatus according to the second embodiment of the present invention. In the present embodiment, the configuration other than the electrical angle compensation unit 15 is the same as that of the first embodiment shown in FIG. The electrical angle compensator 15 according to the second embodiment has an average electrical angle calculator 154 and an adder 155 added to the first embodiment. The average electrical angle calculation unit 154 outputs an average value Δθ2 of the electrical angle of the motor that rotates during the current sampling period in accordance with the carrier cycle changed by the carrier cycle variable unit 6. The adder 155 outputs θ ″ ′ obtained by adding Δθ2 to θ ″ to the 2-phase / 3-phase converter 14.

この動作を図8を用いて説明する。デジタル制御により離散制御し、その制御周期を不等間隔とした場合、図8に示すように、制御周期をTc(n)とすると、割り込み1でサンプリングした電流値及び電気角で演算してTc(n)/2後に電圧指令値を出力し、また割り込み2でサンプリングした電流値及び電気角で演算し、Tc(n)+Tc(n+1)/2後に電圧指令値を出力し、以後、nをカウントしながら同様の制御サイクルが繰り返される。このときに演算に用いる電気角は実際の出力時の電気角を推定し、通常は電気角サンプリング時からTc(n)後の値を演算に用いる。   This operation will be described with reference to FIG. When discrete control is performed by digital control and the control cycle is unequal, as shown in FIG. 8, assuming that the control cycle is Tc (n), the current value sampled in the interrupt 1 and the electrical angle are used to calculate Tc. The voltage command value is output after (n) / 2, and the voltage command value is output after Tc (n) + Tc (n + 1) / 2. The same control cycle is repeated while counting n. At this time, the electrical angle used in the calculation estimates the electrical angle at the time of actual output, and normally the value after Tc (n) from the time of sampling the electrical angle is used in the calculation.

しかしながら、実際には制御出力値(電圧指令値)が一定である制御周期Tc(n)間にもモータの回転子は回転しており、この間の推定した電気角と実際の回転している電気角θとの間には偏差があり、この偏差によってもd,q軸電流値の変動が生じる。この電流値の変動は、ほぼトルク変動となって現れる。   However, in practice, the rotor of the motor also rotates during the control cycle Tc (n) where the control output value (voltage command value) is constant, and the estimated electrical angle during this period and the actual rotating electrical power There is a deviation between the angle θ, and this deviation also causes fluctuations in the d and q axis current values. This fluctuation of the current value appears almost as a torque fluctuation.

つまり、出力している期間の平均時間にあるであろうモータ電気角を推定する必要がある。図8を用いて説明すると、時間0で割り込み1が生じ、各値をサンプリングし時間(1/2)Tc(n)後に出力する。その出力は次の割り込み2の出力が反映されるまで保持される。そのため、割り込み1の出力が反映されてから、割り込み2の出力が反映されるまでの間もモータ電気角は変化しているため、その演算結果出力時間の平均時間にあるモータ電気角を推定する。
この平均時間は、Tc(n)+(1/2)Tc(n+1)−(1/2)Tc(n)={Tc(n)+Tc(n+1)}/2となる。
That is, it is necessary to estimate the motor electrical angle that will be in the average time of the output period. Referring to FIG. 8, interrupt 1 occurs at time 0, and each value is sampled and output after time (1/2) Tc (n). The output is held until the next interrupt 2 output is reflected. For this reason, since the motor electrical angle changes from the time when the output of interrupt 1 is reflected until the time when the output of interrupt 2 is reflected, the motor electrical angle in the average time of the calculation result output time is estimated. .
This average time is Tc (n) + (1/2) Tc (n + 1)-(1/2) Tc (n) = {Tc (n) + Tc (n + 1)} / 2.

回転角速度をωとすると平均電気角の推定値Δθ2は、次の式で求められる。   Assuming that the rotational angular velocity is ω, the estimated value Δθ2 of the average electrical angle can be obtained by the following equation.

Δθ2=ω×{Tc(n)+Tc(n+1)}/2
θ”’=θ”+ Δθ2
図9に回転数が一定の場合、キャリア周波数の変化とΔθ2’の変化を示す。このキャリア周期{Tc(n)+Tc(n+1)}/2後の推定したθ''' を用いて2相/3相変換演算を行い、その結果を出力することで上記トルク変動を低減できる。

Figure 2010200498
Δθ2 = ω × {Tc (n) + Tc (n + 1)} / 2
θ ″ ′ = θ ″ + Δθ2
FIG. 9 shows changes in carrier frequency and changes in Δθ2 ′ when the rotation speed is constant. Using the estimated θ ′ ″ after this carrier cycle {Tc (n) + Tc (n + 1)} / 2, a 2-phase / 3-phase conversion operation is performed, and the result is output to reduce the torque fluctuation. it can.
Figure 2010200498

以上説明した実施例2によれば、キャリア周期が変化してもモータの電流及び電気角のサンプリングから電力変換装置の出力までの間に進むモータ電気角を推定し、電流指令値を補正するように電力変換装置を制御するので、トルク指令値と実トルクとの偏差をうち消すため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   According to the second embodiment described above, the motor electrical angle that travels from the sampling of the motor current and electrical angle to the output of the power converter even if the carrier period changes is estimated and the current command value is corrected. In addition, since the power converter is controlled, the deviation between the torque command value and the actual torque is eliminated, so that there is an effect that torque fluctuations between sampling periods can be eliminated.

また実施例2によれば、電流サンプリング周期間の回転するモータ電気角の平均値をフィードバックすることにより、トルク変動値の平均がトルク指令値と一致するように電力変換装置を制御するため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   According to the second embodiment, the power converter is controlled so that the average torque fluctuation value matches the torque command value by feeding back the average value of the rotating motor electrical angle during the current sampling period. There is an effect that torque fluctuation between cycles can be eliminated.

図10は、本発明に係るモータ制御装置の実施例3の要部の構成を示すブロック図である。本実施例は、電気角補償部15にトルク変動演算部156と電圧指令演算部157が追加されていることと、電流PI制御器13と2相/3相変換部14との間に電圧指令補償部158が追加されていることである。その他の構成は、実施例1と同様であるので重複する説明を省略する。   FIG. 10 is a block diagram illustrating a configuration of a main part of a third embodiment of the motor control device according to the present invention. In the present embodiment, a torque command calculator 156 and a voltage command calculator 157 are added to the electrical angle compensator 15, and a voltage command between the current PI controller 13 and the two-phase / three-phase converter 14. The compensation unit 158 is added. The other configuration is the same as that of the first embodiment, and a duplicate description is omitted.

モータコントロールユニット1に電圧指令補償部158を設けたのは、キャリア周期が変化することによって生じるトルク変動を考慮して、PI制御器13が出力する電圧指令値Vd* とVq* とを補正して2相/3相変換部14へ出力するためであり、以下の(1)〜(4)にその動作を示す。   The voltage command compensation unit 158 is provided in the motor control unit 1 to correct the voltage command values Vd * and Vq * output from the PI controller 13 in consideration of the torque fluctuation caused by the change in the carrier cycle. Therefore, the operation is shown in the following (1) to (4).

(1)仮3相電圧指令値は、数3式である。   (1) The provisional three-phase voltage command value is Equation 3.

(2)仮3相電圧指令値を出力した場合の数5式で表わされる推定電気角θ{Tc(n)/2}からθ{Tc(n)+Tc(n+1)/2}までの2相電圧の平均値を、θ{Tc(n)/2}からθ{Tc(n)+Tc(n+1)/2}まで積分したものを制御周期{Tc(n)+Tc(n+1)}/2で割って算出する。

Figure 2010200498
(2) From the estimated electrical angle θ {Tc (n) / 2} to θ {Tc (n) + Tc (n + 1) / 2} expressed by Formula 5 when the temporary three-phase voltage command value is output A control cycle {Tc (n) + Tc (n + 1) obtained by integrating the average value of the two-phase voltages from θ {Tc (n) / 2} to θ {Tc (n) + Tc (n + 1) / 2}. )} / 2.
Figure 2010200498

(3)2軸それぞれの指令値と平均値との偏差ΔVd,ΔVqは、数6式により演算される。

Figure 2010200498
(3) Deviations ΔVd and ΔVq between the command value and the average value of each of the two axes are calculated by Equation 6.
Figure 2010200498

よって、補正2相電圧指令値Vd**,Vq**は、数7式となる。

Figure 2010200498
Therefore, the corrected two-phase voltage command values Vd ** and Vq ** are expressed by Equation 7.
Figure 2010200498

(4)補正後の3相電圧指令値Vu**,Vv**,Vw**は、数8式のようになる。

Figure 2010200498
(4) The corrected three-phase voltage command values Vu **, Vv **, and Vw ** are as shown in Equation 8.
Figure 2010200498

次に、図11の制御フローチャートを参照して、本実施例3によるトルク制御演算処理を説明する。モータコントロールユニット1は、図11(a)の速度制御処理ルーチンと図11(b)の電流制御処理ルーチンを実行する。本実施例では速度制御処理ルーチンを一定周期で実行し、電流制御処理ルーチンを不等間隔な周期で実行し、且つ速度制御処理ルーチンの方が電流制御処理ルーチンに比べ、長い周期で行うものとする。   Next, torque control calculation processing according to the third embodiment will be described with reference to the control flowchart of FIG. The motor control unit 1 executes the speed control processing routine of FIG. 11A and the current control processing routine of FIG. In this embodiment, the speed control processing routine is executed at a constant cycle, the current control processing routine is executed at unequal intervals, and the speed control processing routine is executed at a longer cycle than the current control processing routine. To do.

速度制御処理ルーチンでは、まずステップS10においてトルク指令値を読み込み、ステップS12において角度センサ2の出力から回転数を算出して、ステップS14へ移行する。   In the speed control processing routine, first, a torque command value is read in step S10, the rotational speed is calculated from the output of the angle sensor 2 in step S12, and the process proceeds to step S14.

ステップS14においては、前ステップで読み込んだトルク指令値と回転数から、あらかじめROMに保存されているマップデータを参照してd軸,q軸の電流指令値Id* ,Iq* を算出して本処理を終了する。   In step S14, d-axis and q-axis current command values Id * and Iq * are calculated from the torque command value and the rotational speed read in the previous step with reference to map data stored in advance in the ROM. The process ends.

次に、電流制御処理ルーチンにおいては、まずステップS20において、電流センサ7u,7wの3相電流検出値Iu,Iwと角度センサ5の検出値である電気角θを読み込む。   Next, in the current control processing routine, first, in step S20, the three-phase current detection values Iu and Iw of the current sensors 7u and 7w and the electrical angle θ that is the detection value of the angle sensor 5 are read.

次いでステップS22において、3相電流値Iu,Iv,Iwと電気角θとを用いて、3相/2相変換演算を実行して2相電流値Id,Iqを算出する。   Next, in step S22, using the three-phase current values Iu, Iv, Iw and the electrical angle θ, a three-phase / two-phase conversion operation is executed to calculate the two-phase current values Id, Iq.

次いでステップS24において、速度制御処理ルーチンで算出したd軸,q軸の電流指令値Id* ,Iq* を読み込み、ステップS26へ移行する。   Next, in step S24, the d-axis and q-axis current command values Id * and Iq * calculated in the speed control processing routine are read, and the process proceeds to step S26.

ステップ26においては、ステップS22で算出した2相電流値Id,Iqと、ステップS24で取得した2相電流指令値Id* ,Iq* を比例積分(PI)制御演算を実行して、2軸電圧指令値Vd* ,Vq* を得る。   In step 26, the two-phase current values Id and Iq calculated in step S22 and the two-phase current command values Id * and Iq * acquired in step S24 are subjected to proportional-integral (PI) control calculation to execute the biaxial voltage Command values Vd * and Vq * are obtained.

次いでステップS28において、読み込んだ電気角θ、現在のキャリア周期Tc(n)(=1/fc(n))wを用いて、制御周期間のモータ電気角進み量Δθと、推定電気角θ’を演算する。   Next, in step S28, using the read electrical angle θ and the current carrier cycle Tc (n) (= 1 / fc (n)) w, the motor electrical angle advance amount Δθ between the control cycles and the estimated electrical angle θ ′. Is calculated.

ステップS30において、ステップS26で算出したd軸,q軸の電圧指令値Vd* ,Vq* 及びステップS28で算出した推定電気角θ’を用いて、数8式の2相/3相変換演算を実行し、3相電圧指令値Vu**,Vv**,Vw**を算出する。   In step S30, using the d-axis and q-axis voltage command values Vd * and Vq * calculated in step S26 and the estimated electrical angle θ ′ calculated in step S28, the two-phase / three-phase conversion operation of Formula 8 is performed. And three-phase voltage command values Vu **, Vv **, and Vw ** are calculated.

そしてステップS32において、これらの3相電圧指令値Vu**,Vv**,Vw**をPWM信号に変換してインバータ2に出力する。   In step S32, these three-phase voltage command values Vu **, Vv **, Vw ** are converted into PWM signals and output to the inverter 2.

ステップS34において、キャリア周波数のカウンタnをカウントアップし、次に用いるキャリア周期Tc(n)を設定して、ステップS36へ進む。   In step S34, the carrier frequency counter n is counted up, a carrier cycle Tc (n) to be used next is set, and the process proceeds to step S36.

ステップS36ではカウンタnが上限mに達していないか判定し、上限mに達している場合は、メインルーチンへリターンする。その後、再び電流制御処理ルーチンが開始されるときに、カウンタnを1にリセットされる。上限mに達していない場合はステップS22へ戻る。そして、これらのステップS20〜S36の制御は、電流制御処理の割り込み毎に不等間隔に繰り返し実行する。   In step S36, it is determined whether the counter n has reached the upper limit m. If the counter n has reached the upper limit m, the process returns to the main routine. Thereafter, when the current control process routine is started again, the counter n is reset to 1. If the upper limit m has not been reached, the process returns to step S22. And control of these steps S20-S36 is repeatedly performed at unequal intervals for every interruption of current control processing.

以上説明した実施例3によれば、キャリア周期が変化してもモータの電流及び電気角のサンプリングから電力変換装置の出力までの間に進むモータ電気角を推定し、電流指令値を補正するように電力変換装置を制御するので、トルク指令値と実トルクとの偏差をうち消すため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   According to the third embodiment described above, the motor electrical angle that travels from the sampling of the motor current and electrical angle to the output of the power converter even if the carrier period changes is estimated and the current command value is corrected. In addition, since the power converter is controlled, the deviation between the torque command value and the actual torque is eliminated, so that there is an effect that torque fluctuations between sampling periods can be eliminated.

また実施例3によれば、モータ電流の平均値をフィードバックすることにより、平均電流値が電流指令値と一致するように電力変換装置を制御するため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   Further, according to the third embodiment, by feeding back the average value of the motor current, the power converter is controlled so that the average current value matches the current command value, so that torque fluctuations between sampling periods can be eliminated. There is an effect.

図12は、本発明に係るモータ制御装置の実施例4の要部の構成を示すブロック図である。本実施例は、図1,2に示した実施例1に対して、モータコントロールユニット1は外部入力検出部19を有し、電気角補償部15は外部入力分演算部159と加算器160とを有する構成になっている。その他の構成は、実施例1と同様であるので重複する説明を省略する。   FIG. 12 is a block diagram illustrating a configuration of a main part of the motor control device according to the fourth embodiment of the present invention. In this embodiment, the motor control unit 1 has an external input detector 19 and the electrical angle compensator 15 is different from the first embodiment shown in FIGS. It has the composition which has. The other configuration is the same as that of the first embodiment, and a duplicate description is omitted.

外部入力検出部19の出力が外部入力分演算部159に入力されると、外部入力分演算部159は、外部入力の処理のための演算遅れ時間に相当する電気角Δθlossを演算して出力する。加算器160は、θ''とΔθlossを加算したθ''''を、2相/3相変換器14へ出力する。これは外部入力が入力され演算時間が変化することによって生じるトルク変動を考慮して、モータ電気角を補正する方法であり以下にその動作を図13を用い示す。   When the output of the external input detector 19 is input to the external input calculation unit 159, the external input calculation unit 159 calculates and outputs an electrical angle Δθloss corresponding to a calculation delay time for processing of the external input. . The adder 160 outputs θ ″ ″ obtained by adding θ ″ and Δθloss to the 2-phase / 3-phase converter 14. This is a method for correcting a motor electrical angle in consideration of torque fluctuation caused by an external input being input and a change in calculation time, and its operation will be described below with reference to FIG.

図13は図8と比べ、処理1と処理2が違うところであり、処理1に比べ処理2のほうが処理の優先順位が高い場合を例にしている。   FIG. 13 shows an example in which processing 1 and processing 2 are different from FIG. 8, and processing 2 has a higher processing priority than processing 1.

モータ制御のための処理1における割り込み1が行われているときに、別の処理2の出力が入った場合を考える。この外部入力は例えば人的な入力等が考えられ、外部入力処理としてそのAD変換等が挙げられる。このAD変換が処理1の割り込み1の演算中に開始したとする。処理1では割り込み1の出力を終え割り込み2が開始される。割り込み2の演算の途中で前記処理2の外部入力処理が出力される場合、割り込み2の演算は中断される。この中断される時間をTlossとすると割り込み2の出力される時間が中断の無い場合から変化する。   Consider a case where the output of another process 2 is input while the interrupt 1 in the process 1 for motor control is performed. As this external input, for example, human input is conceivable, and AD conversion or the like is given as external input processing. It is assumed that this AD conversion starts during the calculation of interrupt 1 in process 1. In the process 1, the output of the interrupt 1 is finished and the interrupt 2 is started. When the external input process of the process 2 is output during the interrupt 2 calculation, the interrupt 2 calculation is interrupted. If this interruption time is Tloss, the output time of interrupt 2 changes from the case where there is no interruption.

上記のような中断が入りそうな場合、つまり優先順位の高い処理のAD変換が出力されそうな場合、この出力の中断時間と電気角の推定値を実施例1、2および3の演算に用いることでトルクの変動を低減する。   When the above interruption is likely to occur, that is, when AD conversion of high priority processing is likely to be output, the output interruption time and the estimated electrical angle are used in the calculations of the first, second, and third embodiments. This reduces torque fluctuations.

また、Δθlossを以下のように演算することで、図13、14に示すように外部入力の(優先順位の高い)AD変換が開始された後の制御周期における電気角推定でΔθlossを中断時間の無いモータ電気角推定値θ”に加えてもよい。   Further, by calculating Δθloss as follows, as shown in FIGS. 13 and 14, Δθloss is calculated as an interruption time in the electrical angle estimation in the control period after the external input (high priority) AD conversion is started. It may be added to the estimated motor electrical angle θ ″.

Δθloss=ω×Tloss
θ””=θ”+ Δθloss
また上記の場合、演算結果出力時間の平均時間にあるモータ電気角の推定値は以下のようになる。中断される時間を含めた出力の平均時間は、
Tc'(ave)=Tc(n)+(1/2)Tc(n+1)+Tloss−(1/2)Tc(n)
=[{Tc(n)+Tc(n+1)}/2+Tloss]となる。
Δθloss = ω × Tloss
θ ”” = θ ”+ Δθloss
In the above case, the estimated value of the motor electrical angle in the average time of the calculation result output time is as follows. The average output time, including the time at which it is interrupted, is
Tc '(ave) = Tc (n) + (1/2) Tc (n + 1) + Tloss- (1/2) Tc (n)
= [{Tc (n) + Tc (n + 1)} / 2 + Tloss].

回転角速度をωとすると平均電気角の推定値θ”は、
θ””=ω×Tc'(ave)
として演算を行ってもよい。
If the rotational angular velocity is ω, the estimated average electrical angle θ ”is
θ ″ ”= ω × Tc ′ (ave)
The calculation may be performed as follows.

こうして、本実施例4のモータ制御装置によれば、2相/3相変換に用いるモータ電気角θとしてサンプリング値を直接用いるのではなく、上述したように、制御周期間に進むモータ電気角を補償してインバータを制御するので、制御周期間のトルク変動をなくすことができる。   Thus, according to the motor control device of the fourth embodiment, instead of directly using the sampling value as the motor electrical angle θ used for the two-phase / three-phase conversion, as described above, the motor electrical angle that advances during the control cycle is determined. Since the inverter is controlled by compensation, torque fluctuations between control cycles can be eliminated.

以上説明した実施例4によれば、キャリア周期が変化してもモータの電流及び電気角のサンプリングから電力変換装置の出力までの間に進むモータ電気角を推定し、電流指令値を補正するように電力変換装置を制御するので、トルク指令値と実トルクとの偏差をうち消すため、サンプリング周期間のトルク変動をなくすことができるという効果がある。   According to the fourth embodiment described above, the motor electrical angle that travels from the sampling of the motor current and electrical angle to the output of the power converter even if the carrier period changes is estimated and the current command value is corrected. In addition, since the power converter is controlled, the deviation between the torque command value and the actual torque is eliminated, so that there is an effect that torque fluctuations between sampling periods can be eliminated.

また、実施例4によれば、外部入力が生じることでその出力処理により、電流値及び電気角のサンプリングから電圧指令値を演算する演算時間が変化した場合においても、サンプリング周期の変化によるトルク変動をなくすことができるという効果がある。   Further, according to the fourth embodiment, even when the calculation time for calculating the voltage command value from the sampling of the current value and the electrical angle is changed by the output process due to the external input, the torque fluctuation due to the change of the sampling period There is an effect that can be eliminated.

1 モータコントロールユニット
2 インバータ(電力変換装置)
3 モータ
5 角度センサ(電気角検出手段)
6 キャリア周期可変部
7u,7w 電流センサ(電流検出手段)
12 電流指令値演算部
13 電流PI制御器
14 2相/3相変換部(第2の座標変換手段)
15 電気角補償部
16 3相/2相変換部(第1の座標変換手段)
17 回転数検出部
18 PWM制御部
1 Motor control unit 2 Inverter (power converter)
3 Motor 5 Angle sensor (electrical angle detection means)
6 Carrier cycle variable section 7u, 7w Current sensor (current detection means)
12 current command value calculation unit 13 current PI controller 14 2-phase / 3-phase conversion unit (second coordinate conversion means)
15 electrical angle compensation unit 16 3-phase / 2-phase conversion unit (first coordinate conversion means)
17 Rotation speed detector 18 PWM controller

Claims (4)

モータに電力を供給する電力変換装置と、
前記電力変換装置が前記モータに供給する電力を制御することによりモータを制御するモータコントロールユニットと、
前記モータに供給する電流値を検出する電流検出手段と、
前記モータの電気角を検出する電気角検出手段と、
を有するモータ制御装置において、
前記モータコントロールユニットは、
前記電気角検出手段の出力からモータの回転数を検出する回転数検出手段と、
モータに対するトルク指令値とモータの回転数から電流指令値を演算する電流指令値演算手段と、
前記電流検出手段が検出した電流値と前記電気角検出手段が検出した電気角から前記電流の座標を変換する第1の座標変換手段と、
第1の座標変換手段の出力と前記電流指令値とをPI制御して電圧指令値を発生する電流PI制御器と、
前記電圧指令値の座標変換を行う第2の座標変換手段と、
第2の座標変換手段の出力をPWM制御して前記電力変換装置に制御信号を出力するPWM制御手段と、
前記PWM制御手段のキャリア信号の周波数を可変するキャリア周期可変手段と、
前記キャリア周期に同期して前記モータの電気角及び前記モータの電流値のサンプリングを行い、前記キャリア周波数に基づいて前記電気角検出手段が検出した電気角を補償した電気角を前記第2の座標変換器に出力する電気角補償手段とを備え、
前記キャリア周期可変手段が変化させたキャリア周波数に応じて補償された電気角により前記電力変換装置を制御することを特徴とするモータ制御装置。
A power converter for supplying power to the motor;
A motor control unit for controlling the motor by controlling the power supplied to the motor by the power converter;
Current detection means for detecting a current value supplied to the motor;
An electrical angle detection means for detecting an electrical angle of the motor;
In a motor control device having
The motor control unit is
A rotational speed detection means for detecting the rotational speed of the motor from the output of the electrical angle detection means;
Current command value calculating means for calculating a current command value from the torque command value for the motor and the rotation speed of the motor;
First coordinate conversion means for converting the coordinates of the current from the current value detected by the current detection means and the electrical angle detected by the electrical angle detection means;
A current PI controller that PI-controls the output of the first coordinate conversion means and the current command value to generate a voltage command value;
Second coordinate conversion means for performing coordinate conversion of the voltage command value;
PWM control means for PWM-controlling the output of the second coordinate conversion means and outputting a control signal to the power conversion device;
Carrier cycle varying means for varying the frequency of the carrier signal of the PWM control means;
The electrical angle of the motor and the current value of the motor are sampled in synchronization with the carrier cycle, and the electrical angle compensated for the electrical angle detected by the electrical angle detection means based on the carrier frequency is the second coordinate. Electrical angle compensation means for outputting to the converter,
The motor control apparatus characterized by controlling the said power converter device by the electrical angle compensated according to the carrier frequency which the said carrier cycle variable means changed.
前記電気角補償手段は、
前記モータ電流のサンプリング周期間に回転するモータ電気角の平均値を演算し、前記第2の座標変換手段に出力する平均電気角演算手段を備え、
前記サンプリング周期の変化に応じて前記平均電気角演算手段の出力を変化させて前記電力変換装置を制御することを特徴とする請求項1に記載のモータ制御装置。
The electrical angle compensation means includes
An average electrical angle calculation unit that calculates an average value of a motor electrical angle that rotates during a sampling period of the motor current and outputs the average value to the second coordinate conversion unit,
2. The motor control device according to claim 1, wherein the power conversion device is controlled by changing an output of the average electrical angle calculation means in accordance with a change in the sampling period.
前記電気角補償手段は、
前記サンプリング周期間に進むモータ電気角を推定し、この間に出力されるトルクの変動値を推定し、その変動値の平均値が前記トルク指令値と一致する電圧指令値を発生する電圧指令補償手段を備え、
前記サンプリング周期の変化に応じて前記電圧指令補償手段の出力を変化させて前記電力変換装置を制御することを特徴とする請求項1に記載のモータ制御装置。
The electrical angle compensation means includes
Voltage command compensation means for estimating a motor electrical angle that proceeds during the sampling period, estimating a torque fluctuation value output during this period, and generating a voltage command value whose average value of the fluctuation values matches the torque command value With
The motor control device according to claim 1, wherein the power conversion device is controlled by changing an output of the voltage command compensation means in accordance with a change in the sampling period.
前記モータコントロールユニットは、
外部入力を検出して前記電気角補償手段に信号を出力する外部入力検出手段を備え、
前記電気角補償手段は前記外部入力検出手段の出力に応じて、前記電力変換装置を制御することを特徴とする請求項1乃至請求項3の何れか1項に記載のモータ制御装置。
The motor control unit is
Comprising external input detection means for detecting an external input and outputting a signal to the electrical angle compensation means;
4. The motor control device according to claim 1, wherein the electrical angle compensation unit controls the power conversion device in accordance with an output of the external input detection unit. 5.
JP2009042832A 2009-02-25 2009-02-25 Motor control device Active JP5396910B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009042832A JP5396910B2 (en) 2009-02-25 2009-02-25 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009042832A JP5396910B2 (en) 2009-02-25 2009-02-25 Motor control device

Publications (2)

Publication Number Publication Date
JP2010200498A true JP2010200498A (en) 2010-09-09
JP5396910B2 JP5396910B2 (en) 2014-01-22

Family

ID=42824615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009042832A Active JP5396910B2 (en) 2009-02-25 2009-02-25 Motor control device

Country Status (1)

Country Link
JP (1) JP5396910B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211994A (en) * 2012-03-30 2013-10-10 Toyota Motor Corp Rotary electric machine controller
JP2020202643A (en) * 2019-06-07 2020-12-17 シンフォニアテクノロジー株式会社 Controller of rotary machine
CN113179072A (en) * 2021-05-13 2021-07-27 山东中科先进技术研究院有限公司 Angle compensation method and system for permanent magnet synchronous motor controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005046000A (en) * 1996-08-19 2005-02-17 Daikin Ind Ltd Synchronous motor drive method, compressor drive methods, and their arrangements
JP2006014406A (en) * 2004-06-22 2006-01-12 Nissan Motor Co Ltd Motor controller and its control method
JP2008271740A (en) * 2007-04-24 2008-11-06 Honda Motor Co Ltd Motor controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005046000A (en) * 1996-08-19 2005-02-17 Daikin Ind Ltd Synchronous motor drive method, compressor drive methods, and their arrangements
JP2006014406A (en) * 2004-06-22 2006-01-12 Nissan Motor Co Ltd Motor controller and its control method
JP2008271740A (en) * 2007-04-24 2008-11-06 Honda Motor Co Ltd Motor controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211994A (en) * 2012-03-30 2013-10-10 Toyota Motor Corp Rotary electric machine controller
JP2020202643A (en) * 2019-06-07 2020-12-17 シンフォニアテクノロジー株式会社 Controller of rotary machine
JP7311759B2 (en) 2019-06-07 2023-07-20 シンフォニアテクノロジー株式会社 Rotating machine control device
CN113179072A (en) * 2021-05-13 2021-07-27 山东中科先进技术研究院有限公司 Angle compensation method and system for permanent magnet synchronous motor controller
CN113179072B (en) * 2021-05-13 2022-08-19 山东中科先进技术有限公司 Angle compensation method and system for permanent magnet synchronous motor controller

Also Published As

Publication number Publication date
JP5396910B2 (en) 2014-01-22

Similar Documents

Publication Publication Date Title
JP4674525B2 (en) Magnetic pole position estimation method and motor control apparatus
JP4674516B2 (en) Method for estimating magnetic pole position of synchronous motor
KR101046802B1 (en) Control device of AC rotor and electric constant measurement method of AC rotor using this controller
JP3661642B2 (en) Motor control device and control method thereof
JP4067949B2 (en) Motor control device
JPWO2016121751A1 (en) Inverter control device and motor drive system
JP2007151344A (en) Magnetic pole position estimating method, motor speed estimating method, and motor controller
JP5709932B2 (en) Synchronous machine controller
JP2001204190A (en) Device for estimating initial magnetic pole position and its error adjustment method
JP2004297966A (en) Ac motor controlling device
JP2010246260A (en) Motor control device and method
JP5648310B2 (en) Synchronous motor control device and synchronous motor control method
JP5396910B2 (en) Motor control device
JP5473289B2 (en) Control device and control method for permanent magnet type synchronous motor
JP2008206330A (en) Device and method for estimating magnetic pole position of synchronous electric motor
JP2013141345A (en) Motor control device and air conditioner
JP7304891B2 (en) Rotating machine control device and electric vehicle control device
JP2010035351A (en) Device for estimating rotor position of synchronous electric motor
JP2009100615A (en) Ac motor control apparatus and control method for controlling ac motor
JP2010226827A (en) Motor control drive device and motor start positioning method
JP5312179B2 (en) DC brushless motor control device
KR100561733B1 (en) A sensorless control method of permanent magnet synchronous motor using an instantaneous reactive power
JP5744151B2 (en) Electric motor driving apparatus and electric motor driving method
JP2012186911A (en) Motor control device
JP2002186298A (en) Digital control method of three-phase ac motor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130611

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130726

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131007

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5396910

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150