JP2019161701A - Power conversion apparatus - Google Patents

Power conversion apparatus Download PDF

Info

Publication number
JP2019161701A
JP2019161701A JP2018041145A JP2018041145A JP2019161701A JP 2019161701 A JP2019161701 A JP 2019161701A JP 2018041145 A JP2018041145 A JP 2018041145A JP 2018041145 A JP2018041145 A JP 2018041145A JP 2019161701 A JP2019161701 A JP 2019161701A
Authority
JP
Japan
Prior art keywords
value
current
duty
period
phase
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
JP2018041145A
Other languages
Japanese (ja)
Other versions
JP7067135B2 (en
Inventor
崇志 鈴木
Takashi Suzuki
崇志 鈴木
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2018041145A priority Critical patent/JP7067135B2/en
Publication of JP2019161701A publication Critical patent/JP2019161701A/en
Application granted granted Critical
Publication of JP7067135B2 publication Critical patent/JP7067135B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a power conversion apparatus with which efficiency of a rotary electric machine is improved in a case where the rotary electric machine is subjected to application of electricity by a plurality of inverters.SOLUTION: A control part comprises a current detection timing adjustment calculation part 74. The current detection timing adjustment calculation part 74 calculates first half duty command values Du_a, Dv_a, Dw_a and latter half duty command values Du_b, Dv_b, Dw_b in such a manner that not less than one half of inverters become reactive voltage vectors in not less than one half of the number of acquisition times at a current acquisition part. Further, the current detection timing adjustment calculation part 74 calculates the first half duty command values Du_a, Dv_a, Dw_a and the latter half duty command values Du_b, Dv_b, Dw_b in such a manner that a current value including current flowing through each inverter can be acquired by the current acquisition part at least one time in a control frequency for all the inverters.SELECTED DRAWING: Figure 7

Description

本発明は、電力変換装置に関する。   The present invention relates to a power conversion device.

従来、特許文献1、2に記載されているように、複数のインバータで回転電機としてのモータを通電する電力変換装置が知られている。この電力変換装置では、複数の各インバータに電流検出部としてのシャント抵抗が設けられている。   Conventionally, as described in Patent Documents 1 and 2, a power conversion device that energizes a motor as a rotating electrical machine with a plurality of inverters is known. In this power conversion device, a shunt resistor as a current detection unit is provided in each of the plurality of inverters.

特許第5920300号公報Japanese Patent No. 5920300 特開2017−22862号公報JP 2017-22862 A

各インバータにシャント抵抗が設けられるとき、インバータの数に応じて、シャント抵抗の数が増加する。シャント抵抗の数が増加するとき、シャント抵抗による損失が増加する。シャント抵抗による損失が増加すると、モータの効率が低下する。   When each inverter is provided with a shunt resistor, the number of shunt resistors increases according to the number of inverters. When the number of shunt resistors increases, the loss due to shunt resistors increases. As the loss due to shunt resistance increases, the efficiency of the motor decreases.

本発明の目的は、複数のインバータで回転電機を通電する場合において、回転電機の効率を向上させる電力変換装置を提供することにある。   The objective of this invention is providing the power converter device which improves the efficiency of a rotary electric machine, when supplying electricity to a rotary electric machine with a some inverter.

本発明の電力変換装置(1、2、3)は、複数の巻線組(81、82、83)を有する回転電機(80)を制御する。巻線組は、3相以上の巻線(811、812、813、821、822、823、831、832、833)を含む。電力変換装置(1、2、3)は、複数のインバータ(11、12、13)、電流検出部(21、22、23、24)、基準信号生成部(66)、制御部(60)および電流取得部(51、52、53、54)を備える。   The power converter (1, 2, 3) of the present invention controls a rotating electrical machine (80) having a plurality of winding sets (81, 82, 83). The winding set includes three or more phase windings (811, 812, 813, 821, 822, 823, 831, 832, 833). The power conversion device (1, 2, 3) includes a plurality of inverters (11, 12, 13), a current detection unit (21, 22, 23, 24), a reference signal generation unit (66), a control unit (60), and A current acquisition unit (51, 52, 53, 54) is provided.

インバータは、巻線組ごとに対応して設けられており、電源(9)から電力が供給される。インバータは、高電位側に設けられる高電位側スイッチング素子(111、112、113、121、122、123、131、132、133)を有する。また、インバータは、低電位側に設けられる低電位側スイッチング素子(114、115、116、124、125、126、134、135、136)を有する。   The inverter is provided corresponding to each winding group, and power is supplied from the power source (9). The inverter includes high potential side switching elements (111, 112, 113, 121, 122, 123, 131, 132, 133) provided on the high potential side. The inverter includes low potential side switching elements (114, 115, 116, 124, 125, 126, 134, 135, 136) provided on the low potential side.

電流検出部は、インバータおよび電源の共通配線(Lg1、Lg2、Lg3、Lg)に設けられている。
基準信号生成部は、搬送波である基準信号(P)を生成可能である。基準信号は、1周期の区間である基準信号周期(Tp)を有する。
The current detection unit is provided in the common wiring (Lg1, Lg2, Lg3, Lg) of the inverter and the power source.
The reference signal generation unit can generate a reference signal (P) that is a carrier wave. The reference signal has a reference signal period (Tp) that is an interval of one period.

制御部は、基準信号周期にインバータの数(Ni)を乗算した区間以上の周期である制御周期(Tc)毎に、基準信号およびデューティ指令値(Du、Dv、Dw)に基づき、高電位側スイッチング素子および低電位側スイッチング素子のオンオフ作動を制御する。
電流取得部は、制御周期毎に複数回、電流検出部が検出した電流値を取得する。
Based on the reference signal and the duty command value (Du, Dv, Dw) for each control cycle (Tc) that is a cycle equal to or longer than the interval obtained by multiplying the reference signal cycle by the number of inverters (Ni), the control unit The on / off operation of the switching element and the low potential side switching element is controlled.
The current acquisition unit acquires the current value detected by the current detection unit a plurality of times for each control cycle.

低電位側スイッチング素子が全オンであるとき、または、高電位側スイッチング素子が全オンであるときを無効電圧ベクトル(V0、V7)とする。制御周期または基準信号周期の前半期間におけるデューティ指令値を前半デューティ指令値とする。制御周期または基準信号周期の後半期間におけるデューティ指令値を後半デューティ指令値とする。   The invalid voltage vector (V0, V7) is when the low potential side switching element is fully on or when the high potential side switching element is fully on. The duty command value in the first half period of the control cycle or reference signal cycle is defined as the first half duty command value. The duty command value in the second half period of the control cycle or the reference signal cycle is set as the second half duty command value.

また、制御部は、電流検出タイミング調整演算部(74、274)を有する。
電流検出タイミング調整演算部は、電流取得部の取得回数の半数以上において、半数以上のインバータが無効電圧ベクトルとなるように、前半デューティ指令値および後半デューティ指令値を演算する。
また、電流検出タイミング調整演算部は、全てのインバータに対して、制御周期において少なくとも1回、それぞれのインバータに流れた電流を含む電流値を、電流取得部が取得可能となるように、前半デューティ指令値および後半デューティ指令値を演算する。
In addition, the control unit includes current detection timing adjustment calculation units (74, 274).
The current detection timing adjustment calculation unit calculates the first half duty command value and the second half duty command value so that more than half of the inverters become the invalid voltage vector in more than half of the number of acquisitions of the current acquisition unit.
In addition, the current detection timing adjustment calculation unit is configured so that the current acquisition unit can acquire the current value including the current flowing through each inverter at least once in the control cycle for all inverters. The command value and the latter half duty command value are calculated.

電流検出タイミング調整演算部により、複数のインバータが回転電機に通電する場合において、電流検出部の数が削減されつつ、電流取得部は、回転電機に流れる電流を取得可能になる。電流検出部の数を低減できるため、電流検出部による損失を低減でき、回転電機の効率が向上する。   When a plurality of inverters energize the rotating electrical machine by the current detection timing adjustment calculation unit, the current acquisition unit can acquire the current flowing through the rotating electrical machine while reducing the number of current detection units. Since the number of current detection units can be reduced, loss due to the current detection unit can be reduced, and the efficiency of the rotating electrical machine can be improved.

本実施形態による電動パワーステアリング装置を示す模式図。The schematic diagram which shows the electric power steering apparatus by this embodiment. 第1実施形態による電力変換装置の構成図。The lineblock diagram of the power converter by a 1st embodiment. 本実施形態による電力変換装置の制御部の構成を示すブロック図。The block diagram which shows the structure of the control part of the power converter device by this embodiment. 本実施形態による電力変換装置の制御部のPWMを説明する説明図。Explanatory drawing explaining PWM of the control part of the power converter device by this embodiment. 図4のV部拡大図。The V section enlarged view of FIG. オンされているスイッチング素子と電圧ベクトルパターンとの関係を説明する説明図である。It is explanatory drawing explaining the relationship between the switching element turned on and a voltage vector pattern. 第1実施形態による電力変換装置のデューティ変換部の構成を示すブロック図。The block diagram which shows the structure of the duty converter of the power converter device by 1st Embodiment. 第1実施形態による電力変換装置の電圧指令値補正部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the voltage command value correction | amendment part of the power converter device by 1st Embodiment. 第1実施形態による電力変換装置の電流検出タイミング調整演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 1st Embodiment. 第1実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 1st Embodiment, and the timing at which an electric current acquisition part acquires an electric current. 第1実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するための説明図。Explanatory drawing for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 1st Embodiment, and the timing when a current acquisition part acquires an electric current. 第1実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するための説明図。Explanatory drawing for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 1st Embodiment, and the timing when a current acquisition part acquires an electric current. 第1実施形態による電力変換装置の電流検出タイミング調整演算部の演算を説明するための説明図。Explanatory drawing for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 1st Embodiment. 第1実施形態による電力変換装置の相電流演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the phase current calculating part of the power converter device by 1st Embodiment. 第2実施形態による電力変換装置の構成図。The block diagram of the power converter device by 2nd Embodiment. 第2実施形態による電力変換装置のデューティ変換部の構成を示すブロック図。The block diagram which shows the structure of the duty converter of the power converter device by 2nd Embodiment. 第2実施形態による電力変換装置の電流検出期間確保演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection period ensuring calculating part of the power converter device by 2nd Embodiment. 第2実施形態による電力変換装置の電流検出タイミング調整演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 2nd Embodiment. 第2実施形態による電力変換装置の電流検出タイミング調整演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 2nd Embodiment. 第2実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するための説明図。Explanatory drawing for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 2nd Embodiment, and the timing when an electric current acquisition part acquires an electric current. 第3実施形態による電力変換装置の電流検出期間確保演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection period ensuring calculating part of the power converter device by 3rd Embodiment. 第3実施形態による電力変換装置の電流検出タイミング調整演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 3rd Embodiment. 第3実施形態による電力変換装置の電流検出タイミング調整演算部の演算を説明するためのフローチャート。The flowchart for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 3rd Embodiment. 第3実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するための説明図。Explanatory drawing for demonstrating the calculation of the electric current detection timing adjustment calculating part of the power converter device by 3rd Embodiment, and the timing when a current acquisition part acquires an electric current. 他の実施形態による電力変換装置の構成図。The block diagram of the power converter device by other embodiment. 他の実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するための説明図。Explanatory drawing for demonstrating the calculation of the current detection timing adjustment calculating part of the power converter device by other embodiment, and the timing when a current acquisition part acquires an electric current. 他の実施形態による電力変換装置の電流検出タイミング調整演算部の演算および電流取得部が電流を取得するタイミングを説明するための説明図。Explanatory drawing for demonstrating the calculation of the current detection timing adjustment calculating part of the power converter device by other embodiment, and the timing when a current acquisition part acquires an electric current.

以下、実施形態による電力変換装置およびこれを用いた電動パワーステアリング装置を図面に基づいて説明する。以下、複数の実施形態において、実質的に同一の構成には、同一の符号を付して説明を省略する。本実施形態という場合、複数の実施形態を包括する。本実施形態の電力変換装置は、回転電機としてのモータ80とともに、車両のステアリング操作をアシストする電動パワーステアリング装置8に用いられる。まず、電動パワーステアリング装置8について説明する。   Hereinafter, a power converter according to an embodiment and an electric power steering apparatus using the same will be described with reference to the drawings. Hereinafter, in a plurality of embodiments, substantially the same configuration is denoted by the same reference numeral, and description thereof is omitted. Reference to this embodiment encompasses a plurality of embodiments. The power converter of this embodiment is used for the electric power steering device 8 that assists the steering operation of the vehicle together with the motor 80 as a rotating electric machine. First, the electric power steering device 8 will be described.

図1に示すように、電動パワーステアリング装置8は、ステアリングシステム90に用いられる。ステアリングシステム90は、車両に搭載されており、ステアリングホイール91、ステアリングシャフト92、トルクセンサ94、ピニオンギア96、ラック軸97、車輪98および電動パワーステアリング装置8を備える。   As shown in FIG. 1, the electric power steering device 8 is used in a steering system 90. The steering system 90 is mounted on a vehicle and includes a steering wheel 91, a steering shaft 92, a torque sensor 94, a pinion gear 96, a rack shaft 97, wheels 98, and an electric power steering device 8.

ステアリングホイール91は、操舵部材であり、ステアリングシャフト92に接続されている。ステアリングホイール91を運転者が操作することによって入力されるトルクを操舵トルクとする。ステアリングシャフト92は、ピニオンギア96が先端に設けられている。   The steering wheel 91 is a steering member and is connected to the steering shaft 92. The torque input when the driver operates the steering wheel 91 is referred to as steering torque. The steering shaft 92 is provided with a pinion gear 96 at the tip.

トルクセンサ94は、操舵トルクを検出可能である。検出した操舵トルクは、モータ制御装置1の制御部60に出力される。ピニオンギア96は、ラック軸97に噛み合っている。ラック軸97は、ダイロッド等を介して一対の車輪98がラック軸97の両端に連結されている。   The torque sensor 94 can detect the steering torque. The detected steering torque is output to the control unit 60 of the motor control device 1. The pinion gear 96 is engaged with the rack shaft 97. The rack shaft 97 has a pair of wheels 98 connected to both ends of the rack shaft 97 via die rods or the like.

電動パワーステアリング装置8は、減速ギア89、回転電機としてのモータ80、回転角センサ84および電力変換装置としてのモータ制御装置1を備える。本実施形態の電動パワーステアリング装置8は、所謂「コラムアシストタイプ」である。また、電動パワーステアリング装置8は、モータ80の回転をラック軸97に伝える所謂「ラックアシストタイプ」としてもよい。   The electric power steering device 8 includes a reduction gear 89, a motor 80 as a rotating electric machine, a rotation angle sensor 84, and a motor control device 1 as a power conversion device. The electric power steering device 8 of the present embodiment is a so-called “column assist type”. The electric power steering device 8 may be a so-called “rack assist type” that transmits the rotation of the motor 80 to the rack shaft 97.

減速ギア89は、モータ80の回転を減速してステアリングシャフト92に伝える。電源としてのバッテリ9から電力がモータ80に供給され、モータ80が駆動する。モータ80により、減速ギア89が正逆回転する。また、モータ80により、運転者によるステアリングホイール91の操舵を補助するトルクが出力される。   The reduction gear 89 reduces the rotation of the motor 80 and transmits it to the steering shaft 92. Electric power is supplied to the motor 80 from the battery 9 as a power source, and the motor 80 is driven. The reduction gear 89 rotates forward and backward by the motor 80. Further, the motor 80 outputs torque that assists the driver in steering the steering wheel 91.

回転角センサ84は、例えば、レゾルバであり、モータ80の電気角θを検出可能である。検出された電気角θは、制御部60に出力される。また、回転角センサ84は、電気角θに基づいて、モータ80の回転角速度ωを演算可能である。   The rotation angle sensor 84 is a resolver, for example, and can detect the electrical angle θ of the motor 80. The detected electrical angle θ is output to the control unit 60. Further, the rotation angle sensor 84 can calculate the rotation angular velocity ω of the motor 80 based on the electrical angle θ.

(第1実施形態)
図2に示すように、モータ80は、3相の交流モータであり、ブラシレスモータである。モータ80は、2組の巻線組81、82を有する。一方の巻線組を第1巻線組81とする。他方の巻線組を第2巻線組82とする。
(First embodiment)
As shown in FIG. 2, the motor 80 is a three-phase AC motor and is a brushless motor. The motor 80 has two winding sets 81 and 82. One winding set is a first winding set 81. The other winding set is a second winding set 82.

第1巻線組81は、巻線としての第1U相コイル811、第1V相コイル812および第1W相コイル813を含む。第1コイル811−813は、一端が第1インバータ11と接続されており、他端が結線されている。   First winding set 81 includes a first U-phase coil 811, a first V-phase coil 812, and a first W-phase coil 813 as windings. The first coil 811-813 has one end connected to the first inverter 11 and the other end connected.

第2巻線組82は、巻線としての第2U相コイル821、第2V相コイル822および第2W相コイル823を含む。第2コイル821−823は、一端が第2インバータ12と接続されており、他端が結線されている。第1コイル811−813または第2コイル821−823に印加される電圧の平均値を中性点電圧とする。   Second winding set 82 includes a second U-phase coil 821, a second V-phase coil 822, and a second W-phase coil 823 as windings. One end of the second coil 821-823 is connected to the second inverter 12, and the other end is connected. The average value of the voltages applied to the first coil 811-813 or the second coil 821-823 is defined as a neutral point voltage.

モータ制御装置1は、第1インバータ11、第2インバータ12、コンデンサ29、電流検出部としてのシャント抵抗21−23、電流取得部としてのAD変換器51−53および制御部60を備える。モータ制御装置1は、モータ80の軸方向の一方側に設けられている。また、モータ80とモータ制御装置1とは、一体である。モータ制御装置1では、インバータ11、12の数は、巻線組81、82の数と同数設けられている。   The motor control device 1 includes a first inverter 11, a second inverter 12, a capacitor 29, a shunt resistor 21-23 as a current detection unit, an AD converter 51-53 as a current acquisition unit, and a control unit 60. The motor control device 1 is provided on one side of the motor 80 in the axial direction. Moreover, the motor 80 and the motor control apparatus 1 are integrated. In the motor control device 1, the number of inverters 11 and 12 is the same as the number of winding sets 81 and 82.

第1インバータ11は、第1巻線組81に対応して設けられており、3相インバータである。第1インバータ11は、複数の第1スイッチング素子111−116を有する。高電位側スイッチング素子としての第1スイッチング素子111−113は、高電位側に接続されている。低電位側スイッチング素子としての第1スイッチング素子114−116は、低電位側に接続されている。   The first inverter 11 is provided corresponding to the first winding set 81 and is a three-phase inverter. The first inverter 11 includes a plurality of first switching elements 111-116. The first switching elements 111 to 113 as high potential side switching elements are connected to the high potential side. The first switching elements 114 to 116 as low potential side switching elements are connected to the low potential side.

対になるU相の第1スイッチング素子111、114の接続点は、第1U相コイル811に接続されている。対になるV相の第1スイッチング素子112、115の接続点は、第1V相コイル812に接続されている。対になるW相の第1スイッチング素子113、116の接続点は、第1W相コイル813に接続されている。   The connection point of the U-phase first switching elements 111 and 114 that form a pair is connected to the first U-phase coil 811. A connection point between the paired V-phase first switching elements 112 and 115 is connected to the first V-phase coil 812. A connection point between the paired W-phase first switching elements 113 and 116 is connected to the first W-phase coil 813.

第2インバータ12は、第2巻線組82に対応して設けられており、3相インバータである。第2インバータ12は、複数の第2スイッチング素子121−126を有する。高電位側スイッチング素子としての第2スイッチング素子121−123は、高電位側に接続されている。低電位側スイッチング素子としての第2スイッチング素子124−126は、低電位側に接続されている。   The second inverter 12 is provided corresponding to the second winding set 82 and is a three-phase inverter. The second inverter 12 includes a plurality of second switching elements 121-126. Second switching elements 121-123 as high potential side switching elements are connected to the high potential side. Second switching elements 124 to 126 as low potential side switching elements are connected to the low potential side.

対になるU相の第2スイッチング素子121、124の接続点は、第2U相コイル821に接続されている。対になるV相の第2スイッチング素子122、125の接続点は、第2V相コイル822に接続されている。対になるW相の第2スイッチング素子123、126の接続点は、第2W相コイル823に接続されている。スイッチング素子111−116、121−126は、MOSFETである。なお、スイッチング素子111−116、121−126は、IGBTであってもよい。   A connection point of the U-phase second switching elements 121 and 124 to be paired is connected to the second U-phase coil 821. A connection point between the paired V-phase second switching elements 122 and 125 is connected to the second V-phase coil 822. A connection point of the paired W-phase second switching elements 123 and 126 is connected to the second W-phase coil 823. The switching elements 111-116 and 121-126 are MOSFETs. Note that the switching elements 111-116 and 121-126 may be IGBTs.

また、インバータ11、12は、バッテリ9と並列に接続されている。対応して設けられる巻線組81、82およびインバータ11、12の組み合わせを系統とする。第1巻線組81および第1インバータ11の組み合わせを第1系統とする。第2巻線組82および第2インバータ12の組み合わせを第2系統とする。   The inverters 11 and 12 are connected in parallel with the battery 9. A combination of winding sets 81 and 82 and inverters 11 and 12 provided corresponding to each other is a system. A combination of the first winding set 81 and the first inverter 11 is a first system. A combination of the second winding set 82 and the second inverter 12 is a second system.

コンデンサ29は、バッテリ9と並列に接続されている。また、コンデンサ29は、バッテリ9からのノーマルモードノイズを抑制する機能およびバッテリ9からの電圧の変動を平滑化する機能を有する。   The capacitor 29 is connected in parallel with the battery 9. Capacitor 29 has a function of suppressing normal mode noise from battery 9 and a function of smoothing voltage fluctuations from battery 9.

シャント抵抗21−23は、低電位側のインバータ11、12とバッテリ9の負極との間に設けられている。また、シャント抵抗21−23は、複数のインバータ11、12およびバッテリ9の共通経路にそれぞれ設けられている。シャント抵抗21−23に接続されているインバータ11、12の数をインバータ数Niとする。   The shunt resistor 21-23 is provided between the low potential side inverters 11 and 12 and the negative electrode of the battery 9. Further, the shunt resistors 21-23 are respectively provided on the common paths of the plurality of inverters 11, 12 and the battery 9. The number of inverters 11 and 12 connected to the shunt resistor 21-23 is defined as the inverter number Ni.

シャント抵抗21−23は、複数のインバータ11、12およびバッテリ9の共通配線であるグランドラインLg1−Lg3に流れる電流を検出可能である。第1実施形態において、シャント抵抗21−23の数は、第1巻線組81および第2巻線組82の相数と同数であり、3である。   The shunt resistors 21-23 can detect a current flowing through the ground lines Lg1-Lg3 which are common wires of the plurality of inverters 11, 12 and the battery 9. In the first embodiment, the number of shunt resistors 21-23 is the same as the number of phases of the first winding set 81 and the second winding set 82, and is three.

第1シャント抵抗21は、第1スイッチング素子114、第2スイッチング素子124およびバッテリ9の負極に共通する第1グランドラインLg1に設けられている。第1シャント抵抗21により、第1グランドラインLg1に流れる電流、すなわち、第1U相コイル811または第2U相コイル821に流れる電流が検出される。第1シャント抵抗21の両端電圧は、第1増幅回路41により増幅され、第1AD変換器51へ出力される。   The first shunt resistor 21 is provided on the first ground line Lg <b> 1 common to the first switching element 114, the second switching element 124, and the negative electrode of the battery 9. The first shunt resistor 21 detects a current flowing through the first ground line Lg1, that is, a current flowing through the first U-phase coil 811 or the second U-phase coil 821. The voltage across the first shunt resistor 21 is amplified by the first amplifier circuit 41 and output to the first AD converter 51.

第2シャント抵抗22は、第1スイッチング素子115、第2スイッチング素子125およびバッテリ9の負極に共通する第2グランドラインLg2に設けられている。第2シャント抵抗22により、第2グランドラインLg2に流れる電流、すなわち、第1V相コイル812または第2V相コイル822に流れる電流が検出される。第2シャント抵抗22の両端電圧は、第2増幅回路42により増幅され、第2AD変換器52へ出力される。   The second shunt resistor 22 is provided on the second ground line Lg2 common to the first switching element 115, the second switching element 125, and the negative electrode of the battery 9. The second shunt resistor 22 detects a current flowing through the second ground line Lg2, that is, a current flowing through the first V-phase coil 812 or the second V-phase coil 822. The voltage across the second shunt resistor 22 is amplified by the second amplifier circuit 42 and output to the second AD converter 52.

第3シャント抵抗23は、第1スイッチング素子116、第2スイッチング素子126およびバッテリ9の負極に共通する第3グランドラインLg3に設けられている。第3シャント抵抗23により、第3グランドラインLg3に流れる電流、すなわち、第1W相コイル813または第2W相コイル823に流れる電流が検出される。第3シャント抵抗23の両端電圧は、第3増幅回路43により増幅され、第3AD変換器53へ出力される。   The third shunt resistor 23 is provided on the third ground line Lg 3 that is common to the first switching element 116, the second switching element 126, and the negative electrode of the battery 9. The third shunt resistor 23 detects a current flowing through the third ground line Lg3, that is, a current flowing through the first W-phase coil 813 or the second W-phase coil 823. The voltage across the third shunt resistor 23 is amplified by the third amplifier circuit 43 and output to the third AD converter 53.

AD変換器51−53は、所定のサンプリング間隔で、シャント抵抗21−23が検出した電流値をそれぞれサンプルホールドする。AD変換器51−53は、制御部60の制御周期Tc毎に、シャント抵抗21−23が検出した電流値を複数回取得する。AD変換された電流は、制御部60へ出力される。図において、第1AD変換器51をAD1と記載する。第2AD変換器52をAD2と記載する。第3AD変換器53をAD3と記載する。   The AD converters 51 to 53 sample and hold the current values detected by the shunt resistors 21 to 23 at predetermined sampling intervals, respectively. The AD converter 51-53 acquires the current value detected by the shunt resistor 21-23 a plurality of times for each control cycle Tc of the control unit 60. The A / D converted current is output to the control unit 60. In the figure, the first AD converter 51 is referred to as AD1. The second AD converter 52 is referred to as AD2. The third AD converter 53 is referred to as AD3.

制御部60は、マイコンを主体として構成されており、CPU、読み出し可能な非一時的有形記録媒体、ROM、I/O、および、これらの構成を接続するバスライン等を備えている。各処理は、ROM等の実体的なメモリ装置に予め記憶されたプログラムをCPUで実行することによるソフトウェア処理であってもよいし、専用の電子回路によるハードウェア処理であってもよい。   The control unit 60 is configured mainly with a microcomputer, and includes a CPU, a readable non-transitory tangible recording medium, a ROM, an I / O, and a bus line that connects these configurations. Each process may be a software process by a CPU executing a program stored in advance in a substantial memory device such as a ROM, or may be a hardware process by a dedicated electronic circuit.

制御部60は、操舵トルク、電気角θおよびAD変換した電流に基づく電流フィードバック制御を行う。制御部60が制御を行う1区間を制御周期Tcとする。制御部60は、スイッチング素子111−116、121−126のオンオフ作動をPWM制御によって制御周期Tc毎に行う。   The control unit 60 performs current feedback control based on the steering torque, the electrical angle θ, and the A / D converted current. One section in which the control unit 60 performs control is defined as a control cycle Tc. The control unit 60 performs on / off operation of the switching elements 111-116 and 121-126 for each control cycle Tc by PWM control.

図3に示すように、制御部60は、相電流演算部61、3相2相変換部62、減算器63、64、制御器65、デューティ変換部70、基準信号生成部66および三角波比較部67を有する。   As shown in FIG. 3, the control unit 60 includes a phase current calculation unit 61, a three-phase two-phase conversion unit 62, subtractors 63 and 64, a controller 65, a duty conversion unit 70, a reference signal generation unit 66, and a triangular wave comparison unit. 67.

相電流演算部61は、AD変換器51−53が取得した電流からU相電流Iu、V相電流Iv、W相電流Iwを演算する。以下適宜、U相電流Iu、V相電流IvおよびW相電流Iwを3相電流Iu、Iv、Iwという。また、第1系統におけるU相電流Iu、V相電流IvおよびW相電流Iwを第1U相電流Iu1、第1V相電流Iv1および第1W相電流Iw1とそれぞれ適宜記載する。第2系統におけるU相電流Iu、V相電流IvおよびW相電流Iwを第2U相電流Iu2、第2V相電流Iv2および第2W相電流Iw2とそれぞれ適宜記載する。   The phase current calculation unit 61 calculates a U-phase current Iu, a V-phase current Iv, and a W-phase current Iw from the current acquired by the AD converters 51-53. Hereinafter, the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw are referred to as three-phase currents Iu, Iv, and Iw as appropriate. Further, the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw in the first system are appropriately described as a first U-phase current Iu1, a first V-phase current Iv1, and a first W-phase current Iw1, respectively. The U-phase current Iu, V-phase current Iv, and W-phase current Iw in the second system are appropriately described as a second U-phase current Iu2, a second V-phase current Iv2, and a second W-phase current Iw2, respectively.

3相2相変換部62は、電気角θに基づき、3相電流Iu、Iv、Iwをdq変換する。また、3相2相変換部62は、dq変換により、d軸電流検出値Idおよびq軸電流検出値Iqを演算する。   The three-phase to two-phase converter 62 performs dq conversion on the three-phase currents Iu, Iv, and Iw based on the electrical angle θ. Further, the three-phase / two-phase converter 62 calculates the d-axis current detection value Id and the q-axis current detection value Iq by dq conversion.

減算器63は、d軸電流指令値とd軸電流検出値Idとの偏差ΔIdを演算する。
減算器64は、q軸電流指令値とq軸電流検出値Iqとの偏差ΔIqを演算する。
制御器65は、偏差ΔId、ΔIqが0に収束するように、PI演算等により、第1コイル811−813および第2コイル821−823に印加される電圧に係る電圧指令値としてのd軸電圧指令値Vdおよびq軸電圧指令値Vqを演算する。
デューティ変換部70は、d軸電圧指令値Vdおよびq軸電圧指令値Vqに基づき、後述のデューティ指令値Du、Dv、Dw[%]を演算する。
The subtractor 63 calculates a deviation ΔId between the d-axis current command value and the d-axis current detection value Id.
The subtractor 64 calculates a deviation ΔIq between the q-axis current command value and the q-axis current detection value Iq.
The controller 65 sets the d-axis voltage as a voltage command value relating to the voltage applied to the first coil 811-813 and the second coil 821-823 by PI calculation or the like so that the deviations ΔId and ΔIq converge to 0. Command value Vd and q-axis voltage command value Vq are calculated.
The duty converter 70 calculates duty command values Du, Dv, and Dw [%], which will be described later, based on the d-axis voltage command value Vd and the q-axis voltage command value Vq.

基準信号生成部66は、デューティ指令値Du、Dv、Dwに対応する搬送波またはキャリアである基準信号Pを生成可能である。基準信号Pは、三角波信号であり、第1系統および第2系統それぞれに対して、生成される。第1系統に対応する基準信号Pを第1基準信号P1とする。第2系統に対応する基準信号Pを第2基準信号P2とする。   The reference signal generator 66 can generate a reference signal P that is a carrier wave or a carrier corresponding to the duty command values Du, Dv, Dw. The reference signal P is a triangular wave signal and is generated for each of the first system and the second system. The reference signal P corresponding to the first system is defined as the first reference signal P1. The reference signal P corresponding to the second system is set as the second reference signal P2.

三角波比較部67は、デューティ指令値Du、Dv、Dwと基準信号Pとを比較し、スイッチング素子111−116、121−126のオンオフを切り替える信号である制御信号を生成する。生成された制御信号が駆動回路28を経由してインバータ11、12に伝達され、制御部60は、スイッチング素子111−116、121−126のオンオフを制御する。   The triangular wave comparison unit 67 compares the duty command values Du, Dv, Dw and the reference signal P, and generates a control signal that is a signal for switching on and off the switching elements 111-116, 121-126. The generated control signal is transmitted to the inverters 11 and 12 via the drive circuit 28, and the control unit 60 controls on / off of the switching elements 111-116 and 121-126.

次に、制御部60のPWM制御について説明する。
図4に示すように、デューティ指令値Du、Dv、Dwと基準信号Pとが比較され、スイッチング素子111−116、121−126のオンオフ信号が生成される。図において、U相デューティ指令値Duを実線で示す。V相デューティ指令値Dvを破線で示す。W相デューティ指令値Dwを一点鎖線で示す。また、デューティ指令値Du、Dv、Dwおよび基準信号Pは0−100%の範囲とする。なお、デューティ指令値Du、Dv、Dwおよび基準信号Pの範囲は、任意に設定される。以下、第1スイッチング素子111−116の場合において、説明する。
Next, PWM control of the control unit 60 will be described.
As shown in FIG. 4, the duty command values Du, Dv, Dw and the reference signal P are compared, and on / off signals of the switching elements 111-116, 121-126 are generated. In the figure, the U-phase duty command value Du is indicated by a solid line. V-phase duty command value Dv is indicated by a broken line. W-phase duty command value Dw is indicated by a one-dot chain line. The duty command values Du, Dv, Dw and the reference signal P are in the range of 0-100%. Note that the ranges of the duty command values Du, Dv, Dw and the reference signal P are arbitrarily set. Hereinafter, the case of the first switching elements 111 to 116 will be described.

基準信号Pがデューティ指令値Du、Dv、Dwを上回る区間において、第1スイッチング素子111−113がオフとなり、対応する第1スイッチング素子114−116がオンとなる。また、基準信号Pがデューティ指令値Du、Dv、Dwを下回る区間において、第1スイッチング素子111−113がオンとなり、対応する第1スイッチング素子114−116がオフとなる。   In a section where the reference signal P exceeds the duty command values Du, Dv, Dw, the first switching elements 111-113 are turned off, and the corresponding first switching elements 114-116 are turned on. Further, in a section in which the reference signal P falls below the duty command values Du, Dv, Dw, the first switching elements 111-113 are turned on, and the corresponding first switching elements 114-116 are turned off.

図5に示すように、例えば、一区間K1では、基準信号Pは、V相デューティ指令値Dvよりも下に位置し、U相デューティ指令値DuおよびW相デューティ指令値Dwよりも上に位置している。このとき、V相については、第1スイッチング素子112がオンとなり、第1スイッチング素子115がオフとなる。U相およびW相については、第1スイッチング素子111、113がオフとなり、第1スイッチング素子114、116がオンとなる。   As shown in FIG. 5, for example, in one section K1, the reference signal P is located below the V-phase duty command value Dv and above the U-phase duty command value Du and the W-phase duty command value Dw. is doing. At this time, for the V phase, the first switching element 112 is turned on and the first switching element 115 is turned off. For the U phase and the W phase, the first switching elements 111 and 113 are turned off, and the first switching elements 114 and 116 are turned on.

図6に示すように、スイッチング素子111−116、121−126のオンオフの組み合わせは、V0−V7電圧ベクトルの8種類ある。低電位側の第1スイッチング素子114−116が全オンであるとき、または、低電位側の第2スイッチング素子124−126が全オンであるときを、V0電圧ベクトルとする。V0電圧ベクトルであるとき、第1インバータ11または第2インバータ12からシャント抵抗21−23に電流がそれぞれ流れる。   As shown in FIG. 6, there are eight types of V0-V7 voltage vectors for the on / off combinations of the switching elements 111-116 and 121-126. When the first switching element 114-116 on the low potential side is fully on, or when the second switching element 124-126 on the low potential side is fully on, the V0 voltage vector is set. When the voltage is the V0 voltage vector, current flows from the first inverter 11 or the second inverter 12 to the shunt resistor 21-23.

高電位側の第1スイッチング素子111−113が全オンであるとき、または、高電位側の第2スイッチング素子121−123が全オンであるときを、V7電圧ベクトルとする。V7電圧ベクトルであるとき、第1インバータ11または第2インバータ12からシャント抵抗21−23に電流が流れない。V0電圧ベクトルおよびV7電圧ベクトルを無効電圧ベクトルとする。無効電圧ベクトルのとき、線間電圧はゼロであり、モータ80に電圧は、印加されない。   The V7 voltage vector is set when the first switching element 111-113 on the high potential side is all on or when the second switching element 121-123 on the high potential side is all on. When the voltage vector is V7, no current flows from the first inverter 11 or the second inverter 12 to the shunt resistor 21-23. The V0 voltage vector and the V7 voltage vector are set as reactive voltage vectors. When the reactive voltage vector is used, the line voltage is zero and no voltage is applied to the motor 80.

V1電圧ベクトル、V3電圧ベクトルおよびV5電圧ベクトルを奇数電圧ベクトルとする。奇数電圧ベクトルのとき、高電位側の第1スイッチング素子111−113が1つオンされており、低電位側の第1スイッチング素子114−116が2つオンされている。または、奇数電圧ベクトルのとき、高電位側の第2スイッチング素子121−123が1つオンされており、低電位側の第2スイッチング素子124−126が2つオンされている。   The V1 voltage vector, the V3 voltage vector, and the V5 voltage vector are odd voltage vectors. When the voltage vector is an odd number, one first switching element 111-113 on the high potential side is turned on, and two first switching elements 114-116 on the low potential side are turned on. Alternatively, in the case of an odd voltage vector, one second switching element 121-123 on the high potential side is turned on, and two second switching elements 124-126 on the low potential side are turned on.

V2電圧ベクトル、V4電圧ベクトルおよびV6電圧ベクトルを偶数電圧ベクトルとする。偶数電圧ベクトルのとき、高電位側の第1スイッチング素子111−113が2つオンされており、低電位側の第1スイッチング素子114−116が1つオンされている。または、偶数電圧ベクトルのとき、高電位側の第2スイッチング素子121−123が2つオンされており、低電位側の第2スイッチング素子124−126が1つオンされている。   The V2 voltage vector, V4 voltage vector, and V6 voltage vector are even voltage vectors. When the voltage vector is an even number, two high-potential-side first switching elements 111-113 are turned on, and one low-potential-side first switching element 114-116 is turned on. Or, in the case of an even voltage vector, two high-potential-side second switching elements 121-123 are turned on, and one low-potential-side second switching element 124-126 is turned on.

V1−V6電圧ベクトルを有効電圧ベクトルとする。有効電圧ベクトルでは、高電位側の第1スイッチング素子111−113がオンの相と低電位側の第1スイッチング素子114−116がオンの相との間の相間に電圧が発生し、モータ80に電圧が印加される。または、有効電圧ベクトルでは、高電位側の第2スイッチング素子121−123がオンの相と低電位側の第2スイッチング素子124−126がオンの相との間の相間に電圧が発生し、モータ80に電圧が印加される。   The V1-V6 voltage vector is an effective voltage vector. In the effective voltage vector, a voltage is generated between the high-potential-side first switching elements 111-113 and the low-potential-side first switching elements 114-116 are turned on. A voltage is applied. Alternatively, in the effective voltage vector, a voltage is generated between the phase where the second switching element 121-123 on the high potential side is on and the phase where the second switching element 124-126 on the low potential side is on, and the motor A voltage is applied to 80.

従来、特許文献1、2に記載されているように、複数のインバータで回転電機としてのモータを通電する電力変換装置が知られている。この電力変換装置では、複数の各インバータに電流検出部としてのシャント抵抗が設けられている。各インバータにシャント抵抗が設けられるとき、インバータの数に応じて、シャント抵抗の数が増加する。シャント抵抗の数が増加するとき、シャント抵抗による損失が増加する。シャント抵抗による損失が増加すると、モータの効率が低下する。そこで、本実施形態の電力変換装置としてのモータ制御装置1では、複数のインバータ11、12がモータ80に通電する場合において、モータ80の効率が向上する。   Conventionally, as described in Patent Documents 1 and 2, a power conversion device that energizes a motor as a rotating electrical machine with a plurality of inverters is known. In this power conversion device, a shunt resistor as a current detection unit is provided in each of the plurality of inverters. When each inverter is provided with a shunt resistor, the number of shunt resistors increases according to the number of inverters. When the number of shunt resistors increases, the loss due to shunt resistors increases. As the loss due to shunt resistance increases, the efficiency of the motor decreases. Therefore, in the motor control device 1 as the power conversion device of the present embodiment, when the plurality of inverters 11 and 12 are energized to the motor 80, the efficiency of the motor 80 is improved.

基準信号Pの1周期の区間を基準信号周期Tpとする。基準信号周期Tpは、基準信号Pの谷から基準信号Pの谷までの区間、または、基準信号Pの山から基準信号Pの山までの区間である。制御周期Tcは、基準信号周期Tpにインバータ数Niを乗算した区間以上となるように、設定されている。   A section of one cycle of the reference signal P is defined as a reference signal cycle Tp. The reference signal period Tp is a section from the valley of the reference signal P to the valley of the reference signal P, or a section from the peak of the reference signal P to the peak of the reference signal P. The control cycle Tc is set to be equal to or longer than a section obtained by multiplying the reference signal cycle Tp by the inverter number Ni.

第1実施形態では、インバータ数Niが2である。制御周期Tcは、基準信号周期Tpの2倍以上である。第1実施形態では、制御周期Tcは、基準信号周期Tpの4倍とする。第1実施形態では、制御周期Tcを前半期間および後半期間の半分に分けている。   In the first embodiment, the number of inverters Ni is 2. The control period Tc is at least twice the reference signal period Tp. In the first embodiment, the control cycle Tc is four times the reference signal cycle Tp. In the first embodiment, the control cycle Tc is divided into half of the first half period and the second half period.

また、第1実施形態では、基準信号生成部66は、第2基準信号P2の位相が第1基準信号P1の位相に対して反転するように、基準信号Pを生成する。基準信号生成部66は、第2基準信号P2の位相が第1基準信号P1の位相に対して180度ずれるように、基準信号Pを生成する。   In the first embodiment, the reference signal generation unit 66 generates the reference signal P so that the phase of the second reference signal P2 is inverted with respect to the phase of the first reference signal P1. The reference signal generator 66 generates the reference signal P so that the phase of the second reference signal P2 is shifted by 180 degrees with respect to the phase of the first reference signal P1.

図7に示すように、デューティ変換部70は、電圧振幅演算部71、電圧指令値補正部72、2相3相変換部73および電流検出タイミング調整演算部74を有する。   As shown in FIG. 7, the duty converter 70 includes a voltage amplitude calculator 71, a voltage command value corrector 72, a two-phase / three-phase converter 73, and a current detection timing adjustment calculator 74.

電圧振幅演算部71は、d軸電圧指令値Vdおよびq軸電圧指令値Vqに基づいて、以下関係式(1)を用いて、電圧振幅Vomを演算する。演算された電圧振幅Vomは、電圧指令値補正部72および電流検出タイミング調整演算部74に出力される。

Figure 2019161701
Based on the d-axis voltage command value Vd and the q-axis voltage command value Vq, the voltage amplitude calculation unit 71 calculates the voltage amplitude Vom using the following relational expression (1). The calculated voltage amplitude Vom is output to the voltage command value correction unit 72 and the current detection timing adjustment calculation unit 74.
Figure 2019161701

電圧指令値補正部72は、d軸電圧指令値Vd、q軸電圧指令値Vqおよび電圧振幅Vomに基づいて、前半dq軸電圧指令値Vd_a、Vq_aおよび後半dq軸電圧指令値Vd_b、Vq_bを演算する。電圧振幅Vomの閾値を第1振幅閾値Vom_th1とする。第1振幅閾値Vom_th1は、後述のデューティ指令値Du、Dv、Dwの最大値と最小値との差に基づいて設定される。   The voltage command value correction unit 72 calculates the first half dq axis voltage command values Vd_a and Vq_a and the second half dq axis voltage command values Vd_b and Vq_b based on the d axis voltage command value Vd, the q axis voltage command value Vq and the voltage amplitude Vom. To do. The threshold value of the voltage amplitude Vom is defined as a first amplitude threshold value Vom_th1. The first amplitude threshold value Vom_th1 is set based on a difference between a maximum value and a minimum value of duty command values Du, Dv, and Dw described later.

図8のフローチャートを参照して、電圧指令値補正部72の演算について説明する。フローチャートにおいて、記号「S」は、ステップを意味する。   The calculation of the voltage command value correction unit 72 will be described with reference to the flowchart of FIG. In the flowchart, the symbol “S” means a step.

ステップ101において、電圧指令値補正部72は、電圧振幅Vomが第1振幅閾値Vom_th1よりも大きいか否かを判定する。電圧振幅Vomが第1振幅閾値Vom_th1よりも大きいとき、処理は、ステップ102に移行する。電圧振幅Vomが第1振幅閾値Vom_th1以下であるとき、処理は、ステップ103に移行する。   In step 101, the voltage command value correction unit 72 determines whether or not the voltage amplitude Vom is larger than the first amplitude threshold value Vom_th1. When the voltage amplitude Vom is larger than the first amplitude threshold Vom_th1, the process proceeds to step 102. When the voltage amplitude Vom is equal to or smaller than the first amplitude threshold Vom_th1, the process proceeds to step 103.

ステップ102において、電圧指令値補正部72は、以下関係式(2−1)−(2−4)を用いて、前半dq軸電圧指令値Vd_a、Vq_aおよび後半dq軸電圧指令値Vd_b、Vq_bを演算する。電圧指令値補正部72は、前半dq軸電圧指令値Vd_a、Vq_aおよび後半dq軸電圧指令値Vd_b、Vq_bの平均が電圧振幅Vomとなるように、演算している。なお、V_maxは、電圧振幅Vomの最も大きい値を示しており、シャント抵抗21−23による電流検出に必要なスイッチング素子111−116、121−126のオン時間または駆動回路28の特性に基づいて、設定される。   In step 102, the voltage command value correction unit 72 uses the following relational expressions (2-1)-(2-4) to calculate the first half dq axis voltage command values Vd_a and Vq_a and the second half dq axis voltage command values Vd_b and Vq_b. Calculate. The voltage command value correction unit 72 calculates the average of the first half dq-axis voltage command values Vd_a and Vq_a and the second half dq-axis voltage command values Vd_b and Vq_b to be the voltage amplitude Vom. V_max indicates the largest value of the voltage amplitude Vom. Based on the ON time of the switching elements 111-116 and 121-126 necessary for the current detection by the shunt resistor 21-23 or the characteristics of the drive circuit 28, Is set.

Vd_a=V_max/Vom×Vd ・・・(2−1)
Vq_a=V_max/Vom×Vq ・・・(2−2)
Vd_b=2×Vom−Vd_a ・・・(2−3)
Vq_b=2×Vom−Vq_a ・・・(2−4)
Vd_a = V_max / Vom × Vd (2-1)
Vq_a = V_max / Vom × Vq (2-2)
Vd_b = 2 × Vom−Vd_a (2-3)
Vq_b = 2 × Vom−Vq_a (2-4)

ステップ103において、電圧指令値補正部72は、以下関係式(3−1)−(3−4)を用いて、前半dq軸電圧指令値Vd_a、Vq_aおよび後半dq軸電圧指令値Vd_b、Vq_bを演算する。電圧指令値補正部72は、前半d軸電圧指令値Vd_aおよび後半d軸電圧指令値Vd_bがd軸電圧指令値Vdとなるように、演算する。電圧指令値補正部72は、前半q軸電圧指令値Vq_aおよび後半q軸電圧指令値Vq_bがq軸電圧指令値Vqとなるように、演算する。   In step 103, the voltage command value correction unit 72 uses the following relational expressions (3-1)-(3-4) to calculate the first half dq axis voltage command values Vd_a and Vq_a and the second half dq axis voltage command values Vd_b and Vq_b. Calculate. The voltage command value correction unit 72 calculates the first half d-axis voltage command value Vd_a and the second half d-axis voltage command value Vd_b to be the d-axis voltage command value Vd. The voltage command value correction unit 72 calculates the first half q-axis voltage command value Vq_a and the second half q-axis voltage command value Vq_b to be the q-axis voltage command value Vq.

Vd_a=Vd ・・・(3−1)
Vq_a=Vq ・・・(3−2)
Vd_b=Vd ・・・(3−3)
Vq_b=Vq ・・・(3−4)
Vd_a = Vd (3-1)
Vq_a = Vq (3-2)
Vd_b = Vd (3-3)
Vq_b = Vq (3-4)

2相3相変換部73は、前半dq軸電圧指令値Vd_a、Vq_aおよび後半dq軸電圧指令値Vd_b、Vq_bを電気角θに基づいて逆dq変換する。また、2相3相変換部72は、逆dq変換により、前半電圧指令値Vu_a、Vv_a、Vw_aおよび後半電圧指令値Vu_b、Vv_b、Vw_bを演算する。   The two-phase / three-phase conversion unit 73 performs inverse dq conversion on the first half dq axis voltage command values Vd_a and Vq_a and the second half dq axis voltage command values Vd_b and Vq_b based on the electrical angle θ. Further, the two-phase / three-phase converter 72 calculates the first half voltage command values Vu_a, Vv_a, Vw_a and the second half voltage command values Vu_b, Vv_b, Vw_b by inverse dq conversion.

電流検出タイミング調整演算部74は、制御周期TcにおいてAD変換器51−53の取得回数の半数以上において、半数以上のインバータ11、12が無効電圧ベクトルとなるように、中性点電圧を変更する。また、電流検出タイミング調整演算部74は、全てのインバータ11、12に対して、それぞれのインバータ11、12に流れた電流を含む電流値を、制御周期Tcにおいて少なくとも1回、AD変換器51−53が取得可能となるように、中性点電圧を変更する。電流検出タイミング調整演算部74により、AD変換器51−53は、全てのインバータ11、12に関する電流値を取得可能である。   The current detection timing adjustment calculation unit 74 changes the neutral point voltage so that the inverters 11 and 12 of the half or more become the invalid voltage vector in the control cycle Tc over the half of the number of acquisitions of the AD converters 51 to 53. . In addition, the current detection timing adjustment calculation unit 74 supplies the current values including the currents flowing through the inverters 11 and 12 to all the inverters 11 and 12 at least once in the control cycle Tc. The neutral point voltage is changed so that 53 can be acquired. With the current detection timing adjustment calculation unit 74, the AD converters 51 to 53 can acquire current values related to all the inverters 11 and 12.

なお、AD変換器51−53の取得回数が奇数であるとき、AD変換器51−53の取得回数を2で割ったときの商をAD変換器51−53の取得回数の半数とする。例えば、AD変換器51−53の取得回数が7回であるとき、AD変換器51−53の取得回数の半数は、3である。同様に、インバータ数Niが奇数であるとき、インバータ数Niを2で割ったときの商をインバータ数Niの半数とする。例えば、インバータ数Niが3であるとき、インバータ数Niの半数は、1である。   When the number of acquisitions of the AD converter 51-53 is an odd number, the quotient when the number of acquisitions of the AD converter 51-53 is divided by 2 is half of the number of acquisitions of the AD converter 51-53. For example, when the number of acquisition times of the AD converter 51-53 is 7, half of the number of acquisition times of the AD converter 51-53 is 3. Similarly, when the inverter number Ni is an odd number, the quotient when the inverter number Ni is divided by 2 is half of the inverter number Ni. For example, when the inverter number Ni is 3, half of the inverter number Ni is 1.

また、中性点電圧を変更しても、第1コイル811−813および第2コイル821−823に印加される線間電圧は変化しない。電流検出タイミング調整演算部74は、中性点電圧を変更し、前半デューティ指令値Du_a、Dv_a、Dw_a、および、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。   Further, even if the neutral point voltage is changed, the line voltage applied to the first coil 811-813 and the second coil 821-823 does not change. The current detection timing adjustment calculation unit 74 changes the neutral point voltage and calculates the first half duty command values Du_a, Dv_a, Dw_a and the second half duty command values Du_b, Dv_b, Dw_b.

図9および図10のフローチャートを参照して、電流検出タイミング調整演算部74の演算について説明する。   The calculation of the current detection timing adjustment calculation unit 74 will be described with reference to the flowcharts of FIGS.

ステップ201において、電流検出タイミング調整演算部74は、電圧振幅Vomが第2振幅閾値Vom_th2以下であるかを判定する。第2振幅閾値Vom_th2は、第1振幅閾値Vom_th1の半分以下となるように、設定されている。電圧振幅Vomが第2振幅閾値Vom_th2以下であるとき、処理は、ステップ202に移行する。電圧振幅Vomが第2振幅閾値Vom_th2を超えるとき、処理は、ステップ206に移行する。   In step 201, the current detection timing adjustment calculation unit 74 determines whether or not the voltage amplitude Vom is equal to or smaller than the second amplitude threshold value Vom_th2. The second amplitude threshold value Vom_th2 is set to be equal to or less than half of the first amplitude threshold value Vom_th1. When the voltage amplitude Vom is equal to or smaller than the second amplitude threshold Vom_th2, the process proceeds to step 202. When the voltage amplitude Vom exceeds the second amplitude threshold value Vom_th2, the process proceeds to step 206.

ステップ202では、前半期間において、電流検出タイミング調整演算部74は、第1系統および第2系統の最も小さい相のデューティがデューティ第1下限値x11となるように変調する。以下、最も小さい相のデューティが所定の値となるように変調する変調方法を下べた変調という。本実施形態では、デューティ第1下限値x11を7%とする。   In step 202, in the first half period, the current detection timing adjustment calculation unit 74 modulates the duty of the smallest phase of the first system and the second system to become the duty first lower limit value x11. Hereinafter, a modulation method for modulating the duty of the smallest phase to a predetermined value is referred to as subordinate modulation. In the present embodiment, the duty first lower limit value x11 is set to 7%.

また、後半期間において、電流検出タイミング調整演算部74は、第1系統および第2系統の最も大きい相のデューティがデューティ第1上限値x21となるように変調する。以下、最も大きい相のデューティが所定の値となるように変調する変調方法を「上べた変調」という。本実施形態では、デューティ第1上限値x21を93%とする。   Further, in the second half period, the current detection timing adjustment calculation unit 74 modulates the duty of the largest phase of the first system and the second system so as to become the duty first upper limit value x21. Hereinafter, a modulation method for modulating the duty of the largest phase to be a predetermined value is referred to as “super modulation”. In the present embodiment, the duty first upper limit value x21 is set to 93%.

ステップ203において、電流検出タイミング調整演算部74は、前半電圧指令値Vu_a、Vv_a、Vw_aおよび後半電圧指令値Vu_b、Vv_b、Vw_bに換算係数kを乗算する。本実施形態では、例えば、換算係数kを0.12の逆数とする。電流検出タイミング調整演算部74は、以下関係式(4−1)−(4−6)を満たすように、前半デューティ一時値Du_at、Dv_at、Dw_at、および、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   In step 203, the current detection timing adjustment calculation unit 74 multiplies the first half voltage command values Vu_a, Vv_a, Vw_a and the second half voltage command values Vu_b, Vv_b, Vw_b by a conversion coefficient k. In the present embodiment, for example, the conversion coefficient k is an inverse number of 0.12. The current detection timing adjustment calculation unit 74 calculates the first half duty temporary values Du_at, Dv_at, Dw_at and the second half duty temporary values Du_bt, Dv_bt, Dw_bt so that the following relational expressions (4-1)-(4-6) are satisfied. Calculate.

Du_at=Vu_a×k ・・・(4−1)
Dv_at=Vv_a×k ・・・(4−2)
Dw_at=Vw_a×k ・・・(4−3)
Du_bt=Vu_b×k ・・・(4−4)
Dv_bt=Vv_b×k ・・・(4−5)
Dw_bt=Vw_b×k ・・・(4−6)
Du_at = Vu_a × k (4-1)
Dv_at = Vv_a × k (4-2)
Dw_at = Vw_a × k (4-3)
Du_bt = Vu_b × k (4-4)
Dv_bt = Vv_b × k (4-5)
Dw_bt = Vw_b × k (4-6)

ステップ204において、電流検出タイミング調整演算部74は、前半デューティ一時値Du_at、Dv_at、Dw_atの中で、最も小さい値を前半最小値MinD_aとする。また、電流検出タイミング調整演算部74は、後半デューティ一時値Du_bt、Dv_bt、Dw_btの中で、最も大きい値を後半最大値MaxD_bとする。   In step 204, the current detection timing adjustment calculation unit 74 sets the smallest value among the first half duty temporary values Du_at, Dv_at, and Dw_at as the first half minimum value MinD_a. In addition, the current detection timing adjustment calculation unit 74 sets the largest value among the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt as the latter half maximum value MaxD_b.

ステップ205において、電流検出タイミング調整演算部74は、前半デューティ一時値Du_at、Dv_at、Dw_at、前半最小値MinD_aおよびデューティ第1下限値x11に基づいて、前半デューティ指令値Du_a、Dv_a、Dw_aを演算する。電流検出タイミング調整演算部74は、以下関係式(5−1)−(5−3)を満たすように、前半デューティ指令値Du_a、Dv_a、Dw_aを演算する。   In step 205, the current detection timing adjustment calculation unit 74 calculates the first half duty command values Du_a, Dv_a, Dw_a based on the first half duty temporary values Du_at, Dv_at, Dw_at, the first half minimum value MinD_a, and the duty first lower limit value x11. . The current detection timing adjustment calculation unit 74 calculates the first half duty command values Du_a, Dv_a, and Dw_a so as to satisfy the following relational expressions (5-1)-(5-3).

また、電流検出タイミング調整演算部74は、後半デューティ一時値Du_bt、Dv_bt、Dw_bt、後半最大値MaxD_bおよびデューティ第1上限値x21に基づいて、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。電流検出タイミング調整演算部74は、以下関係式(5−4)−(5−6)を満たすように、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。   The current detection timing adjustment calculation unit 74 calculates the latter half duty command values Du_b, Dv_b, and Dw_b based on the latter half duty temporary values Du_bt, Dv_bt, Dw_bt, the latter half maximum value MaxD_b, and the duty first upper limit value x21. The current detection timing adjustment calculation unit 74 calculates the latter half duty command values Du_b, Dv_b, and Dw_b so as to satisfy the following relational expressions (5-4)-(5-6).

Du_a=Du_at−MinD_a+x11 ・・・(5−1)
Dv_a=Dv_at−MinD_a+x11 ・・・(5−2)
Dw_a=Dw_at−MinD_a+x11 ・・・(5−3)
Du_b=Du_bt−MaxD_b+x21 ・・・(5−4)
Dv_b=Dv_bt−MaxD_b+x21 ・・・(5−5)
Dw_b=Dw_bt−MaxD_b+x21 ・・・(5−6)
Du_a = Du_at-MinD_a + x11 (5-1)
Dv_a = Dv_at−MinD_a + x11 (5-2)
Dw_a = Dw_at-MinD_a + x11 (5-3)
Du_b = Du_bt−MaxD_b + x21 (5-4)
Dv_b = Dv_bt−MaxD_b + x21 (5-5)
Dw_b = Dw_bt−MaxD_b + x21 (5-6)

図11に示すように、例えば、前半期間において、電流検出タイミング調整演算部74は、第1系統および第2系統の最も小さいデューティであるW相の前半デューティ指令値Dw_aがデューティ第1下限値x11となるように、下べた変調する。これにより、前半期間の時刻e11から時刻e12までの期間において、第1系統では、V0電圧ベクトルが確保される。第2系統では、V7電圧ベクトルが確保される。このとき、第2系統からの電流は流れず、第1系統からの電流がシャント抵抗21−23に流れる。時刻e11からe12までの期間において、AD変換器51−53は、シャント抵抗21−23が各電流値を取得する。このとき、AD変換器51−53は、第1系統の各相に流れる電流を取得する。   As shown in FIG. 11, for example, in the first half period, the current detection timing adjustment calculation unit 74 determines that the W-phase first half duty command value Dw_a, which is the smallest duty of the first system and the second system, is the duty first lower limit value x11. Modulate so that Thereby, in the period from the time e11 to the time e12 in the first half period, the V0 voltage vector is secured in the first system. In the second system, the V7 voltage vector is secured. At this time, the current from the second system does not flow, and the current from the first system flows to the shunt resistor 21-23. In the period from time e11 to e12, in the AD converter 51-53, the shunt resistor 21-23 acquires each current value. At this time, the AD converters 51 to 53 acquire currents flowing through the respective phases of the first system.

また、前半期間の時刻e13から時刻e14までの期間において、第1系統では、V7電圧ベクトルが確保される。第2系統では、V0電圧ベクトルが確保される。このとき、第1系統からの電流は流れず、第2系統からの電流がシャント抵抗21−23に流れる。時刻e13から時刻e14までの期間において、AD変換器51−53は、シャント抵抗21−23から各電流値を取得する。このとき、AD変換器51−53は、第2系統の各相に流れる電流を取得する。   In the first half period from time e13 to time e14, the V7 voltage vector is secured in the first system. In the second system, the V0 voltage vector is secured. At this time, the current from the first system does not flow, and the current from the second system flows to the shunt resistor 21-23. In the period from time e13 to time e14, the AD converter 51-53 acquires each current value from the shunt resistor 21-23. At this time, the AD converters 51 to 53 acquire currents flowing through the respective phases of the second system.

後半期間において、電流検出タイミング調整演算部74は、第1系統および第2系統の最も大きいデューティであるV相のデューティが最も大きい相のデューティがデューティ第1上限値x21となるように、上べた変調する。これにより、後半期間の時刻e15から時刻e16までの期間において、第1系統および第2系統の両系統では、V7電圧ベクトルが確保される。このとき、第1系統および第2系統からシャント抵抗21−23に電流は流れない。時刻e15から時刻e16までの期間において、AD変換器51−53は、シャント抵抗21−23から各電流値を取得する。これにより、取得した電流値のゼロ点を調整できる。   In the latter half of the period, the current detection timing adjustment calculation unit 74 has adjusted the duty of the phase having the largest V-phase duty, which is the largest duty of the first system and the second system, to the duty first upper limit value x21. Modulate. Thereby, in the period from the time e15 to the time e16 in the latter half period, the V7 voltage vector is secured in both the first system and the second system. At this time, no current flows from the first system and the second system to the shunt resistor 21-23. In the period from time e15 to time e16, the AD converter 51-53 acquires each current value from the shunt resistor 21-23. Thereby, the zero point of the acquired electric current value can be adjusted.

図9に戻って、ステップ206において、電流検出タイミング調整演算部74は、電圧振幅Vomが第1振幅閾値Vom_th1以下であるかを判定する。電圧振幅Vomが第1振幅閾値Vom_th1以下であるとき、すなわち、Vom_th2<Vom≦Vom_th1であるとき、処理は、ステップ207に移行する。電圧振幅Vomが第1振幅閾値Vom_th1を超えるとき、処理は、ステップ211に移行する。   Returning to FIG. 9, in step 206, the current detection timing adjustment calculation unit 74 determines whether or not the voltage amplitude Vom is equal to or smaller than the first amplitude threshold value Vom_th1. When the voltage amplitude Vom is equal to or smaller than the first amplitude threshold value Vom_th1, that is, when Vom_th2 <Vom ≦ Vom_th1, the process proceeds to step 207. When the voltage amplitude Vom exceeds the first amplitude threshold Vom_th1, the process proceeds to step 211.

ステップ207において、前半期間および後半期間において、電流検出タイミング調整演算部74は、第1系統および第2系統の最も小さい相のデューティがデューティ第1下限値x11となるように、下べた変調する。   In step 207, in the first half period and the second half period, the current detection timing adjustment calculation unit 74 performs downward modulation so that the duty of the smallest phase of the first system and the second system becomes the duty first lower limit value x11.

ステップ208において、電流検出タイミング調整演算部74は、関係式(4−1)−(4−6)を満たすように、前半デューティ一時値Du_at、Dv_at、Dw_at、および、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   In step 208, the current detection timing adjustment calculation unit 74 sets the first half duty temporary values Du_at, Dv_at, Dw_at and the second half duty temporary values Du_bt, Dv_bt so as to satisfy the relational expressions (4-1)-(4-6). , Dw_bt is calculated.

ステップ209において、電流検出タイミング調整演算部74は、前半デューティ一時値Du_at、Dv_at、Dw_atの中で、最も小さい値を前半最小値MinD_aとする。また、電流検出タイミング調整演算部74は、後半デューティ一時値Du_bt、Dv_bt、Dw_btの中で、最も小さい値を後半最小値MinD_bとする。   In step 209, the current detection timing adjustment calculation unit 74 sets the smallest value among the first half duty temporary values Du_at, Dv_at, and Dw_at as the first half minimum value MinD_a. In addition, the current detection timing adjustment calculation unit 74 sets the smallest value among the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt as the latter half minimum value MinD_b.

ステップ210において、電流検出タイミング調整演算部74は、前半デューティ一時値Du_at、Dv_at、Dw_at、前半最小値MinD_aおよびデューティ第1下限値x11に基づいて、前半デューティ指令値Du_a、Dv_a、Dw_aを演算する。電流検出タイミング調整演算部74は、以下関係式(6−1)−(6−3)を満たすように、前半デューティ指令値Du_a、Dv_a、Dw_aを演算する。   In step 210, the current detection timing adjustment calculation unit 74 calculates the first half duty command values Du_a, Dv_a, Dw_a based on the first half duty temporary values Du_at, Dv_at, Dw_at, the first half minimum value MinD_a, and the duty first lower limit value x11. . The current detection timing adjustment calculation unit 74 calculates the first half duty command values Du_a, Dv_a, and Dw_a so as to satisfy the following relational expressions (6-1)-(6-3).

また、電流検出タイミング調整演算部74は、後半デューティ一時値Du_bt、Dv_bt、Dw_bt、後半最小値MinD_bおよびデューティ第1下限値x11に基づいて、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。電流検出タイミング調整演算部74は、以下関係式(6−4)−(6−6)を満たすように、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。   The current detection timing adjustment calculation unit 74 calculates the latter half duty command values Du_b, Dv_b, and Dw_b based on the latter half duty temporary values Du_bt, Dv_bt, Dw_bt, the latter half minimum value MinD_b, and the duty first lower limit value x11. The current detection timing adjustment calculation unit 74 calculates the latter half duty command values Du_b, Dv_b, and Dw_b so as to satisfy the following relational expressions (6-4)-(6-6).

Du_a=Du_at−MinD_a+x11 ・・・(6−1)
Dv_a=Dv_at−MinD_a+x11 ・・・(6−2)
Dw_a=Dw_at−MinD_a+x11 ・・・(6−3)
Du_b=Du_bt−MinD_b+x11 ・・・(6−4)
Dv_b=Dv_bt−MinD_b+x11 ・・・(6−5)
Dw_b=Dw_bt−MinD_b+x11 ・・・(6−6)
Du_a = Du_at-MinD_a + x11 (6-1)
Dv_a = Dv_at−MinD_a + x11 (6-2)
Dw_a = Dw_at-MinD_a + x11 (6-3)
Du_b = Du_bt−MinD_b + x11 (6-4)
Dv_b = Dv_bt−MinD_b + x11 (6-5)
Dw_b = Dw_bt−MinD_b + x11 (6-6)

図12に示すように、例えば、前半期間および後半期間において、電流検出タイミング調整演算部74は、W相の前半デューティ指令値Dw_aおよび後半デューティ指令値Dw_bがデューティ第1下限値x11となるように、下べた変調する。なお、W相の前半デューティ指令値Dw_aおよび後半デューティ指令値Dw_bは、第1系統および第2系統の最も小さいデューティとする。   As shown in FIG. 12, for example, in the first half period and the second half period, the current detection timing adjustment calculation unit 74 causes the first half duty command value Dw_a and the second half duty command value Dw_b of the W phase to become the duty first lower limit value x11. , Modulation down. Note that the first-half duty command value Dw_a and the second-half duty command value Dw_b of the W phase are the smallest duties of the first system and the second system.

時刻e21から時刻e22までの期間において、第1系統では、V0電圧ベクトルが確保される。第2系統では、V7電圧ベクトルが確保される。このとき、第2系統からの電流は流れず、第1系統からの電流がシャント抵抗21−23に流れる。時刻e21から時刻e22までの期間において、AD変換器51−53は、シャント抵抗21−23から各電流値を取得する。このとき、AD変換器51−53は、第1系統の各相に流れる電流を取得する。   In the period from time e21 to time e22, the V0 voltage vector is secured in the first system. In the second system, the V7 voltage vector is secured. At this time, the current from the second system does not flow, and the current from the first system flows to the shunt resistor 21-23. In a period from time e21 to time e22, the AD converter 51-53 acquires each current value from the shunt resistor 21-23. At this time, the AD converters 51 to 53 acquire currents flowing through the respective phases of the first system.

時刻e23から時刻e24までの期間において、第1系統では、V7電圧ベクトルが確保される。第2系統では、V0電圧ベクトルが確保される。このとき、第1系統からの電流は流れず、第2系統からの電流がシャント抵抗21−23に流れる。時刻e23から時刻e24までの期間において、AD変換器51−53は、シャント抵抗21−23から各電流値を取得する。このとき、AD変換器51−53は、第2系統の各相に流れる電流を取得する。   In the period from time e23 to time e24, the V7 voltage vector is secured in the first system. In the second system, the V0 voltage vector is secured. At this time, the current from the first system does not flow, and the current from the second system flows to the shunt resistor 21-23. In the period from time e23 to time e24, the AD converter 51-53 acquires each current value from the shunt resistor 21-23. At this time, the AD converters 51 to 53 acquire currents flowing through the respective phases of the second system.

図10に戻って、ステップ211において、前半期間および後半期間において、電流検出タイミング調整演算部74は、第1系統および第2系統の最も大きい相のデューティがデューティ第2上限値x22となるように、上べた変調する。デューティ第2上限値x22は、デューティ第1上限値x21より大きく設定される値である。本実施形態では、デューティ第2上限値x22を100%とする。   Returning to FIG. 10, in step 211, in the first half period and the second half period, the current detection timing adjustment calculation unit 74 sets the duty of the largest phase of the first system and the second system to the duty second upper limit value x22. Modulate well. The duty second upper limit value x22 is a value set larger than the duty first upper limit value x21. In the present embodiment, the duty second upper limit value x22 is set to 100%.

ステップ212において、電流検出タイミング調整演算部74は、関係式(4−1)−(4−6)を満たすように、前半デューティ一時値Du_at、Dv_at、Dw_at、および、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   In step 212, the current detection timing adjustment calculation unit 74 satisfies the relational expressions (4-1)-(4-6) so that the first half duty temporary values Du_at, Dv_at, Dw_at and the second half duty temporary values Du_bt, Dv_bt , Dw_bt is calculated.

ステップ213において、電流検出タイミング調整演算部74は、前半デューティ一時値Du_at、Dv_at、Dw_atの中で、最も大きい値を前半最大値MaxD_aとする。また、電流検出タイミング調整演算部74は、後半デューティ一時値Du_bt、Dv_bt、Dw_btの中で、最も大きい値を後半最大値MaxD_bとする。   In step 213, the current detection timing adjustment calculation unit 74 sets the largest value among the first half duty temporary values Du_at, Dv_at, and Dw_at as the first half maximum value MaxD_a. In addition, the current detection timing adjustment calculation unit 74 sets the largest value among the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt as the latter half maximum value MaxD_b.

ステップ214において、電流検出タイミング調整演算部74は、前半デューティ一時値Du_at、Dv_at、Dw_at、前半最大値MaxD_aおよびデューティ第2上限値x22に基づいて、前半デューティ指令値Du_a、Dv_a、Dw_aを演算する。電流検出タイミング調整演算部74は、以下関係式(7−1)−(7−3)を満たすように、前半デューティ指令値Du_a、Dv_a、Dw_aを演算する。   In step 214, the current detection timing adjustment calculation unit 74 calculates the first half duty command values Du_a, Dv_a, Dw_a based on the first half duty temporary values Du_at, Dv_at, Dw_at, the first half maximum value MaxD_a, and the duty second upper limit value x22. . The current detection timing adjustment calculation unit 74 calculates the first half duty command values Du_a, Dv_a, and Dw_a so as to satisfy the following relational expressions (7-1) to (7-3).

また、電流検出タイミング調整演算部74は、後半デューティ一時値Du_bt、Dv_bt、Dw_bt、後半最大値MaxD_bおよびデューティ第2上限値x22に基づいて、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。電流検出タイミング調整演算部74は、以下関係式(7−4)−(7−6)を満たすように、後半デューティ指令値Du_b、Dv_b、Dw_bを演算する。   The current detection timing adjustment calculation unit 74 calculates the latter half duty command values Du_b, Dv_b, and Dw_b based on the latter half duty temporary values Du_bt, Dv_bt, Dw_bt, the latter half maximum value MaxD_b, and the duty second upper limit value x22. The current detection timing adjustment calculation unit 74 calculates the latter half duty command values Du_b, Dv_b, Dw_b so as to satisfy the following relational expressions (7-4)-(7-6).

Du_a=Du_at−MaxD_a+x22 ・・・(7−1)
Dv_a=Dv_at−MaxD_a+x22 ・・・(7−2)
Dw_a=Dw_at−MaxD_a+x22 ・・・(7−3)
Du_b=Du_bt−MaxD_b+x22 ・・・(7−4)
Dv_b=Dv_bt−MaxD_b+x22 ・・・(7−5)
Dw_b=Dw_bt−MaxD_b+x22 ・・・(7−6)
Du_a = Du_at−MaxD_a + x22 (7-1)
Dv_a = Dv_at−MaxD_a + x22 (7-2)
Dw_a = Dw_at−MaxD_a + x22 (7-3)
Du_b = Du_bt−MaxD_b + x22 (7-4)
Dv_b = Dv_bt−MaxD_b + x22 (7-5)
Dw_b = Dw_bt−MaxD_b + x22 (7-6)

図13に示すように、例えば、前半期間および後半期間において、電流検出タイミング調整演算部74は、V相の前半デューティ指令値Dv_aおよび後半デューティ指令値Dv_bがデューティ第2上限値x22となるように、上べた変調する。なお、V相の前半デューティ指令値Dv_aおよび後半デューティ指令値Dv_bは、第1系統および第2系統の最も大きい相のデューティとする。   As illustrated in FIG. 13, for example, in the first half period and the second half period, the current detection timing adjustment calculation unit 74 causes the V-phase first half duty command value Dv_a and the second half duty command value Dv_b to be the duty second upper limit value x22. Modulate well. Note that the V-phase first half duty command value Dv_a and the second half duty command value Dv_b are the duty of the largest phase of the first system and the second system.

時刻e31からe33までの期間において、第2系統では、V7電圧ベクトルが確保される。時刻e31からe33までの期間において、第1系統では、V3電圧ベクトルが確保される。すなわち、第1系統では、奇数電圧ベクトルが確保される。低電位側の第1スイッチング素子114−116が2つオンすることから、3相の電流の和が0になることを利用して3相の電流を取得する。   In the period from time e31 to e33, the V7 voltage vector is secured in the second system. In the period from time e31 to e33, the V3 voltage vector is secured in the first system. That is, an odd voltage vector is secured in the first system. Since two low-potential-side first switching elements 114-116 are turned on, the three-phase current is acquired by utilizing the fact that the sum of the three-phase currents becomes zero.

時刻e32において、第2系統からの電流は流れず、第1系統からの電流がシャント抵抗21−23に流れる。時刻e32において、AD変換器51−53は、シャント抵抗21−23から各電流値を取得する。このとき、AD変換器51−53は、第1系統の低電位側の第1スイッチング素子114−116がオンしている相に流れる電流を取得する。そして、残りの相の電流を3相の電流の和が0になることを利用して3相の電流を演算する。   At time e32, the current from the second system does not flow, and the current from the first system flows to the shunt resistor 21-23. At time e32, the AD converter 51-53 acquires each current value from the shunt resistor 21-23. At this time, the AD converter 51-53 acquires the current flowing through the phase in which the first switching element 114-116 on the low potential side of the first system is on. Then, the three-phase current is calculated using the fact that the sum of the three-phase currents becomes 0 for the remaining phase currents.

時刻e34からe36までの期間において、第1系統では、V7電圧ベクトルが確保される。時刻e34からe36までの期間において、第2系統では、V3電圧ベクトルが確保される。すなわち、第2系統では、奇数電圧ベクトルが確保される。低電位側の第2スイッチング素子124−126が2つオンすることから、3相の電流の和が0になることを利用して3相の電流を取得する。   In the period from time e34 to e36, the V7 voltage vector is secured in the first system. In the period from time e34 to e36, the V3 voltage vector is secured in the second system. That is, an odd voltage vector is secured in the second system. Since the two second switching elements 124 to 126 on the low potential side are turned on, the three-phase current is acquired by utilizing the fact that the sum of the three-phase currents becomes zero.

時刻e35において、第1系統からの電流は流れず、第2系統からの電流がシャント抵抗21−23に流れる。時刻e35において、AD変換器51−53は、シャント抵抗21−23から各電流値を取得する。このとき、AD変換器51−53は、第2系統の低電位側の第2スイッチング素子124−126がオンしている相に流れる電流を取得する。そして、残りの相の電流を3相の電流の和が0になることを利用して3相の電流を演算する。   At time e35, the current from the first system does not flow, and the current from the second system flows to the shunt resistor 21-23. At time e35, the AD converter 51-53 obtains each current value from the shunt resistor 21-23. At this time, the AD converter 51-53 acquires the current flowing through the phase in which the second switching element 124-126 on the low potential side of the second system is on. Then, the three-phase current is calculated using the fact that the sum of the three-phase currents becomes 0 for the remaining phase currents.

また、後半期間において、電流検出タイミング調整演算部74は、後半デューティ指令値Dw_bがデューティ第2下限値x12となるように、下べた変調してもよい。なお、後半デューティ指令値Dw_bは、第1系統および第2系統の最も小さい相のデューティとする。これにより、モータ80に係る電圧をさらに大きくできる。デューティ第2下限値x12は、デューティ第1下限値x11よりも小さく設定される値である。本実施形態では、デューティ第2下限値x12を0%とする。   In the second half period, the current detection timing adjustment calculation unit 74 may perform a lower modulation so that the second half duty command value Dw_b becomes the duty second lower limit value x12. The latter half duty command value Dw_b is the duty of the smallest phase of the first system and the second system. Thereby, the voltage concerning the motor 80 can be further increased. The duty second lower limit value x12 is a value set smaller than the duty first lower limit value x11. In the present embodiment, the duty second lower limit value x12 is set to 0%.

このように、電流検出タイミング調整演算部74の中性点電圧操作により、第1系統および第2系統に流れる電流をそれぞれ取得可能なタイミングが調整される。第1実施形態では、AD変換器51−53の取得回数は、2または3である。AD変換器51−53の取得回数の半数は、1である。インバータ数Niの半数は、1である。AD変換器51−53が電流値を1回以上において、1つ以上のインバータ11、12が無効電圧ベクトルとなっている。また、AD変換器51−53は、いずれのインバータ11、12に流れた電流を含む電流値を制御周期Tcにおいて、1回取得している。   In this manner, the timing at which the currents flowing through the first system and the second system can be acquired by the neutral point voltage operation of the current detection timing adjustment calculation unit 74 is adjusted. In the first embodiment, the number of acquisition times of the AD converters 51 to 53 is 2 or 3. Half of the number of acquisitions of the AD converters 51 to 53 is 1. Half of the inverter number Ni is one. When the AD converter 51-53 has a current value of one or more times, one or more inverters 11 and 12 are reactive voltage vectors. In addition, the AD converters 51 to 53 obtain a current value including the current flowing through any of the inverters 11 and 12 once in the control cycle Tc.

また、第1系統で、V0電圧ベクトルが確保され、第2系統で、V7電圧ベクトルが確保されたときに、第1AD変換器51が取得した電流値を第1U相検出値ADU1とする。同様に、第2AD変換器52が取得した電流値を第1V相検出値ADV1とする。第3AD変換器53が取得した電流値を第1W相検出値ADW1とする。   The current value acquired by the first AD converter 51 when the V0 voltage vector is secured in the first system and the V7 voltage vector is secured in the second system is defined as the first U-phase detection value ADU1. Similarly, the current value acquired by the second AD converter 52 is set as a first V-phase detection value ADV1. The current value acquired by the third AD converter 53 is defined as a first W-phase detection value ADW1.

さらに、第1系統で、V7電圧ベクトルが確保され、第2系統で、V0電圧ベクトルが確保されたときに、第1AD変換器51が取得した電流値を第2U相検出値ADU2とする。同様に、第2AD変換器52が取得した電流値を第2V相検出値ADV2とする。第3AD変換器53が取得した電流値を第2W相検出値ADW2とする。   Furthermore, the current value acquired by the first AD converter 51 when the V7 voltage vector is secured in the first system and the V0 voltage vector is secured in the second system is set as the second U-phase detection value ADU2. Similarly, the current value acquired by the second AD converter 52 is set as a second V-phase detection value ADV2. The current value acquired by the third AD converter 53 is set as a second W-phase detection value ADW2.

第1系統および第2系統の両系統において、V7電圧ベクトルが確保されたときに、第1AD変換器51が取得した電流値を第3U相検出値ADU3とする。同様に、第2AD変換器52が取得した電流値を第3V相検出値ADV3とする。第3AD変換器53が取得した電流値を第3W相検出値ADW3とする。相電流演算部61は、これらの検出値から3相電流Iu、Iv、Iwを演算する。   In both the first system and the second system, the current value acquired by the first AD converter 51 when the V7 voltage vector is secured is set as the third U-phase detection value ADU3. Similarly, the current value acquired by the second AD converter 52 is set as a third V-phase detection value ADV3. The current value acquired by the third AD converter 53 is set as a third W-phase detection value ADW3. The phase current calculation unit 61 calculates three-phase currents Iu, Iv, and Iw from these detected values.

図14のフローチャートを参照して、相電流演算部61の演算について説明する。
ステップ301において、相電流演算部61は、電圧振幅Vomが第2振幅閾値Vom_th2以下であるかを判定する。電圧振幅Vomが第2振幅閾値Vom_th2以下であるとき、処理は、ステップ302に移行する。電圧振幅Vomが第2振幅閾値Vom_th2を超えるとき、処理は、ステップ303に移行する。
The calculation of the phase current calculation unit 61 will be described with reference to the flowchart of FIG.
In step 301, the phase current calculation unit 61 determines whether the voltage amplitude Vom is equal to or smaller than the second amplitude threshold value Vom_th2. When the voltage amplitude Vom is equal to or smaller than the second amplitude threshold value Vom_th2, the process proceeds to step 302. When the voltage amplitude Vom exceeds the second amplitude threshold value Vom_th2, the process proceeds to step 303.

ステップ302において、相電流演算部61は、以下関係式(8−1)−(8−3)となるように、第3U相検出値ADU3に基づいて、U相オフセット値Iu_oftを演算する。相電流演算部61は、第3V相検出値ADV3に基づいて、V相オフセット値Iv_oftを演算する。相電流演算部61は、第3W相検出値ADW3に基づいて、W相オフセット値Iw_oftを演算する。制御周期Tcにおけるn番目のU相オフセット値Iu_oft、V相オフセット値Iv_oftおよびW相オフセット値Iw_oftをIu_oft(n)、Iv_oft(n)およびIw_oft(n)とする。なお、nは、自然数である。初期状態におけるU相オフセット値Iu_oft、V相オフセット値Iv_oftおよびW相オフセット値Iw_oftを、Iu_oft(0)、Iv_oft(0)およびIw_oft(0)とする。Iu_oft(0)、Iv_oft(0)およびIw_oft(0)は、任意の値に設定される。   In step 302, the phase current calculation unit 61 calculates the U-phase offset value Iu_oft based on the third U-phase detection value ADU3 so as to satisfy the following relational expressions (8-1)-(8-3). The phase current calculation unit 61 calculates the V-phase offset value Iv_oft based on the third V-phase detection value ADV3. The phase current calculation unit 61 calculates the W-phase offset value Iw_oft based on the third W-phase detection value ADW3. The n-th U-phase offset value Iu_of, the V-phase offset value Iv_of, and the W-phase offset value Iw_of in the control cycle Tc are defined as Iu_of (n), Iv_of (n), and Iw_of (n). Note that n is a natural number. The U-phase offset value Iu_of, the V-phase offset value Iv_oft, and the W-phase offset value Iw_of in the initial state are set as Iu_ft (0), Iv_oft (0), and Iw_oft (0). Iu_of (0), Iv_of (0) and Iw_oft (0) are set to arbitrary values.

Iu_oft(n)=(Iu_oft(n−1)+ADU3)/2 ・・・(8−1)
Iv_oft(n)=(Iv_oft(n−1)+ADV3)/2 ・・・(8−2)
Iw_oft(n)=(Iw_oft(n−1)+ADW3)/2 ・・・(8−3)
Iu_of (n) = (Iu_of (n−1) + ADU3) / 2 (8-1)
Iv_of (n) = (Iv_of (n−1) + ADV3) / 2 (8-2)
Iw_of (n) = (Iw_of (n−1) + ADW3) / 2 (8-3)

ステップ303において、相電流演算部61は、以下関係式(8−4)−(8−6)で表すように、U相オフセット値Iu_oft、V相オフセット値Iv_oftおよびW相オフセット値Iw_oftを演算する。   In step 303, the phase current calculation unit 61 calculates the U-phase offset value Iu_oft, the V-phase offset value Iv_of and the W-phase offset value Iw_oft as represented by the following relational expressions (8-4)-(8-6). .

Iu_oft(n)=Iu_oft(n−1) ・・・(8−4)
Iv_oft(n)=Iv_oft(n−1) ・・・(8−5)
Iw_oft(n)=Iw_oft(n−1) ・・・(8−6)
Iu_of (n) = Iu_of (n−1) (8-4)
Iv_of (n) = Iv_of (n−1) (8-5)
Iw_of (n) = Iw_of (n−1) (8-6)

ステップ304において、相電流演算部61は、以下関係式(9−1)−(9−6)となるように、第1U相電流Iu1、第1V相電流Iv1、第1W相電流Iw1、第2U相電流Iu2、第2V相電流Iv2および第2W相電流Iw2を演算する。   In step 304, the phase current calculation unit 61 sets the first U-phase current Iu1, the first V-phase current Iv1, the first W-phase current Iw1, and the second U so that the following relational expressions (9-1)-(9-6) are satisfied. The phase current Iu2, the second V-phase current Iv2, and the second W-phase current Iw2 are calculated.

Iu1=ADU1−Iu_oft(n) ・・・(9−1)
Iv1=ADV1−Iv_oft(n) ・・・(9−2)
Iw1=ADW1−Iw_oft(n) ・・・(9−3)
Iu2=ADU2−Iu_oft(n) ・・・(9−4)
Iv2=ADV2−Iv_oft(n) ・・・(9−5)
Iw2=ADW2−Iw_oft(n) ・・・(9−6)
Iu1 = ADU1-Iu_of (n) (9-1)
Iv1 = ADV1-Iv_of (n) (9-2)
Iw1 = ADW1-Iw_of (n) (9-3)
Iu2 = ADU2-Iu_of (n) (9-4)
Iv2 = ADV2-Iv_of (n) (9-5)
Iw2 = ADW2-Iw_of (n) (9-6)

[1]電流検出タイミング調整演算部74の調整により、複数のインバータ11、12がモータ80に通電する場合において、シャント抵抗21−23の数が削減されつつ、AD変換器51−53は、モータ80の各巻線に流れる電流を取得可能になる。シャント抵抗21−23の数を低減できるため、シャント抵抗21−23による損失を低減でき、モータ80の効率が向上する。 [1] When the plurality of inverters 11 and 12 energize the motor 80 by adjustment of the current detection timing adjustment calculation unit 74, the AD converters 51 to 53 are connected to the motor while the number of shunt resistors 21 to 23 is reduced. The current flowing through each of the 80 windings can be acquired. Since the number of shunt resistors 21-23 can be reduced, loss due to the shunt resistors 21-23 can be reduced, and the efficiency of the motor 80 is improved.

[2]基準信号生成部66は、第2基準信号P2の位相が第1基準信号P1の位相に対して反転するように、基準信号Pを生成する。これにより、電流検出タイミング調整演算部74は、制御周期TcにおいてAD変換器51−53の取得回数の半数以上において、半数以上のインバータ11、12が無効電圧ベクトルとなるように、中性点電圧を変更しやすくなる。 [2] The reference signal generator 66 generates the reference signal P so that the phase of the second reference signal P2 is inverted with respect to the phase of the first reference signal P1. Thereby, the current detection timing adjustment calculation unit 74 performs neutral point voltage so that the inverters 11 and 12 of the half or more become the invalid voltage vector in the control cycle Tc in the half or more of the number of acquisitions of the AD converter 51-53. It becomes easy to change.

[3]第3U相検出値ADU3、第3V相検出値ADV3および第3W相検出値ADW3を用いて、相電流演算部61は、3相電流Iu、Iv、Iwを演算する。これにより、取得した電流値のゼロ点が調整される。このため、3相電流Iu、Iv、Iwの正確度が向上する。 [3] Using the third U-phase detection value ADU3, the third V-phase detection value ADV3, and the third W-phase detection value ADW3, the phase current calculation unit 61 calculates the three-phase currents Iu, Iv, and Iw. Thereby, the zero point of the acquired current value is adjusted. For this reason, the accuracy of the three-phase currents Iu, Iv, and Iw is improved.

[4]電流検出タイミング調整演算部74は、制御周期Tcにおいて、一方のインバータ11、12がV7電圧ベクトルとなるように、中性点電圧を調整する。また、電流検出タイミング調整演算部74は、他方のインバータ11、12における低電位側のスイッチング素子114−116、124−126の2つ以上がオンとなるように、中性点電圧を調整する。これにより、制御周期Tcにおいて、モータ80に係る電圧を比較的大きくできる。 [4] The current detection timing adjustment calculation unit 74 adjusts the neutral point voltage so that one of the inverters 11 and 12 becomes the V7 voltage vector in the control cycle Tc. In addition, the current detection timing adjustment calculation unit 74 adjusts the neutral point voltage so that two or more of the low potential side switching elements 114-116, 124-126 in the other inverters 11, 12 are turned on. Thereby, the voltage concerning the motor 80 can be made relatively large in the control cycle Tc.

(第2実施形態)
第2実施形態では、1つの電流検出部を備えており、基準信号生成部の処理、制御部のデューティ変換部の構成および処理が異なる点を除き、第1実施形態と同様である。
(Second Embodiment)
The second embodiment includes a single current detection unit, and is the same as the first embodiment except that the processing of the reference signal generation unit and the configuration and processing of the duty conversion unit of the control unit are different.

図15に示すように、第2実施形態のモータ制御装置2は、電流検出部として、1つのシャント抵抗24を備えている。シャント抵抗24は、複数のインバータ11、12およびバッテリ9の共通配線であるグランドラインLgに流れる電流、すなわち、第1コイル811−813または第2コイル821−823のそれぞれに流れる電流を検出可能である。また、モータ制御装置2は、シャント抵抗24に対応する増幅回路44およびAD変換器54をさらに備える。   As shown in FIG. 15, the motor control device 2 according to the second embodiment includes one shunt resistor 24 as a current detection unit. The shunt resistor 24 can detect the current flowing through the ground line Lg that is a common wiring of the plurality of inverters 11 and 12 and the battery 9, that is, the current flowing through each of the first coil 811-813 or the second coil 821-823. is there. The motor control device 2 further includes an amplifier circuit 44 and an AD converter 54 corresponding to the shunt resistor 24.

第2実施形態においても、制御周期Tcは、基準信号周期Tpの4倍とする。また、第2実施形態では、基準信号生成部66は、第2基準信号P2の位相が第1基準信号P1の位相に対して同位相となるように、基準信号Pを生成する。さらに、基準信号周期Tpを前半期間および後半期間の半分に分けている。   Also in the second embodiment, the control cycle Tc is four times the reference signal cycle Tp. In the second embodiment, the reference signal generator 66 generates the reference signal P so that the phase of the second reference signal P2 is the same as the phase of the first reference signal P1. Further, the reference signal period Tp is divided into half of the first half period and the second half period.

図16に示すように、第2実施形態のデューティ変換部270は、電圧指令値演算部としての2相3相変換部271、デューティ換算部272、電流検出期間確保演算部273および電流検出タイミング調整演算部274を有する。   As shown in FIG. 16, the duty converter 270 of the second embodiment includes a two-phase / three-phase converter 271 as a voltage command value calculator, a duty converter 272, a current detection period ensuring calculator 273, and a current detection timing adjustment. A calculation unit 274 is included.

2相3相変換部271は、dq軸電圧指令値Vd、Vqを電気角θに基づいて逆dq変換する。また、2相3相変換部271は、逆dq変換により、電圧指令値Vu、Vv、Vwを演算する。
デューティ換算部272は、電圧指令値Vu、Vv、Vwをデューティ換算値Du_r、Dv_r、Dw_rに換算する。
The two-phase / three-phase converter 271 performs inverse dq conversion on the dq axis voltage command values Vd and Vq based on the electrical angle θ. The two-phase / three-phase converter 271 calculates voltage command values Vu, Vv, and Vw by inverse dq conversion.
The duty converter 272 converts the voltage command values Vu, Vv, and Vw into duty converted values Du_r, Dv_r, and Dw_r.

電流検出期間確保演算部273は、第1系統または第2系統に流れる電流をそれぞれ取得可能な期間を確保可能となるように、デューティ換算値Du_r、Dv_r、Dw_rを補正する。この補正のため、電流検出期間確保演算部273は、最大補正値C_max、中間補正値C_mid、最小補正値C_minを演算する。電流検出期間確保演算部273は、最大補正値C_max、中間補正値C_mid、最小補正値C_minに基づき、前半デューティ一時値Du_at、Dv_at、Dw_at、および、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   The current detection period ensuring calculation unit 273 corrects the duty conversion values Du_r, Dv_r, and Dw_r so as to be able to ensure periods in which the currents flowing through the first system or the second system can be respectively acquired. For this correction, the current detection period ensuring calculation unit 273 calculates a maximum correction value C_max, an intermediate correction value C_mid, and a minimum correction value C_min. The current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, Dw_at, and the second half duty temporary values Du_bt, Dv_bt, Dw_bt based on the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min. .

デューティ換算値Du_r、Dv_r、Dw_rのうち、大きいものから順に、MaxD_r、MidD_r、MinD_rとする。最大補正値C_maxは、MaxD_rに対応する補正値である。中間補正値C_midは、MidD_rに対応する補正値である。最小補正値C_minは、MinD_rに対応する補正値である。   Among the duty converted values Du_r, Dv_r, and Dw_r, MaxD_r, MidD_r, and MinD_r are set in descending order. The maximum correction value C_max is a correction value corresponding to MaxD_r. The intermediate correction value C_mid is a correction value corresponding to MidD_r. The minimum correction value C_min is a correction value corresponding to MinD_r.

図17のフローチャートを参照して、第2実施形態の電流検出期間確保演算部273の演算について説明する。   With reference to the flowchart of FIG. 17, the calculation of the current detection period ensuring calculation unit 273 of the second embodiment will be described.

ステップ401において、電流検出期間確保演算部273は、デューティ換算値Du_r、Dv_r、Dw_rを比較し、デューティ換算値Du_r、Dv_r、Dw_rの大小関係を判定する。電流検出期間確保演算部273は、MaxD_r、MidD_r、MinD_rを決定する。   In step 401, the current detection period ensuring calculation unit 273 compares the duty converted values Du_r, Dv_r, and Dw_r, and determines the magnitude relationship between the duty converted values Du_r, Dv_r, and Dw_r. The current detection period ensuring calculation unit 273 determines MaxD_r, MidD_r, and MinD_r.

奇数電圧ベクトルに対応するデューティの差を奇数電圧デューティDoとする。偶数電圧ベクトルに対応するデューティの差を偶数電圧デューティDeとする。有効電圧ベクトルに対応するデューティの差を有効電圧デューティDaとする。有効電圧ベクトルにおいて、電流が検出可能なデューティ差のうちの下限値である電流検出デューティ下限値Dmとする。   The duty difference corresponding to the odd voltage vector is defined as an odd voltage duty Do. The duty difference corresponding to the even voltage vector is defined as an even voltage duty De. A duty difference corresponding to the effective voltage vector is defined as an effective voltage duty Da. In the effective voltage vector, the current detection duty lower limit value Dm which is the lower limit value of the duty difference that can be detected by the current is set.

ステップ402において、電流検出期間確保演算部273は、以下関係式(10−1)−(10−3)となるように、奇数電圧デューティDo、偶数電圧デューティDeおよび有効電圧デューティDaを演算する。
ステップ403において、電流検出期間確保演算部273は、最小補正値C_minをゼロとする。
In step 402, the current detection period ensuring calculation unit 273 calculates the odd voltage duty Do, the even voltage duty De, and the effective voltage duty Da so as to satisfy the following relational expressions (10-1)-(10-3).
In step 403, the current detection period ensuring calculation unit 273 sets the minimum correction value C_min to zero.

Do=MaxD_r−MidD_r ・・・(10−1)
De=MidD_r−MinD_r ・・・(10−2)
Da=MaxD_r−MinD_r ・・・(10−3)
Do = MaxD_r-MidD_r (10-1)
De = MidD_r-MinD_r (10-2)
Da = MaxD_r−MinD_r (10-3)

ステップ404において、電流検出期間確保演算部273は、偶数電圧デューティDeが電流検出デューティ下限値Dmから偶数電圧デューティDeを減算した値(Dm−De)未満であるか否かを判定する。偶数電圧デューティDeが電流検出デューティ下限値Dmから偶数電圧デューティDeを減算した値(Dm−De)未満であるとき、処理は、ステップ405に移行する。偶数電圧デューティDeが電流検出デューティ下限値Dmから偶数電圧デューティDeを減算した値(Dm−De)以上であるとき、処理は、ステップ406に移行する。   In step 404, the current detection period ensuring calculation unit 273 determines whether or not the even voltage duty De is less than a value (Dm−De) obtained by subtracting the even voltage duty De from the current detection duty lower limit value Dm. When the even voltage duty De is less than a value (Dm−De) obtained by subtracting the even voltage duty De from the current detection duty lower limit value Dm, the process proceeds to step 405. When the even voltage duty De is equal to or greater than the value (Dm−De) obtained by subtracting the even voltage duty De from the current detection duty lower limit value Dm, the process proceeds to step 406.

ステップ405において、電流検出期間確保演算部273は、以下関係式(11)となるように、中間補正値C_midを演算する。電流検出期間確保演算部273は、中間補正値C_midを、電流検出デューティ下限値Dmから偶数電圧デューティDeを減算した値とする。
C_mid=Dm−De ・・・(11)
In step 405, the current detection period ensuring calculation unit 273 calculates the intermediate correction value C_mid so as to satisfy the following relational expression (11). The current detection period ensuring calculation unit 273 sets the intermediate correction value C_mid to a value obtained by subtracting the even voltage duty De from the current detection duty lower limit value Dm.
C_mid = Dm−De (11)

ステップ406において、電流検出期間確保演算部273は、以下関係式(12)となるように、中間補正値C_midを演算する。電流検出期間確保演算部273は、中間補正値C_midを、偶数電圧デューティDeとする。
C_mid=De ・・・(12)
In step 406, the current detection period ensuring calculation unit 273 calculates the intermediate correction value C_mid so as to satisfy the following relational expression (12). The current detection period ensuring calculation unit 273 sets the intermediate correction value C_mid as the even voltage duty De.
C_mid = De (12)

ステップ407において、電流検出期間確保演算部273は、有効電圧デューティDaが電流検出デューティ下限値Dmから有効電圧デューティDaを減算した値(Dm−Da)未満であるか否かを判定する。有効電圧デューティDaが電流検出デューティ下限値Dmから有効電圧デューティDaを減算した値(Dm−Da)未満であるとき、処理は、ステップ408に移行する。有効電圧デューティDaが電流検出デューティ下限値Dmから有効電圧デューティDaを減算した値(Dm−Da)以上であるとき、処理は、ステップ409に移行する。   In step 407, the current detection period ensuring calculation unit 273 determines whether or not the effective voltage duty Da is less than a value obtained by subtracting the effective voltage duty Da from the current detection duty lower limit value Dm (Dm−Da). When the effective voltage duty Da is less than the value obtained by subtracting the effective voltage duty Da from the current detection duty lower limit value Dm (Dm−Da), the process proceeds to step 408. When the effective voltage duty Da is equal to or larger than a value (Dm−Da) obtained by subtracting the effective voltage duty Da from the current detection duty lower limit value Dm, the process proceeds to step 409.

ステップ408において、電流検出期間確保演算部273は、以下関係式(13)となるように、最大補正値C_maxを演算する。電流検出期間確保演算部273は、最大補正値C_maxを、電流検出デューティ下限値Dmから有効電圧デューティDaを減算した値(Dm−Da)に−1を乗算した値とする。
C_max=−(Dm−Da) ・・・(13)
In step 408, the current detection period ensuring calculation unit 273 calculates the maximum correction value C_max so as to satisfy the following relational expression (13). The current detection period ensuring calculation unit 273 sets the maximum correction value C_max to a value obtained by multiplying the value (Dm−Da) obtained by subtracting the effective voltage duty Da from the current detection duty lower limit value Dm by −1.
C_max = − (Dm−Da) (13)

ステップ409において、電流検出期間確保演算部273は、以下関係式(14)となるように、最大補正値C_maxを演算する。電流検出期間確保演算部273は、最大補正値C_maxを、有効電圧デューティDaに−1を乗算した値とする。
C_max=−Da ・・・(14)
In step 409, the current detection period ensuring calculation unit 273 calculates the maximum correction value C_max so as to satisfy the following relational expression (14). The current detection period ensuring calculation unit 273 sets the maximum correction value C_max to a value obtained by multiplying the effective voltage duty Da by -1.
C_max = −Da (14)

ステップ410において、電流検出期間確保演算部273は、最大補正値C_max、中間補正値C_mid、最小補正値C_minに基づき、前半デューティ一時値Du_at、Dv_at、Dw_atを演算する。また、電流検出期間確保演算部273は、最大補正値C_max、中間補正値C_mid、最小補正値C_minに基づき、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   In step 410, the current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, and Dw_at based on the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min. Further, the current detection period ensuring calculation unit 273 calculates the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt based on the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min.

例えば、U相デューティ換算値Du_rがMaxD_rであるとする。V相デューティ換算値Dv_rがMid_rであるとする。W相デューティ換算値Dw_rがMinD_rであるとする。このとき、電流検出期間確保演算部273は、以下関係式(15−1)−(15−3)となるように、前半デューティ一時値Du_at、Dv_at、Dw_atを演算する。また、電流検出期間確保演算部273は、以下関係式(15−4)−(15−6)となるように、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   For example, it is assumed that the U-phase duty converted value Du_r is MaxD_r. Assume that the V-phase duty conversion value Dv_r is Mid_r. It is assumed that the W-phase duty conversion value Dw_r is MinD_r. At this time, the current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, and Dw_at so as to satisfy the following relational expressions (15-1)-(15-3). Further, the current detection period ensuring calculation unit 273 calculates the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt so as to satisfy the following relational expressions (15-4) − (15-6).

Du_at=Du_r+C_max ・・・(15−1)
Dv_at=Dv_r+C_mid ・・・(15−2)
Dw_at=Dw_r+C_min ・・・(15−3)
Du_bt=Du_r−C_max ・・・(15−4)
Dv_bt=Dv_r−C_mid ・・・(15−5)
Dw_bt=Dw_r−C_min ・・・(15−6)
Du_at = Du_r + C_max (15-1)
Dv_at = Dv_r + C_mid (15-2)
Dw_at = Dw_r + C_min (15-3)
Du_bt = Du_r-C_max (15-4)
Dv_bt = Dv_r-C_mid (15-5)
Dw_bt = Dw_r-C_min (15-6)

電流検出期間確保演算部273は、第1系統および第2系統のそれぞれに対して、前半デューティ一時値Du_at、Dv_at、Dw_atおよび後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   The current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, Dw_at and the second half duty temporary values Du_bt, Dv_bt, Dw_bt for each of the first system and the second system.

第1系統における各一時値を第1前半デューティ一時値Du1_at、Dv1_at、Dw1_atおよび第1後半デューティ一時値Du1_bt、Dv1_bt、Dw1_btとする。第2系統における各一時値を第2前半デューティ一時値Du2_at、Dv2_at、Dw2_atおよび第2後半デューティ一時値Du2_bt、Dv2_bt、Dw2_btとする。   The temporary values in the first system are assumed to be first first half duty temporary values Du1_at, Dv1_at, Dw1_at and first second half duty temporary values Du1_bt, Dv1_bt, Dw1_bt. The temporary values in the second system are defined as second first half duty temporary values Du2_at, Dv2_at, Dw2_at and second second half duty temporary values Du2_bt, Dv2_bt, Dw2_bt.

第2実施形態では、電流検出期間確保演算部273により、電流を検出する期間が確保される。AD変換器54がシャント抵抗24から電流値を取得するタイミングが所定間隔となるように、電流検出タイミング調整演算部274は、有効電圧ベクトルとなるタイミングを調整する。   In the second embodiment, the current detection period ensuring calculation unit 273 ensures a period for detecting the current. The current detection timing adjustment calculation unit 274 adjusts the timing of the effective voltage vector so that the AD converter 54 acquires the current value from the shunt resistor 24 at a predetermined interval.

図18および図19のフローチャートを参照して、第2実施形態の電流検出タイミング調整演算部274の演算について説明する。   The calculation of the current detection timing adjustment calculation unit 274 of the second embodiment will be described with reference to the flowcharts of FIGS.

ステップ501において、電流検出タイミング調整演算部274は、第1前半デューティ一時値Du1_at、Dv1_at、Dw1_atの中で、最も小さい値を第1前半最小値MinD1_aとする。電流検出タイミング調整演算部274は、第1前半デューティ一時値Du1_at、Dv1_at、Dw1_atの中で、最も大きい値を第1前半最大値MaxD1_aとする。   In step 501, the current detection timing adjustment calculation unit 274 sets the smallest value among the first first half duty temporary values Du1_at, Dv1_at, Dw1_at as the first first half minimum value MinD1_a. The current detection timing adjustment calculation unit 274 sets the largest value among the first first half duty temporary values Du1_at, Dv1_at, Dw1_at as the first first half maximum value MaxD1_a.

ステップ502において、電流検出タイミング調整演算部274は、第1後半デューティ一時値Du1_bt、Dv1_bt、Dw1_btの中で最も小さい値を第1後半最小値MinD1_bとする。第1後半デューティ一時値Du1_bt、Dv1_bt、Dw1_btの中で最も大きい値を第1後半最大値MaxD1_bとする。   In step 502, the current detection timing adjustment calculation unit 274 sets the smallest value among the first second-half duty temporary values Du1_bt, Dv1_bt, Dw1_bt as the first second-half minimum value MinD1_b. The largest value among the first second half duty temporary values Du1_bt, Dv1_bt, Dw1_bt is set as the first second half maximum value MaxD1_b.

ステップ503において、電流検出タイミング調整演算部274は、制御周期Tcにおける4周期分の基準信号周期Tpに対して、第1系統における前半デューティ指令値および後半デューティ指令値をそれぞれ演算する。   In step 503, the current detection timing adjustment calculation unit 274 calculates the first half duty command value and the second half duty command value in the first system with respect to the reference signal cycle Tp for four cycles in the control cycle Tc.

1周期目における第1系統の前半デューティ指令値を第11前半デューティ指令値Du11_a、Dv11_a、Dw11_aとする。1周期目における第1系統の後半デューティ指令値を第11後半デューティ指令値Du11_bとする。2周期目における第1系統の前半デューティ指令値を第12前半デューティ指令値Du12_a、Dv12_a、Dw12_aとする。2周期目における第1系統の後半デューティ指令値を第12後半デューティ指令値Du12_b、Dv12_b、Dw12_bとする。3周期目における第1系統の前半デューティ指令値を第13前半デューティ指令値Du13_a、Dv13_a、Dw13_aとする。3周期目における第1系統の後半デューティ指令値を第13後半デューティ指令値Du13_b、Dv13_b、Dw13_bとする。4周期目における第1系統の前半デューティ指令値を第14前半デューティ指令値Du14_a、Dv14_a、Dw14_aとする。4周期目における第1系統の後半デューティ指令値を第14後半デューティ指令値Du14_b、Dv14_b、Dw14_bとする。   The first half duty command values of the first system in the first cycle are defined as eleventh first half duty command values Du11_a, Dv11_a, and Dw11_a. The second half duty command value of the first system in the first cycle is defined as the eleventh second half duty command value Du11_b. The first-half duty command value of the first system in the second cycle is defined as a twelfth first-half duty command value Du12_a, Dv12_a, Dw12_a. The second half duty command value of the first system in the second cycle is defined as the twelfth latter half duty command value Du12_b, Dv12_b, Dw12_b. The first-half duty command values of the first system in the third cycle are set as the thirteenth first-half duty command values Du13_a, Dv13_a, and Dw13_a. Let the latter half duty command value of the 1st system in the 3rd period be the 13th latter half duty command value Du13_b, Dv13_b, Dw13_b. The first-half duty command value of the first system in the fourth period is defined as the fourteenth first-half duty command value Du14_a, Dv14_a, and Dw14_a. The latter half duty command value of the first system in the fourth period is set as the fourteenth latter half duty command value Du14_b, Dv14_b, Dw14_b.

ステップ504において、電流検出タイミング調整演算部274は、第2前半デューティ一時値Du2_at、Dv2_at、Dw2_atの中で、最も小さい値を第2前半最小値MinD2_aとする。電流検出タイミング調整演算部274は、第2前半デューティ一時値Du2_at、Dv2_at、Dw2_atの中で、最も大きい値を第2前半最大値MaxD2_aとする。   In step 504, the current detection timing adjustment calculation unit 274 sets the smallest value among the second first half duty temporary values Du2_at, Dv2_at, Dw2_at as the second first half minimum value MinD2_a. The current detection timing adjustment calculation unit 274 sets the largest value among the second first half duty temporary values Du2_at, Dv2_at, and Dw2_at as the second first half maximum value MaxD2_a.

ステップ505において、電流検出タイミング調整演算部274は、第2後半デューティ一時値Du2_bt、Dv2_bt、Dw2_btの中で最も小さい値を第2後半最小値MinD2_bとする。第2後半デューティ一時値Du2_bt、Dv2_bt、Dw2_btの中で最も大きい値を第2後半最大値MaxD2_bとする。   In Step 505, the current detection timing adjustment calculation unit 274 sets the smallest value among the second second half duty temporary values Du2_bt, Dv2_bt, Dw2_bt as the second second half minimum value MinD2_b. The largest value among the second second half duty temporary values Du2_bt, Dv2_bt, Dw2_bt is set as the second second half maximum value MaxD2_b.

ステップ506において、電流検出タイミング調整演算部274は、制御周期Tcにおける4周期分の基準信号周期Tpに対して、第2系統における前半デューティ指令値および後半デューティ指令値をそれぞれ演算する。   In step 506, the current detection timing adjustment calculation unit 274 calculates the first-half duty command value and the second-half duty command value in the second system with respect to the reference signal cycle Tp for four cycles in the control cycle Tc.

1周期目における第2系統の前半デューティ指令値を第21前半デューティ指令値Du21_a、Dv21_a、Dw21_aとする。1周期目における第2系統の後半デューティ指令値を第21後半デューティ指令値Du21_b、Dv21_b、Dw21_bとする。2周期目における第2系統の前半デューティ指令値を第22前半デューティ指令値Du22_a、Dv22_a、Dw22_aとする。2周期目における第2系統の後半デューティ指令値を第22後半デューティ指令値Du22_b、Dv22_b、Dw22_bとする。3周期目における第2系統の前半デューティ指令値を第23前半デューティ指令値Du23_a、Dv23_a、Dw23_aとする。3周期目における第2系統の後半デューティ指令値を第23後半デューティ指令値Du23_b、Dv23_b、Dw23_bとする。4周期目における第2系統の前半デューティ指令値を第24前半デューティ指令値Du24_a、Dv24_a、Dw24_aとする。4周期目における第2系統の後半デューティ指令値を第24後半デューティ指令値Du24_b、Dv24_b、Dw24_bとする。   The first-half duty command value of the second system in the first cycle is defined as the 21st first-half duty command value Du21_a, Dv21_a, Dw21_a. The second half duty command value of the second system in the first cycle is set as the 21st latter half duty command value Du21_b, Dv21_b, Dw21_b. The first half duty command value of the second system in the second cycle is set as the 22nd first half duty command value Du22_a, Dv22_a, Dw22_a. The second half duty command value of the second system in the second cycle is the 22nd latter half duty command value Du22_b, Dv22_b, Dw22_b. The first half duty command value of the second system in the third cycle is defined as the 23rd first half duty command value Du23_a, Dv23_a, Dw23_a. The second half duty command value of the second system in the third cycle is defined as the 23rd half duty command value Du23_b, Dv23_b, Dw23_b. The first half duty command value of the second system in the fourth period is defined as the 24th first half duty command value Du24_a, Dv24_a, and Dw24_a. The second half duty command value of the second system in the fourth cycle is defined as the 24th second half duty command value Du24_b, Dv24_b, Dw24_b.

図20に示すように、例えば、第1前半W相デューティ一時値Dw1_atが第1前半最小値MinD1_aであるとする。第1前半V相デューティ一時値Dv1_atが第1前半最大値MaxD1_aであるとする。第1後半V相デューティ一時値Dv1_btが第1後半最小値MinD1_bであるとする。第1後半W相デューティ一時値Dw1_btが第1後半最大値MaxD1_bであるとする。   As shown in FIG. 20, for example, the first first half W-phase duty temporary value Dw1_at is assumed to be the first first half minimum value MinD1_a. The first first half V-phase duty temporary value Dv1_at is assumed to be the first first half maximum value MaxD1_a. It is assumed that the first second half V-phase duty temporary value Dv1_bt is the first second half minimum value MinD1_b. The first second half W-phase duty temporary value Dw1_bt is assumed to be the first second half maximum value MaxD1_b.

第2前半W相デューティ一時値Dw2_atが第2前半最小値MinD2_aであるとする。第2前半V相デューティ一時値Dv2_atが第2前半最大値MaxD2_aであるとする。第2後半V相デューティ一時値Dv2_btが第2後半最小値MinD2_bであるとする。第2後半W相デューティ一時値Dw2_btが第2後半最大値MaxD2_bであるとする。   The second first half W-phase duty temporary value Dw2_at is assumed to be the second first half minimum value MinD2_a. The second first half V-phase duty temporary value Dv2_at is assumed to be the second first half maximum value MaxD2_a. The second second half V-phase duty temporary value Dv2_bt is assumed to be the second second half minimum value MinD2_b. The second second half W-phase duty temporary value Dw2_bt is assumed to be the second second half maximum value MaxD2_b.

時刻e41から時刻e45までの期間では、第2系統において、V0電圧ベクトルが確保される。時刻e42から時刻e43までの期間では、第1系統において、V3電圧ベクトルが確保される。時刻e43から時刻e44までの期間では、第1系統において、V5電圧ベクトルが確保される。   In the period from time e41 to time e45, the V0 voltage vector is secured in the second system. In the period from time e42 to time e43, the V3 voltage vector is secured in the first system. In the period from time e43 to time e44, the V5 voltage vector is secured in the first system.

時刻e42から時刻e43までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1V相コイル812に流れる電流の値を取得する。時刻e42から時刻e43までの期間で、AD変換器54が取得した電流値を第1電流値I1とする。   In a period from time e42 to time e43, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first V-phase coil 812. The current value acquired by the AD converter 54 during the period from time e42 to time e43 is defined as a first current value I1.

時刻e43から時刻e44までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1W相コイル813に流れる電流の値を取得する。時刻e43から時刻e44までの期間で、AD変換器54が取得した電流値を第2電流値I2とする。   In the period from time e43 to time e44, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first W-phase coil 813. In the period from time e43 to time e44, the current value acquired by the AD converter 54 is set as the second current value I2.

時刻e46から時刻e50までの期間では、第1系統において、V0電圧ベクトルが確保される。時刻e47から時刻e48までの期間では、第2系統において、V3電圧ベクトルが確保される。時刻e48から時刻e49までの期間では、第2系統において、V5電圧ベクトルが確保される。   In the period from time e46 to time e50, the V0 voltage vector is secured in the first system. In the period from time e47 to time e48, the V3 voltage vector is secured in the second system. In the period from time e48 to time e49, the V5 voltage vector is secured in the second system.

時刻e47から時刻e48までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2V相コイル822に流れる電流の値を取得する。時刻e47から時刻e48までの期間で、AD変換器54が取得した電流値を第3電流値I3とする。   In a period from time e47 to time e48, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second V-phase coil 822. The current value acquired by the AD converter 54 during the period from time e47 to time e48 is defined as a third current value I3.

時刻e48から時刻e49までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2W相コイル823に流れる電流の値を取得する。時刻e48から時刻e49までの期間で、AD変換器54が取得した電流値を第4電流値I4とする。   In the period from time e48 to time e49, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second W-phase coil 823. The current value acquired by the AD converter 54 during the period from time e48 to time e49 is defined as a fourth current value I4.

時刻e51から時刻e52までの期間では、第1系統および第2系統の両系統において、V0電圧ベクトルが確保される。時刻e51から時刻e52までの期間において、AD変換器54が電流を取得することで、取得した電流値のゼロ点を調整できる。時刻e51から時刻e52までの期間で、AD変換器54が取得した電流値を第5電流値I5とする。   In the period from time e51 to time e52, the V0 voltage vector is secured in both the first system and the second system. In the period from time e51 to time e52, the zero point of the acquired current value can be adjusted by the AD converter 54 acquiring the current. The current value acquired by the AD converter 54 during the period from time e51 to time e52 is defined as a fifth current value I5.

この場合において、相電流演算部61は、第1−第5電流値I1−I5およびキルヒホッフの法則に基づき、第1U相電流Iu1、第1V相電流Iv1、第1W相電流Iw1、第2U相電流Iu2、第2V相電流Iv2および第2W相電流Iw2を演算する。相電流演算部61は、以下関係式(16−1)−(16−6)となるように、第1U相電流Iu1、第1V相電流Iv1、第1W相電流Iw1、第2U相電流Iu2、第2V相電流Iv2および第2W相電流Iw2を演算する。   In this case, the phase current calculation unit 61 performs the first U-phase current Iu1, the first V-phase current Iv1, the first W-phase current Iw1, and the second U-phase current based on the first to fifth current values I1-I5 and Kirchhoff's law. Iu2, second V-phase current Iv2, and second W-phase current Iw2 are calculated. The phase current calculation unit 61 includes a first U-phase current Iu1, a first V-phase current Iv1, a first W-phase current Iw1, a second U-phase current Iu2, so as to satisfy the following relational expressions (16-1)-(16-6): Second V-phase current Iv2 and second W-phase current Iw2 are calculated.

Iv1=I1−I5 ・・・(16−1)
Iw1=I2−I5 ・・・(16−2)
Iu1=−Iv1−Iw1 ・・・(16−3)
Iv2=I3−I5 ・・・(16−4)
Iw2=I4−I5 ・・・(16−5)
Iu2=−Iv2−Iw2 ・・・(16−6)
Iv1 = I1-I5 (16-1)
Iw1 = I2-I5 (16-2)
Iu1 = −Iv1−Iw1 (16-3)
Iv2 = I3-I5 (16-4)
Iw2 = I4-I5 (16-5)
Iu2 = −Iv2−Iw2 (16-6)

このように、第2実施形態においても、第1実施形態の[1]と同様の効果を奏する。また、第2実施形態では、制御周期Tcを基準信号周期Tpの4倍以上とすることによって、それぞれの電流を取得可能な期間が確保されやすくなる。   Thus, also in 2nd Embodiment, there exists an effect similar to [1] of 1st Embodiment. Moreover, in 2nd Embodiment, the period which can acquire each electric current becomes easy to be ensured by making control period Tc 4 times or more of the reference signal periods Tp.

さらに、第5電流値I5を用いて、相電流演算部61は、3相電流Iu、Iv、Iwを演算する。これにより、取得した電流値のゼロ点が調整される。このため、3相電流Iu、Iv、Iwの正確度がより向上する。   Furthermore, using the fifth current value I5, the phase current calculation unit 61 calculates the three-phase currents Iu, Iv, and Iw. Thereby, the zero point of the acquired current value is adjusted. For this reason, the accuracy of the three-phase currents Iu, Iv, and Iw is further improved.

(第3実施形態)
第3実施形態では、電流検出期間確保演算部および電流検出タイミング調整演算部の処理が異なる点を除き、第2実施形態と同様である。
(Third embodiment)
The third embodiment is the same as the second embodiment except that the processes of the current detection period ensuring calculation unit and the current detection timing adjustment calculation unit are different.

図21のフローチャートを参照して、第3実施形態の電流検出期間確保演算部273の演算について説明する。ステップ601およびステップ602は、第2実施形態のステップ401およびステップ402と同様である。   With reference to the flowchart of FIG. 21, the calculation of the current detection period ensuring calculation unit 273 of the third embodiment will be described. Step 601 and step 602 are the same as step 401 and step 402 of the second embodiment.

ステップ603において、電流検出期間確保演算部273は、奇数電圧デューティDoが電流検出デューティ下限値Dm未満、かつ、偶数電圧デューティDeが電流検出デューティ下限値Dm未満であるか否かを判定する。奇数電圧デューティDoが電流検出デューティ下限値Dm未満、かつ、偶数電圧デューティDeが電流検出デューティ下限値Dm未満であるとき、処理は、ステップ604に移行する。奇数電圧デューティDoが電流検出デューティ下限値Dm以上、または、偶数電圧デューティDeが電流検出デューティ下限値Dm以上であるとき、処理は、ステップ605に移行する。   In step 603, the current detection period ensuring calculation unit 273 determines whether the odd voltage duty Do is less than the current detection duty lower limit value Dm and the even voltage duty De is less than the current detection duty lower limit value Dm. When the odd voltage duty Do is less than the current detection duty lower limit value Dm and the even voltage duty De is less than the current detection duty lower limit value Dm, the process proceeds to step 604. When the odd voltage duty Do is equal to or greater than the current detection duty lower limit value Dm, or when the even voltage duty De is equal to or greater than the current detection duty lower limit value Dm, the process proceeds to step 605.

ステップ604において、電流検出期間確保演算部273は、以下関係式(17−1)−(17−3)となるように、最大補正値C_max、中間補正値C_midおよび最小補正値C_minを演算する。   In step 604, the current detection period ensuring calculation unit 273 calculates the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min so as to satisfy the following relational expressions (17-1)-(17-3).

C_max=−Dm+Do ・・・(17−1)
C_mid=0 ・・・(17−2)
C_min=−Dm+De ・・・(17−3)
C_max = −Dm + Do (17-1)
C_mid = 0 (17-2)
C_min = −Dm + De (17-3)

ステップ605において、電流検出期間確保演算部273は、奇数電圧デューティDoが電流検出デューティ下限値Dm未満であるか否かを再度判定する。奇数電圧デューティDoが電流検出デューティ下限値Dm未満であるとき、処理は、ステップ606に移行する。奇数電圧デューティDoが電流検出デューティ下限値Dm以上であるとき、処理は、ステップ607に移行する。   In step 605, the current detection period ensuring calculation unit 273 determines again whether or not the odd voltage duty Do is less than the current detection duty lower limit Dm. When the odd voltage duty Do is less than the current detection duty lower limit Dm, the process proceeds to step 606. When the odd voltage duty Do is equal to or greater than the current detection duty lower limit Dm, the process proceeds to step 607.

ステップ606において、電流検出期間確保演算部273は、以下関係式(18−1)−(18−3)となるように、最大補正値C_max、中間補正値C_midおよび最小補正値C_minを演算する。   In step 606, the current detection period ensuring calculation unit 273 calculates the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min so as to satisfy the following relational expressions (18-1)-(18-3).

C_max=−(Dm−Do)×0.5 ・・・(18−1)
C_mid=(Dm−Do)×0.5 ・・・(18−2)
C_min=0 ・・・(18−3)
C_max = − (Dm−Do) × 0.5 (18-1)
C_mid = (Dm−Do) × 0.5 (18-2)
C_min = 0 (18-3)

ステップ607において、電流検出期間確保演算部273は、偶数電圧デューティDeが電流検出デューティ下限値Dm未満であるか否かを再度判定する。偶数電圧デューティDeが電流検出デューティ下限値Dm未満であるとき、処理は、ステップ608に移行する。偶数電圧デューティDeが電流検出デューティ下限値Dm以上であるとき、処理は、ステップ609に移行する。   In step 607, the current detection period ensuring calculation unit 273 determines again whether or not the even voltage duty De is less than the current detection duty lower limit Dm. When the even voltage duty De is less than the current detection duty lower limit Dm, the process proceeds to step 608. When the even voltage duty De is equal to or greater than the current detection duty lower limit Dm, the process proceeds to step 609.

ステップ608において、電流検出期間確保演算部273は、以下関係式(19−1)−(19−3)となるように、最大補正値C_max、中間補正値C_midおよび最小補正値C_minを演算する。   In step 608, the current detection period ensuring calculation unit 273 calculates the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min so as to satisfy the following relational expressions (19-1)-(19-3).

C_max=0 ・・・(19−1)
C_mid=(Dm−De)×0.5 ・・・(19−2)
C_min=−(Dm−De)×0.5 ・・・(19−3)
C_max = 0 (19-1)
C_mid = (Dm−De) × 0.5 (19-2)
C_min = − (Dm−De) × 0.5 (19-3)

ステップ609において、電流検出期間確保演算部273は、以下関係式(20−1)−(20−3)となるように、最大補正値C_max、中間補正値C_midおよび最小補正値C_minを演算する。   In step 609, the current detection period ensuring calculation unit 273 calculates the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min so as to satisfy the following relational expressions (20-1)-(20-3).

C_max=0 ・・・(20−1)
C_mid=0 ・・・(20−2)
C_min=0 ・・・(20−3)
C_max = 0 (20-1)
C_mid = 0 (20-2)
C_min = 0 (20-3)

ステップ610において、電流検出期間確保演算部273は、最大補正値C_max、中間補正値C_mid、最小補正値C_minに基づき、前半デューティ一時値Du_at、Dv_at、Dw_atを演算する。また、電流検出期間確保演算部273は、最大補正値C_max、中間補正値C_mid、最小補正値C_minに基づき、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   In step 610, the current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, and Dw_at based on the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min. Further, the current detection period ensuring calculation unit 273 calculates the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt based on the maximum correction value C_max, the intermediate correction value C_mid, and the minimum correction value C_min.

例えば、U相デューティ換算値Du_rがMaxD_rであるとする。V相デューティ換算値Dv_rがMid_rであるとする。W相デューティ換算値Dw_rがMinD_rであるとする。このとき、第2実施形態と同様に、電流検出期間確保演算部273は、関係式(15−1)−(15−3)となるように、前半デューティ一時値Du_at、Dv_at、Dw_atを演算する。また、電流検出期間確保演算部273は、関係式(15−4)−(15−6)となるように、後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   For example, it is assumed that the U-phase duty converted value Du_r is MaxD_r. Assume that the V-phase duty conversion value Dv_r is Mid_r. It is assumed that the W-phase duty conversion value Dw_r is MinD_r. At this time, similarly to the second embodiment, the current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, and Dw_at so that the relational expressions (15-1) to (15-3) are satisfied. . Further, the current detection period ensuring calculation unit 273 calculates the latter half duty temporary values Du_bt, Dv_bt, and Dw_bt so as to satisfy the relational expression (15-4) − (15-6).

第2実施形態と同様に、電流検出期間確保演算部273は、第1系統および第2系統のそれぞれに対して、前半デューティ一時値Du_at、Dv_at、Dw_atおよび後半デューティ一時値Du_bt、Dv_bt、Dw_btを演算する。   Similarly to the second embodiment, the current detection period ensuring calculation unit 273 calculates the first half duty temporary values Du_at, Dv_at, Dw_at and the second half duty temporary values Du_bt, Dv_bt, Dw_bt for each of the first system and the second system. Calculate.

第3実施形態でも、第2実施形態と同様に、電流検出タイミング調整演算部274は、AD変換器54がシャント抵抗24から電流値を取得するタイミングが所定間隔となるように、有効電圧ベクトルが発生するタイミングを調整する。   Also in the third embodiment, as in the second embodiment, the current detection timing adjustment calculation unit 274 sets the effective voltage vector so that the AD converter 54 acquires the current value from the shunt resistor 24 at a predetermined interval. Adjust the timing of occurrence.

図22および図23のフローチャートを参照して、第3実施形態の電流検出タイミング調整演算部274の演算について説明する。ステップ701およびステップ702は、第2実施形態のステップ501およびステップ502と同様である。   The calculation of the current detection timing adjustment calculation unit 274 of the third embodiment will be described with reference to the flowcharts of FIGS. Step 701 and step 702 are the same as step 501 and step 502 of the second embodiment.

ステップ703において、電流検出タイミング調整演算部274は、4周期分の基準信号周期Tpに対して、第1系統における前半デューティ指令値および後半デューティ指令値をそれぞれ演算する。ステップ704およびステップ705は、第2実施形態のステップ504およびステップ505と同様である。   In step 703, the current detection timing adjustment calculation unit 274 calculates the first half duty command value and the second half duty command value in the first system with respect to the reference signal cycle Tp for four cycles. Step 704 and step 705 are the same as step 504 and step 505 of the second embodiment.

ステップ706において、電流検出タイミング調整演算部274は、4周期分の基準信号周期Tpに対して、第2系統における前半デューティ指令値および後半デューティ指令値をそれぞれ演算する。   In step 706, the current detection timing adjustment calculation unit 274 calculates the first half duty command value and the second half duty command value in the second system with respect to the reference signal cycle Tp for four cycles.

図24に示すように、例えば、第1前半W相デューティ一時値Dw1_atが第1前半最小値MinD1_aであるとする。第1前半V相デューティ一時値Dv1_atが第1前半最大値MaxD1_aであるとする。第1後半W相デューティ一時値Dw1_btが第1後半最小値MinD1_bであるとする。第1後半U相デューティ一時値Du1_btが第1後半最大値MaxD1_bであるとする。   As shown in FIG. 24, for example, the first first half W-phase duty temporary value Dw1_at is assumed to be the first first half minimum value MinD1_a. The first first half V-phase duty temporary value Dv1_at is assumed to be the first first half maximum value MaxD1_a. The first second half W-phase duty temporary value Dw1_bt is assumed to be the first second half minimum value MinD1_b. The first second half U-phase duty temporary value Du1_bt is assumed to be the first second half maximum value MaxD1_b.

第2前半W相デューティ一時値Dw2_atが第2前半最小値MinD2_aであるとする。第2前半V相デューティ一時値Dv2_atが第2前半最大値MaxD2_aであるとする。第2後半W相デューティ一時値Dw2_btが第2後半最小値MinD2_bであるとする。第2後半U相デューティ一時値Du2_btが第2後半最大値MaxD2_bであるとする。   The second first half W-phase duty temporary value Dw2_at is assumed to be the second first half minimum value MinD2_a. The second first half V-phase duty temporary value Dv2_at is assumed to be the second first half maximum value MaxD2_a. The second second half W-phase duty temporary value Dw2_bt is assumed to be the second second half minimum value MinD2_b. It is assumed that the second second half U-phase duty temporary value Du2_bt is the second second half maximum value MaxD2_b.

時刻e61から時刻e62までの期間では、第1系統および第2系統の両系統において、V3電圧ベクトルが確保される。時刻e61から時刻e62までの期間でAD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1V相コイル812および第2V相コイル822に流れる電流の値を取得する。時刻e61から時刻e62までの期間で、AD変換器54が取得した電流値を第6電流値I6とする。   In the period from time e61 to time e62, the V3 voltage vector is secured in both the first system and the second system. In a period from time e61 to time e62, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first V-phase coil 812 and the second V-phase coil 822. In the period from time e61 to time e62, the current value acquired by the AD converter 54 is set as a sixth current value I6.

時刻e63から時刻e65までの期間では、第1系統において、V7電圧ベクトルが確保される。時刻e64から時刻e65までの期間では、第2系統において、V5電圧ベクトルが確保される。時刻e64から時刻e65までの期間で、AD変換器54は、第2W相コイル823に流れる電流の値をシャント抵抗24から取得する。時刻e64から時刻e65までの期間で、AD変換器54が取得した電流値を第7電流値I7とする。   In the period from time e63 to time e65, the V7 voltage vector is secured in the first system. In the period from time e64 to time e65, the V5 voltage vector is secured in the second system. In the period from time e64 to time e65, the AD converter 54 acquires the value of the current flowing through the second W-phase coil 823 from the shunt resistor 24. In the period from time e64 to time e65, the current value acquired by the AD converter 54 is defined as a seventh current value I7.

時刻e66から時刻e69までの期間では、第1系統において、V0電圧ベクトルが確保される。時刻e67から時刻68までの期間では、第2系統において、V3電圧ベクトルが確保される。時刻e67から時刻68までの期間で、AD変換器54は、第2V相コイル822に流れる電流の値をシャント抵抗24から取得する。時刻e67から時刻68までの期間で、AD変換器54が取得した電流値を第8電流値I8とする。   In the period from time e66 to time e69, the V0 voltage vector is secured in the first system. In the period from time e67 to time 68, the V3 voltage vector is secured in the second system. In the period from time e67 to time 68, the AD converter 54 acquires the value of the current flowing through the second V-phase coil 822 from the shunt resistor 24. In the period from time e67 to time 68, the current value acquired by the AD converter 54 is defined as an eighth current value I8.

時刻e70から時刻e71までの期間では、第1系統および第2系統の両系統において、V5電圧ベクトルが確保される。AD変換器54は、第1W相コイル813および第2W相コイル823に流れる電流の値をシャント抵抗24から取得する。時刻e70から時刻e71までの期間で、AD変換器54が取得した電流値を第9電流値I9とする。   In the period from time e70 to time e71, the V5 voltage vector is secured in both the first system and the second system. The AD converter 54 acquires the value of the current flowing through the first W-phase coil 813 and the second W-phase coil 823 from the shunt resistor 24. In the period from time e70 to time e71, the current value acquired by the AD converter 54 is defined as a ninth current value I9.

時刻e72から時刻e73までの期間では、第1系統および第2系統の両系統において、V0電圧ベクトルが確保される。時刻e72から時刻e73までの期間において、AD変換器54が電流を取得することで、取得した電流値のゼロ点を調整できる。時刻e72から時刻e73までの期間で、AD変換器54が取得した電流値を第10電流値I10とする。なお、第6−第9電流値I6−I9は、以下関係式(21−1)−(21−4)のように、表される。   In the period from time e72 to time e73, the V0 voltage vector is secured in both the first system and the second system. In the period from time e72 to time e73, the zero point of the acquired current value can be adjusted by the AD converter 54 acquiring the current. In the period from time e72 to time e73, the current value acquired by the AD converter 54 is defined as a tenth current value I10. The sixth to ninth current values I6 to I9 are expressed as the following relational expressions (21-1) to (21-4).

I6=Iv1+Iv2 ・・・(21−1)
I7=Iw2 ・・・(21−2)
I8=Iv2 ・・・(21−3)
I9=Iw1+Iw2 ・・・(21−4)
I6 = Iv1 + Iv2 (21-1)
I7 = Iw2 (21-2)
I8 = Iv2 (21-3)
I9 = Iw1 + Iw2 (21-4)

相電流演算部61は、第6−第10電流I6−I10およびキルヒホッフの法則に基づき、第1U相電流Iu1、第1V相電流Iv1、第1W相電流Iw1、第2U相電流Iu2、第2V相電流Iv2および第2W相電流Iw2を演算する。相電流演算部61は、以下関係式(22−1)−(22−6)となるように、第1U相電流Iu1、第1V相電流Iv1、第1W相電流Iw1、第2U相電流Iu2、第2V相電流Iv2および第2W相電流Iw2を演算する。このように、第3実施形態においても、第2実施形態と同様の効果を奏する。   The phase current calculation unit 61 is based on the sixth to tenth currents I6-I10 and Kirchhoff's law, and the first U-phase current Iu1, the first V-phase current Iv1, the first W-phase current Iw1, the second U-phase current Iu2, Current Iv2 and second W-phase current Iw2 are calculated. The phase current calculation unit 61 includes a first U-phase current Iu1, a first V-phase current Iv1, a first W-phase current Iw1, a second U-phase current Iu2, so as to satisfy the following relational expressions (22-1)-(22-6): Second V-phase current Iv2 and second W-phase current Iw2 are calculated. Thus, also in 3rd Embodiment, there exists an effect similar to 2nd Embodiment.

Iv1=I6−I8−I10 ・・・(22−1)
Iw1=I9−I7−I10 ・・・(22−2)
Iu1=−Iv1−Iw1 ・・・(22−3)
Iv2=I8−I10 ・・・(22−4)
Iw2=I7−I10 ・・・(22−5)
Iu2=−Iv2−Iw2 ・・・(22−6)
Iv1 = I6-I8-I10 (22-1)
Iw1 = I9−I7−I10 (22-2)
Iu1 = −Iv1−Iw1 (22-3)
Iv2 = I8−I10 (22-4)
Iw2 = I7−I10 (22-5)
Iu2 = −Iv2−Iw2 (22-6)

(他の実施形態)
[i]第1実施形態において、第2実施形態および第3実施形態と同様に、基準信号周期Tpを前半期間および後半期間の半分に分けてもよい。
[ii]電流検出部は、高電位側の複数のインバータとバッテリの正極との間に設けられてもよい。
[iii]基準信号Pは、三角波信号に限定されず、鋸波等であってもよい。
(Other embodiments)
[I] In the first embodiment, as in the second and third embodiments, the reference signal period Tp may be divided into half of the first half period and the second half period.
[Ii] The current detection unit may be provided between a plurality of inverters on the high potential side and the positive electrode of the battery.
[Iii] The reference signal P is not limited to a triangular wave signal, and may be a sawtooth wave or the like.

[iv]本実施形態では、回転電機は、電動パワーステアリング装置に適用される。回転電機は、例えば車載用の電動モータであって、電動ファン、オイルポンプ、ウォーターポンプ等に用いられてもよい。回転電機は、車載用以外の電動モータであってもよい。
[v]回転電機と回転電機制御装置とは一体に設けられていることに限定されず、回転電機と回転電機制御装置とは別々に設けられてもよい。
[Iv] In the present embodiment, the rotating electrical machine is applied to an electric power steering apparatus. The rotating electrical machine is, for example, an in-vehicle electric motor, and may be used for an electric fan, an oil pump, a water pump, or the like. The rotating electric machine may be an electric motor other than the one for vehicle use.
[V] The rotating electrical machine and the rotating electrical machine control device are not limited to be provided integrally, and the rotating electrical machine and the rotating electrical machine control device may be provided separately.

[vi]基準信号生成部は、系統の数に応じて、設けられてもよく、各基準信号生成部が、第1基準信号P1および第2基準信号P2を生成してもよい。
[vii]巻線組81、82は、2組であり、インバータ11、12は、巻線組に対応して2つ設けられており、2組の巻線組81、82および2つのインバータ11、12が2つ設けられてもよい。
[Vi] The reference signal generation unit may be provided according to the number of systems, and each reference signal generation unit may generate the first reference signal P1 and the second reference signal P2.
[Vii] Two winding sets 81 and 82 are provided, and two inverters 11 and 12 are provided corresponding to the winding sets. Two winding sets 81 and 82 and two inverters 11 are provided. , 12 may be provided.

[viii]回転電機は、3相の交流モータに限らず、4相以上の多相の交流モータであってもよい。回転電機は、3組以上であってもよい。系統の数が3つ以上の複数の系統であってもよい。 [Viii] The rotating electrical machine is not limited to a three-phase AC motor, and may be a multi-phase AC motor having four or more phases. There may be three or more rotating electric machines. A plurality of systems having three or more systems may be used.

図25に示すように、系統の数が3つであるとき、モータ80は、第3巻線組83をさらに備える。モータ制御装置3は、第3インバータ13をさらに備える。第2実施形態と同様に、モータ制御装置3は、シャント抵抗24、増幅回路44およびAD変換器54を備える。   As shown in FIG. 25, when the number of systems is three, the motor 80 further includes a third winding set 83. The motor control device 3 further includes a third inverter 13. Similar to the second embodiment, the motor control device 3 includes a shunt resistor 24, an amplifier circuit 44, and an AD converter 54.

第3巻線組83は、巻線としての第3U相コイル831、第3V相コイル832および第3W相コイル833を有する。第3コイル831−833は、一端が第3インバータ13と接続され、他端が結線されている。   The third winding set 83 includes a third U-phase coil 831, a third V-phase coil 832, and a third W-phase coil 833 as windings. The third coil 831-833 has one end connected to the third inverter 13 and the other end connected.

第3インバータ13は、第3巻線組83に対応して設けられており、3相インバータである。第3インバータ13は、複数の第3スイッチング素子131−136を有する。高電位側スイッチング素子としての第3スイッチング素子131−133は、高電位側に接続されている。低電位側スイッチング素子としての第3スイッチング素子134−136は、低電位側に接続されている。   The third inverter 13 is provided corresponding to the third winding set 83 and is a three-phase inverter. The third inverter 13 includes a plurality of third switching elements 131-136. The third switching elements 131-133 as high potential side switching elements are connected to the high potential side. The third switching elements 134-136 as low potential side switching elements are connected to the low potential side.

シャント抵抗24は、複数のインバータ11−13およびバッテリ9の共通配線であるグランドラインLgに流れる電流、すなわち、コイル811−813、821−823、831−833にそれぞれ流れる電流を検出可能である。   The shunt resistor 24 can detect the current flowing through the ground line Lg, which is a common wiring of the plurality of inverters 11-13 and the battery 9, that is, the current flowing through the coils 811-813, 821-823, 831-833.

第3巻線組83および第3インバータ13の組み合わせを第3系統とする。第3系統におけるU相電流Iu、V相電流IvおよびW相電流Iwを第3U相電流Iu3、第3V相電流Iv3および第3W相電流Iw3と適宜記載する。   A combination of the third winding set 83 and the third inverter 13 is a third system. The U-phase current Iu, the V-phase current Iv, and the W-phase current Iw in the third system are appropriately described as a third U-phase current Iu3, a third V-phase current Iv3, and a third W-phase current Iw3.

基準信号Pは、第1系統、第2系統および第3系統に対して、それぞれ生成される。第3系統に対応する基準信号Pを第3基準信号P3とする。基準信号生成部66は、第1基準信号P1の位相、第2基準信号P2の位相および第3基準信号P3の位相が同位相となるように、基準信号Pを生成する。第3系統における各一時値を第3前半デューティ一時値Du3_at、Dv3_at、Dw3_atおよび第3後半デューティ一時値Du3_bt、Dv3_bt、Dw3_btとする。   The reference signal P is generated for each of the first system, the second system, and the third system. A reference signal P corresponding to the third system is defined as a third reference signal P3. The reference signal generator 66 generates the reference signal P so that the phase of the first reference signal P1, the phase of the second reference signal P2, and the phase of the third reference signal P3 are the same. The temporary values in the third system are defined as third first half duty temporary values Du3_at, Dv3_at, Dw3_at and third second half duty temporary values Du3_bt, Dv3_bt, Dw3_bt.

第2実施形態と同様に、電流検出タイミング調整演算部274は、第3前半デューティ一時値Du3_at、Dv3_at、Dw3_atの中で、最も小さい値を第3前半最小値MinD3_aとする。電流検出タイミング調整演算部274は、第3前半デューティ一時値Du3_at、Dv3_at、Dw3_atの中で、最も大きい値を第3前半最大値MaxD3_aとする。   As in the second embodiment, the current detection timing adjustment calculation unit 274 sets the smallest value among the third first half duty temporary values Du3_at, Dv3_at, and Dw3_at as the third first half minimum value MinD3_a. The current detection timing adjustment calculation unit 274 sets the largest value among the third first half duty temporary values Du3_at, Dv3_at, and Dw3_at as the third first half maximum value MaxD3_a.

また、電流検出タイミング調整演算部274は、第3後半デューティ一時値Du3_bt、Dv3_bt、Dw3_btの中で最も小さい値を第3後半最小値MinD3_bとする。第3後半デューティ一時値Du3_bt、Dv3_bt、Dw3_btの中で最も大きい値を第3後半最大値MaxD3_bとする。   In addition, the current detection timing adjustment calculation unit 274 sets the smallest value among the third second half duty temporary values Du3_bt, Dv3_bt, and Dw3_bt as the third second half minimum value MinD3_b. The largest value among the third second half duty temporary values Du3_bt, Dv3_bt, Dw3_bt is set as the third second half maximum value MaxD3_b.

1周期目における第3系統の前半デューティ指令値を第31前半デューティ指令値Du31_a、Dv31_a、Dw31_aとする。1周期目における第3系統の後半デューティ指令値を第31後半デューティ指令値Du31_b、Dv31_b、Dw31_bとする。2周期目における第3系統の前半デューティ指令値を第32前半デューティ指令値Du32_a、Dv32_a、Dw32_aとする。2周期目における第3系統の後半デューティ指令値を第32後半デューティ指令値Du32_b、Dv32_b、Dw32_bとする。3周期目における第3系統の前半デューティ指令値を第33前半デューティ指令値Du33_a、Dv33_a、Dw33_aとする。3周期目における第3系統の後半デューティ指令値を第33後半デューティ指令値Du33_b、Dv33_b、Dw33_bとする。4周期目における第3系統の前半デューティ指令値を第34前半デューティ指令値Du34_a、Dv34_a、Dw34_aとする。4周期目における第3系統の後半デューティ指令値を第34後半デューティ指令値Du34_b、Dv34_b、Dw34_bとする。これらの第3系統のデューティ指令値は、第2実施形態または第3実施形態と同様に、演算される。   The first half duty command value of the third system in the first cycle is defined as the 31st first half duty command value Du31_a, Dv31_a, and Dw31_a. The latter half duty command value of the third system in the first cycle is defined as the 31st latter half duty command value Du31_b, Dv31_b, Dw31_b. The first half duty command value of the third system in the second cycle is defined as the 32nd first half duty command value Du32_a, Dv32_a, Dw32_a. The second half duty command value of the third system in the second cycle is defined as the 32nd second half duty command value Du32_b, Dv32_b, Dw32_b. The first half duty command value of the third system in the third cycle is defined as the 33rd first half duty command value Du33_a, Dv33_a, Dw33_a. The latter half duty command value of the third system in the third cycle is defined as the 33rd latter half duty command value Du33_b, Dv33_b, Dw33_b. The first half duty command value of the third system in the fourth period is defined as the 34th first half duty command value Du34_a, Dv34_a, Dw34_a. The latter half duty command value of the third system in the fourth cycle is defined as the 34th latter half duty command value Du34_b, Dv34_b, Dw34_b. These third system duty command values are calculated in the same manner as in the second or third embodiment.

図26に示すように、例えば、第1前半W相デューティ一時値Dw1_atが第1前半最小値MinD1_aであるとする。第1前半V相デューティ一時値Dv1_atが第1前半最大値MaxD1_aであるとする。第1後半V相デューティ一時値Dv1_btが第1後半最小値MinD1_bであるとする。第1後半W相デューティ一時値Dw1_btが第1後半最大値MaxD1_bであるとする。   As shown in FIG. 26, for example, the first first half W-phase duty temporary value Dw1_at is assumed to be the first first half minimum value MinD1_a. The first first half V-phase duty temporary value Dv1_at is assumed to be the first first half maximum value MaxD1_a. It is assumed that the first second half V-phase duty temporary value Dv1_bt is the first second half minimum value MinD1_b. The first second half W-phase duty temporary value Dw1_bt is assumed to be the first second half maximum value MaxD1_b.

第2前半W相デューティ一時値Dw2_atが第2前半最小値MinD2_aであるとする。第2前半V相デューティ一時値Dv2_atが第2前半最大値MaxD2_aであるとする。第2後半V相デューティ一時値Dv2_btが第2後半最小値MinD2_bであるとする。第2後半W相デューティ一時値Dw2_btが第2後半最大値MaxD2_bであるとする。   The second first half W-phase duty temporary value Dw2_at is assumed to be the second first half minimum value MinD2_a. The second first half V-phase duty temporary value Dv2_at is assumed to be the second first half maximum value MaxD2_a. The second second half V-phase duty temporary value Dv2_bt is assumed to be the second second half minimum value MinD2_b. The second second half W-phase duty temporary value Dw2_bt is assumed to be the second second half maximum value MaxD2_b.

第3前半W相デューティ一時値Dw3_atが第3前半最小値MinD3_aであるとする。第3前半V相デューティ一時値Dv3_atが第3前半最大値MaxD3_aであるとする。第3後半V相デューティ一時値Dv3_btが第3後半最小値MinD3_bであるとする。第3後半W相デューティ一時値Dw3_btが第3後半最大値MaxD3_bであるとする。   The third first half W-phase duty temporary value Dw3_at is assumed to be the third first half minimum value MinD3_a. It is assumed that the third first half V-phase duty temporary value Dv3_at is the third first half maximum value MaxD3_a. It is assumed that the third latter half V-phase duty temporary value Dv3_bt is the third latter half minimum value MinD3_b. It is assumed that the third second half W-phase duty temporary value Dw3_bt is the third second half maximum value MaxD3_b.

電流検出タイミング調整演算部274は、1つの系統が有効電圧ベクトルであり、残りの系統が無効電圧ベクトルとなるように、中性点電圧を操作する。図26において、記載を明確にするため、第1系統、第2系統および第3系統において、U相に係るデューティを実線で記載している。同様に、V相に係るデューティを破線で記載している。W相に係るデューティを一点鎖線で記載している。なお、デューティ指令値Du、Dv、Dwの表示を省略している。   The current detection timing adjustment calculation unit 274 operates the neutral point voltage so that one system is an effective voltage vector and the remaining systems are invalid voltage vectors. In FIG. 26, in order to clarify the description, in the first system, the second system, and the third system, the duty concerning the U phase is shown by a solid line. Similarly, the duty concerning V phase is indicated by a broken line. The duty concerning the W phase is indicated by a one-dot chain line. The duty command values Du, Dv, and Dw are not shown.

この場合、時刻e81から時刻e85までの期間では、第2系統および第3系統において、V0電圧ベクトルが確保される。時刻e82から時刻e83までの期間では、第1系統において、V3電圧ベクトルが確保される。時刻e83から時刻e84までの期間では、第1系統において、V5電圧ベクトルが確保される。   In this case, during the period from time e81 to time e85, the V0 voltage vector is secured in the second system and the third system. In the period from time e82 to time e83, the V3 voltage vector is secured in the first system. In the period from time e83 to time e84, the V5 voltage vector is secured in the first system.

時刻e82から時刻e83までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1V相コイル812に流れる電流の値を取得する。時刻e82から時刻e83までの期間にAD変換器54が取得した電流値を第11電流値I11とする。   In a period from time e82 to time e83, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first V-phase coil 812. The current value acquired by the AD converter 54 during the period from time e82 to time e83 is defined as an eleventh current value I11.

時刻e83から時刻e84までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1W相コイル813に流れる電流の値を取得する。時刻e83から時刻e44までの期間にAD変換器54が取得した電流値を第12電流値I12とする。   In a period from time e83 to time e84, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first W-phase coil 813. The current value acquired by the AD converter 54 during the period from time e83 to time e44 is defined as a twelfth current value I12.

時刻e86から時刻e90までの期間では、第1系統および第3系統において、V0電圧ベクトルが確保される。時刻e87から時刻e88までの期間では、第2系統において、V3電圧ベクトルが確保される。時刻e88から時刻e89までの期間では、第2系統において、V5電圧ベクトルが確保される。   In the period from time e86 to time e90, the V0 voltage vector is secured in the first system and the third system. In the period from time e87 to time e88, the V3 voltage vector is secured in the second system. In the period from time e88 to time e89, the V5 voltage vector is secured in the second system.

時刻e87から時刻e88までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2V相コイル822に流れる電流の値を取得する。時刻e87から時刻e88までの期間にAD変換器54が取得した電流値を第13電流値I13とする。   In the period from time e87 to time e88, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second V-phase coil 822. The current value acquired by the AD converter 54 during the period from time e87 to time e88 is defined as a thirteenth current value I13.

時刻e88から時刻e89までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2W相コイル823に流れる電流の値を取得する。時刻e88から時刻e89までの期間にAD変換器54が取得した電流値を第14電流値I14とする。   In a period from time e88 to time e89, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second W-phase coil 823. The current value acquired by the AD converter 54 during the period from time e88 to time e89 is defined as a fourteenth current value I14.

時刻e91から時刻e95までの期間では、第1系統および第2系統において、V0電圧ベクトルが確保される。時刻e92から時刻e93までの期間では、第3系統において、V3電圧ベクトルが確保される。時刻e93から時刻e94までの期間では、第3系統において、V5電圧ベクトルが確保される。   In the period from time e91 to time e95, the V0 voltage vector is secured in the first system and the second system. In the period from time e92 to time e93, the V3 voltage vector is secured in the third system. In the period from time e93 to time e94, the V5 voltage vector is secured in the third system.

時刻e92から時刻e93までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第3V相コイル832に流れる電流の値を取得する。時刻e92から時刻e93までの期間にAD変換器54が取得した電流値を第15電流値I15とする。   In a period from time e92 to time e93, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the third V-phase coil 832. The current value acquired by the AD converter 54 during the period from time e92 to time e93 is defined as a fifteenth current value I15.

時刻e93から時刻e94までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第3W相コイル833に流れる電流の値を取得する。時刻e93から時刻e94までの期間にAD変換器54が取得した電流値を第16電流値I16とする。   In a period from time e93 to time e94, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the third W-phase coil 833. The current value acquired by the AD converter 54 during the period from time e93 to time e94 is defined as a sixteenth current value I16.

時刻e96から時刻e97までの期間では、第1系統、第2系統および第3系統において、V0電圧ベクトルが確保される。時刻e96から時刻e97までの期間において、AD変換器54が電流を取得することで、取得した電流値のゼロ点を調整できる。時刻e96から時刻e97までの期間で、AD変換器54が取得した電流値を第17電流値I17とする。   In the period from time e96 to time e97, the V0 voltage vector is secured in the first system, the second system, and the third system. In the period from time e96 to time e97, the AD converter 54 acquires the current, whereby the zero point of the acquired current value can be adjusted. In the period from time e96 to time e97, the current value acquired by the AD converter 54 is defined as a seventeenth current value I17.

この場合において、相電流演算部61は、第11−第17電流I11−I17およびキルヒホッフの法則に基づき、U相電流Iu、V相電流IvおよびW相電流Iwを演算する。相電流演算部61は、以下関係式(23−1)−(23−9)となるように、U相電流Iu、V相電流IvおよびW相電流Iwを演算する。このように、系統の数が3つ以上の複数の系統であってもよい。   In this case, the phase current calculation unit 61 calculates the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw based on the eleventh to seventeenth currents I11 to I17 and Kirchhoff's law. The phase current calculation unit 61 calculates the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw so as to satisfy the following relational expressions (23-1)-(23-9). In this way, a plurality of systems having three or more systems may be used.

Iv1=I11−I17 ・・・(23−1)
Iw1=I12−I17 ・・・(23−2)
Iu1=−Iv1−Iw1 ・・・(23−3)
Iv2=I13−I17 ・・・(23−4)
Iw2=I14−I17 ・・・(23−5)
Iu2=−Iv2−Iw2 ・・・(23−6)
Iv3=I15−I17 ・・・(23−7)
Iw3=I16−I17 ・・・(23−8)
Iu3=−Iv3−Iw3 ・・・(23−9)
Iv1 = I11−I17 (23-1)
Iw1 = I12−I17 (23-2)
Iu1 = −Iv1−Iw1 (23-3)
Iv2 = I13−I17 (23-4)
Iw2 = I14−I17 (23-5)
Iu2 = −Iv2−Iw2 (23-6)
Iv3 = I15-I17 (23-7)
Iw3 = I16−I17 (23-8)
Iu3 = −Iv3−Iw3 (23-9)

また、上記の場合において、第3実施形態のように、電流検出タイミング調整演算部274は、AD変換器54の取得回数の半分以上において、1つの系統が無効電圧ベクトルであり、残りの系統が有効電圧ベクトルとなるように、中性点電圧を操作してもよい。   Further, in the above case, as in the third embodiment, the current detection timing adjustment calculation unit 274 is configured such that one system is an invalid voltage vector and the remaining systems are in half or more of the number of acquisitions of the AD converter 54. The neutral point voltage may be manipulated so that the effective voltage vector is obtained.

図27に示すように、例えば、第1前半W相デューティ一時値Dw1_atが第1前半最小値MinD1_aであるとする。第1前半V相デューティ一時値Dv1_atが第1前半最大値MaxD1_aであるとする。第1後半W相デューティ一時値Dw1_btが第1後半最小値MinD1_bであるとする。第1後半U相デューティ一時値Du1_btが第1後半最大値MaxD1_bであるとする。図27において、記載を明確にするため、第1系統、第2系統および第3系統において、U相に係るデューティを実線で記載している。同様に、V相に係るデューティを破線で記載している。W相に係るデューティを一点鎖線で記載している。なお、デューティ指令値Du、Dv、Dwの表示を省略している。   As shown in FIG. 27, for example, the first first half W-phase duty temporary value Dw1_at is assumed to be the first first half minimum value MinD1_a. The first first half V-phase duty temporary value Dv1_at is assumed to be the first first half maximum value MaxD1_a. The first second half W-phase duty temporary value Dw1_bt is assumed to be the first second half minimum value MinD1_b. The first second half U-phase duty temporary value Du1_bt is assumed to be the first second half maximum value MaxD1_b. In FIG. 27, in order to clarify the description, in the first system, the second system, and the third system, the duty relating to the U phase is indicated by a solid line. Similarly, the duty concerning V phase is indicated by a broken line. The duty concerning the W phase is indicated by a one-dot chain line. The duty command values Du, Dv, and Dw are not shown.

第2前半W相デューティ一時値Dw2_atが第2前半最小値MinD2_aであるとする。第2前半V相デューティ一時値Dv2_atが第2前半最大値MaxD2_aであるとする。第2後半W相デューティ一時値Dw2_btが第2後半最小値MinD2_bであるとする。第2後半U相デューティ一時値Du2_btが第2後半最大値MaxD2_bであるとする。   The second first half W-phase duty temporary value Dw2_at is assumed to be the second first half minimum value MinD2_a. The second first half V-phase duty temporary value Dv2_at is assumed to be the second first half maximum value MaxD2_a. The second second half W-phase duty temporary value Dw2_bt is assumed to be the second second half minimum value MinD2_b. It is assumed that the second second half U-phase duty temporary value Du2_bt is the second second half maximum value MaxD2_b.

第3前半W相デューティ一時値Dw3_atが第3前半最小値MinD3_aであるとする。第3前半V相デューティ一時値Dv3_atが第3前半最大値MaxD3_aであるとする。第3後半W相デューティ一時値Dw3_btが第3後半最小値MinD3_bであるとする。第3後半U相デューティ一時値Du3_btが第3後半最大値MaxD3_bであるとする。   The third first half W-phase duty temporary value Dw3_at is assumed to be the third first half minimum value MinD3_a. It is assumed that the third first half V-phase duty temporary value Dv3_at is the third first half maximum value MaxD3_a. It is assumed that the third second half W-phase duty temporary value Dw3_bt is the third second half minimum value MinD3_b. It is assumed that the third second half U-phase duty temporary value Du3_bt is the third second half maximum value MaxD3_b.

時刻e101から時刻e102までの期間では、第1系統、第2系統および第3系統において、V3電圧ベクトルが確保される。時刻e101から時刻e102までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1V相コイル812、第2V相コイル822および第3V相コイル832に流れる電流の値を取得する。時刻e101から時刻e102までの期間で、AD変換器54が取得した電流値を第18電流値I18とする。   In the period from time e101 to time e102, the V3 voltage vector is secured in the first system, the second system, and the third system. In a period from time e101 to time e102, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first V-phase coil 812, the second V-phase coil 822, and the third V-phase coil 832. The current value acquired by the AD converter 54 during the period from time e101 to time e102 is defined as an eighteenth current value I18.

時刻e103から時刻e105までの期間では、第1系統において、V7電圧ベクトルが確保される。時刻e104から時刻e105までの期間では、第2系統および第3系統において、V5電圧ベクトルが確保される。時刻e104から時刻e105までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2W相コイル823および第3W相コイル833に流れる電流の値を取得する。時刻e104から時刻e105までの期間で、AD変換器54が取得した電流値を第19電流値I19とする。   In the period from time e103 to time e105, the V7 voltage vector is secured in the first system. In the period from time e104 to time e105, the V5 voltage vector is secured in the second system and the third system. In a period from time e104 to time e105, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second W-phase coil 823 and the third W-phase coil 833. The current value acquired by the AD converter 54 during the period from time e104 to time e105 is defined as a nineteenth current value I19.

時刻e106から時刻e109までの期間では、第1系統において、V0電圧ベクトルが確保される。時刻e107から時刻e108までの期間では、第2系統および第3系統において、V3電圧ベクトルが確保される。時刻e107から時刻e108までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2V相コイル822および第3V相コイル832に流れる電流の値を取得する。時刻e108から時刻e109までの期間で、AD変換器54が取得した電流値を第20電流値I20とする。   In the period from time e106 to time e109, the V0 voltage vector is secured in the first system. In the period from time e107 to time e108, the V3 voltage vector is secured in the second system and the third system. In a period from time e107 to time e108, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second V-phase coil 822 and the third V-phase coil 832. The current value acquired by the AD converter 54 during the period from time e108 to time e109 is defined as a twentieth current value I20.

時刻e110から時刻e111までの期間では、第1系統、第2系統および第3系統において、V5電圧ベクトルが確保される。時刻e110から時刻e111までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第1W相コイル813、第2W相コイル823および第3W相コイル833に流れる電流の値を取得する。時刻e110から時刻e111までの期間で、AD変換器54が取得した電流値を第21電流値I21とする。   In a period from time e110 to time e111, the V5 voltage vector is secured in the first system, the second system, and the third system. In a period from time e110 to time e111, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the first W-phase coil 813, the second W-phase coil 823, and the third W-phase coil 833. The current value acquired by the AD converter 54 during the period from time e110 to time e111 is defined as a 21st current value I21.

時刻e112から時刻e114までの期間では、第1系統および第3系統において、V0電圧ベクトルが確保される。時刻e113から時刻e114までの期間では、第2系統において、V3電圧ベクトルが確保される。時刻e113から時刻e114までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2V相コイル822に流れる電流の値を取得する。時刻e113から時刻e114までの期間で、AD変換器54が取得した電流値を第22電流値I22とする。   In the period from time e112 to time e114, the V0 voltage vector is secured in the first system and the third system. In the period from time e113 to time e114, the V3 voltage vector is secured in the second system. In a period from time e113 to time e114, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second V-phase coil 822. The current value acquired by the AD converter 54 during the period from time e113 to time e114 is defined as a 22nd current value I22.

時刻e115から時刻e117までの期間では、第1系統および第3系統において、V7電圧ベクトルが確保される。時刻e116から時刻e117までの期間では、第2系統において、V5電圧ベクトルが確保される。時刻e116から時刻e117までの期間で、AD変換器54は、シャント抵抗24から電流値を取得する。このとき、AD変換器54は、第2W相コイル823に流れる電流の値を取得する。時刻e116から時刻e117までの期間で、AD変換器54が取得した電流値を第23電流値I23とする。   In the period from time e115 to time e117, the V7 voltage vector is secured in the first system and the third system. In the period from time e116 to time e117, the V5 voltage vector is secured in the second system. In a period from time e116 to time e117, the AD converter 54 acquires a current value from the shunt resistor 24. At this time, the AD converter 54 acquires the value of the current flowing through the second W-phase coil 823. The current value acquired by the AD converter 54 in the period from time e116 to time e117 is defined as a 23rd current value I23.

時刻e118から時刻e119までの期間では、第1系統、第2系統および第3系統において、V0電圧ベクトルが確保される。時刻e118から時刻e119までの期間において、AD変換器54が電流を取得することで、取得した電流値のゼロ点を調整できる。時刻e118から時刻e119までの期間で、AD変換器54が取得した電流値を第24電流値I24とする。なお、第18−第23電流値I18−I23は、以下関係式(24−1)−(24−6)のように、表される。   In the period from time e118 to time e119, the V0 voltage vector is secured in the first system, the second system, and the third system. In the period from time e118 to time e119, the AD converter 54 acquires the current, whereby the zero point of the acquired current value can be adjusted. In the period from time e118 to time e119, the current value acquired by the AD converter 54 is set as a 24th current value I24. The 18th to 23rd current values I18 to I23 are expressed as the following relational expressions (24-1) to (24-6).

I18=Iv1+Iv2+Iv3 ・・・(24−1)
I19=Iw2+Iw3 ・・・(24−2)
I20=Iv2+Iv3 ・・・(24−3)
I21=Iw1+Iw2+Iw3 ・・・(24−4)
I22=Iv2 ・・・(24−5)
I23=Iw2 ・・・(24−6)
I18 = Iv1 + Iv2 + Iv3 (24-1)
I19 = Iw2 + Iw3 (24-2)
I20 = Iv2 + Iv3 (24-3)
I21 = Iw1 + Iw2 + Iw3 (24-4)
I22 = Iv2 (24-5)
I23 = Iw2 (24-6)

この場合、相電流演算部61は、第18−第24電流I18−I24およびキルヒホッフの法則に基づき、U相電流Iu、V相電流IvおよびW相電流Iwを演算する。相電流演算部61は、以下関係式(25−1)−(25−9)となるように、U相電流Iu、V相電流IvおよびW相電流Iwを演算する。このように、系統の数が3つ以上の複数の系統であってもよい。   In this case, the phase current calculation unit 61 calculates the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw based on the 18th to 24th currents I18 to I24 and Kirchhoff's law. The phase current calculation unit 61 calculates the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw so as to satisfy the following relational expressions (25-1)-(25-9). In this way, a plurality of systems having three or more systems may be used.

Iv1=I18−I20−I24 ・・・(25−1)
Iw1=I21−I19−I24 ・・・(25−2)
Iu1=−Iv1−Iw1 ・・・(25−3)
Iv2=I22−I24 ・・・(25−4)
Iw2=I23−I24 ・・・(25−5)
Iu2=−Iv2−Iw2 ・・・(25−6)
Iv3=I20−I22−I24 ・・・(25−7)
Iw3=I19−I23−I24 ・・・(25−8)
Iu3=−Iv3−Iw3 ・・・(25−9)
Iv1 = I18-I20-I24 (25-1)
Iw1 = I21−I19−I24 (25-2)
Iu1 = −Iv1−Iw1 (25-3)
Iv2 = I22−I24 (25-4)
Iw2 = I23−I24 (25-5)
Iu2 = -Iv2-Iw2 (25-6)
Iv3 = I20-I22-I24 (25-7)
Iw3 = I19-I23-I24 (25-8)
Iu3 = -Iv3-Iw3 (25-9)

以上、本発明はこのような実施形態に限定されるものではなく、発明の趣旨を逸脱しない範囲において、種々の形態で実施することができる。   As mentioned above, this invention is not limited to such embodiment, In the range which does not deviate from the meaning of invention, it can implement with a various form.

1、2、3 ・・・電力変換装置(モータ制御装置)、
9 ・・・電源(バッテリ)、
11、12、13 ・・・インバータ、
21、22、23、24 ・・・電流検出部、
51、52、53、54 ・・・電流取得部、
66 ・・・基準信号生成部、
74、274 ・・・電流検出タイミング調整演算部、
Lg1、Lg2、Lg3、Lg ・・・共通配線。
1, 2, 3... Power converter (motor controller),
9 ... Power source (battery),
11, 12, 13 ... inverter,
21, 22, 23, 24 ... current detection unit,
51, 52, 53, 54 ... current acquisition unit,
66 ・ ・ ・ Reference signal generator,
74, 274... Current detection timing adjustment calculation unit,
Lg1, Lg2, Lg3, Lg ... Common wiring.

Claims (11)

3相以上の巻線(811、812、813、821、822、823、831、832、833)を含む複数の巻線組(81、82、83)を有する回転電機(80)を制御する電力変換装置(1、2、3)であって、
前記巻線組ごとに対応して設けられており、高電位側に設けられる高電位側スイッチング素子(111、112、113、121、122、123、131、132、133)および低電位側に設けられる低電位側スイッチング素子(114、115、116、124、125、126、134、135、136)を有し、電源(9)から電力が供給される複数のインバータ(11、12、13)と、
前記インバータおよび前記電源の共通配線(Lg1、Lg2、Lg3、Lg)に設けられている電流検出部(21、22、23、24)と、
1周期の区間である基準信号周期(Tp)を有する搬送波である基準信号(P)を生成可能な基準信号生成部(66)と、
前記基準信号周期に前記インバータの数(Ni)を乗算した区間以上の周期である制御周期(Tc)毎に、前記基準信号およびデューティ指令値(Du、Dv、Dw)に基づき、前記高電位側スイッチング素子および前記低電位側スイッチング素子のオンオフ作動を制御する制御部(60)と、
前記制御周期毎に複数回、前記電流検出部が検出した電流値を取得する電流取得部(51、52、53、54)と、
を備え、
前記制御部は、
前記低電位側スイッチング素子が全オンであるとき、または、前記高電位側スイッチング素子が全オンであるときを無効電圧ベクトル(V0、V7)とし、前記制御周期または前記基準信号周期の前半期間における前記デューティ指令値を前半デューティ指令値とし、前記制御周期または前記基準信号周期の後半期間における前記デューティ指令値を後半デューティ指令値とすると、
前記電流取得部の取得回数の半数以上において、半数以上の前記インバータが前記無効電圧ベクトルとなるようにし、
全ての前記インバータに対して、前記制御周期において少なくとも1回、それぞれの前記インバータに流れた電流を含む電流値を、前記電流取得部が取得可能となるように、前記前半デューティ指令値および前記後半デューティ指令値を演算する電流検出タイミング調整演算部(74、274)を有する電力変換装置。
Electric power for controlling a rotating electrical machine (80) having a plurality of winding sets (81, 82, 83) including windings of three or more phases (811, 812, 813, 821, 822, 823, 831, 832, 833) A conversion device (1, 2, 3),
Provided corresponding to each winding group, provided on the high potential side switching element (111, 112, 113, 121, 122, 123, 131, 132, 133) provided on the high potential side and on the low potential side A plurality of inverters (11, 12, 13) having a low potential side switching element (114, 115, 116, 124, 125, 126, 134, 135, 136) to which power is supplied from a power source (9); ,
A current detection unit (21, 22, 23, 24) provided in a common wiring (Lg1, Lg2, Lg3, Lg) of the inverter and the power supply;
A reference signal generation unit (66) capable of generating a reference signal (P) which is a carrier wave having a reference signal period (Tp) which is a section of one period;
Based on the reference signal and the duty command value (Du, Dv, Dw) for each control period (Tc) that is a period equal to or more than a section obtained by multiplying the reference signal period by the number of inverters (Ni), the high potential side A control unit (60) for controlling on / off operation of the switching element and the low potential side switching element;
A current acquisition unit (51, 52, 53, 54) for acquiring a current value detected by the current detection unit a plurality of times for each control period;
With
The controller is
When the low-potential side switching element is fully on, or when the high-potential side switching element is fully on, the reactive voltage vector (V0, V7) is used, and the first half period of the control period or the reference signal period When the duty command value is a first half duty command value, and the duty command value in the second half period of the control cycle or the reference signal cycle is a second half duty command value,
In more than half of the number of acquisitions of the current acquisition unit, more than half of the inverters become the reactive voltage vector,
For all the inverters, the first half duty command value and the second half so that the current acquisition unit can acquire a current value including a current flowing through each inverter at least once in the control cycle. The power converter device which has an electric current detection timing adjustment calculating part (74, 274) which calculates a duty command value.
前記電流検出部の数は、前記巻線組の相数と同数であり、
前記電流検出タイミング調整演算部は、前記電流取得部の取得回数の半数以上において、半数以上の前記インバータにおける前記低電位側スイッチング素子が全てオフとなり、残りの前記インバータにおける前記低電位側スイッチング素子が全てオンとなるように、前記制御周期の前半期間における前記前半デューティ指令値(Du_a、Dv_a、Dw_a)および前記制御周期の後半期間における前記後半デューティ指令値(Du_b、Dv_b、Dw_b)を演算する請求項1に記載の電力変換装置。
The number of the current detection units is the same as the number of phases of the winding set,
In the current detection timing adjustment calculation unit, when the number of acquisition times of the current acquisition unit is more than half, all of the low-potential side switching elements in the inverters are turned off, and the low-potential side switching elements in the remaining inverters are The first half duty command values (Du_a, Dv_a, Dw_a) in the first half period of the control cycle and the second half duty command values (Du_b, Dv_b, Dw_b) in the second half period of the control cycle are calculated so that all are turned on. Item 4. The power conversion device according to Item 1.
前記巻線組は、2組であり、
前記インバータは、前記巻線組の数と同数設けられており、
前記基準信号生成部は、それぞれの前記インバータに対して前記基準信号を生成し、一方の前記基準信号である第1基準信号(P1)の位相が他方の前記基準信号である第2基準信号(P2)の位相に対して反転するように、前記第1基準信号および前記第2基準信号を生成する請求項2に記載の電力変換装置。
The winding set is two sets,
The number of the inverters is the same as the number of the winding sets,
The reference signal generation unit generates the reference signal for each of the inverters, and a first reference signal (P1) that is one of the reference signals has a second reference signal (P1) that is the other reference signal. The power converter according to claim 2, wherein the first reference signal and the second reference signal are generated so as to be inverted with respect to the phase of P2).
前記電流検出タイミング調整演算部(74)は、2つの前記インバータにおける前記低電位側スイッチング素子が全てオフとなるように、前記制御周期の前半期間における前記前半デューティ指令値(Du_a、Dv_a、Dw_a)および前記制御周期の後半期間における前記後半デューティ指令値(Du_b、Dv_b、Dw_b)を演算し、
前記制御部は、2つの前記インバータにおける前記低電位側スイッチング素子が全てオフであるときに前記電流取得部が取得した電流値(ADU3、ADV3、ADW3)を用いて、前記巻線に流れる電流(Iu1、Iv1、Iw1、Iu2、Iv2、Iw2)を演算する相電流演算部(61)をさらに有する請求項3に記載の電力変換装置。
The current detection timing adjustment calculation unit (74) is configured to output the first half duty command values (Du_a, Dv_a, Dw_a) in the first half period of the control cycle so that all the low potential side switching elements in the two inverters are turned off. And calculating the latter half duty command value (Du_b, Dv_b, Dw_b) in the latter half of the control cycle,
The control unit uses a current value (ADU3, ADV3, ADW3) acquired by the current acquisition unit when all of the low-potential side switching elements in the two inverters are off, and thereby a current ( The power converter according to claim 3, further comprising a phase current calculation unit (61) for calculating Iu1, Iv1, Iw1, Iu2, Iv2, Iw2).
前記電流検出タイミング調整演算部(74)は、前記制御周期において、一方の前記インバータにおける前記低電位側スイッチング素子が全てオフであり、他方の前記インバータにおける前記低電位側スイッチング素子の2つ以上がオンとなるように、前記制御周期の前半期間における前記前半デューティ指令値および前記制御周期の後半期間における前記後半デューティ指令値を演算する請求項3に記載の電力変換装置。   In the current detection timing adjustment calculation unit (74), in the control cycle, all of the low potential side switching elements in one inverter are off, and two or more of the low potential side switching elements in the other inverter are The power converter according to claim 3, wherein the first half duty command value in the first half period of the control cycle and the second half duty command value in the second half period of the control cycle are calculated so as to be turned on. 前記巻線組は、2組であり、
前記インバータは、前記巻線組に対応して2つ設けられており、
2組の前記巻線組および2つの前記インバータが2つ設けられている請求項2に記載の電力変換装置。
The winding set is two sets,
Two inverters are provided corresponding to the winding sets,
The power converter according to claim 2, wherein two sets of windings and two inverters are provided.
前記巻線組は、3相の前記巻線を含み、
前記電流検出部は、前記巻線組と同数であり、前記巻線に流れる電流を検出可能であり、
前記電流検出タイミング調整演算部は、前記電流取得部の取得回数の半数以上において、半数以上の前記インバータが前記無効電圧ベクトルとなり、残りの前記インバータにおける前記低電位側スイッチング素子の2つまたは1つがオンとなるように、前記基準信号周期の前半期間における前記前半デューティ指令値(Du11_a−Du14_a、Du21_a−Du24_a、Dv11_a−Dv14_a、Dv21_a−Dv24_a、Dw11_a−Dw14_a、Dw21_a−Dw24_a)および前記基準信号周期の後半期間における前記後半デューティ指令値(Du11_b−Du14_b、Du21_b−Du24_b、Dv11_b−Dv14_b、Dv21_b−Dv24_b、Dw11_b−Dw14_b、Dw21_b−Dw24_b)を演算する請求項1に記載の電力変換装置。
The winding set includes the three-phase windings;
The current detection unit is the same number as the winding set, and can detect the current flowing in the winding,
In the current detection timing adjustment calculation unit, in more than half of the number of acquisitions of the current acquisition unit, more than half of the inverters become the reactive voltage vector, and two or one of the low potential side switching elements in the remaining inverters are The first half duty command values (Du11_a-Du14_a, Du21_a-Du24_a, Dv11_a-Dv14_a, Dv21_a-Dv24_a, Dw11_a-Dw14_a, Dw21_a-Dw24_a) and the reference signal in the first half period of the reference signal cycle and the reference signal cycle The latter half duty command values (Du11_b-Du14_b, Du21_b-Du24_b, Dv11_b-Dv14_b, Dv21_b-Dv24_b, Dw11_b-Dw14_b, Dw2 in the second half period _b-Dw24_b) power converter according to claim 1 for computing a.
前記制御部は、
前記巻線に流れる電流(Iu1、Iv1、Iw1)を演算する相電流演算部(61)と、
前記巻線に流れる電流に基づき、前記巻線に印加される電圧に係る電圧指令値(Vu、Vv、Vw)を演算する電圧指令値演算部(271)と、
前記電圧指令値をデューティ換算値(Du_r、Dv_r、Dw_r)の換算するデューティ換算部(272)と、
前記インバータに流れる電流をそれぞれ取得可能な期間を確保するように、前記デューティ換算値を補正する電流検出期間確保演算部(273)と、
をさらに有し、
前記電流検出タイミング調整演算部は、前記電流検出期間確保演算部が演算した値(Du_at、Dv_at、Dw_at、Du_bt、Dv_bt、Dw_bt)に基づき、前記前半デューティ指令値および前記後半デューティ指令値を演算する請求項7に記載の電力変換装置。
The controller is
A phase current calculation unit (61) for calculating currents (Iu1, Iv1, Iw1) flowing through the windings;
A voltage command value calculation unit (271) for calculating a voltage command value (Vu, Vv, Vw) related to a voltage applied to the winding based on a current flowing through the winding;
A duty converter (272) for converting the voltage command value into a duty converted value (Du_r, Dv_r, Dw_r);
A current detection period ensuring calculation unit (273) for correcting the duty conversion value so as to ensure a period in which each of the currents flowing through the inverter can be acquired;
Further comprising
The current detection timing adjustment calculation unit calculates the first half duty command value and the second half duty command value based on values (Du_at, Dv_at, Dw_at, Du_bt, Dv_bt, Dw_bt) calculated by the current detection period ensuring calculation unit. The power conversion device according to claim 7.
前記制御周期は、前記基準信号周期の4倍以上である請求項8に記載の電力変換装置。   The power conversion device according to claim 8, wherein the control cycle is four times or more of the reference signal cycle. 前記巻線組は、2組であり、
前記インバータは、前記巻線組に対応して2つ設けられている請求項9に記載の電力変換装置。
The winding set is two sets,
The power converter according to claim 9, wherein two inverters are provided corresponding to the winding sets.
前記巻線組は、3組であり、
前記インバータは、前記巻線組に対応して3つ設けられている請求項9に記載の電力変換装置。
The winding sets are 3 sets,
The power converter according to claim 9, wherein three inverters are provided corresponding to the winding sets.
JP2018041145A 2018-03-07 2018-03-07 Power converter Active JP7067135B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018041145A JP7067135B2 (en) 2018-03-07 2018-03-07 Power converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018041145A JP7067135B2 (en) 2018-03-07 2018-03-07 Power converter

