WO2023190174A1 - モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法 - Google Patents

モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法 Download PDF

Info

Publication number
WO2023190174A1
WO2023190174A1 PCT/JP2023/011847 JP2023011847W WO2023190174A1 WO 2023190174 A1 WO2023190174 A1 WO 2023190174A1 JP 2023011847 W JP2023011847 W JP 2023011847W WO 2023190174 A1 WO2023190174 A1 WO 2023190174A1
Authority
WO
WIPO (PCT)
Prior art keywords
section
switching
conduction
type
phase
Prior art date
Application number
PCT/JP2023/011847
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 ニデック株式会社
Publication of WO2023190174A1 publication Critical patent/WO2023190174A1/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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation

Definitions

  • the present disclosure relates to a motor control device, a motor module, a motor control program, and a motor control method.
  • the present disclosure provides a technique for suppressing a decrease in output torque when switching sections.
  • a motor control device includes a 120-degree energization method in which at least one of the three phases is an energized phase that is PWM controlled and the remaining one phase is a non-energized phase, or at least one of the three phases
  • the present invention is a motor control device that controls a motor using a 180-degree energization method in which the PWM-controlled energization phase is a PWM-controlled energization phase, and includes an inverter circuit, a section determining section, and a conduction control section.
  • the inverter circuit has an upper arm and a lower arm for each of three phases.
  • the section determining unit determines a section according to the electrical angle of the motor from among the plurality of sections divided into mutually different ranges of the electrical angle of the motor.
  • the conduction control section controls conduction of the upper arm and the lower arm of the plurality of energized phases in the inverter circuit based on the section determined by the section determination section.
  • the conduction control unit controls the negative current of the current-carrying phase with the highest voltage or the positive current of the current-carrying phase with the lowest voltage among the plurality of current-carrying phases in the switching destination section when switching to the section determined by the section determining unit.
  • the section switching compensator includes a section switching compensator that performs suppression processing.
  • FIG. 1 is a diagram showing an example of the configuration of a motor module according to an embodiment.
  • FIG. 2 is a diagram illustrating an example of the configuration of an inverter circuit in the motor control device according to the first embodiment.
  • FIG. 3 is a diagram showing the state of each phase in each section of the 120-degree energization method in the motor control device according to the embodiment.
  • FIG. 4 is a diagram showing the state of each phase in each section of the 180-degree energization method in the motor control device according to the embodiment.
  • FIG. 5 is a diagram illustrating an example of control when the conduction type used in the motor control device according to the embodiment is a valley ON type.
  • FIG. 1 is a diagram showing an example of the configuration of a motor module according to an embodiment.
  • FIG. 2 is a diagram illustrating an example of the configuration of an inverter circuit in the motor control device according to the first embodiment.
  • FIG. 3 is a diagram showing the state of each phase in each section of the 120-degree en
  • FIG. 6 is a diagram illustrating an example of control when the conduction type used in the motor control device according to the embodiment is the mountain ON type.
  • FIG. 7 is a diagram showing an example of control of the inverter circuit using the 120-degree energization method and High-side PWM control type in the motor control device according to the embodiment.
  • FIG. 8 is a diagram showing another example of controlling the inverter circuit using the 120-degree energization method and High-side PWM control type in the motor control device according to the embodiment.
  • FIG. 9 is a diagram showing an example of control of an inverter circuit using a 120-degree energization method and a low-side PWM control type in the motor control device according to the embodiment.
  • FIG. 10 is a diagram showing another example of controlling the inverter circuit using the 120-degree energization method and Low-side PWM control type in the motor control device according to the embodiment.
  • FIG. 11 is a diagram showing an example of control of an inverter circuit using a 120-degree energization method and a Both-side PWM control type in the motor control device according to the embodiment.
  • FIG. 12 is a diagram showing another example of controlling the inverter circuit using the 120-degree energization method and the Both-side PWM control type in the motor control device according to the embodiment.
  • FIG. 11 is a diagram showing an example of control of an inverter circuit using a 120-degree energization method and a Both-side PWM control type in the motor control device according to the embodiment.
  • FIG. 12 is a diagram showing another example of controlling the inverter circuit using the 120-degree energization method and the Both-side PWM control type in the motor control device according to the embodiment.
  • FIG. 13 is a diagram illustrating an example of the on/off state of the upper and lower arms of each phase before and after switching from section 5 to section 0 when section switching compensation is not performed in the motor control device according to the embodiment.
  • FIG. 14 shows another example of the on/off state of the upper and lower arms of each phase before and after switching from section 5 to section 0 when section switching compensation is not performed by the section switching compensation unit in the motor control device according to the embodiment. It is a diagram.
  • FIG. 15 is a diagram showing the U-phase voltage, U-phase current, and output torque before and after switching from section 5 to section 0 when section switching compensation is not performed by the section switching compensation unit in the motor control device according to the embodiment. It is.
  • FIG. 16 is a diagram showing an example of control of the inverter circuit using the first switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 17 is a flowchart illustrating an example of controlling the inverter circuit using the first switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 18 is a diagram showing an example of control of the inverter circuit using the second switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 19 is a flowchart illustrating an example of controlling the inverter circuit using the second switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 20 is a diagram showing an example of control of the inverter circuit using the third switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 21 is a flowchart illustrating an example of controlling the inverter circuit using the third switching compensation method in the conduction control unit of the motor control device according to the embodiment.
  • FIG. 22 is a flowchart illustrating an example of forced-on processing in the conduction control section of the motor control device according to the embodiment.
  • FIG. 23 is a diagram showing an example of control of the inverter circuit using the fourth switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 24 is a flowchart illustrating an example of controlling the inverter circuit using the fourth switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 25 is a diagram showing an example of control of the inverter circuit using the fifth switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 26 is a flowchart illustrating an example of controlling the inverter circuit using the fifth switching compensation method in the conduction control unit of the motor control device according to the embodiment.
  • FIG. 27 is a flowchart illustrating an example of forced off processing in the conduction control section of the motor control device according to the embodiment.
  • FIG. 28 is a diagram showing an example of control of the inverter circuit using the sixth switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 29 is a flowchart illustrating an example of controlling the inverter circuit using the sixth switching compensation method in the conduction control unit of the motor control device according to the embodiment.
  • FIG. 30 is a diagram illustrating an example of control of an inverter circuit using the seventh switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 31 is a flowchart illustrating an example of controlling an inverter circuit using the seventh switching compensation method in the conduction control unit of the motor control device according to the embodiment.
  • FIG. 32 is a diagram illustrating an example of controlling an inverter circuit using the eighth switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 33 is a diagram illustrating another example of controlling the inverter circuit using the eighth switching compensation method in the conduction control unit of the motor control device according to the embodiment.
  • FIG. 34 is a flowchart illustrating an example of controlling the inverter circuit using the eighth switching compensation method in the conduction control section of the motor control device according to the embodiment.
  • FIG. 35 is a diagram showing the U-phase voltage, U-phase current, and output torque before and after switching from section 5 to section 0 when section switching compensation is performed by the section switching compensation unit in the motor control device according to the embodiment. be.
  • FIG. 36 is a diagram illustrating an example of the hardware configuration of the control unit of the motor control device according to the embodiment.
  • FIG. 1 is a diagram showing an example of the configuration of a motor module according to an embodiment.
  • a motor module 100 according to the embodiment includes a motor control device 1, a motor 2 controlled by the motor control device 1, and a position detection device 3 that detects a position ⁇ e of a rotor of the motor 2. Equipped with. The position ⁇ e is the electrical angle position of the motor 2 .
  • Motor 2 is a three-phase motor.
  • the position detection device 3 detects the position ⁇ e of the rotor of the motor 2 and outputs the detected position ⁇ e to the motor control device 1 .
  • the position detection device 3 is, for example, a magnetic sensor using a Hall element or the like, but is not limited to this example, and may be a resolver.
  • the position detection device 3 may be an optical encoder that detects the position ⁇ m of the rotor of the motor 2.
  • the position ⁇ m is the mechanical angle position of the motor 2.
  • the magnetic sensor or resolver may be configured to detect the position ⁇ m of the rotor of the motor 2.
  • the motor control device 1 may have a function of performing position sensorless control, and in this case, the motor module 100 does not need to be provided with the position detection device 3.
  • the motor control device 1 drives the motor 2 using a method selected from the 120-degree energization method and the 180-degree energization method.
  • the 120-degree energization method used by the motor control device 1 is an energization method in which at least one of the three phases is an energized phase under PWM control, and the remaining one phase is a non-energized phase.
  • the 180-degree energization method used by the motor control device 1 is an energization method in which at least one of the three phases is a conducting phase subjected to PWM control.
  • the motor control device 1 includes an inverter circuit 10, a current sensor 20, and a control section 30, as shown in FIG. Below, the inverter circuit 10, current sensor 20, and control section 30 will be explained in this order.
  • Inverter circuit 10 converts DC power into AC power and outputs the converted AC power to the motor 2.
  • the inverter circuit 10 is connected to, for example, a converter circuit (not shown) that converts AC power supplied from an AC power source (not shown) into DC power, and converts the DC power output from the converter circuit into AC power. Outputs AC power to the motor 2.
  • the inverter circuit 10 may be connected to a DC power source (not shown) without using the converter circuit.
  • FIG. 2 is a diagram showing an example of the configuration of the inverter circuit 10 in the motor control device 1 according to the first embodiment.
  • the inverter circuit 10 includes upper arms 11 1 , 11 2 , 11 3 , lower arms 12 1 , 12 2 , 12 3 , and a gate driver 15 .
  • filters configured by coils and capacitors are provided in the U phase, V phase, and W phase.
  • the inverter circuit 10 may have a configuration in which no filter is provided.
  • the upper arm 11 1 and the lower arm 12 1 constitute a U-phase half-bridge circuit, and the upper arm 11 2 and the lower arm 12 2 constitute a V-phase half-bridge circuit.
  • the arm 123 constitutes a W-phase half-bridge circuit.
  • the upper arm 11 1 includes a switching element 13 1 and a diode 14 1 connected in antiparallel to the switching element 13 1 .
  • the lower arm 12 1 includes a switching element 13 2 and a diode 14 2 connected in antiparallel to the switching element 13 2 .
  • the upper arm 11 2 includes a switching element 13 3 and a diode 14 3 connected in antiparallel to the switching element 13 3 .
  • the lower arm 122 includes a switching element 134 and a diode 144 connected in antiparallel to the switching element 134 .
  • the upper arm 113 includes a switching element 135 and a diode 145 connected in antiparallel to the switching element 135 .
  • the lower arm 123 includes a switching element 136 and a diode 146 connected in antiparallel to the switching element 136 .
  • Each switching element 13 1 , 13 2 , 13 3 , 13 4 , 13 5 , 13 6 is, for example, a switching element such as an IGBT (Insulated Gate Bipolar Transistor) or a MOSFET (Metal Oxide Semiconductor Field Effect Transistor).
  • the switching elements 13 1 , 13 2 , 13 3 , 13 4 , 13 5 , 13 6 are, for example, switching elements formed of a silicon-based material or switching elements formed of a wide bandgap semiconductor. .
  • the wide bandgap semiconductor is, for example, silicon carbide (SiC), gallium nitride (GaN), gallium oxide (Ga 2 O 3 ), or diamond.
  • the gate driver 15 amplifies gate signals Sup, Svp, Swp, Sun, Svn, and Swn, which will be described later, and are output from the control unit 30. Then, the gate driver 15 outputs the amplified gate signals Sup, Svp, Swp, Sun, Svn, Swn to the gates of the upper arms 11 1 , 11 2 , 11 3 and the lower arms 12 1 , 12 2 , 12 3 .
  • the gate driver 15 outputs the amplified gate signal Sup to the U-phase upper arm 111 , and outputs the amplified gate signal Sun to the U-phase lower arm 121 . Further, the gate driver 15 outputs the amplified gate signal Svp to the V-phase upper arm 112 , and outputs the amplified gate signal Svn to the V-phase lower arm 122 .
  • the gate driver 15 outputs the amplified gate signal Swp to the W-phase upper arm 113 , and outputs the amplified gate signal Swn to the W-phase lower arm 123 .
  • the upper arm 11 when each of the upper arms 11 1 , 11 2 , 11 3 is shown without being individually distinguished, it is referred to as the upper arm 11 and each of the lower arms 12 1 , 12 2 , 12 3 is not individually distinguished. , it may be written as lower arm 12.
  • the current sensor 20 shown in FIG. 1 detects a three-phase current value I UVW , which is an instantaneous value of the three-phase current flowing from the inverter circuit 10 to the motor 2, and outputs the detected three-phase current value I UVW to the control unit 30.
  • the three-phase current value I UVW is the U-phase current value IU, which is the instantaneous value of the U-phase current, the V-phase current value IV , which is the instantaneous value of the V-phase current, and the W-phase current value, which is the instantaneous value of the W-phase current.
  • the current value IW is included.
  • the current sensor 20 is, for example, a current sensor using a Hall element, but is not limited to this example, and may be a current sensor using a current transformer called CT (Current Transformer), or a current sensor using a shunt resistor. It may also be a current sensor.
  • CT Current Transformer
  • control section 30 includes a torque command output section 31, a duty calculation section 32, a carrier wave generation section 33, a section determination section 34, a setting section 35, and a conduction control section 36.
  • Torque command output section 31 outputs torque command T * .
  • the torque command T * is an example of a target output torque.
  • the torque command output unit 31 may be configured to generate a torque command T * so that the speed of the motor 2 matches the speed command, and output the generated torque command T * .
  • Duty calculation unit 32 calculates duty values of the U phase, V phase, and W phase based on the torque command T * output from the torque command output unit 31 and the three-phase current value I UVW output from the current sensor 20. Calculate Sduty. For example, the duty calculation unit 32 controls the U - phase, V- phase , and Calculate the duty value Sduty of the W phase. The duty calculation section 32 outputs the calculated duty values Sduty of the U phase, V phase, and W phase to the conduction control section 36.
  • Carrier wave generation unit 33 The carrier wave generator 33 generates a triangular carrier wave Scw, and outputs the generated triangular carrier wave Scw to the conduction controller 36 . Note that the carrier wave generation unit 33 may generate a sawtooth wave carrier wave Scw instead of the triangular wave carrier wave Scw.
  • Section determination unit 34 determines the section corresponding to the electrical angle of the motor 2 among the six sections 0 to 5 that are divided into different ranges of the electrical angle of the motor 2 .
  • Section 0 is an electrical angle range of 30° or more and less than 90°
  • section 1 is an electrical angle range of 90° or more and less than 150°
  • section 2 is an electrical angle range of 150° or more and less than 210°. range.
  • section 3 has an electrical angle in the range of 210° or more and less than 270°
  • section 4 has an electrical angle in the range of 270° or more and less than 330°
  • section 5 has an electrical angle of 0° or more and less than 30°. and the range of 330° or more and less than 360°.
  • the section determining unit 34 determines the section based on the position ⁇ e of the rotor of the motor 2. Note that when the position ⁇ m is output from the position detection device 3, the section determining unit 34 calculates the position ⁇ e from the position ⁇ m and the number of pole pairs P of the motor 2, and based on the calculated position ⁇ e , Decide on sections.
  • FIG. 3 is a diagram showing the state of each phase in each section of the 120-degree energization method in the motor control device 1 according to the embodiment.
  • the six sections section 0 to section 5 have different combinations of high-side conduction phase, low-side conduction phase, and non-current conduction phase among the three phases.
  • Each of the high-side conduction phase and the low-side conduction phase is a current-carrying phase, and the high-side conduction phase has a higher voltage than the low-side conduction phase.
  • the high-side conduction phase is a phase in which the upper arm 11 is PWM-controlled or fixed in the on state, so that current actively flows in the positive direction on average over one PWM cycle.
  • the low-side conduction phase is a phase in which the lower arm 12 is PWM-controlled or fixed in the on state, so that current actively flows in the negative direction in one PWM period average.
  • the non-energized phase is a phase in which both the upper arm 11 and the lower arm 12 are fixed in an off state, and no current is actively applied.
  • the U phase is a high-side conduction phase
  • the V phase is a low-side conduction phase
  • the W phase is a non-current phase.
  • the U phase is a high-side conduction phase
  • the W phase is a low-side conduction phase
  • the V phase is a non-conduction phase.
  • the V phase is a high-side conduction phase
  • the W phase is a low-side conduction phase
  • the U phase is a non-conduction phase.
  • the V phase is a high-side conduction phase
  • the U phase is a low-side conduction phase
  • the W phase is a non-current phase
  • the W phase is a high-side conduction phase
  • the U phase is a low-side conduction phase
  • the V phase is a non-current phase
  • the W phase is a high-side conduction phase
  • the V phase is a low-side conduction phase
  • the U phase is a non-conduction phase.
  • FIG. 4 is a diagram showing the state of each phase in each section of the 180-degree energization method in the motor control device 1 according to the embodiment.
  • the six sections section 0 to section 5 have different combinations of the high-side conduction phase and the low-side conduction phase in the three phases.
  • Each of the high-side conduction phase and the low-side conduction phase is a current-carrying phase, and the high-side conduction phase has a higher voltage than the low-side conduction phase.
  • the high-side conduction phases are the U phase and the W phase, and the low-side conduction phase is the V phase.
  • the high-side conduction phase is the U phase
  • the low-side conduction phases are the V phase and the W phase.
  • the high-side conduction phases are the U phase and the V phase
  • the low-side conduction phase is the W phase.
  • the high-side conduction phase is the V phase
  • the low-side conduction phases are the U phase and W phase.
  • the high-side conduction phases are the V phase and the W phase
  • the low-side conduction phase is the U phase
  • the high-side conduction phase is the W phase
  • the low-side conduction phases are the U phase and the V phase.
  • the section determining unit 34 determines the section corresponding to the electrical angle of the motor 2 among the six sections. For example, the section determining unit 34 determines section 0 as the section according to the electrical angle of the motor 2 when 30° ⁇ e ⁇ 90°, and when 90° ⁇ e ⁇ 150°, Section 1 is determined as a section corresponding to the electrical angle of motor 2.
  • the section determining unit 34 determines section 2 as a section according to the electrical angle of the motor 2 when 150° ⁇ e ⁇ 210°, and determines section 3 as a section according to the electrical angle of the motor 2 when 210° ⁇ e ⁇ 270°. is determined as a section according to the electrical angle of the motor 2.
  • the section determining unit 34 determines section 4 as a section according to the electrical angle of the motor 2 when 270° ⁇ e ⁇ 330°, and 0° ⁇ e ⁇ 30° or 330° ⁇ e ⁇ When the angle is 360°, section 5 is determined as a section corresponding to the electrical angle of motor 2.
  • the setting unit 35 stores setting information.
  • the setting information includes conduction type information, control type information, switching compensation method information, and energization method information.
  • the conduction type information is information indicating one conduction type selected from a plurality of conduction types.
  • the control type information is information indicating one control type selected from a plurality of control types.
  • the switching compensation method information is information indicating one switching compensation method selected from a plurality of switching compensation methods.
  • the energization method information is information indicating one energization method selected from the 120-degree energization method and the 180-degree energization method.
  • the selection of conduction type, control type, switching compensation method, and energization method is made by the manufacturer of the motor control device 1, but may be made by the user of the motor control device 1. Note that the switching compensation method will be described in detail later.
  • the plurality of conduction types include a valley ON type and a peak ON type.
  • the valley ON type and the peak ON type differ in the combination of the comparison result between the carrier wave Scw and the compare value Scomp and the arm to be made conductive among the upper arm 11 and the lower arm 12.
  • FIG. 5 is a diagram showing an example of control when the conduction type used in the motor control device 1 according to the embodiment is a valley ON type.
  • the valley ON type as shown in FIG. 5, when the compare value Scomp is higher than the carrier wave Scw, the upper arm 11 is turned on and conductive, and when the compare value Scomp is lower than the carrier wave Scw, the lower arm 12 is turned on. state and make it conductive.
  • FIG. 6 is a diagram showing an example of control when the conduction type used in the motor control device 1 according to the embodiment is the peak ON type.
  • the conduction type used in the motor control device 1 according to the embodiment is the peak ON type.
  • the mountain ON type as shown in FIG. 6, when the compare value Scomp is lower than the carrier wave Scw, the upper arm 11 is turned on and conductive, and when the compare value Scomp is higher than the carrier wave Scw, the lower arm 12 is turned on. state and make it conductive.
  • the plurality of control types include a High-side PWM control type, a Low-side PWM control type, and a Both-side PWM control type.
  • control is performed in which the upper arm 11 and lower arm 12 in the High-side conduction phase are turned on and off by PWM control, and the lower arm 12 in the Low-side conduction phase is fixed in the on state.
  • FIG. 7 is a diagram showing an example of control of the inverter circuit 10 using the 120-degree energization method and High-side PWM control type in the motor control device 1 according to the embodiment.
  • the conduction type is the valley ON type
  • the section determined by the section determination unit 34 is section 0.
  • the U phase is a high-side conduction phase
  • the V phase is a low-side conduction phase
  • the W phase is a non-conduction phase. Therefore, as shown in FIG. 7, the U-phase upper arm 11 1 and the lower arm 12 1 are subjected to PWM control, and the V-phase lower arm 12 2 is fixed in the on state. Since the conduction type is the valley ON type, the upper arm 111 of the U phase is turned on when the compare value Scomp is higher than the carrier wave Scw, and the U phase upper arm 111 is turned on when the compare value Scomp is lower than the carrier wave Scw. The lower arm 121 is turned on.
  • FIG. 8 is a diagram showing another example of controlling the inverter circuit 10 using the 120-degree energization method and High-side PWM control type in the motor control device 1 according to the embodiment.
  • the conduction type is the peak ON type, and the section determined by the section determination unit 34 is section 0.
  • the conduction type is the peak ON type, so when the compare value Scomp is lower than the carrier wave Scw, the upper arm 111 of the U phase is turned on, and the compare value Scomp is higher than the carrier wave Scw.
  • This example differs from the example shown in FIG. 7 in that the U-phase lower arm 121 is in the on state when In the example shown in FIG.
  • a value obtained by inverting the duty value Sduty output from the duty calculation unit 32 with reference to the median value of the carrier wave Ssw is used as a compare value Scomp to be compared with the carrier wave Scw.
  • the duty value Sduty output from the duty calculation section 32 is directly compared with the carrier wave Scw as a compare value Scomp.
  • the upper arm 11 in the high-side conduction phase is fixed in the on state, and the upper arm 11 and the lower arm 12 in the low-side conduction phase are turned on and off by PWM control.
  • FIG. 9 is a diagram showing an example of control of the inverter circuit 10 using the 120-degree energization method and Low-side PWM control type in the motor control device 1 according to the embodiment.
  • the conduction type is the peak ON type
  • the section determined by the section determination unit 34 is section 0.
  • the U phase is a high-side conduction phase
  • the V phase is a low-side conduction phase
  • the W phase is a non-conduction phase. Therefore, as shown in FIG. 9, the U-phase upper arm 11 1 is fixed in the on state, and the V-phase upper arm 11 2 and lower arm 12 2 are subjected to PWM control. Since the conduction type is the peak ON type, the upper arm 112 of the V phase is turned on when the compare value Scomp is lower than the carrier wave Scw, and the upper arm 112 of the V phase is turned on when the compare value Scomp is higher than the carrier wave Scw. The lower arm 122 is turned on. In the example shown in FIG. 9, in the conduction control section 36, the duty value Sduty output from the duty calculation section 32 is directly compared with the carrier wave Scw as a compare value Scomp.
  • FIG. 10 is a diagram showing another example of controlling the inverter circuit 10 using the 120-degree energization method and Low-side PWM control type in the motor control device 1 according to the embodiment.
  • the conduction type is the valley ON type
  • the section determined by the section determination unit 34 is section 0.
  • the conduction type is the valley ON type
  • the compare value Scomp is higher than the carrier wave Scw
  • the upper arm 112 of the V phase is turned on
  • the compare value Scomp is lower than the carrier wave Scw.
  • the conduction control unit 36 uses a value obtained by inverting the duty value Sduty output from the duty calculation unit 32 with respect to the median value of the carrier wave Ssw as a compare value Scomp to be compared with the carrier wave Scw. used.
  • the upper arm 11 and lower arm 12 of the High-side conduction phase are turned on and off by PWM control, and the upper arm of the Low-side conduction phase is controlled by PWM control complementary to the PWM control of the High-side conduction phase.
  • 11 and the lower arm 12 are controlled to be turned on and off.
  • the upper arm 11 and the lower arm 12 are turned on and off by PWM control in which the on-ratio of the upper arm 11 is greater than the on-ratio of the lower arm 12.
  • the upper arm 11 and the lower arm 12 are turned on and off by PWM control in which the on-ratio of the upper arm 11 is smaller than the on-ratio of the lower arm 12.
  • FIG. 11 is a diagram showing an example of control of the inverter circuit 10 using the 120-degree energization method and the Both-side PWM control type in the motor control device 1 according to the embodiment.
  • the conduction type is the valley ON type
  • the section determined by the section determination unit 34 is section 0.
  • the U phase is a high-side conduction phase
  • the V phase is a low-side conduction phase
  • the W phase is a non-conduction phase. Therefore, as shown in FIG. 11, the upper arm 11 1 and lower arm 12 1 of the U phase are turned on and off by PWM control in which the on ratio of the upper arm 11 1 of the U phase is larger than the on ratio of the lower arm 12 1 .
  • the V-phase upper arm 11 2 and the lower arm 12 2 are turned on and off by PWM control in which the on-ratio of the upper arm 11 2 in the V-phase is smaller than the on-ratio of the lower arm 12 2 .
  • the conduction type is the valley ON type
  • the compare value Scomp is higher than the carrier wave Scw
  • the upper arm 11 1 of the U phase and the lower arm 12 2 of the V phase are turned on, and the compare value Scomp is higher than the carrier wave Scw.
  • the value Scomp is low
  • the U-phase lower arm 12 1 and the V-phase upper arm 11 2 are turned on.
  • FIG. 12 is a diagram showing another example of controlling the inverter circuit 10 using the 120-degree energization method and the Both-side PWM control type in the motor control device 1 according to the embodiment.
  • the conduction type is the peak ON type
  • the section determined by the section determination unit 34 is section 0.
  • the conduction type is the peak ON type
  • the compare value Scomp is lower than the carrier wave Scw
  • the compare value Scomp is higher than the carrier wave Scw
  • the lower arm 12 1 of the U phase and the upper arm 11 2 of the V phase are turned on.
  • the conduction control section 36 includes a conduction switching section 40 that generates gate signals Sup, Sun, Svp, Svn, Swp, and Swn, and a section switching compensation section 41 that performs section switching compensation processing.
  • the conduction switching unit 40 receives the duty value Sduty output from the duty calculation unit 32, the carrier wave Scw output from the carrier wave generation unit 33, control information including a section switching request output from the section switching compensation unit 41, and settings. Based on the setting information output from the section 35, gate signals Sup, Sun, Svp, Svn, Swp, and Swn are generated.
  • control type and energization method indicated by the setting information are the High-side PWM control type and the 120-degree energization method, and the section determined by the section determining unit 34 is section 0.
  • the conduction switching unit 40 directly uses the duty value Sduty outputted from the duty calculation unit 32 as a compare value Scomp and compares it with the carrier wave Scw. As shown, gate signals Sup, Sun, Svp, Svn, Swp, and Swn for controlling the inverter circuit 10 are generated.
  • the conduction switching unit 40 calculates a value obtained by inverting the duty value Sduty output from the duty calculation unit 32 as the compare value Scomp.
  • control type and energization method indicated by the setting information are the Low-side PWM control type and the 120-degree energization method, and the section determined by the section determining unit 34 is section 0.
  • the conduction switching unit 40 calculates a value obtained by inverting the duty value Sduty output from the duty calculation unit 32 as the compare value Scomp.
  • the conduction switching unit 40 uses the duty value Sduty output from the duty calculation unit 32 as it is as a compare value Scomp, and compares it with the carrier wave Scw, as shown in FIG. As shown, gate signals Sup, Sun, Svp, Svn, Swp, and Swn for controlling the inverter circuit 10 are generated.
  • control type and energization method indicated by the setting information are the Both-side PWM control type and the 120-degree energization method, and the section determined by the section determining unit 34 is section 0.
  • the conduction switching unit 40 adds 0.5 to the value obtained by multiplying the duty value Sduty output from the duty calculation unit 32 by 0.5.
  • the value is calculated as a compare value Scomp.
  • the conduction switching unit 40 compares the calculated compare value Scomp with the carrier wave Scw, and generates gate signals Sup, Sun, Svp, Svn, Swp, and Swn that control the inverter circuit 10 as shown in FIG.
  • the conduction switching unit 40 adds 0.5 to the value obtained by multiplying the duty value Sduty output from the duty calculation unit 32 by 0.5.
  • the value obtained by subtracting from 1 is calculated as the compare value Scomp.
  • the maximum value of the duty value Sduty is the same value as the value of the peak position of the carrier wave Scw, but it is not limited to such an example.
  • the value of the peak position of the carrier wave Scw may be larger than the maximum value of the duty value Sduty.
  • the conduction switching unit 40 calculates the compare value Scomp using, for example, a coefficient according to the ratio between the maximum value of the duty value Sduty and the value of the peak position of the carrier wave Scw.
  • Section switching compensation unit 41 When switching to the section determined by the section determining unit 34, the section switching compensator 41 compensates for the negative current of the High-side conduction phase, which is the conductive phase with the highest voltage among the plurality of conductive phases in the switching destination section. Performs section switching compensation processing to be suppressed.
  • FIG. 13 is a diagram showing an example of the on/off state of the upper and lower arms of each phase before and after switching from section 5 to section 0 when section switching compensation is not performed in the motor control device 1 according to the embodiment.
  • the conduction type, control type, and energization method are valley ON type, High-side PWM control type, and 120 degree energization method, and the timing of switching from section 5 to section 0 is based on the carrier wave Scw.
  • An example is shown where the location is a mountain.
  • the V-phase lower arm 122 is fixed in the on state, and when section switching compensation is not performed by the section switching compensation unit 41, from section 5 to section 0
  • the U-phase lower arm 121 is turned on. In this case, as will be described later, a negative current is generated in the U phase, which is the high-side conduction phase, and the output torque of the motor 2 momentarily decreases.
  • FIG. 14 shows another example of the on/off state of the upper and lower arms of each phase before and after switching from section 5 to section 0 when section switching compensation is not performed by the section switching compensation unit 41 in the motor control device 1 according to the embodiment.
  • FIG. The example shown in FIG. 14 differs from the example shown in FIG. 13 in that the timing of switching from section 5 to section 0 is at the position of the valley of the carrier wave Scw.
  • FIG. 15 shows the U-phase voltage, U-phase current, and output torque before and after switching from section 5 to section 0 when section switching compensation is not performed by the section switching compensation unit 41 in the motor control device 1 according to the embodiment.
  • the conduction type, control type, and energization method are a valley ON type, a high-side PWM control type, and a 120-degree energization method.
  • the horizontal axes of the three graphs are time
  • the vertical axes of the three graphs are the U-phase voltage, U-phase current, and output torque.
  • section switching compensation unit 41 does not perform section switching compensation, as shown in FIG . Although no current flows, when starting from turning on the lower arm 121 , a negative current flows to the U phase, and the output torque of the motor 2 momentarily decreases.
  • the section switching compensation unit 41 performs section switching compensation.
  • the section switching compensation controls the conduction switching unit 40 so as to start from turning on the upper arm 11 of the PWM-controlled High-side conduction phase at the time of section switching. It is done by doing. As a result, it is possible to suppress a negative current from flowing into the PWM-controlled high-side conduction phase, thereby suppressing a decrease in the output torque of the motor 2.
  • the control type is the High-side PWM control type
  • the PWM-controlled High-side conducting phase can also be said to be a phase in which current flows in the positive direction on average over one PWM cycle.
  • section switching compensation section 41 does not perform section switching compensation, when the control type is the Low-side PWM control type, and when the control type is the Both-side PWM control type, the output of the motor 2 is Torque decreases momentarily.
  • control type is a Low-side PWM control type
  • the PWM-controlled conduction phase starts with the upper arm 11 turned on
  • a positive current will flow in the PWM-controlled Low-side conduction phase.
  • the output torque of the motor 2 momentarily decreases.
  • the section switching compensator 41 sets the conduction switching unit 40 so that the section switching starts from turning on the lower arm 12 of the PWM-controlled Low-side conduction phase. control.
  • the PWM-controlled Low-side conducting phase can also be said to be a phase in which current flows in the negative direction on average over one PWM cycle.
  • the first conduction phase is a high-side conduction phase that is PWM controlled, and is a phase in which current flows in the positive direction on average for one PWM cycle.
  • the section switching compensation unit 41 controls the conduction switching unit 40 to start from turning on the upper arm 11 in the first conduction phase when switching sections. Thereby, it is possible to suppress the negative current from flowing in the first conduction phase, and it is possible to suppress a decrease in the output torque of the motor 2.
  • section switching compensator 41 can forcibly bring the PWM-controlled conducting phase into a non-conducting state when switching sections, and this also makes it possible to suppress a decrease in the output torque of the motor 2. .
  • the section determining unit 34 When switching the section to be determined, the section determining unit 34 outputs a section switching request to the continuity control unit 36.
  • the section switching request includes information indicating the switching destination section.
  • the section switching compensator 41 configures the conduction switching unit 40 based on the section switching request outputted from the section determining unit 34, the carrier wave Scw outputted from the carrier generation unit 33, and the setting information outputted from the setting unit 35. control.
  • the section switching compensation unit 41 controls the conduction switching unit 40 using the section switching compensation method indicated by the switching compensation method information output from the setting unit 35 among the plurality of section switching compensations, and controls the on-timing or off-timing of the target arm, etc. Adjust.
  • the plurality of section switching compensation methods include a first switching compensation method, a second switching compensation method, a third switching compensation method, a fourth switching compensation method, a fifth switching compensation method, a sixth switching compensation method, and a seventh switching compensation method. , and an eighth switching compensation method.
  • the first switching compensation method and the second switching compensation method are methods of performing section switching compensation by delaying the timing of section switching.
  • the third switching compensation method and the fourth switching compensation method are methods of compensating for section switching by forcibly turning on the target arm until a predetermined timing when switching sections.
  • the fifth switching compensation method and the sixth switching compensation method force the PWM-controlled conducting phase to a non-conducting state by forcibly turning off the target arm until a predetermined timing when switching sections. This method performs section switching compensation.
  • the seventh switching compensation method is a method of performing section switching compensation by switching the conduction type at the time of section switching.
  • the eighth switching compensation method is a method of performing section switching compensation by resetting the carrier wave Scw.
  • the target arm is different depending on whether the method is other than the fifth switching compensation method or the sixth switching compensation method, or whether it is the fifth switching compensation method or the sixth switching compensation method.
  • the target arm is the upper arm 11 of the conducting phase that is PWM controlled in the switching destination section. It is.
  • the target arm is under the conduction phase that is PWM controlled in the switching destination section. This is arm 12.
  • the target arm is lower than the on-ratio of the lower arm 12 in the switching destination section.
  • the upper arm 11 is in the conduction phase, in which the upper arm 11 is PWM-controlled with a large on-ratio
  • the lower arm 12 is in the conduction-phase, in which the lower arm 12 is PWM-controlled in the on-ratio, which is larger than the on-ratio of the lower arm 12.
  • the target arm is the conduction phase that is PWM-controlled in the switching destination section. They are an upper arm 11 and a lower arm 12.
  • the target arm is the upper arm 11 and This is the lower arm 12.
  • the first switching compensation method is to delay the section switching timing until the target arm turns on based on the comparison result between the compare value Scomp and the carrier wave Scw. Suppresses the negative current in the conduction phase or the positive current in the PWM controlled low-side conduction phase.
  • the section switching compensation unit 41 monitors the carrier wave Scw when a section switching request is output from the section determining unit 34.
  • the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40 when a predetermined condition is satisfied.
  • the predetermined conditions differ depending on the control type and conduction type indicated by the control type information and conduction type information output from the setting section 35.
  • the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40 when the compare value Scomp becomes larger than the carrier wave Scw.
  • control type and conduction type are High-side PWM control type and peak ON type, Low-side PWM control type and valley ON type, or Both-side PWM control type and peak ON type.
  • the section switching compensator 41 outputs a section switching request including information about the switching destination section to the conduction switching unit 40 when the compare value Scomp becomes equal to or less than the carrier wave Scw.
  • the section switching compensation unit 41 switches the section switching request to conduction without delaying the section switching timing. output to section 40.
  • the conduction switching unit 40 receives a section switching request output from the section switching compensation unit 41, a compare value Scomp obtained from the duty value Sduty output from the duty calculation unit 32, and a carrier wave Scw output from the carrier generation unit 33. , section switching is performed based on the conduction type information and control type information output from the setting unit 35.
  • FIG. 16 is a diagram showing an example of control of the inverter circuit 10 using the first switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 waits until the timing when the compare value Scomp becomes larger than the carrier wave Scw. Then, the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40 when the compare value Scomp becomes larger than the carrier wave Scw.
  • the switching timing from section 5 to section 0 is delayed until the timing at which the upper arm 111 of the U phase, which is a PWM-controlled high-side conduction phase, is turned on. Therefore, when switching from section 5 to section 0, the upper arm 111 of the U phase, which is the high-side conduction phase, is on, and the negative current in the U phase, which is the high-side conduction phase, is suppressed.
  • FIG. 17 is a flowchart showing an example of control of the inverter circuit 10 using the first switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 17 is an example when the control type is High-side PWM control type or Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the conduction control unit 36 monitors the carrier wave Scw (step S10). Next, the conduction control unit 36 determines whether the conduction type indicated by the conduction type information output from the setting unit 35 is the valley ON type (step S11).
  • step S11 determines whether the conduction type is the valley ON type (step S11: Yes).
  • step S12 determines whether the compare value Scomp is larger than the carrier wave Scw.
  • step S11 determines whether the conduction type is less than or equal to the carrier wave Scw (step S13). If the conduction control unit 36 determines that the compare value Scomp is not less than or equal to the carrier wave Scw (step S13: No), the process proceeds to step S10.
  • Step S12 determines that the compare value Scomp is larger than the carrier wave Scw (Step S12: Yes), or when it determines that the compare value Scomp is less than or equal to the carrier wave Scw (Step S13: Yes)
  • the conduction control unit 36 switches the section. Execute (step S14).
  • step S14 the conduction control unit 36 ends the process shown in FIG. 17.
  • step S11 it is determined in step S11 whether the conduction type indicated by the conduction type information is the peak ON type.
  • the conduction control unit 36 moves the process to step S12, and when the conduction type is the valley ON type, the process moves to step S13.
  • the second switching compensation method is to delay the section switching timing until a predetermined timing without comparing the compare value Scomp with the carrier wave Scw. Suppresses positive current in current or PWM controlled low-side conduction phase. Since the second switching compensation method does not compare the compare value Scomp and the carrier wave Scw, it is possible to reduce the processing load on the section switching compensation unit 41 compared to the first switching compensation method. Note that in the first switching compensation method, the section switching timing can be brought forward compared to the second switching compensation method.
  • the predetermined timing differs depending on the combination of the control type and conductivity type indicated by the control type information and conduction type information output from the setting unit 35. For example, if the control type is High-side PWM control type or Both-side PWM control type, and if the conduction type is valley ON type, the predetermined timing is the timing at the valley position of the carrier wave Scw, If the type is the peak ON type, this is the timing when the carrier wave Scw is at the peak position.
  • the predetermined timing is the timing at which the carrier wave Scw reaches the peak position when the control type is the Low-side PWM control type, when the conduction type is the valley ON type, and when the conduction type is the peak ON type. If there is, it is the timing at which the carrier wave Scw is at its trough.
  • the section switching compensating section 41 transmits the section switching request to the conduction switching section 40 without delaying the section switching timing. Output.
  • the section switching compensation unit 41 starts monitoring the carrier wave Scw when a section switching request is output from the section determining unit 34.
  • the section switching compensation unit 41 outputs a section switching request to the continuity switching unit 40 at the timing of the valley position of the carrier wave Scw. do.
  • the section switching compensator 41 includes information on the section to be switched at the timing of the peak position of the carrier wave Scw. A section switching request is output to the conduction switching unit 40.
  • the conduction switching unit 40 receives a section switching request output from the section switching compensation unit 41, a compare value Scomp obtained from the duty value Sduty output from the duty calculation unit 32, and a carrier wave Scw output from the carrier generation unit 33. , section switching is performed based on the conduction type information and control type information output from the setting unit 35.
  • FIG. 18 is a diagram showing an example of control of the inverter circuit 10 using the second switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 waits until the position of the trough of the carrier wave Scw is reached. Then, the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40 at the timing of the valley position of the carrier wave Scw.
  • the timing of switching from section 5 to section 0 is delayed until the timing at which the upper arm 111 of the U phase, which is the conducting phase subjected to PWM control, is turned on. Therefore, when switching from section 5 to section 0, the upper arm 111 of the U phase, which is the high-side conduction phase, is on, and the negative current in high-side conduction is suppressed.
  • FIG. 19 is a flowchart showing an example of control of the inverter circuit 10 using the second switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 18 is an example where the control type is High-side PWM control type or Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the conduction control unit 36 monitors the carrier wave Scw (step S20). Next, the conduction control unit 36 determines whether the conduction type indicated by the conduction type information output from the setting unit 35 is the valley ON type (step S21).
  • step S21 determines whether the conduction type is the valley ON type (step S21: Yes).
  • step S22 determines whether the timing of the valley position of the carrier wave Scw has arrived.
  • step S21: No the conduction control unit 36 determines whether the timing of the peak position of the carrier wave Scw has arrived.
  • step S23 determines that the timing of the peak position of the carrier wave Scw has not arrived.
  • step S24 the conduction control unit 36 ends the process shown in FIG. 19.
  • step S21 it is determined in step S21 whether the conduction type indicated by the conduction type information is the peak ON type.
  • the conduction control unit 36 moves the process to step S22, and when the conduction type is the valley ON type, the process moves to step S23.
  • the third switching compensation method is to forcibly turn on the above-mentioned target arm until a predetermined timing based on the comparison result between the compare value Scomp and the carrier wave Scw. Suppresses the negative current in the conduction phase or the positive current in the PWM controlled low-side conduction phase.
  • the predetermined timing differs depending on the combination of control type and conduction type indicated by the control type information and conduction type information output from the setting unit 35.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the conduction type is the valley ON type
  • the predetermined timing is the timing at which the carrier wave Scw reaches the valley position or the timing when the compare value Scomp becomes larger than the carrier wave Scw
  • the conduction type is the peak ON type.
  • this is the timing at which the carrier wave Scw reaches the peak position or the timing at which the compare value Scomp becomes less than or equal to the carrier wave Scw.
  • control type is a Low-side PWM control type.
  • the conduction type is the peak ON type
  • this is the timing at which the carrier wave Scw reaches the valley position or the timing when the compare value Sccomp becomes larger than the carrier wave Scw
  • the conduction type is the valley ON type
  • the carrier wave Scw This is the timing at which the peak of Scw is reached or the timing at which the compare value Scomp becomes equal to or less than the carrier wave Scw.
  • the section switching compensation unit 41 monitors the carrier wave Scw when a section switching request is output from the section determining unit 34.
  • the section switching compensation unit 41 determines the control type and conduction type indicated by the control type information and conduction type information output from the setting unit 35.
  • the control type is a High-side PWM control type or a Both-side PWM control type
  • the conduction type is a valley ON type
  • Scomp ⁇ Scw the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and also performs forced on control, which is control for forcibly turning on the target arm until it reaches the trough position of the carrier wave Scw.
  • the conduction switching unit 40 is caused to execute the process.
  • the control type is a High-side PWM control type or a Both-side PWM control type
  • the conduction type is a mountain ON type, and Scomp>Scw.
  • the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, for example, and causes the conduction switching unit 40 to perform forced-on control until the peak of the carrier wave Scw is reached.
  • the control type is a Low-side PWM control type
  • the conduction type is a peak ON type
  • Scomp ⁇ Scw the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and also performs forced on control, which is control for forcibly turning on the target arm until it reaches the trough position of the carrier wave Scw.
  • the conduction switching unit 40 is caused to execute the process.
  • the control type is a Low-side PWM control type
  • the conduction type is a valley ON type
  • Scomp>Scw the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, for example, and causes the conduction switching unit 40 to perform forced-on control until the peak of the carrier wave Scw is reached.
  • the section switching compensation unit 41 causes the conduction switching unit 40 to cancel the forced-on control.
  • the section switching compensation unit 41 causes the conduction switching unit 40 to release the forced on control at the timing of the valley position of the carrier wave Scw.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced on control at the timing of the peak position of the carrier wave Scw.
  • the section switching compensating section 41 outputs the section switching request without causing the conduction switching section 40 to execute the above-described forced on control. is output to the conduction switching section 40.
  • the conduction switching unit 40 receives a section switching request output from the section switching compensation unit 41, a compare value Scomp obtained from the duty value Sduty output from the duty calculation unit 32, and a carrier wave Scw output from the carrier generation unit 33. , section switching is performed based on the conduction type information and control type information output from the setting unit 35.
  • FIG. 20 is a diagram showing an example of control of the inverter circuit 10 using the third switching compensation method in the conduction control section 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 When the section switching request is output from the section determining unit 34, if Scomp ⁇ Scw, the section switching compensation unit 41 outputs the section switching request to the conduction switching unit 40, and also outputs the section switching request to the conduction switching unit 40, and also outputs the section switching request to the continuity switching unit 40, and also outputs the section switching request to the continuity switching unit 40, and also outputs the section switching request to the continuity switching unit 40, and also outputs the section switching request to the continuity switching unit 40, The conduction switching unit 40 is caused to execute control to forcibly turn on the U-phase upper arm 111 until the U-phase is turned on.
  • the U-phase upper arm 111 is forcibly turned on until the timing of the trough position of the carrier wave Scw is reached. Therefore, when switching from section 5 to section 0, the upper arm 111 of the U phase, which is the high-side conduction phase, is on, and the negative current in the high-side conduction phase is suppressed.
  • FIG. 21 is a flowchart showing an example of control of the inverter circuit 10 using the third switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 21 is an example where the control type is High-side PWM control type or Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the conduction control unit 36 monitors the carrier wave Scw (step S30). Next, the conduction control unit 36 determines whether the conduction type indicated by the conduction type information output from the setting unit 35 is the valley ON type (step S31).
  • step S31 determines whether Scomp>Scw (step S32).
  • step S32 determines whether Scomp>Scw is not satisfied (step S32: No)
  • step S34 performs forced on processing (step S34).
  • the process in step S34 is the process in steps S40 to S45 shown in FIG. 22, and will be described in detail later.
  • step S31: No When determining that the conduction type is not the valley ON type but the peak ON type (step S31: No), the conduction control unit 36 determines whether or not Scomp ⁇ Scw (step S33). When the conduction control unit 36 determines that Scomp ⁇ Scw is not satisfied (step S33: No), the process proceeds to step S34.
  • step S32: Yes determines that Scomp>Scw (step S32: Yes). Further, when the conduction control unit 36 determines that Scomp ⁇ Scw (step S33: Yes), it executes section switching (step S36). When the process of steps S34 to S36 is completed, the conduction control unit 36 ends the process shown in FIG. 21.
  • FIG. 22 is a flowchart illustrating an example of forced-on processing in the conduction control section of the motor control device according to the embodiment. As shown in FIG. 22, the conduction control unit 36 forcibly turns on the target arm and executes section switching (step S40).
  • the conduction control unit 36 monitors the carrier wave Scw (step S41). Then, the conduction control unit 36 determines whether the conduction type indicated by the conduction type information output from the setting unit 35 is the valley ON type (step S42).
  • step S42 determines whether the conduction control unit 36 determines whether the timing of the valley position of the carrier wave Scw has come, that is, whether the valley of the carrier wave Scw has been reached. is determined (step S43).
  • step S43 determines that the carrier wave Scw has not reached the valley.
  • step S42 determines whether the conduction type is not the valley ON type but the peak ON type.
  • step S44 determines whether the timing of the peak position of the carrier wave Scw has come, that is, at the peak position of the carrier wave Scw. It is determined whether it has been reached (step S44).
  • step S44 determines that the peak of the carrier wave Scw has not been reached.
  • step S43: Yes the conduction control unit 36 determines that the carrier wave Scw has reached the valley (step S43: Yes) or has reached the peak of the carrier wave Scw (step S44: Yes)
  • step S45 the conduction control unit 36 releases the forced on of the target arm. The process to do so is executed (step S45).
  • step S45 the conduction control unit 36 ends the process shown in FIG. 22.
  • step S31 it is determined in step S31 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S32, and when the conduction type is the valley ON type, the process moves to step S33.
  • step S42 it is determined in step S42 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S32, and when the conduction type is the valley ON type, the process moves to step S33.
  • the fourth switching compensation method is to forcibly turn on the above-mentioned target arm until the timing of the valley or peak of the carrier wave Scw without comparing the compare value Scomp with the carrier wave Scw. Suppresses the negative current in the side conduction phase or the positive current in the PWM-controlled low-side conduction phase. Since the fourth switching compensation method does not compare the compare value Scomp and the carrier wave Scw, it is possible to reduce the processing load on the section switching compensation unit 41 compared to the third switching compensation method.
  • the section switching compensation unit 41 When a section switching request is output from the section determining unit 34, the section switching compensation unit 41 outputs the section switching request to the conduction switching unit 40, and also performs forced-on control, which is control for forcibly turning on the target arm.
  • the conduction switching unit 40 is caused to execute the process.
  • the section switching compensator 41 monitors the carrier wave Scw.
  • the section switching compensator 41 determines the control type and conduction type indicated by the control type information and the conduction type information.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the section switching compensation unit 41 causes the conduction switching unit 40 to continue the forced on control until the timing of the valley position of the carrier wave Scw is reached, and if the conduction type is the peak ON type. If so, the forced ON control is caused to continue by the conduction switching unit 40 until the timing of the peak position of the carrier wave Scw is reached.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced on control at the timing of the valley position of the carrier wave Scw, and if the conduction type is the peak ON type, For example, at the timing of the peak position of the carrier wave Scw, the forced on control is caused to be canceled by the conduction switching unit 40.
  • control type is a Low-side PWM control type.
  • the section switching compensator 41 causes the conduction switching unit 40 to continue forced-on control until the timing of the peak position of the carrier wave Scw, and if the conduction type is the peak ON type. If so, the forced on control is caused to continue by the conduction switching unit 40 until the timing of the valley position of the carrier wave Scw is reached.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced on control at the timing of the peak position of the carrier wave Scw, and if the conduction type is the peak ON type, For example, at the timing of the valley position of the carrier wave Scw, the forced on control is caused to be canceled by the conduction switching unit 40.
  • the section switching compensation unit 41 switches the section without causing the conduction switching unit 40 to execute the forced-on control described above.
  • the request is output to the conduction switching section 40.
  • FIG. 23 is a diagram showing an example of control of the inverter circuit 10 using the fourth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 23 is started when a section switching request is output from the section determining unit 34.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 When a section switching request is output from the section determining unit 34, the section switching compensation unit 41 forcibly turns on the upper arm 111 of the U phase from the section switching timing to the timing of the valley position of the carrier wave Scw.
  • the conduction switching unit 40 is caused to perform control to cause
  • the U-phase upper arm 111 is forcibly turned on until the timing of the trough of the carrier wave Scw is reached. Therefore, when switching from section 5 to section 0, the upper arm 111 of the U phase, which is the high-side conduction phase, is on, and the negative current in the high-side conduction phase is suppressed.
  • FIG. 24 is a flowchart showing an example of control of the inverter circuit 10 using the fourth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 24 is an example when the control type is a High-side PWM control type or a Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the conduction control section 36 when a section switching request is output from the section determining section 34, the conduction control section 36 forcibly turns on the target arm and executes section switching (step S50). The conduction control unit 36 then monitors the carrier wave Scw (step S51).
  • the conduction control unit 36 determines whether the conduction type indicated by the conduction type information output from the setting unit 35 is the valley ON type (step S52). When the conduction control unit 36 determines that the conduction type is the valley ON type (step S52: Yes), it determines whether the carrier wave Scw has reached the valley (step S53). When the conduction control unit 36 determines that the carrier wave Scw has not reached the valley (step S53: No), the process moves to step S51.
  • step S52 determines whether the conduction type is determined to be the peak ON type rather than the valley ON type (step S52: No). If the conduction type is determined to be the peak ON type rather than the valley ON type (step S52: No), the conduction control unit 36 determines whether the peak of the carrier wave Scw has been reached (step S54). When the conduction control unit 36 determines that the peak of the carrier wave Scw has not been reached (step S54: No), the process moves to step S51.
  • step S53 When determining that the carrier wave Scw has reached the valley (step S53: Yes) or when determining that the carrier wave Scw has reached the peak (step S54: Yes), the conduction control unit 36 releases the forced on of the target arm. (Step S55). When the process of step S55 is completed, the conduction control unit 36 ends the process shown in FIG. 24.
  • step S52 it is determined in step S52 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S53, and when the conduction type is the valley ON type, the process moves to step S54.
  • the fifth switching compensation method is based on the comparison result between the compare value Scomp and the carrier wave Scw, and the above-mentioned target arm is forcibly turned off until a predetermined timing to switch off the conduction phase that is the target of PWM control. By making it non-conductive, the negative current in the high-side conduction phase or the positive current in the PWM-controlled low-side conduction phase is suppressed during section switching.
  • the predetermined timing differs depending on the combination of control type and conduction type indicated by the control type information and conduction type information output from the setting unit 35.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the conduction type is the valley ON type
  • the predetermined timing is the timing at which the carrier wave Scw reaches the valley position or the timing when the compare value Scomp becomes larger than the carrier wave Scw
  • the conduction type is the peak ON type.
  • this is the timing at which the carrier wave Scw reaches a peak position or the timing at which the compare value Scomp becomes less than or equal to the carrier wave Scw.
  • the control type is a Low-side PWM control type.
  • the conduction type is the peak ON type
  • the predetermined timing is the timing at which the carrier wave Scw reaches the valley position or the timing when the compare value Scomp becomes larger than the carrier wave Scw
  • the conduction type is the valley ON type. In the case of a type, this is the timing at which the carrier wave Scw reaches a peak position or the timing at which the compare value Scomp becomes less than or equal to the carrier wave Scw.
  • the section switching compensation unit 41 monitors the carrier wave Scw when a section switching request is output from the section determining unit 34.
  • the section switching compensation unit 41 determines the control type and conduction type indicated by the control type information and conduction type information output from the setting unit 35.
  • the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and also performs forced off control, which is control for forcibly turning off the target arm, based on the comparison result between the compare value Scomp and the carrier wave Scw.
  • the conduction switching section 40 is caused to perform the switching until a predetermined timing.
  • the control type is a High-side PWM control type or a Both-side PWM control type
  • the conduction type is a valley ON type
  • Scomp ⁇ Scw the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and performs forced off control, which is control for forcibly turning off the target arm until the carrier wave Scw reaches the trough, for example, to switch the conduction to the forced off control. 40.
  • the control type is a High-side PWM control type or a Both-side PWM control type
  • the conduction type is a mountain ON type, and Scomp>Scw.
  • the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and causes the conduction switching unit 40 to perform forced off control until the carrier wave Scw reaches a peak.
  • the control type is a Low-side PWM control type
  • the conduction type is a peak ON type
  • Scomp ⁇ Scw the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and performs forced on control, which is control for forcibly turning on the target arm until the carrier wave Scw reaches the valley, to switch the conduction to the conduction state. 40.
  • control type is a Low-side PWM control type
  • conduction type is a valley ON type
  • Scomp>Scw the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40, and causes the conduction switching unit 40 to perform forced-on control until the carrier wave Scw reaches a peak.
  • the section switching compensation unit 41 causes the conduction switching unit 40 to cancel the forced off control.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced OFF control at the timing of the valley position of the carrier wave Scw, and if the conduction type is the peak ON type, If there is, the forced off control is caused to be canceled by the conduction switching unit 40 at the timing of the peak position of the carrier wave Scw.
  • control type is a Low-side PWM control type.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced OFF control at the timing of the valley position of the carrier wave Scw, and if the conduction type is the valley ON type, If there is, the forced off control is caused to be canceled by the conduction switching unit 40 at the timing of the peak position of the carrier wave Scw.
  • the section switching compensating unit 41 outputs the section switching request without causing the conduction switching unit 40 to execute the forced off control described above. is output to the conduction switching section 40.
  • the conduction switching unit 40 receives a section switching request output from the section switching compensation unit 41, a compare value Scomp obtained from the duty value Sduty output from the duty calculation unit 32, and a carrier wave Scw output from the carrier generation unit 33. , section switching is performed based on the conduction type information and control type information output from the setting unit 35.
  • FIG. 25 is a diagram showing an example of control of the inverter circuit 10 using the fifth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 When the section switching request is output from the section determining unit 34, if Scomp ⁇ Scw, the section switching compensation unit 41 outputs the section switching request to the conduction switching unit 40, and also outputs the section switching request to the conduction switching unit 40, and also outputs the section switching request to the continuity switching unit 40, and also outputs the section switching request to the continuity switching unit 40, and also outputs the section switching request to the continuity switching unit 40, and also outputs the section switching request to the continuity switching unit 40, The conduction switching unit 40 is caused to execute control for forcibly turning off the U-phase upper arm 11 1 and lower arm 12 1 until the U-phase is reached.
  • the U-phase upper arm 11 1 and lower arm 12 1 are forcibly turned off until the timing of the valley position of the carrier wave Scw is reached. Therefore, when switching from section 5 to section 0, the upper arm 11 1 and lower arm 12 1 of the U phase, which is the high-side conduction phase, are off, and the negative current in the high-side conduction phase is suppressed.
  • FIG. 26 is a flowchart showing an example of control of the inverter circuit 10 using the fifth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 26 is started when a section switching request is output from the section determining unit 34.
  • the processing in steps S60 to S63, S65, and S66 shown in FIG. 26 is the same as the processing in steps S30 to S33, S35, and S36 shown in FIG. 21, so the description thereof will be omitted.
  • step S62 when the conduction control unit 36 determines that Scomp>Scw is not satisfied (step S62: No) or when it is determined that Scomp ⁇ Scw is not satisfied (step S63: No), the conduction control unit 36 executes the forced off process. (Step S64).
  • the process in step S64 is the process in steps S70 to S75 shown in FIG. 27, and will be described in detail later.
  • FIG. 27 is a flowchart illustrating an example of forced off processing in the conduction control section of the motor control device according to the embodiment.
  • the process shown in FIG. 27 is an example when the control type is High-side PWM control type or Both-side PWM control type.
  • the processing in steps S71 to S74 shown in FIG. 27 is the same as the processing in steps S41 to S44 shown in FIG. 22, so a description thereof will be omitted.
  • the conduction control unit 36 forcibly turns off the target arm and executes section switching (step S70).
  • step S73 when determining that the carrier wave Scw has reached the valley (step S73: Yes) or when determining that the carrier wave Scw has reached the peak (step S74: Yes), the conduction control unit 36 forcibly turns off the target arm.
  • step S75 A process for canceling is executed (step S75). When the process of step S75 is completed, the conduction control unit 36 ends the process shown in FIG. 27.
  • step S72 it is determined in step S72 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S73, and when the conduction type is the valley ON type, the process moves to step S74.
  • the sixth switching compensation method is to forcibly turn off the target arm described above until the timing of the valley or peak of the carrier wave Scw and make it non-conductive, without comparing the compare value Scomp and the carrier wave Scw. At the time of switching, the negative current in the high-side conduction phase or the positive current in the PWM-controlled low-side conduction phase is suppressed. Since the sixth switching compensation method does not compare the compare value Scomp and the carrier wave Scw, it is possible to reduce the processing load on the section switching compensation unit 41 compared to the fifth switching compensation method.
  • the section switching compensation unit 41 When a section switching request is output from the continuity switching unit 40, the section switching compensation unit 41 outputs the section switching request to the continuity switching unit 40, and also performs forced off control, which is control for forcibly turning off the target arm.
  • the conduction switching unit 40 is caused to execute the process.
  • the section switching compensator 41 monitors the carrier wave Scw.
  • the section switching compensation unit 41 determines the control type and conduction type indicated by the control type information and conduction type information output from the setting unit 35.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the section switching compensator 41 causes the conduction switching unit 40 to continue the forced off control until the timing of the valley position of the carrier wave Scw is reached, and if the conduction type is the peak ON type. If so, the forced off control is caused to continue by the conduction switching unit 40 until the timing of the peak position of the carrier wave Scw is reached.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced OFF control at the timing of the valley position of the carrier wave Scw, and if the conduction type is the peak ON type, For example, at the timing of the peak position of the carrier wave Scw, the forced off control is caused to be canceled by the conduction switching unit 40.
  • control type is a Low-side PWM control type.
  • the section switching compensation unit 41 causes the conduction switching unit 40 to continue the forced OFF control until the timing of the valley position of the carrier wave Scw is reached, and if the conduction type is the valley ON type. If so, the forced off control is caused to continue by the conduction switching unit 40 until the timing of the peak position of the carrier wave Scw is reached.
  • the section switching compensator 41 causes the conduction switching unit 40 to release the forced OFF control at the timing of the valley position of the carrier wave Scw, and if the conduction type is the valley ON type, For example, at the timing of the peak position of the carrier wave Scw, the forced off control is caused to be canceled by the conduction switching unit 40.
  • the section switching compensation unit 41 switches the section without causing the conduction switching unit 40 to execute the forced-off control described above.
  • the request is output to the conduction switching section 40.
  • FIG. 28 is a diagram showing an example of control of the inverter circuit 10 using the sixth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensator 41 controls the upper arm 11 1 and the lower arm 12 1 of the U phase from the section switching timing to the timing of the valley position of the carrier wave Scw.
  • the conduction switching unit 40 is caused to execute control for forcibly turning off the switch.
  • the U-phase upper arm 11 1 and lower arm 12 1 are forcibly turned off until the timing of the trough of the carrier wave Scw is reached. Therefore, when switching from section 5 to section 0, the upper arm 11 1 and lower arm 12 1 of the U phase, which is the high-side conduction phase, are off, and the negative current in the high-side conduction phase is suppressed. .
  • FIG. 29 is a flowchart showing an example of control of the inverter circuit 10 using the sixth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 29 is an example when the control type is a High-side PWM control type or a Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the processing in steps S81 to S84 shown in FIG. 29 is the same as the processing in steps S51 to S54 shown in FIG. 24, and a description thereof will be omitted.
  • the conduction control section 36 forcibly turns off the target arm and executes section switching (step S80).
  • the conduction control unit 36 then monitors the carrier wave Scw (step S81).
  • step S83: Yes when determining that the carrier wave Scw has reached the valley (step S83: Yes) or when determining that the carrier wave Scw has reached the peak (step S84: Yes), the conduction control unit 36 forcibly turns off the target arm. is released (step S85). When the process of step S85 is completed, the conduction control unit 36 ends the process shown in FIG. 29.
  • step S82 it is determined in step S82 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S83, and when the conduction type is the valley ON type, the process moves to step S84.
  • the seventh switching compensation method is to switch the conduction type when a predetermined conduction type switching condition is satisfied based on the comparison result between the compare value Scomp and the carrier wave Scw.
  • the negative current in the PWM controlled low-side conduction phase is suppressed.
  • To switch the conduction type for example, if the conduction type in the section before switching is the valley ON type, the conduction type in the section to be switched is changed to the mountain ON type, and the conduction type in the section before switching is changed to the mountain ON type. If it is an ON type, this is done by changing the conduction type in the switching destination section to a valley ON type.
  • the section switching compensation unit 41 monitors the carrier wave Scw when a section switching request is output from the section determining unit 34.
  • the section switching compensation unit 41 determines the control type indicated by the control type information output from the setting unit 35 and the conduction type in the section before switching.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the section switching compensator 41 determines whether Scomp ⁇ Scw, and determines whether the conduction type in the section before switching is the peak ON type. If so, it is determined whether Scomp>Scw.
  • control type is a Low-side PWM control type.
  • the section switching compensation unit 41 determines whether Scomp ⁇ Scw, and the conduction type in the section before switching is the valley ON type. If so, it is determined whether Scomp>Scw.
  • the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40 based on the determination result of the conduction type in the section before switching and the comparison result between the compare value Scomp and the carrier wave Scw.
  • the conduction switching unit 40 receives a section switching request output from the section switching compensation unit 41, a compare value Scomp obtained from the duty value Sduty output from the duty calculation unit 32, and a carrier wave Scw output from the carrier generation unit 33. , section switching is performed based on the conduction type information and control type information output from the setting unit 35.
  • the control type is the High-side PWM control type or the Both-side PWM control type
  • the conduction type in the section before switching is the valley ON type.
  • the section switching compensation unit 41 issues a section switching request that includes information indicating the switching destination section and information indicating that the conduction type in the switching destination section is the peak ON type. It is output to the conduction switching section 40.
  • the conduction switching unit 40 converts a value obtained by inverting the compare value Scomp when the conduction type is the valley ON type, that is, a value obtained by inverting the duty value Sduty output from the duty calculation unit 32 into the compare value Scomp. Section switching is performed by changing the conduction type from the valley ON type to the peak ON type.
  • the control type is the High-side PWM control type or the Both-side PWM control type
  • the conduction type in the section before switching is the mountain ON type.
  • the section switching compensation unit 41 issues a section switching request including information indicating the switching destination section and information indicating that the conduction type in the switching destination section is the valley ON type. It is output to the conduction switching section 40.
  • the conduction switching unit 40 uses, as the compare value Scomp, a value obtained by inverting the compare value Scomp for the conduction type compared to the peak ON type, that is, the duty value Sduty output from the duty calculation unit 32. Change from the mountain ON type to the valley ON type and execute section switching.
  • the control type is the Low-side PWM control type
  • the conduction type in the section before switching is the valley ON type.
  • the section switching compensation unit 41 issues a section switching request that includes information indicating the switching destination section and information indicating that the conduction type in the switching destination section is the peak ON type. It is output to the conduction switching section 40.
  • the conduction switching unit 40 uses the inverted value of the compare value Scomp when the conduction type is the valley ON type, that is, the duty value Sduty output from the duty calculation unit 32, as the compare value Scomp, and Change the section from the valley ON type to the mountain ON type and execute section switching.
  • the control type is the Low-side PWM control type
  • the conduction type in the section before switching is the peak ON type.
  • the section switching compensation unit 41 issues a section switching request that includes information indicating the switching destination section and information indicating that the conduction type in the switching destination section is the valley ON type. It is output to the conduction switching section 40.
  • the conduction switching unit 40 uses a value obtained by inverting the compare value Scomp for the conduction type compared to the mountain ON type, that is, a value obtained by inverting the duty value Sduty output from the duty calculation unit 32 as the compare value Scomp. section switching is performed by changing the conduction type from the peak ON type to the valley ON type.
  • section switching compensation unit 41 does not cause the conduction switching unit 40 to perform conduction type switching if the above-mentioned conduction type switching conditions are not satisfied.
  • FIG. 30 is a diagram showing an example of control of the inverter circuit 10 using the seventh switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 When a section switching request is output from the section determining unit 34, the section switching compensation unit 41 outputs a section switching request to the conduction switching unit 40 if Scomp ⁇ Scw.
  • the section switching request includes information indicating the switching destination section and information indicating that the conduction type in the switching destination section is the peak ON type.
  • FIG. 31 is a flowchart showing an example of control of the inverter circuit 10 using the seventh switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 31 is an example when the control type is a High-side PWM control type or a Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the processing in steps S90 to S93 and S95 shown in FIG. 31 is the same as the processing in steps S30 to S33 and S35 shown in FIG. 21, and a description thereof will be omitted.
  • step S92 when the conduction control unit 36 determines that Scomp>Scw is not satisfied (step S92: No), or when it is determined that Scomp ⁇ Scw is not satisfied (step S93: No), the conduction type is switched. (Step S94).
  • step S94 if the conduction type in the section before switching is the valley ON type, the conduction control unit 36 switches the conduction type in the switching destination section to the peak ON type. Further, in the process of step S94, if the conduction type in the section before switching is the peak ON type, the conduction control unit 36 switches the conduction type in the switching destination section to the valley ON type. Further, when the conduction type is switched, the conduction control unit 36 uses a value obtained by inverting the compare value Scomp before the conduction type is switched, as the compare value Scomp after the conduction type is switched.
  • step S91 it is determined in step S91 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S92, and when the conduction type is the valley ON type, the process moves to step S93.
  • the eighth switching compensation method suppresses the negative current in the high-side conduction phase or the positive current in the PWM-controlled low-side conduction phase during section switching by resetting the carrier wave Scw.
  • the section switching compensating unit 41 When a section switching request is output from the section determining unit 34, the section switching compensating unit 41 initializes the value of the counter of the carrier wave generating unit 33 to reset the carrier wave Scw, and outputs a section switching request to the conduction switching unit 40. do.
  • the control type is a High-side PWM control type or a Both-side PWM control type.
  • the section switching compensation unit 41 sets the value of the counter of the carrier wave generation unit 33 to the value of the valley position of the carrier wave Scw (for example, 0), and if the conduction type is the valley ON type, If it is an ON type, the value of the counter of the carrier wave generation unit 33 is set to the value of the peak position of the carrier wave Scw.
  • control type is a Low-side PWM control type.
  • the section switching compensator 41 sets the value of the counter of the carrier wave generation unit 33 to the value of the valley position of the carrier wave Scw (for example, 0), If it is an ON type, the value of the counter of the carrier wave generation unit 33 is set to the value of the peak position of the carrier wave Scw.
  • the conduction switching unit 40 receives a section switching request output from the section switching compensation unit 41, a compare value Scomp obtained from the duty value Sduty output from the duty calculation unit 32, and a carrier wave Scw output from the carrier generation unit 33. , section switching is performed based on the conduction type information and control type information output from the setting unit 35.
  • FIG. 32 is a diagram showing an example of control of the inverter circuit 10 using the eighth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, valley ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensating unit 41 sets the value of the counter of the carrier wave generating unit 33 to the value of the valley position of the carrier wave Scw (for example, 0), and Reset.
  • the timing of switching from section 5 to section 0 is at the trough of the carrier wave Scw.
  • the upper arm 111 of the U phase which is the high-side conduction phase, is on, and the negative current in the high-side conduction phase is suppressed.
  • FIG. 33 is a diagram showing another example of control of the inverter circuit 10 using the eighth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the control type, conduction type, and energization method are High-side PWM control type, mountain ON type, and 120 degree energization method, and the state before and after switching from section 5 to section 0 is shown. There is.
  • the section switching compensation unit 41 sets the value of the counter of the carrier wave generating unit 33 to the value of the peak position of the carrier wave Scw and resets the carrier wave Scw.
  • the timing of switching from section 5 to section 0 is at the trough of the carrier wave Scw.
  • the upper arm 111 of the U phase which is the high-side conduction phase, is on, and the negative current in the high-side conduction phase is suppressed.
  • FIG. 34 is a flowchart showing an example of control of the inverter circuit 10 using the eighth switching compensation method in the conduction control unit 36 of the motor control device 1 according to the embodiment.
  • the process shown in FIG. 34 is an example where the control type is High-side PWM control type or Both-side PWM control type, and is started when a section switching request is output from the section determining unit 34.
  • the conduction control section 36 determines whether the conduction type indicated by the conduction type information output from the setting section 35 is the valley ON type. (Step S100). When the conduction control unit 36 determines that the conduction type is the valley ON type (step S100: Yes), the conduction control unit 36 sets the value of the counter of the carrier wave generation unit 33 to the value of the valley position of the carrier wave Scw, and resets the carrier wave Scw. (Step S101).
  • the conduction control unit 36 sets the value of the counter of the carrier wave generation unit 33 to the value of the peak position of the carrier wave Scw.
  • the carrier wave Scw is set and reset (step S102).
  • step S101 When the process in step S101 is completed or the process in step S102 is completed, the conduction control unit 36 executes section switching (step S103). When the process of step S103 is completed, the conduction control unit 36 ends the process shown in FIG. 34.
  • step S100 it is determined in step S100 whether the conduction type indicated by the conduction type information output from the setting unit 35 is the peak ON type.
  • the conduction control unit 36 moves the process to step S101, and when the conduction type is the peak ON type, the process moves to step S102.
  • the conduction control unit 36 can suppress negative current from flowing from the High-side conduction phase among the plurality of conduction phases when switching sections, and the output of the motor 2 can be suppressed. A decrease in torque can be suppressed.
  • FIG. 35 shows the U-phase voltage, U-phase current, and output torque before and after switching from section 5 to section 0 when section switching compensation is performed by the section switching compensation unit 41 in the motor control device 1 according to the embodiment. It is a diagram.
  • the conduction type, control type, and energization method are a valley ON type, a high-side PWM control type, and a 120-degree energization method.
  • the horizontal axes of the two graphs are time
  • the vertical axes of the two graphs are the U-phase voltage and U-phase current.
  • the motor control device 1 can suppress the flow of negative current in the high-side conduction phase, and can suppress a decrease in the output torque of the motor 2.
  • FIG. 36 is a diagram showing an example of the hardware configuration of the control unit 30 of the motor control device 1 according to the embodiment.
  • the control unit 30 includes a computer including a processor 101, a memory 102, an input/output unit 103, and a bus 104.
  • the processor 101, memory 102, and input/output unit 103 can exchange information with each other via a bus 104.
  • the processor 101 executes the functions of the control unit 30 by reading and executing the motor control program stored in the memory 102.
  • the processor 101 is an example of a processing circuit, and includes one or more of a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a system LSI (Large Scale Integration).
  • the memory 102 includes RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), and EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory). one or more of (emory) include.
  • the input/output unit 103 includes, for example, an AD converter, a DA converter, an input/output port, and the like.
  • the motor control device 1 may be configured to include a data reading unit that reads a motor control program from a recording medium on which a computer-readable motor control program is recorded.
  • the processor 101 can control the data reading section to obtain the motor control program recorded on the recording medium from the data reading section, and store the obtained motor control program in the memory 102 .
  • the recording medium includes, for example, one or more of a nonvolatile or volatile semiconductor memory, a magnetic disk, a flexible memory, an optical disk, a compact disk, and a DVD (Digital Versatile Disc).
  • the motor control device 1 may include a communication unit that receives a motor control program from a server via a network.
  • the processor 101 can acquire the motor control program from the server via the communication unit and store the acquired motor control program in the memory 102.
  • control unit 30 may include integrated circuits such as ASIC (Application Specific Integrated Circuit) and FPGA (Field Programmable Gate Array).
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • the motor control device 1 uses a 120-degree energization method in which at least one of the three phases is an energized phase under PWM control and the remaining one phase is a non-energized phase;
  • the motor 2 is controlled by a 180-degree energization method in which at least one phase is an energization phase subjected to PWM control.
  • the motor control device 1 includes an inverter circuit 10, a section determining section 34, and a conduction control section 36.
  • the inverter circuit 10 has an upper arm 11 and a lower arm 12 for each of three phases.
  • the section determining unit 34 determines a section according to the electrical angle of the motor from among a plurality of sections divided into mutually different ranges of the electrical angle of the motor 2 .
  • the conduction control section 36 controls the conduction of the upper arm 11 and the lower arm 12 of the plurality of energized phases in the inverter circuit 10 based on the section determined by the section determination section 34 .
  • the conduction control unit 36 controls a negative current of the current-carrying phase with the highest voltage or a positive current of the current-carrying phase with the lowest voltage among the plurality of current-carrying phases in the switching destination section at the time of switching to the section determined by the section determining unit 34.
  • It includes a section switching compensator 41 that performs processing to suppress current. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections.
  • the continuity control unit 36 turns on and off the upper arm 11 and the lower arm 12 of one or more energized phases among the plurality of energized phases by PWM control, and turns on and off the lower arm of the remaining energized phase among the plurality of energized phases. Control is performed to fix 12 in the on state.
  • the section switching compensator 41 starts the upper arm 11 of one or more energized phases in the switching destination section from an on state as a target arm. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections in High-side PWM control type control.
  • the continuity control unit 36 fixes the upper arm 11 of one or more energized phases among the plurality of energized phases in an on state, and fixes the upper arm 11 and the lower arm of the remaining energized phases among the plurality of energized phases. 12 is turned on and off by PWM control.
  • the section switching compensation unit 41 starts the lower arm 12 of the remaining energized phase in the switching destination section from the ON state as the target arm. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections in low-side PWM control type control.
  • the conduction control unit 36 also turns on and off the upper arm 11 and the lower arm 12 of one or more of the plurality of energized phases by PWM control in which the on ratio of the upper arm 11 is larger than the on ratio of the lower arm 12.
  • the upper arm 11 and lower arm 12 of the remaining energized phases among the plurality of energized phases are controlled by PWM control complementary to the PWM control of one or more energized phases, such that the ON ratio of the upper arm 11 is set to the lower arm 12. It is turned on and off by PWM control smaller than the on-ratio of .
  • the section switching compensator 41 starts the upper arm 11 of one or more energized phases and the lower arm 12 of the remaining energized phases in the switching destination section from an on state as target arms. Thereby, the motor control device 1 is able to suppress a decrease in output torque when switching sections in both-side PWM control type control.
  • the section switching compensation unit 41 causes the target arm in the switching destination section to start from the ON state at the time of switching by delaying the timing of switching to the switching destination section. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections.
  • the section switching compensator 41 forcibly turns on the target arm in the switching destination section until a predetermined timing when the section is switched, thereby turning on the target arm in the switching destination section at the time of section switching. start from.
  • the motor control device 1 can suppress a decrease in output torque when switching sections.
  • the conduction control unit 36 makes the upper arm 11 conductive when the compare value Scomp calculated from the target output torque is higher than the carrier wave Scw, and makes the lower arm 12 conductive when the compare value Scomp is lower than the carrier wave Scw.
  • the section switching compensator 41 inverts the compare value Scomp based on the median value of the carrier wave Scw when switching sections, and changes from the first conduction type to the second conduction type or from the second conduction type to the first conduction type.
  • the valley ON type is an example of the first conduction type
  • the peak ON type is an example of the second conduction type.
  • the conduction control unit 36 makes the lower arm 12 conductive when the compare value Scomp calculated from the target output torque is higher than the carrier wave Scw, and makes the upper arm 11 conductive when the compare value Scomp is lower than the carrier wave Scw.
  • the section switching compensator 41 inverts the compare value Scomp based on the median value of the carrier wave Scw when switching sections, and changes from the first conduction type to the second conduction type or from the second conduction type to the first conduction type.
  • the peak ON type is an example of the first conduction type
  • the valley ON type is an example of the second conduction type.
  • the conduction control unit 36 makes the upper arm 11 conductive when the compare value Scomp calculated from the target output torque is higher than the carrier wave Scw, and makes the lower arm 12 conductive when the compare value Scomp is lower than the carrier wave Scw. Make conductive.
  • the section switching compensator 41 resets the carrier wave Scw to start the carrier wave Scw from the trough position at the time of section switching, thereby starting the target arm in the switching destination section from the on state at the time of section switching. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections.
  • the conduction control unit 36 makes the upper arm 11 conductive when the compare value Scomp calculated from the target output torque is lower than the carrier wave Scw, and makes the lower arm 12 conductive when the compare value Scomp is higher than the carrier wave Scw. Make conductive.
  • the section switching compensator 41 resets the carrier wave Scw to start the carrier wave Scw from the peak position at the time of section switching, thereby starting the target arm in the switching destination section from the on state at the time of section switching. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections.
  • the section switching compensator 41 forcibly renders the energized phase targeted for PWM control among the plurality of energized phases non-conductive until a predetermined timing when switching sections. Thereby, the motor control device 1 can suppress a decrease in output torque when switching sections.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

