JP2019103315A - Driving unit - Google Patents

Driving unit Download PDF

Info

Publication number
JP2019103315A
JP2019103315A JP2017233880A JP2017233880A JP2019103315A JP 2019103315 A JP2019103315 A JP 2019103315A JP 2017233880 A JP2017233880 A JP 2017233880A JP 2017233880 A JP2017233880 A JP 2017233880A JP 2019103315 A JP2019103315 A JP 2019103315A
Authority
JP
Japan
Prior art keywords
phase
current
delay time
peak
motor
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
JP2017233880A
Other languages
Japanese (ja)
Other versions
JP6946988B2 (en
Inventor
林 和仁
Kazuhito Hayashi
和仁 林
隼史 山川
Junji Yamakawa
隼史 山川
諒 上川
Ryo Kamikawa
諒 上川
浩司 入江
Koji Irie
浩司 入江
浩太 小倉
Kota Ogura
浩太 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2017233880A priority Critical patent/JP6946988B2/en
Publication of JP2019103315A publication Critical patent/JP2019103315A/en
Application granted granted Critical
Publication of JP6946988B2 publication Critical patent/JP6946988B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a driving unit capable of reducing a detection error of a phase current of each phase of a motor detected by a current detection part.SOLUTION: Phase currents Iu, Iv and Iw of respective phases of a three-phase AC motor are detected (acquired) at two timings, i.e. a timing after a delay time from a crest of a triangular wave and a timing after the delay time from a trough of the triangular wave. In a two-phase modulation mode in which a switching element of one of three phases of an inverter is stopped from switching and switching elements of the remaining two phases are made to switch, the delay time ΔT is so set that differences between phase currents of the respective phases at the two timings, or a difference between currents of a d axis and a q axis based upon the phase currents of the respective phases at the two timings becomes small.SELECTED DRAWING: Figure 2

Description

本発明は、駆動装置に関し、詳しくは、3相交流モータとインバータとを備える駆動装置に関する。   The present invention relates to a drive device, and more particularly to a drive device provided with a three-phase AC motor and an inverter.

従来、この種の駆動装置としては、3相同期電動機と、3相同期電動機を駆動するPWMインバータと、3相同期電動機の各相の相電流を検出する電流検出器とを備え、3相交流モータの各相の電圧指令と三角波(搬送波)とを用いた三角波パルス幅変調によりPWMインバータを制御するものが提案されている(例えば、特許文献1参照)。この駆動装置では、三角波の上り側と下り側とでそれぞれ少なくとも1回ずつ各相の相電流を検出する。これにより、検出電流に含まれる誤差を低減できるとしている。   Conventionally, this type of drive device includes a three-phase synchronous motor, a PWM inverter for driving the three-phase synchronous motor, and a current detector for detecting the phase current of each phase of the three-phase synchronous motor. There has been proposed one that controls a PWM inverter by triangular pulse width modulation using a voltage command of each phase of a motor and a triangular wave (carrier wave) (see, for example, Patent Document 1). In this driving device, the phase current of each phase is detected at least once each on the upstream side and the downstream side of the triangular wave. Thereby, an error included in the detected current can be reduced.

特開2012−110074号公報JP, 2012-110074, A

しかしながら、上述の駆動装置では、PWMインバータのスイッチング素子のスイッチングの遅れやデッドタイムなどの影響による電流リプルの中心と電流検出タイミングとのずれにより、電流の検出誤差を十分に低減できていない可能性がある。   However, in the above-mentioned drive device, there is a possibility that the current detection error can not be sufficiently reduced due to the shift between the current ripple center and the current detection timing due to the influence of switching delay or dead time of the switching element of the PWM inverter. There is.

本発明の駆動装置は、電流検出部により検出されるモータの各相の相電流の検出誤差をより低減することを主目的とする。   The drive device of the present invention has as its main object to further reduce the detection error of the phase current of each phase of the motor detected by the current detection unit.

本発明の駆動装置は、上述の主目的を達成するために以下の手段を採った。   The drive device of the present invention adopts the following means in order to achieve the above-mentioned main object.

本発明の駆動装置は、
3相交流モータと、
複数のスイッチング素子のスイッチングにより前記3相交流モータを駆動するインバータと、
前記3相交流モータの各相の電圧指令と三角波とを用いたパルス幅変調制御により前記複数のスイッチング素子をスイッチング制御する制御装置と、
を備える駆動装置であって、
前記制御装置は、前記三角波の山から遅延時間後のタイミングと前記三角波の谷から前記遅延時間後のタイミングとの2つのタイミングで前記3相交流モータの各相の相電流を検出し、
更に、前記制御装置は、前記インバータの前記3相のうち1相の前記スイッチング素子のスイッチングを停止すると共に残りの2相の前記スイッチング素子をスイッチングする2相変調モードのときに、前記2つのタイミングの前記各相の相電流の差分または前記2つのタイミングの前記各相の相電流に基づくd軸,q軸の電流の差分が小さくなるように前記遅延時間を設定する、
ことを要旨とする。
The driving device of the present invention is
Three-phase AC motor,
An inverter for driving the three-phase AC motor by switching a plurality of switching elements;
A control device that performs switching control of the plurality of switching elements by pulse width modulation control using a voltage command of each phase of the three-phase AC motor and a triangular wave;
A driving device comprising
The control device detects the phase current of each phase of the three-phase AC motor at two timings, a timing after a delay time from the peak of the triangular wave and a timing after the delay time from a valley of the triangular wave;
Furthermore, the control device stops the switching of the switching element of one of the three phases of the inverter, and switches the remaining two phases of the switching element in the two-phase modulation mode. Setting the delay time such that the difference between the phase currents of the respective phases or the currents of the d-axis and the q-axis based on the phase currents of the respective phases at the two timings is reduced.
Make it a gist.

この本発明の駆動装置では、三角波の山から遅延時間後のタイミングと三角波の谷から遅延時間後のタイミングとの2つのタイミングで3相交流モータの各相の相電流を検出(取得)する。そして、インバータの3相のうち1相のスイッチング素子のスイッチングを停止すると共に残りの2相のスイッチング素子をスイッチングする2相変調モードのときに、2つのタイミングの各相の相電流の差分または2つのタイミングの各相の相電流に基づくd軸,q軸の電流の差分が小さくなるように遅延時間を設定する。発明者らは、2相変調モードで、三角波の周波数と各相の相電流の電流リプルの主成分の周波数とが同一になり、三角波の山および谷のタイミングで相電流(実値)に対して相電流(検出値)が互いに反対側にオフセットし、三角波の山および谷から遅延時間後のタイミングでも相電流(実値)に対して相電流(検出値)が互いに反対側にオフセットすることを見出した。したがって、2つのタイミングの各相の相電流の差分または2つのタイミングのd軸,q軸の電流の差分が小さくなるように遅延時間を設定することにより、モータの各相の相電流を電流リプルのより中心付近で検出することができる。これにより、各相の相電流の検出誤差をより低減することができる。   In the driving device according to the present invention, the phase current of each phase of the three-phase AC motor is detected (acquired) at two timings, that is, the timing after the delay time from the crest of the triangular wave and the timing after the delay time from the trough of the triangular wave. Then, in the two-phase modulation mode in which switching of one of the three phase switching elements of the inverter is stopped and switching of the remaining two phase switching elements is performed, the difference between the phase currents of the two phases at each timing or The delay time is set so that the difference between the d-axis and q-axis currents based on the phase current of each phase of one timing becomes smaller. The inventors found that in the two-phase modulation mode, the frequency of the triangular wave and the frequency of the main component of the current ripple of the phase current of each phase become identical, and the phase current (actual value) at the timing of the peaks and valleys of the triangular wave. Phase current (detection value) is offset to the opposite side, and phase current (detection value) is offset to the opposite side with respect to the phase current (actual value) even at the timing after the delay time from the peaks and valleys of the triangular wave Found out. Therefore, the phase current of each phase of the motor is current rippled by setting the delay time so that the difference between the phase currents of each phase of the two timings or the difference between the currents of the d and q axes of the two timings becomes small. It can be detected near the center of the Thereby, the detection error of the phase current of each phase can be further reduced.

こうした本発明の駆動装置において、前記制御装置は、前記2相変調モードのときに、前記2つのタイミングの前記各相の相電流の差分または前記2つのタイミングの前記d軸,q軸の電流の差分が最小となるように前記遅延時間を設定するものとしてもよい。こうすれば、モータの各相の相電流を電流リプルの更に中心付近で検出することができる。   In the drive device according to the present invention, the control device is configured to calculate the difference between the phase currents of the respective phases of the two timings or the currents of the d axis and q axis of the two timings in the two phase modulation mode. The delay time may be set to minimize the difference. In this way, the phase current of each phase of the motor can be detected near the center of the current ripple.

本発明の駆動装置において、前記制御装置は、前記2相変調モードのときに、前記2つのタイミングの前記d軸の電流の差分と前記q軸の電流の差分とに基づいてdq軸電流山谷差を計算すると共に前記遅延時間と前記dq軸電流山谷差との組み合わせを保存する処理を、前記遅延時間を変更しながら実行し、前記遅延時間と前記dq軸電流山谷差との複数の組み合わせのうち前記dq軸電流山谷差が最小の前記遅延時間を設定するものとしてもよい。こうすれば、dq軸電流山谷差を用いて遅延時間をより適切に設定することができる。   In the drive device according to the present invention, the control device is configured to calculate a dq-axis current peak-valley difference based on a difference between the d-axis current at the two timings and a difference between the q-axis currents in the two-phase modulation mode. The processing of storing the combination of the delay time and the dq-axis current peak-to-valley difference is executed while changing the delay time, and among the plurality of combinations of the delay time and the dq-axis current peak-to-valley difference The delay time with the smallest dq-axis current peak-to-valley difference may be set. By so doing, the delay time can be set more appropriately using the dq axis current peak-to-peak difference.

本発明の駆動装置において、前記制御装置は、前記2相変調モードのときに、前記スイッチング素子のスイッチングを停止する停止相を特定し、前記2つのタイミングの前記停止相の相電流の差分が値0となるように前記遅延時間を設定するものとしてもよい。こうすれば、停止相の相電流を用いて遅延時間をより適切に設定することができる。   In the drive device according to the present invention, the control device specifies a stop phase for stopping switching of the switching element in the two-phase modulation mode, and a difference between phase currents of the stop phase of the two timings is a value. The delay time may be set to 0. In this way, it is possible to set the delay time more appropriately by using the phase current of the stop phase.

本発明の駆動装置において、前記制御装置は、前記2相変調モードとして、前記スイッチング素子のスイッチングを停止する停止相を電気角の120度ずつ切り替えると共に前記停止相の上下アームのうち上アームをオン固定するものとしてもよい。また、前記制御装置は、前記2相変調モードとして、前記スイッチング素子のスイッチングを停止する停止相を電気角の120度ずつ切り替えると共に前記停止相の上下アームのうち下アームをオン固定するものとしてもよい。さらに、前記制御装置は、前記2相変調モードとして、前記スイッチング素子のスイッチングを停止する停止相を電気角の60度ずつ切り替えると共に電気角の60度ずつ前記停止相の上下アームのうちの上アームのオン固定と下アームのオン固定とを交互に行なうものとしてもよい。   In the drive device according to the present invention, the control device switches a stop phase for stopping switching of the switching element by 120 degrees of an electrical angle as the two-phase modulation mode and turns on an upper arm among upper and lower arms of the stop phase. It may be fixed. The control device may also switch the stop phase for stopping the switching of the switching element by 120 degrees of electrical angle in the two-phase modulation mode and fix on the lower arm of the upper and lower arms of the stop phase. Good. Furthermore, the control device switches the stop phase for stopping the switching of the switching element by 60 degrees of electrical angle as the two-phase modulation mode and the upper arm of the upper and lower arms of the stop phase by 60 degrees of electrical angle On-fixing of the lower arm and on-fixing of the lower arm may be performed alternately.

本発明の駆動装置において、前記制御装置は、所定の学習条件が成立したときに、前記2相変調モードとして、前記遅延時間を設定するものとしてもよい。ここで、「学習条件」としては、前回の遅延時間の学習から所定時間が経過している条件、3相交流モータのトルクの変動量や回転数の変動量が各閾値以下である条件、各相の電圧指令の振幅が三角波の振幅よりも小さい条件などが用いられる。   In the drive device of the present invention, the control device may set the delay time as the two-phase modulation mode when a predetermined learning condition is satisfied. Here, as the "learning condition", a condition in which a predetermined time has elapsed since the learning of the delay time last time, a condition in which the fluctuation amount of torque of the three-phase AC motor and the fluctuation amount of rotational speed are less than each threshold, The condition that the amplitude of the phase voltage command is smaller than the amplitude of the triangular wave is used.

本発明の一実施例としての駆動装置を搭載する電気自動車20の構成の概略を示す構成図である。It is a block diagram which shows the outline of a structure of the electric vehicle 20 which mounts the drive device as one Example of this invention. 電子制御ユニット50により実行される相電流検出ルーチンの一例を示すフローチャートである。5 is a flowchart showing an example of a phase current detection routine executed by the electronic control unit 50. 電子制御ユニット50により実行される相電流検出ルーチンの一例を示すフローチャートである。5 is a flowchart showing an example of a phase current detection routine executed by the electronic control unit 50. 3相変調モードでの電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号との一例を示す説明図である。It is explanatory drawing which shows an example of voltage command Vu *, Vv *, Vw * and a triangular wave in 3 phase modulation mode, and the switching signal of each phase. 2相変調モードでの電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号との一例を示す説明図である。It is explanatory drawing which shows an example of voltage command Vu * in a 2 phase modulation mode, Vv *, Vw * and a triangular wave, and the switching signal of each phase. 3相変調モードでの三角波の1周期における電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号および電圧Vu,Vv,VwとU相の相電流(実値)Iuactおよび相電流(検出値)Iuとを示す説明図である。Voltage command Vu *, Vv *, Vw * and triangular wave and switching signal of each phase and voltage Vu, Vv, Vw and phase current of U phase (actual value) Iuact and phase current in one cycle of triangular wave in three phase modulation mode (Detected value) FIG. 2相変調モードでの三角波の1周期における電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号および電圧Vu,Vv,VwとU相の相電流(実値)Iuactおよび相電流(検出値)Iuとを示す説明図である。Voltage command Vu *, Vv *, Vw * and triangular wave, switching signal of each phase and voltage Vu, Vv, Vw and phase current of U phase (actual value) Iuact and phase current in one cycle of triangular wave in two-phase modulation mode (Detected value) FIG. 変形例の2相変調モードでの電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号との一例を示す説明図である。It is explanatory drawing which shows an example of voltage command Vu * in the 2 phase modulation mode of a modification, Vv *, Vw *, a triangular wave, and the switching signal of each phase. 変形例の2相変調モードでの電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号との一例を示す説明図である。It is explanatory drawing which shows an example of voltage command Vu * in the 2 phase modulation mode of a modification, Vv *, Vw *, a triangular wave, and the switching signal of each phase. 変形例の相電流検出ルーチンの一例を示すフローチャートである。It is a flowchart which shows an example of the phase current detection routine of a modification. 図5の2相変調モードで且つSW停止相がU相で且つU相の相電流Iuが正のときの電流検出遅延時間ΔTと相電流(山)Iuaおよび相電流(谷)Iubとの関係の一例を示す説明図である。Relationship between the current detection delay time ΔT and the phase current (peak) Iua and the phase current (valley) Iub in the two-phase modulation mode of FIG. 5 and when the SW stop phase is U phase and the U phase current Iu is positive. It is explanatory drawing which shows an example. 図5の2相変調モードで且つSW停止相がU相で且つU相の相電流Iuが負のときの電流検出遅延時間ΔTと相電流(山)Iuaおよび相電流(谷)Iubとの関係の一例を示す説明図である。The relationship between the current detection delay time ΔT and the phase current (peak) Iua and the phase current (valley) Iub in the two-phase modulation mode of FIG. 5 and when the SW stop phase is U phase and the U phase current Iu is negative. It is explanatory drawing which shows an example. 図8の2相変調モードで且つSW停止相がU相で且つU相の相電流Iuが正のときの電流検出遅延時間ΔTと相電流(山)Iuaおよび相電流(谷)Iubとの関係の一例を示す説明図である。The relationship between the current detection delay time ΔT and the phase current (peak) Iua and the phase current (valley) Iub in the two-phase modulation mode of FIG. 8 when the SW stop phase is the U phase and the U phase current Iu is positive. It is explanatory drawing which shows an example. 図8の2相変調モードで且つSW停止相がU相で且つU相の相電流Iuが負のときの電流検出遅延時間ΔTと相電流(山)Iuaおよび相電流(谷)Iubとの関係の一例を示す説明図である。The relationship between the current detection delay time ΔT and the phase current (peak) Iua and the phase current (valley) Iub in the two-phase modulation mode of FIG. 8 when the SW stop phase is U phase and the U phase current Iu is negative. It is explanatory drawing which shows an example.

次に、本発明を実施するための形態を実施例を用いて説明する。   Next, modes for carrying out the present invention will be described using examples.

図1は、本発明の一実施例としての駆動装置を搭載する電気自動車20の構成の概略を示す構成図である。実施例の電気自動車20は、図示するように、モータ32と、インバータ34と、蓄電装置としてのバッテリ36と、電子制御ユニット50と、を備える。   FIG. 1 is a block diagram showing an outline of the configuration of an electric vehicle 20 equipped with a drive device as an embodiment of the present invention. As illustrated, the electric vehicle 20 of the embodiment includes a motor 32, an inverter 34, a battery 36 as a power storage device, and an electronic control unit 50.

モータ32は、同期発電電動機として構成されており、永久磁石が埋め込まれた回転子と、3相コイルが巻回された固定子と、を備える。このモータ32は、回転子が駆動輪22a,22bにデファレンシャルギヤ24を介して連結された駆動軸26に接続されている。   The motor 32 is configured as a synchronous generator motor, and includes a rotor in which permanent magnets are embedded, and a stator in which a three-phase coil is wound. The motor 32 is connected to a drive shaft 26 whose rotor is connected to drive wheels 22 a and 22 b via a differential gear 24.

インバータ34は、モータ32の駆動に用いられると共に電力ライン38を介してバッテリ36に接続されている。このインバータ34は、6つのスイッチング素子としてのトランジスタT11〜T16と、6つのトランジスタT11〜T16のそれぞれに並列に接続された6つのダイオードD11〜D16と、を有する。トランジスタT11〜T16は、それぞれ、電力ライン38の正極側ラインと負極側ラインとに対してソース側とシンク側になるように2個ずつペアで配置されている。また、トランジスタT11〜T16の対となるトランジスタ同士の接続点には、モータ32の3相コイル(U相,V相,W相)が接続されている。以下、トランジスタT11〜T13を「上アーム」といい、トランジスタT14〜T16を「下アーム」という。したがって、インバータ34に電圧が作用しているときに、電子制御ユニット50によって、対となるトランジスタT11〜T16のオン時間の割合が調節されることにより、3相コイルに回転磁界が形成され、モータ32が回転駆動される。電力ライン38の正極ラインと負極ラインとには、平滑用のコンデンサ39が取り付けられている。   The inverter 34 is used to drive the motor 32 and is connected to the battery 36 via the power line 38. The inverter 34 has six transistors T11 to T16 as switching elements, and six diodes D11 to D16 connected in parallel to the six transistors T11 to T16, respectively. The transistors T11 to T16 are arranged in pairs of two so that the source side and the sink side of the positive electrode side line and the negative electrode side line of the power line 38, respectively. Further, a three-phase coil (U-phase, V-phase, W-phase) of the motor 32 is connected to a connection point between the transistors forming the pair of the transistors T11 to T16. Hereinafter, the transistors T11 to T13 are referred to as “upper arm”, and the transistors T14 to T16 are referred to as “lower arm”. Therefore, when the voltage is applied to inverter 34, electronic control unit 50 adjusts the ratio of the on time of paired transistors T11 to T16 to form a rotating magnetic field in the three-phase coil, and thereby the motor 32 is rotationally driven. A smoothing capacitor 39 is attached to the positive electrode line and the negative electrode line of the power line 38.

バッテリ36は、例えばリチウムイオン二次電池やニッケル水素二次電池として構成されている。このバッテリ36は、上述したように、電力ライン38を介してインバータ34に接続されている。   The battery 36 is configured as, for example, a lithium ion secondary battery or a nickel hydrogen secondary battery. The battery 36 is connected to the inverter 34 via the power line 38 as described above.

電子制御ユニット50は、CPUを中心とするマイクロプロセッサとして構成されており、CPUの他に、処理プログラムを記憶するROMや、データを一時的に記憶するRAM、入出力ポートを備える。電子制御ユニット50には、各種センサからの信号が入力ポートを介して入力されている。電子制御ユニット50に入力される信号としては、例えば、モータ32の回転子に取り付けられた回転位置検出センサ(例えばレゾルバ)32aからのモータ32の回転子の回転位置θmや、モータ32とインバータ34とを接続する各相の電力ラインに取り付けられた電流センサ32u,32v,32wからの信号を挙げることができる。また、コンデンサ39の端子間に取り付けられた電圧センサ39aからのコンデンサ39(電力ライン38)の電圧VHや、バッテリ36の端子間に取り付けられた図示しない電圧センサからのバッテリ36の電圧Vb、バッテリ36の出力端子に取り付けられた図示しない電流検出部からのバッテリ36の電流Ibも挙げることができる。さらに、イグニッションスイッチ60からのイグニッション信号や、シフトレバー61の操作位置を検出するシフトポジションセンサ62からのシフトポジションSPも挙げることができる。加えて、アクセルペダル63の踏み込み量を検出するアクセルペダルポジションセンサ64からのアクセル開度Accや、ブレーキペダル65の踏み込み量を検出するブレーキペダルポジションセンサ66からのブレーキペダルポジションBP、車速センサ68からの車速Vも挙げることができる。電子制御ユニット50は、電流センサ32u,32v,32wからの信号(アナログ値)をモータ32の各相の相電流Iu,Iv,Iw(デジタル値)に変換するAD変換部51を有する。電子制御ユニット50からは、インバータ34のトランジスタT11〜T16へのスイッチング制御信号などが出力ポートを介して出力されている。電子制御ユニット50は、回転位置検出センサ32aからのモータ32の回転子の回転位置θmに基づいてモータ32の電気角θeや回転数Nmを演算している。   The electronic control unit 50 is configured as a microprocessor centering on a CPU, and includes, in addition to the CPU, a ROM for storing a processing program, a RAM for temporarily storing data, and an input / output port. Signals from various sensors are input to the electronic control unit 50 through input ports. As a signal input to the electronic control unit 50, for example, the rotational position θm of the rotor of the motor 32 from the rotational position detection sensor (for example, resolver) 32a attached to the rotor of the motor 32, the motor 32 and the inverter 34 And the signals from the current sensors 32u, 32v, 32w attached to the power lines of the respective phases. Further, voltage VH of capacitor 39 (power line 38) from voltage sensor 39a attached between terminals of capacitor 39, voltage Vb of battery 36 from voltage sensor not shown attached between terminals of battery 36, battery The current Ib of the battery 36 from the current detection unit (not shown) attached to the 36 output terminals can also be mentioned. Furthermore, the ignition signal from the ignition switch 60 and the shift position SP from the shift position sensor 62 that detects the operation position of the shift lever 61 can also be mentioned. In addition, the accelerator opening Acc from the accelerator pedal position sensor 64 which detects the depression amount of the accelerator pedal 63, the brake pedal position BP from the brake pedal position sensor 66 which detects the depression amount of the brake pedal 65, and the vehicle speed sensor 68 Vehicle speed V can also be mentioned. The electronic control unit 50 has an AD conversion unit 51 that converts signals (analog values) from the current sensors 32u, 32v, 32w into phase currents Iu, Iv, Iw (digital values) of the respective phases of the motor 32. The electronic control unit 50 outputs a switching control signal to the transistors T11 to T16 of the inverter 34 via an output port. The electronic control unit 50 calculates the electrical angle θe and the rotational speed Nm of the motor 32 based on the rotational position θm of the rotor of the motor 32 from the rotational position detection sensor 32a.

こうして構成された実施例の電気自動車20では、アクセル開度Accと車速Vとに基づいて駆動軸26に要求される要求トルクTd*を設定し、要求トルクTd*をモータ32のトルク指令Tm*に設定する。そして、モータ32がトルク指令Tm*で駆動されるようにパルス幅変調制御(PWM制御)によりインバータ34のトランジスタT11〜T16のスイッチング制御を行なう。   In the electric vehicle 20 of the embodiment thus configured, the required torque Td * required for the drive shaft 26 is set based on the accelerator opening Acc and the vehicle speed V, and the required torque Td * is set as the torque command Tm * of the motor 32. Set to Then, switching control of the transistors T11 to T16 of the inverter 34 is performed by pulse width modulation control (PWM control) such that the motor 32 is driven by the torque command Tm *.

ここで、インバータ34の制御について説明する。電子制御ユニット50は、まず、モータ32の電気角θeを用いてU相,V相,W相の相電流Iu,Iv,Iwをd軸,q軸の電流Id,Iqに座標変換(3相−2相変換)する。続いて、モータ32のトルク指令Tm*に基づいてd軸,q軸の電流指令Id*,Iq*を設定し、d軸,q軸の電流指令Id*,Iq*および電流Id,Iqを用いてd軸,q軸の電圧指令Vd*,Vq*を設定する。そして、モータ32の電気角θeを用いてd軸,q軸の電圧指令Vd*,Vq*を各相の電圧指令Vu*,Vv*,Vw*に座標変換(2相−3相変換)し、各相の電圧指令Vu*,Vv*,Vw*と三角波(搬送波)との比較によりトランジスタT11〜T16のPWM信号を生成する。こうしてトランジスタT11〜T16のPWM信号を生成すると、そのPWM信号を用いてトランジスタT11〜T16のスイッチングを行なう。   Here, control of the inverter 34 will be described. The electronic control unit 50 first converts the U-phase, V-phase and W-phase phase currents Iu, Iv and Iw into d-axis and q-axis currents Id and Iq using the electrical angle θe of the motor 32 (three-phase -2 phase conversion). Subsequently, current commands Id * and Iq * for d axis and q axis are set based on torque command Tm * of motor 32, and current commands Id * and Iq * for d axis and q axis and currents Id and Iq are used. The voltage commands Vd * and Vq * of the d axis and q axis are set. Then, using the electrical angle θe of the motor 32, the voltage commands Vd * and Vq * of the d axis and q axis are coordinate converted (two-phase to three-phase converted) into voltage commands Vu *, Vv *, Vw * of each phase. The PWM signals of the transistors T11 to T16 are generated by comparing the voltage commands Vu *, Vv *, Vw * of each phase with the triangular wave (carrier wave). Thus, when the PWM signals of the transistors T11 to T16 are generated, the transistors T11 to T16 are switched using the PWM signals.

次に、こうして構成された実施例の電気自動車20に搭載される駆動装置の動作、特に、モータ32の各相の相電流Iu,Iv,Iwを検出する、具体的には、電流センサ32u,32v,32wからの信号(アナログ値)を各相の相電流Iu,Iv,Iw(デジタル値)に変換する際の動作について説明する。図2および図3は、電子制御ユニット50により実行される相電流検出ルーチンの一例を示すフローチャートである。このルーチンは、三角波の山および谷の各タイミングで割込処理として実行される。なお、三角波の周波数(キャリア周波数)fcとしては、例えば、4kHzや5kHz、6kHzなどが用いられる。   Next, the operation of the drive device mounted on the electric vehicle 20 of the embodiment configured in this way, in particular, detects the phase current Iu, Iv, Iw of each phase of the motor 32, specifically, the current sensor 32u, The operation at the time of converting signals (analog values) from 32v and 32w into phase currents Iu, Iv and Iw (digital values) of respective phases will be described. 2 and 3 are flowcharts showing an example of a phase current detection routine executed by the electronic control unit 50. This routine is executed as interrupt processing at each timing of the crest and trough of the triangular wave. In addition, 4 kHz, 5 kHz, 6 kHz etc. are used as frequency (carrier frequency) fc of a triangular wave, for example.

図2および図3の相電流検出ルーチンが実行されると、電子制御ユニット50は、電流検出遅延時間ΔTが経過するのを待って、即ち、三角波の山および谷の電流検出遅延時間ΔT後に(ステップS100)、モータ32の各相の相電流Iu,Iv,Iwを検出する、具体的には、電流センサ32u,32v,32wからの信号(アナログ値)を各相の相電流Iu,Iv,Iw(デジタル値)に変換する(ステップS110)。そして、モータ32の電気角θeを用いて各相の相電流Iu,Iv,Iwをd軸,q軸の電流Id,Iqに座標変換(3相−2相変換)する(ステップS120)。ここで、電流検出遅延時間ΔTは、後述の処理により設定された時間が用いられる。また、d軸,q軸の電流Id,Iqを設定すると、本ルーチンとは別のルーチンにより、上述したように、d軸,q軸の電流Id,Iqに基づいてPWM制御によりインバータ34のトランジスタT11〜T16のスイッチング制御を行なう。   When the phase current detection routine of FIGS. 2 and 3 is executed, the electronic control unit 50 waits for the current detection delay time ΔT to elapse, ie, after the current detection delay time ΔT of the crests and valleys of the triangular wave ( Step S100) detects the phase currents Iu, Iv, Iw of each phase of the motor 32. Specifically, signals (analog values) from the current sensors 32u, 32v, 32w are phase currents Iu, Iv, It is converted into Iw (digital value) (step S110). Then, using the electrical angle θe of the motor 32, the phase currents Iu, Iv, Iw of each phase are coordinate-converted (three-phase / two-phase conversion) to currents Id, Iq of the d axis and q axis (step S120). Here, as the current detection delay time ΔT, a time set by a process described later is used. When the currents Id and Iq for the d and q axes are set, the transistor of the inverter 34 is controlled by PWM control based on the currents Id and Iq for the d and q axes as described above according to a routine different from this routine. The switching control of T11 to T16 is performed.

続いて、電流検出遅延時間ΔTの学習条件が成立しているか否かを判定する(ステップS130)。ここで、学習条件としては、例えば、前回に電流検出遅延時間ΔTの学習を実行してから所定時間(例えば、数分〜数十分程度)が経過しており、且つ、モータ32のトルクTmの変動量および回転数Nmの変動量が各閾値以下であり、各相の電圧指令Vu*,Vv*,Vw*の振幅が三角波の振幅よりも小さい条件などが用いられる。なお、学習条件は、これに限定されるものではなく、適宜設定可能である。   Subsequently, it is determined whether a learning condition of the current detection delay time ΔT is satisfied (step S130). Here, as a learning condition, for example, a predetermined time (for example, about several minutes to several tens of minutes) has elapsed since the learning of the current detection delay time ΔT was performed last time, and the torque Tm of the motor 32 is The fluctuation amount of the rotational speed Nm and the fluctuation amount of the rotational speed Nm are equal to or less than the respective threshold values, and the condition is used in which the amplitude of the voltage command Vu *, Vv *, Vw * of each phase is smaller than that of the triangular wave. The learning condition is not limited to this, and can be set as appropriate.

ステップS130で学習条件が成立していないと判定したときには、3相変調モードを設定して(ステップS135)、本ルーチンを終了する。ここで、3相変調モードは、インバータ34の3相のトランジスタ(トランジスタT11〜T16の全て)のスイッチングを行なうモードである。図4は、3相変調モードでの電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号との一例を示す説明図である。各相のスイッチング信号は、各相の上アームのPWM信号(オンオフ反転させたものが下アームのPWM信号)に相当する。トランジスタT11〜T16の実際のスイッチングは、トランジスタT11〜T16のPWM信号(スイッチング信号)に基づいてトランジスタT11〜T16のスイッチング遅れやデッドタイムを考慮して行なわれる。   If it is determined in step S130 that the learning condition is not satisfied, the three-phase modulation mode is set (step S135), and this routine is ended. Here, the three-phase modulation mode is a mode in which three-phase transistors (all of the transistors T11 to T16) of the inverter 34 are switched. FIG. 4 is an explanatory view showing an example of the voltage commands Vu *, Vv *, Vw * and the triangular wave and the switching signal of each phase in the three-phase modulation mode. The switching signal of each phase corresponds to the PWM signal of the upper arm of each phase (the on / off inverted signal is the PWM signal of the lower arm). Actual switching of the transistors T11 to T16 is performed in consideration of the switching delay and dead time of the transistors T11 to T16 based on the PWM signal (switching signal) of the transistors T11 to T16.

ステップS130で学習条件が成立していると判定されたときには、2相変調モードを設定する(ステップS140)。ここで、2相変調モードは、インバータ34の3相のうち1相のトランジスタ(例えば、U相のトランジスタT11,T14)のスイッチングを停止すると共に残りの2相のトランジスタ(例えば、V相,W相のトランジスタT12,T13,T15,T16)のスイッチングを行なうモードである。トランジスタのスイッチングを停止する1相(以下、「SW停止相」という)は、モータ32の電気角θeに基づいて定められる。図5は、2相変調モードでの電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号との一例を示す説明図である。実施例では、2相変調モードとして、図5に示すように、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の上アームをオン固定する(下アームをオフ固定する)ものとした。2相変調モードを設定する理由については後述する。   If it is determined in step S130 that the learning condition is satisfied, the two-phase modulation mode is set (step S140). Here, in the two-phase modulation mode, switching of one of the three phases (for example, U-phase transistors T11 and T14) of the three phases of the inverter 34 is stopped and the remaining two-phase transistors (for example, V-phase, W In this mode, switching of the phase transistors T12, T13, T15 and T16) is performed. One phase (hereinafter referred to as “SW stop phase”) for stopping the switching of the transistor is determined based on the electrical angle θe of the motor 32. FIG. 5 is an explanatory view showing an example of the voltage commands Vu *, Vv *, Vw * and the triangular wave and the switching signal of each phase in the two-phase modulation mode. In the embodiment, as the two-phase modulation mode, as shown in FIG. 5, the SW stop phase is switched by 120 degrees of the electrical angle θe and the upper arm of the SW stop phase is fixed on (the lower arm is fixed off). did. The reason for setting the two-phase modulation mode will be described later.

続いて、電流検出遅延時間ΔTの候補の全ての検査が完了したか否かを判定する(ステップS150,S152)。ここで、電流検出遅延時間ΔTの候補としては、例えば、三角波の周期が200msec程度(キャリア周波数が5kHz程度)のときに、1μsecや2μsec、・・・などを挙げることができる。   Subsequently, it is determined whether all the examinations of the candidates for the current detection delay time ΔT have been completed (steps S150 and S152). Here, as candidates for the current detection delay time ΔT, for example, 1 μsec, 2 μsec, etc. can be mentioned when the period of the triangular wave is about 200 msec (the carrier frequency is about 5 kHz).

ステップS150,S152で電流検出遅延時間ΔTの候補の全ての検査が完了していないと判定したときには、今回の割込処理(本ルーチンの実行)が三角波の山のタイミングと谷のタイミングとのうちの何れのタイミングの割込処理かを判定する(ステップS160)。そして、今回の割込処理が三角波の山のタイミングの割込処理であると判定したときには、ステップS120で計算したd軸,q軸の電流Id,Iqをd軸,q軸の電流(山)Ida,Iqaに設定し(ステップS170)、今回の割込処理が三角波の谷のタイミングの割込処理であると判定したときには、d軸,q軸の電流Id,Iqがd軸,q軸の電流(谷)Idb,Iqbに設定する(ステップS180)。   When it is determined in steps S150 and S152 that all the examinations of the current detection delay time ΔT candidate have not been completed, the interrupt processing (execution of this routine) at this time has the triangular wave timing and the valley timing. It is determined at which timing of the interrupt process the interrupt process (step S160). Then, when it is determined that the interrupt processing of this time is the interrupt processing of the peak timing of the triangular wave, the currents Id and Iq of the d axis and q axis calculated in step S120 are the currents of the d axis and q axis (peak) When Ida and Iqa are set (step S170) and it is determined that the current interrupt processing is interrupt processing at the timing of the valley of the triangular wave, currents Id and Iq of the d and q axes are d and q axes, respectively. The current (valley) Idb, Iqb is set (step S180).

続いて、d軸,q軸の電流(山)Ida,Iqaおよび電流(谷)Idb,Iqbのデータが揃っているか否かを判定し(ステップS190)、揃っていないと判定したときには、そのまま本ルーチンを終了する。   Subsequently, it is judged whether or not the data of the current (peak) Ida, Iqa of the d-axis and q-axis and the current (valley) Idb, Iqb are aligned (step S190). End the routine

ステップS190でd軸,q軸の電流(山)Ida,Iqaおよび電流(谷)Idb,Idqのデータが揃っていると判定したときには、d軸,q軸の電流(山)Ida,Iqaから電流(谷)Idb,Idqを減じてd軸,q軸の電流山谷差ΔId,ΔIqを計算し(ステップS200)、計算したd軸の電流山谷差ΔIdの2乗とq軸の電流山谷差ΔIqの2乗との和の平方根としてdq軸電流山谷差ΔIdqを計算する(ステップS210)。   If it is determined in step S190 that the data of the d-axis and q-axis current (peak) Ida and Iqa and the current (valley) Idb and Idq are aligned, the current from d-axis and q-axis (peak) Ida and Iqa (Valley) Idb and Idq are reduced to calculate the current valley difference ΔId and ΔIq of the d axis and q axis (step S200), and the square of the calculated current valley difference ΔId of the d axis and the current valley difference ΔIq of the q axis The dq axis current peak / valley difference ΔIdq is calculated as the square root of the sum of the squares and the square (step S210).

そして、dq軸電流山谷差ΔIdqに対してフィルタ処理(なまし処理)を施すことが可能か否かを判定する(ステップS220)。この判定は、例えば、電流検出遅延時間ΔTを現在の値にしてから所定時間Δtf(例えば、90msecや100msec、110msecなど)が経過したか否かを判定することにより行なわれる。dq軸電流山谷差ΔIdqに対してフィルタ処理を施すことが可能でないと判定したときには、そのまま本ルーチンを終了する。   Then, it is determined whether or not it is possible to apply a filtering process (a smoothing process) to the dq axis current peak-to-peak difference ΔIdq (step S220). This determination is performed, for example, by determining whether or not a predetermined time Δtf (for example, 90 msec, 100 msec, 110 msec, etc.) has elapsed after the current detection delay time ΔT is made the current value. If it is determined that filtering can not be performed on the dq axis current peak / valley difference ΔIdq, the present routine ends.

ステップS220でdq軸電流山谷差ΔIdqに対してフィルタ処理(なまし処理)を施すことが可能であると判定したときには、dq軸電流山谷差ΔIdqに対してフィルタ処理(なまし処理)を施してdq軸電流山谷差(フィルタ値)ΔIdqを計算する(ステップS230)。この処理は、例えば、所定時間Δtfを時定数として用いてdq軸電流山谷差ΔIdqになまし処理を施すことにより行なわれる。   If it is determined in step S220 that the dq axis current peak-to-valley difference ΔIdq can be subjected to the filter processing (dampening processing), the dq axis current peak-to-valley difference ΔIdq is subjected to the filtering processing (damping processing) The dq axis current peak / valley difference (filter value) ΔIdq is calculated (step S230). This process is performed, for example, by performing an averaging process on the dq-axis current peak-to-valley difference ΔIdq using the predetermined time Δtf as a time constant.

次に、電流検出遅延時間ΔTの候補を選択してからの経過時間としてのタイマ値Ttiを所定時間Ttirefと比較する(ステップS240)。ここで、所定時間Ttirefは、dq軸電流山谷差(フィルタ値)ΔIdqfが安定しているか否かを判定するのに要する時間であり、所定時間Δtfよりも十分に長い時間として定められ、例えば、所定時間Δtfの5倍や7倍、10倍などの時間が用いられる。タイマ値Ttiが所定時間Ttiref未満のときには、そのまま本ルーチンを終了する。   Next, a timer value Tti as an elapsed time after selecting a candidate for the current detection delay time ΔT is compared with a predetermined time Ttiref (step S240). Here, the predetermined time Ttiref is a time required to determine whether the dq axis current peak / valley difference (filter value) ΔIdqf is stable, and is determined as a time sufficiently longer than the predetermined time Δtf, for example, A time such as 5 times, 7 times, 10 times or the like of the predetermined time Δtf is used. When the timer value Tti is less than the predetermined time Ttiref, the present routine ends.

ステップS240でタイマ値Ttiが所定時間Ttiref以上のときには、電流検出遅延時間ΔTとdq軸電流山谷差(フィルタ値)ΔIdqfとの組み合わせを保存する(ステップS250)。ここで、電流検出遅延時間ΔTとdq軸電流山谷差(フィルタ値)ΔIdqfとの組み合わせは、例えば、電流検出遅延時間ΔTが1μsecのときにdq軸電流山谷差(フィルタ値)ΔIdqfが20A、電流検出遅延時間ΔTが2μsecのときにdq軸電流山谷差(フィルタ値)ΔIdqfが10A、・・・などのように保存される。   If it is determined in step S240 that the timer value Tti is equal to or greater than the predetermined time Ttiref, a combination of the current detection delay time ΔT and the dq axis current peak-to-peak difference (filter value) ΔIdqf is stored (step S250). Here, the combination of the current detection delay time ΔT and the dq axis current peak / valley difference (filter value) ΔIdqf is, for example, the current qq current peak / valley difference (filter value) ΔIdqf of 20 A when the current detection delay time ΔT is 1 μsec. When the detection delay time ΔT is 2 μsec, the dq axis current peak / valley difference (filter value) ΔIdqf is stored as 10 A,.

続いて、電流検出遅延時間ΔTの候補のうち未検査の候補から次の値を選択し(ステップS260)、タイマ値Ttiを値0にリセットしてからその計時を開始して(ステップS270)、本ルーチンを終了する。なお、電流検出遅延時間ΔTの候補のうち未検査の候補がないときには、現在の電流検出遅延時間ΔTを再選択するものとした。   Subsequently, the next value is selected from untested candidates among the candidates for the current detection delay time ΔT (step S260), and the timer value Tti is reset to the value 0 and then the clocking is started (step S270). End this routine. When there are no untested candidates among the candidates for the current detection delay time ΔT, the current current detection delay time ΔT is reselected.

ステップS260で電流検出遅延時間ΔTの候補のうち未検査の候補がないときには、次回に本ルーチンが実行されたときに、ステップS150,S152で電流検出遅延時間ΔTの候補の全ての検査が完了した(未検査の候補がない)と判定し、電流検出遅延時間ΔTとdq軸電流山谷差(フィルタ値)ΔIdqfとの複数の組み合わせのうちdq軸電流山谷差(フィルタ値)ΔIdqfが最小の電流検出遅延時間ΔTを選択して設定して(ステップS280)、本ルーチンを終了する。このようにして電流検出遅延時間ΔTを設定すると、次回以降に本ルーチンが実行されたときには、次回に学習条件が成立するまで、その電流検出遅延時間ΔTが用いられる(保持される)。   When there is no untested candidate among the candidates for the current detection delay time ΔT in step S260, all the tests for the current detection delay time ΔT candidate are completed in steps S150 and S152 when the present routine is executed next time. (There is no untested candidate.) Current detection delay time ΔT and dq-axis current peak-to-valley difference (filter value) ΔIdqf Among multiple combinations of dq-axis current peak-to-valley difference (filter value) ΔIdqf Current detection The delay time ΔT is selected and set (step S280), and this routine is ended. Thus, when the current detection delay time ΔT is set, when the present routine is executed next time or later, the current detection delay time ΔT is used (held) until the learning condition is satisfied next time.

次に、図2および図3の相電流検出ルーチンのステップS130で学習条件が成立したとき(電流検出遅延時間ΔTを学習するとき)に2相変調モードを設定する理由について説明する。図6は、3相変調モードでの三角波の1周期における電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号および電圧Vu,Vv,VwとU相の相電流(実値)Iuactおよび相電流(検出値)Iuとを示す説明図である。図7は、2相変調モードでの三角波の1周期における電圧指令Vu*,Vv*,Vw*および三角波と各相のスイッチング信号および電圧Vu,Vv,VwとU相の相電流(実値)Iuactおよび相電流(検出値)Iuとを示す説明図である。図6および図7中、ハッチングを付した部分は、各相のトランジスタのスイッチング遅れやデッドタイムなどによる、各相のスイッチング信号に対する相電圧の遅れである。図6および図7では、U相の相電流(実値)Iuactが正のときについて示した。また、図6および図7のU相の相電流(検出値)Iuの丸印は、三角波の山および谷のタイミングの相電流(検出値)Iuであり、三角印は、三角波の山および谷から遅延時間ΔTa後のタイミングの相電流(検出値)Iuである。   Next, the reason for setting the two-phase modulation mode when the learning condition is satisfied in step S130 of the phase current detection routine of FIGS. 2 and 3 (when learning the current detection delay time ΔT) will be described. FIG. 6 shows the voltage commands Vu *, Vv *, Vw * and the triangular wave, the switching signal of each phase, and the voltages Vu, Vv, Vw and the U-phase phase current (actual value) in one cycle of the triangular wave in the three-phase modulation mode. It is an explanatory view showing Iuact and phase current (detection value) Iu. FIG. 7 shows the voltage commands Vu *, Vv *, Vw * and the triangular wave, the switching signal of each phase, and the voltages Vu, Vv, Vw and the U-phase phase current (actual value) in one cycle of the triangular wave in the two-phase modulation mode. It is an explanatory view showing Iuact and phase current (detection value) Iu. In FIG. 6 and FIG. 7, the hatched portions are the delay of the phase voltage with respect to the switching signal of each phase due to the switching delay and dead time of the transistor of each phase. 6 and 7 show the case where the phase current (actual value) Iuact of the U phase is positive. The round marks of the U phase current (detected value) Iu in FIGS. 6 and 7 represent the phase current (detected value) Iu at the timing of the peaks and valleys of the triangular wave, and the triangular marks represent the peaks and valleys of the triangular wave. To the phase current (detected value) Iu at a timing after the delay time ΔTa.

3相変調モードでは、図6から分かるように、相電流(実値)Iuactおよび相電流(検出値)Iuの電流リプルの主成分が三角波の2倍の周波数になり、三角波の山および谷のタイミングで、相電流(実値)Iuactに対して相電流(検出値)Iuが同一側(大きい側)にオフセットし、三角波の山および谷から遅延時間ΔTa後のタイミングでも、相電流(実値)Iuactに対して相電流(検出値)Iuが同一側(大きい側)にオフセットしている。このため、電流検出遅延時間ΔTを適切に設定することが困難である。   In the three-phase modulation mode, as can be seen from FIG. 6, the main component of the current ripple of the phase current (actual value) Iuact and the phase current (detected value) Iu becomes twice the frequency of the triangular wave, and the peaks and valleys of the triangular wave At the timing, the phase current (detected value) Iu is offset to the same side (larger side) with respect to the phase current (actual value) Iuact, and the phase current (actual value) also at the timing after delay time ΔTa from the crest and valley of the triangular wave. The phase current (detected value) Iu is offset to the same side (large side) with respect to Iuact). Therefore, it is difficult to set the current detection delay time ΔT properly.

