JP6696456B2 - Motor drive - Google Patents

Motor drive Download PDF

Info

Publication number
JP6696456B2
JP6696456B2 JP2017029962A JP2017029962A JP6696456B2 JP 6696456 B2 JP6696456 B2 JP 6696456B2 JP 2017029962 A JP2017029962 A JP 2017029962A JP 2017029962 A JP2017029962 A JP 2017029962A JP 6696456 B2 JP6696456 B2 JP 6696456B2
Authority
JP
Japan
Prior art keywords
motor
torque
phase
inverter
control mode
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.)
Expired - Fee Related
Application number
JP2017029962A
Other languages
Japanese (ja)
Other versions
JP2018137869A (en
Inventor
博之 小柳
博之 小柳
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 JP2017029962A priority Critical patent/JP6696456B2/en
Publication of JP2018137869A publication Critical patent/JP2018137869A/en
Application granted granted Critical
Publication of JP6696456B2 publication Critical patent/JP6696456B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、モータ駆動装置に関し、詳しくは、インバータと、制御装置と、を備えるモータ駆動装置に関する。   The present invention relates to a motor drive device, and more particularly to a motor drive device including an inverter and a control device.

従来、この種のモータ駆動装置としては、モータを駆動するためのインバータを備えるものが提案されている(例えば、特許文献1参照)。この装置では、モータが目標トルクで駆動されるように矩形波制御モードを含む複数の制御モードでインバータを制御している。そして、矩形波制御モードでインバータを制御するときには、モータの各相電流とモータの回転角とを用いてd軸電流とq軸電流とを演算し、演算したd軸電流とq軸電流とトルク演算マップとを用いてモータの出力トルクを推定する。そして、モータの出力トルクの推定値とモータのトルク指令との差が値0となるように矩形波電圧の電圧位相を調整することにより、インバータを制御している。   Conventionally, as a motor drive device of this type, one provided with an inverter for driving a motor has been proposed (for example, refer to Patent Document 1). In this device, the inverter is controlled in a plurality of control modes including a rectangular wave control mode so that the motor is driven with a target torque. Then, when controlling the inverter in the rectangular wave control mode, the d-axis current and the q-axis current are calculated using each phase current of the motor and the rotation angle of the motor, and the calculated d-axis current, q-axis current and torque are calculated. The output torque of the motor is estimated using the calculation map. Then, the inverter is controlled by adjusting the voltage phase of the rectangular wave voltage so that the difference between the estimated value of the output torque of the motor and the torque command of the motor becomes zero.

特開2007−159368号公報JP, 2007-159368, A

上述のモータ駆動装置では、矩形波制御モードでインバータを制御する際に、外乱によりモータの回転数に変動が生じると、モータの回転角の検出遅れによって、モータの出力トルクの推定値に誤差が生じる場合がある。こうした誤差の発生を抑制する手法として、モータの回転角を用いずにモータの出力トルクを推定する手法が考えられる。しかしながら、一般に、矩形波制御モードとは異なる制御モードにおいては、モータの各相電流とモータの回転角とを用いて演算したd軸電流とq軸電流とを用いてインバータを制御することから、モータの回転角を用いずにモータの出力トルクを推定すると、矩形波制御モードと他の制御モードとの間で制御モードを切り替える際に、出力トルクが急変してしまう。   In the above-mentioned motor drive device, when controlling the inverter in the rectangular wave control mode, if the rotation speed of the motor fluctuates due to disturbance, the estimated value of the output torque of the motor will have an error due to the detection delay of the rotation angle of the motor. May occur. As a method of suppressing the occurrence of such an error, a method of estimating the output torque of the motor without using the rotation angle of the motor can be considered. However, generally, in the control mode different from the rectangular wave control mode, the inverter is controlled using the d-axis current and the q-axis current calculated using the phase currents of the motor and the rotation angle of the motor. If the output torque of the motor is estimated without using the rotation angle of the motor, the output torque suddenly changes when the control mode is switched between the rectangular wave control mode and another control mode.

本発明のモータ駆動装置は、矩形波制御モードと他の制御モードとの間で制御モードを切り替える際の出力トルクの急変を抑制すると共に、外乱によるモータの出力トルクの変動を抑制することを主目的とする。   The motor drive device of the present invention mainly suppresses a sudden change in the output torque when switching the control mode between the rectangular wave control mode and another control mode, and also suppresses a fluctuation in the output torque of the motor due to disturbance. To aim.

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

本発明のモータ駆動装置は、
モータを駆動するインバータと、
前記モータが目標トルクで駆動されるように矩形波制御モードを含む複数の制御モードで前記インバータを制御する制御装置と、
を備えるモータ駆動装置であって、
前記制御装置は、前記矩形波制御モードで前記インバータを制御するときには、前記モータの各相の電流と前記モータの回転角とを用いて前記モータのトルク平均値を演算し、前記モータの各相の電流と前記モータの各相の電圧と前記モータの回転数とを用いて前記モータのトルク変動量を演算し、前記トルク平均値を前記トルク変動量で補正したトルクを前記モータの出力トルクと推定し、前記推定した出力トルクを用いて前記モータが前記目標トルクで駆動するように前記インバータを制御する、
ことを要旨とする。
The motor drive device of the present invention is
An inverter that drives the motor,
A control device for controlling the inverter in a plurality of control modes including a rectangular wave control mode so that the motor is driven at a target torque,
A motor drive device comprising:
When controlling the inverter in the rectangular wave control mode, the control device calculates a torque average value of the motor by using a current of each phase of the motor and a rotation angle of the motor to calculate each phase of the motor. Of the motor, the voltage of each phase of the motor, and the rotation speed of the motor are used to calculate the torque fluctuation amount of the motor, and the torque obtained by correcting the torque average value with the torque fluctuation amount is defined as the output torque of the motor. Estimating and controlling the inverter so that the motor is driven at the target torque using the estimated output torque,
That is the summary.

この本発明のモータ駆動装置では、矩形波制御モードでインバータを制御するときには、モータの各相の電流とモータの回転角とを用いてモータのトルク平均値を演算し、モータの各相の電流とモータの各相の電圧とモータの回転数とを用いてモータのトルク変動量を演算し、トルク平均値をトルク変動量で補正したトルクをモータの出力トルクと推定し、推定した出力トルクを用いてモータが目標トルクで駆動するようにインバータを制御する。一般に、矩形波制御モードと異なる制御モードでは、モータの各相の電流とモータの回転角とを用いてモータから出力されているトルクの推定値を演算して、演算した推定値を用いてインバータを制御する。そのため、矩形波制御モードにおいて、他の制御モードと異なる状態量を用いてモータの出力トルクを推定してインバータを制御すると、状態量の検出誤差により、矩形波制御モードと他の制御モードとの間で制御モードを切り替える際に実際にモータから出力されるトルクが急変することがある。本発明のモータ駆動装置では、矩形波制御モードにおいて、他の制御モードと同じ状態量、すなわち、モータの各相の電流とモータの回転角とを用いてモータのトルク平均値を演算し、モータの各相の電流とモータの各相の電圧とモータの回転数とを用いてモータのトルク変動量を演算し、トルク平均値をトルク変動量で補正したトルクをモータの出力トルクと推定し、推定した出力トルクを用いてモータが目標トルクで駆動するようにインバータを制御するから、矩形波制御モードと他の制御モードとの間で制御モードを切り替える際のモータからの出力トルクの急変を抑制することができる。また、モータの回転角の検出遅れにより検出した回転角に誤差が生じると、モータの各相の電流とモータの回転角とを用いて演算したトルク平均値は誤差を持った値となるが、モータの各相の電流とモータの各相の電圧とモータの回転数とを用いて演算したトルク変動量は検出した回転角に誤差が生じてもその影響が小さい。したがって、トルク平均値を回転角の誤差の影響が小さいトルク変動量で補正したトルクをモータの出力トルクと推定することにより、外乱によりモータの回転数に変動が生じてモータの回転角の検出に遅れが生じたときでも、推定したモータの出力トルクと実際にモータから出力しているトルクとの乖離を抑制することができる。こうして推定したモータの出力トルクを用いてインバータを制御するから、外乱によるモータの出力トルクの変動を抑制することができる。この結果、矩形波制御モードと他の制御モードとの間で制御モードを切り替える際の出力トルクの急変を抑制すると共に、外乱によるモータの出力トルクの変動を抑制することができる。   In the motor drive device of the present invention, when controlling the inverter in the rectangular wave control mode, the average torque value of the motor is calculated using the current of each phase of the motor and the rotation angle of the motor, and the current of each phase of the motor is calculated. Calculate the amount of torque fluctuation of the motor using the voltage of each phase of the motor and the number of rotations of the motor, and estimate the torque obtained by correcting the torque average value with the amount of torque fluctuation as the output torque of the motor. It is used to control the inverter so that the motor drives at the target torque. Generally, in a control mode different from the rectangular wave control mode, the estimated value of the torque output from the motor is calculated using the current of each phase of the motor and the rotation angle of the motor, and the inverter is calculated using the calculated estimated value. To control. Therefore, in the rectangular wave control mode, when the output torque of the motor is estimated by using a state quantity different from that of the other control modes and the inverter is controlled, the square wave control mode and the other control modes are different due to the detection error of the state quantity. The torque actually output from the motor may suddenly change when the control mode is switched between them. In the motor drive device of the present invention, in the rectangular wave control mode, the same state quantity as in the other control modes, that is, the current of each phase of the motor and the rotation angle of the motor are used to calculate the torque average value of the motor, The torque fluctuation amount of the motor is calculated using the current of each phase, the voltage of each phase of the motor, and the rotation speed of the motor, and the torque obtained by correcting the torque average value with the torque fluctuation amount is estimated as the output torque of the motor. The inverter is controlled so that the motor is driven at the target torque by using the estimated output torque, thus suppressing abrupt changes in the output torque from the motor when switching the control mode between the rectangular wave control mode and other control modes. can do. Further, if an error occurs in the detected rotation angle due to the detection delay of the rotation angle of the motor, the torque average value calculated using the current of each phase of the motor and the rotation angle of the motor becomes a value with an error, The torque fluctuation amount calculated using the current of each phase of the motor, the voltage of each phase of the motor, and the rotation speed of the motor has a small effect even if an error occurs in the detected rotation angle. Therefore, by estimating the torque obtained by correcting the average torque value with the torque fluctuation amount that is less affected by the error of the rotation angle as the output torque of the motor, fluctuations in the rotation speed of the motor occur due to disturbance, and the rotation angle of the motor can be detected. Even when a delay occurs, it is possible to suppress the deviation between the estimated output torque of the motor and the torque actually output from the motor. Since the inverter is controlled using the motor output torque thus estimated, it is possible to suppress fluctuations in the motor output torque due to disturbance. As a result, it is possible to suppress a sudden change in the output torque when switching the control mode between the rectangular wave control mode and another control mode, and also suppress a fluctuation in the output torque of the motor due to disturbance.

こうした本発明のモータ駆動装置において、前記制御装置は、前記矩形波制御モードで前記インバータを制御する場合において、前記モータの回転数の変動量が所定変動量以上であるときに、前記トルク平均値を演算し、前記トルク変動量を演算し、前記トルク平均値を前記トルク変動量で補正したトルクを前記モータの出力トルクと推定し、前記推定した出力トルクを用いて前記モータが前記目標トルクで駆動するように前記インバータを制御してもよい。ここで、「所定変動量」は、モータの回転数が外乱により変動したか否かを判定するための閾値である。こうすれば、モータの回転数が外乱により変動したときに、モータの出力トルクの変動を抑制することができる。   In the motor drive device of the present invention, the control device controls the inverter in the rectangular wave control mode, and when the variation amount of the rotation speed of the motor is equal to or more than a predetermined variation amount, the torque average value. Is calculated, the torque fluctuation amount is calculated, the torque obtained by correcting the torque average value with the torque fluctuation amount is estimated as the output torque of the motor, and the estimated output torque is used by the motor to obtain the target torque. The inverter may be controlled to drive. Here, the “predetermined variation amount” is a threshold value for determining whether or not the rotation speed of the motor has changed due to disturbance. This makes it possible to suppress fluctuations in the output torque of the motor when the rotation speed of the motor fluctuates due to disturbance.

また、本発明のモータ駆動装置において、前記制御装置は、前記矩形波制御モードで前記インバータを制御する場合において、前記モータの回転数の変動量が所定変動量以上であり、且つ、前記モータの各相の電流と前記モータの回転角とを用いて演算される推定出力トルクの変動量が所定トルク変動量以上であるときに、前記トルク平均値を演算し、前記トルク変動量を演算し、前記トルク平均値を前記トルク変動量で補正したトルクを前記モータの出力トルクと推定し、前記推定した出力トルクを用いて前記モータが前記目標トルクで駆動するように前記インバータを制御してもよい。ここで、「所定トルク変動量」は、実際に推定出力トルクが変動しているか否かを判定するための閾値である。こうすれば、モータの回転数が外乱により変動しており且つ推定出力トルクが変動しているとき、すなわち、モータの回転数が外乱により変動していることに起因して推定出力トルクの変動しているときに、モータの出力トルクの変動を抑制することができる。   Further, in the motor drive device of the present invention, the control device, when controlling the inverter in the rectangular wave control mode, has a fluctuation amount of the rotation speed of the motor of a predetermined fluctuation amount or more, and When the fluctuation amount of the estimated output torque calculated using the current of each phase and the rotation angle of the motor is equal to or more than a predetermined torque fluctuation amount, the torque average value is calculated, and the torque fluctuation amount is calculated, A torque obtained by correcting the torque average value with the torque fluctuation amount may be estimated as an output torque of the motor, and the inverter may be controlled so that the motor is driven at the target torque by using the estimated output torque. .. Here, the “predetermined torque fluctuation amount” is a threshold value for determining whether or not the estimated output torque actually fluctuates. By doing this, when the rotation speed of the motor is fluctuating due to the disturbance and the estimated output torque is fluctuating, that is, when the rotation speed of the motor is fluctuating due to the disturbance, the estimated output torque fluctuates. The fluctuation of the output torque of the motor can be suppressed during the operation.

さらに、本発明のモータ駆動装置において、前記複数の制御モードは、前記矩形波制御モードと、PWM制御モードと、を含んでいてもよい。この場合において、前記PWM制御モードは、前記モータの各相の電流と前記回転角とを用いて演算したd軸の電流とq軸の電流とを用いて前記インバータを制御してもよい。   Further, in the motor drive device of the present invention, the plurality of control modes may include the rectangular wave control mode and the PWM control mode. In this case, in the PWM control mode, the inverter may be controlled using the d-axis current and the q-axis current calculated using the currents of the respective phases of the motor and the rotation angle.

本発明の一実施例としてのモータ駆動装置を備える駆動装置20の構成の概略を示す構成図である。It is a block diagram which shows the outline of a structure of the drive device 20 provided with the motor drive device as one Example of this invention. モータ22の回転数Nm,トルク指令Tm*とインバータ24の制御モードMdとの関係の一例を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining an example of the relationship between the rotation speed Nm of the motor 22, the torque command Tm *, and the control mode Md of the inverter 24. 駆動装置20において、矩形波制御モードでのインバータ24の制御を説明するためのブロック図である。In drive device 20, it is a block diagram for explaining control of an inverter 24 in a rectangular wave control mode. 制御装置50により実行される補正後トルク設定処理ルーチンの一例を示すフローチャートである。7 is a flowchart showing an example of a corrected torque setting processing routine executed by the control device 50. d軸,q軸の電流Id,Iqとモータ22から出力されるトルクとの関係を示す説明図である。It is explanatory drawing which shows the relationship between the electric currents Id and Iq of d-axis and q-axis, and the torque output from the motor 22. モータ22の回転数Nmが外乱により変動したときの推定出力トルクTrq1とモータ22から実際に出力されている実トルクTmrとの時間変化の一例を示す説明図である。7 is an explanatory diagram showing an example of a temporal change between an estimated output torque Trq1 and a real torque Tmr actually output from the motor 22 when the rotation speed Nm of the motor 22 changes due to a disturbance. FIG. 推定出力トルクTrq1を補正後トルクTrqとして矩形制御フィードバック演算したときの電圧位相指令θp*と、実際に出力されている実トルクTrを補正後トルクTrqとして矩形制御フィードバック演算したときの電圧位相指令θp*(理想的な電圧位相指令θpr)と、の時間変化の一例を示す説明図である。The voltage phase command θp * when the estimated output torque Trq1 is calculated as the corrected torque Trq by the rectangular control feedback, and the voltage phase command θp when the actually output actual torque Tr is calculated as the corrected torque Trq by the rectangular control feedback. It is explanatory drawing which shows an example of the time change of * (ideal voltage phase command (theta) pr) and.

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

図1は、本発明の一実施例としてのモータ駆動装置を備える駆動装置20の構成の概略を示す構成図である。実施例の駆動装置20は、例えば、車両に搭載され、駆動輪に接続された車軸にデファレンシャルギヤを介して接続された駆動軸を駆動する装置として構成されており、図示するように、モータ22と、インバータ24と、バッテリ26と、制御装置50と、を備える。   FIG. 1 is a configuration diagram showing an outline of a configuration of a drive device 20 including a motor drive device as an embodiment of the present invention. The drive device 20 of the embodiment is mounted on a vehicle, for example, and is configured as a device that drives a drive shaft that is connected to an axle that is connected to drive wheels via a differential gear. And an inverter 24, a battery 26, and a control device 50.

モータ22は、同期発電電動機として構成されており、永久磁石が埋め込まれた回転子と、三相コイルが巻回された固定子と、を備える。   The motor 22 is configured as a synchronous generator motor and includes a rotor in which a permanent magnet is embedded and a stator around which a three-phase coil is wound.

インバータ24は、モータ22に接続されると共にバッテリ26に接続されている。このインバータ24は、6つのトランジスタT11〜T16と、6つのダイオードD11〜D16と、を有する。トランジスタT11〜T16は、それぞれバッテリ26からの電力ラインの正極母線と負極母線とに対してソース側とシンク側になるように2個ずつペアで配置されている。6つのダイオードD11〜D16は、それぞれトランジスタT11〜T16に逆方向に並列接続されている。トランジスタT11〜T16の対となるトランジスタ同士の接続点の各々には、モータ22の三相コイル(U相,V相,W相)の各々が接続されている。したがって、インバータ24に電圧が作用しているときに、制御装置50によって、対となるトランジスタT11〜T16のオン時間の割合が調節されることにより、三相コイルに回転磁界が形成され、モータ22が回転駆動される。   The inverter 24 is connected to the motor 22 and the battery 26. The inverter 24 has six transistors T11 to T16 and six diodes D11 to D16. Two transistors T11 to T16 are arranged in pairs so that they are on the source side and the sink side with respect to the positive bus and the negative bus of the power line from the battery 26, respectively. The six diodes D11 to D16 are connected in parallel in reverse directions to the transistors T11 to T16, respectively. Each of the three-phase coils (U-phase, V-phase, W-phase) of the motor 22 is connected to each of the connection points of the paired transistors of the transistors T11 to T16. Therefore, when a voltage is applied to the inverter 24, the controller 50 adjusts the on-time ratio of the pair of transistors T11 to T16, so that a rotating magnetic field is formed in the three-phase coil and the motor 22 is driven. Is driven to rotate.

バッテリ26は、例えばリチウムイオン二次電池やニッケル水素二次電池として構成されている。   The battery 26 is configured as, for example, a lithium ion secondary battery or a nickel hydrogen secondary battery.

制御装置50は、CPUを中心とするマイクロプロセッサとして構成されており、CPUの他に、処理プログラムを記憶するROMやデータを一時的に記憶するRAM,入出力ポートを備える。   The control device 50 is configured as a microprocessor centered 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.

制御装置50には、各種センサからの信号が入力ポートを介して入力されている。制御装置50に入力される信号としては、例えば、モータ22の回転子の回転位置を検出する回転角度検出センサ(例えばレゾルバ)22aからのモータ22の回転子の回転角θmや、モータ22の各相に流れる電流を検出する電流センサ22u,22vからのモータ22に流れる相電流Iu,Iv,モータ22の各相の電圧を検出する電圧センサ22b,22c,22dの電圧Vu,Vv,Vwを挙げることができる。また、バッテリ26の端子間に取り付けられた電圧センサ26aからの電圧Vbや、バッテリ26の出力端子に取り付けられた電流センサ26bからの電流Ibも挙げることができる。   Signals from various sensors are input to the control device 50 via input ports. As the signal input to the control device 50, for example, the rotation angle θm of the rotor of the motor 22 from a rotation angle detection sensor (for example, a resolver) 22a that detects the rotation position of the rotor of the motor 22, and each of the motor 22. The phase currents Iu, Iv flowing through the motor 22 from the current sensors 22u, 22v for detecting the current flowing through the phases, and the voltages Vu, Vv, Vw for the voltage sensors 22b, 22c, 22d for detecting the voltages of the respective phases of the motor 22 are listed. be able to. Moreover, the voltage Vb from the voltage sensor 26a attached between the terminals of the battery 26 and the current Ib from the current sensor 26b attached to the output terminal of the battery 26 can also be mentioned.

制御装置50からは、各種制御信号が出力ポートを介して出力されている。制御装置50から出力される信号としては、例えば、インバータ24のトランジスタT11〜T16へのスイッチング制御信号を挙げることができる。制御装置50は、回転角度検出センサ22aからのモータ22の回転子の回転角θmやモータ22の回転数Nmを演算している。また、制御装置50は、電流センサ26bからのバッテリ26の電流Ibの積算値に基づいてバッテリ26の蓄電割合SOCを演算している。ここで、蓄電割合SOCは、バッテリ26の全容量に対するバッテリ26から放電可能な電力の容量の割合である。   Various control signals are output from the control device 50 via the output ports. The signal output from the control device 50 may be, for example, a switching control signal to the transistors T11 to T16 of the inverter 24. The control device 50 calculates the rotation angle θm of the rotor of the motor 22 and the rotation speed Nm of the motor 22 from the rotation angle detection sensor 22a. Further, the control device 50 calculates the charge ratio SOC of the battery 26 based on the integrated value of the current Ib of the battery 26 from the current sensor 26b. Here, the charge ratio SOC is the ratio of the capacity of the electric power that can be discharged from the battery 26 to the total capacity of the battery 26.

こうして構成された実施例の駆動装置20では、制御装置50は、モータ22がトルク指令Tm*で駆動されるようにインバータ24のトランジスタT11〜T16のスイッチング制御を行なう。   In the drive device 20 of the embodiment thus configured, the control device 50 controls the switching of the transistors T11 to T16 of the inverter 24 so that the motor 22 is driven by the torque command Tm *.

ここで、インバータ24の制御について説明する。実施例では、インバータ24については、モータ22の目標動作点(トルク指令Tm*および回転数Nm)に基づいて、正弦波PWM(パルス幅変調)制御モード,過変調PWM制御モード,矩形波制御モードのうちの何れかを制御モードMdとして制御するものとした。ここで、正弦波PWM制御モードは、擬似的な三相交流電圧がモータ22に印加(供給)されるようにインバータ24を制御する制御モードであり、過変調PWM制御モードは、過変調電圧がモータ22に印加されるようにインバータ24を制御する制御モードであり、矩形波制御モードは、矩形波電圧がモータ22に印加されるようにインバータ24を制御する制御モードである。図2は、モータ22の回転数Nm,トルク指令Tm*とインバータ24の制御モードMdとの関係の一例を説明するための説明図である。インバータ24の制御モードMdは、図示するように、モータ22の回転数Nmやトルク指令Tm*が小さい側から大きい側に向けて正弦波PWM制御モード,過変調PWM制御モード,矩形波制御モードとなるように定められる。   Here, the control of the inverter 24 will be described. In the embodiment, for the inverter 24, the sine wave PWM (pulse width modulation) control mode, the overmodulation PWM control mode, and the rectangular wave control mode are used based on the target operating point (torque command Tm * and rotation speed Nm) of the motor 22. Any one of them is controlled as the control mode Md. Here, the sine wave PWM control mode is a control mode for controlling the inverter 24 so that a pseudo three-phase AC voltage is applied (supplied) to the motor 22, and the overmodulation PWM control mode is for the overmodulation voltage. The control mode controls the inverter 24 so as to be applied to the motor 22, and the rectangular wave control mode controls the inverter 24 so that the rectangular wave voltage is applied to the motor 22. FIG. 2 is an explanatory diagram for explaining an example of the relationship between the rotation speed Nm of the motor 22, the torque command Tm *, and the control mode Md of the inverter 24. As shown in the figure, the control mode Md of the inverter 24 includes a sine wave PWM control mode, an overmodulation PWM control mode, and a rectangular wave control mode from the side where the rotation speed Nm of the motor 22 and the torque command Tm * are small to the side where the rotation speed Nm is small. Is determined to be.

正弦波PWM制御モードや過変調PWM制御モードでは、制御装置50は、まず、モータ22の各相(U相,V相,W相)に流れる電流の総和が値0であるとして、電流センサ22u,22vによって検出されたモータ22の相電流Iu,Ivと、回転角度検出センサ22aによって検出されたモータ22の回転子の回転角θmに基づいて演算された電気角θeと,を用いて、U相,V相の相電流Iu,Ivをd軸,q軸の電流Id,Iqに座標変換(3相−2相変換)する。続いて、トルク指令Tm*と予め定めたマップとからd−q座標系におけるd軸,q軸の電流指令Id*,Iq*を設定する。次に、d軸,q軸の電流指令Id*,Iq*とd軸,q軸の電流Id,Iqとの差分ΔId,ΔIqとに基づくフィードバック項としてd軸,q軸の電圧指令Vd*,Vq*を演算する。そして、モータ22の電気角θeを用いてd軸,q軸の電圧指令Vd*,Vq*を各相の電圧指令Vu*,Vv*,Vw*に座標変換(2相−3相変換)し、この電圧指令Vu*,Vv*,Vwと搬送波電圧との比較によってトランジスタT11〜T16のPWM信号を生成して、このPWM信号を用いてトランジスタT11〜T16のスイッチング制御を行なう。   In the sine wave PWM control mode and the overmodulation PWM control mode, the control device 50 first determines that the total sum of the currents flowing in the respective phases (U phase, V phase, W phase) of the motor 22 is 0, and the current sensor 22u. , 22v, and the electrical angle θe calculated based on the rotation angle θm of the rotor of the motor 22 detected by the rotation angle detection sensor 22a. The phase currents Iu and Iv of the phase and V phase are coordinate-converted (three-phase to two-phase conversion) into currents Id and Iq of the d-axis and the q-axis. Then, the d-axis and q-axis current commands Id * and Iq * in the dq coordinate system are set from the torque command Tm * and a predetermined map. Next, as a feedback term based on the differences ΔId, ΔIq between the d-axis and q-axis current commands Id *, Iq * and the d-axis, q-axis currents Id, Iq, the d-axis and q-axis voltage commands Vd *, Calculate Vq *. Then, using the electrical angle θe of the motor 22, the voltage commands Vd *, Vq * for the d-axis and the q-axis are coordinate-converted (2-phase-3 phase conversion) into the voltage commands Vu *, Vv *, Vw * for each phase. The PWM signals of the transistors T11 to T16 are generated by comparing the voltage commands Vu *, Vv *, Vw with the carrier voltage, and the switching control of the transistors T11 to T16 is performed using the PWM signal.

次に、こうして構成された実施例の駆動装置20の動作、特に、矩形波制御モードでインバータ24を制御する際の動作について説明する。図3は、駆動装置20において、矩形波制御モードでのインバータ24の制御を説明するためのブロック図である。   Next, the operation of the driving device 20 of the embodiment thus configured, particularly the operation when controlling the inverter 24 in the rectangular wave control mode will be described. FIG. 3 is a block diagram for explaining the control of the inverter 24 in the rectangular wave control mode in the drive device 20.

矩形波制御モードでは、制御装置50は、図示するように、まず、正弦波PWM制御モードや過変調PWM制御モードと同一の処理で、U相,V相の相電流Iu,Ivをd軸,q軸の電流Id,Iqに座標変換(3相−2相変換)する。続いて、d軸,q軸の電流Id,Iqに基づいて、モータ22から出力されていると推定される推定出力トルクTrq1を設定する(推定トルク設定)。そして、モータ22の各相(U相,V相,W相)に流れる電流の総和が値0であるとして、推定出力トルクTrq1とU相,V相の相電流Iu,Iv,電圧センサ22b,22c,22dにより検出されたU相,V相,W相の相電圧Vu,Vv,Vwとモータ22の回転数Nmとを用いて推定出力トルクTrq1を補正した補正後トルクTrqを設定する。補正後トルクTrqの設定については後述する。そして、補正後トルクTrqをモータ22の出力トルクとして推定して、補正後トルクTrqとトルク指令Tm*との差分が打ち消されるように、電圧位相指令θp*を計算する(矩形制御フィードバック演算)。こうして電圧位相指令θp*を計算すると、電圧位相指令θp*に基づく矩形波電圧がモータ22に印加されるように矩形波信号Vu,Vv,Vwを生成する(スイッチングパターン出力)。そして、生成した矩形波信号Vu,Vv,Vwをインバータ24に出力することにより、インバータ24のトランジスタT11〜T16のスイッチング制御を行なう。制御装置50は、こうした処理を所定時間T(例えば、数msecなど)毎に繰り返し実行している。   In the rectangular wave control mode, as shown in the figure, the control device 50 first performs the same processing as in the sine wave PWM control mode and the overmodulation PWM control mode to set the phase currents Iu and Iv of the U phase and V phase to the d axis, Coordinate conversion (3 phase-2 phase conversion) is performed on the currents Id and Iq of the q axis. Then, the estimated output torque Trq1 estimated to be output from the motor 22 is set based on the d-axis and q-axis currents Id and Iq (estimated torque setting). Then, assuming that the sum of the currents flowing in the respective phases (U phase, V phase, W phase) of the motor 22 is 0, the estimated output torque Trq1 and the phase currents Iu, Iv of the U phase and V phase, the voltage sensor 22b, The corrected output torque Trq is set by correcting the estimated output torque Trq1 using the phase voltages Vu, Vv, Vw of the U phase, V phase, W phase detected by 22c, 22d and the rotation speed Nm of the motor 22. The setting of the corrected torque Trq will be described later. Then, the corrected torque Trq is estimated as the output torque of the motor 22, and the voltage phase command θp * is calculated so that the difference between the corrected torque Trq and the torque command Tm * is canceled (rectangular control feedback calculation). When the voltage phase command θp * is calculated in this manner, the rectangular wave signals Vu, Vv, Vw are generated so that the rectangular wave voltage based on the voltage phase command θp * is applied to the motor 22 (switching pattern output). Then, by outputting the generated rectangular wave signals Vu, Vv, Vw to the inverter 24, switching control of the transistors T11 to T16 of the inverter 24 is performed. The control device 50 repeatedly executes such processing every predetermined time T (for example, several msec).

次に、補正後トルクTrqの設定について説明する。図4は、制御装置50により実行される補正後トルク設定処理ルーチンの一例を示すフローチャートである。本ルーチンが実行されると、制御装置50は、U相,V相の相電流Iu,IvとU相,V相,W相の相電圧Vu,Vv,Vwとモータ22の回転数Nmと回転角θmとを入力する処理を実行する(ステップS100)。相電流Iu,Ivは、電流センサ22u,22vで検出されたものを入力している。相電圧Vu,Vv,Vwは、電圧センサ22b,22c,22dにより検出されたものを入力している。回転数Nmは、モータ22の回転子の回転角θmに基づいて演算したものを入力している。回転角θmは、回転角度検出センサ22aにより検出されたものを入力している。   Next, the setting of the corrected torque Trq will be described. FIG. 4 is a flowchart showing an example of a corrected torque setting processing routine executed by the control device 50. When this routine is executed, the control device 50 causes the U-phase and V-phase currents Iu and Iv and the U-phase, V-phase, and W-phase voltage Vu, Vv, and Vw, the rotation speed Nm of the motor 22, and the rotation speed. A process of inputting the angle θm is executed (step S100). The phase currents Iu and Iv are input as those detected by the current sensors 22u and 22v. As the phase voltages Vu, Vv, Vw, those detected by the voltage sensors 22b, 22c, 22d are input. The number of rotations Nm is input as a value calculated based on the rotation angle θm of the rotor of the motor 22. The rotation angle θm is the one detected by the rotation angle detection sensor 22a.

続いて、d軸,q軸の電流Id,Iqに基づいて、モータ22から出力されていると推定される推定出力トルクTrq1を設定する(ステップS110)。この処理は、上述の推定トルク設定に対応する処理である。推定出力トルクTrq1の設定は、d軸,q軸の電流Id,Iqとモータ22から出力されるトルクとの関係を実験や解析などで定めてマップとして記憶しておき、d軸,q軸の電流Id,Iqが与えられたときに対応するトルクを推定出力トルクTrq1に設定する。図5は、d軸,q軸の電流Id,Iqとモータ22から出力されるトルクとの関係を示す説明図である。   Then, the estimated output torque Trq1 estimated to be output from the motor 22 is set based on the d-axis and q-axis currents Id and Iq (step S110). This process is a process corresponding to the above-described estimated torque setting. To set the estimated output torque Trq1, the relationship between the d-axis and q-axis currents Id and Iq and the torque output from the motor 22 is determined by experiments or analysis and stored as a map. The torque corresponding to the given currents Id and Iq is set as the estimated output torque Trq1. FIG. 5 is an explanatory diagram showing the relationship between the d-axis and q-axis currents Id and Iq and the torque output from the motor 22.

次に、次式(1)を用いて推定出力トルクTrq2を演算する(ステップS120)。推定出力トルクTrq2は、式(1)に示されるように、モータ22の各相(U相,V相,W相)に流れる電流の総和が値0であるとして、相電流Iu,Iv,Iw(=0−Iu−Iv)と電圧Vu,Vv,Vwと回転数Nmとから演算している。回転数Nmは、回転角度検出センサ22aにより検出された回転角θmを用いて演算されている。一般に、回転角度検出センサ22aの検出遅れによる誤差が生じた場合における、回転数Nmと実際のモータ22の回転数Nmとの乖離はさほど大きくないことが知られている。そのため、回転角θmと実際の回転角とが乖離したときでも、推定出力トルクTrq2とモータ22から出力されるトルクとの乖離は小さい。   Next, the estimated output torque Trq2 is calculated using the following equation (1) (step S120). The estimated output torque Trq2 is obtained by assuming that the sum of the currents flowing in the respective phases (U phase, V phase, W phase) of the motor 22 is 0, as shown in the equation (1), the phase currents Iu, Iv, Iw. (= 0-Iu-Iv), the voltages Vu, Vv, Vw, and the rotation speed Nm. The rotation speed Nm is calculated using the rotation angle θm detected by the rotation angle detection sensor 22a. It is generally known that the difference between the rotation speed Nm and the actual rotation speed Nm of the motor 22 is not so large when an error occurs due to the detection delay of the rotation angle detection sensor 22a. Therefore, even when the rotation angle θm deviates from the actual rotation angle, the deviation between the estimated output torque Trq2 and the torque output from the motor 22 is small.

Trq2=(Iu・Vu+Iv・Vv+Iw・Vw)/Nm ・・・(1)   Trq2 = (Iu ・ Vu + Iv ・ Vv + Iw ・ Vw) / Nm ・ ・ ・ (1)

そして、次式(2),(3)を用いて推定出力トルクTrq1,Trq2の平均値であるトルク平均値Trq1_av,Trq2_avを演算する(ステップS130)。式(2),(3)中、「Trq1_N」,「Trq2_N」は、本ルーチンをN(Nは値1以上の実数)回目に実行したときにステップS110,S120の処理で設定または演算された推定出力トルクTrq1,Trq2である。また、値Nthは、次式(4)を用いて演算される。式(4)中、「ωe」は、モータ32を含む駆動系のねじれ振動の共振周波数である。駆動系としては、モータ32の回転軸が車両の駆動軸に接続されるときには、駆動軸に接続される駆動系(モータや駆動輪,デファレンシャルギヤなど)を挙げることができる。なお、「N」は、本ルーチンの繰り返し回数が値Nthになったときに値0にリセットされる。   Then, the torque average values Trq1_av, Trq2_av, which are the average values of the estimated output torques Trq1, Trq2, are calculated using the following equations (2), (3) (step S130). In formulas (2) and (3), "Trq1_N" and "Trq2_N" are set or calculated in the processing of steps S110 and S120 when the present routine is executed N times (N is a real number of 1 or more). The estimated output torques Trq1 and Trq2. Further, the value Nth is calculated using the following equation (4). In Expression (4), “ωe” is the resonance frequency of the torsional vibration of the drive system including the motor 32. Examples of the drive system include a drive system (motor, drive wheels, differential gear, etc.) connected to the drive shaft when the rotation shaft of the motor 32 is connected to the drive shaft of the vehicle. It should be noted that "N" is reset to the value 0 when the number of repetitions of this routine reaches the value Nth.

Figure 0006696456
Figure 0006696456

Figure 0006696456
Figure 0006696456

Nth=(1/ωe)/T・・・(4)   Nth = (1 / ωe) / T ・ ・ ・ (4)

続いて、回転数Nm2の変動量ΔNmが所定変動量dNmrefを超えているか否かを判定する(ステップS140)。変動量ΔNmは、ステップS100の処理で入力されたモータ22の回転数Nmから前回本ルーチンを実行したときにステップS100の処理で入力された回転数Nmを減じることにより演算される。所定変動量dNmrefは、モータ22の回転数Nmが外乱により変動したか否かを判定するための閾値である。   Subsequently, it is determined whether or not the fluctuation amount ΔNm of the rotation speed Nm2 exceeds the predetermined fluctuation amount dNmref (step S140). The fluctuation amount ΔNm is calculated by subtracting the rotation speed Nm input in the processing of step S100 when the routine was last executed from the rotation speed Nm of the motor 22 input in the processing of step S100. The predetermined variation amount dNmref is a threshold value for determining whether or not the rotation speed Nm of the motor 22 has changed due to disturbance.

ここで、外乱によるモータ22の回転数Nmが変動する理由について説明する。図6は、モータ22の回転数Nmが外乱により変動したときの推定出力トルクTrq1とモータ22から実際に出力されている実トルクTmrとの時間変化の一例を示す説明図である。図中、実線は、実トルクTmrの時間変化の一例である。破線は、推定出力トルクTrq1の時間変化の一例である。回転角度検出センサ22aによるモータ22の回転角θmの検出に遅れが生じると、推定出力トルクTrq1は、図5に示すように、実トルクTmrに対して位相に遅れが生じる。例えば、モータ22の回転数Nmが増加、減少、増加と変化するときには、推定出力トルクTrq1は、モータ22の回転数Nmが増加するときには実トルクTmrに比して小さく演算され、モータ22の回転数Nmが減少するときには実トルクTmrに比して大きく演算される。実トルクTmrと推定出力トルクTrq1との位相差がある程度大きくなると、制御が振動的になって、モータ22の回転数の変動が大きくなる。外乱によるモータ22の回転数Nmが変動するのは、こうした理由に基づく。   Here, the reason why the rotation speed Nm of the motor 22 changes due to disturbance will be described. FIG. 6 is an explanatory diagram showing an example of a temporal change between the estimated output torque Trq1 and the actual torque Tmr actually output from the motor 22 when the rotation speed Nm of the motor 22 changes due to disturbance. In the figure, the solid line is an example of the change over time of the actual torque Tmr. The broken line is an example of the temporal change of the estimated output torque Trq1. When the detection of the rotation angle θm of the motor 22 by the rotation angle detection sensor 22a is delayed, the estimated output torque Trq1 is delayed in phase with respect to the actual torque Tmr, as shown in FIG. For example, when the rotation speed Nm of the motor 22 increases, decreases, or increases, the estimated output torque Trq1 is calculated smaller than the actual torque Tmr when the rotation speed Nm of the motor 22 increases, and the rotation speed of the motor 22 increases. When the number Nm decreases, it is calculated larger than the actual torque Tmr. When the phase difference between the actual torque Tmr and the estimated output torque Trq1 becomes large to some extent, the control becomes oscillating, and the fluctuation of the rotation speed of the motor 22 becomes large. This is the reason why the rotation speed Nm of the motor 22 changes due to disturbance.

ステップS140の処理により変動量ΔNmが所定変動量dNmref以下であると判定されたときには、モータ22の回転数Nmが外乱により変動していないと判断して、推定出力トルクTrq1を補正後トルクTrqに設定して(ステップS150)、本ルーチンを終了する。こうした補正後トルクTrqを設定すると、補正後トルクTrqをモータ22の出力トルクとして推定して、補正後トルクTrqとトルク指令Tm*との差分が打ち消されるように、電圧位相指令θp*を計算し、電圧位相指令θp*に基づく矩形波電圧がモータ22に印加されるように矩形波信号Vu,Vv,Vwを生成する。そして、生成した矩形波信号Vu,Vv,Vwをインバータ24に出力することにより、インバータ24のトランジスタT11〜T16のスイッチング制御を行なう。このように、正弦波PWM制御モードや過変調PWM制御モードと同一の状態量(相電流Iu,Ivと回転角θm)を用いて演算されたd軸,q軸の電流Id,Iqから設定される推定出力Trq1を補正後トルクTrqに設定し、補正後トルクTrqをモータ22から出力されるトルクとして推定して、インバータ24を制御することにより、正弦波PWM制御モードや過変調PWM制御モードと矩形波制御との間で制御モードを切り替える際のモータ22からの出力トルクの急変を抑制している。   When it is determined in step S140 that the variation amount ΔNm is equal to or less than the predetermined variation amount dNmref, it is determined that the rotation speed Nm of the motor 22 has not changed due to disturbance, and the estimated output torque Trq1 is set to the corrected torque Trq. After setting (step S150), this routine is finished. When such corrected torque Trq is set, the corrected torque Trq is estimated as the output torque of the motor 22, and the voltage phase command θp * is calculated so that the difference between the corrected torque Trq and the torque command Tm * is canceled. , Rectangular wave signals Vu, Vv, Vw are generated so that the rectangular wave voltage based on the voltage phase command θp * is applied to the motor 22. Then, by outputting the generated rectangular wave signals Vu, Vv, Vw to the inverter 24, switching control of the transistors T11 to T16 of the inverter 24 is performed. In this way, it is set from the d-axis and q-axis currents Id and Iq calculated using the same state quantities (phase currents Iu and Iv and rotation angle θm) as in the sine wave PWM control mode and overmodulation PWM control mode. The estimated output Trq1 is set to the corrected torque Trq, the corrected torque Trq is estimated as the torque output from the motor 22, and the inverter 24 is controlled, whereby the sine wave PWM control mode or the overmodulation PWM control mode is set. The sudden change of the output torque from the motor 22 when the control mode is switched between the rectangular wave control and the rectangular wave control is suppressed.

ステップS140の処理で変動量ΔNmが所定変動量dNmrefを超えていると判定されたときには、モータ22の回転数Nmが外乱により変動していると判断して、続いて、トルク変動量ΔTrq1が所定トルク変動量dTrqrefを超えているか否かを判定する(ステップS160)。トルク変動量ΔTrq1は、ステップS110の処理で設定した推定出力トルクTrq1から前回本ルーチンを実行したときにステップS110の処理で設定した推定出力トルクTrq1を減じることにより演算される。所定トルク変動量dTrqrefは、推定出力トルクTrq1が変動しているか否かを判定するための閾値である。   When it is determined in the process of step S140 that the fluctuation amount ΔNm exceeds the predetermined fluctuation amount dNmref, it is determined that the rotation speed Nm of the motor 22 is fluctuating due to disturbance, and subsequently, the torque fluctuation amount ΔTrq1 is predetermined. It is determined whether or not the torque fluctuation amount dTrqref is exceeded (step S160). The torque fluctuation amount ΔTrq1 is calculated by subtracting the estimated output torque Trq1 set in the process of step S110 when the present routine was last executed from the estimated output torque Trq1 set in the process of step S110. The predetermined torque fluctuation amount dTrqref is a threshold value for determining whether the estimated output torque Trq1 is fluctuating.

ステップS160の処理でトルク変動量ΔTrq1が所定トルク変動量dTrqref以下であると判定されたときには、推定出力トルクTrq1は変動していないと判断して、推定出力トルクTrq1を補正後トルクTrqに設定して(ステップS150)、本ルーチンを終了する。こうした補正後トルクTrqを設定すると、補正後トルクTrqをモータ22の出力トルクとして推定して、補正後トルクTrqとトルク指令Tm*との差分が打ち消されるように、電圧位相指令θp*を計算し、電圧位相指令θp*に基づく矩形波電圧がモータ22に印加されるように矩形波信号Vu,Vv,Vwを生成する。そして、生成した矩形波信号Vu,Vv,Vwをインバータ24に出力することにより、インバータ24のトランジスタT11〜T16のスイッチング制御を行なう。こうした処理により、正弦波PWM制御モードや過変調PWM制御モードと矩形波制御との間で制御モードを切り替える際のモータ22からの出力トルクの急変を抑制している。   When it is determined in step S160 that the torque fluctuation amount ΔTrq1 is less than or equal to the predetermined torque fluctuation amount dTrqref, it is determined that the estimated output torque Trq1 has not changed, and the estimated output torque Trq1 is set to the corrected torque Trq. (Step S150), this routine is ended. When such corrected torque Trq is set, the corrected torque Trq is estimated as the output torque of the motor 22, and the voltage phase command θp * is calculated so that the difference between the corrected torque Trq and the torque command Tm * is canceled. , Rectangular wave signals Vu, Vv, Vw are generated so that the rectangular wave voltage based on the voltage phase command θp * is applied to the motor 22. Then, by outputting the generated rectangular wave signals Vu, Vv, Vw to the inverter 24, switching control of the transistors T11 to T16 of the inverter 24 is performed. By such processing, abrupt changes in the output torque from the motor 22 when the control mode is switched between the sine wave PWM control mode or the overmodulation PWM control mode and the rectangular wave control are suppressed.

ステップS160の処理でトルク変動量ΔTrq1が所定トルク変動量dTrqrefを超えていると判定されたときには、推定出力トルクTrq2からトルク平均値Trq_2を減じてトルク変動量ΔTrq2を演算し(ステップS170)、トルク平均値Trq_1にトルク変動量ΔTrq2を加えたもの、すなわち、トルク平均値Trq_1をトルク変動量ΔTrq2で補正したものを補正後トルクTrqに設定して(ステップS180)、本ルーチンを終了する。こうして補正後トルクTrqを設定すると、補正後トルクTrqをモータ22の出力トルクとして推定して、補正後トルクTrqとトルク指令Tm*との差分が打ち消されるように、電圧位相指令θp*を計算し、電圧位相指令θp*に基づく矩形波電圧がモータ22に印加されるように矩形波信号Vu,Vv,Vwを生成する。そして、生成した矩形波信号Vu,Vv,Vwをインバータ24に出力することにより、インバータ24のトランジスタT11〜T16のスイッチング制御を行なう。正弦波PWM制御モードや過変調PWM制御モードと同一の状態量(相電流Iu,Ivと回転角θm)を用いて演算される推定出力トルクTrq1を用いて演算されるトルク平均値Trq_1をトルク変動量ΔTrq2で補正したもの、すなわち、トルク平均値Trq_1をベース値として補正後トルクTrqに設定するから、正弦波PWM制御モードや過変調PWM制御モードと矩形波制御との間で制御モードを切り替える際のモータ22からの出力トルクの急変を抑制することができる。また、回転角θmと実際の回転角とが乖離したときにおける推定出力トルクTrq2の変動が小さいことから、トルク変動量ΔTrq2は、モータ22から実際に出力されているトルクの変動を反映した値であると考えられる。ステップS180の処理では、トルク平均値Trq_1にトルク変動量ΔTrq2を加えたもの、すなわち、トルク平均値Trq_1をトルク変動量ΔTrq2で補正したものを補正後トルクTrqとして設定するから、補正後トルクTrqをよりモータ22から実際に出力されている実トルクTmrへ近づけることができる。   When it is determined in step S160 that the torque fluctuation amount ΔTrq1 exceeds the predetermined torque fluctuation amount dTrqref, the torque fluctuation amount ΔTrq2 is calculated by subtracting the torque average value Trq_2 from the estimated output torque Trq2 (step S170), and the torque fluctuation amount ΔTrq2 is calculated. The value obtained by adding the torque fluctuation amount ΔTrq2 to the average value Trq_1, that is, the value obtained by correcting the torque average value Trq_1 by the torque fluctuation amount ΔTrq2 is set as the corrected torque Trq (step S180), and this routine is ended. When the corrected torque Trq is set in this way, the corrected torque Trq is estimated as the output torque of the motor 22, and the voltage phase command θp * is calculated so that the difference between the corrected torque Trq and the torque command Tm * is canceled. , Rectangular wave signals Vu, Vv, Vw are generated so that the rectangular wave voltage based on the voltage phase command θp * is applied to the motor 22. Then, by outputting the generated rectangular wave signals Vu, Vv, Vw to the inverter 24, switching control of the transistors T11 to T16 of the inverter 24 is performed. The torque average value Trq_1 calculated using the estimated output torque Trq1 calculated using the same state quantities (phase currents Iu, Iv and rotation angle θm) as in the sine wave PWM control mode or overmodulation PWM control mode is used as the torque fluctuation. When the control mode is switched between the sine wave PWM control mode or the overmodulation PWM control mode and the rectangular wave control, the value corrected by the amount ΔTrq2, that is, the torque average value Trq_1 is set as the corrected torque Trq with the base value. The sudden change in the output torque from the motor 22 can be suppressed. Further, since the fluctuation of the estimated output torque Trq2 when the rotation angle θm and the actual rotation angle deviate is small, the torque fluctuation amount ΔTrq2 is a value that reflects the fluctuation of the torque actually output from the motor 22. It is believed that there is. In the process of step S180, a value obtained by adding the torque fluctuation amount ΔTrq2 to the torque average value Trq_1, that is, a value obtained by correcting the torque average value Trq_1 with the torque fluctuation amount ΔTrq2 is set as the corrected torque Trq. The actual torque Tmr actually output from the motor 22 can be brought closer.

図7は、推定出力トルクTrq1を補正後トルクTrqとして矩形制御フィードバック演算したときの電圧位相指令θp*と、実際に出力されている実トルクTrを補正後トルクTrqとして矩形制御フィードバック演算したときの電圧位相指令θp*(理想的な電圧位相指令θpr)と、の時間変化の一例を示す説明図である。図中、実線は、理想的な電圧位相指令θp*の時間変化の一例である。破線は、推定出力トルクTrq1を補正後トルクTrqとして矩形制御フィードバック演算したときの電圧位相指令θp*の一例である。図6に示すように、推定出力トルクTrq1を補正後トルクTrqとして矩形制御フィードバック演算すると電圧位相指令θp*と理想的な電圧位相指令θprとが乖離する。実施例では、補正語トルクTrqを実トルクTmrに近づくことで、電圧位相指令θp*を理想的な電圧位相指令θprに近づけることができる。これにより、外乱によるモータ22の出力トルクの変動を抑制することができる。   FIG. 7 shows the voltage phase command θp * when the estimated output torque Trq1 is calculated as the corrected torque Trq by the rectangular control feedback calculation, and the actual output torque Tr that is actually output as the corrected torque Trq by the rectangular control feedback calculation. It is explanatory drawing which shows an example of the time change of voltage phase command (theta) p * (ideal voltage phase command (theta) pr). In the figure, the solid line is an example of the change over time of the ideal voltage phase command θp *. The broken line is an example of the voltage phase command θp * when the rectangular control feedback calculation is performed with the estimated output torque Trq1 as the corrected torque Trq. As shown in FIG. 6, when the estimated output torque Trq1 is used as the corrected torque Trq to perform the rectangular control feedback calculation, the voltage phase command θp * and the ideal voltage phase command θpr deviate. In the embodiment, the voltage phase command θp * can be brought closer to the ideal voltage phase command θpr by bringing the correction word torque Trq closer to the actual torque Tmr. As a result, fluctuations in the output torque of the motor 22 due to disturbance can be suppressed.

以上説明した実施例の駆動装置20によれば、矩形波制御モードでインバータ24を制御するときには、モータ22の各相の電流Iu,Iv,Iwとモータ22の回転角θmとを用いてトルク平均値Trq1_avを演算し、モータ22の各相の電流Iu,Iv,Iwとモータ22の各相の電圧Vu,Vv,Vwとモータ22の回転数Nmとを用いてモータ22のトルク変動量ΔTrq2を演算し、トルク平均値Trq1_avをトルク変動量ΔTrq2で補正したトルクをモータ22の出力トルクと推定し、推定した出力トルクを用いてモータ22が目標トルクTm*で駆動するようにインバータ34を制御することにより、矩形波制御モードと他の制御モードとの間で制御モードを切り替える際の出力トルクの急変を抑制すると共に、外乱によるモータ22の出力トルクの変動を抑制することができる。   According to the drive device 20 of the embodiment described above, when controlling the inverter 24 in the rectangular wave control mode, the torque average is calculated using the currents Iu, Iv, Iw of the respective phases of the motor 22 and the rotation angle θm of the motor 22. The value Trq1_av is calculated, and the torque fluctuation amount ΔTrq2 of the motor 22 is calculated using the currents Iu, Iv, Iw of the respective phases of the motor 22, the voltages Vu, Vv, Vw of the respective phases of the motor 22, and the rotation speed Nm of the motor 22. A torque obtained by calculating and correcting the torque average value Trq1_av with the torque fluctuation amount ΔTrq2 is estimated as the output torque of the motor 22, and the inverter 34 is controlled so that the motor 22 is driven with the target torque Tm * using the estimated output torque. As a result, it is possible to suppress a sudden change in the output torque when the control mode is switched between the rectangular wave control mode and another control mode, and to suppress a change in the output torque of the motor 22 due to disturbance.

実施例の駆動装置20では、ステップS140,S160の処理で、回転数Nm2の変動量ΔNmが所定変動量dNmrefを超えているか否かやトルク変動量ΔTrq1が所定トルク変動量dTrqrefを超えているか否かを判定しているが、ステップS140,S160の処理およびステップS150の処理を実行せずに、ステップS130の処理を実行した後に、ステップS170,S180の処理を実行してもよい。   In the drive device 20 of the embodiment, whether or not the variation amount ΔNm of the rotation speed Nm2 exceeds the predetermined variation amount dNmref or whether the torque variation amount ΔTrq1 exceeds the predetermined torque variation amount dTrqref in the processes of steps S140 and S160. Although it is determined whether or not the processing of steps S140 and S160 and the processing of step S150 are not executed, the processing of steps S170 and S180 may be executed after the processing of step S130.

実施例の主要な要素と課題を解決するための手段の欄に記載した発明の主要な要素との対応関係について説明する。実施例では、インバータ24が「インバータ」に相当し、制御装置50が「制御装置」に相当する。   Correspondence between the main elements of the embodiment and the main elements of the invention described in the column of means for solving the problem will be described. In the embodiment, the inverter 24 corresponds to the “inverter” and the control device 50 corresponds to the “control device”.

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

以上、本発明を実施するための形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において、種々なる形態で実施し得ることは勿論である。   Although the embodiments for carrying out the present invention have been described above with reference to the embodiments, the present invention is not limited to these embodiments, and various embodiments are possible within the scope not departing from the gist of the present invention. Of course, it can be implemented.

本発明は、モータ駆動装置の製造産業などに利用可能である。   INDUSTRIAL APPLICABILITY The present invention can be used in the manufacturing industry of motor drive devices.

20 駆動装置、22 モータ、22a 回転角度検出センサ、22u,22v,26b 電流センサ、24 インバータ、26 バッテリ、22b,22c,22d,26a 電圧センサ、50 制御装置、D11〜D16 ダイオード、T11〜T16 トランジスタ。   20 drive device, 22 motor, 22a rotation angle detection sensor, 22u, 22v, 26b current sensor, 24 inverter, 26 battery, 22b, 22c, 22d, 26a voltage sensor, 50 control device, D11 to D16 diode, T11 to T16 transistor ..

Claims (1)

モータを駆動するインバータと、
前記モータが目標トルクで駆動されるように矩形波制御モードを含む複数の制御モードで前記インバータを制御する制御装置と、
を備えるモータ駆動装置であって、
前記制御装置は、前記矩形波制御モードで前記インバータを制御するときには、前記モータの各相の電流と前記モータの回転角とを用いて前記モータのトルク平均値を演算し、前記モータの各相の電流と前記モータの各相の電圧と前記モータの回転数とを用いて前記モータのトルク変動量を演算し、前記トルク平均値を前記トルク変動量で補正したトルクを前記モータの出力トルクと推定し、前記推定した出力トルクを用いて前記モータが前記目標トルクで駆動するように前記インバータを制御する、
モータ駆動装置。
An inverter that drives the motor,
A control device for controlling the inverter in a plurality of control modes including a rectangular wave control mode so that the motor is driven at a target torque,
A motor drive device comprising:
When controlling the inverter in the rectangular wave control mode, the control device calculates a torque average value of the motor by using a current of each phase of the motor and a rotation angle of the motor to calculate each phase of the motor. Of the motor, the voltage of each phase of the motor, and the rotation speed of the motor are used to calculate the torque fluctuation amount of the motor, and the torque obtained by correcting the torque average value with the torque fluctuation amount is defined as the output torque of the motor. Estimating and controlling the inverter so that the motor is driven at the target torque using the estimated output torque,
Motor drive device.
JP2017029962A 2017-02-21 2017-02-21 Motor drive Expired - Fee Related JP6696456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017029962A JP6696456B2 (en) 2017-02-21 2017-02-21 Motor drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017029962A JP6696456B2 (en) 2017-02-21 2017-02-21 Motor drive

Publications (2)

Publication Number Publication Date
JP2018137869A JP2018137869A (en) 2018-08-30
JP6696456B2 true JP6696456B2 (en) 2020-05-20

Family

ID=63366146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017029962A Expired - Fee Related JP6696456B2 (en) 2017-02-21 2017-02-21 Motor drive

Country Status (1)

Country Link
JP (1) JP6696456B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7211242B2 (en) * 2019-04-18 2023-01-24 株式会社デンソー Modulation method switching device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007159368A (en) * 2005-12-08 2007-06-21 Toyota Motor Corp Control unit of motor drive system
JP4897521B2 (en) * 2007-03-12 2012-03-14 トヨタ自動車株式会社 AC motor drive control device
JP5368777B2 (en) * 2008-11-17 2013-12-18 トヨタ自動車株式会社 AC motor control device

Also Published As

Publication number Publication date
JP2018137869A (en) 2018-08-30

Similar Documents

Publication Publication Date Title
US10418929B2 (en) Synchronous machine control device and permanent magnet temperature estimation method for synchronous machine
JP2017139926A (en) Driving device
US9184681B2 (en) Vehicle including motor control device, and control method for vehicle
JP2013005618A (en) Inverter control device and vehicle
JP6777008B2 (en) Drive device
JP2018143054A (en) vehicle
JP5691955B2 (en) Drive device
JP6696456B2 (en) Motor drive
JP6760197B2 (en) Drive device
JP2012244740A (en) Drive unit
JP6772501B2 (en) Automobile
JP6332015B2 (en) Drive device
JP6733579B2 (en) Motor drive
JP6946988B2 (en) Drive device
JP2018050427A (en) Drive apparatus
JP6693442B2 (en) Motor drive
JP6862943B2 (en) Drive device
JP6708843B2 (en) Drive
JP6751496B2 (en) Drive
JP2020089054A (en) Electric vehicle
JP6760218B2 (en) Inverter device
JP6933118B2 (en) Drive device
JP6751495B2 (en) Automobile
JP2012223026A (en) Driving device
JP6939500B2 (en) Drive device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190529

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200325

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200406

R151 Written notification of patent or utility model registration

Ref document number: 6696456

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees