WO2023053595A1 - モータ制御装置 - Google Patents

モータ制御装置 Download PDF

Info

Publication number
WO2023053595A1
WO2023053595A1 PCT/JP2022/024198 JP2022024198W WO2023053595A1 WO 2023053595 A1 WO2023053595 A1 WO 2023053595A1 JP 2022024198 W JP2022024198 W JP 2022024198W WO 2023053595 A1 WO2023053595 A1 WO 2023053595A1
Authority
WO
WIPO (PCT)
Prior art keywords
phase
time
timing
edge timing
update value
Prior art date
Application number
PCT/JP2022/024198
Other languages
English (en)
French (fr)
Inventor
耕太郎 片岡
友博 福村
Original Assignee
日本電産株式会社
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 日本電産株式会社 filed Critical 日本電産株式会社
Priority to CN202280064647.3A priority Critical patent/CN117999735A/zh
Priority to JP2023551075A priority patent/JPWO2023053595A1/ja
Priority to DE112022004704.6T priority patent/DE112022004704T5/de
Publication of WO2023053595A1 publication Critical patent/WO2023053595A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M7/00Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
    • H02M7/42Conversion of dc power input into ac power output without possibility of reversal
    • H02M7/44Conversion of dc power input into ac power output without possibility of reversal by static converters
    • H02M7/48Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode

Definitions

  • the present invention relates to a motor control device.
  • This application claims priority based on Japanese Patent Application No. 2021-162378 filed in Japan on September 30, 2021, the content of which is incorporated herein.
  • Patent Document 1 in an inverter device that supplies a three-phase AC voltage to a three-phase motor, three types of basic voltage vectors are used to generate a three-phase PWM (Pulse Width Modulation) signal, and based on the three-phase PWM signal, A technique is disclosed for generating a switching signal to be supplied to each of at least six switching elements included in an inverter device.
  • PWM Pulse Width Modulation
  • the potential difference (shaft voltage) between the output shaft of the motor and the motor case may momentarily fluctuate greatly. This may cause noise.
  • the shaft voltage may cause electrolytic corrosion in the rotor bearing of the motor. As a result of research by the inventors of the present application, it was found that this noise, in particular, may affect the occurrence of electrolytic corrosion.
  • One aspect of the motor control device of the present invention is a motor control device for controlling an n-phase motor (n is an integer equal to or greater than 3), which is connected to the n-phase motor and is connected to a DC power and an n-phase AC power.
  • a power conversion circuit that performs mutual conversion; and a control section that controls the power conversion circuit based on an n-phase duty command value updated at a predetermined update cycle, wherein the control section controls the n-phase duty command value. based on the updated value of this time, when it is predicted that the voltage fluctuations of at least the first-phase and second-phase connection terminals of the n-phase connection terminals connected to the n-phase motor occur in the same direction and at the same timing.
  • the generation timing is shifted in the first direction by a third period of time, and the generation timing of the voltage fluctuation at the connection terminal of the second phase determined by the next updated value or the previous updated value of the n-phase duty command value is shifted to the first direction. Shift by a second time in the opposite direction.
  • a motor control device capable of reducing noise is provided.
  • FIG. 1 is a circuit block diagram schematically showing the configuration of a motor control device according to one embodiment of the present invention.
  • FIG. 2 is a diagram schematically showing the principle of generating three-phase PWM signals based on three-phase duty command values.
  • FIG. 3 is a timing chart showing an example in which the falling edge timing of the V-phase PWM signal matches the falling edge timing of the W-phase PWM signal.
  • FIG. 4 is a timing chart showing the basic concept of the present invention.
  • FIG. 5 is a timing chart showing an example in which the rising edge timing of the V-phase PWM signal matches the rising edge timing of the W-phase PWM signal when the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%. is.
  • FIG. 1 is a circuit block diagram schematically showing the configuration of a motor control device according to one embodiment of the present invention.
  • FIG. 2 is a diagram schematically showing the principle of generating three-phase PWM signals based on three-phase duty command values.
  • FIG. 6 shows a comparison technique when the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100% and the rising edge timing of the V-phase PWM signal matches the rising edge timing of the W-phase PWM signal.
  • 3 is a timing chart showing an example of a three-phase PWM signal generated by;
  • FIG. 7 shows the case where the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100% and the rising edge timing of the V-phase PWM signal matches the rising edge timing of the W-phase PWM signal.
  • 4 is a timing chart showing an example of a three-phase PWM signal generated by the mode;
  • FIG. 8 shows that when the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100% and the falling edge timing of the V-phase PWM signal matches the falling edge timing of the W-phase PWM signal
  • 4 is a timing chart showing an example of three-phase PWM signals generated by the present embodiment
  • FIG. 9 is a timing chart showing an example in which the rising edge timing of the U-phase PWM signal matches the rising edge timing of the V-phase PWM signal when the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0%. is.
  • FIG. 10 shows a comparison technique when the rising edge timing of the U-phase PWM signal and the rising edge timing of the V-phase PWM signal match in a state where the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0%.
  • 3 is a timing chart showing an example of a three-phase PWM signal generated by;
  • FIG. 11 shows the case where the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0% and the rising edge timing of the U-phase PWM signal matches the rising edge timing of the V-phase PWM signal.
  • 4 is a timing chart showing an example of a three-phase PWM signal generated by the mode;
  • FIG. 12 shows that when the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0% and the falling edge timing of the U-phase PWM signal matches the falling edge timing of the V-phase PWM signal
  • 4 is a timing chart showing an example of three-phase PWM signals generated by the present embodiment
  • FIG. 13 shows a normal operation when the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100% and the rising edge timing of the V-phase PWM signal matches the rising edge timing of the W-phase PWM signal.
  • 4 is a timing chart showing an example of three-phase PWM signals generated by center alignment mode
  • FIG. 14 shows a normal operation when the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0% and the rising edge timing of the U-phase PWM signal and the rising edge timing of the V-phase PWM signal match.
  • 4 is a timing chart showing an example of three-phase PWM signals generated by center alignment mode;
  • FIG. 15 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 0% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%.
  • FIG. 10 is a timing chart showing an example of coincidence with the rising edge timing of a signal;
  • FIG. 16 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 0% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by this embodiment when the rising edge timing of the signal matches;
  • FIG. 17 shows the falling edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 0% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%.
  • FIG. 10 is a timing chart showing an example in which the falling edge timing of a PWM signal matches;
  • FIG. 18 shows the falling edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 0% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by the present embodiment when the falling edge timing of the PWM signal matches;
  • FIG. 19 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • FIG. 19 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • FIG. 10 is a timing chart showing an example of coincidence with the rising edge timing of a signal
  • FIG. FIG. 20 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by this embodiment when the rising edge timing of the signal matches
  • FIG. 21 shows the falling edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • FIG. 20 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-
  • FIG. 10 is a timing chart showing an example in which the falling edge timing of a PWM signal matches;
  • FIG. FIG. 22 shows the falling edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by the present embodiment when the falling edge timing of the PWM signal matches;
  • FIG. 23 shows the U-phase upper gate control signal G1, the U-phase lower gate control signal G2, and the U-phase lower gate control signal G2 when the directions of the V-phase and W-phase currents are both directed from the power conversion circuit to the three-phase motor.
  • FIG. 24 shows the U-phase upper side when the direction of the W-phase current is the direction from the power conversion circuit to the three-phase motor and the direction of the V-phase current is the direction from the three-phase motor to the power conversion circuit.
  • Gate control signal G1, U-phase lower gate control signal G2, U-phase terminal voltage Vu, V-phase upper gate control signal G3, V-phase lower gate control signal G4, V-phase terminal voltage Vv, W 4 is a timing chart showing an example of waveforms of a phase upper gate control signal G5, a W-phase lower gate control signal G6, and a W-phase terminal voltage Vw.
  • FIG. 1 is a circuit block diagram schematically showing the configuration of the motor control device 10 according to this embodiment.
  • the motor control device 10 controls a three-phase motor 20.
  • the three-phase motor 20 is an inner rotor type three-phase brushless DC motor.
  • the three-phase motor 20 is, for example, a drive motor (traction motor) mounted on an electric vehicle.
  • the three-phase motor 20 has a U-phase terminal 21u, a V-phase terminal 21v, a W-phase terminal 21w, a U-phase coil 22u, a V-phase coil 22v, and a W-phase coil 22w.
  • the three-phase motor 20 has a motor case, and a rotor and a stator housed in the motor case.
  • the rotor is a rotating body that is rotatably supported inside the motor case by a bearing component such as a rotor bearing.
  • the rotor has an output shaft coaxially joined with the rotor while axially passing through the radially inner side of the rotor.
  • the stator is fixed inside the motor case so as to surround the outer peripheral surface of the rotor, and generates an electromagnetic force necessary to rotate the rotor.
  • the U-phase terminal 21u, the V-phase terminal 21v, and the W-phase terminal 21w are metal terminals exposed from the surface of the motor case.
  • U-phase terminal 21 u is connected to U-phase connection terminal 13 u of motor control device 10 .
  • V-phase terminal 21 v is connected to V-phase connection terminal 13 v of motor control device 10 .
  • the W-phase terminal 21 w is connected to the W-phase connection terminal 13 w of the motor control device 10 .
  • the U-phase coil 22u, the V-phase coil 22v, and the W-phase coil 22w are excitation coils provided in the stator, respectively.
  • the U-phase coil 22u, the V-phase coil 22v, and the W-phase coil 22w are star-connected inside the three-phase motor 20 .
  • U-phase coil 22u is connected between U-phase terminal 21u and neutral point N.
  • V-phase coil 22v is connected between V-phase terminal 21v and neutral point N.
  • W-phase coil 2 2w is connected between the W-phase terminal 21w and the neutral point N.
  • the motor control device 10 includes a power conversion circuit 11 and an MCU (Microcontroller Unit) 12 .
  • the power conversion circuit 11 is connected to the three-phase motor 20 and performs mutual conversion between DC power and three-phase AC power.
  • the power conversion circuit 11 functions as an inverter, the power conversion circuit 11 converts the DC power supplied from the DC power supply 30 into three-phase AC power and outputs the three-phase AC power to the three-phase motor 20 .
  • DC power supply 30 is one of a plurality of batteries mounted on an electric vehicle.
  • the power conversion circuit 11 includes a U-phase upper arm switch QUH , a V-phase upper arm switch QVH , a W-phase upper arm switch QWH , a U-phase lower arm switch QUL , and a V-phase lower arm switch Q. and a W-phase lower arm switch QWL .
  • each arm switch is, for example, an IGBT (Insulated Gate Bipolar Transistor).
  • a collector terminal of the U-phase upper arm switch QUH , a collector terminal of the V-phase upper arm switch QVH , and a collector terminal of the W-phase upper arm switch QWH are connected to the positive terminal of the DC power supply 30, respectively.
  • the emitter terminal of the U-phase lower arm switch QUL , the emitter terminal of the V-phase lower arm switch QVL , and the emitter terminal of the W-phase lower arm switch QWL are connected to the negative terminal of the DC power supply 30, respectively.
  • the emitter terminal of the U-phase upper arm switch QUH is connected to the U-phase connection terminal 13u and the collector terminal of the U-phase lower arm switch QUL , respectively. That is, the emitter terminal of the U-phase upper arm switch QUH is connected to the U-phase terminal 21u of the three-phase motor 20 via the U-phase connection terminal 13u.
  • the emitter terminal of the V-phase upper arm switch QVH is connected to the V-phase connection terminal 13v and the collector terminal of the V-phase lower arm switch QVL , respectively. That is, the emitter terminal of the V-phase upper arm switch QVH is connected to the V-phase terminal 21v of the three-phase motor 20 via the V-phase connection terminal 13v.
  • the emitter terminal of the W-phase upper arm switch QWH is connected to the W-phase connection terminal 13w and the collector terminal of the W-phase lower arm switch QWL . That is, the emitter terminal of the W-phase upper arm switch QWH is connected to the W-phase terminal 21w of the three-phase motor 20 via the W-phase connection terminal 13w.
  • a gate terminal of the U-phase upper arm switch QUH , a gate terminal of the V-phase upper arm switch QVH , and a gate terminal of the W-phase upper arm switch QWH are connected to output terminals of the MCU 12, respectively.
  • the gate terminal of the U-phase lower arm switch QUL , the gate terminal of the V-phase lower arm switch QVL , and the gate terminal of the W-phase lower arm switch QWL are also connected to the output terminals of the MCU 12, respectively.
  • the power conversion circuit 11 is configured by a three-phase full bridge circuit having three upper arm switches and three lower arm switches.
  • the power conversion circuit 11 configured in this way performs mutual conversion between DC power and three-phase AC power by performing switching control of each arm switch by the MCU 12 .
  • the MCU 12 is a control unit that controls the power conversion circuit 11 based on the three-phase duty command value updated at a predetermined update cycle.
  • the three-phase duty command values include a U-phase duty command value DU, a V-phase duty command value DV, and a W-phase duty command value DW.
  • the MCU 12 has an MCU core 12a and a PWM module 12b.
  • the MCU core 12a executes command value calculation processing for calculating at least three-phase duty command values according to a program pre-stored in a memory (not shown).
  • the MCU 12 receives a torque command value output from a host controller.
  • the host controller is an ECU (Electronic Control Unit) mounted on an electric vehicle.
  • the MCU core 12a calculates a q-axis current command value and a d-axis current command value based on the torque command value, and calculates a three-phase duty command value as a three-phase voltage command value based on these current command values.
  • Torque control of the three-phase motor 20 is a well-known technology, so detailed description is omitted in this specification.
  • the MCU core 12a outputs the calculated three-phase duty command values, that is, the U-phase duty command value DU, the V-phase duty command value DV, and the W-phase duty command value DW to the PWM module 12b.
  • the PWM module 12b generates a gate control signal supplied to the gate terminal of each arm switch included in the power conversion circuit 11 based on the U-phase duty command value DU, the V-phase duty command value DV, and the W-phase duty command value DW. to generate
  • the gate control signals include a U-phase upper gate control signal G1 supplied to the gate terminal of the U-phase upper arm switch QUH and a U-phase lower gate control signal G1 supplied to the gate terminal of the U-phase lower arm switch QUL . and signal G2.
  • the gate control signals include a V-phase upper gate control signal G3 supplied to the gate terminal of the V-phase upper arm switch QVH and a V-phase lower arm switch QVL supplied to the gate terminal of the V-phase lower arm switch QVL.
  • a gate control signal G4 is included.
  • the gate control signals include a W-phase upper gate control signal G5 supplied to the gate terminal of the W-phase upper arm switch QWH and a W-phase lower arm switch QWL supplied to the gate terminal of the W-phase lower arm switch QWL.
  • a gate control signal G6 is included.
  • a dead time is inserted in each gate control signal to prevent the upper arm switch and the lower arm switch of the same phase from turning on at the same time.
  • FIG. 2 is a diagram schematically showing the principle of generating three-phase PWM signals based on three-phase duty command values.
  • the PWM module 12b generates a triangular wave TW having a predetermined period Tp.
  • the period Tp of the triangular wave TW may be referred to as the PWM period.
  • the triangular wave TW is composed of the count value of the PWM timer.
  • the count value of the PWM timer changes from the maximum value to the minimum value by operating the PWM timer in the countdown mode during the period from time t1 to time t2.
  • the PWM timer operates in the count-up mode, so that the count value of the PWM timer changes from the minimum value to the maximum value.
  • a period from time t1 to time t3 corresponds to the period of the triangular wave TW, that is, the PWM period Tp.
  • the countdown period from time t1 to time t2 and the countup period from time t2 to time t3 respectively correspond to half the PWM period Tp.
  • the three-phase duty command values are updated at each of the countdown start time t1 and the countup start time t2. That is, the update period Td of the three-phase duty command value corresponds to a period of 1/2 of the PWM period Tp.
  • a buffer register and an update register are assigned to each of the three duty command values included in the three-phase duty command value inside the PWM module 12b.
  • the three-phase duty command values calculated by the MCU core 12a are first stored in the buffer register. Then, when update timings such as the countdown start time t1 and the countup start time t2 arrive, the three-phase duty command values stored in the buffer registers are transferred to the update registers. Thus, "the three-phase duty command value is updated" means that the three-phase duty command value is transferred from the buffer register to the update register at the update timing.
  • the three-phase duty command value calculated by the MCU core 12a needs to be stored in the buffer register before the update timing arrives. Calculate the phase duty command value. That is, the MCU core 12a calculates the three-phase duty command value updated at the countdown start time t1 at a timing earlier than the countdown start time t1, and outputs the calculated three-phase duty command value to the PWM module 12b. Further, the MCU core 12a calculates a three-phase duty command value updated at the count-up start time t2 at a timing earlier than the count-up start time t2, and outputs the calculated three-phase duty command value to the PWM module 12b. In this way, the MCU core 12a repeats the command value calculation process in the same cycle as the update cycle Td of the three-phase duty command value, but the command value calculation timing is earlier than the update timing.
  • the U-phase duty command value DU is updated to "DU1”
  • the V-phase duty command value DV is updated to "DV1”
  • the W-phase duty command value DW is updated to "DW1 ” has been updated.
  • U-phase duty command value DU1 is greater than V-phase duty command value DV1.
  • V-phase duty command value DV1 is greater than W-phase duty command value DW1.
  • "DU1", "DV1", and "DW1" are the values in the update register assigned to each duty command value as described above.
  • the three-phase PWM signal becomes high level. In other words, during the countdown operation of the PWM timer, the three-phase PWM signal becomes high level at the timing when the count value of the PWM timer matches the three-phase duty command value.
  • the U-phase PWM signal PU becomes high level at the timing when the count value of the PWM timer matches the U-phase duty command value DU1.
  • the V-phase PWM signal PV becomes high level at the timing when the count value of the PWM timer matches the V-phase duty command value DV1.
  • the W-phase PWM signal PW goes high at the timing when the count value of the PWM timer matches the W-phase duty command value DW1.
  • the U-phase duty command value DU is updated to "DU2”
  • the V-phase duty command value DV is updated to "DV2”
  • the W-phase duty command value DW is updated to " DW2" has been updated.
  • U-phase duty command value DU2 is greater than V-phase duty command value DV2.
  • V-phase duty command value DV2 is greater than W-phase duty command value DW2.
  • "DU2", "DV2", and "DW2" are the values in the update register assigned to each duty command value as described above.
  • the three-phase PWM signal becomes low level. In other words, during the count-up operation of the PWM timer, the three-phase PWM signal becomes low level at the timing when the count value of the PWM timer matches the three-phase duty command value.
  • the U-phase PWM signal PU becomes low level at the timing when the count value of the PWM timer matches the U-phase duty command value DU2.
  • the V-phase PWM signal PV becomes low level at the timing when the count value of the PWM timer matches the V-phase duty command value DV2.
  • the W-phase PWM signal PW becomes low level at the timing when the count value of the PWM timer matches the W-phase duty command value DW2.
  • the operation during the countdown period from time t3 to time t4 is the same as the operation during the countdown period from time t1 to time t2.
  • the operation during the count-up period from time t4 to time t5 is the same as the operation during the count-up period from time t2 to time t3.
  • the duty ratio of the PWM signal is controlled in a so-called asymmetric center alignment mode in which the rising edge timing and the falling edge timing of the PWM signal are individually controlled.
  • asymmetric center alignment mode in which the rising edge timing and the falling edge timing of the PWM signal are individually controlled.
  • the PWM signal control mode that can be used in the present invention is not limited to the asymmetric center alignment mode.
  • V-phase duty command value DV and the W-phase duty command value DW among the three-phase duty command values updated at the count-up start time t2 are equal, from time t2 to time t3 In the countdown period of , the falling edge timing of the V-phase PWM signal PV matches the falling edge timing of the W-phase PWM signal PW.
  • electrolytic corrosion may occur in the rotor bearing of the three-phase motor 20 due to the potential difference (shaft voltage) between the output shaft of the three-phase motor 20 and the motor case.
  • the off timing of the V-phase PWM signal PV and the off timing of the W-phase PWM signal PW match in the n-th PWM control cycle.
  • the instantaneous large fluctuation of the shaft voltage causes the occurrence of electrolytic corrosion. It has been found that there is a risk of affecting In the example of FIG.
  • the MCU 12 in this embodiment selects one of the three-phase connection terminals 13u, 13v, and 13w connected to the three-phase motor 20 based on the current update value of the three-phase duty command value.
  • the timing of occurrence of the voltage fluctuation of the connection terminals of the first phase determined by the current update value is set to the first Shift in the first direction by the time, shift the occurrence timing of the voltage fluctuation of the remaining connection terminals determined by the current update value in the first direction by the third time, and the next update value or the previous update of the three-phase duty command value
  • the timing of occurrence of the voltage fluctuation of the connection terminal of the second phase determined by the value is shifted in the opposite direction of the first direction by a second time.
  • the technique disclosed in Japanese Patent Application Laid-Open No. 2005-51959 aims to avoid simultaneous switching of multiple phases.
  • the technology disclosed in Japanese Patent Application Laid-Open No. 2005-51959 is hereinafter referred to as a comparison technology.
  • the comparison technique when the edge timings of the two-phase PWM signals of the three-phase PWM signals match, the rising edge timing and the falling edge timing of one of the two-phase PWM signals are delayed by a predetermined time ⁇ T. .
  • the W-phase PWM signal PW is delayed by a predetermined time ⁇ T, the falling edge timing of the W-phase PWM signal PW exceeds the PWM cycle Tp, and there is a possibility that sufficient timing adjustment cannot be performed. Therefore, in this case, the PWM signal cannot be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, which complicates the program.
  • the PWM signal is generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value while avoiding simultaneous switching of multiple phases. can be generated.
  • FIG. 7 shows the rising edge timing of the V-phase PWM signal PV and the W-phase PWM signal when the duty ratio of the V-phase PWM signal PV and the W-phase PWM signal PW is close to 100% during the countdown period from time t1 to time t2.
  • 4 is a timing chart showing an example of three-phase PWM signals generated by the present embodiment when the rising edge timing of signal PW matches;
  • the MCU 12 determines that the type of occurrence timing of the voltage fluctuations of the first-phase and second-phase connection terminals predicted to match each other is the rising edge timing, and is within the range from the first threshold to 100%, the rising edge timings of the voltage fluctuations of the remaining connection terminals determined by the current update value are shifted in the direction of delay by a third time.
  • the rising edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the current update value is shifted in the direction of delay by the first time, and is determined by the next update value or the previous update value of the three-phase duty command value.
  • the falling edge timing of the voltage fluctuation at the connection terminal of the second phase is shifted forward by a second time.
  • the MCU 12 delays the rising edge timing of the W-phase PWM signal PW by a first time ⁇ T in the countdown period from time t1 to time t2, and shifts the U
  • the rising edge timing of the phase PWM signal PU is shifted in the delay direction by a third time ⁇ T. This is substantially the same as delaying all phases by ⁇ T and advancing only the turn-on timing of the V phase by ⁇ T.
  • the MCU 12 controls the falling edge of the V-phase PWM signal PV during the count-up period from time t2 to time t3.
  • the edge timing is shifted forward by the same amount (second time ⁇ T). Note that the example of FIG. 7 shows the case where the first time, the second time, and the third time have the same value ( ⁇ T).
  • the timing of the PWM signals can be adjusted within the PWM cycle Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value. Note that the V-phase processing and the W-phase processing described above may be interchanged.
  • the MCU core 12a of the MCU 12 executes the command value calculation process before the countdown start time t1, which is the update timing of the three-phase duty command value, and calculates the three-phase duty command value based on the three-phase duty command value calculated by the command value calculation process. It is predicted whether or not the edge timings of the two-phase PWM signals of the phase PWM signals match.
  • the MCU core 12a performs During the countdown period, it is predicted that the rising edge timing of the V-phase PWM signal PV and the rising edge timing of the W-phase PWM signal PW match.
  • the MCU core 12a predicts that the rising edge timing of the V-phase PWM signal PV matches the rising edge timing of the W-phase PWM signal PW, and the duty ratios of the V-phase and W-phase are from the first threshold to 100%. If it is determined to be within the range, a correction process is performed to subtract a value corresponding to the third time ⁇ T from the calculated value of the U-phase duty command value DU, and the first time from the calculated value of the W-phase duty command value DW. Correction processing is performed to subtract the value corresponding to ⁇ T.
  • the MCU core 12a outputs the V-phase duty command value DV calculated by the command value calculation process and the corrected U-phase duty command value DU and W-phase duty command value DW to the PWM module 12b.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the countdown start time t1 are temporarily stored in the buffer register. Then, when the countdown start time t1 arrives, the three-phase duty command values stored in the buffer register are transferred to the update register. Thus, at countdown start time t1, the content of the update register is updated to a new three-phase duty command value.
  • the rising edge timing of the W-phase PWM signal PW is delayed by the first time ⁇ T.
  • the rising edge timing of the U-phase PWM signal PU is delayed by a third time ⁇ T.
  • the MCU core 12a executes the command value calculation process again before the count-up start time t2, which is the next update timing of the three-phase duty command values.
  • the MCU core 12a performs a compensation process on the duty command values that were corrected when the previous command value calculation process was executed, among the three-phase duty command values calculated by the current command value calculation process. For example, the MCU core 12a performs compensation processing of adding a value corresponding to the second time ⁇ T to the calculated value of the V-phase duty command value DV among the three-phase duty command values calculated by the current command value calculation processing.
  • the MCU core 12a outputs the U-phase duty command value DU and W-phase duty command value DW calculated by the current command value calculation processing, and the V-phase duty command value DV subjected to the compensation processing to the PWM module 12b. do.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the count-up start time t2 are temporarily stored in the buffer register. Then, when the count-up start time t2 arrives, the three-phase duty command value stored in the buffer register is transferred to the update register. Thus, at count-up start time t2, the content of the update register is updated to a new three-phase duty command value.
  • the falling edge timing of the V-phase PWM signal PV is the second time ⁇ T only faster.
  • FIG. 8 shows the falling edge timing of the V-phase PWM signal PV and the W-phase PWM signal PV when the duty ratios of the V-phase PWM signal PV and the W-phase PWM signal PW are close to 100% during the countdown period from time t1 to time t2.
  • the MCU 12 determines that the type of occurrence timing of the voltage fluctuations of the connection terminals of the first phase and the second phase predicted to match each other is the falling edge timing, and the connection of the first phase and the second phase When the duty ratio of the voltage fluctuation of the terminal is included in the range from the first threshold to 100%, the falling edge timing of the voltage fluctuation of the remaining connection terminals determined by the current update value is moved forward by a third time.
  • the falling edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the current update value is shifted forward by the first time, and the next update value or the previous update value of the three-phase duty command value is shifted
  • the rising edge timing of the determined voltage fluctuation of the connection terminal of the second phase is shifted in the delay direction by the second time.
  • the MCU 12 shifts, for example, the falling edge timing of the W-phase PWM signal PW forward by a first time ⁇ T during the count-up period from time t2 to time t3.
  • the falling edge timing of the U-phase PWM signal PU is shifted forward by a third time ⁇ T. This is substantially the same as advancing all the phases by ⁇ T and delaying only the turn-off timing of the V phase by ⁇ T.
  • the MCU 12 sets the rising edge timing of the V-phase PWM signal PV during the countdown period from time t3 to time t4. is shifted in the lag direction by the same amount (second time ⁇ T).
  • the timing of the PWM signals can be adjusted within the PWM period Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value. Note that the V-phase processing and the W-phase processing described above may be interchanged.
  • the MCU core 12a of the MCU 12 executes the command value calculation process before the count-up start time t2, which is the update timing of the three-phase duty command value, and based on the three-phase duty command value calculated by the command value calculation process, It is predicted whether or not the edge timings of the two-phase PWM signals of the three-phase PWM signals match. For example, when the V-phase duty command value DV and the W-phase duty command value DW among the three-phase duty command values calculated before the count-up start time t2 are equal, the MCU core 12a operates from time t2 to time t3. It is predicted that the falling edge timing of the V-phase PWM signal PV matches the falling edge timing of the W-phase PWM signal PW during the count-up period.
  • the MCU core 12a predicts that the falling edge timing of the V-phase PWM signal PV matches the falling edge timing of the W-phase PWM signal PW, and the duty ratios of the V-phase and W-phase are 100% from the first threshold. , a correction process is performed to subtract a value corresponding to the third time ⁇ T from the calculated value of the U-phase duty command value DU, and the calculated value of the W-phase duty command value DW is subtracted from the calculated value of the W-phase duty command value DW. Correction processing is performed to subtract a value corresponding to one hour ⁇ T.
  • the MCU core 12a outputs the V-phase duty command value DV calculated by the command value calculation process and the corrected U-phase duty command value DU and W-phase duty command value DW to the PWM module 12b.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the count-up start time t2 are temporarily stored in the buffer register. Then, when the count-up start time t2 arrives, the three-phase duty command value stored in the buffer register is transferred to the update register. Thus, at count-up start time t2, the content of the update register is updated to a new three-phase duty command value.
  • the falling edge timing of the W-phase PWM signal PW is the first time ⁇ T.
  • the falling edge timing of the U-phase PWM signal PU is advanced by a third time ⁇ T.
  • the MCU core 12a executes the command value calculation process again before the countdown start time t3, which is the next update timing of the three-phase duty command values.
  • the MCU core 12a performs a compensation process on the duty command values that were corrected when the previous command value calculation process was executed, among the three-phase duty command values calculated by the current command value calculation process. For example, the MCU core 12a performs a compensation process of subtracting a value corresponding to the second time ⁇ T from the calculated value of the V-phase duty command value DV among the three-phase duty command values calculated by the current command value calculation process. .
  • the MCU core 12a outputs the U-phase duty command value DU and W-phase duty command value DW calculated by the current command value calculation processing, and the V-phase duty command value DV subjected to the compensation processing to the PWM module 12b. do.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the countdown start time t3 are temporarily stored in the buffer register. Then, when the countdown start time t3 arrives, the three-phase duty command values stored in the buffer register are transferred to the update register. Thus, at countdown start time t3, the content of the update register is updated to a new three-phase duty command value.
  • the rising edge timing of the V-phase PWM signal PV is delayed by a second time ⁇ T. .
  • the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0%.
  • the rising edge timing of the V-phase PWM signal matches.
  • the phase of the V-phase PWM signal PV is delayed by a predetermined time ⁇ T, for example, the rising edge timing of the V-phase PWM signal PV follows the trough of the triangular wave TW. It is possible to exceed. Therefore, in this case, the PWM signal cannot be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, which complicates the program.
  • the phase of the V-phase PWM signal PW is advanced by a predetermined time ⁇ T, the timing of the falling edge of the V-phase PWM signal PV may cross the trough of the triangular wave TW forward. Therefore, even in this case, the PWM signal cannot be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, which complicates the program.
  • FIG. 11 shows the case where the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0% and the rising edge timing of the U-phase PWM signal matches the rising edge timing of the V-phase PWM signal.
  • 4 is a timing chart showing an example of a three-phase PWM signal generated by the mode;
  • the MCU 12 determines that the type of occurrence timing of the voltage fluctuations of the first-phase and second-phase connection terminals predicted to match each other is the rising edge timing, and is within the range from the second threshold to 0%, the rising edge timing of the voltage fluctuations of the remaining connection terminals determined by the current update value is shifted forward by a third time.
  • the rising edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the current update value is shifted in the forward direction by the first time, and the three-phase duty command value is determined by the next update value or the previous update value.
  • the falling edge timing of the voltage fluctuation at the connection terminal of the second phase is shifted in the delay direction by the second time.
  • the MCU 12 shifts, for example, the rising edge timing of the U-phase PWM signal PU by a first time ⁇ T in the forward direction.
  • the rising edge timing of the phase PWM signal PW is shifted forward by a third time ⁇ T. This is substantially the same as advancing all the phases by ⁇ T and delaying only the turn-on timing of the V phase by ⁇ T.
  • the MCU 12 controls the falling edge of the V-phase PWM signal PV during the count-up period from time t2 to time t3.
  • the edge timing is shifted in the lag direction by the same amount (second time ⁇ T).
  • the timing of the PWM signals can be adjusted within the PWM period Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value. Note that the U-phase processing and the V-phase processing described above may be interchanged.
  • the MCU core 12a of the MCU 12 executes the command value calculation process before the countdown start time t1, which is the update timing of the three-phase duty command value, and calculates the three-phase duty command value based on the three-phase duty command value calculated by the command value calculation process. It is predicted whether or not the edge timings of the two-phase PWM signals of the phase PWM signals match.
  • the MCU core 12a performs During the countdown period, it is predicted that the rising edge timing of the U-phase PWM signal PU and the rising edge timing of the V-phase PWM signal PV match.
  • the MCU core 12a predicts that the rising edge timing of the U-phase PWM signal PU matches the rising edge timing of the V-phase PWM signal PV, and the duty ratios of the U-phase and V-phase are between the second threshold and 0%. If it is determined to be within the range, a correction process is performed to add a value corresponding to the third time ⁇ T to the calculated value of the W-phase duty command value DW, and the calculated value of the U-phase duty command value DU is corrected. , a correction process is performed to add a value corresponding to the first time ⁇ T.
  • the MCU core 12a outputs the V-phase duty command value DV calculated by the command value calculation process and the corrected U-phase duty command value DU and W-phase duty command value DW to the PWM module 12b.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the countdown start time t1 are temporarily stored in the buffer register. Then, when the countdown start time t1 arrives, the three-phase duty command values stored in the buffer register are transferred to the update register. Thus, at countdown start time t1, the content of the update register is updated to a new three-phase duty command value.
  • the rising edge timing of the U-phase PWM signal PW is advanced by the first time ⁇ T.
  • the rising edge timing of the W-phase PWM signal PW is advanced by a third time ⁇ T.
  • the MCU core 12a executes the command value calculation process again before the count-up start time t2, which is the next update timing of the three-phase duty command values.
  • the MCU core 12a performs a compensation process on the duty command values that were corrected when the previous command value calculation process was executed, among the three-phase duty command values calculated by the current command value calculation process. For example, the MCU core 12a performs compensation processing of adding a value corresponding to the second time ⁇ T to the calculated value of the V-phase duty command value DV among the three-phase duty command values calculated by the current command value calculation processing.
  • the MCU core 12a outputs the U-phase duty command value DU and W-phase duty command value DW calculated by the current command value calculation processing, and the V-phase duty command value DV subjected to the compensation processing to the PWM module 12b. do.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the count-up start time t2 are temporarily stored in the buffer register. Then, when the count-up start time t2 arrives, the three-phase duty command value stored in the buffer register is transferred to the update register. Thus, at count-up start time t2, the content of the update register is updated to a new three-phase duty command value.
  • the falling edge timing of the V-phase PWM signal PV is the second time ⁇ T Only late.
  • FIG. 12 shows that when the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0% and the falling edge timing of the U-phase PWM signal matches the falling edge timing of the V-phase PWM signal
  • 4 is a timing chart showing an example of three-phase PWM signals generated by the present embodiment
  • the MCU 12 determines that the type of occurrence timing of the voltage fluctuations of the connection terminals of the first phase and the second phase predicted to match each other is the falling edge timing, and the connection of the first phase and the second phase
  • the duty ratio of the voltage fluctuation of the terminal is included in the range from the second threshold to 0%, the falling edge timing of the voltage fluctuation of the remaining connection terminals determined by the current update value is delayed by a third time.
  • the falling edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the current update value is shifted in the direction of delay by the first time, and the next update value or the previous update value of the three-phase duty command value is shifted
  • the rising edge timing of the determined voltage fluctuation of the connection terminal of the second phase is shifted forward by a second time.
  • the MCU 12 delays the falling edge timing of the U-phase PWM signal PU by a first time ⁇ T during the count-up period from time t2 to time t3. , the falling edge timing of the W-phase PWM signal PW is shifted in the delay direction by the third time ⁇ T. This is substantially the same as delaying all phases by ⁇ T and advancing only the V-phase turn-off timing by ⁇ T.
  • the MCU 12 controls the rising edge timing of the V-phase PWM signal PV during the countdown period from time t3 to time t4. is shifted forward by the same amount (second time ⁇ T).
  • the timing of the PWM signals can be adjusted within the PWM period Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value. Note that the U-phase processing and the V-phase processing described above may be interchanged.
  • the MCU core 12a of the MCU 12 executes the command value calculation process before the count-up start time t2, which is the update timing of the three-phase duty command value, and based on the three-phase duty command value calculated by the command value calculation process, It is predicted whether or not the edge timings of the two-phase PWM signals of the three-phase PWM signals match. For example, when the U-phase duty command value DU and the V-phase duty command value DV among the three-phase duty command values calculated before the count-up start time t2 are equal, the MCU core 12a operates from time t2 to time t3. , it is predicted that the timing of the falling edge of the U-phase PWM signal PU and the timing of the falling edge of the V-phase PWM signal PV match.
  • the MCU core 12a predicts that the falling edge timing of the U-phase PWM signal PU matches the falling edge timing of the V-phase PWM signal PV, and the duty ratios of the U-phase and V-phase are 0% from the second threshold. , a correction process is performed to add a value corresponding to the third time ⁇ T to the calculated value of the W-phase duty command value DW, and the calculated value of the U-phase duty command value DU is performed. is corrected by adding a value corresponding to the first time ⁇ T.
  • the MCU core 12a outputs the V-phase duty command value DV calculated by the command value calculation process and the corrected U-phase duty command value DU and W-phase duty command value DW to the PWM module 12b.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the count-up start time t2 are temporarily stored in the buffer register. Then, when the count-up start time t2 arrives, the three-phase duty command value stored in the buffer register is transferred to the update register. Thus, at count-up start time t2, the content of the update register is updated to a new three-phase duty command value.
  • the falling edge timing of the U-phase PWM signal PW is the first time ⁇ T.
  • the falling edge timing of the W-phase PWM signal PW is delayed by a third time ⁇ T.
  • the MCU core 12a executes the command value calculation process again before the countdown start time t3, which is the next update timing of the three-phase duty command values.
  • the MCU core 12a performs a compensation process on the duty command values that were corrected when the previous command value calculation process was executed, among the three-phase duty command values calculated by the current command value calculation process. For example, the MCU core 12a performs compensation processing of adding a value corresponding to the second time ⁇ T to the calculated value of the V-phase duty command value DV among the three-phase duty command values calculated by the current command value calculation processing.
  • the MCU core 12a outputs the U-phase duty command value DU and W-phase duty command value DW calculated by the current command value calculation processing, and the V-phase duty command value DV subjected to the compensation processing to the PWM module 12b. do.
  • the three-phase duty command values input from the MCU core 12a to the PWM module 12b before the countdown start time t3 are temporarily stored in the buffer register. Then, when the countdown start time t3 arrives, the three-phase duty command values stored in the buffer register are transferred to the update register. Thus, at countdown start time t3, the content of the update register is updated to a new three-phase duty command value.
  • the rising edge timing of the V-phase PWM signal PV is only the second time ⁇ T. Hurry up.
  • the PWM signal is generated in the asymmetric center alignment mode in which the three-phase duty command value is updated at both peaks and troughs of the triangular wave TW.
  • the PWM signal is generated in the normal center alignment mode in which the three-phase duty command value is updated, the duty compensation for the timing shifted at the time of the current update should be performed at the time of the next update.
  • FIG. 13 shows a normal operation when the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100% and the rising edge timing of the V-phase PWM signal matches the rising edge timing of the W-phase PWM signal.
  • 4 is a timing chart showing an example of three-phase PWM signals generated by center alignment mode;
  • FIG. 13 illustrates a case where the three-phase duty command value is updated at peaks of the triangular wave TW, that is, at times t1, t3 and t5.
  • the duty of the U phase and the W phase is shortened by 2 ⁇ T. This corresponds to extending the duty by 2 ⁇ T for the V phase in the period from time t1 to time t3. Therefore, in this case, the duty of the V-phase is shortened by 2 ⁇ T during the period from time t3 to time t5.
  • FIG. 14 shows a normal operation when the duty ratios of the U-phase PWM signal and the V-phase PWM signal are close to 0% and the rising edge timing of the U-phase PWM signal and the rising edge timing of the V-phase PWM signal match.
  • 4 is a timing chart showing an example of three-phase PWM signals generated by center alignment mode;
  • FIG. 14 illustrates a case where the three-phase duty command value is updated at peaks of the triangular wave TW, that is, at times t1, t3 and t5.
  • the duty of the U-phase and W-phase is extended by 2 ⁇ T. This corresponds to shortening the duty by 2 ⁇ T for the V phase in the period from time t1 to time t3. Therefore, in this case, the V-phase duty is extended by 2 ⁇ T during the period from time t3 to time t5.
  • the V-phase PWM signal rises. Assume that the edge timing coincides with the rising edge timing of the W-phase PWM signal. Even in this case, when trying to avoid simultaneous switching of multiple phases based on the comparison technique, the normal method of generating a PWM signal by comparing the triangular wave TW and the three-phase duty command value cannot generate the PWM signal, and the program cannot generate the PWM signal. Complicated.
  • FIG. 16 shows a state in which the duty ratio of the U-phase PWM signal is close to 0% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%.
  • 5 is a timing chart showing an example of three-phase PWM signals generated by the present embodiment when the rising edge timing of the V-phase PWM signal and the rising edge timing of the W-phase PWM signal match;
  • the MCU 12 determines that the types of voltage fluctuations of the first-phase and second-phase connection terminals that are predicted to match each other are rising edge timings, and that the voltage fluctuations of the first-phase and second-phase connection terminals are If the duty ratio is within the range from the first threshold to 100% and the duty ratio of at least one voltage fluctuation of the remaining connection terminals is within the range from the second threshold to 0%, update this time
  • the rising edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the value is delayed by the first time, and the rising edge timing of the voltage fluctuation of the connection terminal of the second phase determined by the update value this time It is shifted forward by a fourth period of time, and the rising edge timings of the voltage fluctuations of the remaining connection terminals determined by the update value this time are shifted by a third period of time in a delayed direction.
  • the MCU 12 shifts the falling edge timing of the voltage fluctuation of the connection terminal of the second phase determined by the next update value or the previous update value of the three-phase duty command value in the forward direction by the second time, and the next update value
  • the falling edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the previous update value is shifted in the delay direction by the fifth time, and the next update value or the timing of the remaining connection terminals determined by the previous update value.
  • the falling edge timing of the voltage fluctuation is shifted forward by the sixth time.
  • the MCU 12 delays the rising edge timing of the W-phase PWM signal PW by a first time (3 ⁇ T/4) during the countdown period from time t1 to time t2.
  • the rising edge timing of the V-phase PWM signal PV is shifted forward by a fourth time ( ⁇ T/4)
  • the rising edge timing of the U-phase PWM signal PU is delayed by a third time ( ⁇ T/4). shift.
  • the MCU 12 shifts the falling edge timing of the V-phase PWM signal PV forward by a second time (3 ⁇ T/4), and shifts the falling edge timing of the W-phase PWM signal PW forward.
  • the falling edge timing is delayed by a fifth time ( ⁇ T/4), and the falling edge timing of the U-phase PWM signal PU is shifted forward by a sixth time ( ⁇ T/4).
  • the timing of the PWM signals can be adjusted within the PWM cycle Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, and the shift amount of the edge near the crest and trough of the triangular wave TW can be suppressed.
  • the on-time of all phases is uniformly shortened by ⁇ T/2.
  • the V-phase processing and W-phase processing described above may be interchanged.
  • FIG. 18 shows the falling edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 0% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 100%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by the present embodiment when the falling edge timing of the PWM signal matches;
  • the MCU 12 determines that the types of voltage fluctuations of the first-phase and second-phase connection terminals that are predicted to match each other are falling edge timings, and that the voltage fluctuations of the first-phase and second-phase connection terminals are is within the range from the first threshold to 100%, and the duty ratio of at least one of the remaining connection terminals is within the range from the second threshold to 0%.
  • the falling edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the updated value is shifted forward by the first time, and the falling edge timing of the voltage fluctuation of the connection terminal of the second phase determined by the current update value is shifted forward.
  • the falling edge timing is delayed by a fourth time, and the falling edge timing of the voltage fluctuations of the remaining connection terminals determined by the current update value is shifted forward by a third time. Furthermore, the MCU 12 delays the rising edge timing of the voltage fluctuation of the second phase connection terminal determined by the next update value or the previous update value of the three-phase duty command value by a second time, and shifts the next update value or The rising edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the previous update value is shifted forward by a fifth time, and the voltage fluctuation of the remaining connection terminals determined by the next update value or the previous update value. is shifted in the direction of delay by the sixth time.
  • the MCU 12 advances the falling edge timing of the W-phase PWM signal PW by a first time (3 ⁇ T/4) during the count-up period from time t2 to time t3.
  • the falling edge timing of the V-phase PWM signal PV is delayed by the fourth time ( ⁇ T/4), and the falling edge timing of the U-phase PWM signal PU is shifted to the third time ( ⁇ T/4). only shift forward.
  • the MCU 12 delays the rising edge timing of the V-phase PWM signal PV by a second time (3 ⁇ T/4), and delays the rising edge timing of the W-phase PWM signal PW. is shifted forward by a fifth time ( ⁇ T/4), and the rising edge timing of the U-phase PWM signal PU is shifted backward by a sixth time ( ⁇ T/4).
  • the timing of the PWM signals can be adjusted within the PWM period Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, and the shift amount of the edge near the crest and trough of the triangular wave TW can be suppressed.
  • the on-time of all phases is uniformly shortened by ⁇ T/2.
  • the V-phase processing and W-phase processing described above may be interchanged.
  • FIG. 20 shows the rising edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by this embodiment when the rising edge timing of the signal matches;
  • the MCU 12 determines that the types of voltage fluctuations of the first-phase and second-phase connection terminals that are predicted to match each other are rising edge timings, and that the voltage fluctuations of the first-phase and second-phase connection terminals are If the duty ratio is within the range from the second threshold to 0% and the duty ratio of at least one voltage fluctuation of the remaining connection terminals is within the range from the first threshold to 100%, update this time
  • the rising edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the value is shifted forward by the first time, and the rising edge timing of the voltage fluctuation of the connection terminal of the second phase determined by the update value this time is shifted forward.
  • the MCU 12 delays the falling edge timing of the voltage fluctuation of the connection terminal of the second phase determined by the next update value or the previous update value of the three-phase duty command value by a second time, and shifts the next update value
  • the falling edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the previous update value is shifted forward by the fifth time, and the timing of the remaining connection terminals determined by the next update value or the previous update value is shifted forward.
  • the falling edge timing of the voltage fluctuation is shifted in the delay direction by the sixth time.
  • the MCU 12 shifts, for example, the rising edge timing of the W-phase PWM signal PW forward by a first time (3 ⁇ T/4) during the countdown period from time t1 to time t2.
  • the rising edge timing of the V-phase PWM signal PV is delayed by a fourth time ( ⁇ T/4)
  • the rising edge timing of the U-phase PWM signal PU is advanced by a third time ( ⁇ T/4). shift.
  • the MCU 12 delays the falling edge timing of the V-phase PWM signal PV by a second time (3 ⁇ T/4) to delay the rising edge of the W-phase PWM signal PW.
  • the falling edge timing is shifted forward by a fifth time ( ⁇ T/4), and the falling edge timing of the U-phase PWM signal PU is shifted backward by a sixth time ( ⁇ T/4).
  • the timing of the PWM signals can be adjusted within the PWM period Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, and the shift amount of the edge near the crest and trough of the triangular wave TW can be suppressed.
  • the on-time of all phases is uniformly increased by ⁇ T/2.
  • the V-phase processing and W-phase processing described above may be interchanged.
  • the V-phase PWM signal rises. Assume that the falling edge timing matches the falling edge timing of the W-phase PWM signal. Even in this case, when trying to avoid simultaneous switching of multiple phases based on the comparison technique, the normal method of generating a PWM signal by comparing the triangular wave TW and the three-phase duty command value cannot generate the PWM signal, and the program cannot generate the PWM signal. Complicated.
  • FIG. 22 shows the falling edge timing of the V-phase PWM signal and the W-phase PWM signal when the duty ratio of the U-phase PWM signal is close to 100% and the duty ratios of the V-phase PWM signal and the W-phase PWM signal are close to 0%.
  • 5 is a timing chart showing an example of a three-phase PWM signal generated by the present embodiment when the falling edge timing of the PWM signal matches;
  • the MCU 12 determines that the types of voltage fluctuations of the first-phase and second-phase connection terminals that are predicted to match each other are falling edge timings, and that the voltage fluctuations of the first-phase and second-phase connection terminals are is within the range from the second threshold to 0%, and the duty ratio of at least one of the remaining connection terminals is within the range from the first threshold to 100%.
  • the falling edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the updated value is delayed by the first time, and the rising edge of the voltage fluctuation of the connection terminal of the second phase determined by the current update value is shifted.
  • the falling edge timing is shifted forward by a fourth time, and the falling edge timing of the voltage fluctuations of the remaining connection terminals determined by the update value this time is shifted backward by a third time. Furthermore, the MCU 12 shifts the rising edge timing of the voltage fluctuation of the connection terminal of the second phase determined by the next update value or the previous update value of the three-phase duty command value forward by a second time, and shifts the next update value or The rising edge timing of the voltage fluctuation of the connection terminal of the first phase determined by the previous update value is shifted in the delay direction by a fifth time, and the voltage fluctuation of the remaining connection terminals determined by the next update value or the previous update value. is shifted forward by a sixth time.
  • the MCU 12 delays, for example, the falling edge timing of the W-phase PWM signal PW by a first time (3 ⁇ T/4) in the count-up period from time t2 to time t3.
  • the falling edge timing of the V-phase PWM signal PV is shifted forward by the fourth time ( ⁇ T/4)
  • the falling edge timing of the U-phase PWM signal PU is shifted to the third time ( ⁇ T/4). shift in the lag direction.
  • the MCU 12 shifts the rising edge timing of the V-phase PWM signal PV forward by a second time (3 ⁇ T/4) to shift the rising edge timing of the W-phase PWM signal PW forward. is delayed by a fifth time ( ⁇ T/4), and the rising edge timing of the U-phase PWM signal PU is shifted forward by a sixth time ( ⁇ T/4).
  • the timing of the PWM signals can be adjusted within the PWM period Tp.
  • the PWM signal can be generated by the normal method of generating the PWM signal by comparing the triangular wave TW and the three-phase duty command value, and the shift amount of the edge near the crest and trough of the triangular wave TW can be suppressed.
  • the on-time of all phases is uniformly increased by ⁇ T/2.
  • the V-phase processing and W-phase processing described above may be interchanged.
  • FIG. 23 shows the U-phase upper gate control signal G1 and the U-phase lower gate control signal G2 when both the directions of the V-phase and W-phase currents are directed from the power conversion circuit 11 to the three-phase motor 20.
  • U-phase terminal voltage Vu, V-phase upper gate control signal G3, V-phase lower gate control signal G4, V-phase terminal voltage Vv, W-phase upper gate control signal G5, and W-phase lower gate control signal 4 is a timing chart showing an example of waveforms of G6 and a W-phase terminal voltage Vw;
  • the U-phase terminal voltage Vu is the voltage at the U-phase connection terminal 13u
  • the V-phase terminal voltage Vv is the voltage at the V-phase connection terminal 13v
  • the W-phase terminal voltage Vw is the voltage at the W-phase connection terminal 13w.
  • Vp is the positive potential of DC power supply 30, and Vn is the negative potential of DC power supply 30. In FIG. For simplicity of explanation, FIG. 23 ignores the voltage drop when the IGBTs and diodes are turned on.
  • dead time TD is inserted between U-phase upper gate control signal G1 and U-phase lower gate control signal G2.
  • dead time TD is inserted.
  • V-phase upper gate control signal G3 and the W-phase upper gate control signal G5 match at the off timing.
  • the V-phase terminal voltage Vv and the W-phase terminal voltage Vw simultaneously change from the positive potential Vp of the DC power supply 30 to the negative potential Vn.
  • the potential fluctuation at the point N becomes large, and the shaft voltage of the three-phase motor 20 also fluctuates greatly accordingly, causing noise.
  • the off timings of the V-phase upper gate control signal G3 and the W-phase upper gate control signal G5 are closer than a predetermined time ⁇ T, that is, when the gate driver delay or the like causes the phase voltage
  • the off-timing of the W-phase upper gate control signal G5 determined by the current updated value of the W-phase duty command value DW is shifted forward by a first time ⁇ T
  • the U-phase The off timing of the U-phase upper gate control signal G1 determined by the current updated value of the duty command value DU is shifted forward by a third time ⁇ T.
  • the ON timing corresponding to the W-phase upper gate control signal G5 is shifted forward by a first time ⁇ T so as to maintain the dead time TD
  • the side gate control signal G2 also shifts the ON timing corresponding to the U-phase upper side gate control signal G1 forward by a third time ⁇ T so as to maintain the dead time TD.
  • the waveform of the W-phase terminal voltage Vw is shifted forward by the first time ⁇ T
  • the waveform of the U-phase terminal voltage Vu is also shifted forward by the third time ⁇ T.
  • the ON timing of the V-phase upper gate control signal G3 determined by the next update value of the V-phase duty command value DV is shifted in the delay direction by the second time ⁇ T.
  • the V-phase lower gate control signal G4 also delays the off timing corresponding to the V-phase upper gate control signal G3 by the second time ⁇ T so as to maintain the dead time TD.
  • the waveform of the V-phase terminal voltage Vv is also shifted in the delay direction by the second time ⁇ T.
  • the V-phase terminal voltage Vv fluctuates in synchronization with the V-phase upper gate control signal G3.
  • the W-phase terminal voltage Vw fluctuates in synchronization with the W-phase upper gate control signal G5.
  • the V-phase terminal voltage Vv is applied to the V-phase lower gate control signal G4.
  • the W-phase terminal voltage Vw fluctuates in synchronization with the W-phase lower gate control signal G6.
  • the U-phase gate control signal and the W-phase gate control signal are brought forward at the matching occurrence timing, but instead of the W-phase gate control signal, the V-phase gate control signal may be brought forward.
  • the next W-phase gate control signal is shifted in the delay direction.
  • the U-phase gate control signal and the W-phase gate control signal may be shifted in the delayed direction instead of being advanced, in which case the next V-phase gate control signal is shifted in the advanced direction.
  • FIG. 24 shows the case where the direction of the V-phase current is the direction from the three-phase motor 20 to the power conversion circuit 11 and the direction of the W-phase current is the direction from the three-phase motor 20 to the power conversion circuit 11.
  • U-phase upper gate control signal G1, U-phase lower gate control signal G2, U-phase terminal voltage Vu, V-phase upper gate control signal G3, V-phase lower gate control signal G4, and V-phase terminal voltage 4 is a timing chart showing examples of waveforms of Vv, a W-phase upper gate control signal G5, a W-phase lower gate control signal G6, and a W-phase terminal voltage Vw.
  • the direction of the V-phase current is the direction from the three-phase motor 20 to the power conversion circuit 11
  • the direction of the W-phase current is the direction from the three-phase motor 20 to the power conversion circuit 11.
  • the V-phase terminal voltage Vv fluctuates in synchronization with the V-phase lower gate control signal G4
  • the W-phase terminal voltage Vw fluctuates in synchronization with the W-phase upper gate control signal G5.
  • the W-phase duty command when the ON timing of the V-phase lower gate control signal G4 and the OFF timing of the W-phase upper gate control signal G5 are closer than the predetermined time ⁇ T, the W-phase duty command
  • the off timing of the W-phase upper gate control signal G5 determined by the current update value of the value DW is shifted forward by a first time ⁇ T, and the U-phase upper gate control signal G5 determined by the current update value of the U-phase duty command value DU is shifted forward.
  • the off timing of the gate control signal G1 is shifted forward by a third time ⁇ T.
  • the ON timing corresponding to the W-phase upper gate control signal G5 is shifted forward by a first time ⁇ T so as to maintain the dead time TD
  • the side gate control signal G2 also shifts the ON timing corresponding to the U-phase upper side gate control signal G1 forward by a third time ⁇ T so as to maintain the dead time TD.
  • the waveform of the W-phase terminal voltage Vw is shifted forward by the first time ⁇ T
  • the waveform of the U-phase terminal voltage Vu is also shifted forward by the third time ⁇ T.
  • the ON timing of the V-phase upper gate control signal G3 determined by the next update value of the V-phase duty command value DV is shifted in the delay direction by the second time ⁇ T.
  • the V-phase lower gate control signal G4 also delays the off timing corresponding to the V-phase upper gate control signal G3 by the second time ⁇ T so as to maintain the dead time TD.
  • the waveform of the V-phase terminal voltage Vv is also shifted in the delay direction by the second time ⁇ T.
  • the V-phase terminal voltage Vv fluctuates in synchronization with the V-phase lower gate control signal G4
  • the W-phase terminal voltage Vw fluctuates in synchronization with the W-phase upper gate control signal G5. Therefore, when judging whether or not the matching of the switch timing occurs, the timing shifted by the dead time TD with respect to the upper gate control signal for the negative current phase (in this case, the V phase) is referred to as the "voltage of the connection terminal. It can be regarded as "variation timing".
  • connection terminal voltage fluctuates in synchronization with the upper gate control signal.
  • the connection terminal voltage rises at an early timing, and the connection terminal voltage drops at a timing later than the turn-off timing of the upper gate control signal by the dead time TD. Determining whether the switching timings are met must take this into account.
  • the U-phase gate control signal and the W-phase gate control signal are brought forward at the matching occurrence timing, but instead of the W-phase gate control signal, the V-phase gate control signal may be brought forward.
  • the next W-phase gate control signal is shifted in the delay direction.
  • the U-phase gate control signal and the W-phase gate control signal may be shifted in the delayed direction instead of being advanced, in which case the next V-phase gate control signal is shifted in the advanced direction.
  • the dead time when the dead time is provided, (1) whether the fluctuation of the terminal voltage is synchronized with the upper gate control signal or the lower gate control signal depends on the direction of the current. (2) provision of the dead time causes, for example, the turn-on timing to be delayed by the dead time; voltage fluctuations occurred in the same direction and at the same timing.
  • voltage fluctuations of at least two-phase connection terminals among the three-phase connection terminals 13u, 13v, and 13w occur in the same direction and at the same timing. is avoided, it is possible to prevent the shaft voltage of the three-phase motor 20 from instantaneously fluctuating significantly. That is, according to one embodiment of the present disclosure, it is possible to reduce noise caused by momentary large fluctuations in the shaft voltage. As a result, according to the embodiment of the present disclosure, it is possible to suppress the occurrence of electrolytic corrosion in the rotor bearing of the three-phase motor 20 .
  • the present invention is not limited to the above-described embodiments, and each configuration described in this specification can be appropriately combined within a mutually consistent range.
  • the motor control device 10 that controls the three-phase motor 20 is illustrated, but the motor to be controlled is not limited to the three-phase motor 20, and may be an n-phase motor (n is an integer of 3 or more). Just do it.
  • IGBTs are used as the arm switches included in the power conversion circuit 11, but the arm switches may be high-power switching elements other than IGBTs, such as MOS-FETs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Inverter Devices (AREA)