これに対して、2相変調モードでは、図7に示すように、相電流(実値)Iuactおよび相電流(検出値)Iuの電流リプルの主成分が三角波と同一の周波数になり、三角波の山および谷のタイミングで、相電流(実値)Iuactに対して相電流(検出値)Iuが互いに反対側にオフセットし、三角波の山および谷から遅延時間ΔTa後のタイミングでも、相電流(実値)Iuactに対して相電流(検出値)Iuが互いに反対側にオフセットしている。したがって、三角波の山から遅延時間ΔTa後のタイミングの相電流(検出値)Iuと、三角波の谷から遅延時間ΔTa後のタイミングの相電流(検出値)Iuと、の差分が最小となる遅延時間ΔTaをステップS280の処理で電流検出遅延時間ΔTに設定すれば、電流リプルのより中心付近でU相の相電流Iuを検出することができる。実施例では、これを踏まえて、各相の相電流Iu,Iv,Iwに基づくd軸,q軸の電流Id,Iqを用いてdq軸電流山谷差(フィルタ値)ΔIdqfを計算し、電流検出遅延時間ΔTとdq軸電流山谷差(フィルタ値)ΔIdqfとの関係を求めて、dq軸電流山谷差(フィルタ値)ΔIdqfが最小となる電流検出遅延時間ΔTを選択するものとした。これにより、モータ32の各相の相電流Iu,Iv,Iwを電流リプルのより中心付近で検出することができる。この結果、各相の相電流Iu,Iv,Iwの検出誤差をより低減することができる。   On the other hand, in the two-phase modulation mode, as shown in FIG. 7, the main components of the current ripple of the phase current (actual value) Iuact and the phase current (detection value) Iu have the same frequency as the triangular wave, The phase current (detected value) Iu is offset to the opposite side with respect to the phase current (actual value) Iuact at the timing of peaks and valleys, and also at the timing after delay time ΔTa from the peaks and valleys of the triangular wave Value) The phase currents (detected values) Iu are offset to the opposite sides with respect to Iuact. Therefore, the delay time at which the difference between the phase current (detected value) Iu at the timing after the delay time ΔTa from the peak of the triangular wave and the phase current (detected value) Iu at the timing after the delay time ΔTa from the valley of the triangular wave becomes minimum. By setting ΔTa to the current detection delay time ΔT in the process of step S280, it is possible to detect the phase current Iu of the U phase near the center of the current ripple. In the embodiment, on the basis of this, the dq-axis current peak-to-valley difference (filter value) ΔIdqf is calculated using the currents Id and Iq of the d-axis and q-axis based on the phase currents Iu, Iv and Iw of each phase, and current detection The relationship between the delay time ΔT and the dq axis current peak-to-peak difference (filter value) ΔIdqf is determined, and the current detection delay time ΔT that minimizes the dq-axis current peak to valley difference (filter value) ΔIdqf is selected. Thus, the phase currents Iu, Iv, Iw of the respective phases of the motor 32 can be detected near the center of the current ripple. As a result, the detection error of the phase currents Iu, Iv, Iw of each phase can be further reduced.