本開示の一態様によるモータ制御装置は、インバータ回路と、セクション決定部と、導通制御部とを備え、120度通電方式または180度通電方式によってモータを制御する。インバータ回路は、3相の相毎に上アームと下アームとを有する。セクション決定部は、モータの電気角の互いに異なる範囲で区分される複数のセクションのうちモータの電気角に応じたセクションを決定する。導通制御部は、セクション決定部によって決定されたセクションに基づいて、インバータ回路における複数の通電相の上アームおよび下アームの導通を制御する。導通制御部は、セクション決定部によって決定されたセクションへの切り替え時において切り替え先のセクションにおける複数の通電相のうちの電圧が最も高い通電相の負電流または電圧が最も低い通電相の正電流を抑制する処理を行うセクション切り替え補償部を備える。

Description

モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法
 本開示は、モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法に関する。
 本出願は、2022年3月28日に提出された日本特許出願第2022-052562号に基づいている。本出願は、当該出願に対して優先権の利益を主張するものである。その内容全体は、参照されることによって本出願に援用される。
 従来、3相のうち2相を通電相とし残りの1相を無通電相とする120度通電方式または3相を通電相とする180度通電方式によってモータを制御する技術が知られている。例えば、3相における通電相および無通電相が互いに異なる組み合わせの複数のセクションのうちモータの電気角に応じたセクションにおける通電相をPWM(Pulse Width Modulation)制御する技術が知られている(例えば、特許文献1参照)。