Abstract

本発明のモータ制御装置における一つの態様は、n相モータに接続され、直流電力とn相交流電力との相互変換を行う電力変換回路と、所定の更新周期で更新されるn相デューティ指令値に基づいて電力変換回路を制御する制御部と、を備え、制御部は、n相デューティ指令値の今回更新値に基づいて、n相モータと接続されるn相の接続端子のうち少なくとも第1相及び第2相の接続端子の電圧変動が同一方向且つ同一タイミングで発生すると予測した場合に、今回更新値で決定される第1相の接続端子の電圧変動の発生タイミングを第1時間だけ第1方向にシフトさせ、今回更新値で決定される残りの接続端子の電圧変動の発生タイミングを第3時間だけ第1方向にシフトさせ、n相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の発生タイミングを第1方向の逆方向に第2時間だけシフトさせる。

Description

モータ制御装置
本発明は、モータ制御装置に関する。本願は、2021年9月30日に日本に出願された特願2021-162378号に基づき優先権を主張し、その内容をここに援用する。
特許文献1には、三相モータに三相交流電圧を供給するインバータ装置において、3種類の基本電圧ベクトルを用いて三相PWM(Pulse Width Modulation)信号を生成し、三相PWM信号に基づいてインバータ装置に含まれる少なくとも6つのスイッチング素子の夫々に供給されるスイッチング信号を生成する技術が開示されている。
特許第3447366号公報
たとえば、三相PWM信号のうち二相のPWM信号のスイッチングタイミングが一致した瞬間に、モータの出力軸とモータケースとの間の電位差(軸電圧)が瞬間的に大きく変動することがある。これがノイズの原因となる虞がある。 また別の話として、軸電圧に起因して、モータのロータベアリングに電食が生じる場合がある。本願発明者らの研究の結果、とくに、このノイズが電食の発生に影響する虞があることが判明した。
本発明のモータ制御装置における一つの態様は、n相モータ(nは3以上の整数)を制御するモータ制御装置であって、前記n相モータに接続され、直流電力とn相交流電力との相互変換を行う電力変換回路と、所定の更新周期で更新されるn相デューティ指令値に基づいて前記電力変換回路を制御する制御部と、を備え、前記制御部は、前記n相デューティ指令値の今回更新値に基づいて、前記n相モータと接続されるn相の接続端子のうち少なくとも第1相及び第2相の接続端子の電圧変動が同一方向且つ同一タイミングで発生すると予測した場合に、前記今回更新値で決定される前記第1相の接続端子の電圧変動の発生タイミングを第1時間だけ第1方向にシフトさせ、前記今回更新値で決定される残りの接続端子の電圧変動の発生タイミングを第3時間だけ前記第1方向にシフトさせ、前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の発生タイミングを前記第1方向の逆方向に第2時間だけシフトさせる。
本発明の上記態様によれば、ノイズを低減することが可能なモータ制御装置が提供される。
図1は、本発明の一実施形態におけるモータ制御装置の構成を模式的に示す回路ブロック図である。 図2は、三相デューティ指令値に基づいて三相PWM信号が生成される原理を模式的に示す図である。 図3は、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する例を示すタイミングチャートである。 図4は、本発明の基本コンセプトを示すタイミングチャートである。 図5は、V相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する例を示すタイミングチャートである。 図6は、V相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、比較技術によって生成される三相PWM信号の一例を示すタイミングチャートである。 図7は、V相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図8は、V相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図9は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する例を示すタイミングチャートである。 図10は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する場合に、比較技術によって生成される三相PWM信号の一例を示すタイミングチャートである。 図11は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図12は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち下がりエッジタイミングとV相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図13は、V相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、通常のセンターアライメントモードによって生成される三相PWM信号の一例を示すタイミングチャートである。 図14は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する場合に、通常のセンターアライメントモードによって生成される三相PWM信号の一例を示すタイミングチャートである。 図15は、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する例を示すタイミングチャートである。 図16は、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図17は、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する例を示すタイミングチャートである。 図18は、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図19は、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する例を示すタイミングチャートである。 図20は、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図21は、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する例を示すタイミングチャートである。 図22は、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 図23は、V相とW相の電流の方向がともに電力変換回路から三相モータへ向かう方向である場合の、U相上側ゲート制御信号G1と、U相下側ゲート制御信号G2と、U相端子電圧Vuと、V相上側ゲート制御信号G3と、V相下側ゲート制御信号G4と、V相端子電圧Vvと、W相上側ゲート制御信号G5と、W相下側ゲート制御信号G6と、W相端子電圧Vwとの各波形の一例を示すタイミングチャートである。 図24は、W相の電流の方向が電力変換回路から三相モータへ向かう方向であり、且つV相の電流の方向が三相モータから電力変換回路へ向かう方向である場合の、U相上側ゲート制御信号G1と、U相下側ゲート制御信号G2と、U相端子電圧Vuと、V相上側ゲート制御信号G3と、V相下側ゲート制御信号G4と、V相端子電圧Vvと、W相上側ゲート制御信号G5と、W相下側ゲート制御信号G6と、W相端子電圧Vwとの各波形の一例を示すタイミングチャートである。
以下、本発明の一実施形態について図面を参照しながら詳細に説明する。 図1は、本実施形態におけるモータ制御装置10の構成を模式的に示す回路ブロック図である。図1に示すように、モータ制御装置10は、三相モータ20を制御する。一例として、三相モータ20は、インナーロータ型の三相ブラシレスDCモータである。また、三相モータ20は、例えば電動車両に搭載される駆動用モータ(トラクションモータ)である。 
三相モータ20は、U相端子21uと、V相端子21vと、W相端子21wと、U相コイル22uと、V相コイル22vと、W相コイル22wと、を有する。図1では図示を省略するが、三相モータ20は、モータケースと、モータケースに収容されたロータ及びステータとを有する。ロータは、モータケースの内部において、ロータベアリング等の軸受け部品によって回転可能に支持される回転体である。ロータは、ロータの径方向内側を軸方向に貫通した状態でロータと同軸接合される出力軸を有する。ステータは、モータケースの内部において、ロータの外周面を囲った状態で固定され、ロータを回転させるのに必要な電磁力を発生させる。 
U相端子21u、V相端子21v及びW相端子21wは、それぞれモータケースの表面から露出する金属端子である。U相端子21uは、モータ制御装置10のU相接続端子13uに接続される。V相端子21vは、モータ制御装置10のV相接続端子13vに接続される。W相端子21wは、モータ制御装置10のW相接続端子13wに接続される。U相コイル22u、V相コイル22v及びW相コイル22wは、それぞれステータに設けられた励磁コイルである。一例として、U相コイル22u、V相コイル22v及びW相コイル22wは、三相モータ20の内部でスター結線される。 
U相コイル22uは、U相端子21uと中性点Nとの間に接続される。V相コイル22vは、V相端子21vと中性点Nとの間に接続される。W相コイル2
2wは、W相端子21wと中性点Nとの間に接続される。U相コイル22u、V相コイル22v及びW相コイル22wの通電状態がモータ制御装置10によって制御されることにより、ロータを回転させるのに必要な電磁力が発生する。ロータが回転することにより、出力軸もロータに同期して回転する。 
モータ制御装置10は、電力変換回路11と、MCU(Microcontroller Unit)12と、を備える。電力変換回路11は、三相モータ20に接続され、直流電力と三相交流電力との相互変換を行う。電力変換回路11がインバータとして機能するとき、電力変換回路11は、直流電源30から供給される直流電力を三相交流電力に変換して三相モータ20に出力する。一例として、直流電源30は、電動車両に搭載される複数のバッテリの一つである。 
電力変換回路11は、U相上側アームスイッチQUHと、V相上側アームスイッチQVHと、W相上側アームスイッチQWHと、U相下側アームスイッチQULと、V相下側アームスイッチQVLと、W相下側アームスイッチQWLと、を有する。本実施形態において各アームスイッチは、例えばIGBT(Insulated Gate Bipolar Transistor)である。 
U相上側アームスイッチQUHのコレクタ端子、V相上側アームスイッチQVHのコレクタ端子、及びW相上側アームスイッチQWHのコレクタ端子は、それぞれ直流電源30の正極端子に接続される。U相下側アームスイッチQULのエミッタ端子、V相下側アームスイッチQVLのエミッタ端子、及びW相下側アームスイッチQWLのエミッタ端子は、それぞれ直流電源30の負極端子に接続される。 
U相上側アームスイッチQUHのエミッタ端子は、U相接続端子13uと、U相下側アームスイッチQULのコレクタ端子とのそれぞれに接続される。つまり、U相上側アームスイッチQUHのエミッタ端子は、U相接続端子13uを介して、三相モータ20のU相端子21uに接続される。V相上側アームスイッチQVHのエミッタ端子は、V相接続端子13vと、V相下側アームスイッチQVLのコレクタ端子とのそれぞれに接続される。つまり、V相上側アームスイッチQVHのエミッタ端子は、V相接続端子13vを介して、三相モータ20のV相端子21vに接続される。W相上側アームスイッチQWHのエミッタ端子は、W相接続端子13wと、W相下側アームスイッチQWLのコレクタ端子とのそれぞれに接続される。つまり、W相上側アームスイッチQWHのエミッタ端子は、W相接続端子13wを介して、三相モータ20のW相端子21wに接続される。 
U相上側アームスイッチQUHのゲート端子、V相上側アームスイッチQVHのゲート端子、及びW相上側アームスイッチQWHのゲート端子は、それぞれMCU12の出力端子に接続される。また、U相下側アームスイッチQULのゲート端子、V相下側アームスイッチQVLのゲート端子、及びW相下側アームスイッチQWLのゲート端子も、それぞれMCU12の出力端子に接続される。 
上記のように、電力変換回路11は、3つの上側アームスイッチと3つの下側アームスイッチとを有する三相フルブリッジ回路によって構成される。このように構成された電力変換回路11は、MCU12によって各アームスイッチのスイッチング制御が行われることにより、直流電力と三相交流電力との相互変換を行う。 
MCU12は、所定の更新周期で更新される三相デューティ指令値に基づいて電力変換回路11を制御する制御部である。三相デューティ指令値は、U相デューティ指令値DU、V相デューティ指令値DV、及びW相デューティ指令値DWを含む。MCU12は、MCUコア12aと、PWMモジュール12bと、を有する。 
MCUコア12aは、不図示のメモリに予め記憶されたプログラムに従って、少なくとも三相デューティ指令値を算出する指令値算出処理を実行する。図1では図示を省略するが、MCU12には、上位制御装置から出力されるトルク指令値が入力される。例えば、上位制御装置は、電動車両に搭載されるECU(Electronic Control Unit)である。例えば、MCUコア12aは、トルク指令値に基づいてq軸電流指令値及びd軸電流指令値を算出し、これらの電流指令値に基づいて三相デューティ指令値を三相電圧指令値として算出する。三相モータ20のトルク制御は公知技術であるので、本明細書では詳細な説明は省略する。 
MCUコア12aは、算出した三相デューティ指令値、すなわちU相デューティ指令値DU、V相デューティ指令値DV、及びW相デューティ指令値DWをPWMモジュール12bに出力する。PWMモジュール12bは、U相デューティ指令値DU、V相デューティ指令値DV、及びW相デューティ指令値DWに基づいて、電力変換回路11に含まれる各アームスイッチのゲート端子に供給されるゲート制御信号を生成する。 
ゲート制御信号には、U相上側アームスイッチQUHのゲート端子に供給されるU相上側ゲート制御信号G1と、U相下側アームスイッチQULのゲート端子に供給されるU相下側ゲート制御信号G2とが含まれる。また、ゲート制御信号には、V相上側アームスイッチQVHのゲート端子に供給されるV相上側ゲート制御信号G3と、V相下側アームスイッチQVLのゲート端子に供給されるV相下側ゲート制御信号G4とが含まれる。さらに、ゲート制御信号には、W相上側アームスイッチQWHのゲート端子に供給されるW相上側ゲート制御信号G5と、W相下側アームスイッチQWLのゲート端子に供給されるW相下側ゲート制御信号G6とが含まれる。各ゲート制御信号には、同じ相の上側アームスイッチと下側アームスイッチとが同時にオンに切り替わることを防止するためにデッドタイムが挿入される。 
図2は、三相デューティ指令値に基づいて三相PWM信号が生成される原理を模式的に示す図である。図2に示すように、PWMモジュール12bにおいて、所定の周期Tpを有する三角波TWが生成される。以下では、三角波TWの周期TpをPWM周期と呼称する場合がある。 
一例として、三角波TWは、PWMタイマのカウント値で構成される。図2に示す例では、時刻t1から時刻t2までの期間において、PWMタイマがカウントダウンモードで動作することにより、PWMタイマのカウント値は最大値から最小値に変化する。また、時刻t2から時刻t3までの期間において、PWMタイマがカウントアップモードで動作することにより、PWMタイマのカウント値は最小値から最大値に変化する。時刻t1から時刻t3までの期間が、三角波TWの周期、すなわちPWM周期Tpに相当する。 
時刻t1から時刻t2までのカウントダウン期間と、時刻t2から時刻t3までのカウントアップ期間とは、それぞれPWM周期Tpの1/2の期間に相当する。カウントダウン開始時刻t1と、カウントアップ開始時刻t2とのそれぞれにおいて、三相デューティ指令値は更新される。すなわち、三相デューティ指令値の更新周期Tdは、PWM周期Tpの1/2の期間に相当する。 
PWMモジュール12bの内部において、三相デューティ指令値に含まれる3つのデューティ指令値のそれぞれに、バッファレジスタと、更新用レジスタとが割り当てられる。MCUコア12aによって算出された三相デューティ指令値は、まずバッファレジスタに格納される。そして、カウントダウン開始時刻t1及びカウントアップ開始時刻t2などの更新タイミングが到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、「三相デューティ指令値が更新される」とは、更新タイミングにおいてバッファレジスタから更新用レジスタに三相デューティ指令値が転送されることを意味する。 
上記のように、更新タイミングが到来する前に、MCUコア12aによって算出された三相デューティ指令値がバッファレジスタに格納される必要があるため、MCUコア12aは、更新タイミングよりも早いタイミングで三相デューティ指令値を算出する。つまり、MCUコア12aは、カウントダウン開始時刻t1よりも早いタイミングで、カウントダウン開始時刻t1で更新される三相デューティ指令値を算出してPWMモジュール12bに出力する。また、MCUコア12aは、カウントアップ開始時刻t2よりも早いタイミングで、カウントアップ開始時刻t2で更新される三相デューティ指令値を算出してPWMモジュール12bに出力する。このように、MCUコア12aは、三相デューティ指令値の更新周期Tdと同じ周期で指令値算出処理を繰り返すが、指令値算出タイミングは、更新タイミングよりも早い。 
図2に示すように、カウントダウン開始時刻t1において、U相デューティ指令値DUが「DU1」に更新され、V相デューティ指令値DVが「DV1」に更新され、W相デューティ指令値DWが「DW1」に更新されたと仮定する。U相デューティ指令値DU1は、V相デューティ指令値DV1よりも大きい。V相デューティ指令値DV1は、W相デューティ指令値DW1よりも大きい。「DU1」、「DV1」、及び「DW1」は、上記のように各デューティ指令値に割り当てられた更新用レジスタ内の値である。 
三角波TWの下降中に、三角波TWが三相デューティ指令値に到達すると、三相PWM信号はハイレベルとなる。言い換えれば、PWMタイマのカウントダウン動作中に、PWMタイマのカウント値が三相デューティ指令値に一致するタイミングで、三相PWM信号はハイレベルとなる。 
従って、図2に示すように、時刻t1から時刻t2までのカウントダウン期間において、PWMタイマのカウント値がU相デューティ指令値DU1と一致するタイミングで、U相PWM信号PUはハイレベルとなる。時刻t1から時刻t2までのカウントダウン期間において、PWMタイマのカウント値がV相デューティ指令値DV1と一致するタイミングで、V相PWM信号PVはハイレベルとなる。時刻t1から時刻t2までのカウントダウン期間において、PWMタイマのカウント値がW相デューティ指令値DW1と一致するタイミングで、W相PWM信号PWはハイレベルとなる。 
図2に示すように、カウントアップ開始時刻t2において、U相デューティ指令値DUが「DU2」に更新され、V相デューティ指令値DVが「DV2」に更新され、W相デューティ指令値DWが「DW2」に更新されたと仮定する。U相デューティ指令値DU2は、V相デューティ指令値DV2よりも大きい。V相デューティ指令値DV2は、W相デューティ指令値DW2よりも大きい。「DU2」、「DV2」、及び「DW2」は、上記のように各デューティ指令値に割り当てられた更新用レジスタ内の値である。 
三角波TWの上昇中に、三角波TWが三相デューティ指令値に到達すると、三相PWM信号はローレベルとなる。言い換えれば、PWMタイマのカウントアップ動作中に、PWMタイマのカウント値が三相デューティ指令値に一致するタイミングで、三相PWM信号はローレベルとなる。 
従って、図2に示すように、時刻t2から時刻t3までのカウントアップ期間において、PWMタイマのカウント値がU相デューティ指令値DU2と一致するタイミングで、U相PWM信号PUはローレベルとなる。時刻t2から時刻t3までのカウントアップ期間において、PWMタイマのカウント値がV相デューティ指令値DV2と一致するタイミングで、V相PWM信号PVはローレベルとなる。時刻t2から時刻t3
までのカウントアップ期間において、PWMタイマのカウント値がW相デューティ指令値DW2と一致するタイミングで、W相PWM信号PWはローレベルとなる。 
時刻t3から時刻t4までのカウントダウン期間の動作は、時刻t1から時刻t2までのカウントダウン期間の動作と同じである。時刻t4から時刻t5までのカウントアップ期間の動作は、時刻t2から時刻t3までのカウントアップ期間の動作と同じである。以上の動作が三相デューティ指令値の更新周期Tdで繰り返されることにより、三相PWM信号のデューティ比が個別に制御される。 
なお、上記の説明から理解できるように、本実施形態では、PWM信号の立ち上がりエッジタイミングと立ち下がりエッジタイミングとが個別に制御される、いわゆる非対称センターアライメントモードと呼ばれる制御モードでPWM信号のデューティ比を制御する形態を例示するが、本発明で使用可能なPWM信号の制御モードは、非対称センターアライメントモードに限定されない。 
図3に示すように、例えば、カウントアップ開始時刻t2に更新された三相デューティ指令値のうち、V相デューティ指令値DVとW相デューティ指令値DWとが等しい場合、時刻t2から時刻t3までのカウントダウン期間において、V相PWM信号PVの立ち下がりエッジタイミングと、W相PWM信号PWの立ち下がりエッジタイミングとが合致する。 
既に述べたように、三相モータ20の出力軸とモータケースとの間の電位差(軸電圧)に起因して、三相モータ20のロータベアリングに電食が生じる場合がある。図3に示す例では、n番目のPWM制御周期において、V相PWM信号PVのオフタイミングとW相PWM信号PWのオフタイミングとが一致する。本願発明者らの研究の結果、図3に示すように三相PWM信号のうち二相のPWM信号のスイッチングタイミングが一致した瞬間に、軸電圧が瞬間的に大きく変動することが電食の発生に影響する虞があることが判明した。 図3の例では、例えば三相モータ20が力行状態にあり、V相及びW相の電流が正の時(電力変換回路11から三相モータ20へ電流が流れる時)、V相PWM信号PVとW相PWM信号PWとのスイッチングタイミングが重なると軸電圧の急激な変動が発生する。一方、同様の状態で、V相電流が正であり且つW相電流が負である場合には、V相ハイサイドのターンオフとW相ローサイドのターンオンとが重なった場合、あるいは、V相ハイサイドのターンオンとW相ローサイドのターンオフとが重なった場合、軸電圧の急激な変動が発生する。 
上記の技術課題を解決するために、本実施形態におけるMCU12は、三相デューティ指令値の今回更新値に基づいて、三相モータ20と接続される三相の接続端子13u、13v及び13wのうち少なくとも第1相及び第2相の接続端子の電圧変動が同一方向且つ同一タイミングで発生すると予測した場合に、今回更新値で決定される第1相の接続端子の電圧変動の発生タイミングを第1時間だけ第1方向にシフトさせ、今回更新値で決定される残りの接続端子の電圧変動の発生タイミングを第3時間だけ第1方向にシフトさせ、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の発生タイミングを第1方向の逆方向に第2時間だけシフトさせる。 以下では、本発明の理解を容易にするために、特開2005-51959号公報に開示される技術と対比させながら、本実施形態の動作について説明する。 
特開2005-51959号公報に開示される技術は、複数相の同時スイッチングを回避することを目的とする技術である。以下では、特開2005-51959号公報に開示される技術を比較技術と呼称する。比較技術では、三相PWM信号のうち二相のPWM信号のエッジタイミングが合致する場合に、二相のPWM信号のうち一方のPWM信号の立ち上がりエッジタイミング及び立ち下がりエッジタイミングを所定時間ΔTだけ遅らせる。 
例えば、図3に示すように、オフタイミングが合致する二相のPWM信号のデューティ比が100%に近い場合(或いは0%に近い場合)に、比較技術に基づいて、例えばW相PWM信号PWの位相を所定時間ΔTだけ遅らせると、W相PWM信号PWの立ち下がりエッジタイミングがPWM周期Tpを越えてしまい、十分なタイミング調整を行えない可能性がある。従って、この場合には、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
これに対して、本発明の基本コンセプトでは、図4のチャートAに示すように、まず、オフタイミングが合致する二相のPWM信号だけでなく、三相全てのPWM信号のオフタイミングを前倒し方向にシフトさせることにより、タイミング調整のための余白を形成する。そして、図4のチャートBに示すように、オフタイミングが合致する二相のPWM信号のうち、例えばW相PWM信号PWのオフタイミングを遅れ方向にシフトさせる。これにより、V相とW相との同時スイッチングを回避することができる。さらに、図4のチャートCに示すように、W相のスイッチングタイミングをずらしたことによるモータ制御への影響を抑えるために、例えばW相PWM信号PWのオフタイミングを遅らせた場合には、W相PWM信号PWの次のオンタイミングも同じ量だけ遅らせる。 
上記のような本発明の基本コンセプトによると、オフタイミング(或いはオンタイミング)が合致する二相のPWM信号のデューティ比が100%に近い場合(或いは0%に近い場合)であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができる。以下では、本発明の基本コンセプトに基づく各実施形態について具体的に説明する。 
例えば図5に示すように、時刻t1から時刻t2までのカウントダウン期間において、V相PWM信号PV及びW相PWM信号PWのデューティ比が100%に近い状態で、V相PWM信号PVの立ち上がりエッジタイミングとW相PWM信号PWの立ち上がりエッジタイミングとが合致する場合を想定する。この場合、図6に示すように、比較技術に基づいて、例えばW相PWM信号PWの位相を所定時間ΔTだけ遅らせる場合、W相PWM信号PWの立ち下がりエッジタイミングがPWM周期Tpを越えてしまう可能性がある。従って、この場合には、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図7は、時刻t1から時刻t2までのカウントダウン期間において、V相PWM信号PV及びW相PWM信号PWのデューティ比が100%に近い状態で、V相PWM信号PVの立ち上がりエッジタイミングとW相PWM信号PWの立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の発生タイミングの種別が立ち上がりエッジタイミングであり、且つ第1相及び第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、今回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを第3時間だけ遅れ方向にシフトさせ、今回更新値で決定される第1相の接続端子の電圧変動の立ち上がりエッジタイミングを第1時間だけ遅れ方向にシフトさせ、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち下がりエッジタイミングを前倒し方向に第2時間だけシフトさせる。 
具体的には、図7に示すように、MCU12は、時刻t1から時刻t2までのカウントダウン期間において、例えばW相PWM信号PWの立ち上がりエッジタイミングを第1時間ΔTだけ遅れ方向にシフトさせるともに、U相PWM信号PUの立ち上がりエッジタイミングを第3時間ΔTだけ遅れ方向にシフトさせる。これは、全相をΔTだけ遅らせたうえで、V相のターンオンタイミングのみをΔTだけ前倒ししたことと実質的に同じである。また、実質的にV相のスイッチングタイミングをΔTだけ前倒ししたことによるモータ制御への影響を抑えるために、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、V相PWM信号PVの立ち下がりエッジタイミングを前倒し方向に同じ量(第2時間ΔT)だけシフトさせる。なお、この図7の例では、第1時間と、第2時間と、第3時間とが同一の値(ΔT)である場合を示している。 
これにより、オンタイミングが合致する二相のPWM信号のデューティ比が100%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができる。なお、上記で説明したV相の処理とW相の処理は入れ替えてもよい。 
以下、図7に示す例におけるMCU12の動作について詳細に説明する。 MCU12のMCUコア12aは、三相デューティ指令値の更新タイミングであるカウントダウン開始時刻t1の前に指令値算出処理を実行し、指令値算出処理によって算出された三相デューティ指令値に基づいて、三相PWM信号のうち二相のPWM信号のエッジタイミングが合致するか否かを予測する。例えば、カウントダウン開始時刻t1の前に算出された三相デューティ指令値のうち、V相デューティ指令値DVとW相デューティ指令値DWとが等しい場合、MCUコア12aは、時刻t1から時刻t2までのカウントダウン期間において、V相PWM信号PVの立ち上がりエッジタイミングと、W相PWM信号PWの立ち上がりエッジタイミングとが合致すると予測する。 
MCUコア12aは、V相PWM信号PVの立ち上がりエッジタイミングと、W相PWM信号PWの立ち上がりエッジタイミングとが合致すると予測し、且つV相及びW相のデューティ比が第1閾値から100%までの範囲内に含まれると判断した場合、U相デューティ指令値DUの算出値から第3時間ΔTに対応する値を減算する補正処理を行うとともに、W相デューティ指令値DWの算出値から第1時間ΔTに対応する値を減算する補正処理を行う。MCUコア12aは、指令値算出処理によって算出されたV相デューティ指令値DVと、補正処理が行われたU相デューティ指令値DU及びW相デューティ指令値DWとを、PWMモジュール12bに出力する。 
上記のように、カウントダウン開始時刻t1の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントダウン開始時刻t1が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントダウン開始時刻t1において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図7に示すように、時刻t1から時刻t2までのカウントダウン期間にPWMモジュール12bで生成される三相PWM信号のうち、W相PWM信号PWの立ち上がりエッジタイミングは第1時間ΔTだけ遅れ、U相PWM信号PUの立ち上がりエッジタイミングは第3時間ΔTだけ遅れる。 
MCUコア12aは、三相デューティ指令値の次の更新タイミングであるカウントアップ開始時刻t2の前に指令値算出処理を再び実行する。MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、前回の指令値算出処理の実行時に補正処理が行われたデューティ指令
値に対して補償処理を行う。例えば、MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、V相デューティ指令値DVの算出値に対して第2時間ΔTに対応する値を加算する補償処理を行う。MCUコア12aは、今回の指令値算出処理によって算出されたU相デューティ指令値DU及びW相デューティ指令値DWと、補償処理が行われたV相デューティ指令値DVとを、PWMモジュール12bに出力する。 
上記のように、カウントアップ開始時刻t2の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントアップ開始時刻t2が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントアップ開始時刻t2において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図7に示すように、時刻t2から時刻t3までのカウントアップ期間にPWMモジュール12bで生成される三相PWM信号のうち、V相PWM信号PVの立ち下がりエッジタイミングは第2時間ΔTだけ早まる。 
図8は、時刻t1から時刻t2までのカウントダウン期間において、V相PWM信号PV及びW相PWM信号PWのデューティ比が100%に近い状態で、V相PWM信号PVの立ち下がりエッジタイミングとW相PWM信号PWの立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の発生タイミングの種別が立ち下がりエッジタイミングであり、且つ第1相及び第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、今回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを第3時間だけ前倒し方向にシフトさせ、今回更新値で決定される第1相の接続端子の電圧変動の立ち下がりエッジタイミングを第1時間だけ前倒し方向にシフトさせ、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち上がりエッジタイミングを遅れ方向に第2時間だけシフトさせる。 
具体的には、図8に示すように、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、例えばW相PWM信号PWの立ち下がりエッジタイミングを第1時間ΔTだけ前倒し方向にシフトさせるともに、U相PWM信号PUの立ち下がりエッジタイミングを第3時間ΔTだけ前倒し方向にシフトさせる。これは、全相をΔTだけ前倒ししたうえで、V相のターンオフタイミングのみをΔTだけ遅らせたことと実質的に同じである。また、実質的にV相のスイッチングタイミングをΔTだけ遅らせたことによるモータ制御への影響を抑えるために、MCU12は、時刻t3から時刻t4までのカウントダウン期間において、V相PWM信号PVの立ち上がりエッジタイミングを遅れ方向に同じ量(第2時間ΔT)だけシフトさせる。 
これにより、オフタイミングが合致する二相のPWM信号のデューティ比が100%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができる。なお、上記で説明したV相の処理とW相の処理は入れ替えてもよい。 
以下、図8に示す例におけるMCU12の動作について詳細に説明する。 MCU12のMCUコア12aは、三相デューティ指令値の更新タイミングであるカウントアップ開始時刻t2の前に指令値算出処理を実行し、指令値算出処理によって算出された三相デューティ指令値に基づいて、三相PWM信号のうち二相のPWM信号のエッジタイミングが合致するか否かを予測する。例えば、カウントアップ開始時刻t2の前に算出された三相デューティ指令値のうち、V相デューティ指令値DVとW相デューティ指令値DWとが等しい場合、MCUコア12aは、時刻t2から時刻t3までのカウントアップ期間において、V相PWM信号PVの立ち下がりエッジタイミングと、W相PWM信号PWの立ち下がりエッジタイミングとが合致すると予測する。 
MCUコア12aは、V相PWM信号PVの立ち下がりエッジタイミングと、W相PWM信号PWの立ち下がりエッジタイミングとが合致すると予測し、且つV相及びW相のデューティ比が第1閾値から100%までの範囲内に含まれると判断した場合、U相デューティ指令値DUの算出値から第3時間ΔTに対応する値を減算する補正処理を行うとともに、W相デューティ指令値DWの算出値から第1時間ΔTに対応する値を減算する補正処理を行う。MCUコア12aは、指令値算出処理によって算出されたV相デューティ指令値DVと、補正処理が行われたU相デューティ指令値DU及びW相デューティ指令値DWとを、PWMモジュール12bに出力する。 
上記のように、カウントアップ開始時刻t2の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントアップ開始時刻t2が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントアップ開始時刻t2において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図8に示すように、時刻t2から時刻t3までのカウントアップ期間にPWMモジュール12bで生成される三相PWM信号のうち、W相PWM信号PWの立ち下がりエッジタイミングは第1時間ΔTだけ早まり、U相PWM信号PUの立ち下がりエッジタイミングは第3時間ΔTだけ早まる。 
MCUコア12aは、三相デューティ指令値の次の更新タイミングであるカウントダウン開始時刻t3前に指令値算出処理を再び実行する。MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、前回の指令値算出処理の実行時に補正処理が行われたデューティ指令値に対して補償処理を行う。例えば、MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、V相デューティ指令値DVの算出値から第2時間ΔTに対応する値を減算する補償処理を行う。MCUコア12aは、今回の指令値算出処理によって算出されたU相デューティ指令値DU及びW相デューティ指令値DWと、補償処理が行われたV相デューティ指令値DVとを、PWMモジュール12bに出力する。 
上記のように、カウントダウン開始時刻t3の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントダウン開始時刻t3が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントダウン開始時刻t3において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図8に示すように、時刻t3から時刻t4までのカウントダウン期間にPWMモジュール12bで生成される三相PWM信号のうち、V相PWM信号PVの立ち上がりエッジタイミングは第2時間ΔTだけ遅れる。 
次に、図9に示すように、時刻t1から時刻t2までのカウントダウン期間において、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する場合を想定する。この場合、図10に示すように、比較技術に基づいて、例えばV相PWM信号PVの位相を所定時間ΔTだけ遅らせる場合、V相PWM信号PVの立ち上がりエッジタイミングが三角波TWの谷を後側に越えてしまう可能性がある。従って、この場合、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図示は省略するが、逆に、V相PWM信号PWの位相を所定時間ΔTだけ早める場合、V相PWM信号PVの立ち下がりエッジタイミングが三角波TWの谷を前側に越えてしまう可能性がある。従って、この場合でも、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図11は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の発生タイミングの種別が立ち上がりエッジタイミングであり、且つ第1相及び第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、今回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを第3時間だけ前倒し方向にシフトさせ、今回更新値で決定される第1相の接続端子の電圧変動の立ち上がりエッジタイミングを第1時間だけ前記前倒し方向にシフトさせ、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち下がりエッジタイミングを遅れ方向に前記第2時間だけシフトさせる。 
具体的には、図11に示すように、MCU12は、時刻t1から時刻t2までのカウントダウン期間において、例えばU相PWM信号PUの立ち上がりエッジタイミングを第1時間ΔTだけ前倒し方向にシフトさせるともに、W相PWM信号PWの立ち上がりエッジタイミングを第3時間ΔTだけ前倒し方向にシフトさせる。これは、全相をΔTだけ前倒ししたうえで、V相のターンオンタイミングのみをΔTだけ遅らせたことと実質的に同じである。また、実質的にV相のスイッチングタイミングをΔTだけ遅らせたことによるモータ制御への影響を抑えるために、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、V相PWM信号PVの立ち下がりエッジタイミングを遅れ方向に同じ量(第2時間ΔT)だけシフトさせる。 
これにより、オンタイミングが合致する二相のPWM信号のデューティ比が0%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができる。なお、上記で説明したU相の処理とV相の処理は入れ替えてもよい。 
以下、図11に示す例におけるMCU12の動作について詳細に説明する。 MCU12のMCUコア12aは、三相デューティ指令値の更新タイミングであるカウントダウン開始時刻t1の前に指令値算出処理を実行し、指令値算出処理によって算出された三相デューティ指令値に基づいて、三相PWM信号のうち二相のPWM信号のエッジタイミングが合致するか否かを予測する。例えば、カウントダウン開始時刻t1の前に算出された三相デューティ指令値のうち、U相デューティ指令値DUとV相デューティ指令値DVとが等しい場合、MCUコア12aは、時刻t1から時刻t2までのカウントダウン期間において、U相PWM信号PUの立ち上がりエッジタイミングと、V相PWM信号PVの立ち上がりエッジタイミングとが合致すると予測する。 
MCUコア12aは、U相PWM信号PUの立ち上がりエッジタイミングと、V相PWM信号PVの立ち上がりエッジタイミングとが合致すると予測
し、且つU相及びV相のデューティ比が第2閾値から0%までの範囲内に含まれると判断した場合、W相デューティ指令値DWの算出値に対して第3時間ΔTに対応する値を加算する補正処理を行うとともに、U相デューティ指令値DUの算出値に対して第1時間ΔTに対応する値を加算する補正処理を行う。MCUコア12aは、指令値算出処理によって算出されたV相デューティ指令値DVと、補正処理が行われたU相デューティ指令値DU及びW相デューティ指令値DWとを、PWMモジュール12bに出力する。 
上記のように、カウントダウン開始時刻t1の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントダウン開始時刻t1が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントダウン開始時刻t1において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図11に示すように、時刻t1から時刻t2までのカウントダウン期間にPWMモジュール12bで生成される三相PWM信号のうち、U相PWM信号PWの立ち上がりエッジタイミングは第1時間ΔTだけ早まり、W相PWM信号PWの立ち上がりエッジタイミングは第3時間ΔTだけ早まる。 
MCUコア12aは、三相デューティ指令値の次の更新タイミングであるカウントアップ開始時刻t2の前に指令値算出処理を再び実行する。MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、前回の指令値算出処理の実行時に補正処理が行われたデューティ指令値に対して補償処理を行う。例えば、MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、V相デューティ指令値DVの算出値に対して第2時間ΔTに対応する値を加算する補償処理を行う。MCUコア12aは、今回の指令値算出処理によって算出されたU相デューティ指令値DU及びW相デューティ指令値DWと、補償処理が行われたV相デューティ指令値DVとを、PWMモジュール12bに出力する。 
上記のように、カウントアップ開始時刻t2の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントアップ開始時刻t2が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントアップ開始時刻t2において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図11に示すように、時刻t2から時刻t3までのカウントアップ期間にPWMモジュール12bで生成される三相PWM信号のうち、V相PWM信号PVの立ち下がりエッジタイミングは第2時間ΔTだけ遅れる。 
図12は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち下がりエッジタイミングとV相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の発生タイミングの種別が立ち下がりエッジタイミングであり、且つ第1相及び第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、今回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを第3時間だけ遅れ方向にシフトさせ、今回更新値で決定される第1相の接続端子の電圧変動の立ち下がりエッジタイミングを第1時間だけ遅れ方向にシフトさせ、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち上がりエッジタイミングを前倒し方向に第2時間だけシフトさせる。 
具体的には、図12に示すように、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、例えばU相PWM信号PUの立ち下がりエッジタイミングを第1時間ΔTだけ遅れ方向にシフトさせるともに、W相PWM信号PWの立ち下がりエッジタイミングを第3時間ΔTだけ遅れ方向にシフトさせる。これは、全相をΔTだけ遅らせたうえで、V相のターンオフタイミングのみをΔTだけ前倒ししたことと実質的に同じである。また、実質的にV相のスイッチングタイミングをΔTだけ前倒ししたことによるモータ制御への影響を抑えるために、MCU12は、時刻t3から時刻t4までのカウントダウン期間において、V相PWM信号PVの立ち上がりエッジタイミングを前倒し方向に同じ量(第2時間ΔT)だけシフトさせる。 
これにより、オフタイミングが合致する二相のPWM信号のデューティ比が0%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができる。なお、上記で説明したU相の処理とV相の処理は入れ替えてもよい。 
以下、図12に示す例におけるMCU12の動作について詳細に説明する。 MCU12のMCUコア12aは、三相デューティ指令値の更新タイミングであるカウントアップ開始時刻t2の前に指令値算出処理を実行し、指令値算出処理によって算出された三相デューティ指令値に基づいて、三相PWM信号のうち二相のPWM信号のエッジタイミングが合致するか否かを予測する。例えば、カウントアップ開始時刻t2の前に算出された三相デューティ指令値のうち、U相デューティ指令値DUとV相デューティ指令値DVとが等しい場合、MCUコア12aは、時刻t2から時刻t3までのカウントアップ期間において、U相PWM信号PUの立ち下がりエッジタイミングと、V相PWM信号PVの立ち下がりエッジタイミングとが合致すると予測する。 
MCUコア12aは、U相PWM信号PUの立ち下がりエッジタイミングと、V相PWM信号PVの立ち下がりエッジタイミングとが合致すると予測し、且つU相及びV相のデューティ比が第2閾値から0%までの範囲内に含まれると判断した場合、W相デューティ指令値DWの算出値に対して第3時間ΔTに対応する値を加算する補正処理を行うとともに、U相デューティ指令値DUの算出値に対して第1時間ΔTに対応する値を加算する補正処理を行う。MCUコア12aは、指令値算出処理によって算出されたV相デューティ指令値DVと、補正処理が行われたU相デューティ指令値DU及びW相デューティ指令値DWとを、PWMモジュール12bに出力する。 
上記のように、カウントアップ開始時刻t2の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントアップ開始時刻t2が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントアップ開始時刻t2において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図12に示すように、時刻t2から時刻t3までのカウントアップ期間にPWMモジュール12bで生成される三相PWM信号のうち、U相PWM信号PWの立ち下がりエッジタイミングは第1時間ΔTだけ遅れ、W相PWM信号PWの立ち下がりエッジタイミングは第3時間ΔTだけ遅れる。 
MCUコア12aは、三相デューティ指令値の次の更新タイミングであるカウントダウン開始時刻t3の前に指令値算出処理を再び実行する。MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、前回の指令値算出処理の実行時に補正処理が行われたデューティ指令値に対して補償処理を行う。例えば、MCUコア12aは、今回の指令値算出処理によって算出された三相デューティ指令値のうち、V相デューティ指令値DVの算出値に対して第2時間ΔTに対応する値を加算する補償処理を行う。MCUコア12aは、今回の指令値算出処理によって算出されたU相デューティ指令値DU及びW相デューティ指令値DWと、補償処理が行われたV相デューティ指令値DVとを、PWMモジュール12bに出力する。 
上記のように、カウントダウン開始時刻t3の前にMCUコア12aからPWMモジュール12bに入力された三相デューティ指令値は、一時的にバッファレジスタに格納される。そして、カウントダウン開始時刻t3が到来すると、バッファレジスタに格納された三相デューティ指令値は更新用レジスタに転送される。このように、カウントダウン開始時刻t3において、更新用レジスタの内容は新たな三相デューティ指令値に更新される。その結果、図12に示すように、時刻t3から時刻t4までのカウントアップ期間にPWMモジュール12bで生成される三相PWM信号のうち、V相PWM信号PVの立ち上がりエッジタイミングは第2時間ΔTだけ早まる。 
なお、上記実施形態では、三角波TWの山及び谷の両方で三相デューティ指令値を更新する非対称センターアライメントモードでPWM信号を生成する場合を例示したが、三角波TWの山及び谷の一方でのみ三相デューティ指令値を更新する通常のセンターアライメントモードでPWM信号を生成する場合には、今回更新時にタイミングをずらした分のデューティ補償を次回更新時に行えばよい。 
図13は、V相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、通常のセンターアライメントモードによって生成される三相PWM信号の一例を示すタイミングチャートである。図13では、三角波TWの山、すなわち時刻t1、t3及びt5で三相デューティ指令値が更新される場合を例示している。この場合、図13に示すように、時刻t1から時刻t3までの期間において、U相及びW相のデューティが2ΔTだけ短くなる。これは、時刻t1から時刻t3までの期間において、V相だけデューティを2ΔTだけ延ばしたことに相当する。従って、この場合、時刻t3から時刻t5までの期間において、V相のデューティが2ΔTだけ短くなる。 
図14は、U相PWM信号及びV相PWM信号のデューティ比が0%に近い状態で、U相PWM信号の立ち上がりエッジタイミングとV相PWM信号の立ち上がりエッジタイミングとが合致する場合に、通常のセンターアライメントモードによって生成される三相PWM信号の一例を示すタイミングチャートである。図14では、三角波TWの山、すなわち時刻t1、t3及びt5で三相デューティ指令値が更新される場合を例示している。この場合、図14に示すように、時刻t1から時刻t3までの期間において、U相及びW相のデューティが2ΔTだけ延びる。これは、時刻t1から時刻t3までの期間において、V相だけデューティを2ΔTだけ短くしたことに相当する。従って、この場合、時刻t3から時刻t5までの期間において、V相のデューティが2ΔTだけ延びる。 
次に、図15に示すように、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合を想定する。この場合でも、比較技術に基づいて複数相の同時スイッチングを回避しようとすると、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図16は、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、
V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 
本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の種別が立ち上がりエッジタイミングであり、第1相及び第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれ、且つ残りの接続端子の少なくとも一つの電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、今回更新値で決定される第1相の接続端子の電圧変動の立ち上がりエッジタイミングを第1時間だけ遅れ方向にシフトさせ、今回更新値で決定される第2相の接続端子の電圧変動の立ち上がりエッジタイミングを第4時間だけ前倒し方向にシフトさせ、且つ今回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを第3時間だけ遅れ方向にシフトさせる。 さらに、MCU12は、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち下がりエッジタイミングを前倒し方向に第2時間だけシフトさせ、次回更新値又は前回更新値で決定される第1相の接続端子の電圧変動の立ち下がりエッジタイミングを遅れ方向に第5時間だけシフトさせ、且つ次回更新値又は前回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを第6時間だけ前倒し方向にシフトさせる。 
具体的には、図16に示すように、MCU12は、時刻t1から時刻t2までのカウントダウン期間において、例えばW相PWM信号PWの立ち上がりエッジタイミングを第1時間(3ΔT/4)だけ遅れ方向にシフトさせ、V相PWM信号PVの立ち上がりエッジタイミングを第4時間(ΔT/4)だけ前倒し方向にシフトさせ、且つU相PWM信号PUの立ち上がりエッジタイミングを第3時間(ΔT/4)だけ遅れ方向にシフトさせる。さらに、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、V相PWM信号PVの立ち下がりエッジタイミングを第2時間(3ΔT/4)だけ前倒し方向にシフトさせ、W相PWM信号PWの立ち下がりエッジタイミングを第5時間(ΔT/4)だけ遅れ方向にシフトさせ、且つU相PWM信号PUの立ち下がりエッジタイミングを第6時間(ΔT/4)だけ前倒し方向にシフトさせる。 
これにより、オンタイミングが合致する二相のPWM信号のデューティ比が100%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができるとともに、三角波TWの山及び谷に近接するエッジのシフト量を抑えることができる。なお、図16の例では、全相のオン時間が一律にΔT/2だけ短縮される。上記で説明したV相の処理とW相の処理は入れ替えてもよい。 
次に、図17に示すように、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合を想定する。この場合でも、比較技術に基づいて複数相の同時スイッチングを回避しようとすると、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図18は、U相PWM信号のデューティ比が0%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が100%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 
本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の種別が立ち下がりエッジタイミングであり、第1相及び第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれ、且つ残りの接続端子の少なくとも一つの電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、今回更新値で決定される第1相の接続端子の電圧変動の立ち下がりエッジタイミングを第1時間だけ前倒し方向にシフトさせるとともに、今回更新値で決定される第2相の接続端子の電圧変動の立ち下がりエッジタイミングを第4時間だけ遅れ方向にシフトさせ、且つ今回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを第3時間だけ前倒し方向にシフトさせる。 さらに、MCU12は、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち上がりエッジタイミングを遅れ方向に第2時間だけシフトさせ、次回更新値又は前回更新値で決定される第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前倒し方向に第5時間だけシフトさせ、且つ次回更新値又は前回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを第6時間だけ遅れ方向にシフトさせる。 
具体的には、図18に示すように、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、例えばW相PWM信号PWの立ち下がりエッジタイミングを第1時間(3ΔT/4)だけ前倒し方向にシフトさせ、V相PWM信号PVの立ち下がりエッジタイミングを第4時間(ΔT/4)だけ遅れ方向にシフトさせ、且つU相PWM信号PUの立ち下がりエッジタイミングを第3時間(ΔT/4)だけ前倒し方向にシフトさせる。さらに、MCU12は、時刻t3から時刻t4までのカウントダウン期間において、V相PWM信号PVの立ち上がりエッジタイミングを第2時間(3ΔT/4)だけ遅れ方向にシフトさせ、W相PWM信号PWの立ち上がりエッジタイミングを第5時間(ΔT/4)だけ前倒し方向にシフトさせ、且つU相PWM信号PUの立ち上がりエッジタイミングを第6時間(ΔT/4)だけ遅れ方向にシフトさせる。 
これにより、オフタイミングが合致する二相のPWM信号のデューティ比が100%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができるとともに、三角波TWの山及び谷に近接するエッジのシフト量を抑えることができる。なお、図18の例では、全相のオン時間が一律にΔT/2だけ短縮される。上記で説明したV相の処理とW相の処理は入れ替えてもよい。 
次に、図19に示すように、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合を想定する。この場合でも、比較技術に基づいて複数相の同時スイッチングを回避しようとすると、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図20は、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち上がりエッジタイミングとW相PWM信号の立ち上がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 
本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の種別が立ち上がりエッジタイミングであり、第1相及び第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれ、且つ残りの接続端子の少なくとも一つの電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、今回更新値で決定される第1相の接続端子の電圧変動の立ち上がりエッジタイミングを第1時間だけ前倒し方向にシフトさせ、今回更新値で決定される第2相の接続端子の電圧変動の立ち上がりエッジタイミングを第4時間だけ遅れ方向にシフトさせ、且つ今回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを第3時間だけ前倒し方向にシフトさせる。 さらに、MCU12は、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち下がりエッジタイミングを遅れ方向に第2時間だけシフトさせ、次回更新値又は前回更新値で決定される第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前倒し方向に第5時間だけシフトさせ、且つ次回更新値又は前回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを第6時間だけ遅れ方向にシフトさせる。 
具体的には、図20に示すように、MCU12は、時刻t1から時刻t2までのカウントダウン期間において、例えばW相PWM信号PWの立ち上がりエッジタイミングを第1時間(3ΔT/4)だけ前倒し方向にシフトさせ、V相PWM信号PVの立ち上がりエッジタイミングを第4時間(ΔT/4)だけ遅れ方向にシフトさせ、且つU相PWM信号PUの立ち上がりエッジタイミングを第3時間(ΔT/4)だけ前倒し方向にシフトさせる。さらに、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、V相PWM信号PVの立ち下がりエッジタイミングを第2時間(3ΔT/4)だけ遅れ方向にシフトさせ、W相PWM信号PWの立ち下がりエッジタイミングを第5時間(ΔT/4)だけ前倒し方向にシフトさせ、且つU相PWM信号PUの立ち下がりエッジタイミングを第6時間(ΔT/4)だけ遅れ方向にシフトさせる。 
これにより、オンタイミングが合致する二相のPWM信号のデューティ比が0%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができるとともに、三角波TWの山及び谷に近接するエッジのシフト量を抑えることができる。なお、図20の例では、全相のオン時間が一律にΔT/2だけ長くなる。上記で説明したV相の処理とW相の処理は入れ替えてもよい。 
次に、図21に示すように、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合を想定する。この場合でも、比較技術に基づいて複数相の同時スイッチングを回避しようとすると、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法ではPWM信号を生成できず、プログラムが複雑化する。 
図22は、U相PWM信号のデューティ比が100%に近く、且つV相PWM信号及びW相PWM信号のデューティ比が0%に近い状態で、V相PWM信号の立ち下がりエッジタイミングとW相PWM信号の立ち下がりエッジタイミングとが合致する場合に、本実施形態によって生成される三相PWM信号の一例を示すタイミングチャートである。 
本実施形態では、MCU12は、互いに一致すると予測された第1相及び第2相の接続端子の電圧変動の種別が立ち下がりエッジタイミングであり、第1相及び第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれ、且つ残りの接続端子の少なく
とも一つの電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、今回更新値で決定される第1相の接続端子の電圧変動の立ち下がりエッジタイミングを第1時間だけ遅れ方向にシフトさせるとともに、今回更新値で決定される第2相の接続端子の電圧変動の立ち下がりエッジタイミングを第4時間だけ前倒し方向にシフトさせ、且つ今回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを第3時間だけ遅れ方向にシフトさせる。 さらに、MCU12は、三相デューティ指令値の次回更新値又は前回更新値で決定される第2相の接続端子の電圧変動の立ち上がりエッジタイミングを前倒し方向に第2時間だけシフトさせ、次回更新値又は前回更新値で決定される第1相の接続端子の電圧変動の立ち上がりエッジタイミングを遅れ方向に第5時間だけシフトさせ、且つ次回更新値又は前回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを第6時間だけ前倒し方向にシフトさせる。 
具体的には、図22に示すように、MCU12は、時刻t2から時刻t3までのカウントアップ期間において、例えばW相PWM信号PWの立ち下がりエッジタイミングを第1時間(3ΔT/4)だけ遅れ方向にシフトさせ、V相PWM信号PVの立ち下がりエッジタイミングを第4時間(ΔT/4)だけ前倒し方向にシフトさせ、且つU相PWM信号PUの立ち下がりエッジタイミングを第3時間(ΔT/4)だけ遅れ方向にシフトさせる。さらに、MCU12は、時刻t3から時刻t4までのカウントダウン期間において、V相PWM信号PVの立ち上がりエッジタイミングを第2時間(3ΔT/4)だけ前倒し方向にシフトさせ、W相PWM信号PWの立ち上がりエッジタイミングを第5時間(ΔT/4)だけ遅れ方向にシフトさせ、且つU相PWM信号PUの立ち上がりエッジタイミングを第6時間(ΔT/4)だけ前倒し方向にシフトさせる。 
これにより、オフタイミングが合致する二相のPWM信号のデューティ比が0%に近い場合であっても、PWM周期TpのなかでPWM信号のタイミング調整を行うことができるため、複数相の同時スイッチングを回避しながら、三角波TWと三相デューティ指令値との比較によってPWM信号を生成する通常の方法によってPWM信号を生成することができるとともに、三角波TWの山及び谷に近接するエッジのシフト量を抑えることができる。なお、図22の例では、全相のオン時間が一律にΔT/2だけ長くなる。上記で説明したV相の処理とW相の処理は入れ替えてもよい。 
以上の説明では、デッドタイムを考慮しない三相PWM信号を用いたが、電力変換回路11の各アームスイッチに供給されるゲート制御信号にはデッドタイムが設けられる。図23は、V相とW相の電流の方向がともに電力変換回路11から三相モータ20へ向かう方向である場合の、U相上側ゲート制御信号G1と、U相下側ゲート制御信号G2と、U相端子電圧Vuと、V相上側ゲート制御信号G3と、V相下側ゲート制御信号G4と、V相端子電圧Vvと、W相上側ゲート制御信号G5と、W相下側ゲート制御信号G6と、W相端子電圧Vwとの各波形の一例を示すタイミングチャートである。図23において、U相端子電圧VuはU相接続端子13uの電圧であり、V相端子電圧VvはV相接続端子13vの電圧であり、W相端子電圧VwはW相接続端子13wの電圧である。また、図23において、Vpは直流電源30の正極電位であり、Vnは直流電源30の負極電位である。説明簡略化のため、図23ではIGBT及びダイオードを導通する際の電圧降下を無視している。 
図23に示すように、U相上側ゲート制御信号G1とU相下側ゲート制御信号G2との間にデッドタイムTDが挿入される。図示は省略するが、同様に、V相上側ゲート制御信号G3とV相下側ゲート制御信号G4との間と、W相上側ゲート制御信号G5とW相下側ゲート制御信号G6との間にもデッドタイムTDが挿入される。V相とW相の電流の方向がともに電力変換回路11から三相モータ20へ向かう方向である場合、V相端子電圧VvはV相上側ゲート制御信号G3に同期して変動し、W相端子電圧VwはW相上側ゲート制御信号G5に同期して変動する。 
図23に示すように、例えば、V相上側ゲート制御信号G3とW相上側ゲート制御信号G5とが、オフタイミングで合致したと想定する。この場合、V相端子電圧VvとW相端子電圧Vwとが同時に直流電源30の正極電位Vpから負極電位Vnに変動するため、1相のみが変動する場合に比べ、三相モータ20の中性点Nの電位変動が大きくなり、これに伴って三相モータ20の軸電圧も大きく変動してノイズの原因となる。これを回避するために、本実施形態では、V相上側ゲート制御信号G3とW相上側ゲート制御信号G5のオフタイミングが所定時間ΔTよりも接近する場合、すなわち、ゲートドライバの遅延等により相電圧の変動タイミングが合致する虞がある場合、W相デューティ指令値DWの今回更新値で決定されるW相上側ゲート制御信号G5のオフタイミングを第1時間ΔTだけ前倒し方向にシフトさせるとともに、U相デューティ指令値DUの今回更新値で決定されるU相上側ゲート制御信号G1のオフタイミングを第3時間ΔTだけ前倒し方向にシフトさせる。これに伴い、W相下側ゲート制御信号G6も、デッドタイムTDを維持するように、W相上側ゲート制御信号G5と対応するオンタイミングを第1時間ΔTだけ前倒し方向にシフトさせ、U相下側ゲート制御信号G2も、デッドタイムTDを維持するように、U相上側ゲート制御信号G1と対応するオンタイミングを第3時間ΔTだけ前倒し方向にシフトさせる。これにより、W相端子電圧Vwの波形は、第1時間ΔTだけ前倒し方向にシフトし、U相端子電圧Vuの波形も第3時間ΔTだけ前倒し方向にシフトする。 
また、本実施形態では、V相デューティ指令値DVの次回更新値で決定されるV相上側ゲート制御信号G3のオンタイミングを第2時間ΔTだけ遅れ方向にシフトさせる。これに伴い、V相下側ゲート制御信号G4も、デッドタイムTDを維持するように、V相上側ゲート制御信号G3と対応するオフタイミングを第2時間ΔTだけ遅れ方向にシフトさせる。これにより、V相端子電圧Vvの波形も第2時間ΔTだけ遅れ方向にシフトする。以上のような操作により、2つの相電圧が同時に同方向に変動することを防ぐことができ、その結果、三相モータ20の軸電圧が瞬間的に大きく変動することを抑制することができる。 
上記のように、V相とW相の電流の方向がともに電力変換回路11から三相モータ20へ向かう方向である場合、V相端子電圧VvはV相上側ゲート制御信号G3に同期して変動し、W相端子電圧VwはW相上側ゲート制御信号G5に同期して変動する。一方、図示は省略するが、V相とW相の電流の方向がともに三相モータ20から電力変換回路11へ向かう方向である場合、V相端子電圧VvはV相下側ゲート制御信号G4に同期して変動し、W相端子電圧VwはW相下側ゲート制御信号G6に同期して変動する。本実施形態では、この点を考慮して、三相の接続端子13u、13v及び13wのうち少なくとも二相の接続端子の電圧変動が同一方向且つ同一タイミングで発生したか否かを判断する。 なお、下側ゲート制御信号は、上側ゲート制御信号からデッドタイムTD分だけずれた信号に過ぎないので、スイッチタイミングの合致が発生するか否かの判定にあたっては、電流の向きが同じ場合、デッドタイムTDの影響を考慮する必要は無い。上側ゲート制御信号のタイミングが合致すれば、上側ゲート制御信号に対してデッドタイムTDだけずれた下側ゲート制御信号のタイミングも合致する。 また、上記の例では合致発生タイミングにおいて、U相ゲート制御信号及びW相ゲート制御信号を前倒ししたが、W相ゲート制御信号の代わりにV相ゲート制御信号を前倒ししてもよく、その場合は次回のW相ゲート制御信号を遅れ方向にシフトさせる。また、合致発生タイミングにおいて、U相ゲート制御信号及びW相ゲート制御信号を前倒しする代わりに遅れ方向にシフトさせてもよく、その場合は次回のV相ゲート制御信号を前倒し方向にシフトさせる。 
図24は、V相の電流の方向が三相モータ20から電力変換回路11へ向かう方向であり、且つW相の電流の方向が三相モータ20から電力変換回路11へ向かう方向である場合の、U相上側ゲート制御信号G1と、U相下側ゲート制御信号G2と、U相端子電圧Vuと、V相上側ゲート制御信号G3と、V相下側ゲート制御信号G4と、V相端子電圧Vvと、W相上側ゲート制御信号G5と、W相下側ゲート制御信号G6と、W相端子電圧Vwとの各波形の一例を示すタイミングチャートである。 
図24に示すように、V相の電流の方向が三相モータ20から電力変換回路11へ向かう方向であり、且つW相の電流の方向が三相モータ20から電力変換回路11へ向かう方向である場合、V相端子電圧VvはV相下側ゲート制御信号G4に同期して変動し、W相端子電圧VwはW相上側ゲート制御信号G5に同期して変動する。 
図24に示すように、例えば、V相下側ゲート制御信号G4のオンタイミングと、W相上側ゲート制御信号G5のオフタイミングとが合致したと想定する。この場合、V相端子電圧VvとW相端子電圧Vwとが同時に直流電源30の正極電位Vpから負極電位Vnに変動するため、三相モータ20の軸電圧も大きく変動してノイズの原因となる。これを回避するために、本実施形態では、V相下側ゲート制御信号G4のオンタイミングと、W相上側ゲート制御信号G5のオフタイミングとが所定時間ΔTよりも接近する場合、W相デューティ指令値DWの今回更新値で決定されるW相上側ゲート制御信号G5のオフタイミングを第1時間ΔTだけ前倒し方向にシフトさせるとともに、U相デューティ指令値DUの今回更新値で決定されるU相上側ゲート制御信号G1のオフタイミングを第3時間ΔTだけ前倒し方向にシフトさせる。これに伴い、W相下側ゲート制御信号G6も、デッドタイムTDを維持するように、W相上側ゲート制御信号G5と対応するオンタイミングを第1時間ΔTだけ前倒し方向にシフトさせ、U相下側ゲート制御信号G2も、デッドタイムTDを維持するように、U相上側ゲート制御信号G1と対応するオンタイミングを第3時間ΔTだけ前倒し方向にシフトさせる。これにより、W相端子電圧Vwの波形は、第1時間ΔTだけ前倒し方向にシフトし、U相端子電圧Vuの波形も第3時間ΔTだけ前倒し方向にシフトする。 
また、本実施形態では、V相デューティ指令値DVの次回更新値で決定されるV相上側ゲート制御信号G3のオンタイミングを第2時間ΔTだけ遅れ方向にシフトさせる。これに伴い、V相下側ゲート制御信号G4も、デッドタイムTDを維持するように、V相上側ゲート制御信号G3と対応するオフタイミングを第2時間ΔTだけ遅れ方向にシフトさせる。これにより、V相端子電圧Vvの波形も第2時間ΔTだけ遅れ方向にシフトする。以上のような操作により、2つの相電圧が同時に同方向に変動することを防ぐことができ、その結果、三相モータ20の軸電圧が瞬間的に大きく変動することを抑制することができる。 
上記のように、V相の電流の方向が三相モータ20から電力変換回路11へ向かう方向であり、且つW相の電流の方向が三相モータ20から電力変換回路11へ向かう方向である場合、V相端子電圧VvはV相下側ゲート制御信号G4に同期して変動し、W相端子電圧VwはW相上側ゲート制御信号G5に同期して変動する。従って、スイッチタイミングの合致が発生するか否かの判定にあたっては、負電流の相(この場合、V相)については上側ゲート制御信号に対しデッドタイムTD分だけずれたタイミングを「接続端子の電圧変動タイミング」とみなせばよい。 なお、正電流の相(この場合、W相)は、上側ゲート制御信号に同期して接続端子電圧が変動する一方、負電流の相は、上側ゲート制御信号のタ
ーンオンタイミングよりもデッドタイムTDだけ早いタイミングで接続端子電圧が上昇し、上側ゲート制御信号のターンオフタイミングよりもデッドタイムTDだけ遅いタイミングで接続端子電圧が低下する。スイッチングタイミングが合致するかどうかの判定は、これを考慮する必要がある。 また、上記の例では合致発生タイミングにおいて、U相ゲート制御信号及びW相ゲート制御信号を前倒ししたが、W相ゲート制御信号の代わりにV相ゲート制御信号を前倒ししてもよく、その場合は次回のW相ゲート制御信号を遅れ方向にシフトさせる。また、合致発生タイミングにおいて、U相ゲート制御信号及びW相ゲート制御信号を前倒しする代わりに遅れ方向にシフトさせてもよく、その場合は次回のV相ゲート制御信号を前倒し方向にシフトさせる。 
上記のように、本実施形態では、デッドタイムを設ける場合には、(1)電流の方向によって端子電圧の変動が上側ゲート制御信号に同期するか、或いは下側ゲート制御信号に同期するかが変化すること、(2)デッドタイムを設けたことにより、例えばターンオンタイミングがデッドタイム分だけ遅れること、などを考慮して、三相の接続端子13u、13v及び13wのうち少なくとも二相の接続端子の電圧変動が同一方向且つ同一タイミングで発生したか否かを判断する。 
以上説明したように、本開示に係る一の実施の形態によれば、三相の接続端子13u、13v及び13wのうち少なくとも二相の接続端子の電圧変動が同一方向且つ同一タイミングで発生することが回避されるため、三相モータ20の軸電圧が瞬間的に大きく変動することを抑制することができる。すなわち、本開示に係る一の実施の形態によれば、軸電圧が瞬間的に大きく変動することに起因するノイズを低減することが可能である。その結果、本開示に係る一の実施の形態によれば、三相モータ20のロータベアリングに電食が生じることを抑制できる。 
本発明は上記実施形態に限定されず、本明細書において説明した各構成は、相互に矛盾しない範囲内において、適宜組み合わせることができる。 例えば、上記実施形態では、三相モータ20を制御するモータ制御装置10を例示したが、制御対象のモータは三相モータ20に限定されず、n相モータ(nは3以上の整数)であればよい。 また、上記実施形態では、電力変換回路11に含まれる各アームスイッチとしてIGBTを例示したが、各アームスイッチは例えばMOS-FETなどのIGBT以外の大電力用スイッチング素子でもよい。
10…モータ制御装置、11…電力変換回路、12…MCU(制御部)、12a…MCUコア、12b…PWMモジュール、13u…U相接続端子、13v…V相接続端子、13w…W相接続端子、20…三相モータ、30…直流電源