以上説明した実施例の電気自動車20に搭載される駆動装置では、2相変調モードのときに、モータ32の各相の相電流Iu,Iv,Iwに基づくd軸,q軸の電流Id,Iqを用いてdq軸電流山谷差(フィルタ値)ΔIdqfを計算し、電流検出遅延時間ΔTとdq軸電流山谷差(フィルタ値)ΔIdqfとの関係を求める。そして、dq軸電流山谷差(フィルタ値)ΔIdqfが最小となる電流検出遅延時間ΔTを選択する。これにより、モータ32の各相の相電流Iu,Iv,Iwを電流リプルのより中心付近で検出することができる。この結果、各相の相電流Iu,Iv,Iwの検出誤差をより低減することができる。   In the drive unit mounted on the electric vehicle 20 according to the embodiment described above, the currents Id and Iq of the d axis and the q axis based on the phase currents Iu, Iv and Iw of each phase of the motor 32 in the two phase modulation mode. The dq-axis current peak-to-valley difference (filter value) ΔIdqf is calculated using the above to find the relationship between the current detection delay time ΔT and the dq-axis current peak-to-peak difference (filter value) ΔIdqf. Then, the current detection delay time ΔT at which the dq-axis current peak-to-valley difference (filter value) ΔIdqf is minimized is selected. Thus, the phase currents Iu, Iv, Iw of the respective phases of the motor 32 can be detected near the center of the current ripple. As a result, the detection error of the phase currents Iu, Iv, Iw of each phase can be further reduced.