国際公開第2020/059111号
 しかしながら、従来の技術では、セクションの切り替え時において出力トルクが低下する可能性がある。
 本開示は、セクションの切り替え時において出力トルクの低下を抑制する技術を提供する。
 本開示の一態様によるモータ制御装置は、3相のうち2相を少なくとも1相がPWM制御される通電相とし残りの1相を無通電相とする120度通電方式または3相を少なくとも1相がPWM制御される通電相とする180度通電方式によってモータを制御するモータ制御装置であって、インバータ回路と、セクション決定部と、導通制御部とを備える。インバータ回路は、3相の相毎に上アームと下アームとを有する。セクション決定部は、モータの電気角の互いに異なる範囲で区分される複数のセクションのうちモータの電気角に応じたセクションを決定する。導通制御部は、セクション決定部によって決定されたセクションに基づいて、インバータ回路における複数の通電相の上アームおよび下アームの導通を制御する。導通制御部は、セクション決定部によって決定されたセクションへの切り替え時において切り替え先のセクションにおける複数の通電相のうちの電圧が最も高い通電相の負電流または電圧が最も低い通電相の正電流を抑制する処理を行うセクション切り替え補償部を備える。
 本開示によれば、セクションの切り替え時において出力トルクの低下を抑制することができる。
図1は、実施形態に係るモータモジュールの構成の一例を示す図である。 図2は、実施形態1に係るモータ制御装置におけるインバータ回路の構成の一例を示す図である。 図3は、実施形態に係るモータ制御装置における120度通電方式の各セクションにおける各相の状態を示す図である。 図4は、実施形態に係るモータ制御装置における180度通電方式の各セクションにおける各相の状態を示す図である。 図5は、実施形態に係るモータ制御装置で用いられる導通型が谷ON型である場合の制御の一例を示す図である。 図6は、実施形態に係るモータ制御装置で用いられる導通型が山ON型である場合の制御の一例を示す図である。 図7は、実施形態に係るモータ制御装置における120度通電方式且つHigh-sidePWM制御型によるインバータ回路の制御の一例を示す図である。 図8は、実施形態に係るモータ制御装置における120度通電方式且つHigh-sidePWM制御型によるインバータ回路の制御の他の例を示す図である。 図9は、実施形態に係るモータ制御装置における120度通電方式且つLow-sidePWM制御型によるインバータ回路の制御の一例を示す図である。 図10は、実施形態に係るモータ制御装置における120度通電方式且つLow-sidePWM制御型によるインバータ回路の制御の他の例を示す図である。 図11は、実施形態に係るモータ制御装置における120度通電方式且つBoth-sidePWM制御型によるインバータ回路の制御の一例を示す図である。 図12は、実施形態に係るモータ制御装置における120度通電方式且つBoth-sidePWM制御型によるインバータ回路の制御の他の例を示す図である。 図13は、実施形態に係るモータ制御装置においてセクション切り替え補償を行わない場合のセクション5からセクション0への切り替え前後の各相の上下アームのオンオフ状態の一例を示す図である。 図14は、実施形態に係るモータ制御装置においてセクション切り替え補償部によるセクション切り替え補償が行われない場合のセクション5からセクション0への切り替え前後の各相の上下アームのオンオフ状態の他の例を示す図である。 図15は、実施形態に係るモータ制御装置においてセクション切り替え補償部によるセクション切り替え補償が行われない場合のセクション5からセクション0への切り替え前後のU相電圧、U相電流、および出力トルクを示す図である。 図16は、実施形態に係るモータ制御装置の導通制御部における第1切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図17は、実施形態に係るモータ制御装置の導通制御部における第1切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図18は、実施形態に係るモータ制御装置の導通制御部における第2切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図19は、実施形態に係るモータ制御装置の導通制御部における第2切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図20は、実施形態に係るモータ制御装置の導通制御部における第3切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図21は、実施形態に係るモータ制御装置の導通制御部における第3切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図22は、実施形態に係るモータ制御装置の導通制御部における強制オン処理の一例を示すフローチャートである。 図23は、実施形態に係るモータ制御装置の導通制御部における第4切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図24は、実施形態に係るモータ制御装置の導通制御部における第4切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図25は、実施形態に係るモータ制御装置の導通制御部における第5切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図26は、実施形態に係るモータ制御装置の導通制御部における第5切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図27は、実施形態に係るモータ制御装置の導通制御部における強制オフ処理の一例を示すフローチャートである。 図28は、実施形態に係るモータ制御装置の導通制御部における第6切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図29は、実施形態に係るモータ制御装置の導通制御部における第6切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図30は、実施形態に係るモータ制御装置の導通制御部における第7切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図31は、実施形態に係るモータ制御装置の導通制御部における第7切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図32は、実施形態に係るモータ制御装置の導通制御部における第8切り替え補償方法を用いたインバータ回路の制御の一例を示す図である。 図33は、実施形態に係るモータ制御装置の導通制御部における第8切り替え補償方法を用いたインバータ回路の制御の他の例を示す図である。 図34は、実施形態に係るモータ制御装置の導通制御部における第8切り替え補償方法を用いたインバータ回路の制御の一例を示すフローチャートである。 図35は、実施形態に係るモータ制御装置においてセクション切り替え補償部によるセクション切り替え補償が行われる場合のセクション5からセクション0への切り替え前後のU相電圧、U相電流、および出力トルクを示す図である。 図36は、実施形態にかかるモータ制御装置の制御部のハードウェア構成の一例を示す図である。
 以下に、本開示によるモータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法を実施するための形態(以下、「実施形態」と記載する)について図面を参照しつつ詳細に説明する。なお、この実施形態により本開示が限定されるものではない。また、各実施形態は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。また、以下の各実施形態において同一の部位には同一の符号を付し、重複する説明は省略される。