Claims (10)

  1. n相モータ(nは3以上の整数)を制御するモータ制御装置であって、

     前記n相モータに接続され、直流電力とn相交流電力との相互変換を行う電力変換回路と、

     所定の更新周期で更新されるn相デューティ指令値に基づいて前記電力変換回路を制御する制御部と、を備え、

     前記制御部は、前記n相デューティ指令値の今回更新値に基づいて、前記n相モータと接続されるn相の接続端子のうち少なくとも第1相及び第2相の接続端子の電圧変動が同一方向且つ同一タイミングで発生すると予測した場合に、前記今回更新値で決定される前記第1相の接続端子の電圧変動の発生タイミングを第1時間だけ第1方向にシフトさせ、前記今回更新値で決定される残りの接続端子の電圧変動の発生タイミングを第3時間だけ前記第1方向にシフトさせ、前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の発生タイミングを前記第1方向の逆方向に第2時間だけシフトさせる、モータ制御装置。
  2. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の発生タイミングの種別と、少なくとも前記第1相及び前記第2相の接続端子の電圧変動のデューティ比とに基づいて、前記第1方向を遅れ方向及び前倒し方向の一方に決定し、

     前記発生タイミングの種別は、立ち上がりエッジタイミングと立ち下がりエッジタイミングとを含む、請求項1に記載のモータ制御装置。
  3. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の発生タイミングの種別が前記立ち上がりエッジタイミングであり、且つ前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、前記今回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを前記第3時間だけ前記遅れ方向にシフトさせ、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前記第1時間だけ前記遅れ方向にシフトさせ、前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち下がりエッジタイミングを前記前倒し方向に前記第2時間だけシフトさせる、請求項2に記載のモータ制御装置。
  4. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の発生タイミングの種別が前記立ち上がりエッジタイミングであり、且つ前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、前記今回更新値で決定される残りの接続端子の電圧変動の立ち上がりエッジタイミングを前記第3時間だけ前記前倒し方向にシフトさせ、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前記第1時間だけ前記前倒し方向にシフトさせ、前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち下がりエッジタイミングを前記遅れ方向に前記第2時間だけシフトさせる、請求項2または3に記載のモータ制御装置。
  5. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の発生タイミングの種別が前記立ち下がりエッジタイミングであり、且つ前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、前記今回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを前記第3時間だけ前記前倒し方向にシフトさせ、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前記第1時間だけ前記前倒し方向にシフトさせ、前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち上がりエッジタイミングを前記遅れ方向に前記第2時間だけシフトさせる、請求項2から4のいずれか一項に記載のモータ制御装置。
  6. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の発生タイミングの種別が前記立ち下がりエッジタイミングであり、且つ前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、前記今回更新値で決定される残りの接続端子の電圧変動の立ち下がりエッジタイミングを前記第3時間だけ前記遅れ方向にシフトさせ、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前記第1時間だけ前記遅れ方向にシフトさせ、前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち上がりエッジタイミングを前記前倒し方向に前記第2時間だけシフトさせる、請求項2から5のいずれか一項に記載のモータ制御装置。
  7. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の種別が前記立ち上がりエッジタイミングであり、前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれ、且つ前記残りの接続端子の少なくとも一つの電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前記第1時間だけ前記遅れ方向にシフトさせ、前記今回更新値で決定される前記第2相の接続端子の電圧変動の立ち上がりエッジタイミングを第4時間だけ前記前倒し方向にシフトさせ、且つ前記今回更新値で決定される前記残りの接続端子の電圧変動の立ち上がりエッジタイミングを前記第3時間だけ前記遅れ方向にシフトさせ、

     前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち下がりエッジタイミングを前記前倒し方向に前記第2時間だけシフトさせ、前記次回更新値又は前回更新値で決定される前記第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前記遅れ方向に第5時間だけシフトさせ、且つ前記次回更新値又は前回更新値で決定される前記残りの接続端子の電圧変動の立ち下がりエッジタイミングを第6時間だけ前記前倒し方向にシフトさせる、請求項2から6のいずれか一項に記載のモータ制御装置。
  8. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の種別が前記立ち下がりエッジタイミングであり、前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれ、且つ前記残りの接続端子の少なくとも一つの電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれる場合に、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前記第1時間だけ前記前倒し方向にシフトさせるとともに、前記今回更新値で決定される前記第2相の接続端子の電圧変動の立ち下がりエッジタイミングを第4時間だけ前記遅れ方向にシフトさせ、且つ前記今回更新値で決定される前記残りの接続端子の電圧変動の立ち下がりエッジタイミングを前記第3時間だけ前記前倒し方向にシフトさせ、

     前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち上がりエッジタイミングを前記遅れ方向に前記第2時間だけシフトさせ、前記次回更新値又は前回更新値で決定される前記第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前記前倒し方向に第5時間だけシフトさせ、且つ前記次回更新値又は前回更新値で決定される前記残りの接続端子の電圧変動の立ち上がりエッジタイミングを第6時間だけ前記遅れ方向にシフトさせる、請求項2から7のいずれか一項に記載のモータ制御装置。
  9. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の種別が前記立ち上がりエッジタイミングであり、前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれ、且つ前記残りの接続端子の少なくとも一つの電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前記第1時間だけ前記前倒し方向にシフトさせ、前記今回更新値で決定される前記第2相の接続端子の電圧変動の立ち上がりエッジタイミングを第4時間だけ前記遅れ方向にシフトさせ、且つ前記今回更新値で決定される前記残りの接続端子の電圧変動の立ち上がりエッジタイミングを前記第3時間だけ前記前倒し方向にシフトさせ、

     前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち下がりエッジタイミングを前記遅れ方向に前記第2時間だけシフトさせ、前記次回更新値又は前回更新値で決定される前記第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前記前倒し方向に第5時間だけシフトさせ、且つ前記次回更新値又は前回更新値で決定される前記残りの接続端子の電圧変動の立ち下がりエッジタイミングを第6時間だけ前記遅れ方向にシフトさせる、請求項2から8のいずれか一項に記載のモータ制御装置。
  10. 前記制御部は、互いに一致すると予測された前記第1相及び前記第2相の接続端子の電圧変動の種別が前記立ち下がりエッジタイミングであり、前記第1相及び前記第2相の接続端子の電圧変動のデューティ比が第2閾値から0%までの範囲内に含まれ、且つ前記残りの接続端子の少なくとも一つの電圧変動のデューティ比が第1閾値から100%までの範囲内に含まれる場合に、前記今回更新値で決定される前記第1相の接続端子の電圧変動の立ち下がりエッジタイミングを前記第1時間だけ前記遅れ方向にシフトさせるとともに、前記今回更新値で決定される前記第2相の接続端子の電圧変動の立ち下がりエッジタイミングを第4時間だけ前記前倒し方向にシフトさせ、且つ前記今回更新値で決定される前記残りの接続端子の電圧変動の立ち下がりエッジタイミングを前記第3時間だけ前記遅れ方向にシフトさせ、

     前記n相デューティ指令値の次回更新値又は前回更新値で決定される前記第2相の接続端子の電圧変動の立ち上がりエッジタイミングを前記前倒し方向に前記第2時間だけシフトさせ、前記次回更新値又は前回更新値で決定される前記第1相の接続端子の電圧変動の立ち上がりエッジタイミングを前記遅れ方向に第5時間だけシフトさせ、且つ前記次回更新値又は前回更新値で決定される前記残りの接続端子の電圧変動の立ち上がりエッジタイミングを第6時間だけ前記前倒し方向にシフトさせる、請求項2から9のいずれか一項に記載のモータ制御装置。