実施例の電気自動車20に搭載される駆動装置では、2相変調モードのときに、電流検出遅延時間ΔTとdq軸電流山谷差(フィルタ値)ΔIdqfとの複数の組み合わせのうちdq軸電流山谷差(フィルタ値)ΔIdqfが最小の電流検出遅延時間ΔTを選択するものとした。しかし、電流検出遅延時間ΔTとd軸電流山谷差ΔIdqとの複数の組み合わせのうちdq軸電流山谷差ΔIdqが最小の電流検出遅延時間ΔTを選択するものとしてもよい。即ち、dq軸電流山谷差ΔIdqに対してフィルタ処理を施さずに、電流検出遅延時間ΔTとd軸電流山谷差ΔIdqとの組み合わせを保存するものとしてもよい。   In the drive device mounted on the electric vehicle 20 of the embodiment, in the two-phase modulation mode, the dq-axis current valley difference among a plurality of combinations of the current detection delay time ΔT and the dq-axis current peak-valley difference (filter value) ΔIdqf (Filter Value) The current detection delay time ΔT with the minimum ΔIdqf is selected. However, the current detection delay time ΔT may be selected from among a plurality of combinations of the current detection delay time ΔT and the d-axis current peak-to-valley difference ΔIdq. That is, a combination of the current detection delay time ΔT and the d-axis current peak-to-peak difference ΔIdq may be stored without filtering the dq-axis current peak-to-peak difference ΔIdq.