Publications (2)

Publication Number Publication Date
JP2019161701A true JP2019161701A (en) 2019-09-19
JP7067135B2 JP7067135B2 (en) 2022-05-16

Family

ID=67996545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018041145A Active JP7067135B2 (en) 2018-03-07 2018-03-07 Power converter

Country Status (1)

Country Link
JP (1) JP7067135B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7193388B1 (en) * 2006-02-02 2007-03-20 Emerson Electric Co. Offset PWM signals for multiphase motor
JP2009055762A (en) * 2007-08-29 2009-03-12 Toshiba Carrier Corp Motor driving system
JP2012182874A (en) * 2011-02-28 2012-09-20 Toshiba Corp Motor control device
JP2013162536A (en) * 2012-02-01 2013-08-19 Mitsubishi Electric Corp Power conversion device
JP2015061381A (en) * 2013-09-18 2015-03-30 株式会社デンソー Power conversion apparatus, and electric power steering device using the same
JP2016201872A (en) * 2015-04-07 2016-12-01 日立オートモティブシステムズ株式会社 Motor drive device and phase current detection method for three-phase brushless motor
WO2017141513A1 (en) * 2016-02-17 2017-08-24 三菱電機株式会社 Power conversion apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7193388B1 (en) * 2006-02-02 2007-03-20 Emerson Electric Co. Offset PWM signals for multiphase motor
JP2009055762A (en) * 2007-08-29 2009-03-12 Toshiba Carrier Corp Motor driving system
JP2012182874A (en) * 2011-02-28 2012-09-20 Toshiba Corp Motor control device
JP2013162536A (en) * 2012-02-01 2013-08-19 Mitsubishi Electric Corp Power conversion device
JP2015061381A (en) * 2013-09-18 2015-03-30 株式会社デンソー Power conversion apparatus, and electric power steering device using the same
JP2016201872A (en) * 2015-04-07 2016-12-01 日立オートモティブシステムズ株式会社 Motor drive device and phase current detection method for three-phase brushless motor
WO2017141513A1 (en) * 2016-02-17 2017-08-24 三菱電機株式会社 Power conversion apparatus