PCT/JP2022/024198 2021-09-30 2022-06-16 モータ制御装置 WO2023053595A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202280064647.3A CN117999735A (zh) 2021-09-30 2022-06-16 马达控制装置
JP2023551075A JPWO2023053595A1 (ja) 2021-09-30 2022-06-16
DE112022004704.6T DE112022004704T5 (de) 2021-09-30 2022-06-16 Motorsteuervorrichtung

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021162378 2021-09-30
JP2021-162378 2021-09-30

Publications (1)

Publication Number Publication Date
WO2023053595A1 true WO2023053595A1 (ja) 2023-04-06

Family

ID=85780555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/024198 WO2023053595A1 (ja) 2021-09-30 2022-06-16 モータ制御装置

Country Status (4)

Country Link
JP (1) JPWO2023053595A1 (ja)
CN (1) CN117999735A (ja)
DE (1) DE112022004704T5 (ja)
WO (1) WO2023053595A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117811552A (zh) * 2024-03-01 2024-04-02 上海励驰半导体有限公司 Pwm信号死区时间的动态配置方法、装置、芯片及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002204579A (ja) * 2001-01-09 2002-07-19 Fuji Electric Co Ltd インバータの制御方法
JP2005051959A (ja) * 2003-07-31 2005-02-24 Fuji Electric Holdings Co Ltd 電力変換装置のノイズ低減方法および回路
WO2005081389A1 (ja) * 2004-02-19 2005-09-01 Mitsubishi Denki Kabushiki Kaisha 多相同時スイッチング防止回路、pwmインバータ装置及びその駆動方法
JP2008125178A (ja) * 2006-11-09 2008-05-29 Honda Motor Co Ltd モータ制御装置
JP2014033503A (ja) * 2012-08-01 2014-02-20 Toshiba Corp 電力変換装置
JP2020072607A (ja) * 2018-11-02 2020-05-07 U−Mhiプラテック株式会社 電動機駆動装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002204579A (ja) * 2001-01-09 2002-07-19 Fuji Electric Co Ltd インバータの制御方法
JP2005051959A (ja) * 2003-07-31 2005-02-24 Fuji Electric Holdings Co Ltd 電力変換装置のノイズ低減方法および回路
WO2005081389A1 (ja) * 2004-02-19 2005-09-01 Mitsubishi Denki Kabushiki Kaisha 多相同時スイッチング防止回路、pwmインバータ装置及びその駆動方法
JP2008125178A (ja) * 2006-11-09 2008-05-29 Honda Motor Co Ltd モータ制御装置
JP2014033503A (ja) * 2012-08-01 2014-02-20 Toshiba Corp 電力変換装置
JP2020072607A (ja) * 2018-11-02 2020-05-07 U−Mhiプラテック株式会社 電動機駆動装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117811552A (zh) * 2024-03-01 2024-04-02 上海励驰半导体有限公司 Pwm信号死区时间的动态配置方法、装置、芯片及设备
CN117811552B (zh) * 2024-03-01 2024-05-28 上海励驰半导体有限公司 Pwm信号死区时间的动态配置方法、装置、芯片及设备