実施例の電気自動車20に搭載される駆動装置では、2相変調モードとして、図5に示したように、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の上アームをオン固定する(下アームをオフ固定する)ものとした。しかし、図8に示すように、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の下アームをオン固定する(上アームをオフ固定する)ものとしてもよい。また、図9に示すように、SW停止相を電気角θeの60度ずつ切り替えると共に電気角θeの60度ずつSW停止相の上アームのオン固定(下アームのオフ固定)と下アームのオン固定(上アームのオフ固定)とを交互に行なうものとしてもよい。図9の場合、トランジスタT11〜T16のスイッチングによる発熱を上下アームで均等にできるという利点がある。   In the driving device mounted on the electric vehicle 20 of the embodiment, as shown in FIG. 5 as the two-phase modulation mode, the SW stop phase is switched by 120 degrees of the electric angle θe and the upper arm of the SW stop phase is fixed on. (The lower arm is fixed off). However, as shown in FIG. 8, the SW stop phase may be switched by 120 degrees of the electrical angle θe and the lower arm of the SW stop phase may be on fixed (the upper arm may be off fixed). Further, as shown in FIG. 9, the SW stop phase is switched by 60 degrees of the electrical angle θe while the upper arm of the SW stop phase is fixed by 60 degrees of the electrical angle θe (lower arm is fixed) and the lower arm is turned on. Fixing (off fixing of the upper arm) may be performed alternately. In the case of FIG. 9, there is an advantage that heat generation due to switching of the transistors T11 to T16 can be equalized by the upper and lower arms.