<1.モータモジュール>
 図1は、実施形態に係るモータモジュールの構成の一例を示す図である。図1に示すように、実施形態に係るモータモジュール100は、モータ制御装置1と、モータ制御装置1によって制御されるモータ2と、モータ2の回転子の位置θを検出する位置検出装置3とを備える。位置θは、モータ2の電気角の位置である。モータ2は、3相モータである。
 位置検出装置3は、モータ2の回転子の位置θを検出し、検出した位置θをモータ制御装置1に出力する。位置検出装置3は、例えば、ホール素子などを用いた磁気センサであるが、かかる例に限定されず、レゾルバであってもよい。また、位置検出装置3は、モータ2の回転子の位置θを検出する光学式エンコーダであってもよい。位置θは、モータ2の機械角の位置である。なお、磁気センサまたはレゾルバは、モータ2の回転子の位置θを検出する構成であってもよい。また、モータ制御装置1は、位置センサレス制御を行う機能を有していてもよく、この場合、モータモジュール100には、位置検出装置3が設けられなくてもよい。
 モータ制御装置1は、120度通電方式および180度通電方式のうち選択された方式によってモータ2を駆動する。モータ制御装置1によって用いられる120度通電方式は、3相のうち2相を少なくとも1相がPWM制御される通電相とし残りの1相を無通電相とする通電方式である。また、モータ制御装置1によって用いられる180度通電方式は、3相を少なくとも1相がPWM制御される導通相とされる通電方式である。
