JP2020031469A - Motor drive control device - Google Patents
Motor drive control device Download PDFInfo
- Publication number
- JP2020031469A JP2020031469A JP2018154706A JP2018154706A JP2020031469A JP 2020031469 A JP2020031469 A JP 2020031469A JP 2018154706 A JP2018154706 A JP 2018154706A JP 2018154706 A JP2018154706 A JP 2018154706A JP 2020031469 A JP2020031469 A JP 2020031469A
- Authority
- JP
- Japan
- Prior art keywords
- phase
- compensation amount
- electrical angle
- dead time
- value
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims description 16
- 239000002131 composite material Substances 0.000 claims description 6
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 230000003111 delayed effect Effects 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 25
- 238000000034 method Methods 0.000 description 14
- 238000004804 winding Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000007935 neutral effect Effects 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004907 flux Effects 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 230000005669 field effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Landscapes
- Control Of Ac Motors In General (AREA)
- Inverter Devices (AREA)
Abstract
Description
本発明は、モータ駆動制御装置に関する。 The present invention relates to a motor drive control device.
モータに駆動電圧を出力するインバータ回路では、直列接続された上下段の各スイッチング素子のオンオフの切り替えの際に、上記各スイッチング素子が同時にオンして短絡しないようにするため、通常、上記各スイッチング素子の両方がオフとなる期間が設けられる。上記期間は、一般にデッドタイムと呼ばれる。デッドタイムのタイミングでは、モータのインダクタンスおよびインバータ回路の還流ダイオードによって、電流が流れ続けようとする。そして、電流が流れる向きによっては、インバータ回路からモータに出力させたい電圧と、実際にモータに出力される電圧との間に差が生じる。上記の差のことを、以下では、「出力電圧の誤差」と称する。従来、デッドタイムを設けることによって生じる上記出力電圧の誤差を補償する、デッドタイム補償が一般的に行われている。 In an inverter circuit that outputs a drive voltage to a motor, the switching elements are normally turned on and off at the time of switching on and off of the switching elements in the upper and lower stages connected in series. A period in which both of the elements are turned off is provided. The above period is generally called dead time. At the timing of the dead time, current tends to continue to flow due to the inductance of the motor and the freewheeling diode of the inverter circuit. Then, depending on the direction in which the current flows, there is a difference between the voltage desired to be output from the inverter circuit to the motor and the voltage actually output to the motor. The above difference is hereinafter referred to as “output voltage error”. Conventionally, dead time compensation is generally performed to compensate for the output voltage error caused by providing a dead time.
例えば特許文献1および2では、3相の各電圧指令値に対して各相のデッドタイム補償量をそれぞれ加算または減算し、加算または減算後の各電圧指令値をPWM(Pulse Width Modulation;パルス幅変調)回路に入力し、PWM制御によってインバータ回路の各スイッチング素子(例えばトランジスタ)をオンオフすることにより、デッドタイム補償を行う技術が開示されている。
For example, in
特に、特許文献1では、デッドタイム補償を行うにあたって、2相の電流指令値id*、iq*から3相の電流指令値iu*、iv*、iw*を算出し、3相の電流指令値iu*、iv*、iw*を用いてデッドタイム補償量ed(iu*)、ed(iv*)、ed(iw*)を算出する構成が開示されている。さらに、特許文献1では、インバータ回路の実際の出力電流値(3相分)を検出し、2相の電流指令値id*、iq*と実際の出力電流値(3相から2相に座標変換した電流値)との電流誤差を算出して、上記電流誤差に応じた電圧指令値ed*、eq*を出力し、電圧指令値ed*、eq*を3相の電圧指令値eu*、ev*、ew*に変換し、電圧指令値eu*、ev*、ew*にデッドタイム補償量ed(iu*)、ed(iv*)、ed(iw*)をそれぞれ加算する構成も開示されている。
In particular, in
また、特許文献2では、PWMパルスがオンからオフに変化する区間であるか、オフからオンに変化する区間であるかの判別結果と、モータの電流検出値とに基づいて、電圧指令に対してデッドタイム補償電圧を加算または減算して補償後電圧指令を生成する構成が開示されている。
Further, in
従来では、デッドタイム補償を行うにあたって、特許文献1および2のように、インバータ回路の出力電流値(モータの電流検出値)の取得、言い換えれば、モータの相電流の検出が必要であった。さらに、特許文献1では、デッドタイム補償を行うにあたって、2相の電流指令値id*、iq*を3相の電流指令値iu*、iv*、iw*に変換する複雑な座標変換処理が必要であった。このため、従来では、デッドタイム補償を簡単に行うことができなかった。
Conventionally, when performing dead time compensation, it is necessary to acquire an output current value of an inverter circuit (current detection value of a motor), in other words, to detect a phase current of a motor, as in
本発明は、上記の点に鑑み、モータの相電流の検出および複雑な座標変換処理を行うことなく、簡単にデッドタイム補償を行うことができるモータ駆動制御装置を提供することを目的とする。 In view of the above, an object of the present invention is to provide a motor drive control device that can easily perform dead time compensation without detecting a phase current of a motor and performing complicated coordinate conversion processing.
本発明の例示的なモータ駆動制御装置は、電圧指令をPWMパルスに変換し、前記PWMパルスによって直列接続された各スイッチング素子のオンオフを切り替えることにより、モータに電圧を出力するPWMインバータに対して、前記モータに流れる電流が追従すべき電流のベクトルを示す電流指令ベクトルに基づく前記電圧指令を与えることで前記モータを駆動制御するモータ駆動制御装置であって、前記電流指令ベクトルは、前記モータの回転子に同期した座標系、または、それに準ずる座標系で定義されたベクトルであり、前記PWMインバータにおいて前記直列接続された各スイッチング素子の同時オンを回避するためのデッドタイムを設けることによって生じる、前記PWMインバータの出力電圧の誤差を補償するための補償量を求め、前記補償量を加味した前記電圧指令を前記PWMインバータに出力するデッドタイム補償部を備える。前記デッドタイム補償部は、前記電流指令ベクトルの大きさに基づいて、前記補償量の絶対値を求める補償量決定部と、前記電流指令ベクトルの位相に基づいて前記回転子の電気角位相に対する調整を行い、前記調整の結果の電気角位相の極性に基づいて前記補償量の絶対値を加減算するタイミングを生成するタイミング生成部と、を有する。 An exemplary motor drive control device of the present invention converts a voltage command into a PWM pulse, and switches on / off each of the switching elements connected in series by the PWM pulse, so that the PWM inverter outputs a voltage to the motor. A motor drive control device that drives and controls the motor by giving the voltage command based on a current command vector indicating a current vector to be followed by a current flowing through the motor, wherein the current command vector is A vector defined in a coordinate system synchronized with the rotor, or a coordinate system equivalent thereto, which is generated by providing a dead time for avoiding simultaneous turning-on of the series-connected switching elements in the PWM inverter, Compensation amount for compensating the error of the output voltage of the PWM inverter Determined, and a dead time compensation unit for outputting the command voltage obtained by adding the compensation amount to the PWM inverter. The dead time compensating unit includes a compensation amount determining unit that calculates an absolute value of the compensation amount based on the magnitude of the current command vector, and an adjustment to an electrical angle phase of the rotor based on the phase of the current command vector. And a timing generator for generating a timing for adding or subtracting the absolute value of the compensation amount based on the polarity of the electrical angle phase as a result of the adjustment.
上記構成によれば、相電流の検出、および電流指令に関する複雑な座標変換処理を行うことなく、簡単にデッドタイム補償を行うことができる。 According to the above configuration, dead time compensation can be easily performed without performing complicated coordinate conversion processing relating to detection of a phase current and a current command.
以下、本発明の例示的な実施形態について、図面を参照しながら詳細に説明する。なお、本実施形態では、電圧指令の値(電圧指令値)を、単に電圧指令とも呼び、電流指令の値(電流指令値)を、単に電流指令とも呼ぶ。 Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, the value of the voltage command (voltage command value) is also simply referred to as a voltage command, and the value of the current command (current command value) is simply referred to as a current command.
<モータ駆動システムの概略の構成>
図1は、本発明の例示的な実施形態に係るモータ駆動システム1の全体の構成を示すブロック図であり、図2は、モータ駆動システム1の一部の構成を示す回路図である。モータ駆動システム1は、モータ2と、PWMインバータ3と、モータ駆動制御装置4と、直流電源5と、位置センサ6と、を備える。なお、モータ駆動制御装置4の詳細については後述する。直流電源5は、図2に示すように、負出力端子5bを低電圧側として、正出力端子5aと負出力端子5bとの間に直流電圧を出力する。
<Schematic configuration of motor drive system>
FIG. 1 is a block diagram illustrating an overall configuration of a
モータ2は、例えば3相ブラシレスDCモータ(BLDCモータ)で構成される。より具体的には、モータ2は、図2に示すように、永久磁石が設けられた回転子21と、U相、V相およびW相の電機子巻線22u、22vおよび22wが設けられた固定子22と、を備える。電機子巻線22u、22vおよび22wは、中性点23を中心にY結線される。電機子巻線22u、22vおよび22wにおいて、中性点23とは反対側の非結線端は、端子24u、24vおよび24wにそれぞれ接続される。
The
PWMインバータ3は、パワー部31と、PWM回路32と、を備える。PWM回路32は、モータ駆動制御装置4から出力される電圧指令Vu_ref’、Vv_ref’およびVw_ref’に基づいて、パワー部31をPWM制御する。なお、電圧指令Vu_ref’、Vv_ref’およびVw_ref’は、後述する手法で取得されるデッドタイムの補償量を加味した電圧指令である。
The
パワー部31は、U相用のハーフブリッジ回路、V相用のハーフブリッジ回路およびW相用のハーフブリッジ回路を備える。各ハーフブリッジ回路は、一対のスイッチング素子を有する。各ハーフブリッジ回路において、一対のスイッチング素子は、直流電源5の正出力端子5aと負出力端子5bとの間に直列接続され、各ハーフブリッジ回路に直流電源5からの直流電圧が印加される。各スイッチング素子は、例えば電界効果トランジスタで構成されるが、IGBT(絶縁ゲートバイポーラトランジスタ)などの他のトランジスタで構成されてもよい。
The
U相用のハーフブリッジ回路は、互いに直列に接続される高電圧側のスイッチング素子33uと、低電圧側のスイッチング素子34uと、を備える。V相用のハーフブリッジ回路は、互いに直列に接続される高電圧側のスイッチング素子33vと、低電圧側のスイッチング素子34vと、を備える。W相用のハーフブリッジ回路は、互いに直列に接続される高電圧側のスイッチング素子33wと、低電圧側のスイッチング素子34wと、を備える。
The U-phase half-bridge circuit includes a high-
高電圧側のスイッチング素子33u、33vおよび33wには、直流電源5の低電圧側から高電圧側に向かう方向を順方向としてダイオード35u、35vおよび35wがそれぞれ並列に接続される。同様に、低電圧側のスイッチング素子34u、34vおよび34wには、直流電源5の低電圧側から高電圧側に向かう方向を順方向としてダイオード36u、36vおよび36wがそれぞれ並列に接続される。各ダイオード35u、35v、35w、36u、36vおよび36wは、還流ダイオード(フリーホイールダイオード)として機能する。
直列接続されたスイッチング素子33uとスイッチング素子34uとの接続点は、端子24uと接続される。同様に、直列接続されたスイッチング素子33vとスイッチング素子34vとの接続点は、端子24vと接続され、直列接続されたスイッチング素子33wとスイッチング素子34wとの接続点は、端子24wと接続される。
A connection point between the switching
PWM回路32は、3相(U相、V相およびW相)の電圧指令Vu_ref’、Vv_ref’およびVw_ref’に基づいて、各相に対するPWMパルス(パルス幅変調信号)を生成し、上記PWMパルスをパワー部31の各スイッチング素子の制御端子(ゲートまたはベース)に与える。これにより、上記各スイッチング素子のオン(導通)とオフ(非導通)とを切り替えることができる。
The
したがって、直流電源5からの直流電圧は、PWMインバータ3において、上記PWMパルスに応じた各スイッチング素子のスイッチング動作によって、モータ2に電圧が印加されることにより、モータ2の各電機子巻線22u、22vおよび22wに、3相の電圧に応じた電流が流れてモータ2が駆動される。なお、上記各スイッチング素子のスイッチング動作と、モータ2に流れる電流(相電流)との関係については後述する。
Accordingly, the DC voltage from the DC power supply 5 is applied to the
以上のことから、本実施形態のPWMインバータ3は、電圧指令Vu_ref’、Vv_ref’およびVw_ref’をPWMパルスに変換し、PWMパルスによって直列接続された各スイッチング素子のオンオフを切り替えることにより、モータ2に電圧を出力する構成であるといえる。
From the above, the
図1で示した位置センサ6は、モータ2の回転子21の回転位置に応じた信号を出力するセンサであり、例えばロータリーエンコーダやホール素子を用いる。位置センサ6から出力される信号は、後述するモータ駆動制御装置4に入力される。
The
<各スイッチング素子のスイッチング動作と相電流との関係>
次に、PWMインバータ3のパワー部31内の各スイッチング素子のスイッチング動作と、モータ2の相電流との関係について説明する。なお、以下では説明の便宜上、パワー部31内の低電圧側の各スイッチング素子34u、34vおよび34wと、直流電源5の負出力端子5bとを結ぶ線路を、母線Gと呼ぶ。そして、母線Gを流れる電流を、母線電流と呼ぶ。また、モータ2の電機子巻線22u、22vおよび22wに流れる電流を、それぞれU相電流、V相電流およびW相電流と呼び、それらのそれぞれを(またはそれらを総称して)、相電流と呼ぶ。相電流の極性については、端子24u、24vまたは24wから中性点23に流れ込む方向の相電流の極性を正とし、中性点23から流れ出す方向の相電流の極性を負とする。
<Relationship between switching operation of each switching element and phase current>
Next, the relationship between the switching operation of each switching element in the
図3は、モータ2に印加される3相の交流電圧の波形の一例を示す説明図である。図3において、25u、25vおよび25wは、それぞれ、モータ2に印加されるべきU相電圧、V相電圧およびW相電圧の波形を表す。なお、U相電圧、V相電圧およびW相電圧のそれぞれを(またはそれらを総称して)、相電圧とも呼ぶ。モータ2に正弦波状の電流を流す場合、PWMインバータ3の出力電圧は、正弦波状とされる。
FIG. 3 is an explanatory diagram illustrating an example of a waveform of a three-phase AC voltage applied to the
図3に示すように、U相電圧、V相電圧およびW相電圧の間の電圧レベルの高低関係は、時間の経過とともに変化する。上記高低関係は、3相の電圧指令Vu_ref’、Vv_ref’およびVw_ref’によって定まり、PWMインバータ3は、3相の電圧指令Vu_ref’、Vv_ref’およびVw_ref’に基づいて、各相に対する通電パターンを決定する。
As shown in FIG. 3, the level relationship between the U-phase voltage, the V-phase voltage, and the W-phase voltage changes with time. The height relationship is determined by the three-phase voltage commands Vu_ref ′, Vv_ref ′ and Vw_ref ′, and the
ここで、上記通電パターンには、以下の8通りがある。第1の通電パターンは、U、VおよびW相の低電圧側のスイッチング素子34u、34vおよび34wが全てオンとなる通電パターンである。第2の通電パターンは、W相の高電圧側のスイッチング素子33wがオンとなり、かつ、U相およびV相の低電圧側のスイッチング素子34uおよび34vがオンとなる通電パターンである。第3の通電パターンは、V相の高電圧側のスイッチング素子33vがオンとなり、かつ、W相およびU相の低電圧側のスイッチング素子34wおよび34uがオンとなる通電パターンである。第4の通電パターンは、V相およびW相の高電圧側のスイッチング素子33vおよび33wがオンとなり、かつ、U相の低電圧側のスイッチング素子34uがオンとなる通電パターンである。第5の通電パターンは、U相の高電圧側のスイッチング素子33uがオンとなり、かつ、V相およびW相の低電圧側のスイッチング素子34vおよび34wがオンとなる通電パターンである。第6の通電パターンは、W相およびU相の高電圧側のスイッチング素子33wおよび33uがオンとなり、かつ、V相の低電圧側のスイッチング素子34vがオンとなる通電パターンである。第7の通電パターンは、U相およびV相の高電圧側のスイッチング素子33uおよび33vがオンとなり、かつ、W相の低電圧側のスイッチング素子34wがオンとなる通電パターンである。第8の通電パターンは、U、VおよびW相の高電圧側のスイッチング素子33u、33vおよび33wが全てオンとなる通電パターンである。
Here, there are the following eight types of the energization patterns. The first energization pattern is an energization pattern in which the
なお、同一の相の(直列接続された)2つのスイッチング素子において、高電圧側のスイッチング素子と低電圧側のスイッチング素子との同時オンによる短絡を回避するためのデッドタイムを無視すると、高電圧側のスイッチング素子がオンである期間、低電圧側のスイッチング素子はオフであり、高電圧側のスイッチング素子がオフである期間、低電圧側のスイッチング素子はオンである。 In addition, in the two switching elements of the same phase (connected in series), if a dead time for avoiding a short circuit due to simultaneous ON of the switching element on the high voltage side and the switching element on the low voltage side is neglected, The switching element on the low voltage side is off while the switching element on the side is on, and the switching element on the low voltage side is on while the switching element on the high voltage side is off.
実際には、各スイッチング素子のオンオフの切り替えの際に上記デッドタイムが設けられるが、デッドタイムの期間では、同一の相の高電圧側のスイッチング素子と低電圧側のスイッチング素子とは、同時にオフとなる。また、デッドタイムを設けることにより、PWMインバータ3からモータ2に出力される電圧に、出力させたい電圧(電圧指令)との間で誤差(出力電圧の誤差)が生じることは前述の通りである。本実施形態では、後述するデッドタイム補償部44によって出力電圧の誤差が補償される。
Actually, the above-mentioned dead time is provided at the time of switching on / off of each switching element. During the dead time period, the high-voltage side switching element and the low-voltage side switching element of the same phase are simultaneously turned off. Becomes Also, as described above, by providing the dead time, an error (output voltage error) occurs between the voltage output from the
図4は、3相分のPWM制御を行う場合の、各相電圧の電圧レベルとキャリア信号との関係、および各スイッチング素子に与えられるPWMパルスの波形を示す説明図である。なお、ここでは、説明を簡略化する目的で、上記のデッドタイムを無視している。また、図4中の「高電圧側SW」および「低電圧側SW」は、それぞれ、高電圧側のスイッチング素子および低電圧側のスイッチング素子を指す。各相電圧の電圧レベルの高低関係は様々に変化するが、説明の具体化のため、図4では、図3における任意のタイミング26に着目している。すなわち、図4は、U相電圧の電圧レベルが最大で、かつ、W相電圧の電圧レベルが最小である場合を示している。
FIG. 4 is an explanatory diagram showing the relationship between the voltage level of each phase voltage and the carrier signal and the waveform of a PWM pulse applied to each switching element when performing PWM control for three phases. Here, the dead time described above is ignored for the purpose of simplifying the description. In addition, “high voltage side SW” and “low voltage side SW” in FIG. 4 respectively indicate a high voltage side switching element and a low voltage side switching element. Although the level relationship between the voltage levels of the phase voltages varies in various ways, FIG. 4 focuses on an
図4において、符号CSは、各相電圧の電圧レベルと比較されるキャリア信号を表す。キャリア信号は、周期的な三角波信号となっており、その信号の周期をキャリア周期という。なお、キャリア周期は、図3に示す3相の交流電圧の周期よりも遥かに短いため、仮に図4に示すキャリア信号の三角波を図3上で表すと、その三角波は1本の線となって見える。 In FIG. 4, reference symbol CS represents a carrier signal to be compared with the voltage level of each phase voltage. The carrier signal is a periodic triangular wave signal, and the cycle of the signal is called a carrier cycle. Since the carrier cycle is much shorter than the cycle of the three-phase AC voltage shown in FIG. 3, if the triangular wave of the carrier signal shown in FIG. 4 is represented on FIG. 3, the triangular wave becomes a single line. I can see
図5A〜図5Dは、図4の各タイミングにおける、電機子巻線周辺の等価回路である。各キャリア周期の開始タイミング、つまり、キャリア信号が最低レベルにあるタイミングをT0とする。タイミングT0において、各相の高電圧側のスイッチング素子33u、33vおよび33wはオンとされる。
5A to 5D are equivalent circuits around the armature winding at each timing in FIG. The start timing of each carrier cycle, that is, the timing at which the carrier signal is at the lowest level is T0. At timing T0, the
なお、キャリア周期からタイミングT1とT6との間の期間を除いた期間は、W相の高電圧側のスイッチング素子に対するPWMパルスのパルス幅を表し、キャリア周期からタイミングT2とT5との間の期間を除いた期間は、V相の高電圧側のスイッチング素子に対するPWMパルスのパルス幅を表し、キャリア周期からタイミングT3とT4との間の期間を除いた期間は、U相の高電圧側のスイッチング素子に対するPWMパルスのパルス幅を表す。 The period excluding the period between the timings T1 and T6 from the carrier period indicates the pulse width of the PWM pulse for the W-phase high-voltage side switching element, and the period between the carrier period and the timings T2 and T5. Represents the pulse width of the PWM pulse for the V-phase high-voltage side switching element. The period excluding the period between the timings T3 and T4 from the carrier cycle represents the U-phase high-voltage side switching. Indicates the pulse width of the PWM pulse for the element.
以上では、電圧レベルの大小関係がU相電圧>V相電圧>W相電圧の順になる場合を例として説明したが、電圧レベルの大小関係が他の順となる場合でも、上記と同様のPWM制御により、モータ2の相電流を制御することができる。
In the above, the case where the magnitude relation of the voltage levels is in the order of U-phase voltage> V-phase voltage> W-phase voltage has been described as an example. However, even when the magnitude relation of the voltage levels is in another order, the same PWM as described above is used. By the control, the phase current of the
<電圧指令のカウンタ制御について>
U相、V相およびW相の電圧指令Vu_ref’、Vv_ref’およびVw_ref’は、具体的には、PWM回路32内の不図示のカウンタ(タイマ)のカウント設定値CntU、CntVおよびCntWとして表される。そして、相電圧が高いほど、大きなカウント設定値が与えられる。例えば、図4の場合には、CntU>CntV>CntW、が成立する。
<Counter control of voltage command>
The U-phase, V-phase and W-phase voltage commands Vu_ref ', Vv_ref' and Vw_ref 'are specifically expressed as count setting values CntU, CntV and CntW of a counter (timer) (not shown) in the
上記のカウンタは、キャリア周期ごとに、タイミングT0を基準として、カウント値を0からアップカウントする。そして、上記カウント値がCntWに達した時点で、W相の高電圧側のスイッチング素子33wがオンの状態から、低電圧側のスイッチング素子34wがオンの状態に切り替えられる。続いて、上記カウント値がCntVに達した時点で、V相の高電圧側のスイッチング素子33vがオンの状態から、低電圧側のスイッチング素子34vがオンの状態に切り替えられる。その後、上記カウント値がCntUに達した時点で、U相の高電圧側のスイッチング素子33uがオンの状態から、低電圧側のスイッチング素子34uがオンの状態に切り替えられる。キャリア信号が最大レベルに達した後は、上記カウント値はダウンカウントされ、逆の切り替え動作が行われる。
The above counter increments the count value from 0 based on the timing T0 for each carrier cycle. When the count value reaches CntW, the
図4に示す三角波のキャリア信号を用いた場合、キャリア周期の半分の時点で、アップカウントからダウンカウントに折り返される。上記のアップカウントおよびダウンカウントは、所定のクロックに同期して行われる。 When the triangular carrier signal shown in FIG. 4 is used, the count is returned from the up-count to the down-count at half the carrier cycle. The above up-count and down-count are performed in synchronization with a predetermined clock.
U相、V相およびW相の電圧指令Vu_ref’、Vv_ref’およびVw_ref’に相当するカウント設定値CntU、CnuVおよびCntWにより、各相に対するPWMパルスのパルス幅(およびデューティ)が生成される。 The pulse width (and duty) of the PWM pulse for each phase is generated by the count setting values CntU, CnuV and CntW corresponding to the U-phase, V-phase and W-phase voltage commands Vu_ref ', Vv_ref' and Vw_ref '.
<各種定義について>
次に、上述したモータ駆動制御装置4の詳細について説明する前に、各種の定義を以下に示す。図6Aおよび図6Bは、モータ2の解析モデルを示す説明図である。U相軸、V相軸およびW相軸は固定軸であり、電気角で互いに120°ずつずれている。21aは、モータ2の回転子21に設けられた永久磁石である。永久磁石21aが作る磁束と同じ速度で回転する回転座標系において、永久磁石21aが作る磁束の方向をd軸にとり、d軸から電気角で90°進んだ位相にq軸をとる。d軸およびq軸を持つ座標系をdq座標系と呼び、d軸およびq軸を座標軸に選んだ座標を、dq座標と呼ぶ。dq座標系は、モータ2の回転子21に同期した座標系である。
<About various definitions>
Next, before describing the details of the motor drive control device 4 described above, various definitions will be given below. 6A and 6B are explanatory diagrams illustrating an analysis model of the
回転するd軸およびq軸の任意の瞬間でのdq座標において、ある基準軸A(固定軸)に対するd軸もしくはq軸の位相を、θ(電気角位相)で表す。本実施形態では、ある基準軸AをU相軸とし、U相軸に対するq軸の位相を、θ(電気角位相)で表す。すなわち、基準軸Aは、例えば回転子21の電気角位相を−180°から+180°の範囲で表したときに、電気角位相0°に対応する。なお、U相軸と基準軸Aとの電気角でのズレをθaとすると、ズレθaは、モータ駆動制御システム1によって決まっており、本実施形態では、例えば電気角で0°である。このズレθaの情報は、例えばモータ駆動制御装置4の図示しないメモリに記憶されてもよい。
In the dq coordinate at any instant of the rotating d-axis and q-axis, the phase of the d-axis or q-axis with respect to a certain reference axis A (fixed axis) is represented by θ (electrical angle phase). In the present embodiment, a certain reference axis A is defined as a U-phase axis, and the phase of the q-axis with respect to the U-phase axis is represented by θ (electrical angle phase). That is, the reference axis A corresponds to an electrical angle phase of 0 ° when, for example, the electrical angle phase of the
また、PWMインバータ3からモータ2に印加される全体のモータ電圧をVaで表し、PWMインバータ3からモータ2に供給される全体のモータ電流をIaで表す。そして、モータ電圧Vaのd軸成分およびq軸成分を、それぞれd軸電圧vdおよびq軸電圧vqで表し、モータ電流Iaのd軸成分およびq軸成分を、それぞれd軸電流idおよびq軸電流iqで表す。
The overall motor voltage applied to the
また、d軸電圧vdおよびq軸電圧vqに対する指令値(電圧指令値)を、それぞれ、d軸電圧指令vd_refおよびq軸電圧指令vq_refで表す。d軸電圧指令vd_refおよびq軸電圧指令vq_refは、それぞれ、d軸電圧vdおよびq軸電圧vqが追従すべき電圧(電圧値)を表し、モータ駆動システム1内において算出される。
Also, command values (voltage command values) for the d-axis voltage vd and the q-axis voltage vq are represented by a d-axis voltage command vd_ref and a q-axis voltage command vq_ref, respectively. The d-axis voltage command vd_ref and the q-axis voltage command vq_ref represent voltages (voltage values) to be followed by the d-axis voltage vd and the q-axis voltage vq, respectively, and are calculated in the
さらに、d軸電流idおよびq軸電流iqに対する指令値(電流指令値)を、それぞれ、d軸電流指令id_refおよびq軸電流指令iq_refで表す。d軸電流指令id_refおよびq軸電流指令iq_refは、それぞれ、d軸電流idおよびq軸電流iqが追従すべき電流(電流値)を表し、モータ駆動システム1内において算出される。
Further, command values (current command values) for the d-axis current id and the q-axis current iq are represented by a d-axis current command id_ref and a q-axis current command iq_ref, respectively. The d-axis current command id_ref and the q-axis current command iq_ref represent currents (current values) to be followed by the d-axis current id and the q-axis current iq, respectively, and are calculated in the
<モータ駆動制御装置の詳細について>
以上の定義を踏まえて、モータ駆動制御装置4について説明する。図1で示したモータ駆動制御装置4は、PWMインバータ3を用いてモータ2を駆動制御する制御部であり、位置検出部41と、電流制御器42と、座標変換器43と、デッドタイム補償部44と、を備える。上記モータ駆動制御装置4は、例えば中央演算処理装置(CPU;Central Processing Unit)を有するマイクロコンピュータなどで構成される。
<Details of motor drive control device>
The motor drive control device 4 will be described based on the above definition. The motor drive control device 4 shown in FIG. 1 is a control unit that controls the drive of the
位置検出部41は、上述した位置センサ6からの出力信号に基づいて、回転子21の電気角位相θを検出する。検出した電気角位相θの情報は、回転子21の位置情報として、位置検出部41から座標変換器43およびデッドタイム補償部44に出力される。
The
電流制御器42は、入力されるd軸電流指令id_refおよびq軸電流指令iq_refを、d軸電圧指令vd_refおよびq軸電圧指令vq_refに変換して座標変換器43に出力する。
The
座標変換器43は、電流制御器42から入力されるd軸電圧指令vd_refおよびq軸電圧指令vq_refを、U相、V相およびW相の電圧指令Vu_ref、Vv_refおよびVw_refにそれぞれ変換してデッドタイム補償部44に出力する。位置検出部41からは、回転子21の電気角位相θの情報が座標変換器43に入力され、また、U相軸と基準軸Aとの電気角でのズレθaも予めわかっているため、座標変換器43は、図6Aおよび図6Bで示した関係から、回転子21の電気角位相θおよびズレθaを用いて、d軸方向およびq軸方向の各電圧指令(2相の電圧指令)を、U相軸、V相軸およびW相軸の各方向に座標変換して、U相、V相およびW相の各電圧指令(3相の電圧指令)を求めることができる。
The coordinate
デッドタイム補償部44は、PWMインバータ3において直列接続された各スイッチング素子の同時オンを回避するためのデッドタイムを設けることによって生じる、PWMインバータ3の出力電圧の誤差を補償するための補償量ΔVdを求め、補償量ΔVdを加味した電圧指令をPWMインバータ3に出力する。つまり、デッドタイム補償部44は、座標変換器43から入力されるU相、V相およびW相の電圧指令Vu_ref、Vv_refおよびVw_refに対して、各相ごとに補償量ΔVdを加算または減算して、各相の補償量ΔVdを加味した電圧指令Vu_ref’、Vv_ref’およびVw_ref’をそれぞれ生成し、PWMインバータ3に出力する。なお、デッドタイムを設けることによって生じる上記出力電圧の誤差を補償すること、つまり、各相の補償量ΔVdを加味した電圧指令Vu_ref’、Vv_ref’およびVw_ref’を生成することを、デッドタイム補償とも呼ぶ。
The dead
ここで、図7は、従来の一般的な補償量ΔVdの求め方を示す説明図である。例えばU相についての補償量ΔVdを考えた場合、従来は、U相電流の瞬時値(瞬間の値)を検出し、検出した電流が閾値以下では、検出した電流値に比例して補償量ΔVdを決定していた。そして、得られた補償量ΔVdをU相の電圧指令に加算または減算して、補償量ΔVdを加味した電圧指令を生成していた。一方、検出した電流が閾値を超える場合、補償量ΔVdは、一律に固定値ΔVd’とされていた。このようなデッドタイム補償では、相電流(上記の例ではU相電流)の検出が必要であるため、デッドタイム補償を容易に行うことができなかった。なお、このような補償量ΔVdの設定の仕方は、前述の特許文献2でも開示されている(特許文献2の図8参照)。 Here, FIG. 7 is an explanatory diagram showing a conventional method of obtaining a general compensation amount ΔVd. For example, in consideration of the compensation amount ΔVd for the U-phase, conventionally, an instantaneous value (instantaneous value) of the U-phase current is detected, and when the detected current is equal to or smaller than the threshold, the compensation amount ΔVd is proportional to the detected current value. Was decided. Then, the obtained compensation amount ΔVd is added to or subtracted from the U-phase voltage command to generate a voltage command in consideration of the compensation amount ΔVd. On the other hand, when the detected current exceeds the threshold, the compensation amount ΔVd is uniformly set to the fixed value ΔVd ′. In such dead time compensation, the detection of the phase current (the U-phase current in the above example) is required, so that the dead time compensation cannot be easily performed. The method of setting the compensation amount ΔVd is also disclosed in the above-mentioned Patent Document 2 (see FIG. 8 of Patent Document 2).
一方、図8は、本実施形態での補償量ΔVdの求め方を示す説明図である。本実施形態では、デッドタイム補償部44に含まれる補償量決定部441は、モータ2に流れる電流が追従すべき電流のベクトルを示す電流指令ベクトルI_refの大きさに基づいて、補償量ΔVdを求める。これにより、上記した相電流を検出することなく、簡単にデッドタイム補償を行うことができる。以下、本実施形態のデッドタイム補償について、さらに詳細に説明する。なお、以下では、U相、V相、W相のうち、いずれかの相(例えばU相)について補償量ΔVdを求める場合を例として説明するが、他の相についても同様の手法で補償量ΔVdを求めることができる。
On the other hand, FIG. 8 is an explanatory diagram showing a method for obtaining the compensation amount ΔVd in the present embodiment. In the present embodiment, the compensation
図9は、電流指令ベクトルI_refを模式的に示している。電流指令ベクトルI_refは、前述したd軸電流指令id_refおよびq軸電流指令iq_refの各ベクトル成分の合成ベクトルである。電流指令ベクトルI_refの大きさを、|I_ref|とすると、|I_ref|は、以下の(1)式で表される。
|I_ref|=√{(id_ref)^2+(iq_ref)^2} ・・・(1)
FIG. 9 schematically shows the current command vector I_ref. The current command vector I_ref is a composite vector of the vector components of the aforementioned d-axis current command id_ref and q-axis current command iq_ref. Assuming that the magnitude of the current command vector I_ref is | I_ref |, | I_ref | is expressed by the following equation (1).
| I_ref | = {(id_ref) {2+ (iq_ref)} 2} (1)
具体的に、本実施形態では、|I_ref|を用いて以下のようにして補償量ΔVdを求める。図8において、相電流(例えばU相電流)に相当する電流波形を破線の正弦波で示す。なお、電流波形を破線で示したのは、本実施形態では、図7の場合とは異なり、相電流を検出していないためである。上記した|I_ref|は、図8において、相電流の電流波形の振幅に相当する。そこで、本実施形態では、補償量の予め定められた固定値をΔVd’とし、電流閾値をith〔A〕としたとき、補償量決定部441は、以下の(2)式の演算によって得られるΔVdを、補償量として決める。ただし、|I_ref|は、電流閾値ith未満であるとする。
ΔVd=ΔVd’×|I_ref(t)|/ith ・・・(2)
Specifically, in the present embodiment, the compensation amount ΔVd is obtained as follows using | I_ref |. In FIG. 8, a current waveform corresponding to a phase current (for example, a U-phase current) is indicated by a dashed sine wave. Note that the current waveform is indicated by a broken line because, in the present embodiment, unlike the case of FIG. 7, no phase current is detected. | I_ref | corresponds to the amplitude of the current waveform of the phase current in FIG. Therefore, in the present embodiment, when the predetermined fixed value of the compensation amount is set to ΔVd ′ and the current threshold is set to is [A], the compensation
ΔVd = ΔVd ′ × | I_ref (t) | / it (2)
なお、図8に示すように、補償量ΔVdの極性は、相電流の極性が正である期間(例えばt0〜t1の期間、t2〜t3の期間)では正となり、相電流の極性が負となる期間(例えばt1〜t2の期間、t3〜t4の期間)では負となるようにする。このような補償量ΔVdの極性は、後述の手法で求めることとし、ここでは、(2)式により、補償量ΔVdの大きさ(絶対値)を先に求める。 As shown in FIG. 8, the polarity of the compensation amount ΔVd is positive during a period in which the polarity of the phase current is positive (for example, a period from t0 to t1 and a period from t2 to t3), and the polarity of the phase current is negative. In a certain period (for example, a period from t1 to t2, a period from t3 to t4), the period is set to be negative. The polarity of the compensation amount ΔVd is determined by a method described later. In this case, the magnitude (absolute value) of the compensation amount ΔVd is determined first by Expression (2).
なお、相電流の振幅に相当する|I_ref|の値が一定の期間(図8では、t0〜t2の期間、t2〜t4の期間 )では、補償量ΔVd(絶対値)は、(2)式に従って一定値をとる。そして、|I_ref|が電流閾値ith未満である場合において、例えば、|I_ref|が、t0〜t2の期間での値よりも小さくなるt2〜t4の期間では、補償量ΔVdは、t0〜t2の期間での値よりも小さくなる。逆に、|I_ref|が、t0〜t2 の期間での値よりも大きくなる期間では、補償量ΔVdは、t0〜t2 の期間での値よりも大きくなる。 In a period where the value of | I_ref | corresponding to the amplitude of the phase current is constant (in FIG. 8, a period of t0 to t2 and a period of t2 to t4), the compensation amount ΔVd (absolute value) is expressed by the equation (2). Take a constant value according to When | I_ref | is less than the current threshold value ith, for example, in the period from t2 to t4 when | I_ref | is smaller than the value in the period from t0 to t2, the compensation amount ΔVd is It is smaller than the value in the period. Conversely, in a period in which | I_ref | is larger than the value in the period from t0 to t2, the compensation amount ΔVd is larger than a value in the period from t0 to t2.
一方、図10は、|I_ref|が電流閾値ith以上である場合の補償量ΔVdを示す説明図である。補償量決定部441は、|I_ref|が電流閾値ith以上である場合には、固定値ΔVd’を補償量ΔVdとして決める。つまり、(2)式において、|I_ref|の代わりに、電流閾値ithを用いる。この結果、(2)式より、ΔVd=ΔVd’となる。したがって、補償量ΔVdは、|I_ref|が電流閾値ithを超えて大きくなっても、固定値ΔVd’を超えることはない。
FIG. 10 is an explanatory diagram showing the compensation amount ΔVd when | I_ref | is equal to or larger than the current threshold value it. When | I_ref | is equal to or greater than the current threshold it, the compensation
以上のように、本実施形態では、デッドタイム補償部44(補償量決定部441)が、d軸電流指令id_refおよびq軸電流指令iq_refの合成ベクトルである電流指令ベクトルI_refに基づいて補償量ΔVdを求めるため、従来、デッドタイム補償の際に必要であった相電流の検出が不要となる。しかも、前述の特許文献1では、デッドタイム補償を行うにあたって、2相の電流指令(例えばd軸、q軸の各電流指令)を3相の電流指令(例えばU相、V相、W相の各電流指令)に変換する複雑な座標変換処理が必要であったが、本実施形態の構成では、そのような2相−3相の電流指令の座標変換処理も不要となる。したがって、本実施形態の構成によれば、相電流の検出や電流指令の複雑な座標変換処理を行うことなく、簡単に補償量ΔVdを求めて、簡単にデッドタイム補償を行うことができる。
As described above, in the present embodiment, the dead time compensating unit 44 (compensation amount determining unit 441) calculates the compensation amount ΔVd based on the current command vector I_ref which is a composite vector of the d-axis current command id_ref and the q-axis current command iq_ref. , The detection of the phase current, which was conventionally required for dead time compensation, is not required. Further, in the above-mentioned
以上では、電流指令ベクトルとして、dq座標系で定義したd軸電流指令id_refおよびq軸電流指令iq_refの各ベクトル成分の合成ベクトルを考えたが、電流指令ベクトルは、回転子21に同期した座標系、または、それに準ずる座標系で定義されたベクトルであればよく、d軸およびq軸を持つdq座標系で定義されたベクトルには限定されない。
In the above, a combined vector of the respective vector components of the d-axis current command id_ref and the q-axis current command iq_ref defined in the dq coordinate system has been considered as the current command vector, but the current command vector is a coordinate system synchronized with the
<補償量ΔVdの極性(加算するか減算するか)を考慮したデッドタイム補償>
次に、上述した手法で求めた補償量ΔVdを、補償前の電圧指令に対して加算するか、減算するかを決める手法も含めて、本実施形態のデッドタイム補償について説明する。なお、ここでは、前述の通り、回転子21の電気角位相θを−180°から+180°の範囲とし、電気角位相θの基準を0°とする。また、電気角位相θの値が増加する(0°から+180°に向かう)回転子21の回転方向を正とし、電気角位相θの値が減少する(0°から−180°に向かう)回転子21の回転方向を負とする。また、回転速度≧0は、回転子21が正方向に回転するか、停止状態であることを指し、回転速度<0は、回転子21が負方向(正方向とは逆方向)に回転することを指す。
<Dead time compensation in consideration of the polarity (whether addition or subtraction) of the compensation amount ΔVd>
Next, dead time compensation according to the present embodiment will be described, including a method of determining whether to add or subtract the compensation amount ΔVd obtained by the above-described method from the voltage command before compensation. Here, as described above, the electrical angle phase θ of the
q軸電流指令iq_ref≧0、d軸電流指令id_ref<0で回転速度≧0の場合、各相電流と電気角位相θの関係は、図11Aに示すようになる。図11Aは、横軸が時間軸であり、各相電流と電気角位相θの時間変化を示す。図11Aに示すU相、V相、W相の電流は、120°ずつ位相がずれる。 When the q-axis current command iq_ref ≧ 0, the d-axis current command id_ref <0, and the rotation speed ≧ 0, the relationship between each phase current and the electrical angular phase θ is as shown in FIG. 11A. In FIG. 11A, the horizontal axis is the time axis, and shows the time change of each phase current and the electrical angle phase θ. The U-phase, V-phase, and W-phase currents shown in FIG. 11A are out of phase by 120 °.
U相電流が正となる区間と、電気角位相θが正となる区間は、図11Aに示すように、初期位相差θA+電流指令ベクトルの位相Δθの位相差を持つ。初期位相差θAは、d軸
電流指令id_ref=0の場合のU相電流が0[A]となるタイミングと電気角位相θが0となるタイミングとの間の位相差である。本実施形態では、初期位相差θAは、90°となっている。この90°の初期位相差θAは、システムによって予め決まっている。
The section where the U-phase current is positive and the section where the electrical angle phase θ is positive have a phase difference of the initial phase difference θA + the phase Δθ of the current command vector, as shown in FIG. 11A. The initial phase difference θA is a phase difference between the timing when the U-phase current becomes 0 [A] and the timing when the electrical angular phase θ becomes 0 when the d-axis current command id_ref = 0. In the present embodiment, the initial phase difference θA is 90 °. The initial phase difference θA of 90 ° is predetermined by the system.
また、位相Δθは、図9に示す通り、d軸電流指令id_refが0ではない負の値を
とることによって、d軸電流指令id_ref=0のときに対して進む位相量であり、下記(3)式によって予め算出することが可能である。
Δθ=arctan(−id_ref(t)/iq_ref(t)) ・・・(3)
Further, as shown in FIG. 9, the phase Δθ is a phase amount that advances when d-axis current command id_ref = 0 when the d-axis current command id_ref takes a negative value other than 0. ) Can be calculated in advance.
Δθ = arctan (−id_ref (t) / iq_ref (t)) (3)
<<U相についてのデッドタイム補償>>
先述した位相Δθは、デッドタイム補償部44に含まれるタイミング生成部442によ
り(3)式に基づいて予め算出される。そして、タイミング生成部442は、図11Bに示すように、位置検出部41によって取得された電気角位相θの値に対して、位相Δθを
加算することで、電気角位相θの値をシフトさせる。このとき、図11Bに示すように、波形L1(破線)が波形L2(実線)へシフトされる。波形L1は、図11Aに示す電気角位相θの波形と同じである。
<< Dead time compensation for U phase >>
The above-described phase Δθ is calculated in advance by the
さらに、タイミング生成部442は、図11Cに示すように、上記でシフトさせた電気角位相θに対して初期位相差θA(=90°)を加算し、電気角位相θの値をシフトさせる。このとき、図11Cに示すように、波形L2(破線)は、波形L3(実線)にシフトされ、波形L3が正負それぞれの値となる区間は、U相電流が正負それぞれの値となる区間と一致する。
Further, as shown in FIG. 11C, the
したがって、タイミング生成部442は、シフト後の電気角位相θの値が正である場合は、U相電流の極性が正であると判定して、デッドタイム補償部44は、U相の電圧指令Vu_refに対して補償量ΔVdを加算する。一方、タイミング生成部442は、シフト後の電気角位相θの値が負である場合は、U相電流の極性が負であると判定して、デッドタイム補償部44は、U相の電圧指令Vu_refに対して補償量ΔVdを減算する。すなわち、タイミング生成部442は、U相電流の極性の代わりに調整後の電気角位相θの極性に基づいて補償量ΔVdの加減算のタイミングを生成する。
Therefore, when the value of the shifted electrical angular phase θ is positive, the
<<V相についてのデッドタイム補償>>
また、タイミング生成部442は、図12に示すように、上記で初期位相差θAを加算してシフトさせた電気角位相θに対して120°を減算して、電気角位相θをシフトさせる。このとき、図12に示すように、波形L3(破線)は波形L4(実線)にシフトされる。すると、シフト後の電気角位相θ(波形L4)が正負それぞれの値となる区間は、V相電流が正負それぞれの値となる区間と一致する。
<< Dead time compensation for V phase >>
In addition, as shown in FIG. 12, the
したがって、タイミング生成部442は、シフト後の電気角位相θの値が正である場合は、V相電流の極性が正であると判定して、その場合、デッドタイム補償部44は、V相の電圧指令Vv_refに対して補償量ΔVdを加算する。一方、タイミング生成部442は、シフト後の電気角位相θの値が負である場合は、V相電流の極性が負であると判定し、その場合、デッドタイム補償部44は、V相の電圧指令Vv_refに対して補償量ΔVdを減算する。すなわち、タイミング生成部442は、V相電流の極性の代わりに調整後の電気角位相θの極性に基づいて補償量ΔVdの加減算のタイミングを生成する。
Therefore, when the value of the shifted electrical angular phase θ is positive, the
<<W相についてのデッドタイム補償>>
また、タイミング生成部442は、図13に示すように、上記で初期位相差θAを加算してシフトさせた電気角位相θに対して120°を加算して、電気角位相θをシフトさせる。このとき、図13に示すように、波形L3(破線)は波形L5(実線)にシフトされる。すると、シフト後の電気角位相θ(波形L5)が正負それぞれの値となる区間は、W相電流が正負それぞれの値となる区間と一致する。
<< Dead time compensation for W phase >>
In addition, as shown in FIG. 13, the
したがって、タイミング生成部442は、シフト後の電気角位相θの値が正である場合は、W相電流の極性が正であると判定して、デッドタイム補償部44は、W相の電圧指令Vw_refに対して補償量ΔVdを加算する。一方、タイミング生成部442は、シフト後の電気角位相θの値が負である場合は、W相電流の極性が負であると判定して、デッドタイム補償部44は、W相の電圧指令Vw_refに対して補償量ΔVdを減算する。すなわち、タイミング生成部442は、W相電流の極性の代わりに調整後の電気角位相θの極性に基づいて補償量ΔVdの加減算のタイミングを生成する。
Therefore, when the value of the shifted electrical angular phase θ is positive, the
<<回転速度<0の場合>>
図14は、回転速度<0の場合における、U相電流と電気角位相θの関係を示す説明図である。回転速度<0の場合、電気角位相θの時間経過に対する変化は、回転速度≧0の場合と逆になり、電気角位相θが時間経過に対して減少していく推移を示す。しかし、この場合であっても、デッドタイム補償に関する処理は、回転速度≧0の場合と同様である。
<<< Rotational speed <0 >>>
FIG. 14 is an explanatory diagram showing the relationship between the U-phase current and the electrical angle phase θ when the rotation speed is <0. When the rotation speed <0, the change of the electrical angle phase θ with respect to the passage of time is opposite to the case where the rotation speed ≧ 0, and the electrical angle phase θ decreases with the passage of time. However, even in this case, the processing relating to the dead time compensation is the same as that in the case where the rotational speed ≧ 0.
<本実施形態による作用効果>
このように、本実施形態に係るモータ駆動制御装置4は、電圧指令をPWMパルスに変換し、PWMパルスによって直列接続された各スイッチング素子のオンオフを切り替えることにより、モータ2に電圧を出力するPWMインバータ3に対して、モータ2に流れる電流が追従すべき電流のベクトルを示す電流指令ベクトルに基づく前記電圧指令を与えることでモータ2を駆動制御するモータ駆動制御装置4であって、前記電流指令ベクトルは、モータ2の回転子21に同期した座標系、または、それに準ずる座標系で定義されたベクトルであり、PWMインバータ3において前記直列接続された各スイッチング素子の同時オンを回避するためのデッドタイムを設けることによって生じる、PWMインバータ3の出力電圧の誤差を補償するための補償量を求め、前記補償量を加味した前記電圧指令をPWMインバータ3に出力するデッドタイム補償部44を備える。
<Effects of the present embodiment>
As described above, the motor drive control device 4 according to the present embodiment converts the voltage command into a PWM pulse, and switches on / off each switching element connected in series by the PWM pulse, thereby outputting a voltage to the
デッドタイム補償部44は、前記電流指令ベクトルの大きさに基づいて、前記補償量の絶対値を求める補償量決定部441と、前記電流指令ベクトルの位相に基づいて回転子21の電気角位相θに対する調整を行い、前記調整の結果の電気角位相の極性に基づいて前記補償量の絶対値を加減算するタイミングを生成するタイミング生成部442と、を有する。
The
このような構成によれば、従来、デッドタイム補償の際に必要であった相電流の検出が不要となり、また、2相の電流指令(例えばd軸、q軸の各電流指令)を3相の電流指令(例えばU相、V相、W相の各電流指令)に変換する処理も不要となる。つまり、相電流の検出や複雑な座標変換処理を行うことなく、簡単にデッドタイム補償を行うことができる。 According to such a configuration, it is unnecessary to detect a phase current which is conventionally required for dead time compensation, and a two-phase current command (for example, each of d-axis and q-axis current commands) is changed to a three-phase current command. (For example, U-phase, V-phase, and W-phase current commands) is not required. In other words, dead time compensation can be easily performed without performing phase current detection or complicated coordinate conversion processing.
また、前記電流指令ベクトルは、d軸およびq軸を持つdq座標系におけるd軸電流指令およびq軸電流指令の各ベクトル成分の合成ベクトルであり、前記補償量の予め定められた固定値をΔVd’とし、前記q軸電流指令を、時間tを変数としてiq_ref(t)〔A〕とし、前記d軸電流指令を、時間tを変数としてid_ref(t)〔A〕とし、電流閾値をith〔A〕としたとき、
補償量決定部441は、
ΔVd=ΔVd’×√(id_ref(t)^2+iq_ref(t)^2)/ith
の演算によって得られるΔVdを、前記補償量として決める。
The current command vector is a composite vector of vector components of a d-axis current command and a q-axis current command in a dq coordinate system having a d-axis and a q-axis, and a predetermined fixed value of the compensation amount is represented by ΔVd , The q-axis current command is set to iq_ref (t) [A] using time t as a variable, the d-axis current command is set to id_ref (t) [A] using time t as a variable, and the current threshold is set to ith [ A]
The compensation
ΔVd = ΔVd ′ × {(id_ref (t) ^ 2 + iq_ref (t) ^ 2) / ith
Is determined as the compensation amount.
これにより、d軸電流指令およびq軸電流指令が任意の値であっても、補償量ΔVdを簡易な計算によって算出できる。 Thus, even if the d-axis current command and the q-axis current command have arbitrary values, the compensation amount ΔVd can be calculated by a simple calculation.
また、補償量決定部441は、√(id_ref(t)^2+iq_ref(t)^2)が前記電流閾値ith以上である場合に、前記固定値ΔVd’を前記補償量ΔVdとして決める。
When √ (id_ref (t) ^ 2 + iq_ref (t) ^ 2) is equal to or larger than the current threshold value ith, the compensation
これにより、固定値ΔVd’を上限として補償量ΔVdを制限できる。 Thus, the compensation amount ΔVd can be limited with the fixed value ΔVd ′ as the upper limit.
また、前記電流指令ベクトルは、d軸およびq軸を持つdq座標系におけるd軸電流指令およびq軸電流指令の各ベクトル成分の合成ベクトルであり、
モータ2の回転子21の回転位置に応じた信号を出力する位置センサ6からの出力信号に基づいて、回転子21の電気角位相を検出する位置検出部41をさらに備え、
タイミング生成部442は、前記q軸電流指令を、時間tを変数としてiq_ref(t)〔A〕とし、前記d軸電流指令を、時間tを変数としてid_ref(t)〔A〕とし、
Δθ=arctan(−id_ref(t)/iq_ref(t))により、
前記電流指令ベクトルの前記位相Δθを算出し、算出された前記位相Δθを用いて前記
電気角位相に対する調整を行う。
The current command vector is a composite vector of vector components of a d-axis current command and a q-axis current command in a dq coordinate system having a d-axis and a q-axis,
A
The
Δθ = arctan (−id_ref (t) / iq_ref (t))
The phase Δθ of the current command vector is calculated, and the electrical angle phase is adjusted using the calculated phase Δθ.
これにより、値が0でないd軸電流指令について、位相Δθを計算することができる。 Thereby, the phase Δθ can be calculated for the d-axis current command whose value is not 0.
また、位置検出部41は、−180°から+180°の範囲で前記電気角位相を検出し、モータ2の第1の相についての電流指令が0〔A〕となるタイミングと、回転子21の前記電気角位相が0°になるタイミングとの電気角での位相差を初期位相差としたとき、タイミング生成部442は、位置検出部41によって取得された回転子21の前記電気角位相の値に対して前記位相Δθを加算して前記電気角位相の値をシフトさせ、シフトさせ
た前記電気角位相に対してさらに前記初期位相差を加算してシフトさせた前記電気角位相の値の正負に基づき第1の相の前記補償量の絶対値を加減算するタイミングを生成する。
The
これにより、第1の相の補償量の加減算タイミングを簡易な処理により生成することが可能となる。 Accordingly, it is possible to generate the addition / subtraction timing of the compensation amount of the first phase by a simple process.
また、前記初期位相差を加算してシフトさせた前記電気角位相の値が正である場合は、デッドタイム補償部44は、デッドタイム補償部44に入力される前記第1の相の電圧指令に対して、前記補償量の絶対値を加算し、
前記初期位相差を加算してシフトさせた前記電気角位相の値が負である場合は、デッドタイム補償部44は、デッドタイム補償部44に入力される前記第1の相の電圧指令に対して、前記補償量の絶対値を減算する。
When the value of the electrical angle phase shifted by adding the initial phase difference is positive, the dead
When the value of the electrical angle phase shifted by adding the initial phase difference is negative, the dead
これにより、電気角位相の極性に応じて適切に第1の相のデッドタイム補償を行うことができる。 Thereby, dead time compensation of the first phase can be appropriately performed in accordance with the polarity of the electrical angle phase.
また、タイミング生成部442は、モータ2の前記第1の相に対して電気角で120°遅れている第2の相において、前記初期位相差を加算してシフトさせた前記電気角位相の値に対してさらに120°を減算し、120°減算後の前記電気角位相の値の正負に基づき、補償量の加減算を判定する。
In addition, the
これにより、第2の相の補償量の加減算タイミングを簡易な処理により生成することが可能となる。 This makes it possible to generate the addition / subtraction timing of the compensation amount of the second phase by a simple process.
また、120°減算後の前記電気角位相の値が正である場合は、デッドタイム補償部44は、デッドタイム補償部44に入力される前記第2の相の電圧指令に対して、前記補償量の絶対値を加算し、
120°減算後の前記電気角位相の値が負である場合は、デッドタイム補償部44は、デッドタイム補償部44に入力される前記第2の相の電圧指令に対して、前記補償量の絶対値を減算する。
When the value of the electrical angle phase after the subtraction of 120 ° is positive, the dead
When the value of the electrical angle phase after the subtraction of 120 ° is negative, the
これにより、電気角位相の極性に応じて適切に第2の相のデッドタイム補償を行うことができる。 Thereby, dead time compensation of the second phase can be appropriately performed according to the polarity of the electrical angle phase.
また、タイミング生成部442は、モータ2の前記第1の相に対して電気角で120°進んでいる第3の相において、前記初期位相差を加算してシフトさせた前記電気角位相の値に対してさらに120°を加算し、120°加算後の前記電気角位相の値の正負に基づき、補償量の加減算を判定する。
Further, in a third phase which is advanced by 120 ° in electrical angle with respect to the first phase of the
これにより、第3の相の補償量の加減算タイミングを簡易な処理により生成することが可能となる。 This makes it possible to generate the addition / subtraction timing of the compensation amount of the third phase by a simple process.
また、120°加算後の前記電気角位相の値が正である場合は、デッドタイム補償部44は、デッドタイム補償部44に入力される前記第3の相の電圧指令に対して、前記補償量の絶対値を加算し、
120°加算後の前記電気角位相の値が負である場合は、デッドタイム補償部44は、デッドタイム補償部44に入力される前記第3の相の電圧指令に対して、前記補償量の絶対値を減算する。
When the value of the electrical angle phase after the addition of 120 ° is positive, the dead
If the value of the electrical angle phase after the addition of 120 ° is negative, the dead
これにより、電気角位相の極性に応じて適切に第3の相のデッドタイム補償を行うことができる。 Thus, dead time compensation of the third phase can be appropriately performed according to the polarity of the electrical angular phase.
<補足>
以上では、第1の相、第2の相および第3の相を、それぞれU相、V相およびW相として説明したが、例えば、第1の相、第2の相、第3の相の順に、V相、W相、U相であってもよく、W相、U相、V相であってもよい。
<Supplement>
In the above description, the first phase, the second phase, and the third phase are described as the U phase, the V phase, and the W phase, respectively. For example, the first phase, the second phase, and the third phase The order may be the V phase, the W phase, and the U phase, or the W phase, the U phase, and the V phase.
以上では、回転子21の電気角位相θを、−180°から+180°の範囲として説明したが、0°から+360°の範囲としてもよい。この場合、+180°を基準とし、+180°以上+360°未満の範囲を正に対応させ、0°以上+180°未満の範囲を負に対応させることで、本実施形態と同様のデッドタイム補償を行うことができる。
Although the electrical angle phase θ of the
以上では、U相、V相、W相の3相でモータ2を駆動する場合の補償量ΔVdの演算およびデッドタイム補償について説明したが、本実施形態の手法は、3相式のモータに限らず、4相以上でモータを駆動する場合にも適用することができ、この場合も、本実施形態と同様の効果を得ることができる。
In the above, the calculation of the compensation amount ΔVd and the dead time compensation when the
本実施形態で説明した補償量ΔVdの演算およびデッドタイム補償は、デッドタイムを設けることによってモータへの出力電圧に誤差が生じ、この誤差を補償する必要があるシステムに適用することができる。したがって、駆動制御の対象となるモータは、BLDCモータ以外のモータであってもよい。例えば誘導機(誘導モータ)の駆動制御にも、本実施形態で説明した補償量ΔVdの演算およびデッドタイム補償を適用することができる。 The calculation of the compensation amount ΔVd and the dead time compensation described in the present embodiment can be applied to a system in which an error occurs in the output voltage to the motor due to the provision of the dead time, and this error needs to be compensated. Therefore, the motor to be drive-controlled may be a motor other than the BLDC motor. For example, the calculation of the compensation amount ΔVd and the dead time compensation described in the present embodiment can also be applied to drive control of an induction machine (induction motor).
なお、本実施形態で説明したモータ駆動システム1は、以下のように表現することもできる。すなわち、モータ駆動システム1は、モータ2と、電圧指令をPWMパルスに変換し、前記PWMパルスによって直列接続された各スイッチング素子(33u、34u等)のオンオフを切り替えることにより、モータ2に電圧を出力するPWMインバータ3と、PWMインバータ3を用いてモータ2を駆動制御するモータ駆動制御装置4とを備え、モータ駆動制御装置4は、本実施形態のデッドタイム補償部44を備える構成である。
Note that the
以上、本発明の実施形態につき説明したが、本発明の範囲はこれに限定されず、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。また、上記実施形態やその変形例は適宜任意に組み合わせることができる。 Although the embodiments of the present invention have been described above, the scope of the present invention is not limited thereto, and various modifications can be made without departing from the gist of the invention. Further, the above-described embodiment and its modified examples can be arbitrarily combined as appropriate.
本発明は、モータの駆動制御において、デッドタイムを設けることによって生じる出力電圧の誤差を補償するモータ駆動制御装置に利用可能である。 INDUSTRIAL APPLICABILITY The present invention is applicable to a motor drive control device that compensates for an output voltage error caused by providing a dead time in motor drive control.
2・・・モータ、3・・・PWMインバータ、4・・・モータ駆動制御装置、6・・・位置センサ、21・・・回転子、33u、33v、33w・・・スイッチング素子、34u、34v、34w・・・スイッチング素子、41・・・位置検出部、44・・・デッドタイム補償部、441・・・補償量決定部、442・・・タイミング生成部 2 ... motor, 3 ... PWM inverter, 4 ... motor drive controller, 6 ... position sensor, 21 ... rotor, 33u, 33v, 33w ... switching element, 34u, 34v , 34w: switching element, 41: position detector, 44: dead time compensator, 441: compensation amount determiner, 442: timing generator
Claims (10)
前記電流指令ベクトルは、前記モータの回転子に同期した座標系、または、それに準ずる座標系で定義されたベクトルであり、
前記PWMインバータにおいて前記直列接続された各スイッチング素子の同時オンを回避するためのデッドタイムを設けることによって生じる、前記PWMインバータの出力電圧の誤差を補償するための補償量を求め、前記補償量を加味した前記電圧指令を前記PWMインバータに出力するデッドタイム補償部を備え、
前記デッドタイム補償部は、
前記電流指令ベクトルの大きさに基づいて、前記補償量の絶対値を求める補償量決定部と、
前記電流指令ベクトルの位相に基づいて前記回転子の電気角位相に対する調整を行い、前記調整の結果の電気角位相の極性に基づいて前記補償量の絶対値を加減算するタイミングを生成するタイミング生成部と、
を有する、
モータ駆動制御装置。 By converting the voltage command into a PWM pulse and switching on / off each of the switching elements connected in series by the PWM pulse, the current flowing through the motor follows a PWM inverter that outputs a voltage to the motor. A motor drive control device that drives and controls the motor by giving the voltage command based on a current command vector indicating a vector,
The current command vector is a coordinate system synchronized with the rotor of the motor, or a vector defined in a coordinate system equivalent thereto,
In the PWM inverter, a compensation amount for compensating for an error in the output voltage of the PWM inverter, which is caused by providing a dead time for avoiding simultaneous ON of the switching elements connected in series, is calculated. A dead time compensating unit that outputs the added voltage command to the PWM inverter;
The dead time compensator,
A compensation amount determining unit that determines an absolute value of the compensation amount based on the magnitude of the current command vector;
A timing generator that adjusts the electrical angle phase of the rotor based on the phase of the current command vector, and generates a timing for adding or subtracting the absolute value of the compensation amount based on the polarity of the electrical angle phase as a result of the adjustment; When,
Having,
Motor drive control device.
前記補償量の予め定められた固定値をΔVd’とし、前記q軸電流指令を、時間tを変数としてiq_ref(t)〔A〕とし、前記d軸電流指令を、時間tを変数としてid_ref(t)〔A〕とし、電流閾値をith〔A〕としたとき、
前記補償量決定部は、
ΔVd=ΔVd’×√(id_ref(t)^2+iq_ref(t)^2)/ith
の演算によって得られるΔVdを、前記補償量として決める、請求項1に記載のモータ駆動制御装置。 The current command vector is a composite vector of vector components of a d-axis current command and a q-axis current command in a dq coordinate system having a d-axis and a q-axis,
The predetermined fixed value of the compensation amount is ΔVd ′, the q-axis current command is iq_ref (t) [A] using time t as a variable, and the d-axis current command is id_ref ( t) [A] and the current threshold value is it [A],
The compensation amount determination unit,
ΔVd = ΔVd ′ × {(id_ref (t) ^ 2 + iq_ref (t) ^ 2) / ith
The motor drive control device according to claim 1, wherein ΔVd obtained by the above calculation is determined as the compensation amount.
前記モータの前記回転子の回転位置に応じた信号を出力する位置センサからの出力信号に基づいて、前記回転子の電気角位相を検出する位置検出部をさらに備え、
前記タイミング生成部は、前記q軸電流指令を、時間tを変数としてiq_ref(t)〔A〕とし、前記d軸電流指令を、時間tを変数としてid_ref(t)〔A〕とし、
Δθ=arctan(−id_ref(t)/iq_ref(t))により、
前記電流指令ベクトルの前記位相Δθを算出し、算出された前記位相Δθを用いて前記
電気角位相に対する調整を行う、請求項1から請求項3のいずれか1項に記載のモータ駆動制御装置。 The current command vector is a composite vector of vector components of a d-axis current command and a q-axis current command in a dq coordinate system having a d-axis and a q-axis,
A position detection unit that detects an electrical angle phase of the rotor based on an output signal from a position sensor that outputs a signal corresponding to a rotation position of the rotor of the motor,
The timing generation unit sets the q-axis current command to iq_ref (t) [A] using time t as a variable, and sets the d-axis current command to id_ref (t) [A] using time t as a variable.
Δθ = arctan (−id_ref (t) / iq_ref (t))
4. The motor drive control device according to claim 1, wherein the phase Δθ of the current command vector is calculated, and the electrical angle phase is adjusted using the calculated phase Δθ. 5.
前記モータの第1の相についての電流指令が0〔A〕となるタイミングと、前記回転子の前記電気角位相が0°になるタイミングとの電気角での位相差を初期位相差としたとき、
前記タイミング生成部は、前記位置検出部によって取得された前記回転子の前記電気角位相の値に対して前記位相Δθを加算して前記電気角位相の値をシフトさせ、シフトさせ
た前記電気角位相に対してさらに前記初期位相差を加算してシフトさせた前記電気角位相の値の正負に基づき第1の相の前記補償量の絶対値を加減算するタイミングを生成する、請求項4に記載のモータ駆動制御装置。 The position detection unit detects the electrical angle phase in a range from −180 ° to + 180 °,
When the phase difference in electrical angle between the timing when the current command for the first phase of the motor becomes 0 [A] and the timing when the electrical angle phase of the rotor becomes 0 ° is an initial phase difference. ,
The timing generation unit shifts the value of the electrical angle phase by adding the phase Δθ to the value of the electrical angle phase of the rotor acquired by the position detection unit, and shifts the electrical angle. 5. The timing according to claim 4, wherein a timing for adding or subtracting the absolute value of the compensation amount of the first phase is generated based on the sign of the value of the electrical angle phase that is further shifted by adding the initial phase difference to the phase. Motor drive control device.
前記初期位相差を加算してシフトさせた前記電気角位相の値が負である場合は、前記デッドタイム補償部は、前記デッドタイム補償部に入力される前記第1の相の電圧指令に対して、前記補償量の絶対値を減算する、請求項5に記載のモータ駆動制御装置。 When the value of the electrical angle phase shifted by adding the initial phase difference is positive, the dead time compensating unit responds to the first phase voltage command input to the dead time compensating unit. And adding the absolute value of the compensation amount,
When the value of the electrical angular phase shifted by adding the initial phase difference is negative, the dead time compensating unit responds to the voltage command of the first phase input to the dead time compensating unit. The motor drive control device according to claim 5, wherein the absolute value of the compensation amount is subtracted.
120°減算後の前記電気角位相の値が負である場合は、前記デッドタイム補償部は、前記デッドタイム補償部に入力される前記第2の相の電圧指令に対して、前記補償量の絶対値を減算する、請求項7に記載のモータ駆動制御装置。 When the value of the electrical angle phase after the subtraction of 120 ° is positive, the dead time compensating unit responds to the voltage command of the second phase inputted to the dead time compensating unit by calculating the compensation amount of the second phase. Add the absolute value,
When the value of the electrical angle phase after the subtraction of 120 ° is negative, the dead time compensating unit responds to the voltage command of the second phase input to the dead time compensating unit by calculating the compensation amount of the second phase. The motor drive control device according to claim 7, wherein the absolute value is subtracted.
120°加算後の前記電気角位相の値が負である場合は、前記デッドタイム補償部は、前記デッドタイム補償部に入力される前記第3の相の電圧指令に対して、前記補償量の絶対値を減算する、請求項9に記載のモータ駆動制御装置。 When the value of the electrical angle phase after the addition of 120 ° is positive, the dead time compensating unit responds to the voltage command of the third phase input to the dead time compensating unit by calculating the compensation amount of the third phase. Add the absolute value,
When the value of the electrical angle phase after the addition of 120 ° is negative, the dead time compensating unit responds to the voltage command of the third phase inputted to the dead time compensating unit by calculating the compensation amount of the compensation amount. The motor drive control device according to claim 9, wherein the absolute value is subtracted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018154706A JP2020031469A (en) | 2018-08-21 | 2018-08-21 | Motor drive control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018154706A JP2020031469A (en) | 2018-08-21 | 2018-08-21 | Motor drive control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020031469A true JP2020031469A (en) | 2020-02-27 |
Family
ID=69622971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018154706A Pending JP2020031469A (en) | 2018-08-21 | 2018-08-21 | Motor drive control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020031469A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022091701A1 (en) * | 2020-10-26 | 2022-05-05 | パナソニックIpマネジメント株式会社 | Motor control device, and washing machine or washing and drying machine having said motor control device installed therein |
CN115398785A (en) * | 2020-04-10 | 2022-11-25 | 三菱电机株式会社 | Power conversion device and rotating machine drive system |
JP2023150489A (en) * | 2022-03-31 | 2023-10-16 | 株式会社ミツバ | Control device and control method |
-
2018
- 2018-08-21 JP JP2018154706A patent/JP2020031469A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115398785A (en) * | 2020-04-10 | 2022-11-25 | 三菱电机株式会社 | Power conversion device and rotating machine drive system |
WO2022091701A1 (en) * | 2020-10-26 | 2022-05-05 | パナソニックIpマネジメント株式会社 | Motor control device, and washing machine or washing and drying machine having said motor control device installed therein |
JPWO2022091701A1 (en) * | 2020-10-26 | 2022-05-05 | ||
JP2023150489A (en) * | 2022-03-31 | 2023-10-16 | 株式会社ミツバ | Control device and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6735827B2 (en) | Power converter | |
JP4956123B2 (en) | Motor control device | |
US8446117B2 (en) | Methods, systems and apparatus for adjusting duty cycle of pulse width modulated (PWM) waveforms | |
JP6167982B2 (en) | Motor drive device and electric compressor | |
US10608572B2 (en) | Motor drive control device | |
JP7102407B2 (en) | Inverter device and electric power steering device | |
US8441225B2 (en) | Direct-current to three-phase alternating-current inverter system | |
JP5485232B2 (en) | Switching circuit control device | |
CN107836079B (en) | Synchronous motor control device, compressor drive device, air conditioner, and synchronous motor control method | |
JP2010011540A (en) | Motor controller | |
JP2020031469A (en) | Motor drive control device | |
JP2010246260A (en) | Motor control device and method | |
JP2013066340A (en) | Motor controller | |
JP5790390B2 (en) | AC motor control device and control method | |
WO2017056258A1 (en) | Power control method and power control device | |
JP7456834B2 (en) | Motor control device, motor system and motor control method | |
JP2019208329A (en) | Sensorless vector control device and sensorless vector control method | |
JP2012138982A (en) | Motor controller and electric apparatus | |
US9935575B2 (en) | Power conversion device and control method for same, and electric power steering control device | |
JP2017046528A (en) | Power control method and power control device | |
JP2013172550A (en) | Motor controller and three-phase voltage command generating method of motor | |
JP2019088050A (en) | Motor control device and motor control method | |
CN113039717B (en) | AC rotary motor control device | |
JP2023048833A (en) | State estimation method for motor unit and state estimation device | |
JP6471670B2 (en) | Power control method and power control apparatus |