実施例の電気自動車20に搭載される駆動装置では、電子制御ユニット50は、図2および図3の相電流検出ルーチンを実行するものとしたが、これに代えて、図10の相電流検出ルーチンを実行するものとしてもよい。   In the drive device mounted on the electric vehicle 20 according to the embodiment, the electronic control unit 50 executes the phase current detection routine of FIGS. 2 and 3, but instead, the phase current detection routine of FIG. May be performed.

図10の相電流検出ルーチンが実行されると、電子制御ユニット50は、電流検出遅延時間ΔTu,ΔTv,ΔTwが経過するのを待って、即ち、三角波の山および谷の電流検出遅延時間ΔTu,ΔTv,ΔTw後に(ステップS300)、モータ32の各相の相電流Iu,Iv,Iwを検出する、具体的には、電流センサ32u,32v,32wからの信号(アナログ値)を各相の相電流Iu,Iv,Iw(デジタル値)に変換する(ステップS310)。ここで、電流検出遅延時間ΔTu,ΔTv,ΔTwは、後述の処理によりそれぞれ設定された時間が用いられる。即ち、電流検出遅延時間ΔTu,ΔTv,ΔTwは、同一の時間とは限らない。したがって、モータ32の各相の相電流Iu,Iv,Iwを検出するタイミングは、同時とは限らない。   When the phase current detection routine of FIG. 10 is executed, the electronic control unit 50 waits for the current detection delay times ΔTu, ΔTv, ΔTw to elapse, that is, the current detection delay times ΔTu of peaks and valleys of the triangular wave. After ΔTv, ΔTw (step S300), the phase currents Iu, Iv, Iw of each phase of the motor 32 are detected. Specifically, signals (analog values) from the current sensors 32u, 32v, 32w are The current Iu, Iv, Iw (digital value) are converted (step S310). Here, for the current detection delay times ΔTu, ΔTv and ΔTw, the time set by the processing described later is used. That is, the current detection delay times ΔTu, ΔTv, ΔTw are not necessarily the same time. Therefore, the timings of detecting the phase currents Iu, Iv, Iw of the respective phases of the motor 32 are not necessarily simultaneous.

続いて、電流検出遅延時間ΔTu,ΔTv,ΔTwの学習条件が成立しているか否かを判定する(ステップS320)。ここで、学習条件としては、例えば、前回に電流検出遅延時間ΔTu,ΔTv,ΔTwの学習を実行してから所定時間(例えば、数分〜数十分程度)が経過しており、且つ、モータ32の回転数Nmが略値0であり(回転数Nmの絶対値が閾値以下であり)、且つ、各相の電圧指令Vu*,Vv*,Vw*の振幅が三角波の振幅よりも小さい条件などが用いられる。なお、学習条件は、これに限定されるものではなく、適宜設定可能である。ステップS320で学習条件が成立していないと判定したときには、3相変調モードを設定して(ステップS330)、本ルーチンを終了する。   Subsequently, it is determined whether the learning conditions of the current detection delay times ΔTu, ΔTv, ΔTw are satisfied (step S320). Here, as the learning condition, for example, a predetermined time (for example, several minutes to several tens of minutes) has elapsed since the learning of the current detection delay times ΔTu, ΔTv, ΔTw was performed last time, and the motor The condition that the number of revolutions Nm of 32 is approximately 0 (the absolute value of the number of revolutions Nm is less than or equal to the threshold) and the amplitude of the voltage command Vu *, Vv *, Vw * of each phase is smaller than the amplitude of the triangular wave Etc. are used. The learning condition is not limited to this, and can be set as appropriate. When it is determined in step S320 that the learning condition is not satisfied, the three-phase modulation mode is set (step S330), and the present routine is ended.

ステップS320で学習条件が成立していると判定したときには、2相変調モードを設定し(ステップS340)、SW停止相(トランジスタのスイッチングを停止する1相)がU相,V相,W相のうちの何れの相であるかを判定する(ステップS350)。この変形例では、2相変調モードとして、実施例と同様に、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の上アームをオン固定する(下アームをオフ固定する)ものとした(図5参照)。   When it is determined in step S320 that the learning condition is satisfied, the two-phase modulation mode is set (step S340), and the SW stop phase (one phase for stopping switching of the transistor) is U phase, V phase, W phase It is determined which phase it is (step S350). In this modification, as the two-phase modulation mode, as in the embodiment, the SW stop phase is switched by 120 degrees of the electrical angle θe and the upper arm of the SW stop phase is fixed on (the lower arm is fixed off). (See FIG. 5).

ステップS350でSW停止相がU相であると判定したときには、今回の割込処理(本ルーチンの実行)が三角波の山のタイミングと谷のタイミングとのうちの何れのタイミングの割込処理かを判定する(ステップS360)。そして、今回の割込処理が三角波の山のタイミングの割込処理であると判定したときには、U相の相電流Iuを相電流(山)Iuaに設定し(ステップS370)、今回の割込処理が三角波の谷のタイミングの割込処理であると判定したときには、U相の相電流Iuを相電流(谷)Iubに設定する(ステップS380)。   When it is determined in step S350 that the SW stop phase is the U phase, it is determined which of the timing of the peak of the triangular wave and the timing of the valley the interrupt processing of this time (execution of this routine) is. It determines (step S360). Then, when it is determined that the current interrupt processing is interrupt processing of the triangular wave timing, the U-phase phase current Iu is set to the phase current (peak) Iua (step S370), and the current interrupt processing is performed. If it is determined that the interrupt processing of the timing of the valley of the triangular wave is performed, the U-phase phase current Iu is set to the phase current (valley) Iub (step S380).

続いて、相電流(山)Iuaおよび相電流(谷)Iubのデータが揃っているか否かを判定し(ステップS390)、揃っていないと判定したときには、そのまま本ルーチンを終了する。   Subsequently, it is determined whether or not the data of the phase current (mountain) Iua and the phase current (valley) Iub are aligned (step S390). If it is determined that the data is not aligned, the present routine is ended.

ステップS390で相電流(山)Iuaおよび相電流(谷)Iubのデータが揃っていると判定したときには、U相の相電流Iuが正であるか否かを判定する(ステップS400)。そして、U相の相電流Iuが正であると判定したときには、相電流(山)Iuaから相電流(谷)Iubを減じてU相電流偏差ΔIuを計算し(ステップS410)、U相の相電流Iuが正でないと判定したときには、相電流(谷)Iubから相電流(山)Iuaを減じてU相電流偏差ΔIuを計算する(ステップS420)。   If it is determined in step S390 that the data of the phase current (peak) Iua and the phase current (valley) Iub are all aligned, it is determined whether the phase current Iu of the U phase is positive (step S400). When it is determined that the U-phase phase current Iu is positive, the U-phase current deviation ΔIu is calculated by subtracting the phase current (valley) Iub from the phase current (peak) Iua (step S410). When it is determined that the current Iu is not positive, the phase current (peak) Iua is subtracted from the phase current (valley) Iub to calculate a U-phase current deviation ΔIu (step S420).

こうしてU相電流偏差ΔIuを計算すると、このU相電流偏差ΔIuが値0となるようにフィードバック制御により電流検出遅延時間ΔTuを設定(補正)して(ステップS430)、本ルーチンを終了する。   When the U-phase current deviation ΔIu is calculated in this way, the current detection delay time ΔTu is set (corrected) by feedback control so that the U-phase current deviation ΔIu becomes a value 0 (step S430), and this routine is ended.

図11は、図5の2相変調モードで且つSW停止相がU相で且つU相の相電流Iuが正のときの電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係の一例を示す説明図である。また、図12は、図5の2相変調モードで且つSW停止相がU相で且つU相の相電流Iuが負のときの電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係の一例を示す説明図である。図11の関係は、図7のU相の相電流(実値)Iuactと相電流(検出値)Iuとの関係から得られる。図12は、図11と同様に考えることができる。図11の場合、電流(山)Iuaから相電流(谷)Iubを減じてU相電流偏差ΔIuを計算し、図12の場合、相電流(谷)Iubから相電流(山)Iuaを減じてU相電流偏差ΔIuを計算することになる。そして、このU相電流偏差ΔIuが値0となるようにフィードバック制御により電流検出遅延時間ΔTuを設定することにより、電流リプルのより中心付近でU相の相電流Iuを検出することができる。これにより、各相の相電流の検出誤差をより低減することができる。   FIG. 11 shows the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) when the SW stop phase is the U phase and the U phase current Iu is positive in the two-phase modulation mode of FIG. It is an explanatory view showing an example of a relation with Iub. 12 shows the current detection delay time ΔTu, the phase current (peak) Iua, and the phase current in the two-phase modulation mode of FIG. 5 when the SW stop phase is the U phase and the U phase current Iu is negative. Valley) It is explanatory drawing which shows an example of a relationship with Iub. The relationship of FIG. 11 is obtained from the relationship between the phase current (actual value) Iuact of the U phase and the phase current (detected value) Iu of FIG. FIG. 12 can be considered the same as FIG. In the case of FIG. 11, the phase current (valley) Iub is subtracted from the current (peak) Iua to calculate the U-phase current deviation ΔIu. In the case of FIG. 12, the phase current (mountain) Iua is subtracted from the phase current (valley) Iub U phase current deviation ΔIu will be calculated. Then, by setting the current detection delay time ΔTu by feedback control so that the U-phase current deviation ΔIu becomes a value 0, it is possible to detect the phase current Iu of the U-phase near the center of the current ripple. Thereby, the detection error of the phase current of each phase can be further reduced.