<2.モータ制御装置1>
 モータ制御装置1は、図1に示すように、インバータ回路10と、電流センサ20と、制御部30とを備える。以下において、インバータ回路10、電流センサ20、および制御部30の順に説明する。
<2.1.インバータ回路10>
 インバータ回路10は、直流電力を交流電力に変換し、変換した交流電力をモータ2に出力する。インバータ回路10は、例えば、不図示の交流電源から供給される交流電力を直流電力へ変換する不図示のコンバータ回路に接続され、コンバータ回路から出力される直流電力を交流電力に変換し、変換した交流電力をモータ2に出力する。なお、コンバータ回路を用いず、インバータ回路10が不図示の直流電源に接続されていてもよい。
 図2は、実施形態1に係るモータ制御装置1におけるインバータ回路10の構成の一例を示す図である。図2に示すように、インバータ回路10は、上アーム11,11,11と、下アーム12,12,12と、ゲートドライバ15とを備える。なお、インバータ回路10は、コイルおよびコンデンサによって構成される不図示のフィルタがU相、V相、およびW相に設けられる。なお、インバータ回路10は、フィルタが設けられない構成であってもよい。
 上アーム11と下アーム12とは、U相のハーフブリッジ回路を構成し、上アーム11と下アーム12とは、V相のハーフブリッジ回路を構成し、上アーム11と下アーム12とは、W相のハーフブリッジ回路を構成する。
 上アーム11は、スイッチング素子13と、スイッチング素子13に逆並列接続されたダイオード14とを備える。下アーム12は、スイッチング素子13と、スイッチング素子13に逆並列接続されたダイオード14とを備える。上アーム11は、スイッチング素子13と、スイッチング素子13に逆並列接続されたダイオード14とを備える。下アーム12は、スイッチング素子13と、スイッチング素子13に逆並列接続されたダイオード14とを備える。上アーム11は、スイッチング素子13と、スイッチング素子13に逆並列接続されたダイオード14とを備える。下アーム12は、スイッチング素子13と、スイッチング素子13に逆並列接続されたダイオード14とを備える。
 各スイッチング素子13,13,13,13,13,13は、例えば、IGBT(Insulated Gate Bipolar Transistor)またはMOSFET(Metal Oxide Semiconductor Field Effect Transistor)などのスイッチング素子である。スイッチング素子13,13,13,13,13,13は、例えば、シリコン系材料により形成されるスイッチング素子またはワイドバンドギャップ(Wide Bandgap)半導体により形成されるスイッチング素子などである。ワイドバンドギャップ半導体は、例えば、炭化珪素(SiC)、窒化ガリウム(GaN)、酸化ガリウム(Ga)、またはダイヤモンドなどである。
 ゲートドライバ15は、制御部30から出力される後述のゲート信号Sup,Svp,Swp,Sun,Svn,Swnを増幅する。そして、ゲートドライバ15は、増幅したゲート信号Sup,Svp,Swp,Sun,Svn,Swnを上アーム11,11,11および下アーム12,12,12のゲートに出力する。
 具体的には、ゲートドライバ15は、増幅したゲート信号SupをU相の上アーム11に出力し、増幅したゲート信号SunをU相の下アーム12に出力する。また、ゲートドライバ15は、増幅したゲート信号SvpをV相の上アーム11に出力し、増幅したゲート信号SvnをV相の下アーム12に出力する。
 また、ゲートドライバ15は、増幅したゲート信号SwpをW相の上アーム11に出力し、増幅したゲート信号SwnをW相の下アーム12に出力する。以下において、上アーム11,11,11の各々を個別に区別せずに示す場合、上アーム11と記載し、下アーム12,12,12の各々を個別に区別せずに示す場合、下アーム12と記載する場合がある。
<2.2.電流センサ20>
 図1に示す電流センサ20は、インバータ回路10からモータ2に流れる3相電流の瞬時値である3相電流値IUVWを検出し、検出した3相電流値IUVWを制御部30に出力する。3相電流値IUVWは、U相電流の瞬時値であるU相電流値Iと、V相電流の瞬時値であるV相電流値Iと、W相電流の瞬時値であるW相電流値Iとを含む。
 電流センサ20は、例えば、ホール素子を用いた電流センサであるが、かかる例に限定されず、CT(Current Transformer)と呼ばれる変流器を用いた電流センサであってもよく、シャント抵抗を用いた電流センサであってもよい。
<2.3.制御部30>
 図1に示すように、制御部30は、トルク指令出力部31と、デューティ演算部32と、搬送波生成部33と、セクション決定部34と、設定部35と、導通制御部36とを備える。
<2.3.1.トルク指令出力部31>
 トルク指令出力部31は、トルク指令Tを出力する。なお、トルク指令Tは、目標となる出力トルクの一例である。トルク指令出力部31は、例えば、モータ2の速度が速度指令に一致するようにトルク指令Tを生成し、生成したトルク指令Tを出力する構成であってもよい。
<2.3.2.デューティ演算部32>
 デューティ演算部32は、トルク指令出力部31から出力されるトルク指令Tと電流センサ20から出力される3相電流値IUVWとに基づいて、U相、V相、およびW相のデューティ値Sdutyを算出する。例えば、デューティ演算部32は、モータ2の出力トルクがトルク指令Tに応じたトルクになるように、トルク指令Tと3相電流値IUVWとに基づいて、U相、V相、およびW相のデューティ値Sdutyを算出する。デューティ演算部32は、算出したU相、V相、およびW相のデューティ値Sdutyを導通制御部36に出力する。
<2.3.3.搬送波生成部33>
 搬送波生成部33は、三角波状の搬送波Scwを生成し、生成した三角波状の搬送波Scwを導通制御部36に出力する。なお、搬送波生成部33は、三角波状の搬送波Scwに代えて、鋸歯状波の搬送波Scwであってもよい。
<2.3.4.セクション決定部34>
 セクション決定部34は、モータ2の電気角の互いに異なる範囲で区分される6つのセクション0~5のうちモータ2の電気角に応じたセクションを決定する。
 セクション0は、電気角が30°以上90°未満の範囲であり、セクション1は、電気角が90°以上150°未満の範囲であり、セクション2は、電気角が150°以上210°未満の範囲である。また、セクション3は、電気角が210°以上270°未満の範囲であり、セクション4は、電気角が270°以上330°未満の範囲であり、セクション5は、電気角が0°以上30°未満の範囲および330°以上360°未満の範囲である。
 セクション決定部34は、モータ2の回転子の位置θに基づいて、セクションを決定する。なお、セクション決定部34は、位置検出装置3から位置θが出力される場合、位置θとモータ2の極対数Pとから位置θを算出し、算出した位置θに基づいて、セクションを決定する。
 まず、120度通電方式の場合について説明する。図3は、実施形態に係るモータ制御装置1における120度通電方式の各セクションにおける各相の状態を示す図である。図3に示すように、120度通電方式において、セクション0~セクション5までの6つのセクションは、3相におけるHigh-side導通相、Low-side導通相、および無通電相の組み合わせが互いに異なる。High-side導通相およびLow-side導通相の各々は通電相であり、High-side導通相は、Low-side導通相よりも電圧が高い相である。
 High-side導通相は、上アーム11がPWM制御されるかまたはオン状態に固定されることによってPWM1周期平均で正の方向に積極的に電流を流す相である。Low-side導通相は、下アーム12がPWM制御されるかまたはオン状態に固定されることによってPWM1周期平均で負の方向に積極的に電流を流す相である。無通電相は、上アーム11および下アーム12が共にオフ状態に固定され、積極的には電流を流さない相である。
 セクション0では、U相がHigh-side導通相で、V相がLow-side導通相であり、W相が無通電相である。セクション1では、U相がHigh-side導通相で、W相がLow-side導通相であり、V相が無通電相である。セクション2では、V相がHigh-side導通相で、W相がLow-side導通相であり、U相が無通電相である。
 セクション3では、V相がHigh-side導通相で、U相がLow-side導通相であり、W相が無通電相である。セクション4では、W相がHigh-side導通相で、U相がLow-side導通相であり、V相が無通電相である。セクション5では、W相がHigh-side導通相で、V相がLow-side導通相であり、U相が無通電相である。
 次に、180度通電方式について説明する。図4は、実施形態に係るモータ制御装置1における180度通電方式の各セクションにおける各相の状態を示す図である。図4に示すように、180度通電方式において、セクション0~セクション5までの6つのセクションは、3相におけるHigh-side導通相とLow-side導通相との組み合わせが互いに異なる。High-side導通相およびLow-side導通相の各々は通電相であり、High-side導通相は、Low-side導通相よりも電圧が高い相である。
 セクション0では、High-side導通相がU相とW相であり、Low-side導通相がV相である。セクション1では、High-side導通相がU相であり、Low-side導通相がV相とW相である。セクション2では、High-side導通相がU相とV相であり、Low-side導通相がW相である。
 セクション3では、High-side導通相がV相であり、Low-side導通相がU相とW相である。セクション4では、High-side導通相がV相とW相であり、Low-side導通相がU相である。セクション5では、High-side導通相がW相であり、Low-side導通相がU相とV相である。
 セクション決定部34は、上述したように、6つのセクションのうちモータ2の電気角に応じたセクションを決定する。例えば、セクション決定部34は、30°≦θ<90°である場合に、セクション0をモータ2の電気角に応じたセクションとして決定し、90°≦θ<150°である場合に、セクション1をモータ2の電気角に応じたセクションとして決定する。
 セクション決定部34は、150°≦θ<210°である場合に、セクション2をモータ2の電気角に応じたセクションとして決定し、210°≦θ<270°である場合に、セクション3をモータ2の電気角に応じたセクションとして決定する。セクション決定部34は、270°≦θ<330°である場合に、セクション4をモータ2の電気角に応じたセクションとして決定し、0°≦θ<30°または330°≦θ<360°である場合に、セクション5をモータ2の電気角に応じたセクションとして決定する。
<2.3.5.設定部35>
 設定部35は、設定情報を記憶している。設定情報は、導通型情報と、制御型情報と、切り替え補償方法情報と、通電方式情報とを含む。
 導通型情報は、複数の導通型の中から選択された1つの導通型を示す情報である。制御型情報は、複数の制御型の中から選択された1つの制御型を示す情報である。切り替え補償方法情報は、複数の切り替え補償方法の中から選択された1つの切り替え補償方法を示す情報である。通電方式情報は、120度通電方式および180度通電方式の中から選択された1つの通電方式を示す情報である。
 導通型、制御型、切り替え補償方法、および通電方式の選択は、モータ制御装置1の製造業者によって行われるが、モータ制御装置1のユーザによって行われてもよい。なお、切り替え補償方法については、後で詳述する。
 まず、複数の導通型について説明する。複数の導通型は、谷ON型と山ON型とを含む。谷ON型と山ON型とは、搬送波Scwとコンペア値Scompとの比較結果と上アーム11および下アーム12のうち導通させるアームとの組み合わせが異なる。
 図5は、実施形態に係るモータ制御装置1で用いられる導通型が谷ON型である場合の制御の一例を示す図である。谷ON型では、図5に示すように、搬送波Scwよりもコンペア値Scompが高い場合に上アーム11をオン状態にして導通させ、搬送波Scwよりもコンペア値Scompが低い場合に下アーム12をオン状態にして導通させる。
 図6は、実施形態に係るモータ制御装置1で用いられる導通型が山ON型である場合の制御の一例を示す図である。山ON型では、図6に示すように、搬送波Scwよりもコンペア値Scompが低い場合に上アーム11をオン状態にして導通させ、搬送波Scwよりもコンペア値Scompが高い場合に下アーム12をオン状態にして導通させる。
 次に、複数の制御型について説明する。複数の制御型は、High-sidePWM制御型、Low-sidePWM制御型、およびBoth-sidePWM制御型を含む。
 High-sidePWM制御型では、High-side導通相の上アーム11および下アーム12をPWM制御によりオンオフし、Low-side導通相の下アーム12をオン状態に固定する制御が行われる。
 図7は、実施形態に係るモータ制御装置1における120度通電方式且つHigh-sidePWM制御型によるインバータ回路10の制御の一例を示す図である。図7に示す例では、導通型が谷ON型であり、セクション決定部34によって決定されるセクションがセクション0である場合の例が示されている。
 セクション0において、U相は、High-side導通相で、V相は、Low-side導通相で、W相が無通電相である。そのため、図7に示すように、U相の上アーム11と下アーム12とがPWM制御され、V相の下アーム12がオン状態に固定される。そして、導通型が谷ON型であるため、搬送波Scwよりもコンペア値Scompが高い場合にU相の上アーム11がオン状態になり、搬送波Scwよりもコンペア値Scompが低い場合にU相の下アーム12がオン状態になる。
 図8は、実施形態に係るモータ制御装置1における120度通電方式且つHigh-sidePWM制御型によるインバータ回路10の制御の他の例を示す図である。図8に示す例では、導通型が山ON型であり、セクション決定部34によって決定されるセクションがセクション0である場合の例が示されている。図8に示す例では、導通型が山ON型であるため、搬送波Scwよりもコンペア値Scompが低い場合にU相の上アーム11がオン状態になり、搬送波Scwよりもコンペア値Scompが高い場合にU相の下アーム12がオン状態になる点で、図7に示す例と異なる。図8に示す例では、導通制御部36において、デューティ演算部32から出力されるデューティ値Sdutyを搬送波Sswの中央値を基準として反転した値が、搬送波Scwと比較されるコンペア値Scompとして用いられる。この場合、コンペア値Scompは、Scomp=1-Sdutyと表される。なお、図7に示す例では、導通制御部36において、デューティ演算部32から出力されるデューティ値Sdutyがそのままコンペア値Scompとして搬送波Scwと比較される。
 Low-sidePWM制御型では、High-side導通相の上アーム11をオン状態に固定し、Low-side導通相の上アーム11および下アーム12をPWM制御によりオンオフする制御が行われる。
 図9は、実施形態に係るモータ制御装置1における120度通電方式且つLow-sidePWM制御型によるインバータ回路10の制御の一例を示す図である。図9に示す例では、図8に示す例と同様に、導通型が山ON型であり、セクション決定部34によって決定されるセクションがセクション0である場合の例が示されている。
 セクション0において、U相は、High-side導通相で、V相は、Low-side導通相で、W相が無通電相である。そのため、図9に示すように、U相の上アーム11がオン状態に固定され、V相の上アーム11と下アーム12とがPWM制御される。そして、導通型が山ON型であるため、搬送波Scwよりもコンペア値Scompが低い場合にV相の上アーム11がオン状態になり、搬送波Scwよりもコンペア値Scompが高い場合にV相の下アーム12がオン状態になる。なお、図9に示す例では、導通制御部36において、デューティ演算部32から出力されるデューティ値Sdutyがそのままコンペア値Scompとして搬送波Scwと比較される。
 図10は、実施形態に係るモータ制御装置1における120度通電方式且つLow-sidePWM制御型によるインバータ回路10の制御の他の例を示す図である。図10に示す例では、導通型が谷ON型であり、セクション決定部34によって決定されるセクションがセクション0である場合の例が示されている。図10に示す例では、導通型が谷ON型であるため、搬送波Scwよりもコンペア値Scompが高い場合にV相の上アーム11がオン状態になり、搬送波Scwよりもコンペア値Scompが低い場合にV相の下アーム12がオン状態になる点で、図9に示す例と異なる。なお、図10に示す例では、導通制御部36において、デューティ演算部32から出力されるデューティ値Sdutyを搬送波Sswの中央値を基準として反転した値が、搬送波Scwと比較されるコンペア値Scompとして用いられる。
 Both-sidePWM制御型では、PWM制御によりHigh-side導通相の上アーム11および下アーム12をオンオフし、High-side導通相のPWM制御と相補的なPWM制御によってLow-side導通相の上アーム11および下アーム12をオンオフする制御が行われる。High-side導通相では、上アーム11のオン比率が下アーム12のオン比率よりも大きなPWM制御によって、上アーム11および下アーム12がオンオフされる。また、Low-side導通相では、上アーム11のオン比率が下アーム12のオン比率よりも小さなPWM制御によって、上アーム11および下アーム12がオンオフされる。
 図11は、実施形態に係るモータ制御装置1における120度通電方式且つBoth-sidePWM制御型によるインバータ回路10の制御の一例を示す図である。図11に示す例では、図7に示す例と同様に、導通型が谷ON型であり、セクション決定部34によって決定されるセクションがセクション0である場合の例が示されている。
 セクション0において、U相は、High-side導通相で、V相は、Low-side導通相で、W相が無通電相である。そのため、図11に示すように、U相の上アーム11のオン比率が下アーム12のオン比率よりも大きなPWM制御によって、U相の上アーム11と下アーム12とがオンオフされ、V相の上アーム11のオン比率が下アーム12のオン比率よりも小さなPWM制御によって、V相の上アーム11と下アーム12とがオンオフされる。そして、導通型が谷ON型であるため、搬送波Scwよりもコンペア値Scompが高い場合にU相の上アーム11とV相の下アーム12とがオン状態になり、搬送波Scwよりもコンペア値Scompが低い場合にU相の下アーム12とV相の上アーム11とがオン状態になる。なお、図11に示す例では、デューティ演算部32から出力されるデューティ値Sdutyに0.5を乗算した値に0.5を加算した値が、搬送波Scwと比較されるコンペア値Scompとして用いられる。この場合、コンペア値Scompは、Scomp=Sduty×0.5+0.5と表される。
 図12は、実施形態に係るモータ制御装置1における120度通電方式且つBoth-sidePWM制御型によるインバータ回路10の制御の他の例を示す図である。図12に示す例では、導通型が山ON型であり、セクション決定部34によって決定されるセクションがセクション0である場合の例が示されている。図12に示す例では、導通型が山ON型であるため、搬送波Scwよりもコンペア値Scompが低い場合にU相の上アーム11とV相の下アーム12とがオン状態になり、搬送波Scwよりもコンペア値Scompが高い場合にU相の下アーム12とV相の上アーム11とがオン状態になる。なお、図12に示す例では、デューティ演算部32から出力されるデューティ値Sdutyに0.5を乗算した値に0.5を加算した値を1から減算した値が、搬送波Scwと比較されるコンペア値Scompとして用いられる。この場合、コンペア値Scompは、Scomp=1―(Sduty×0.5+0.5)と表される。
<2.3.6.導通制御部36>
 導通制御部36は、ゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する導通切り替え部40と、セクション切り替え補償の処理を行うセクション切り替え補償部41とを備える。
<2.3.6.1.導通切り替え部40>
 導通切り替え部40は、デューティ演算部32から出力されるデューティ値Sdutyと、搬送波生成部33から出力される搬送波Scwと、セクション切り替え補償部41から出力されるセクション切り替え要求を含む制御情報と、設定部35から出力される設定情報とに基づいて、ゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。
 例えば、設定情報で示される制御型および通電方式が、High-sidePWM制御型、および120度通電方式であり、セクション決定部34によって決定されたセクションがセクション0であるとする。
 この場合、導通切り替え部40は、設定情報で示される導通型が谷ON型であれば、デューティ演算部32から出力されるデューティ値Sdutyをそのままコンペア値Scompとして搬送波Scwと比較し、図7に示すようにインバータ回路10を制御するゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。
 また、導通切り替え部40は、設定情報で示される導通型が山ON型であれば、デューティ演算部32から出力されるデューティ値Sdutyを反転した値をコンペア値Scompとして算出する。この場合、コンペア値Scompは、Scomp=1-Sdutyと表される。そして、導通切り替え部40は、算出したコンペア値Scompを搬送波Scwと比較し、図8に示すようにインバータ回路10を制御するゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。
 また、設定情報で示される制御型および通電方式が、Low-sidePWM制御型および120度通電方式であり、セクション決定部34によって決定されたセクションがセクション0であるとする。
 この場合、導通切り替え部40は、設定情報で示される導通型が谷ON型であれば、デューティ演算部32から出力されるデューティ値Sdutyを反転した値をコンペア値Scompとして算出する。この場合、コンペア値Scompは、Scomp=1-Sdutyと表される。そして、導通切り替え部40は、算出したコンペア値Scompを搬送波Scwと比較して、図9に示すようにインバータ回路10を制御するゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。
 また、設定情報で示される導通型が山ON型であれば、導通切り替え部40は、デューティ演算部32から出力されるデューティ値Sdutyをそのままコンペア値Scompとして搬送波Scwと比較して、図10に示すようにインバータ回路10を制御するゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。
 また、設定情報で示される制御型および通電方式が、Both-sidePWM制御型および120度通電方式であり、セクション決定部34によって決定されたセクションがセクション0であるとする。
 この場合、導通切り替え部40は、設定情報で示される導通型が谷ON型であれば、デューティ演算部32から出力されるデューティ値Sdutyに0.5を乗算した値に0.5を加算した値を、コンペア値Scompとして算出する。この場合、コンペア値Scompは、Scomp=Sduty×0.5+0.5と表される。そして、導通切り替え部40は、算出したコンペア値Scompを搬送波Scwと比較して、図11に示すようにインバータ回路10を制御するゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。
 また、設定情報で示される導通型が山ON型であれば、導通切り替え部40は、デューティ演算部32から出力されるデューティ値Sdutyに0.5を乗算した値に0.5を加算した値を1から減算して得られる値を、コンペア値Scompとして算出する。この場合、コンペア値Scompは、Scomp=1-(Sduty×0.5+0.5)と表される。そして、導通切り替え部40は、算出したコンペア値Scompを搬送波Scwと比較して、図12に示すようにインバータ回路10を制御するゲート信号Sup,Sun,Svp,Svn,Swp,Swnを生成する。なお、上述した例では、デューティ値Sdutyの最大値が搬送波Scwの山の位置の値と同じ値であるが、かかる例に限定されない。例えば、搬送波Scwの山の位置の値は、デューティ値Sdutyの最大値よりも大きな値であってもよい。この場合、導通切り替え部40は、例えば、デューティ値Sdutyの最大値と搬送波Scwの山の位置の値との比に応じた係数を用いて、コンペア値Scompを算出する。