Also Published As

Publication number Publication date
JP7067135B2 (en) 2022-05-16

Similar Documents

Publication Publication Date Title
JP5831444B2 (en) Rotating machine control device
US8816612B2 (en) Controller for multi-phase rotary device
JP7102407B2 (en) Inverter device and electric power steering device
JP5574790B2 (en) Motor drive device
JP4706324B2 (en) Control device for motor drive system
JP3480843B2 (en) Electric power steering control device and control method
JP5161985B2 (en) Power conversion device and control device for electric power steering
JP6699385B2 (en) Power converter
JP4591597B2 (en) Multiphase AC synchronous motor drive device
EP2913915B1 (en) Power conversion device
JP6260502B2 (en) Motor control device
JP6390489B2 (en) Inverter control device
JP5233861B2 (en) Motor control device
US10432124B2 (en) Current detection apparatus and control apparatus of rotary electric machine
JP2016119796A (en) Motor controller
JP2010119201A (en) Controller for ac motor
JP2012029378A (en) Load controller
JP7075318B2 (en) Steering device
JP7067135B2 (en) Power converter
JP5408918B2 (en) Motor control method and control apparatus
JP5473071B2 (en) Load control device
JP6471670B2 (en) Power control method and power control apparatus
JP4544057B2 (en) Control device for multiphase motor
JP2012039716A (en) Motor controller and motor control method
JP5392361B2 (en) Vehicle and vehicle control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220131

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220411

R151 Written notification of patent or utility model registration

Ref document number: 7067135

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151