ステップS350でSW停止相がV相やW相であると判定したときには、SW停止相がU相であると判定したときと同様に電流検出遅延時間ΔTvや電流検出遅延時間ΔTwを設定(補正)して(ステップS440〜S510、または、ステップS520〜S590)、本ルーチンを終了する。以下、簡単に説明する。   If it is determined in step S350 that the SW stop phase is the V phase or the W phase, the current detection delay time ΔTv or the current detection delay time ΔTw is set (corrected) as in the case where the SW stop phase is the U phase. Then (steps S440 to S510 or steps S520 to S590), this routine ends. A brief description will be given below.

SW停止相がV相であるときには、今回の割込処理(本ルーチンの実行)が三角波の山のタイミングの割込処理であるときには、V相の相電流Ivを相電流(山)Ivaに設定し、今回の割込処理が三角波の谷のタイミングの割込処理であるときには、V相の相電流Ivを相電流(谷)Ivbに設定する(ステップS440〜S460)。続いて、相電流(山)Ivaおよび相電流(谷)Ivbのデータが揃っているときにおいて(ステップS470)、V相の相電流Ivが正であるときには、相電流(山)Ivaから相電流(谷)Ivbを減じてV相電流偏差ΔIvを計算し、V相の相電流Ivが正でないときには、相電流(谷)Ivbから相電流(山)Ivaを減じてV相電流偏差ΔIvを計算する(ステップS480〜S500)。こうしてV相電流偏差ΔIvを計算すると、このV相電流偏差ΔIvが値0となるようにフィードバック制御により電流検出遅延時間ΔTvを設定(補正)して(ステップS510)、本ルーチンを終了する。   When the SW stop phase is the V phase, the phase current Iv of the V phase is set to the phase current (peak) Iva when the current interrupt processing (execution of this routine) is interrupt processing of the peak of the triangular wave. When the current interrupt processing is interrupt processing at the timing of the valley of the triangular wave, the phase current Iv of the V phase is set to the phase current (valley) Ivb (steps S440 to S460). Subsequently, when the data of the phase current (peak) Iva and the phase current (valley) Ivb are aligned (step S 470), when the phase current Iv of the V phase is positive, the phase current (peak) Iva to the phase current (Valve) Ivb is reduced to calculate V-phase current deviation ΔIv. When V-phase current Iv is not positive, phase current (valley) Ivb is subtracted from phase current (valley) Ivb to calculate V-phase current deviation ΔIv. (Steps S480 to S500). When the V-phase current deviation ΔIv is calculated in this manner, the current detection delay time ΔTv is set (corrected) by feedback control so that the V-phase current deviation ΔIv becomes 0 (step S510), and the present routine is ended.

SW停止相がW相であるときには、今回の割込処理(本ルーチンの実行)が三角波の山のタイミングの割込処理であるときには、W相の相電流Iwを相電流(山)Iwaに設定し、今回の割込処理が三角波の谷のタイミングの割込処理であるときには、W相の相電流Iwを相電流(谷)Iwbに設定する(ステップS520〜S540)。続いて、相電流(山)Iwaおよび相電流(谷)Iwbのデータが揃っているときにおいて(ステップS550)、W相の相電流Iwが正であるときには、相電流(山)Iwaから相電流(谷)Iwbを減じてW相電流偏差ΔIwを計算し、W相の相電流Iwが正でないときには、相電流(谷)Iwbから相電流(山)Iwaを減じてW相電流偏差ΔIwを計算する(ステップS560〜S580)。こうしてW相電流偏差ΔIwを計算すると、このW相電流偏差ΔIwが値0となるようにフィードバック制御により電流検出遅延時間ΔTwを設定(補正)して(ステップS590)、本ルーチンを終了する。   When the SW stop phase is the W phase, the phase current Iw of the W phase is set to the phase current (peak) Iwa when the current interrupt processing (execution of this routine) is interrupt processing of the peak of the triangular wave. When the current interrupt process is an interrupt process at the timing of the valley of the triangular wave, the phase current Iw of the W phase is set to the phase current (valley) Iwb (steps S520 to S540). Subsequently, when the data of the phase current (peak) Iwa and the phase current (valley) Iwb are aligned (step S 550), when the phase current Iw of the W phase is positive, the phase current (peak) Iwa to the phase current Calculate the W-phase current deviation ΔIw by subtracting the phase current (peak) Iwa from the phase current (valley) Iwb when the W-phase current deviation ΔIw is calculated by subtracting the (valley) Iwb. (Steps S560 to S580). When the W-phase current deviation ΔIw is calculated in this way, the current detection delay time ΔTw is set (corrected) by feedback control so that the W-phase current deviation ΔIw becomes a value 0 (step S590), and this routine is ended.

上述したように、2相変調モードでは、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の上アームをオン固定する(下アームをオフ固定する)。これを踏まえて、電流検出遅延時間ΔTu,ΔTv,ΔTwの学習を開始してから(2相固定モードを開始してから)モータ32が電気角θeで所定周期(例えば、数周期程度)だけ回転したときや、ステップS430,S510,S590で設定される電流検出遅延時間ΔTu,ΔTv,ΔTwの何れもが安定したとき(所定時間に亘って変動量が所定量以下のとき)などに、電流検出遅延時間ΔTu,ΔTv,ΔTwの学習を終了することが考えられる。このようにして電流検出遅延時間ΔTu,ΔTv,ΔTwの学習を終了すると、次回以降に本ルーチンが実行されたときには、次回に学習条件が成立するまで、その電流検出遅延時間ΔTu,ΔTv,ΔTwが用いられる(保持される)。   As described above, in the two-phase modulation mode, the SW stop phase is switched by 120 degrees of the electrical angle θe, and the upper arm of the SW stop phase is fixed on (the lower arm is fixed off). Based on this, after learning of the current detection delay times ΔTu, ΔTv, ΔTw is started (after the two-phase fixed mode is started), the motor 32 rotates by a predetermined cycle (for example, about several cycles) at the electrical angle θe. Or when any of the current detection delay times ΔTu, ΔTv, ΔTw set in steps S430, S510, S590 is stable (when the amount of fluctuation is less than a predetermined amount over a predetermined time), etc. It is conceivable to end learning of the delay times ΔTu, ΔTv, ΔTw. When learning of the current detection delay times ΔTu, ΔTv, ΔTw is finished in this way, when the present routine is executed next time or later, the current detection delay times ΔTu, ΔTv, ΔTw are until the learning condition is satisfied next time. Used (held).

この変形例では、2相変調モードとして、図5に示したように、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の上アームをオン固定する(下アームをオフ固定する)ものとした。この場合、SW停止相がU相で且つU相の相電流Iuが正のときの電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係は、図11のようになり、SW停止相がU相で且つU相の相電流Iuが負のときの電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係は、図12のようになる。   In this modification, as shown in FIG. 5, as the two-phase modulation mode, the SW stop phase is switched by 120 degrees of the electrical angle θe and the upper arm of the SW stop phase is fixed on (the lower arm is fixed off). It was a thing. In this case, the relationship between the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) Iub when the SW stop phase is the U phase and the U phase current Iu is positive is as shown in FIG. The relationship between the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) Iub when the SW stop phase is U phase and the U phase current Iu is negative is as shown in FIG. become.

しかし、2相変調モードとして、図8に示したように、SW停止相を電気角θeの120度ずつ切り替えると共にSW停止相の下アームをオン固定する(上アームをオフ固定する)ものとしてもよい。この場合、SW停止相がU相で且つU相の相電流Iuが正のときの電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係は、図13のようになり、SW停止相がU相で且つU相の相電流Iuが負のときの電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係は、図14のようになる。したがって、図13の場合、相電流(谷)Iubから電流(山)Iuaを減じてU相電流偏差ΔIuを計算し、図14の場合、相電流(山)Iuaから相電流(谷)Iubを減じてU相電流偏差ΔIuを計算し、U相電流偏差ΔIuが値0となるようにフィードバック制御により電流検出遅延時間ΔTuを設定すればよい。こうすれば、電流リプルのより中心付近でU相の相電流Iuを検出することができ、各相の相電流の検出誤差をより低減することができる。SW停止相がV相やW相のときの電流検出遅延時間ΔTvや電流検出遅延時間ΔTwの設定についても同様に考えることができる。   However, as shown in FIG. 8 as the two-phase modulation mode, the SW stop phase is switched by 120 degrees of the electrical angle θe and the lower arm of the SW stop phase is fixed on (the upper arm is fixed off). Good. In this case, the relationship between the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) Iub when the SW stop phase is the U phase and the U phase current Iu is positive is as shown in FIG. The relationship between the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) Iub when the SW stop phase is U phase and the U phase current Iu is negative is as shown in FIG. become. Therefore, in the case of FIG. 13, the U-phase current deviation ΔIu is calculated by subtracting the current (peak) Iua from the phase current (valley) Iub, and in the case of FIG. 14 the phase current (valley) Iub from the phase current (peak) Iua. It is sufficient to calculate the U-phase current deviation ΔIu by subtraction, and set the current detection delay time ΔTu by feedback control so that the U-phase current deviation ΔIu becomes a value 0. In this way, the U-phase phase current Iu can be detected near the center of the current ripple, and detection errors of the phase current of each phase can be further reduced. The setting of the current detection delay time ΔTv and the current detection delay time ΔTw when the SW stop phase is the V phase or the W phase can be considered in the same manner.

また、2相変調モードとして、図9に示すように、SW停止相を電気角θeの60度ずつ切り替えると共に電気角θeの60度ずつSW停止相の上アームのオン固定(下アームのオフ固定)と下アームのオン固定(上アームのオフ固定)とを交互に行なうものとしてもよい。この場合、SW停止相がU相で且つ上アームをオン固定しているときには、電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係は、図11または図12のようになり、SW停止相がU相で且つ下アームをオン固定しているときには、電流検出遅延時間ΔTuと相電流(山)Iuaおよび相電流(谷)Iubとの関係は、図13または図14のようになる。したがって、図11〜図14の何れに相当するかに応じてU相電流偏差ΔIuを計算し、U相電流偏差ΔIuが値0となるようにフィードバック制御により電流検出遅延時間ΔTuを設定すればよい。こうすれば、電流リプルのより中心付近でU相の相電流Iuを検出することができ、各相の相電流の検出誤差をより低減することができる。SW停止相がV相やW相のときの電流検出遅延時間ΔTvや電流検出遅延時間ΔTwの設定についても同様に考えることができる。   In the two-phase modulation mode, as shown in FIG. 9, the SW stop phase is switched by 60 degrees of the electrical angle θe and the upper arm of the SW stop phase is fixed at 60 degrees of the electrical angle θe And the lower fixation of the lower arm (the upper fixation of the upper arm) may be performed alternately. In this case, when the SW stop phase is the U phase and the upper arm is fixed on, the relationship between the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) Iub is shown in FIG. The relationship between the current detection delay time ΔTu and the phase current (peak) Iua and the phase current (valley) Iub is as shown in FIG. It becomes like FIG. Therefore, U-phase current deviation ΔIu may be calculated according to which of FIGS. 11 to 14 corresponds, and current detection delay time ΔTu may be set by feedback control such that U-phase current deviation ΔIu has a value of 0. . In this way, the U-phase phase current Iu can be detected near the center of the current ripple, and detection errors of the phase current of each phase can be further reduced. The setting of the current detection delay time ΔTv and the current detection delay time ΔTw when the SW stop phase is the V phase or the W phase can be considered in the same manner.