<2.3.6.2.セクション切り替え補償部41>
 セクション切り替え補償部41は、セクション決定部34によって決定されたセクションへの切り替え時において切り替え先のセクションにおける複数の通電相のうちの電圧が最も高い通電相であるHigh-side導通相の負電流を抑制するセクション切り替え補償の処理を行う。
 ここで、導通制御部36においてセクション切り替え補償部41によるセクション切り替え補償が行われない場合のセクションの切り替えについて説明する。図13は、実施形態に係るモータ制御装置1においてセクション切り替え補償を行わない場合のセクション5からセクション0への切り替え前後の各相の上下アームのオンオフ状態の一例を示す図である。図13に示す例では、導通型、制御型、および通電方式が、谷ON型、High-sidePWM制御型、および120度通電方式であり、セクション5からセクション0への切り替えのタイミングが搬送波Scwの山の位置である場合の例が示されている。
 図13に示すように、各セクション5,0では、V相の下アーム12がオン状態に固定されており、セクション切り替え補償部41によるセクション切り替え補償が行われない場合、セクション5からセクション0への切り替え時において、U相の下アーム12がオンになる。この場合、後述するように、High-side導通相であるU相に負電流が発生し、モータ2の出力トルクが瞬間的に低下する。
 図14は、実施形態に係るモータ制御装置1においてセクション切り替え補償部41によるセクション切り替え補償が行われない場合のセクション5からセクション0への切り替え前後の各相の上下アームのオンオフ状態の他の例を示す図である。図14に示す例では、セクション5からセクション0への切り替えのタイミングが搬送波Scwの谷の位置である点で、図13に示す例と異なる。
 図14に示すように、セクション5からセクション0へのタイミングが搬送波Scwの谷の位置の場合、セクション5からセクション0への切り替え時において、U相の上アーム11がオンになる。この場合、後述するように、High-side導通相であるU相には負電流が発生しない。
 図15は、実施形態に係るモータ制御装置1においてセクション切り替え補償部41によるセクション切り替え補償が行われない場合のセクション5からセクション0への切り替え前後のU相電圧、U相電流、および出力トルクを示す図である。図15に示す例では、導通型、制御型、および通電方式が、谷ON型、High-sidePWM制御型、および120度通電方式である。図15において、3つのグラフの横軸は、時間であり、3つのグラフの縦軸は、U相電圧、U相電流、および出力トルクである。
 セクション切り替え補償部41によるセクション切り替え補償が行われない場合、図15に示すように、セクション5からセクション0への切り替え時において、上アーム11のオンから開始する場合には、U相に負電流が流れないが、下アーム12のオンから開始する場合には、U相に負電流が流れ、モータ2の出力トルクが瞬間的に低下する。
 このことは、セクション5からセクション0への切り替えに限らず、他の2つのセクション間の切り替えにおいても、切り替えタイミングによって、セクションの切り替え時において、U相、V相、およびW相のいずれかに負電流が流れる。すなわち、制御型がHigh-sidePWM制御型である場合、セクション切り替え時において、下アーム12のオンから開始する場合には、High-side導通相に負電流が流れ、モータ2の出力トルクが瞬間的に低下する。
 そこで、セクション切り替え補償部41は、セクション切り替え補償を行う。セクション切り替え補償は、例えば、制御型がHigh-sidePWM制御型である場合、セクション切り替え時において、PWM制御されるHigh-side導通相の上アーム11のオンから開始するように導通切り替え部40を制御することによって行われる。これにより、PWM制御されるHigh-side導通相に負電流が流れることが抑制され、モータ2の出力トルクの低下を抑制することができる。制御型がHigh-sidePWM制御型である場合においてPWM制御されるHigh-side導通相は、PWM1周期平均で正の方向に電流を流す相ということもできる。
 また、セクション切り替え補償部41によるセクション切り替え補償が行われない場合、制御型がLow-sidePWM制御型である場合および制御型がBoth-sidePWM制御型である場合においても、同様に、モータ2の出力トルクが瞬間的に低下する。
 例えば、制御型がLow-sidePWM制御型である場合、セクション切り替え時において、PWM制御される導通相の上アーム11のオンから開始とすると、PWM制御されるLow-side導通相に正電流が流れ、モータ2の出力トルクが瞬間的に低下する。
 そこで、セクション切り替え補償部41は、制御型がLow-sidePWM制御型である場合、セクション切り替え時において、PWM制御されるLow-side導通相の下アーム12のオンから開始するように導通切り替え部40を制御する。これにより、PWM制御されるLow-side導通相に正電流が流れることが抑制され、セクションの切り替え時において出力トルクの低下を抑制することができる。制御型がLow-sidePWM制御型である場合においてPWM制御されるLow-side導通相は、PWM1周期平均で負の方向に電流を流す相ということもできる。
 また、制御型がBoth-sidePWM制御型である場合、セクション切り替え時において、第1導通相の下アーム12のオンから開始とすると、第1導通相に負電流が流れ、モータ2の出力トルクが瞬間的に低下する。第1導通相は、PWM制御されるHigh-side導通相であり、PWM1周期平均で正の方向に電流を流す相である。
 そこで、セクション切り替え補償部41は、制御型がBoth-sidePWM制御型である場合、セクション切り替え時において、第1導通相の上アーム11のオンから開始するように導通切り替え部40を制御する。これにより、第1導通相に負電流が流れることが抑制され、モータ2の出力トルクの低下を抑制することができる。
 また、セクション切り替え補償部41は、セクション切り替え時において、PWM制御される導通相を強制的に非導通状態にすることもでき、これによっても、モータ2の出力トルクの低下を抑制することができる。
 セクション決定部34は、決定するセクションを切り替える場合、導通制御部36にセクション切り替え要求を出力する。セクション切り替え要求には、切り替え先のセクションを示す情報を含む。セクション切り替え補償部41は、セクション決定部34から出力されるセクション切り替え要求と、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される設定情報とに基づいて、導通切り替え部40を制御する。
 以下において、セクション切り替え時におけるセクション切り替え補償部41による導通切り替え部40の制御方法について説明する。セクション切り替え補償部41は、複数のセクション切り替え補償のうち設定部35から出力される切り替え補償方法情報で示されるセクション切り替え補償方法で導通切り替え部40を制御し、対象アームのオンタイミングまたはオフタイミングなどを調整する。
 複数のセクション切り替え補償方法は、第1切り替え補償方法、第2切り替え補償方法、第3切り替え補償方法、第4切り替え補償方法、第5切り替え補償方法、第6切り替え補償方法、第7の切り替え補償方法、および第8切り替え補償方法を含む。
 第1切り替え補償方法および第2切り替え補償方法は、セクション切り替えのタイミングを遅延させることでセクション切り替え補償を行う方法である。第3切り替え補償方法および第4切り替え補償方法は、セクション切り替え時において予め定められたタイミングになるまで対象アームを強制的にオンにすることでセクション切り替え補償を行う方法である。
 第5切り替え補償方法および第6切り替え補償方法は、セクション切り替え時において予め定められたタイミングになるまで対象アームを強制的にオフにすることでPWM制御される導通相を強制的に非導通状態にしてセクション切り替え補償を行う方法である。
 第7切り替え補償方法は、セクション切り替え時において導通型を切り替えることでセクション切り替え補償を行う方法である。第8切り替え補償方法は、搬送波Scwをリセットすることでセクション切り替え補償を行う方法である。
 対象アームは、第5切り替え補償方法および第6切り替え補償方法以外の場合と、第5切り替え補償方法または第6切り替え補償方法である場合とで異なる。
 対象アームは、第5切り替え補償方法および第6切り替え補償方法以外の切り替え補償方法の場合、制御型がHigh-sidePWM制御型であれば、切り替え先のセクションにおいてPWM制御される導通相の上アーム11である。
 また、対象アームは、第5切り替え補償方法および第6切り替え補償方法以外の切り替え補償方法の場合、制御型がLow-sidePWM制御型であれば、切り替え先のセクションにおいてPWM制御される導通相の下アーム12である。
 また、対象アームは、第5切り替え補償方法および第6切り替え補償方法以外の切り替え補償方法の場合、制御型がBoth-sidePWM制御型であれば、切り替え先のセクションにおいて下アーム12のオン比率よりも大きいオン比率で上アーム11がPWM制御される導通相の上アーム11と、下アーム12のオン比率よりも大きいオン比率で下アーム12がPWM制御される導通相の下アーム12である。
 また、対象アームは、第5切り替え補償方法および第6切り替え補償方法の場合、制御型がHigh-sidePWM制御型またはLow-sidePWM制御型であれば、切り替え先のセクションにおいてPWM制御される導通相の上アーム11および下アーム12である。
 また、対象アームは、第5切り替え補償方法および第6切り替え補償方法の場合、制御型がBoth-sidePWM制御型であれば、切り替え先のセクションにおいてPWM制御されるすべての導通相の上アーム11および下アーム12である。
<2.3.6.3.切り替え補償方法>
<2.3.6.3.1.第1切り替え補償方法>
 第1切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較結果に基づいて、対象アームがオンになるタイミングまでセクションの切り替えタイミングを遅延させることで、セクション切り替え時においてPWM制御されるHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、搬送波Scwを監視する。セクション切り替え補償部41は、予め定められた条件を満たす場合に、セクション切り替え要求を導通切り替え部40に出力する。予め定められた条件は、設定部35から出力される制御型情報および導通型情報で示される制御型および導通型によって異なる。
 例えば、制御型および導通型が、High-sidePWM制御型および谷ON型、Low-sidePWM制御型および山ON型、またはBoth-sidePWM制御型および谷ON型であるとする。この場合、セクション切り替え補償部41は、コンペア値Scompが搬送波Scwよりも大きくなった場合に、セクション切り替え要求を導通切り替え部40に出力する。
 また、制御型および導通型が、High-sidePWM制御型および山ON型、Low-sidePWM制御型および谷ON型、またはBoth-sidePWM制御型および山ON型であるとする。この場合、セクション切り替え補償部41は、コンペア値Scompが搬送波Scw以下になった場合に、切り替え先のセクションの情報を含むセクション切り替え要求を導通切り替え部40に出力する。
 なお、セクション切り替え補償部41は、セクション決定部34からのセクション切り替え要求の出力時が予め定められた条件を満たすタイミングである場合、セクションの切り替えタイミングを遅延させることなく、セクション切り替え要求を導通切り替え部40に出力する。
 導通切り替え部40は、セクション切り替え補償部41から出力されるセクション切り替え要求と、デューティ演算部32から出力されるデューティ値Sdutyから得られるコンペア値Scompと、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される導通型情報および制御型情報とに基づいて、セクション切り替えを実行する。
 図16は、実施形態に係るモータ制御装置1の導通制御部36における第1切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図16に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された直後のタイミングが搬送波Scwの山である場合、コンペア値Scompが搬送波Scwよりも大きくなるタイミングまで待つ。そして、セクション切り替え補償部41は、コンペア値Scompが搬送波Scwよりも大きくなった場合に、セクション切り替え要求を導通切り替え部40に出力する。
 これにより、図16に示すように、セクション5からセクション0への切り替えタイミングがPWM制御されるHigh-side導通相であるU相の上アーム11がオンになるタイミングまで遅延される。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通相であるU相における負電流が抑制される。
 図17は、実施形態に係るモータ制御装置1の導通制御部36における第1切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図17に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。
 図17に示すように、導通制御部36は、セクション決定部34からセクション切り替え要求が出力されると、搬送波Scwを監視する(ステップS10)。次に、導通制御部36は、設定部35から出力される導通型情報で示される導通型が谷ON型であるか否かを判定する(ステップS11)。
 導通制御部36は、導通型が谷ON型であると判定した場合(ステップS11:Yes)、コンペア値Scompが搬送波Scwよりも大きいか否かを判定する(ステップS12)。導通制御部36は、コンペア値Scompが搬送波Scwよりも大きくないと判定した場合(ステップS12:No)、処理をステップS10に移行する。
 導通制御部36は、導通型が谷ON型ではなく山ON型であると判定した場合(ステップS11:No)、コンペア値Scompが搬送波Scw以下であるか否かを判定する(ステップS13)。導通制御部36は、コンペア値Scompが搬送波Scw以下ではないと判定した場合(ステップS13:No)、処理をステップS10に移行する。
 導通制御部36は、コンペア値Scompが搬送波Scwよりも大きいと判定した場合(ステップS12:Yes)、またはコンペア値Scompが搬送波Scw以下であると判定した場合(ステップS13:Yes)、セクション切り替えを実行する(ステップS14)。導通制御部36は、ステップS14の処理が終了した場合、図17に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS11において、導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS12に移行し、導通型が谷ON型である場合、処理をステップS13に移行する。
<2.3.6.3.2.第2切り替え補償方法>
 第2切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較を行うことなく、予め定められたタイミングになるまでセクションの切り替えタイミングを遅延させることで、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。第2切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較を行わないことから、第1切り替え補償方法に比べて、セクション切り替え補償部41の処理負荷を低減することができる。なお、第1切り替え補償方法では、第2切り替え補償方法に比べて、セクションの切り替えタイミングを早めることができる。
 予め定められたタイミングは、設定部35から出力される制御型情報および導通型情報で示される制御型および導電型の組み合わせによって異なる。例えば、予め定められたタイミングは、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型である場合、導通型が谷ON型であれば、搬送波Scwの谷の位置になるタイミングであり、導通型が山ON型であれば、搬送波Scwの山の位置になるタイミングである。
 また、予め定められたタイミングは、制御型がLow-sidePWM制御型である場合、導通型が谷ON型であれば、搬送波Scwの山の位置になるタイミングであり、導通型が山ON型であれば、搬送波Scwの谷の位置になるタイミングである。
 なお、セクション切り替え補償部41は、セクション決定部34からのセクション切り替え要求の出力時が予め定められたタイミングである場合、セクションの切り替えタイミングを遅延させることなく、セクション切り替え要求を導通切り替え部40に出力する。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、搬送波Scwの監視を開始する。セクション切り替え補償部41は、設定部35から出力される導通型情報で示される導通型が谷ON型である場合、搬送波Scwの谷の位置のタイミングで、セクション切り替え要求を導通切り替え部40に出力する。
 また、セクション切り替え補償部41は、設定部35から出力される導通型情報で示される導通型が山ON型である場合、搬送波Scwの山の位置のタイミングで、切り替え先のセクションの情報を含むセクション切り替え要求を導通切り替え部40に出力する。
 導通切り替え部40は、セクション切り替え補償部41から出力されるセクション切り替え要求と、デューティ演算部32から出力されるデューティ値Sdutyから得られるコンペア値Scompと、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される導通型情報および制御型情報とに基づいて、セクション切り替えを実行する。
 図18は、実施形態に係るモータ制御装置1の導通制御部36における第2切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図18に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された直後のタイミングが搬送波Scwの山ON型である場合、搬送波Scwの谷の位置になるまで待つ。そして、セクション切り替え補償部41は、搬送波Scwの谷の位置のタイミングで、セクション切り替え要求を導通切り替え部40に出力する。
 これにより、図18に示すように、セクション5からセクション0への切り替えタイミングがPWM制御される導通相であるU相の上アーム11がオンになるタイミングまで遅延される。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通における負電流が抑制される。
 図19は、実施形態に係るモータ制御装置1の導通制御部36における第2切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図18に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。
 図19に示すように、導通制御部36は、セクション決定部34からセクション切り替え要求が出力されると、搬送波Scwを監視する(ステップS20)。次に、導通制御部36は、設定部35から出力される導通型情報で示される導通型が谷ON型であるか否かを判定する(ステップS21)。
 導通制御部36は、導通型が谷ON型であると判定した場合(ステップS21:Yes)、搬送波Scwの谷の位置のタイミングになったか否かを判定する(ステップS22)。導通制御部36は、搬送波Scwの谷の位置のタイミングになっていないと判定した場合(ステップS22:No)、処理をステップS20に移行する。
 導通制御部36は、導通型が谷ON型ではなく山ON型であると判定した場合(ステップS21:No)、搬送波Scwの山の位置のタイミングになったか否かを判定する(ステップS23)。導通制御部36は、搬送波Scwの山の位置のタイミングになっていないと判定した場合(ステップS23:No)、処理をステップS20に移行する。
 導通制御部36は、搬送波Scwの谷の位置のタイミングになったと判定した場合(ステップS22:Yes)、または搬送波Scwの山の位置のタイミングになったと判定した場合(ステップS23:Yes)、セクション切り替えを実行する(ステップS24)。導通制御部36は、ステップS24の処理が終了した場合、図19に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS21において、導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS22に移行し、導通型が谷ON型である場合、処理をステップS23に移行する。
<2.3.6.3.3.第3切り替え補償方法>
 第3切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較結果に基づいて、上述した対象アームを予め定められたタイミングになるまで強制的にオンにすることで、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。
 予め定められたタイミングは、設定部35から出力される制御型情報および導通型情報で示される制御型および導通型の組み合わせによって異なる。例えば、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であるとする。この場合、予め定められたタイミングは、導通型が谷ON型であれば、搬送波Scwの谷の位置になるタイミングまたはコンペア値Scompが搬送波Scwよりも大きくなったタイミングであり、導通型が山ON型であれば、搬送波Scwの山の位置になるタイミングまたはコンペア値Scompが搬送波Scw以下になったタイミングである。
 また、制御型がLow-sidePWM制御型であるとする。この場合、導通型が山ON型であれば、搬送波Scwの谷の位置になるタイミングまたはコンペア値Scompが搬送波Scwよりも大きくなったタイミングであり、導通型が谷ON型であれば、搬送波Scwの山の位置になるタイミングまたはコンペア値Scompが搬送波Scw以下になったタイミングである。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、搬送波Scwを監視する。セクション切り替え補償部41は、設定部35から出力される制御型情報および導通型情報で示される制御型および導通型を判定する。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であり、導通型が谷ON型であり且つScomp≦Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの谷の位置になるまで対象アームを強制的にオンにさせる制御である強制オン制御を導通切り替え部40に実行させる。
 また、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であり、導通型が山ON型であり且つScomp>Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの山の位置になるまで強制オン制御を導通切り替え部40に実行させる。
 また、制御型がLow-sidePWM制御型であり、導通型が山ON型であり且つScomp≦Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの谷の位置になるまで対象アームを強制的にオンにさせる制御である強制オン制御を導通切り替え部40に実行させる。
 また、制御型がLow-sidePWM制御型であり、導通型が谷ON型であり且つScomp>Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの山の位置になるまで強制オン制御を導通切り替え部40に実行させる。
 そして、セクション切り替え補償部41は、予め定められたタイミングになると、強制オン制御を導通切り替え部40に解除させる。例えば、セクション切り替え補償部41は、制御型および導通型が、High-sidePWM制御型および谷ON型である場合、搬送波Scwの谷の位置のタイミングになると、強制オン制御を導通切り替え部40に解除させる。また、セクション切り替え補償部41は、制御型および導通型が、High-sidePWM制御型および山ON型である場合、搬送波Scwの山の位置のタイミングになると、強制オン制御を導通切り替え部40に解除させる。
 なお、セクション切り替え補償部41は、セクション決定部34からのセクション切り替え要求の出力時が予め定められたタイミングである場合、上述した強制オン制御を導通切り替え部40に実行させることなく、セクション切り替え要求を導通切り替え部40に出力する。
 導通切り替え部40は、セクション切り替え補償部41から出力されるセクション切り替え要求と、デューティ演算部32から出力されるデューティ値Sdutyから得られるコンペア値Scompと、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される導通型情報および制御型情報とに基づいて、セクション切り替えを実行する。
 図20は、実施形態に係るモータ制御装置1の導通制御部36における第3切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図20に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、Scomp≦Scwであれば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの谷の位置のタイミングになるまでU相の上アーム11を強制的にオンにさせる制御を導通切り替え部40に実行させる。
 これにより、図20に示すように、搬送波Scwの谷の位置のタイミングになるまでU相の上アーム11が強制的にオンになる。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通相における負電流が抑制される。
 図21は、実施形態に係るモータ制御装置1の導通制御部36における第3切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図21に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。
 図21に示すように、導通制御部36は、セクション決定部34からセクション切り替え要求が出力されると、搬送波Scwを監視する(ステップS30)。次に、導通制御部36は、設定部35から出力される導通型情報で示される導通型が谷ON型であるか否かを判定する(ステップS31)。
 導通制御部36は、導通型が谷ON型であると判定した場合(ステップS31:Yes)、Scomp>Scwであるか否かを判定する(ステップS32)。導通制御部36は、Scomp>Scwではないと判定した場合(ステップS32:No)、強制オン処理を行う(ステップS34)。ステップS34の処理は、図22に示すステップS40~S45の処理であり、後で詳述する。
 導通制御部36は、導通型が谷ON型ではなく山ON型であると判定した場合(ステップS31:No)、Scomp≦Scwであるか否かを判定する(ステップS33)。導通制御部36は、Scomp≦Scwではないと判定した場合(ステップS33:No)、処理をステップS34に移行する。
 導通制御部36は、Scomp>Scwであると判定した場合(ステップS32:Yes)、セクション切り替えを実行する(ステップS35)。また、導通制御部36は、Scomp≦Scwであると判定した場合(ステップS33:Yes)、セクション切り替えを実行する(ステップS36)。導通制御部36は、ステップS34~S36の処理が終了した場合、図21に示す処理を終了する。
 図22は、実施形態に係るモータ制御装置の導通制御部における強制オン処理の一例を示すフローチャートである。図22に示すように、導通制御部36は、対象アームを強制的にオンにし、セクション切り替えを実行する(ステップS40)。
 次に、導通制御部36は、搬送波Scwを監視する(ステップS41)。そして、導通制御部36は、設定部35から出力される導通型情報で示される導通型が谷ON型であるか否かを判定する(ステップS42)。
 導通制御部36は、導通型が谷ON型であると判定した場合(ステップS42:Yes)、搬送波Scwの谷の位置のタイミングになったか否か、すなわち搬送波Scwの谷に到達したか否かを判定する(ステップS43)。導通制御部36は、搬送波Scwの谷に到達していないと判定した場合(ステップS43:No)、処理をステップS41に移行する。
 導通制御部36は、導通型が谷ON型ではなく山ON型であると判定した場合(ステップS42:No)、搬送波Scwの山の位置のタイミングになったか否か、すなわち搬送波Scwの山に到達したか否かを判定する(ステップS44)。導通制御部36は、搬送波Scwの山に到達していないと判定した場合(ステップS44:No)、処理をステップS41に移行する。
 導通制御部36は、搬送波Scwの谷に到達したと判定した場合(ステップS43:Yes)、または搬送波Scwの山に到達したと判定した場合(ステップS44:Yes)、対象アームの強制オンを解除する処理を実行する(ステップS45)。導通制御部36は、ステップS45の処理が終了した場合、図22に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS31において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS32に移行し、導通型が谷ON型である場合、処理をステップS33に移行する。
 また、制御型がLow-sidePWM制御型である場合、ステップS42において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS32に移行し、導通型が谷ON型である場合、処理をステップS33に移行する。