Also Published As

Publication number Publication date
CN117999735A (zh) 2024-05-07
DE112022004704T5 (de) 2024-08-01
JPWO2023053595A1 (ja) 2023-04-06

Similar Documents

Publication Publication Date Title
RU2496218C2 (ru) Контроллер для системы запуска нагрузки
JP6067402B2 (ja) モータ制御装置
JP5900470B2 (ja) 電流形電力変換装置
TW200924366A (en) Matrix converter
JP2013183565A (ja) 電流形電力変換装置
WO2023053595A1 (ja) モータ制御装置
US20200373854A1 (en) Power conversion device
RU2516872C1 (ru) Устройство преобразования мощности
JP6243448B2 (ja) 電動機駆動装置
JP4957574B2 (ja) 回転機の制御装置及び回転機の制御システム
WO2020059814A1 (ja) モータ制御装置、モータシステム及びインバータ制御方法
JPWO2017056258A1 (ja) 電力制御方法、及び、電力制御装置
JP4493432B2 (ja) インバータ制御装置
WO2023053600A1 (ja) モータ制御装置
TWI784727B (zh) 馬達驅動電路及馬達模組
JP4677668B2 (ja) 多相交流モータ駆動制御装置
US20240072685A1 (en) Power converter and electric apparatus
US11374505B2 (en) Inverter device for performing a power conversion operation to convert DC power to AC power
WO2020059815A1 (ja) モータ制御装置、モータシステム及びインバータ制御方法
JP6471670B2 (ja) 電力制御方法、及び、電力制御装置
JP2003116295A (ja) 電動機の駆動制御装置
JP2003033042A (ja) 二相変調制御式インバータ装置
CN112042103A (zh) 旋转机的控制装置
CN113039717A (zh) 交流旋转电机控制装置
JP2022121267A (ja) 充電制御方法及び充電制御装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22875474

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023551075

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 202280064647.3

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 112022004704

Country of ref document: DE