実施例やこの変形例では特に説明していないが、電子制御ユニット50は、モータ32の回転数Nmの絶対値が閾値Nmref以上の領域では、図2および図3の相電流検出ルーチンを実行し、モータ32の回転数Nmの絶対値が閾値Nmref未満(値0付近)の領域では、図10の相電流検出ルーチンを実行するものとしてもよい。   Although not particularly described in the embodiment or this modification, the electronic control unit 50 executes the phase current detection routine shown in FIGS. 2 and 3 in a region where the absolute value of the rotational speed Nm of the motor 32 is equal to or greater than the threshold Nmref. The phase current detection routine of FIG. 10 may be executed in a region where the absolute value of the rotation speed Nm of the motor 32 is less than the threshold Nmref (near the value 0).

実施例の電気自動車20では、蓄電装置として、バッテリ36を用いるものとしたが、バッテリ36に代えて、キャパシタを用いるものとしてもよい。   In the electric vehicle 20 of the embodiment, the battery 36 is used as the power storage device, but instead of the battery 36, a capacitor may be used.

実施例では、モータ32を備える電気自動車20に搭載される駆動装置の形態とした。しかし、モータ32に加えてエンジンも備えるハイブリッド自動車に搭載される駆動装置の形態としてもよいし、自動車以外の車両や船舶、航空機などの移動体に搭載される駆動装置の形態としてもよいし、建設設備などの移動しない設備に搭載される駆動装置の形態としてもよい。   In the embodiment, the drive unit mounted on the electric vehicle 20 including the motor 32 is used. However, the drive unit may be mounted on a hybrid vehicle equipped with an engine in addition to the motor 32, or may be mounted on a moving object such as a vehicle other than a car, a ship, or an aircraft. It may be in the form of a drive device mounted on non-moving equipment such as construction equipment.

実施例の主要な要素と課題を解決するための手段の欄に記載した発明の主要な要素との対応関係について説明する。実施例では、モータ32が「3相交流モータ」に相当し、インバータ34が「インバータ」に相当し、電子制御ユニット50が「制御装置」に相当する。   The correspondence between the main elements of the embodiment and the main elements of the invention described in the section of "Means for Solving the Problems" will be described. In the embodiment, the motor 32 corresponds to the “three-phase alternating current motor”, the inverter 34 corresponds to the “inverter”, and the electronic control unit 50 corresponds to the “control device”.

なお、実施例の主要な要素と課題を解決するための手段の欄に記載した発明の主要な要素との対応関係は、実施例が課題を解決するための手段の欄に記載した発明を実施するための形態を具体的に説明するための一例であることから、課題を解決するための手段の欄に記載した発明の要素を限定するものではない。即ち、課題を解決するための手段の欄に記載した発明についての解釈はその欄の記載に基づいて行なわれるべきものであり、実施例は課題を解決するための手段の欄に記載した発明の具体的な一例に過ぎないものである。   In addition, the correspondence of the main elements of the embodiment and the main elements of the invention described in the section of the means for solving the problem implements the invention described in the column of the means for solving the problem in the example. The present invention is not limited to the elements of the invention described in the section of “Means for Solving the Problems”, as it is an example for specifically explaining the mode for carrying out the invention. That is, the interpretation of the invention described in the section of the means for solving the problem should be made based on the description of the section, and the embodiment is an embodiment of the invention described in the section of the means for solving the problem. It is only a specific example.

以上、本発明を実施するための形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において、種々なる形態で実施し得ることは勿論である。   As mentioned above, although the form for implementing this invention was demonstrated using the Example, this invention is not limited at all by these Examples, In the range which does not deviate from the summary of this invention, it becomes various forms Of course it can be implemented.

本発明は、駆動装置の製造産業などに利用可能である。   The present invention is applicable to the drive industry and the like.

20 電気自動車、22a,22b 駆動輪、24 デファレンシャルギヤ、26 駆動軸、32 モータ、32a 回転位置検出センサ、32u,32v,32w 電流検出部、34 インバータ、36 バッテリ、38 電力ライン、39 コンデンサ、39a 電圧センサ、50 電子制御ユニット、60 イグニッションスイッチ、61 シフトレバー、62 シフトポジションセンサ、63 アクセルペダル、64 アクセルペダルポジションセンサ、65 ブレーキペダル、66 ブレーキペダルポジションセンサ、68 車速センサ、D11〜D16 ダイオード、T11〜T16 トランジスタ。   DESCRIPTION OF SYMBOLS 20 electric vehicle, 22a, 22b drive wheel, 24 differential gear, 26 drive shaft, 32 motor, 32a rotational position detection sensor, 32u, 32v, 32w current detection unit, 34 inverter, 36 battery, 38 power line, 39 capacitor, 39a Voltage sensor, 50 electronic control units, 60 ignition switches, 61 shift levers, 62 shift position sensors, 63 accelerator pedals, 64 accelerator pedal position sensors, 65 brake pedals, 66 brake pedal position sensors, 68 vehicle speed sensors, D11 to D16 diodes, T11 to T16 transistors.

Claims (1)

3相交流モータと、
複数のスイッチング素子のスイッチングにより前記3相交流モータを駆動するインバータと、
前記3相交流モータの各相の電圧指令と三角波とを用いたパルス幅変調制御により前記複数のスイッチング素子をスイッチング制御する制御装置と、
を備える駆動装置であって、
前記制御装置は、前記三角波の山から遅延時間後のタイミングと前記三角波の谷から前記遅延時間後のタイミングとの2つのタイミングで前記3相交流モータの各相の相電流を検出し、
更に、前記制御装置は、前記インバータの前記3相のうち1相の前記スイッチング素子のスイッチングを停止すると共に残りの2相の前記スイッチング素子をスイッチングする2相変調モードのときに、前記2つのタイミングの前記各相の相電流の差分または前記2つのタイミングの前記各相の相電流に基づくd軸,q軸の電流の差分が小さくなるように前記遅延時間を設定する、
駆動装置。
Three-phase AC motor,
An inverter for driving the three-phase AC motor by switching a plurality of switching elements;
A control device that performs switching control of the plurality of switching elements by pulse width modulation control using a voltage command of each phase of the three-phase AC motor and a triangular wave;
A driving device comprising
The control device detects the phase current of each phase of the three-phase AC motor at two timings, a timing after a delay time from the peak of the triangular wave and a timing after the delay time from a valley of the triangular wave;
Furthermore, the control device stops the switching of the switching element of one of the three phases of the inverter, and switches the remaining two phases of the switching element in the two-phase modulation mode. Setting the delay time such that the difference between the phase currents of the respective phases or the currents of the d-axis and the q-axis based on the phase currents of the respective phases at the two timings is reduced.
Drive device.
JP2017233880A 2017-12-06 2017-12-06 Drive device Active JP6946988B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017233880A JP6946988B2 (en) 2017-12-06 2017-12-06 Drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017233880A JP6946988B2 (en) 2017-12-06 2017-12-06 Drive device

Publications (2)

Publication Number Publication Date
JP2019103315A true JP2019103315A (en) 2019-06-24
JP6946988B2 JP6946988B2 (en) 2021-10-13

Family

ID=66974425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017233880A Active JP6946988B2 (en) 2017-12-06 2017-12-06 Drive device

Country Status (1)

Country Link
JP (1) JP6946988B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022208909A1 (en) * 2021-03-31 2022-10-06 日本電産株式会社 Power converter and motor module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003219690A (en) * 2002-01-24 2003-07-31 Meidensha Corp Detection method for output current of pwm inverter
JP2005312274A (en) * 2004-04-26 2005-11-04 Mitsubishi Electric Corp Control device for ac motor
JP2008011620A (en) * 2006-06-28 2008-01-17 Yaskawa Electric Corp Pwm inverter device and current control method therefor
JP2012110074A (en) * 2010-11-15 2012-06-07 Toshiba Corp Current detection device and motor control device
JP2017112766A (en) * 2015-12-17 2017-06-22 株式会社デンソー Electric power conversion system and electric power steering device using the same
JP2018113754A (en) * 2017-01-10 2018-07-19 株式会社デンソー Controller for ac motor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003219690A (en) * 2002-01-24 2003-07-31 Meidensha Corp Detection method for output current of pwm inverter
JP2005312274A (en) * 2004-04-26 2005-11-04 Mitsubishi Electric Corp Control device for ac motor
JP2008011620A (en) * 2006-06-28 2008-01-17 Yaskawa Electric Corp Pwm inverter device and current control method therefor
JP2012110074A (en) * 2010-11-15 2012-06-07 Toshiba Corp Current detection device and motor control device
JP2017112766A (en) * 2015-12-17 2017-06-22 株式会社デンソー Electric power conversion system and electric power steering device using the same
JP2018113754A (en) * 2017-01-10 2018-07-19 株式会社デンソー Controller for ac motor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022208909A1 (en) * 2021-03-31 2022-10-06 日本電産株式会社 Power converter and motor module

Also Published As

Publication number Publication date
JP6946988B2 (en) 2021-10-13

Similar Documents

Publication Publication Date Title
JP5741966B2 (en) AC motor control device
JP5939228B2 (en) AC motor control device
JP7102407B2 (en) Inverter device and electric power steering device
JP5565432B2 (en) Rotating machine control device
JP6658554B2 (en) AC motor control device
JP5598767B2 (en) AC motor control device
JP5488845B2 (en) AC motor control device
JP2010110067A (en) Motor control device
JP6777008B2 (en) Drive device
JP2017139926A (en) Driving device
JP5910583B2 (en) AC motor control device
JP5316551B2 (en) Rotating machine control device
JP2018143054A (en) vehicle
JP5812021B2 (en) AC motor control device
JP6946988B2 (en) Drive device
JP6760197B2 (en) Drive device
JP5549537B2 (en) Rotating machine control device
JP5884747B2 (en) AC motor control device
JP5920635B2 (en) AC motor control device
JP6696456B2 (en) Motor drive
JP5751059B2 (en) Drive device and electric vehicle
JP6760218B2 (en) Inverter device
JP4544057B2 (en) Control device for multiphase motor
JP5262521B2 (en) Inverter control device
JP6693442B2 (en) Motor drive

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20200401

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200916

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210830

R151 Written notification of patent or utility model registration

Ref document number: 6946988

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151