<2.3.6.3.4.第4切り替え補償方法>
 第4切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較を行うことなく、上述した対象アームを搬送波Scwの谷または山のタイミングまで強制的にオンにすることで、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。第4切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較を行わないことから、第3切り替え補償方法に比べて、セクション切り替え補償部41の処理負荷を低減することができる。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、セクション切り替え要求を導通切り替え部40に出力すると共に、対象アームを強制的にオンにさせる制御である強制オン制御を導通切り替え部40に実行させる。そして、セクション切り替え補償部41は、搬送波Scwを監視する。セクション切り替え補償部41は、制御型情報および導通型情報で示される制御型および導通型を判定する。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの谷の位置のタイミングになるまで、強制オン制御を導通切り替え部40に継続させ、導通型が山ON型であれば、搬送波Scwの山の位置のタイミングになるまで、強制オン制御を導通切り替え部40に継続させる。
 そして、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの谷の位置のタイミングになると、強制オン制御を導通切り替え部40に解除させ、導通型が山ON型であれば、搬送波Scwの山の位置のタイミングになると、強制オン制御を導通切り替え部40に解除させる。
 また、制御型がLow-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの山の位置のタイミングになるまで、強制オン制御を導通切り替え部40に継続させ、導通型が山ON型であれば、搬送波Scwの谷の位置のタイミングになるまで、強制オン制御を導通切り替え部40に継続させる。
 そして、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの山の位置のタイミングになると、強制オン制御を導通切り替え部40に解除させ、導通型が山ON型であれば、搬送波Scwの谷の位置のタイミングになると、強制オン制御を導通切り替え部40に解除させる。
 なお、セクション切り替え補償部41は、セクション決定部34からのセクション切り替え要求の出力時が強制オン制御の解除タイミングである場合、上述した強制オン制御を導通切り替え部40に実行させることなく、セクション切り替え要求を導通切り替え部40に出力する。
 図23は、実施形態に係るモータ制御装置1の導通制御部36における第4切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図23に示す処理は、セクション決定部34からセクション切り替え要求が出力された場合に開始される。図23に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、セクション切り替えタイミングから搬送波Scwの谷の位置のタイミングになるまで、U相の上アーム11を強制的にオンにさせる制御を導通切り替え部40に実行させる。
 これにより、図23に示すように、U相の上アーム11が搬送波Scwの谷の位置のタイミングになるまで強制的にオンになる。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通相における負電流が抑制される。
 図24は、実施形態に係るモータ制御装置1の導通制御部36における第4切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図24に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。
 図24に示すように、導通制御部36は、セクション決定部34からセクション切り替え要求が出力されると、対象アームを強制的にオンにし、セクション切り替えを実行する(ステップS50)。そして、導通制御部36は、搬送波Scwを監視する(ステップS51)。
 次に、導通制御部36は、設定部35から出力される導通型情報で示される導通型が谷ON型であるか否かを判定する(ステップS52)。導通制御部36は、導通型が谷ON型であると判定した場合(ステップS52:Yes)、搬送波Scwの谷に到達したか否かを判定する(ステップS53)。導通制御部36は、搬送波Scwの谷に到達していないと判定した場合(ステップS53:No)、処理をステップS51に移行する。
 導通制御部36は、導通型が谷ON型ではなく山ON型であると判定した場合(ステップS52:No)、搬送波Scwの山に到達したか否かを判定する(ステップS54)。導通制御部36は、搬送波Scwの山に到達していないと判定した場合(ステップS54:No)、処理をステップS51に移行する。
 導通制御部36は、搬送波Scwの谷に到達したと判定した場合(ステップS53:Yes)、または搬送波Scwの山に到達したと判定した場合(ステップS54:Yes)、対象アームの強制オンを解除する(ステップS55)。導通制御部36は、ステップS55の処理が終了した場合、図24に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS52において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS53に移行し、導通型が谷ON型である場合、処理をステップS54に移行する。
<2.3.6.3.5.第5切り替え補償方法>
 第5切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較結果に基づいて、上述した対象アームを予め定められたタイミングになるまで強制的にオフ状態にしてPWM制御の対象となる導通相を非導通にすることで、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。
 予め定められたタイミングは、設定部35から出力される制御型情報および導通型情報で示される制御型および導通型の組み合わせによって異なる。例えば、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であるとする。この場合、予め定められたタイミングは、導通型が谷ON型であれば、搬送波Scwの谷の位置になるタイミングまたはコンペア値Scompが搬送波Scwよりも大きくなったタイミングであり、導通型が山ON型であれば、搬送波Scwの山の位置になるタイミングまたはコンペア値Scompが搬送波Scw以下になったタイミングである。
 また、制御型がLow-sidePWM制御型であるとする。この場合、予め定められたタイミングは、導通型が山ON型であれば、搬送波Scwの谷の位置になるタイミングまたはコンペア値Scompが搬送波Scwよりも大きくなったタイミングであり、導通型が谷ON型であれば、搬送波Scwの山の位置になるタイミングまたはコンペア値Scompが搬送波Scw以下になったタイミングである。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、搬送波Scwを監視する。セクション切り替え補償部41は、設定部35から出力される制御型情報および導通型情報で示される制御型および導通型を判定する。
 セクション切り替え補償部41は、セクション切り替え要求を導通切り替え部40に出力すると共に、コンペア値Scompと搬送波Scwとの比較結果に基づいて、対象アームを強制的にオフにさせる制御である強制オフ制御を予め定められたタイミングまで導通切り替え部40に実行させる。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であり、導通型が谷ON型であり且つScomp≦Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの谷になるまで対象アームを強制的にオフにさせる制御である強制オフ制御を導通切り替え部40に実行させる。
 また、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であり、導通型が山ON型であり且つScomp>Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの山になるまで強制オフ制御を導通切り替え部40に実行させる。
 また、制御型がLow-sidePWM制御型であり、導通型が山ON型であり且つScomp≦Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの谷になるまで対象アームを強制的にオンにさせる制御である強制オン制御を導通切り替え部40に実行させる。
 また、制御型がLow-sidePWM制御型であり、導通型が谷ON型であり且つScomp>Scwであるとする。この場合、セクション切り替え補償部41は、例えば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの山になるまで強制オン制御を導通切り替え部40に実行させる。
 そして、セクション切り替え補償部41は、予め定められたタイミングになると、強制オフ制御を導通切り替え部40に解除させる。例えば、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの谷の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させ、導通型が山ON型であれば、搬送波Scwの山の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させる。
 また、制御型がLow-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が山ON型であれば、搬送波Scwの谷の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させ、導通型が谷ON型であれば、搬送波Scwの山の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させる。
 なお、セクション切り替え補償部41は、セクション決定部34からのセクション切り替え要求の出力時が予め定められたタイミングである場合、上述した強制オフ制御を導通切り替え部40に実行させることなく、セクション切り替え要求を導通切り替え部40に出力する。
 導通切り替え部40は、セクション切り替え補償部41から出力されるセクション切り替え要求と、デューティ演算部32から出力されるデューティ値Sdutyから得られるコンペア値Scompと、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される導通型情報および制御型情報とに基づいて、セクション切り替えを実行する。
 図25は、実施形態に係るモータ制御装置1の導通制御部36における第5切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図25に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、Scomp≦Scwであれば、セクション切り替え要求を導通切り替え部40に出力すると共に、搬送波Scwの谷の位置のタイミングになるまでU相の上アーム11および下アーム12を強制的にオフする制御を導通切り替え部40に実行させる。
 これにより、図25に示すように、搬送波Scwの谷の位置のタイミングになるまでU相の上アーム11および下アーム12が強制的にオフになる。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11および下アーム12がオフであり、High-side導通相における負電流が抑制される。
 図26は、実施形態に係るモータ制御装置1の導通制御部36における第5切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図26に示す処理は、セクション決定部34からセクション切り替え要求が出力された場合に開始される。図26に示すステップS60~S63,S65,S66の処理は、図21に示すステップS30~S33,S35,S36の処理と同じであるため、説明を省略する。
 図26に示すように、導通制御部36は、Scomp>Scwではないと判定した場合(ステップS62:No)またはScomp≦Scwではないと判定した場合(ステップS63:No)、強制オフ処理を実行する(ステップS64)。ステップS64の処理は、図27に示すステップS70~S75の処理であり、後で詳述する。
 図27は、実施形態に係るモータ制御装置の導通制御部における強制オフ処理の一例を示すフローチャートである。図27に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例である。図27に示すステップS71~S74の処理は、図22に示すステップS41~S44の処理と同じであるため、説明を省略する。
 図27に示すように、導通制御部36は、対象アームを強制的にオフにし、セクション切り替えを実行する(ステップS70)。
 また、導通制御部36は、搬送波Scwの谷に到達したと判定した場合(ステップS73:Yes)、または搬送波Scwの山に到達したと判定した場合(ステップS74:Yes)、対象アームの強制オフを解除する処理を実行する(ステップS75)。導通制御部36は、ステップS75の処理が終了した場合、図27に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS72において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS73に移行し、導通型が谷ON型である場合、処理をステップS74に移行する。
<2.3.6.3.6.第6切り替え補償方法>
 第6切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較を行うことなく、上述した対象アームを搬送波Scwの谷または山のタイミングまで強制的にオフ状態にして非導通にすることで、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。第6切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較を行わないことから、第5切り替え補償方法に比べて、セクション切り替え補償部41の処理負荷を低減することができる。
 セクション切り替え補償部41は、導通切り替え部40からセクション切り替え要求が出力された場合、セクション切り替え要求を導通切り替え部40に出力すると共に、対象アームを強制的にオフにさせる制御である強制オフ制御を導通切り替え部40に実行させる。そして、セクション切り替え補償部41は、搬送波Scwを監視する。セクション切り替え補償部41は、設定部35から出力される制御型情報および導通型情報で示される制御型および導通型を判定する。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの谷の位置のタイミングになるまで、強制オフ制御を導通切り替え部40に継続させ、導通型が山ON型であれば、搬送波Scwの山の位置のタイミングになるまで、強制オフ制御を導通切り替え部40に継続させる。
 そして、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波Scwの谷の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させ、導通型が山ON型であれば、搬送波Scwの山の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させる。
 また、制御型がLow-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が山ON型であれば、搬送波Scwの谷の位置のタイミングになるまで、強制オフ制御を導通切り替え部40に継続させ、導通型が谷ON型であれば、搬送波Scwの山の位置のタイミングになるまで、強制オフ制御を導通切り替え部40に継続させる。
 そして、セクション切り替え補償部41は、導通型が山ON型であれば、搬送波Scwの谷の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させ、導通型が谷ON型であれば、搬送波Scwの山の位置のタイミングになると、強制オフ制御を導通切り替え部40に解除させる。
 なお、セクション切り替え補償部41は、セクション決定部34からのセクション切り替え要求の出力時が強制オフ制御の解除タイミングである場合、上述した強制オフ制御を導通切り替え部40に実行させることなく、セクション切り替え要求を導通切り替え部40に出力する。
 図28は、実施形態に係るモータ制御装置1の導通制御部36における第6切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図28に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、セクション切り替えタイミングから搬送波Scwの谷の位置のタイミングになるまで、U相の上アーム11と下アーム12とを強制的にオフにさせる制御を導通切り替え部40に実行させる。
 これにより、図28に示すように、U相の上アーム11と下アーム12とが搬送波Scwの谷の位置のタイミングになるまで強制的にオフになる。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11と下アーム12とがオフであり、High-side導通相における負電流が抑制される。
 図29は、実施形態に係るモータ制御装置1の導通制御部36における第6切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図29に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。図29に示すステップS81~S84の処理は、図24に示すステップS51~S54の処理と同じであり、説明を省略する。
 図29に示すように、導通制御部36は、セクション決定部34からセクション切り替え要求が出力されると、対象アームを強制的にオフにし、セクション切り替えを実行する(ステップS80)。そして、導通制御部36は、搬送波Scwを監視する(ステップS81)。
 また、導通制御部36は、搬送波Scwの谷に到達したと判定した場合(ステップS83:Yes)、または搬送波Scwの山に到達したと判定した場合(ステップS84:Yes)、対象アームの強制オフを解除する(ステップS85)。導通制御部36は、ステップS85の処理が終了した場合、図29に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS82において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS83に移行し、導通型が谷ON型である場合、処理をステップS84に移行する。
<2.3.6.3.7.第7切り替え補償方法>
 第7切り替え補償方法は、コンペア値Scompと搬送波Scwとの比較結果に基づいて、予め定められた導通型切り替え条件を満たす場合に、導通型を切り替えることで、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。導通型の切り替えは、例えば、切り替え前のセクションでの導通型が谷ON型である場合、切り替え先のセクションでの導通型を山ON型に変更し、切り替え前のセクションでの導通型が山ON型である場合、切り替え先のセクションでの導通型を谷ON型に変更することによって行われる。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、搬送波Scwを監視する。セクション切り替え補償部41は、設定部35から出力される制御型情報で示される制御型および切り替え前のセクションでの導通型を判定する。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、切り替え前のセクションでの導通型が谷ON型であれば、Scomp≦Scwであるか否かを判定し、切り替え前のセクションでの導通型が山ON型であれば、Scomp>Scwであるか否かを判定する。
 また、制御型がLow-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、切り替え前のセクションでの導通型が山ON型であれば、Scomp≦Scwであるか否かを判定し、切り替え前のセクションでの導通型が谷ON型であれば、Scomp>Scwであるか否かを判定する。
 セクション切り替え補償部41は、切り替え前のセクションでの導通型の判定結果と、コンペア値Scompと搬送波Scwとの比較結果とに基づいて、セクション切り替え要求を導通切り替え部40に出力する。
 導通切り替え部40は、セクション切り替え補償部41から出力されるセクション切り替え要求と、デューティ演算部32から出力されるデューティ値Sdutyから得られるコンペア値Scompと、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される導通型情報および制御型情報とに基づいて、セクション切り替えを実行する。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であり、切り替え前のセクションでの導通型が谷ON型であるとする。この場合、Scomp≦Scwであれば、予め定められた導通型切り替え条件を満たす。そのため、セクション切り替え補償部41は、Scomp≦Scwであれば、切り替え先のセクションを示す情報と、切り替え先のセクションでの導通型が山ON型であることを示す情報とを含むセクション切り替え要求を導通切り替え部40に出力する。この場合、導通切り替え部40は、導通型が谷ON型である場合のコンペア値Scompを反転させた値、すなわち、デューティ演算部32から出力されるデューティ値Sdutyを反転させた値をコンペア値Scompとして用い、導通型を谷ON型から山ON型に変更してセクション切り替えを実行する。
 また、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型であり、切り替え前のセクションでの導通型が山ON型であるとする。この場合、Scomp>Scwであれば、予め定められた導通型切り替え条件を満たす。そのため、セクション切り替え補償部41は、Scomp>Scwであれば、切り替え先のセクションを示す情報と、切り替え先のセクションでの導通型が谷ON型であることを示す情報とを含むセクション切り替え要求を導通切り替え部40に出力する。この場合、導通切り替え部40は、導通型が山ON型に比べてコンペア値Scompを反転させた値、すなわち、デューティ演算部32から出力されるデューティ値Sdutyをコンペア値Scompとして用い、導通型を山ON型から谷ON型に変更してセクション切り替えを実行する。
 また、制御型がLow-sidePWM制御型であり、切り替え前のセクションでの導通型が谷ON型であるとする。この場合、Scomp>Scwであれば、予め定められた導通型切り替え条件を満たす。そのため、セクション切り替え補償部41は、Scomp>Scwであれば、切り替え先のセクションを示す情報と、切り替え先のセクションでの導通型が山ON型であることを示す情報とを含むセクション切り替え要求を導通切り替え部40に出力する。この場合、導通切り替え部40は、導通型が谷ON型である場合のコンペア値Scompを反転させた値、すなわち、デューティ演算部32から出力されるデューティ値Sdutyをコンペア値Scompとして用い、導通型を谷ON型から山ON型に変更してセクション切り替えを実行する。
 また、制御型がLow-sidePWM制御型であり、切り替え前のセクションでの導通型が山ON型であるとする。この場合、Scomp≦Scwであれば、予め定められた導通型切り替え条件を満たす。そのため、セクション切り替え補償部41は、Scomp≦Scwであれば、切り替え先のセクションを示す情報と、切り替え先のセクションでの導通型が谷ON型であることを示す情報とを含むセクション切り替え要求を導通切り替え部40に出力する。この場合、導通切り替え部40は、導通型が山ON型に比べてコンペア値Scompを反転させた値、すなわち、デューティ演算部32から出力されるデューティ値Sdutyを反転させた値をコンペア値Scompとして用い、導通型を山ON型から谷ON型に変更してセクション切り替えを実行する。
 なお、セクション切り替え補償部41は、上述した導通型切り替え条件を満たさない場合、導通型の切り替えを導通切り替え部40に実行させない。
 図30は、実施形態に係るモータ制御装置1の導通制御部36における第7切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図30に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、Scomp≦Scwであれば、セクション切り替え要求を導通切り替え部40に出力する。セクション切り替え要求には、切り替え先のセクションを示す情報と、切り替え先のセクションでの導通型が山ON型であることを示す情報とを含む。
 これにより、図30に示すように、セクション5からセクション0への切り替え時において、導通型が谷ON型から山ON型に変更される。そのため、セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通相における負電流が抑制される。
 図31は、実施形態に係るモータ制御装置1の導通制御部36における第7切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図31に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。図31に示すステップS90~S93,S95の処理は、図21に示すステップS30~S33,S35の処理と同じであり、説明を省略する。
 図31に示すように、導通制御部36は、Scomp>Scwではないと判定した場合(ステップS92:No)、またはScomp≦Scwではないと判定した場合(ステップS93:No)、導通型の切り替えを行う(ステップS94)。
 ステップS94の処理において、導通制御部36は、切り替え前のセクションでの導通型が谷ON型である場合、切り替え先のセクションでの導通型を山ON型に切り替える。また、導通制御部36は、ステップS94の処理において、切り替え前のセクションでの導通型が山ON型である場合、切り替え先のセクションでの導通型を谷ON型に切り替える。また、導通制御部36は、導通型の切り替えに伴って、導通型の切り替え前のコンペア値Scompを反転させた値を導通型の切り替え後のコンペア値Scompとして用いる。
 なお、制御型がLow-sidePWM制御型である場合、ステップS91において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS92に移行し、導通型が谷ON型である場合、処理をステップS93に移行する。
<2.3.6.3.8.第8切り替え補償方法>
 第8切り替え補償方法は、搬送波Scwをリセットすることによって、セクション切り替え時においてHigh-side導通相における負電流またはPWM制御されるLow-side導通相における正電流を抑制する。
 セクション切り替え補償部41は、セクション決定部34からセクション切り替え要求が出力された場合、搬送波生成部33のカウンタの値を初期化して搬送波Scwをリセットすると共に、セクション切り替え要求を導通切り替え部40に出力する。
 ここで、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型とする。この場合、セクション切り替え補償部41は、導通型が谷ON型であれば、搬送波生成部33のカウンタの値を搬送波Scwの谷の位置の値(例えば、0)に設定し、導通型が山ON型であれば、搬送波生成部33のカウンタの値を搬送波Scwの山の位置の値に設定する。
 また、制御型がLow-sidePWM制御型であるとする。この場合、セクション切り替え補償部41は、導通型が山ON型であれば、搬送波生成部33のカウンタの値を搬送波Scwの谷の位置の値(例えば、0)に設定し、導通型が谷ON型であれば、搬送波生成部33のカウンタの値を搬送波Scwの山の位置の値に設定する。
 導通切り替え部40は、セクション切り替え補償部41から出力されるセクション切り替え要求と、デューティ演算部32から出力されるデューティ値Sdutyから得られるコンペア値Scompと、搬送波生成部33から出力される搬送波Scwと、設定部35から出力される導通型情報および制御型情報とに基づいて、セクション切り替えを実行する。
 図32は、実施形態に係るモータ制御装置1の導通制御部36における第8切り替え補償方法を用いたインバータ回路10の制御の一例を示す図である。図32に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、谷ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、搬送波生成部33のカウンタの値を搬送波Scwの谷の位置の値(例えば、0)に設定して搬送波Scwをリセットする。
 これにより、図32に示すように、セクション5からセクション0への切り替え時のタイミングが搬送波Scwの谷の位置になる。セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通相における負電流が抑制される。
 図33は、実施形態に係るモータ制御装置1の導通制御部36における第8切り替え補償方法を用いたインバータ回路10の制御の他の例を示す図である。図33に示す例では、制御型、導通型、および通電方式がHigh-sidePWM制御型、山ON型、および120度通電方式であり、セクション5からセクション0への切り替え前後の様子が示されている。
 セクション切り替え補償部41は、セクション切り替え要求がセクション決定部34から出力された場合に、搬送波生成部33のカウンタの値を搬送波Scwの山の位置の値に設定して搬送波Scwをリセットする。
 これにより、図33に示すように、セクション5からセクション0への切り替え時のタイミングが搬送波Scwの谷の位置になる。セクション5からセクション0への切り替え時において、High-side導通相であるU相の上アーム11がオンであり、High-side導通相における負電流が抑制される。
 図34は、実施形態に係るモータ制御装置1の導通制御部36における第8切り替え補償方法を用いたインバータ回路10の制御の一例を示すフローチャートである。図34に示す処理は、制御型がHigh-sidePWM制御型またはBoth-sidePWM制御型の場合の例であり、セクション決定部34からセクション切り替え要求が出力された場合に開始される。
 図34に示すように、導通制御部36は、セクション決定部34からセクション切り替え要求が出力されると、設定部35から出力される導通型情報で示される導通型が谷ON型であるか否かを判定する(ステップS100)。導通制御部36は、導通型が谷ON型であると判定した場合(ステップS100:Yes)、搬送波生成部33のカウンタの値を搬送波Scwの谷の位置の値に設定して搬送波Scwをリセットする(ステップS101)。
 また、導通制御部36は、導通型が谷ON型ではなく山ON型であると判定した場合(ステップS100:No)、搬送波生成部33のカウンタの値を搬送波Scwの山の位置の値に設定して搬送波Scwをリセットする(ステップS102)。
 導通制御部36は、ステップS101の処理が終了した場合またはステップS102の処理が終了した場合、セクション切り替えを実行する(ステップS103)。導通制御部36は、ステップS103の処理が終了した場合、図34に示す処理を終了する。
 なお、制御型がLow-sidePWM制御型である場合、ステップS100において、設定部35から出力される導通型情報で示される導通型が山ON型であるか否かが判定される。導通制御部36は、導通型が山ON型である場合、処理をステップS101に移行し、導通型が山ON型である場合、処理をステップS102に移行する。
<2.3.6.3.9.セクション切り替え補償による効果>
 導通制御部36は、上述したセクション切り替え補償を行うことで、セクションの切り替え時において、複数の導通相のうちHigh-side導通相から負電流が流れることを抑制することができ、モータ2の出力トルクの低下を抑制することができる。
 図35は、実施形態に係るモータ制御装置1においてセクション切り替え補償部41によるセクション切り替え補償が行われる場合のセクション5からセクション0への切り替え前後のU相電圧、U相電流、および出力トルクを示す図である。図35に示す例では、導通型、制御型、および通電方式が、谷ON型、High-sidePWM制御型、および120度通電方式である。図34において、2つのグラフの横軸は、時間であり、2つのグラフの縦軸は、U相電圧およびU相電流である。
 セクション切り替え補償部41によるセクション切り替え補償が行われる合、図35に示すように、セクション5からセクション0への切り替え時において、セクション5からセクション0への切り替えタイミングが搬送波Scwの山の位置および山の位置のタイミングのいずれの場合であっても、High-side導通相であるU相に負電流が流れない。そのため、モータ制御装置1は、High-side導通相において負電流が流れることを抑制することができ、モータ2の出力トルクの低下を抑制することができる。
<2.3.7.ハードウェア構成>
 図36は、実施形態にかかるモータ制御装置1の制御部30のハードウェア構成の一例を示す図である。図36に示すように、制御部30は、プロセッサ101と、メモリ102と、入出力部103と、バス104とを備えるコンピュータを含む。プロセッサ101、メモリ102、および入出力部103は、バス104によって互いに情報の送受信が可能である。
 プロセッサ101は、メモリ102に記憶されたモータ制御プログラムを読み出して実行することによって、制御部30の機能を実行する。プロセッサ101は、例えば、処理回路の一例であり、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、およびシステムLSI(Large Scale Integration)のうち1つ以上を含む。
 メモリ102は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、およびEEPROM(登録商標)(Electrically Erasable Programmable Read Only Memory)のうち1つ以上を含む。入出力部103は、例えば、AD変換器、DA変換器、および入出力ポートなどを含む。
 なお、モータ制御装置1は、コンピュータが読み取り可能なモータ制御プログラムが記録された記録媒体からモータ制御プログラムを読み出すデータ読出部を備える構成であってもよい。プロセッサ101は、データ読出部を制御して記録媒体に記録されたモータ制御プログラムをデータ読出部から取得し、取得したモータ制御プログラムをメモリ102に記憶させることができる。記録媒体は、例えば、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルメモリ、光ディスク、コンパクトディスク、およびDVD(Digital Versatile Disc)のうち1つ以上を含む。
 また、モータ制御装置1は、ネットワークを介してサーバからモータ制御プログラムを受信する通信部を備えていてもよい。この場合、プロセッサ101は、通信部を介してサーバからモータ制御プログラムを取得し、取得したモータ制御プログラムをメモリ102に記憶させることができる。
 また、制御部30は、ASIC(Application Specific Integrated Circuit)およびFPGA(Field Programmable Gate Array)などの集積回路を含んでいてもよい。
<3.効果>
 上述してきたように、実施形態に係るモータ制御装置1は、3相のうち2相を少なくとも1相がPWM制御される通電相とし残りの1相を無通電相とする120度通電方式または3相を少なくとも1相がPWM制御される通電相とする180度通電方式によってモータ2を制御する。モータ制御装置1は、インバータ回路10と、セクション決定部34と、導通制御部36とを備える。インバータ回路10は、3相の相毎に上アーム11と下アーム12とを有する。セクション決定部34は、モータ2の電気角の互いに異なる範囲で区分される複数のセクションのうちモータの電気角に応じたセクションを決定する。導通制御部36は、セクション決定部34によって決定されたセクションに基づいて、インバータ回路10における複数の通電相の上アーム11および下アーム12の導通を制御する。導通制御部36は、セクション決定部34によって決定されたセクションへの切り替え時において切り替え先のセクションにおける複数の通電相のうちの電圧が最も高い通電相の負電流または電圧が最も低い通電相の正電流を抑制する処理を行うセクション切り替え補償部41を備える。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、導通制御部36は、複数の通電相のうちの1つ以上の通電相の上アーム11および下アーム12をPWM制御によりオンオフし、複数の通電相のうちの残りの通電相の下アーム12をオン状態に固定する制御を行う。セクション切り替え補償部41はセクション切り替え時に切り替え先のセクションにおける1つ以上の通電相の上アーム11を対象アームとしてオン状態から開始させる。これにより、モータ制御装置1は、High-sidePWM制御型の制御において、セクションの切り替え時に出力トルクの低下を抑制することができる。
 また、導通制御部36は、複数の通電相のうちの1つ以上の通電相の上アーム11をオン状態に固定し、複数の通電相のうちの残りの通電相の上アーム11および下アーム12をPWM制御によりオンオフする制御を行う。セクション切り替え補償部41は、セクション切り替え時に切り替え先のセクションにおける残りの通電相の下アーム12を対象アームとしてオン状態から開始させる。これにより、モータ制御装置1は、Low-sidePWM制御型の制御において、セクションの切り替え時に出力トルクの低下を抑制することができる。
 また、導通制御部36は、複数の通電相のうちの1つ以上の通電相の上アーム11および下アーム12を上アーム11のオン比率が下アーム12のオン比率よりも大きなPWM制御によりオンオフし、複数の通電相のうちの残りの通電相の上アーム11および下アーム12を1つ以上の通電相のPWM制御と相補的なPWM制御であって上アーム11のオン比率が下アーム12のオン比率よりも小さなPWM制御によりオンオフする。セクション切り替え補償部41は、セクション切り替え時に切り替え先のセクションにおける1つ以上の通電相の上アーム11と残りの通電相の下アーム12とを対象アームとしてオン状態から開始させる。これにより、モータ制御装置1は、Both-sidePWM制御型の制御に、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、セクション切り替え補償部41は、切り替え先のセクションへの切り替えタイミングを遅延させることで切り替え時に切り替え先のセクションにおける対象アームをオン状態から開始させる。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、セクション切り替え補償部41は、セクション切り替え時に切り替え先のセクションにおける対象アームを予め定められたタイミングになるまで強制的にオン状態にすることでセクション切り替え時に切り替え先のセクションにおける対象アームをオン状態から開始させる。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、導通制御部36は、目標とする出力トルクから算出されるコンペア値Scompが搬送波Scwよりも高い場合に上アーム11を導通させ、コンペア値Scompが搬送波Scwよりも低い場合に下アーム12を導通させる第1導通型と、コンペア値Scompが搬送波Scwよりも低い場合に上アーム11を導通させ、コンペア値Scompが搬送波Scwよりも高い場合に下アーム12を導通させる第2導通型とを選択的に用いることが可能である。セクション切り替え補償部41は、セクション切り替え時に搬送波Scwの中央値を基準としてコンペア値Scompを反転させ且つ第1導通型から第2導通型または第2導通型から第1導通型への変更を行うことでセクション切り替え時に切り替え先のセクションにおける対象アームをオン状態から開始させる。谷ON型は、第1通電型の一例であり、山ON型は、第2導通型の一例である。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、導通制御部36は、目標とする出力トルクから算出されるコンペア値Scompが搬送波Scwよりも高い場合に下アーム12を導通させ、コンペア値Scompが搬送波Scwよりも低い場合に上アーム11を導通させる第1導通型と、コンペア値Scompが搬送波Scwよりも低い場合に下アーム12を導通させ、コンペア値Scompが搬送波Scwよりも高い場合に上アーム11を導通させる第2導通型とを選択的に用いることが可能である。セクション切り替え補償部41は、セクション切り替え時に搬送波Scwの中央値を基準としてコンペア値Scompを反転させ且つ第1導通型から第2導通型または第2導通型から第1導通型への変更を行うことでセクション切り替え時に切り替え先のセクションにおける対象アームをオン状態から開始させる。山ON型は、第1通電型の一例であり、谷ON型は、第2導通型の一例である。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、導通制御部36は、目標とする出力トルクから算出されるコンペア値Scompが搬送波Scwよりも高い場合に上アーム11を導通させ、コンペア値Scompが搬送波Scwよりも低い場合に下アーム12を導通させる。セクション切り替え補償部41は、セクション切り替え時に搬送波Scwをリセットして搬送波Scwを谷の位置から開始させることによってセクション切り替え時に切り替え先のセクションにおける対象アームをオン状態から開始させる。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、導通制御部36は、目標とする出力トルクから算出されるコンペア値Scompが搬送波Scwよりも低い場合に上アーム11を導通させ、コンペア値Scompが搬送波Scwよりも高い場合に下アーム12を導通させる。セクション切り替え補償部41は、セクション切り替え時に搬送波Scwをリセットして搬送波Scwを山の位置から開始させることによってセクション切り替え時に切り替え先のセクションにおける対象アームをオン状態から開始させる。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 また、セクション切り替え補償部41は、セクション切り替え時に複数の通電相のうちPWM制御の対象となる通電相を予め定められたタイミングになるまで強制的に非導通にする。これにより、モータ制御装置1は、セクションの切り替え時において出力トルクの低下を抑制することができる。
 今回開示された実施形態は全ての点で例示であって制限的なものではないと考えられるべきである。実に、上記した実施形態は多様な形態で具現され得る。また、上記の実施形態は、添付の特許請求の範囲およびその趣旨を逸脱することなく、様々な形態で省略、置換、変更されてもよい。
 1 モータ制御装置、2 モータ、3 位置検出装置、10 インバータ回路、11,11,11,11 上アーム、12,12,12,12 下アーム、13,13,13,13,13,13 スイッチング素子、14,14,14,14,14,14 ダイオード、15 ゲートドライバ、20 電流センサ、30 制御部、31 トルク指令出力部、32 デューティ演算部、33 搬送波生成部、34 セクション決定部、35 設定部、36 導通制御部、40 導通切り替え部、41 セクション切り替え補償部、100 モータモジュール

Claims (14)

  1.  3相のうち2相を少なくとも1相がPWM制御される通電相とし残りの1相を無通電相とする120度通電方式または3相を少なくとも1相がPWM制御される通電相とする180度通電方式によってモータを制御するモータ制御装置であって、
     前記3相の相毎に上アームと下アームとを有するインバータ回路と、
     前記モータの電気角の互いに異なる範囲で区分される複数のセクションのうち前記モータの電気角に応じたセクションを決定するセクション決定部と、
     前記セクション決定部によって決定されたセクションに基づいて、前記インバータ回路における複数の通電相の前記上アームおよび前記下アームの導通を制御する導通制御部と、を備え、
     前記導通制御部は、
     前記セクション決定部によって決定されたセクションへの切り替え時において切り替え先のセクションにおける前記複数の通電相のうちの電圧が最も高い通電相の負電流または電圧が最も低い通電相の正電流を抑制する処理を行うセクション切り替え補償部を備える
     ことを特徴とするモータ制御装置。
  2.  前記導通制御部は、
     前記複数の通電相のうちの1つ以上の通電相の前記上アームおよび前記下アームをPWM制御によりオンオフし、前記複数の通電相のうちの残りの通電相の前記下アームをオン状態に固定する制御を行い、
     前記セクション切り替え補償部は、
     前記切り替え時に前記切り替え先のセクションにおける前記1つ以上の通電相の前記上アームを対象アームとしてオン状態から開始させる
     ことを特徴とする請求項1に記載のモータ制御装置。
  3.  前記導通制御部は、
     前記複数の通電相のうちの1つ以上の通電相の前記上アームをオン状態に固定し、前記複数の通電相のうちの残りの通電相の前記上アームおよび前記下アームをPWM制御によりオンオフする制御を行い、
     前記セクション切り替え補償部は、
     前記切り替え時に前記切り替え先のセクションにおける前記残りの通電相の前記下アームを対象アームとしてオン状態から開始させる
     ことを特徴とする請求項1に記載のモータ制御装置。
  4.  前記導通制御部は、
     前記複数の通電相のうちの1つ以上の通電相の前記上アームおよび前記下アームを前記上アームのオン比率が前記下アームのオン比率よりも大きなPWM制御によりオンオフし、前記複数の通電相のうちの残りの通電相の前記上アームおよび前記下アームを前記1つ以上の通電相のPWM制御と相補的なPWM制御であって前記上アームのオン比率が前記下アームのオン比率よりも小さなPWM制御によりオンオフし、
     前記セクション切り替え補償部は、
     前記切り替え時に前記切り替え先のセクションにおける前記1つ以上の通電相の前記上アームと前記残りの通電相の前記下アームとを対象アームとしてオン状態から開始させる
     ことを特徴とする請求項1に記載のモータ制御装置。
  5.  前記セクション切り替え補償部は、
     前記切り替え先のセクションへの切り替えタイミングを遅延させることで前記切り替え時に前記切り替え先のセクションにおける前記対象アームをオン状態から開始させる
     ことを特徴とする請求項2~4のいずれか1つに記載のモータ制御装置。
  6.  前記セクション切り替え補償部は、
     前記切り替え時に前記切り替え先のセクションにおける前記対象アームを予め定められたタイミングになるまで強制的にオン状態にすることで前記切り替え時に前記切り替え先のセクションにおける前記対象アームをオン状態から開始させる
     ことを特徴とする請求項2~4のいずれか1つに記載のモータ制御装置。
  7.  前記導通制御部は、
     目標とする出力トルクから算出されるコンペア値が搬送波よりも高い場合に前記上アームを導通させ、前記コンペア値が前記搬送波よりも低い場合に前記下アームを導通させる第1導通型と、前記コンペア値が前記搬送波よりも低い場合に前記上アームを導通させ、前記コンペア値が前記搬送波よりも高い場合に前記下アームを導通させる第2導通型とを選択的に用いることが可能であり、
     前記セクション切り替え補償部は、
     前記切り替え時に前記搬送波の中央値を基準として前記コンペア値を反転させ且つ前記第1導通型から前記第2導通型または前記第2導通型から前記第1導通型への変更を行うことで前記切り替え時に前記切り替え先のセクションにおける前記対象アームをオン状態から開始させる
     ことを特徴とする請求項2または4に記載のモータ制御装置。
  8.  前記導通制御部は、
     目標とする出力トルクから算出されるコンペア値が搬送波よりも高い場合に前記下アームを導通させ、前記コンペア値が前記搬送波よりも低い場合に前記上アームを導通させる第1導通型と、前記コンペア値が前記搬送波よりも低い場合に前記下アームを導通させ、前記コンペア値が前記搬送波よりも高い場合に前記上アームを導通させる第2導通型とを選択的に用いることが可能であり、
     前記セクション切り替え補償部は、
     前記切り替え時に前記搬送波の中央値を基準として前記コンペア値を反転させ且つ前記第1導通型から前記第2導通型または前記第2導通型から前記第1導通型への変更を行うことで前記切り替え時に前記切り替え先のセクションにおける前記対象アームをオン状態から開始させる
     ことを特徴とする請求項3に記載のモータ制御装置。
  9.  前記導通制御部は、
     目標とする出力トルクから算出されるコンペア値が搬送波よりも高い場合に前記上アームを導通させ、前記コンペア値が前記搬送波よりも低い場合に前記下アームを導通させ、
     前記セクション切り替え補償部は、
     前記切り替え時に前記搬送波をリセットして前記搬送波を谷の位置から開始させることによって前記切り替え時に前記切り替え先のセクションにおける前記対象アームをオン状態から開始させる
     ことを特徴とする請求項2~4のいずれか1つに記載のモータ制御装置。
  10.  前記導通制御部は、
     目標とする出力トルクから算出されるコンペア値が搬送波よりも低い場合に前記上アームを導通させ、前記コンペア値が前記搬送波よりも高い場合に前記下アームを導通させ、
     前記セクション切り替え補償部は、
     前記切り替え時に前記搬送波をリセットして前記搬送波を山の位置から開始させることによって前記切り替え時に前記切り替え先のセクションにおける前記対象アームをオン状態から開始させる
     ことを特徴とする請求項2~4のいずれか1つに記載のモータ制御装置。
  11.  前記セクション切り替え補償部は、
     前記切り替え時に前記複数の通電相のうちPWM制御の対象となる通電相を予め定められたタイミングになるまで強制的に非導通にする
     ことを特徴とする請求項1に記載のモータ制御装置。
  12.  請求項1~11のいずれか1つに記載のモータ制御装置と前記モータとを備える
     ことを特徴とするモータモジュール。
  13. 3相のうち2相を少なくとも1相がPWM制御される通電相とし残りの1相を無通電相とする120度通電方式または3相を少なくとも1相がPWM制御される通電相とする180度通電方式によってモータを制御する処理をコンピュータに実行させるモータ制御プログラムであって、
     前記モータの電気角の互いに異なる範囲で区分される複数のセクションのうち前記モータの電気角に応じたセクションを決定するセクション決定手順と、
     前記セクション決定手順によって決定されたセクションに基づいて、前記3相の相毎に上アームと下アームとを有するインバータ回路における前記通電相の前記上アームおよび前記下アームの導通を制御する導通制御手順と、をコンピュータに実行させ、
     前記導通制御手順は、
     前記セクション決定手順によって決定されたセクションへの切り替え時において切り替え先のセクションにおける複数の通電相のうちの電圧が最も高い通電相の負電流または電圧が最も低い通電相の正電流を抑制する処理を行うセクション切り替え補償手順を含む
     ことを特徴とするモータ制御プログラム。
  14. 3相のうち2相を少なくとも1相がPWM制御される通電相とし残りの1相を無通電相とする120度通電方式または3相を少なくとも1相がPWM制御される通電相とする180度通電方式によってモータを制御するモータ制御方法であって、
     前記モータの電気角の互いに異なる範囲で区分される複数のセクションのうち前記モータの電気角に応じたセクションを決定するセクション決定工程と、
     前記セクション決定工程によって決定されたセクションに基づいて、前記3相の相毎に上アームと下アームとを有するインバータ回路における前記通電相の前記上アームおよび前記下アームの導通を制御する導通制御工程と、を含み、
     前記導通制御工程は、
     前記セクション決定工程によって決定されたセクションへの切り替え時において切り替え先のセクションにおける複数の通電相のうちの電圧が最も高い通電相の負電流または電圧が最も低い通電相の正電流を抑制する処理を行うセクション切り替え補償工程を含む
     ことを特徴とするモータ制御方法。
PCT/JP2023/011847 2022-03-28 2023-03-24 モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法 WO2023190174A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-052562 2022-03-28
JP2022052562 2022-03-28

Publications (1)

Publication Number Publication Date
WO2023190174A1 true WO2023190174A1 (ja) 2023-10-05

Family

ID=88201466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/011847 WO2023190174A1 (ja) 2022-03-28 2023-03-24 モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法

Country Status (1)

Country Link
WO (1) WO2023190174A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019244743A1 (ja) * 2018-06-19 2019-12-26 パナソニックIpマネジメント株式会社 モータ駆動装置およびこれを用いた冷蔵庫
JP2020137231A (ja) * 2019-02-19 2020-08-31 三菱電機株式会社 電力変換装置、発電電動機の制御装置、および、電動パワーステアリング装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019244743A1 (ja) * 2018-06-19 2019-12-26 パナソニックIpマネジメント株式会社 モータ駆動装置およびこれを用いた冷蔵庫
JP2020137231A (ja) * 2019-02-19 2020-08-31 三菱電機株式会社 電力変換装置、発電電動機の制御装置、および、電動パワーステアリング装置

Similar Documents

Publication Publication Date Title
JP6067105B2 (ja) 電力変換装置、およびそれを備えたモータ駆動装置、およびそれを備えた送風機、圧縮機、およびそれらを備えた空気調和機、冷蔵庫、ならびに冷凍機
EP2256917B1 (en) Device for driving an inverter
US8283880B2 (en) Motor drive device with function of switching to power regenerative operation mode
JPWO2018158807A1 (ja) 半導体装置、および、電力変換システム
TW200924366A (en) Matrix converter
JP4756451B2 (ja) インバータ装置
JP2019527027A (ja) 電流コンバータの駆動方法およびその方法で駆動される電流コンバータ
JP2002272125A (ja) 電力変換器の制御装置
JP6826928B2 (ja) インバータ装置、空気調和機、インバータ装置の制御方法及びプログラム
JP2015033149A (ja) 半導体素子の駆動装置及びそれを用いた電力変換装置
WO2023190174A1 (ja) モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法
JP7051008B2 (ja) 並列駆動装置及び電力変換装置
EP3382870A1 (en) Inverter apparatus, air conditioner, method of controlling inverter apparatus, and program
JP2003309975A (ja) Pwmサイクロコンバータ及びその制御方法
JP2009296846A (ja) 車両用インバータ装置
JP2020058230A (ja) 電流検出装置
JP4655056B2 (ja) スイッチング素子の駆動装置
JP2010154726A (ja) 電力変換器の制御方法
JP6516181B2 (ja) 電力変換回路およびそれを用いた電力変換装置
JP4369500B2 (ja) 回転電機装置
CN111630401B (zh) 半导体装置以及电力变换装置
WO2023190173A1 (ja) モータ制御装置、モータモジュール、モータ制御プログラム、およびモータ制御方法
JP2021126038A (ja) 電力変換装置
WO2024071023A1 (ja) モータ制御装置、モータモジュール、モータ制御プログラム及びモータ制御方法
WO2018225393A1 (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: 23780184

Country of ref document: EP

Kind code of ref document: A1