WO2011040168A1 - 電動機駆動装置の制御装置 - Google Patents

電動機駆動装置の制御装置 Download PDF

Info

Publication number
WO2011040168A1
WO2011040168A1 PCT/JP2010/064907 JP2010064907W WO2011040168A1 WO 2011040168 A1 WO2011040168 A1 WO 2011040168A1 JP 2010064907 W JP2010064907 W JP 2010064907W WO 2011040168 A1 WO2011040168 A1 WO 2011040168A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
cycle
current
voltage
phase
Prior art date
Application number
PCT/JP2010/064907
Other languages
English (en)
French (fr)
Inventor
島田有礼
中村充
スブラタ サハ
岩月健
Original Assignee
アイシン・エィ・ダブリュ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by アイシン・エィ・ダブリュ株式会社 filed Critical アイシン・エィ・ダブリュ株式会社
Priority to CN201080028552.3A priority Critical patent/CN102474208B/zh
Priority to DE112010002402T priority patent/DE112010002402T5/de
Publication of WO2011040168A1 publication Critical patent/WO2011040168A1/ja

Links

Images

Classifications

    • 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
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/0003Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • 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
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/74Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors controlling two or more ac dynamo-electric motors

Definitions

  • the present invention relates to a control device that controls a motor drive device including an inverter that converts a DC voltage into an AC voltage and supplies the AC voltage to an AC motor, and performs current feedback control of the AC motor.
  • a control device that controls an electric motor drive device including an inverter that converts a DC voltage from a DC power source into an AC voltage and supplies the AC voltage to an AC motor, and performs current feedback control of the AC motor is already known.
  • current feedback control is performed using a vector control method, and an inverter is controlled by PWM (pulse width modulation) control.
  • PWM pulse width modulation
  • a U-phase, V-phase, and W-phase three-phase AC current and voltage are applied to the d-axis that is the direction of the magnetic field of the permanent magnet disposed in the rotor and the q-axis that is orthogonal to the d-axis. Is converted into a two-axis DC current and voltage.
  • a two-phase voltage command value vd ′ is based on current command values id * and iq * given from the outside and actual current detection values id and iq flowing through the motor.
  • a current control process for deriving * and vq ′ * is performed.
  • two-phase voltage command values vd * and vq * in which the interference term is corrected are derived by non-interference calculation.
  • the voltage control unit derives the three-phase voltage command values vu *, vv *, and vw * based on the two-phase voltage command values vd * and vq * and the magnetic pole position ⁇ re that represents the rotational position of the rotor of the motor.
  • voltage control processing for generating a PWM signal is performed by comparing the carrier (triangular wave) with the three-phase voltage command values vu *, vv *, and vw *. Then, the inverter is driven and controlled by the PWM signal to supply AC power to the motor for driving.
  • this control device is configured so that vector control of two electric motors can be performed in common using one arithmetic processing unit. Then, one cycle of the PWM carrier is defined as an interrupt cycle, and the current detection values id and iq are read, current control processing, and voltage control processing are performed at a cycle that is twice the interrupt cycle or an integer n times. However, in this control device, using the current detection values id and iq once, the three-phase voltage command values vu *, vv *, and vw * for each interrupt period are calculated by one voltage control process. As a result, the output of the PWM signal can be obtained for each interrupt cycle.
  • a characteristic configuration of a control device that controls an electric motor drive device including an inverter that converts a direct current voltage into an alternating current voltage and supplies the alternating current voltage to the alternating current motor, and performs current feedback control of the alternating current motor includes: An AC voltage command value that is a command value of the AC voltage to be supplied is provided, and a voltage control unit that performs a voltage control process for generating a switching control signal of the inverter is provided, and the cycle of the electrical angle of the AC motor and the inverter A control mode selection unit that selects either a synchronous control mode that synchronizes the switching period and an asynchronous control mode that does not synchronize them; and when the synchronous control mode is selected, the coil of the AC motor While performing the current detection process for detecting the flowing current at every reference calculation cycle set to 1 ⁇ 2 of the carrier cycle
  • the voltage control processing is performed at a cycle N times the reference calculation cycle (N is an integer of 2 or more), and the current detection values for N times detected by the N current
  • the synchronous control mode that synchronizes the cycle of the electrical angle of the AC motor and the switching cycle of the inverter is selected, and the rotational speed of the rotor is relatively low.
  • the asynchronous control mode such as PWM control that generates the switching control signal of the inverter based on the carrier without synchronizing the cycle of the electrical angle of the AC motor and the switching cycle of the inverter. Desirable from the viewpoint of sex. Therefore, such a control mode is often selected.
  • the voltage control processing in the PWM control included in the asynchronous control mode, in order to generate the switching control signal, an AC voltage command value corresponding to the magnetic pole position is generated and a comparison operation with the carrier is performed. Inverter switching is performed every carrier cycle.
  • the synchronous control mode an on / off switching phase of switching corresponding to the magnetic pole position may be derived, and the inverter may be switched according to the on / off switching phase. For this reason, in the synchronous control mode, it is less necessary to perform the voltage control process in a shorter cycle than in the asynchronous control mode.
  • the current detection process is performed for each reference calculation period set to 1 ⁇ 2 of the carrier period, so that the rotational speed of the motor is relatively high, and the AC Since the current detection processing cycle (sampling cycle) is shortened in a state where the carrier frequency is relatively close to the frequency of the voltage command value, occurrence of aliasing in current sampling can be suppressed. Therefore, it can suppress that a current ripple flows into the coil of an electric motor.
  • the calculation load of the calculation processing unit is increased by shortening the cycle of the current detection process, but the calculation load required for the voltage control process is reduced by performing the voltage control process at a cycle N times the reference calculation cycle,
  • the entire calculation load for controlling the motor drive device and the AC motor can be kept within the range of the processing capability of the arithmetic processing unit.
  • the voltage control process is to generate a switching control signal of the inverter in accordance with the magnetic pole position of the AC motor that constantly changes, it is generally desirable that the voltage control process be performed in a short cycle.
  • the voltage control process is performed every reference calculation cycle, and the current detection process is performed at a cycle N times the reference calculation cycle. It is preferable that the voltage control process is performed N times by feeding back the current detection value detected by the current detection process.
  • the voltage control process in the asynchronous control mode for outputting the on and off control signals can be appropriately performed in a short cycle.
  • the calculation load of the arithmetic processing unit is increased by shortening the cycle of the voltage control processing, but the current detection processing is performed at a cycle N times the reference calculation cycle.
  • the calculation load required for the current detection process and the calculation process associated therewith can be reduced, and the entire calculation load for controlling the motor drive device and the AC motor can be kept within the processing capability of the calculation processing unit.
  • the asynchronous control mode is selected because the rotation speed of the motor is relatively low and the carrier frequency is sufficiently high with respect to the frequency of the AC voltage command value. Even if the current detection cycle (sampling cycle) is made longer than the carrier cycle to some extent, current sampling aliasing hardly occurs, and there is no problem even if the current detection processing cycle is delayed. Therefore, it is possible to suppress the occurrence of aliasing in current sampling even when the rotation speed of the electric motor is increased while using an arithmetic processing unit with limited processing capability.
  • a current control unit for performing a current control process for determining a first voltage command value based on a deviation between a current command value determined based on a required torque for the AC motor and a current detection value detected by the current detection process;
  • An average value calculation unit that performs an average value calculation that calculates an average value of N current detection values detected by the N current detection processes, and when the synchronous control mode is selected, The average value calculation and the current control process are performed at a cycle N times the reference calculation period together with the voltage control process, and the current control unit calculates the average value calculated by the current command value and the average value calculation unit.
  • the first voltage command value is determined by performing the current control process based on the deviation of the voltage, and the voltage control unit is preferably configured to perform the voltage control process based on the first voltage command value. .
  • the current calculation value for controlling the motor drive device and the AC motor is kept within the processing capability range of the arithmetic processing unit, and the current detection value detected in a short cycle is appropriately reflected to perform current sampling. Generation of aliasing can be suppressed.
  • the first voltage command value is determined by performing at least proportional control and integral control based on a deviation between a current command value determined based on a required torque for the AC motor and a current detection value detected by the current detection process.
  • a current control unit for performing current control processing is provided, When the synchronous control mode is selected, the current control process is performed for each reference calculation cycle together with the current detection process, and the voltage control unit performs N currents in an integral term by N current control processes.
  • a configuration in which the voltage control process is performed based on the first voltage command value in which the detection value is reflected is also preferable.
  • the current detection process and the current control process are performed every reference calculation cycle, and the voltage control process is performed at a cycle N times the reference calculation cycle.
  • the first voltage command value reflecting the N current detection values in the integral term is calculated by the current control process by the current detection process and the current control process performed every reference calculation cycle. Therefore, in the case where the current detection process is performed in a short cycle for each reference calculation cycle, while the voltage control process is performed in a relatively long cycle N times the reference calculation cycle, N detected by N current detection processings
  • the voltage control process can be performed by appropriately feeding back the current detection value for each batch.
  • the current calculation value for controlling the motor drive device and the AC motor is kept within the processing capability range of the arithmetic processing unit, and the current detection value detected in a short cycle is appropriately reflected to perform current sampling. Generation of aliasing can be suppressed.
  • the arithmetic processing for current feedback control of the N AC motors is performed by a single arithmetic processing unit, and when the synchronous control mode is selected, the N AC motors
  • the current detection process for each of the N AC motors is performed for each reference calculation cycle, and the voltage control process for each of the N AC motors is performed in a reference calculation cycle that is different from each other at a cycle N times the reference calculation cycle. It is preferable to perform the configuration.
  • the voltage control processing for each of the N AC motors is sequentially performed within the same reference calculation cycle for each of the reference calculation cycles, and the N AC current
  • the current detection process for each of the electric motors is performed at a timing different from each other at a period N times the reference calculation period, and the current detection value detected by the current detection process once for each of the N AC motors. It is preferable that the voltage control process is performed N times by feedback.
  • the voltage control processing of each AC motor is performed when the asynchronous control mode is selected.
  • the calculation load of the arithmetic processing unit is increased by shortening the cycle of the voltage control processing of each AC motor, but the current detection processing of each AC motor is a reference calculation.
  • the reference calculation cycle By performing the current detection processing for each of the N AC motors at a predetermined cycle by performing the current detection processing for each of the N AC motors at a timing different from the current detection processing for the other AC motors at a cycle N times the cycle, the reference calculation cycle It is possible to suppress the bias of the calculation load for each and reduce the calculation load required for the current detection process and the calculation process associated therewith. Thereby, the whole calculation load for controlling an electric motor drive device and an alternating current motor can be stored in the range of the processing capability of an arithmetic processing unit. Therefore, it is possible to suppress the occurrence of aliasing in current sampling even when the rotational speed of the motor becomes high while appropriately controlling the N AC motors using the arithmetic processing unit having limited processing capability. .
  • FIG. 1 is a block diagram schematically illustrating an example of a system configuration of a vehicle including a control device according to a first embodiment. It is a functional block diagram of a control device concerning a first embodiment. It is a figure which shows an example of the map referred when determining a control mode. It is a figure which shows an example of the alternating voltage command value in a 1st control mode. It is a figure which shows an example of the alternating voltage command value in a 3rd control mode. It is a flowchart which shows the process sequence of the electric motor control process which concerns on 1st embodiment. It is a time chart in the case of performing the asynchronous control mode which concerns on 1st embodiment.
  • the motor drive device 1 includes two synchronous motors MG1 and MG2 (IPMSM, hereinafter collectively referred to as an AC motor operating as a three-phase AC).
  • IPMSM synchronous motor operating as a three-phase AC
  • the device is configured as a device that controls the drive of the motor MG
  • These electric motors MG are configured to operate as a generator as required.
  • These electric motors MG are used as a driving force source for electric vehicles, hybrid vehicles, and the like, for example.
  • the electric motor drive device 1 includes an inverter 6 that converts a DC voltage Vdc into an AC voltage and supplies the AC voltage to the electric motor MG. And in this embodiment, as shown in FIG. 2, the control apparatus 2 controls the electric motor drive apparatus 1, and performs the current feedback control of the electric motor MG using a vector control method.
  • the control device 2 determines AC voltage command values Vu, Vv, and Vw that are command values of AC voltage supplied to the electric motor MG, and switches the switching control signals Pu and Nu of the inverter 6. , Pv, Nv, Pw, and Nw are provided (see FIG. 2). Further, the motor control device 1 is provided with a selectable one of a synchronous control mode in which the cycle of the electrical angle of the motor MG and the switching cycle of the inverter 6 are synchronized, and an asynchronous control mode in which these are not synchronized.
  • the current detection process for detecting the current flowing through the coil of the electric motor MG is performed for each reference calculation period set to 1 ⁇ 2 of the carrier period, and the voltage control process is performed. It is performed at a cycle N times the reference calculation cycle (N is an integer of 2 or more), and the current detection value for N times detected by the N current detection processing is fed back to perform one voltage control processing (FIG. 8). )).
  • N is an integer of 2 or more
  • the electric motor control apparatus 1 is realized that can suppress the occurrence of aliasing in current sampling even when the rotational speed of the electric motor MG is increased while using an arithmetic processing unit with limited processing capability.
  • N is “2” will be described as an example.
  • the electric motor drive device 1 and its control device 2 according to the present embodiment will be described in detail.
  • FIG. 1-1 Hardware Configuration of Motor Drive Device and Control Device
  • two three-phase synchronous motors of a first motor MG1 and a second motor MG2 are provided as control targets.
  • the first motor MG1 and the second motor MG2 may be motors having the same performance, or motors having different performances.
  • the electric motors MG1 and MG2 are connected to a DC power source 3 that generates a DC voltage Vdc via inverters 6a and 6b (hereinafter, these may be collectively referred to as “inverter 6”).
  • DC power source 3 for example, various secondary batteries such as a nickel hydride secondary battery and a lithium ion secondary battery, a capacitor, or a combination thereof is used.
  • a DC voltage Vdc which is a voltage of the DC power supply 3, is detected by a voltage sensor (not shown) and output to the control device 2.
  • a configuration in which a smoothing capacitor for smoothing the DC voltage Vdc from the DC power supply 3 or a converter for boosting the DC voltage Vdc from the DC power supply 3 is interposed between the DC power supply 3 and the inverter 6 may be used. Is preferred.
  • the inverter 6 converts the DC voltage Vdc from the DC power supply 3 into a three-phase AC voltage and supplies it to the motor MG.
  • the electric motor MG is driven by the three-phase AC voltage supplied in this way. That is, the inverter 6 functions as a DC / AC converter.
  • the inverter 6 includes a plurality of switching elements (not shown).
  • an IGBT insulated gate bipolar transistor
  • MOSFET metal oxide field semiconductor effect transistor
  • the inverter 6 (6a, 6b) is composed of a three-phase bridge circuit.
  • Two IGBTs are connected in series between the input plus side and the input minus side of the inverter 6, and this series circuit is connected in parallel in three lines. That is, a set of series is connected to each of the stator coils Mu (Mu1, Mu2), Mv (Mv1, Mv2), Mw (Mw1, Mw2) corresponding to the u-phase, v-phase, and w-phase of the electric motor MG (MG1, MG2).
  • a bridge circuit corresponding to the circuit is configured.
  • the collector of the upper stage IGBT of each phase is connected to the input plus side of the inverter 6, and the emitter is connected to the collector of the lower stage IGBT of each phase.
  • the emitter of the IGBT on the lower side of each phase is connected to the input minus side (for example, ground) of the inverter 6.
  • the intermediate point of the series circuit of IGBTs of each phase that is a pair, that is, the connection point of the IGBT, is connected to the stator coils Mu, Mv, Mw of the electric motor MG, respectively.
  • a free wheel diode (regenerative diode) is connected in parallel to each IGBT.
  • the freewheel diode is connected in parallel to the IGBT in such a form that the cathode terminal is connected to the collector terminal of the IGBT and the anode terminal is connected to the emitter terminal of the IGBT.
  • the gate of each IGBT is connected to the control device 2 via the driver circuit 76, and is individually controlled to be switched.
  • the control device 2 controls a plurality (two in this case) of inverters 6 (6a, 6b) provided in the motor drive device 1.
  • the control device 2 is configured as an ECU (electronic control unit) configured with a logic circuit such as a microcomputer as a core.
  • the control device 2 includes a CPU (central processing unit) 61 that is a single task microcomputer, an interface circuit 70, and other peripheral circuits.
  • the CPU 61 is a computer that executes an electric motor control process to be described later.
  • the interface circuit 70 includes EMI (electro-magnetic interference) countermeasure parts, a buffer circuit, and the like.
  • Switching control signals which are driving signals input to the gates of IGBTs and MOSFETs as switching elements that switch high voltages, require a voltage higher than the driving voltage of general electronic circuits such as microcomputers. The voltage is boosted through the circuit 76 and then input to the inverter 6.
  • the CPU 61 has at least a CPU core 62, a program memory 63, a parameter memory 64, a work memory 65, a timer 66, an A / D converter 67, a communication control unit 68, and a port 69. Composed.
  • the CPU core 62 is the core of the CPU 61, and includes an instruction register, an instruction decoder, an ALU (arithmetic logic unit), a flag register, a general-purpose register, an interrupt controller, and the like.
  • the CPU 61 includes a single CPU core 62, and this single CPU core 62 corresponds to the “single arithmetic processing unit” in the present invention.
  • the CPU core 62 is the core of a single task computer that executes a program serially.
  • the program memory 63 is a non-volatile memory in which the motor control program is stored.
  • the parameter memory 64 is a non-volatile memory that stores various parameters referred to when the program is executed.
  • the parameter memory 64 may be constructed without being distinguished from the program memory 63.
  • the program memory 63 and the parameter memory 64 are preferably configured by a flash memory, for example.
  • the work memory 65 is a memory that temporarily stores temporary data during program execution.
  • the work memory 65 is composed of DRAM (dynamic RAM) or SRAM (static RAM) that is volatile and can read and write data at high speed.
  • Timer 66 measures time based on a predetermined clock cycle.
  • the timer 66 monitors the execution period of the program, for example, by setting a half of the carrier period of the switching control signal to be described later as a reference calculation period T0, and notifies the interrupt controller of the CPU core 62.
  • the A / D converter 67 converts an analog electric signal into digital data.
  • the A / D converter 67 is configured to detect current values Iur (Iur1, Iur2), Ivr (Ivr1, Ivr2), Iwr (current detection values of currents flowing through the stator coils Mu, Mv, Mw of the electric motor MG).
  • Iwr1, Iwr2) is received from the current sensor 7 (7a, 7b) and converted into a digital value.
  • the three phases u phase, v phase, and w phase are balanced and their instantaneous value is zero. Therefore, the current for only two phases may be detected, and the remaining one phase may be obtained by calculation in the CPU 61. . In this embodiment, the case where all three phases are detected is illustrated. If the current for only two phases is detected and the remaining one phase is obtained by calculation in the CPU 61, the A / D converter 67 only needs to have four analog inputs.
  • the communication control unit 68 controls communication with other systems in the vehicle.
  • communication with a travel control system, sensors, and the like is controlled via a CAN (controller area network) in a vehicle (not shown).
  • the CPU 61 receives a motor control command including the required torque TM for the electric motor MG from the travel control system via the communication control unit 68, and controls the electric motor MG based on this.
  • the CPU 61 receives a required torque TM1 for the first electric motor MG1 and a required torque TM2 for the second electric motor MG2 (hereinafter, these may be collectively referred to as “required torque TM” in some cases).
  • the CPU 61 is preferably connected to a brake system or a power steering system via the communication control unit 68, and is suitable for a configuration for controlling them.
  • the port 69 is a terminal control unit that outputs a switching control signal of the inverter 6 through a terminal of the CPU 61 and receives a rotation detection signal from the rotation sensor 8 (8a, 8b) input to the CPU 61.
  • a symbol P * of a signal input from the interface circuit 70 to the driver circuit 76 indicates an IGBT control signal on the upper side of the inverter 6, and a symbol N * indicates a control signal of the lower side IGBT.
  • Symbols * u, * v, and * w indicate IGBT control signals for the u-phase, v-phase, and w-phase of the inverter 6, respectively.
  • Reference numerals * 1 and * 2 denote IGBT control signals as switching control signals for the inverter 6a of the first electric motor MG1 and the inverter 6b of the second electric motor MG2, respectively.
  • the rotation sensor 8 is a sensor that is installed in the vicinity of the electric motor MG and detects the magnetic pole position ⁇ representing the rotation angle of the rotor as the rotor of the electric motor MG, and is configured using, for example, a resolver.
  • the magnetic pole position ⁇ represents the rotation angle of the rotor as an electrical angle.
  • the electric motor drive device 1 includes the two inverters 6a and 6b corresponding to the two electric motors MG1 and MG2 as well as the two electric motors MG1 and MG2 to be controlled.
  • the control device 2 is configured to control the two electric motors MG1 and MG2 by controlling the two inverters 6a and 6b.
  • the control device 2 is configured to control the two inverters 6a and 6b using the CPU core 62 as a single arithmetic processing unit.
  • the electric motor drive device 1 includes two electric motors MG1 and MG2 as targets of drive control, and includes two inverters 6a and 6b corresponding to the electric motors MG1 and MG2.
  • the control device 2 includes the functional units corresponding to the two inverters 6a and 6b and the two electric motors MG1 and MG2, respectively, but these have the same configuration. Only the functional unit that controls one inverter 6 and the electric motor MG will be described. As shown in FIG. 2, the control device 2 controls the electric motor drive device 1 including the electric motor MG and the inverter 6 by current feedback control using a vector control method.
  • the coil current flowing through each of the three-phase stator coils of the AC motor MG is expressed by a d-axis that is a direction of a magnetic field generated by a permanent magnet disposed on the rotor and a q-axis that is orthogonal to the d-axis.
  • Current feedback control is performed by converting the coordinates into two-phase vector components.
  • a rotation sensor 8 such as a resolver is provided in the vicinity of the electric motor MG.
  • the magnetic pole position ⁇ as the detection result is input to the control device 2.
  • the magnetic pole position ⁇ is an electrical angle.
  • the required torque TM is further input to the control device 2.
  • the control device 2 controls the control signals Pu, Nu, Pv, Nv for driving the electric motor MG according to the required torque TM, the magnetic pole position ⁇ , and the rotational speed ⁇ of the electric motor MG derived from the magnetic pole position ⁇ .
  • Pw and Nw are generated and output, and the inverter 6 is driven and controlled.
  • the control signals Pu, Nu, Pv, Nv, Pw, and Nw are switching control signals for causing each switching element of the inverter 6 to perform a switching operation according to any of a plurality of control modes that will be described later. Is a gate drive signal for driving the gate of each switching element.
  • the required torque TM is input to the d-axis current command value deriving unit 11.
  • the d-axis current command value deriving unit 11 derives a basic d-axis current command value Idb based on the input required torque TM.
  • the basic d-axis current command value Idb corresponds to a command value for the d-axis current when maximum torque control is performed.
  • the maximum torque control is control for adjusting the current phase so that the output torque of the electric motor MG becomes maximum with respect to the same current.
  • the d-axis current command value deriving unit 11 uses a table that defines the relationship between the value of the required torque TM and the basic d-axis current command value, and the basic d-axis current according to the value of the required torque TM.
  • the command value Idb is derived.
  • the derived basic d-axis current command value Idb is input to the subtractor 14.
  • a d-axis current adjustment command value ⁇ Id derived by a current adjustment command value deriving unit 16 described later is input to the subtractor 14.
  • the subtractor 14 subtracts the d-axis current adjustment command value ⁇ Id from the basic d-axis current command value Idb as shown in the following formula (1) to derive the final d-axis current command value Id.
  • Id Idb ⁇ Id (1)
  • the q-axis current command value deriving unit 12 receives the required torque TM and the d-axis current adjustment command value ⁇ Id.
  • the q-axis current command value deriving unit 12 derives the q-axis current command value Iq based on the input required torque TM and the d-axis current adjustment command value ⁇ Id.
  • the q-axis current command value deriving unit 12 uses a table that defines at least the relationship between the value of the required torque TM and the d-axis current adjustment command value ⁇ Id, and uses the required torque TM and the d-axis current adjustment command value.
  • a q-axis current command value Iq corresponding to ⁇ Id is derived.
  • the d-axis current command value Id and the q-axis current command value Iq derived in this way are command values for two-phase currents that drive the electric motor MG and have mutually orthogonal vector components. Therefore, in the present embodiment, the d-axis current command value Id and the q-axis current command value Iq correspond to the “current command value” in the present invention.
  • the d-axis current command value Id and the q-axis current command value Iq are input to the current control unit 13. Furthermore, the d-axis current detection value Idr and the q-axis current detection value Iqr are input to the current control unit 13 from the three-phase to two-phase conversion unit 36, and the rotation speed ⁇ of the electric motor MG is input from the rotation speed deriving unit 31. .
  • the d-axis current detection value Idr and the q-axis current detection value Iqr are current detection values (three-phase) of the current sensor 7 (see FIG. 1) of the current actually flowing through the stator coil (Mu, Mv, Mw) of the electric motor MG.
  • the current control unit 13 is a two-phase current command value obtained by three-phase to two-phase conversion of the d-axis current command value Id and the q-axis current command value Iq and the detected current values Iur, Ivr, and Iwr. Based on the deviation from the current detection values (d-axis current detection value Idr and q-axis current detection value Iqr), current control processing is performed to determine two-phase voltage command values Vd and Vq as the first voltage command value. At this time, the current control unit 13 determines at least two-phase voltage command values Vd and Vq by performing at least proportional control and integral control based on the deviation.
  • the current control unit 13 determines the d-axis current deviation ⁇ Id, which is a deviation between the d-axis current command value Id and the d-axis current detection value Idr, and the q-axis current command value Iq and the q-axis current detection value Iqr.
  • Q-axis current deviation ⁇ Iq which is a deviation of
  • the current control unit 13 performs a proportional-integral control calculation (PI control calculation) based on the d-axis current deviation ⁇ Id to derive a basic d-axis voltage command value Vzd, and also performs a proportional integration based on the q-axis current deviation ⁇ Iq.
  • a control calculation is performed to derive a basic q-axis voltage command value Vzq. Note that it is also preferable to perform a proportional integral derivative control calculation (PID control calculation) instead of these proportional integral control calculations.
  • the current control unit 13 derives the d-axis voltage command value Vd by performing adjustment for subtracting the q-axis armature reaction Eq from the basic d-axis voltage command value Vzd as shown in the following equation (2).
  • the q-axis armature reaction Eq is derived based on the rotational speed ⁇ of the electric motor MG, the q-axis current detection value Iqr, and the q-axis inductance Lq.
  • the current control unit 13 adds the induced voltage Em caused by the d-axis armature reaction Ed and the armature linkage flux of the permanent magnet to the basic q-axis voltage command value Vzq as shown in the following equation (3).
  • the d-axis armature reaction Ed is derived based on the rotational speed ⁇ of the electric motor MG, the d-axis current detection value Idr, and the d-axis inductance Ld.
  • the induced voltage Em is derived based on the induced voltage constant MIf determined by the effective value of the armature flux linkage of the permanent magnet and the rotational speed ⁇ of the motor MG.
  • the current control unit 13 includes an average value calculation unit 21.
  • the average value calculation unit 21 performs two-phase current obtained by three-phase to two-phase conversion of the three-phase current detection values Iur, Ivr, and Iwr detected by the current sensor 7 using the three-phase to two-phase conversion unit 36.
  • the detection values (d-axis current detection value Idr and q-axis current detection value Iqr) are input values, and the average value of these two input values, that is, the average value of the two d-axis current detection values Idr, and 2
  • the average value of the q-axis current detection value Iqr for each batch is calculated.
  • the average value calculation unit 21 functions when the synchronous control mode is selected in the mode determination unit 51 and does not function when the asynchronous control mode is selected. Therefore, information on the control mode selected by the mode determination unit 51 is input to the current control unit 13, and the current control unit 13 determines whether or not to perform the average value calculation by the average value calculation unit 21 according to this information. decide.
  • the current control unit 13 calculates the two-phase current command value (d-axis current command value Id and q-axis current command value Iq) and the average value calculation.
  • the current control processing is performed based on the deviation from the average value of each of the two-phase current detection values (d-axis current detection value Idr and q-axis current detection value Iqr) calculated by the unit 21, and the two-phase voltage command value Vd and Vq are determined.
  • the modulation factor / voltage command phase deriving unit 22 receives the d-axis voltage command value Vd and the q-axis voltage command value Vq. Further, a DC voltage Vdc detected by a voltage sensor (not shown) is input to the modulation factor / voltage command phase deriving unit 22. The modulation factor / voltage command phase deriving unit 22 calculates the modulation factor M and the voltage command phase as the second voltage command value based on the input d-axis voltage command value Vd, q-axis voltage command value Vq, and DC voltage Vdc. ⁇ v is derived.
  • the modulation factor M represents the ratio of the effective value of the fundamental wave component of the output voltage waveform of the inverter 6 to the DC voltage Vdc.
  • the effective value of the two-phase voltage command values Vd and Vq with respect to the DC voltage Vdc is a ratio.
  • the voltage command phase ⁇ v is the phase angle of the voltage vector represented by the two-phase voltage command values Vd and Vq, and the d-axis voltage vector related to the d-axis voltage command value Vd and the q-axis voltage vector related to the q-axis voltage command value Vq. Is equivalent to an angle formed by a combined voltage vector generated by combining and a d-axis voltage vector related to the d-axis voltage command value Vd.
  • the voltage command phase ⁇ v is calculated according to the following equation (5).
  • the induced voltage of the electric motor MG increases as the rotational speed ⁇ increases, and the AC voltage (hereinafter referred to as “necessary voltage”) required to drive the electric motor MG also increases.
  • the necessary voltage exceeds the maximum AC voltage (hereinafter referred to as “maximum output voltage”) that can be output from the inverter 6 by converting the DC voltage Vdc at that time, a necessary current flows through the stator coil.
  • the motor MG cannot be appropriately controlled. Therefore, the control device 2 is configured to perform so-called field weakening control, which adjusts the current phase so that magnetic flux in the direction of weakening the field magnetic flux of the electric motor MG is generated from the stator coil (advances to the maximum torque control). Yes.
  • the d-axis current adjustment command value ⁇ Id is derived based on the modulation factor M derived by the modulation factor / voltage command phase deriving unit 22, and based on the derived d-axis current adjustment command value ⁇ Id.
  • the basic d-axis current command value Idb and the q-axis current command value Iq are adjusted.
  • the subtractor 17 receives the modulation factor M and a value “0.78” that is the theoretical maximum value of the modulation factor M.
  • the subtractor 17 derives a modulation factor deviation ⁇ M obtained by subtracting “0.78” from the modulation factor M as shown in the following equation (6).
  • ⁇ M M ⁇ 0.78 (6)
  • the derived modulation factor deviation ⁇ M is input to the current adjustment command value deriving unit 16.
  • the current adjustment command value deriving unit 16 integrates the modulation factor deviation ⁇ M using a predetermined gain, and derives the integration value as a d-axis current adjustment command value ⁇ Id.
  • This d-axis current adjustment command value ⁇ Id is subtracted from the basic d-axis current command value Idb as shown in the above equation (1) to derive the final d-axis current command value Id. That is, the d-axis current adjustment command value ⁇ Id is a field weakening command value for weakening the field magnetic flux of the electric motor MG.
  • the control device 2 further includes a mode determination unit 51 that determines a control mode for controlling the electric motor drive device 1 and a carrier frequency determination unit 52 that determines the carrier frequency of the inverter 6. .
  • the mode determination unit 51 receives at least the required torque TM and the rotational speed ⁇ as input variables.
  • the mode determination unit 51 determines one control mode from among a plurality of control modes set in advance for controlling the electric motor drive device 1 based on the input required torque TM and the rotational speed ⁇ .
  • the control device 2 is provided with a control mode determination map stored in the parameter memory 64 or the like. In the present embodiment, as shown in FIG.
  • three areas of a first area A1, a second area A2, and a third area A3 are set in this map as operable areas of the electric motor MG.
  • three control modes that can be selected by the mode determination unit 51 are set. That is, the mode determination unit 51 selects the first control mode when the relationship between the required torque TM and the rotational speed ⁇ is within the first region A1, and the second control when the relationship is within the second region A2. The mode is selected, and if it is within the third area A3, the third control mode is selected.
  • the control method according to the control mode for controlling the electric motor drive device 1 includes two types of PWM control and rectangular wave control with respect to the waveform of the AC voltage supplied from the inverter 6 to the electric motor MG, and from the inverter 6 to the electric motor MG.
  • the PWM control includes two control methods, sine wave PWM control and overmodulation PWM control. The three modes that can be selected by the mode determination unit 51 are configured by combining them.
  • the first control mode is a mode for causing the inverter 6 to perform sine wave PWM control together with maximum torque control during DC-AC conversion in the inverter 6.
  • sine wave PWM control on / off of each switching element of the inverter 6 is controlled based on a comparison between sinusoidal AC voltage command values Vu, Vv, Vw and a carrier (carrier wave).
  • the sinusoidal AC voltage command values Vu, Vv, Vw are derived by a three-phase command value deriving unit 35 of the voltage control unit 23 described later.
  • the second control mode is a mode in which the inverter 6 performs the overmodulation PWM control together with the maximum torque control when the inverter 6 performs the DC-AC conversion.
  • the waveform of the fundamental wave component of the output voltage waveform of the inverter 6 is distorted to make the amplitude larger than the sinusoidal AC voltage command values Vu, Vv, and Vw in the sine wave PWM control.
  • on / off of each switching element of the inverter 6 is controlled based on a comparison of the distorted sine wave AC voltage command values Vu, Vv, Vw and the carrier.
  • PWM control is performed in which the AC voltage command values Vu, Vv, and Vw are continuously at a high level or a low level in a portion where the amplitude of the carrier wave exceeds.
  • the distorted sinusoidal AC voltage command values Vu, Vv, Vw are derived by a three-phase command value deriving unit 35 of the voltage control unit 23 described later.
  • the third control mode is a mode for causing the inverter 6 to perform the rectangular wave control together with the field weakening control during the DC-AC conversion in the inverter 6.
  • each switching element of the inverter 6 is controlled to be turned on and off once per electrical angle period (360 ° of the magnetic pole position ⁇ ).
  • the AC voltage command values Vu, Vv, and Vw for each phase are rectangular waves in which a high level period and a low level period alternately appear once per cycle. Therefore, in the present embodiment, in the third control mode, the AC voltage command values Vu, Vv, Vw of each phase are simply the phases of the magnetic pole position ⁇ representing the timing for switching on or off each switching element of the inverter 6. The command value for the on / off switching phase is used.
  • the switching period is the period of the on / off timing of the switching element of the inverter 6 and is equal to the period of the on / off switching phase of each switching element.
  • switching control signals Pu, Nu, Pv, Nv, Pw, and Nw are generated based on the carrier.
  • the third control mode is included in the “synchronous control mode” in the present invention, and the first control mode and the second control mode are included in the “asynchronous control mode” in the present invention.
  • the mode determination unit 51 has a function of selecting one of a plurality of control modes included in either the synchronous control mode or the asynchronous control mode, and the “control mode selection unit” in the present invention. It corresponds to.
  • the control block in the voltage control unit 23 is switched by the voltage control switching unit 46 according to whether the mode determination unit 51 selects the synchronous control mode or the asynchronous control mode, and the AC voltage command value is changed.
  • the method for generating Vu, Vv, Vw and the switching control signals Pu, Nu, Pv, Nv, Pw, Nw is switched.
  • the d-axis current adjustment command value ⁇ Id derived by the current adjustment command value deriving unit 16 is further input to the mode determination unit 51. Then, the mode determination unit 51 determines whether or not the third control mode can be selected based on the input d-axis current adjustment command value ⁇ Id. More specifically, the mode determination unit 51 permits the third control mode to be selected when the d-axis current adjustment command value ⁇ Id is equal to or greater than a predetermined third control mode transition permission threshold, while d When the shaft current adjustment command value ⁇ Id is less than the third control mode transition permission threshold, selection of the third control mode is prohibited.
  • the mode determination unit 51 assumes that the control mode is determined based on the input required torque TM and the rotational speed ⁇ , and further sets the input d-axis current adjustment command value ⁇ Id. Based on this, it is configured to impose certain restrictions on the selection of the control mode.
  • the carrier frequency determination unit 52 receives at least the rotational speed ⁇ and the required torque TM as input variables.
  • the carrier frequency determination unit 52 is a carrier frequency that is a frequency of the carrier of the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw of the inverter 6 based on the input required torque TM and the rotational speed ⁇ . Determine Fc.
  • the control device 2 is provided with a carrier frequency determination map stored in the parameter memory 64 or the like.
  • the carrier frequency determination unit 52 determines an optimal carrier frequency Fc for reducing the loss in the inverter 6 and the loss in the electric motor MG according to the required torque TM and the rotational speed ⁇ of the electric motor MG.
  • the carrier frequency determination unit 52 selects and determines an optimum carrier frequency based on the map from a plurality of predetermined selectable carrier frequencies Fc, for example.
  • the modulation rate M is input to the carrier frequency determination unit 52 instead of the required torque TM, or the modulation rate M is input to the carrier frequency determination unit 52 together with the required torque TM, and the carrier frequency is determined based on this and the rotational speed ⁇ . It is good also as a structure which determines Fc.
  • the voltage control unit 23 receives the modulation factor M and the voltage command phase ⁇ v derived by the modulation factor / voltage command phase deriving unit 22. Furthermore, the magnetic pole position ⁇ detected by the rotation sensor 8 (see FIG. 1) and the carrier frequency Fc determined by the carrier frequency determination unit 52 are input to the voltage control unit 23. The voltage control unit 23 determines AC voltage command values Vu, Vv, Vw based on the input modulation factor M, voltage command phase ⁇ v, magnetic pole position ⁇ , and carrier frequency Fc, and the switching control signal Pu of the inverter 6. , Nu, Pv, Nv, Pw, and Nw are generated. In the present embodiment, the voltage control unit 23 includes a three-phase command value deriving unit 35 and an asynchronous control signal generating unit 41, an on / off switching phase deriving unit 43, and a synchronous control signal generating unit 42.
  • a voltage control switching unit 46 is provided between the modulation factor / voltage command phase deriving unit 22 and the voltage control unit 23.
  • the voltage control switching unit 46 switches control blocks in the voltage control unit 23 according to the control mode selected by the mode determination unit 51. Specifically, when the first control mode or the second control mode included in the asynchronous control mode is selected, the modulation factor M and the voltage command phase ⁇ v derived by the modulation factor / voltage command phase deriving unit 22 are obtained. Input to the three-phase command value deriving unit 35 to cause the three-phase command value deriving unit 35 and the asynchronous control signal generating unit 41 to perform voltage control processing.
  • the modulation factor M and the voltage command phase ⁇ v derived by the modulation factor / voltage command phase deriving unit 22 are input to the on / off switching phase deriving unit 43. Then, the on / off switching phase deriving unit 43 and the synchronization control signal generating unit 42 are caused to perform voltage control processing.
  • the voltage control switching unit 46 switches the input destination of the modulation factor M and the voltage command phase ⁇ v according to the control mode selected by the mode determination unit 51. Thereby, the voltage control unit 23 generates the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw according to the control mode determined by the mode determination unit 51.
  • the three-phase command value deriving unit 35 generates three-phase sinusoidal AC voltage command values Vu, Vv, Vw based on the input modulation factor M and voltage command phase ⁇ v.
  • FIG. 4 is a diagram illustrating an example of AC voltage command values Vu, Vv, and Vw generated by the three-phase command value deriving unit 35. This figure shows an example in which the AC voltage command values Vu, Vv, Vw are voltage command values in the first control mode having a sine wave shape.
  • a sinusoidal voltage command value equal to one round of ⁇ (one round of electrical angle, 360 °).
  • the v-phase voltage command value Vv is 120 ° with respect to the u-phase voltage command value Vu
  • the w-phase voltage command value Vw is 240 ° with respect to the u-phase voltage command value Vu.
  • the waveforms of the AC voltage command values Vu, Vv, and Vw are distorted sine waves, but the phase and amplitude of each command value are the same as in FIG.
  • the three-phase command value deriving unit 35 includes an AC voltage command value map that defines the waveforms of the AC voltage command values Vu, Vv, and Vw for each control mode, and the control mode determined by the mode determining unit 51. Accordingly, AC voltage command values Vu, Vv, and Vw are generated and output based on the AC voltage command value map.
  • the three-phase command value deriving unit 35 generates the u-phase voltage command value Vu by delaying the origin of the voltage waveform defined in this map by the voltage command phase ⁇ v and increasing the amplitude by the modulation factor M times.
  • the V-phase voltage command value Vv and the w-phase voltage command value Vw can be generated by delaying the phase of the phase voltage command value Vu by 120 ° and 240 °, respectively.
  • the three-phase command value deriving unit 35 includes different voltage waveform maps for each control mode.
  • the asynchronous control signal generator 41 receives the AC voltage command values Vu, Vv, Vw generated by the three-phase command value deriving unit 35 and the carrier frequency Fc determined by the carrier frequency determining unit 52.
  • the asynchronous control signal generation unit 41 generates the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw for the inverter 6 based on the AC voltage command values Vu, Vv, and Vw and the carrier (carrier wave). Specifically, the asynchronous control signal generation unit 41 compares the AC voltage command values Vu, Vv, and Vw with the carrier, and performs the u-phase upper stage, u-phase lower stage, v-phase upper stage, v-phase lower stage, w of the inverter 6.
  • the asynchronous control signal generation unit 41 outputs a switching control signal to each switching element basically twice for each carrier cycle. Further, the ON or OFF pulse width represented by the switching control signal is stepwise for each carrier period according to the magnitudes of substantially sinusoidal AC voltage command values Vu, Vv, and Vw that continuously change with respect to the carrier. To change.
  • the carrier frequency Fc is not an integral multiple of the frequency of the AC voltage command values Vu, Vv, Vw, and therefore, the carrier of the switching control signals Pu, Nu, Pv, Nv, Pw, Nw.
  • the cycle and the cycle of the AC voltage command values Vu, Vv, Vw are not synchronized. That is, both the first control mode and the second control mode are asynchronous PWM control. Therefore, in the present embodiment, the asynchronous control mode is a mode in which asynchronous PWM control is performed. However, in the control method for generating the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw based on the carrier, for example, the carrier cycle and the AC voltage command values Vu, Vv, and Vw are synchronized. Synchronous PWM control that performs PWM control in a state is also included.
  • the switching period of the inverter 6 is determined depending on the amplitudes of the AC voltage command values Vu, Vv, and Vw.
  • the period of ⁇ ) and the switching period of the inverter 6 are not synchronized. That is, in all PWM control modes including both synchronous PWM control and asynchronous PWM control, the timing for switching on / off each switching element of the inverter 6 is not uniquely determined by the electrical angle (phase) of the electric motor MG. Therefore, such a PWM control mode is included in the asynchronous control mode in the present invention.
  • the on / off switching phase deriving unit 43 generates a command value for the on / off switching phase of each switching element of the inverter 6 as the AC voltage command values Vu, Vv, Vw based on the input modulation factor M and the voltage command phase ⁇ v. .
  • This command value corresponds to the on / off control signal of each switching element, and is a command value representing the phase of the magnetic pole position ⁇ representing the timing for switching on or off each switching element.
  • FIG. 5 illustrates the contents represented by the AC voltage command values Vu, Vv, and Vw generated by the on / off switching phase deriving unit 43.
  • the phase at which each switching element is switched on or off is represented by the horizontal axis. It is shown on the magnetic pole position ⁇ .
  • the circumference is 360 °).
  • the switching control signal Pu corresponding to the u-phase upper switching element is turned on at the voltage command phase ⁇ v
  • the switching control signal Nu corresponding to the u-phase lower switching element is turned off, and a half rotation of the magnetic pole position ⁇ from the voltage command phase ⁇ v.
  • the switching control signal Pu corresponding to the u-phase upper switching element is turned off, and the switching control signal Nu corresponding to the u-phase lower switching element is turned on.
  • the v-phase voltage command value Vv is 120 ° with respect to the u-phase voltage command value Vu
  • the w-phase voltage command value Vw is 240 ° with respect to the u-phase voltage command value Vu.
  • the AC voltage command values Vu, Vv, and Vw that are actually output from the on / off switching phase deriving unit 43 are information that represents the timing for switching on or off each switching element for each of the u phase, the v phase, and the w phase.
  • the AC voltage command values Vu, Vv, and Vw as the command values for the on / off switching phase may be output as a series of information of the u-phase, v-phase, and w-phase command values.
  • the on / off switching phase derivation unit 43 is provided with an on / off switching phase map defining the on / off switching phase of each switching element constituting the AC voltage command values Vu, Vv, Vw for each control mode.
  • AC voltage command values Vu, Vv, Vw are generated and output based on the map.
  • the on / off switching phase derivation unit 43 generates the u-phase voltage command value Vu by delaying the origin of the on / off phase specified in this map by the voltage command phase ⁇ v, and sets the phase of the u-phase voltage command value Vu to 120 °, By delaying each 240 °, the V-phase voltage command value Vv and the w-phase voltage command value Vw can be generated.
  • the AC voltage command values Vu, Vv, and Vw generated by the on / off switching phase deriving unit 43 are input to the synchronization control signal generating unit 42.
  • the synchronization control signal generator 42 generates the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw for the inverter 6 based on the AC voltage command values Vu, Vv, and Vw.
  • the synchronization control signal generation unit 42 follows the command value of the on / off switching phase of each switching element of the inverter 6, the u-phase upper stage, u-phase lower stage, v-phase upper stage, v-phase lower stage, and w-phase upper stage of the inverter 6.
  • the six switching control signals Pu, Nu, Pv, Nv, Pw, and Nw for controlling the on / off states of the respective switching elements in the lower stage of the w phase are generated.
  • the ON or OFF pulse width represented by the switching control signal is a predetermined width according to the ON / OFF switching phase.
  • the voltage control unit 23 including the synchronization control signal generation unit 42 performs voltage control processing at a predetermined calculation cycle, and the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw are predetermined.
  • the timing for switching on / off of each switching element is changed every calculation cycle.
  • each switching element of the inverter 6 is controlled in synchronization with the electrical angle (magnetic pole position ⁇ ) of the electric motor MG.
  • the cycle of the electrical angle of the electric motor MG and the switching cycle of the inverter 6 are synchronized.
  • the timing for switching on and off each switching element of the inverter 6 is determined as one by the electrical angle (phase) of the electric motor MG.
  • the control device 2 is configured to switch the setting of the processing cycle of each unit depending on whether the control mode selected by the mode determination unit 51 is the synchronous control mode or the asynchronous control mode.
  • An object of the present invention is to suppress the occurrence of aliasing in current sampling when the rotational speed of the rotor of the electric motor MG is increased while using a single CPU core 62 with limited processing capability. Therefore, the control device 2 particularly sets the cycle of the current detection processing IS (IS1, IS2) by the current sensor 7 (7a, 7b) and the cycle of the voltage control processing VC (VC1, VC2) by the voltage control unit 23.
  • the control device 2 sets the cycle of each process with reference to the reference calculation cycle T0 set to 1 ⁇ 2 of the carrier cycle TC.
  • the carrier cycle TC is set to about 50 to 600 [ ⁇ s]
  • the reference calculation cycle T0 is set to a half of the cycle.
  • the reference calculation period T0 set in this way is set so that the current at the timing when the carrier waveform becomes the maximum value (peak) or the minimum value (valley) in order to make it difficult to be affected by noise due to the ON / OFF of the switching element of the inverter 6. This corresponds to the shortest current detection cycle when the current detection processing by the sensor 7 is performed.
  • a series of control processing (motor control processing) by each unit of the control device 2 described below is started by executing the interrupt function of the CPU 61 at each reference calculation cycle T0 measured by the timer 66 (see FIG. 1) of the CPU 61. Is done.
  • VC voltage control processing
  • the voltage control processing VC (VC1, VC2) is performed.
  • the voltage control processing VC (VC1, VC2) is processing performed by the voltage control unit 23, and the modulation factor M and the voltage command phase derived by the modulation factor / voltage command phase derivation processing MC (MC1, MC2).
  • AC voltage command values Vu, Vv, and Vw are determined based on ⁇ v and the magnetic pole position ⁇ captured by the magnetic pole position capturing process PT (PT1, PT2), and the inverter is based on the AC voltage command values Vu, Vv, and Vw.
  • 6 is a process of generating switching control signals Pu, Nu, Pv, Nv, Pw, and Nw.
  • the current detection process IS is a process for detecting the current flowing through the coils of the two electric motors MG1, MG2 by the current sensor 7 (7a, 7b). 7 and 8, in the current detection cycle, which is the cycle in which the current detection process IS (IS1, IS2) is performed, the current detection cycle of the first motor MG1 is “T11”, and the current detection of the second motor MG2 is performed.
  • the voltage control cycle that is the cycle in which the voltage control process VC (VC1, VC2) is performed with the cycle “T12”
  • the voltage control cycle of the first motor MG1 is “T21”
  • the voltage control cycle of the second motor MG2 is “ It is shown as “T22”.
  • control device 2 switches other processing cycles in accordance with the switching between the current detection cycle T1 and the voltage control cycle T2.
  • the current value capturing process IT (IT1, IT2) and the three-phase two-phase conversion process CT (CT1, CT2) for each of the two electric motors MG1, MG2 are respectively performed for the two electric motors MG1, MG2.
  • the current detection processing IS (IS1, IS2) for is executed in the same cycle as the current detection processing IS (IS1, IS2).
  • These processes are executed in accordance with the current detection process IS (IS1, IS2), and the current detection values Iur (Iur1, Iur2) and Ivr (Ivr1) detected by the current detection process IS (IS1, IS2).
  • Ivr2) and Iwr are fed back and reflected in the voltage control process VC (VC1, VC2), and are executed in the same cycle as the current detection process IS (IS1, IS2). Therefore, when the asynchronous control mode is selected, the control device 2, as shown in FIG. 7, performs the current value fetch processing IT (IT1, IT2) and three-phase two for each of the two electric motors MG1, MG2.
  • the phase conversion process CT CT1, CT2
  • the current value capturing process IT (IT1, IT2) is performed by using the current detection values Iur, Ivr, Iwr for the two electric motors MG1, MG2 detected by the current sensor 7 (7a, 7b) as A /
  • This is processing for converting analog data into digital data by the D converter 67 and taking it in.
  • CT three-phase / two-phase conversion process CT
  • the current detection values Iur, Ivr, Iwr acquired by the current value acquisition process IT (IT1, IT2) are converted into three-phase / two-phase by the three-phase / two-phase conversion unit 36. This is a process of phase conversion to derive two-phase current detection values Idr and Iqr.
  • the magnetic pole position detection process PS PS1, PS2
  • the magnetic pole position capture process PT PT1, PT2
  • This is performed every reference calculation cycle T0.
  • the voltage control process VC VC1, VC2
  • CT three-phase two-phase conversion process CT
  • CT1 CT2 three-phase two-phase converter 36
  • the magnetic pole position detection process PS (PS1, PS2) is a process for detecting the magnetic pole position ⁇ of each rotor of the two electric motors MG1, MG2 based on the rotation detection signal from the rotation sensor 8 (8a, 8b). It is.
  • the magnetic pole position capturing process PT (PT1, PT2) is a process for capturing the magnetic pole position ⁇ detected by the rotation sensor 8 (8a, 8b) from analog data to digital data by the A / D converter 67.
  • the current average value calculation process AC (AC1, AC2) is a three-phase two-phase conversion process CT (CT1, CT2), and two-phase current detection values Idr, Iqr after the three-phase two-phase conversion is performed.
  • the current control calculation is performed using the average value of the two-phase current detection values Idr and Iqr in the current control processing IC (IC1 and IC2) to be performed thereafter.
  • the calculation is performed within the reference calculation periods T0 that are different from each other.
  • the contents of the current control processing IC (IC1, IC2) differ depending on the control mode.
  • the current control processing IC (IC1, IC2) is a two-phase current detection value Idr, Iqr after three-phase to two-phase conversion by three-phase to two-phase conversion processing CT (CT1, CT2), and two-phase
  • CT1, CT2 three-phase to two-phase conversion processing
  • the current control processing IC (IC1, IC2) basically has the same current detection processing IS ((1), (IT1, IT2) and three-phase / two-phase conversion processing CT (CT1, CT2). It is desirable to execute at the same cycle as IS1, IS2).
  • the average value of the detection values Idr and Iqr is used.
  • the modulation factor / voltage command phase derivation process MC (MC1, MC2) is based on the two-phase voltage command values Vd, Vq and the DC voltage Vdc determined by the current control process IC (IC1, IC2). This is a process for deriving the modulation factor M and the voltage command phase ⁇ v.
  • the control device 2 performs the modulation factor / voltage command phase derivation process MC (MC1, MC2) for each of the two electric motors MG1, MG2 for each of the two electric motors MG1, MG2.
  • the current control processing IC IC1, IC2
  • the control device 2 monitors whether the reference calculation cycle T0 that is repeatedly executed is an odd number or an even number, and according to the result, for example, the first motor MG1 is odd numbered.
  • the process for the second electric motor MG2 is executed for the even number of times.
  • the processing cycle for the first electric motor MG1 and the processing cycle for the second electric motor MG2 are shifted by a half of the processing cycle (here, equal to the reference calculation cycle T0).
  • the control device 2 executes the process for the second electric motor MG2 after executing the process for the first electric motor MG1 first for the odd number of times, and the process for the second electric motor MG1 for the odd number of times. After the process for the second electric motor MG2 is executed first, the process for the first electric motor MG1 is executed.
  • the setting it is possible to change the setting as appropriate as to which of the two electric motors MG1 and MG2 is to be executed in each of the odd-numbered and even-numbered reference calculation cycles T0.
  • the mode determination process and the carrier frequency determination process are executed using the idle time during which each process shown in the timing charts of FIGS. 7 and 8 is not performed in each reference calculation cycle T0. Is done.
  • the process is divided into a plurality of reference calculation cycles T0.
  • each functional unit of the control device 2 is configured by an electric motor control program stored in the program memory 63 (see FIG. 1), and the CPU core 62 as an arithmetic processing unit provided in the control device 2. Operates as a computer that executes an electric motor control program.
  • the magnetic pole position ⁇ as a detection value of the magnetic pole position detection process PS (PS1, PS2), and the current detection values Iur, Ivr of the electric motors MG (MG1, MG2) as detection values of the current detection process IS (IS1, IS2), Iwr is temporarily stored in an analog memory (not shown) or the like and used for subsequent processing.
  • the control device 2 when the interrupt processing of the CPU 61 is executed for each reference computation cycle T0 (step # 01), the control device 2 first determines that the current control mode determined by the mode determination unit 51 is asynchronous. It is determined whether the control mode is the synchronous control mode (step # 02), and then it is determined whether the reference calculation cycle T0 that is repeatedly executed is an odd number or an even number (steps # 03, # 04). ).
  • the control device 2 executes each process with priority given to the process for the first electric motor MG1 in accordance with the setting of the process period in the asynchronous control mode.
  • the magnetic pole position ⁇ and current detection values Iur, Ivr, and Iwr of the first electric motor MG1 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 (see FIG. 1) and are taken in.
  • the magnetic pole position capturing process PT1 and the current value capturing process IT1 are performed (step # A1).
  • three-phase two-phase conversion processing CT1 step # A2
  • current control processing IC1 step # A3
  • modulation factor / voltage command phase derivation processing MC1 step # A4
  • voltage control processing VC1 step # A5
  • a magnetic pole position capturing process PT2 in which the magnetic pole position ⁇ of the second electric motor MG2 detected at the beginning of the reference calculation cycle T0 is converted into digital data by the A / D converter 67 and captured (step # A6).
  • the voltage control process VC2 step # A7) for the second electric motor MG2 is executed.
  • the modulation factor M and the voltage command phase ⁇ v are set as the previous reference calculation cycle T0 (for example, the second reference operation viewed from the third reference calculation cycle T03 in FIG. 7).
  • the result of the modulation factor / voltage command phase derivation process MC2 for the second electric motor MG2 executed in the calculation cycle T02) is used as it is.
  • the control device 2 executes each process with priority given to the process for the second electric motor MG2 in accordance with the setting of the process period in the asynchronous control mode.
  • the magnetic pole position ⁇ and current detection values Iur, Ivr, and Iwr of the second electric motor MG2 detected at the beginning of the reference calculation cycle T0 are converted into digital data and captured by the A / D converter 67 (see FIG. 1).
  • the magnetic pole position capturing process PT2 and the current value capturing process IT2 are performed (step # B1).
  • step # B2 three-phase two-phase conversion processing CT2 (step # B2), current control processing IC2 (step # B3), modulation factor / voltage command phase derivation processing MC2 (step # B4), voltage control processing VC2 (step # B5) is executed in order. Thereafter, a magnetic pole position capturing process PT1 is performed in which the magnetic pole position ⁇ of the first electric motor MG1 detected at the beginning of the reference calculation cycle T0 is converted into digital data by the A / D converter 67 and captured (step # B6). . Next, the voltage control process VC1 (step # B7) for the first electric motor MG1 is executed.
  • the modulation factor M and the voltage command phase ⁇ v are set to the first reference calculation cycle T0 (for example, the first reference calculation cycle T02 in FIG. 7 as viewed from the second reference calculation cycle T02).
  • the result of the modulation factor / voltage command phase deriving process MC1 for the first electric motor MG1 executed in the calculation cycle T01) is used as it is.
  • the control device 2 executes each process with priority given to the process for the first electric motor MG1 in accordance with the setting of the process period in the synchronous control mode.
  • the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr of the first electric motor MG1 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 (see FIG. 1) and captured.
  • the magnetic pole position capturing process PT1 and the current value capturing process IT1 are performed (step # C1).
  • three-phase two-phase conversion processing CT1 step # C2
  • current average value calculation processing AC1 step # C3
  • current control processing IC1 step # C4
  • modulation factor / voltage command phase step # C6
  • the derivation process MC1 step # C5
  • the voltage control process VC1 step # C6
  • the magnetic pole position capturing process in which the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr of the second electric motor MG2 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 and captured.
  • PT2 and current value fetch processing IT2 are performed (step # C7).
  • a three-phase / two-phase conversion process CT2 (step # C8) for the second electric motor MG2 is executed.
  • the two-phase current detection values Idr and Iqr after the three-phase two-phase conversion calculated by the three-phase two-phase conversion processing CT2 for the second motor MG2 It is used when calculating the average value in the current average value calculation processing AC2 for the second electric motor MG2 in the reference calculation cycle T0 (for example, the second reference calculation cycle T02 viewed from the first reference calculation cycle T01 in FIG. 8).
  • the control device 2 executes each process with priority given to the process for the second electric motor MG2 in accordance with the setting of the process period in the synchronous control mode.
  • the magnetic pole position ⁇ and current detection values Iur, Ivr, and Iwr of the second electric motor MG2 detected at the beginning of the reference calculation cycle T0 are converted into digital data and captured by the A / D converter 67 (see FIG. 1).
  • the magnetic pole position capturing process PT2 and the current value capturing process IT2 are performed (step # D1).
  • step # D2 three-phase two-phase conversion processing CT2 (step # D2), current average value calculation processing AC2 (step # D3), current control processing IC2 (step # D4), modulation factor / voltage command phase
  • step # D5 the current average value calculation processing AC2 for the second motor MG2 in the even-numbered reference calculation cycle T0
  • the reference calculation cycle T0 in which the current average value calculation processing AC2 is performed and the odd-numbered reference calculation immediately before that are performed.
  • the magnetic pole position capturing process in which the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr of the first electric motor MG1 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 and captured.
  • PT1 and current value fetch processing IT1 are performed (step # D7).
  • a three-phase to two-phase conversion process CT1 (step # D8) for the first electric motor MG1 is executed.
  • the two-phase current detection values Idr and Iqr after the three-phase to two-phase conversion computed by the three-phase to two-phase conversion process CT1 for the first motor MG1 It is used when calculating the average value in the current average value calculation processing AC1 for the first electric motor MG1 in the reference calculation cycle T0 (for example, the third reference calculation cycle T03 viewed from the second reference calculation cycle T02 in FIG. 8).
  • the current detection values here, the two-phase current detection values Idr, Iqr
  • the current detection processing IS IS1, IS2
  • current control processing IC IC1, IC2
  • voltage control processing VC VC1, VC2
  • the current detection processing IS (IS1, IS2) is performed in a short cycle every reference calculation cycle T0, while the current control processing IC (IC1, IC2) and the voltage control processing VC (VC1, VC2) are performed in the reference calculation cycle T0.
  • the current control processing IC (IC1, IC2) and the voltage control processing VC (VC1, VC2) can be performed by feedback.
  • the cycle (sampling cycle) of the current detection processing IS IS1, IS2
  • the current detection value detected at the short cycle is appropriately reflected in the control, and the occurrence of current sampling aliasing can be suppressed.
  • the synchronous control mode does not require the output of a switching control signal for each carrier cycle TC, so there are few problems even if the cycle of the voltage control processing VC (VC1, VC2) is delayed. . Therefore, it is possible to suppress the occurrence of aliasing in current sampling even when the rotational speed of the electric motor MG is increased while using the CPU core 62 with limited processing capability.
  • the voltage control processing VC (VC1, VC2) is performed every reference calculation cycle T0, so that switching on and off basically every carrier cycle TC.
  • the voltage control processing VC (VC1, VC2) in the asynchronous control mode for outputting the OFF control signal can be appropriately performed in a short cycle. Contrary to the case where the synchronous control mode is selected, the calculation load of the CPU core 62 is increased by shortening the cycle of the voltage control processing VC (VC1, VC2), but the current detection processing IS (IS1, IS2).
  • the motor drive device 1 and the control device 2 according to the present embodiment are different from the first embodiment in which the two motors MG1 and MG2 are controlled, in that only one motor MG is controlled. . Therefore, although not shown in the drawings, the hardware configuration is different from the first embodiment in that the motor drive device 1 includes one inverter 6, one current sensor 7, and one rotation sensor 8. .
  • the software configuration is different from the first embodiment in that the control device 2 is configured to control one electric motor MG. Below, the process period of each part according to control mode and the procedure of an electric motor control process which are the main differences are demonstrated. Note that points that are not particularly described are basically the same as those in the first embodiment.
  • the control device 2 performs the current detection process IS at every reference calculation cycle T0 and performs the voltage control process VC at 2 of the reference calculation cycle T0.
  • Perform VC. 10 and 11 in addition to the carrier cycle TC and the reference calculation cycle T0, the current detection cycle that is the cycle in which the current detection processing IS is performed is “T1”, and the cycle in which the voltage control processing VC is performed.
  • a voltage control cycle is indicated as “T2”.
  • the magnetic pole position detection process PS and the magnetic pole position capture process PT are performed every reference calculation cycle T0 regardless of the control mode.
  • the contents of the current control processing IC vary depending on the control mode. In the asynchronous control mode, the current control processing IC is simply executed at the same cycle as the current detection processing IS.
  • the cycle of each process is basically the same as in the first embodiment.
  • the control device 2 when the interrupt processing of the CPU 61 is executed for each reference calculation cycle T0 (step # 11), the control device 2 first determines that the current control mode determined by the mode determination unit 51 is asynchronous. It is determined whether the control mode is the synchronous control mode (step # 12), and then it is determined whether the reference calculation cycle T0 that is repeatedly executed is an odd number or an even number (steps # 13, # 14). ).
  • a position capturing process PT and a current value capturing process IT are performed (step # E1).
  • three-phase to two-phase conversion processing CT (step # E2), current control processing IC (step # E3), modulation factor / voltage command phase derivation processing MC (step # E4), voltage control processing VC (step # E5) are executed in order.
  • the control device 2 executes only the process performed every reference calculation cycle T0 according to the setting of the processing cycle in the asynchronous control mode.
  • a magnetic pole position capturing process PT is performed in which the magnetic pole position ⁇ of the electric motor MG detected at the beginning of the reference calculation cycle T0 is converted into digital data by the A / D converter 67 and captured (step # E6).
  • the voltage control process VC (step # E5) is executed.
  • the modulation factor M and the voltage command phase ⁇ v are executed in the previous reference calculation cycle T0 (for example, the first reference calculation cycle T01 viewed from the second reference calculation cycle T02 in FIG. 10).
  • the result of the modulation rate / voltage command phase derivation process MC is used as it is.
  • a position capturing process PT and a current value capturing process IT are performed (step # F1).
  • three-phase to two-phase conversion processing CT (step # F2), current average value calculation processing AC (step # F3), current control processing IC (step # F4), modulation factor / voltage command phase derivation processing MC (step #) F5) and the voltage control process VC (step # F6) are executed in order.
  • the current average value calculation processing AC in the odd-numbered reference calculation cycle T0 the reference calculation cycle T0 in which the current average value calculation processing AC is performed and the previous even-numbered reference calculation cycle T0 (for example, FIG. 11).
  • the control device 2 executes only the process that is performed every reference calculation cycle T0 according to the setting of the processing cycle in the synchronous control mode.
  • the magnetic pole position capturing process PT in which the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 and captured.
  • Current value fetch processing IT is performed (step # F7).
  • a three-phase / two-phase conversion process CT (step # F8) is executed.
  • the two-phase current detection values Idr and Iqr after the three-phase to two-phase conversion calculated by the three-phase to two-phase conversion processing CT are the next odd-numbered reference calculation cycle T0 (for example, It is used when calculating the average value in the current average value calculation processing AC in the third reference calculation cycle T03 viewed from the second reference calculation cycle T02 in FIG.
  • the rotational speed of the rotor of the electric motor MG is relatively high, and current sampling aliasing tends to occur.
  • the control mode it is possible to shorten the current detection processing IS cycle (sampling cycle) and appropriately reflect the current detection value detected in the short cycle in the control to suppress the occurrence of current sampling aliasing.
  • the calculation load is reduced by doubling the length, and the entire calculation load of the control device 2 is kept within the processing capability of the CPU core 62.
  • the current detection process IS and the process associated therewith are performed in the reference calculation period T0.
  • the motor drive device 1 and the control device 2 according to the present embodiment perform the current detection processing IS (IS1, IS2) every reference calculation cycle T0 when the synchronous control mode is selected.
  • the contents of control for feeding back the current detection values Iur, Ivr, and Iwr acquired every time every reference calculation cycle T0 to the voltage control processing VC are different from those of the first embodiment.
  • the software configuration is different from the first embodiment in that the current control unit 13 does not include the average value calculation unit 21.
  • the hardware configuration is the same as in the first embodiment.
  • FIG. 7 is used as a time chart representing the processing cycle of each unit in the asynchronous control mode. Below, the process period of each part according to control mode and the procedure of an electric motor control process which are the main differences are demonstrated. Note that points that are not particularly described are basically the same as those in the first embodiment.
  • the control device 2 is configured to switch the setting of the processing cycle of each unit depending on whether the control mode selected by the mode determination unit 51 is the synchronous control mode or the asynchronous control mode.
  • the control device 2 has a cycle of the current detection process IS (IS1, IS2) by the current sensor 7 (7a, 7b) and a cycle of the voltage control process VC (VC1, VC2) by the voltage control unit 23.
  • the setting of the cycle of the current control processing IC (IC1, IC2) by the current control unit 13 is switched according to the control mode.
  • the voltage control processing VC (VC1, VC2) is performed.
  • the current detection cycle of the first motor MG ⁇ b> 1 is “T11” and the current detection cycle is the cycle in which the current detection process IS (IS ⁇ b> 1, IS ⁇ b> 2) is performed.
  • the current detection cycle of the two electric motors MG2 is “T12”, the voltage control cycle of the voltage control processing VC (VC1, VC2) is performed, the voltage control cycle of the first motor MG1 is “T21”, and the second motor MG2 Is shown as “T22”.
  • the control device 2 switches other processing cycles in accordance with the switching between the current detection cycle T1 and the voltage control cycle T2.
  • the current value capturing process IT (IT1, IT2) and the three-phase two-phase conversion process CT (CT1, CT2) for each of the two electric motors MG1, MG2 are performed as follows. After the current detection processing IS (IS1, IS2) for each of the two electric motors MG1, MG2, it is executed in the same cycle as the current detection processing IS (IS1, IS2). That is, when the asynchronous control mode is selected, the control device 2, as illustrated in FIG.
  • the current value capturing process IT IT1, IT2
  • CT1, CT2 three-phase two-phase conversion process CT
  • the cycle of the current control processing IC is also changed according to the switching of the cycle of the current detection cycle T1 and the voltage control cycle T2. Switch according to the mode.
  • the current control processing IC (IC1, IC2) for each of the two electric motors MG1, MG2 is the three-phase two-phase conversion processing CT (CT1, CT2) for each of the two electric motors MG1, MG2. Is executed in the same cycle as the current detection processing IS (IS1, IS2). Therefore, when the asynchronous control mode is selected, the control device 2 performs the current control processing IC (IC1, IC2) for each of the two electric motors MG1, MG2 as shown in FIG.
  • each of the two motors MG1 and MG2 is The current control processing IC (IC1, IC2) is performed every reference calculation cycle T0.
  • the current control processing ICs are the two-phase current detection values Idr, Iqr after the three-phase two-phase conversion by the three-phase two-phase conversion processing CT (CT1, CT2).
  • CT1, CT2 three-phase two-phase conversion processing
  • proportional control and integral control are performed to obtain a two-phase voltage command value as the first voltage command value. This is a process for determining Vd and Vq.
  • two-phase voltage command values Vd and Vq derived by the current control processing IC include current detection values Idr and Iqr and current command values Id for a plurality of times as integral terms of the integral control. , Iq and a value corresponding to an integral value and an integral gain.
  • the integral term of the two-phase voltage command values Vd and Vq derived by the current control processing IC includes a plurality of current detection values Idr, Iqr is reflected.
  • the magnetic pole position detection process PS PS1, PS2
  • the magnetic pole position capture process PT PT1, PT2
  • the modulation rate / voltage command phase derivation process MC MC1, MC2
  • the control device 2 monitors whether the reference calculation cycle T0 that is repeatedly executed is an odd number or an even number, and according to the result, for example, the first motor MG1 is odd numbered.
  • the process for the second electric motor MG2 is executed for the even number of times.
  • the processing cycle for the first electric motor MG1 and the processing cycle for the second electric motor MG2 are shifted by a half of the processing cycle (here, equal to the reference calculation cycle T0).
  • the control device 2 executes the process for the second electric motor MG2 after executing the process for the first electric motor MG1 first for the odd number of times, and the process for the second electric motor MG1 for the odd number of times. After the process for the second electric motor MG2 is executed first, the process for the first electric motor MG1 is executed.
  • the process for the first electric motor MG1 is executed.
  • step # 21 when the interrupt process of the CPU 61 is executed for each reference calculation cycle T0 (step # 21), the control device 2 first determines that the current control mode determined by the mode determination unit 51 is asynchronous. It is determined whether the control mode or the synchronous control mode is set (step # 22), and then it is determined whether the reference calculation cycle T0 that is repeatedly executed is an odd number or an even number (steps # 23, # 24). ).
  • step # 22: Yes When the current control mode is the asynchronous control mode (step # 22: Yes), the processing cycle of each part and the procedure of the motor control processing are the same as those in the first embodiment. Accordingly, the processes of steps # G1 to # G7 and steps # H1 to # H7 in the flowchart of FIG.
  • the time chart in the asynchronous control mode is the same as the time chart shown in FIG. 7 according to the first embodiment. Therefore, the description regarding the asynchronous control mode according to the present embodiment is the same as that of the first embodiment, and will be omitted.
  • the control device 2 executes each process with priority given to the process for the first electric motor MG1 in accordance with the setting of the process period in the synchronous control mode.
  • the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr of the first electric motor MG1 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 (see FIG. 1) and captured.
  • the magnetic pole position capturing process PT1 and the current value capturing process IT1 are performed (step # I1).
  • three-phase two-phase conversion processing CT1 step # I2
  • current control processing IC1 step # I3
  • modulation factor / voltage command phase derivation processing MC1 step # I4
  • voltage control processing VC1 step # I5
  • the reference calculation cycle T0 in which the voltage control processing VC1 is performed and the even-numbered reference calculation cycle T0 (for example, immediately before).
  • the voltage control process VC1 is executed based on the two-phase voltage command values Vd and Vq reflecting the current detection values Idr and Iqr for the number of times.
  • step # I6 the magnetic pole position capturing process in which the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr of the second electric motor MG2 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 and captured.
  • PT2 and current value fetch processing IT2 are performed (step # I6).
  • a three-phase / two-phase conversion process CT2 step # I7) and a current control process IC2 (step # I8) are sequentially executed.
  • the current control process IC2 for the second motor MG2 executed in the odd-numbered reference calculation cycle T0 is the current detection values Iur, Ivr, Ivr, Ivr of the second motor MG2 detected at the beginning of the odd-numbered reference calculation cycle T0. This is performed to reflect Iwr in the integral terms of the voltage command values Vd and Vq as a result of the current control processing IC2.
  • the control device 2 executes each process with priority given to the process for the second electric motor MG2 in accordance with the setting of the process period in the synchronous control mode.
  • the magnetic pole position ⁇ and current detection values Iur, Ivr, and Iwr of the second electric motor MG2 detected at the beginning of the reference calculation cycle T0 are converted into digital data and captured by the A / D converter 67 (see FIG. 1).
  • the magnetic pole position capturing process PT2 and the current value capturing process IT2 are performed (step # J1).
  • step # J2 three-phase two-phase conversion processing CT2 (step # J2), current control processing IC2 (step # J3), modulation factor / voltage command phase derivation processing MC2 (step # J4), voltage control processing VC2 (step # J5) is executed in order.
  • the voltage control process VC2 for the second electric motor MG2 in the even-numbered reference calculation cycle T0 the reference calculation cycle T0 in which the voltage control process VC2 is performed and the odd-numbered reference calculation cycle T0 immediately before that (for example, In FIG.
  • the magnetic pole position capturing process in which the magnetic pole position ⁇ and the current detection values Iur, Ivr, and Iwr of the first electric motor MG1 detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 and captured.
  • PT1 and current value fetch processing IT1 are performed (step # J6).
  • the three-phase / two-phase conversion process CT1 step # J7) and the current control process IC1 (step # J8) are sequentially executed.
  • the current control process IC1 for the first electric motor MG1 executed in the even-numbered reference calculation cycle T0 is the current detection values Iur, Ivr, Ivr, Ivr of the first electric motor MG1 detected at the beginning of the even-numbered reference calculation cycle T0. This is performed to reflect Iwr in the integral term of the voltage command values Vd and Vq as a result of the current control processing IC1.
  • the calculation load of the CPU core 62 is increased by shortening the cycle of the current detection processing IS (IS1, IS2) and the current control processing IC (IC1, IC2) as compared with the case of the asynchronous control mode.
  • the calculation load required for the voltage control process VC (VC1, VC2) is reduced.
  • the entire calculation load is within the range of the processing capability of the CPU core 62. Therefore, it is possible to suppress the occurrence of aliasing in current sampling even when the rotational speed of the electric motor MG is increased while using the CPU core 62 with limited processing capability.
  • the configuration of the control device 2 according to the present embodiment is basically close to that of the third embodiment, but differs from the third embodiment in that only one electric motor MG is controlled. Therefore, although not shown in the drawings, the hardware configuration is different from the third embodiment in that the electric motor drive device 1 includes one inverter 6, one current sensor 7, and one rotation sensor 8. . Further, the software configuration is different from the third embodiment in that the control device 2 is configured to control one electric motor MG. In the present embodiment, the processing cycle of each part and the procedure of the motor control process in the asynchronous control mode are the same as those in the second embodiment. Therefore, in the description of the present embodiment, FIG.
  • the control device 2 performs the current detection process IS for each reference calculation cycle T0 and performs the voltage control process VC for 2 in the reference calculation cycle T0.
  • a voltage control cycle is indicated as “T2”.
  • the control device 2 switches other processing cycles in accordance with the switching between the current detection cycle T1 and the voltage control cycle T2. Specifically, as in the third embodiment, the current value acquisition process IT and the three-phase / two-phase conversion process CT are executed in the same cycle as the current detection process IS after the current detection process IS. That is, when the asynchronous control mode is selected, the control device 2 performs the current value fetch process IT and the three-phase two-phase conversion process CT as shown in FIG. When the synchronous control mode is selected, the current value capturing process IT and the three-phase / two-phase conversion process CT are performed every reference calculation period T0 as shown in FIG.
  • the cycle of the current control processing IC is also switched according to the switching of the cycle of the current detection cycle T1 and the voltage control cycle T2, that is, according to the control mode.
  • the two-phase voltage command values Vd and Vq derived by the current control processing IC include deviations between the current detection values Idr and Iqr for a plurality of times and the current command values Id and Iq as integral terms of the integral control.
  • the value corresponding to the integral value and integral gain is included.
  • the voltage control process VC is executed based on the two-phase voltage command values Vd and Vq reflecting the current detection values Idr and Iqr.
  • the magnetic pole position detection process PS and the magnetic pole position capture process PT are performed every reference calculation cycle T0 regardless of the control mode.
  • the cycle of each process is basically the same as in the first embodiment.
  • step # 31 when the interrupt processing of the CPU 61 is executed for each reference calculation cycle T0 (step # 31), the control device 2 first determines that the current control mode determined by the mode determination unit 51 is asynchronous. It is determined whether the control mode is the synchronous control mode (step # 32), and then it is determined whether the reference calculation cycle T0 that is repeatedly executed is an odd number or an even number (steps # 33, # 34). ). When the current control mode is the asynchronous control mode (step # 32: Yes), the processing cycle of each part and the procedure of the motor control processing are the same as those in the second embodiment. Accordingly, the processing of steps # K1 to # K6 in the flowchart of FIG. 14 is the same as the processing of steps # E1 to # E6 of FIG.
  • a position capturing process PT and a current value capturing process IT are performed (step # L1).
  • three-phase to two-phase conversion processing CT (step # L2), current control processing IC (step # L3), modulation factor / voltage command phase derivation processing MC (step # L4), voltage control processing VC (step # L5) are executed in order.
  • the reference calculation cycle T0 in which the voltage control processing VC is performed and the even-numbered reference calculation cycle T0 (for example, FIG. 15).
  • the voltage control process VC is executed based on the two-phase voltage command values Vd and Vq reflecting Idr and Iqr.
  • the control device 2 executes only the process that is performed every reference calculation cycle T0 according to the setting of the processing cycle in the synchronous control mode.
  • the magnetic pole position ⁇ and the detected current values Iur, Ivr, and Iwr of the electric motor MG detected at the beginning of the reference calculation cycle T0 are converted into digital data by the A / D converter 67 (see FIG. 1) and taken in.
  • a position capturing process PT and a current value capturing process IT are performed (step # L6).
  • the three-phase / two-phase conversion process CT (step # L7) and the current control process IC (step # L8) are sequentially executed.
  • the current control processing IC executed in the even-numbered reference calculation cycle T0 uses the current detection values Iur, Ivr, and Iwr detected at the beginning of the even-numbered reference calculation cycle T0 as the result of the current control processing IC. This is performed in order to reflect in the integral terms of the voltage command values Vd and Vq.
  • the rotational speed of the rotor of the electric motor MG is relatively high, and current sampling aliasing tends to occur.
  • the control mode it is possible to shorten the current detection processing IS cycle (sampling cycle) and appropriately reflect the current detection value detected in the short cycle in the control to suppress the occurrence of current sampling aliasing.
  • the calculation load is reduced by doubling the length, and the entire calculation load of the control device 2 is kept within the processing capacity of the CPU core 62.
  • the mode determination unit 51 can select the third control mode in which rectangular wave control is performed as the synchronous control mode, and the sine wave PWM control is performed as the asynchronous control mode.
  • the case where the first control mode to be performed or the second control mode to perform the overmodulation PWM control can be selected has been described as an example.
  • the embodiment of the present invention is not limited to this.
  • as a synchronous control mode each switching element is turned on and off once per electrical angle cycle, and other than rectangular wave control (one pulse control) in which one pulse is output per electrical angle half cycle.
  • M-pulse control for example, 3-pulse control or 5-pulse control
  • M is an integer of 2 or more
  • the M pulse control is a control in which M pulses are output per electrical angle half cycle, and the width of each pulse is predetermined according to the phase of the electrical angle.
  • the widths of the M pulses output within the electrical angle half cycle may be set to be different from each other or may be set to be the same. It is also preferable that the mode determination unit 51 selects one of the plurality of synchronization control modes.
  • the electrical angle cycle of the motor MG and the switching cycle of the inverter 6 are not synchronized, and the switching control signals Pu, Nu, Pv, Nv, Pw, and Nw of the inverter 6 are generated based on the carrier.
  • Various control modes are included.
  • Such an asynchronous control mode includes various PWM controls such as two-phase modulation PWM control and space vector PWM control in addition to sine wave PWM control and overmodulation PWM control.
  • a control method other than PWM control is included in the asynchronous control mode in the present invention as long as the control method does not synchronize the cycle of the electrical angle of the electric motor MG and the switching cycle of the inverter 6.
  • N in the present invention 2 and the processing cycle longer than the reference calculation cycle T0 is twice the reference calculation cycle T0 has been described as an example.
  • the embodiment of the present invention is not limited to this, and it is one of the preferred embodiments of the present invention that N is set to an integer larger than 2 such as 3, 4, 5, etc. It is.
  • the control device 2 when N is set to 4, in the synchronous control mode, the control device 2 performs the current detection process IS every reference calculation cycle T0 and performs the voltage control process VC at a cycle four times the reference calculation cycle T0.
  • the voltage detection process VC is performed once by feeding back the current detection values for four times detected by the four current detection processes IS.
  • the control device 2 performs the voltage control processing VC every reference calculation cycle T0, and performs the current detection processing IS at a cycle four times the reference calculation cycle T0.
  • the voltage detection processing VC is performed four times by feeding back the current detection value detected by the above.
  • the control device 2 may be configured to control more than two AC motors MG such as three, four, etc. This is one of the preferred embodiments.
  • the motor drive device 1 includes a plurality of inverters 6 that drive and control each of the plurality of AC motors MG, and the control device 2 controls the plurality of inverters 6 to thereby control the plurality of AC motors MG. Configured to control.
  • the number of AC motors MG is preferably the same as “N” in the present invention, which defines a processing cycle longer than the reference calculation cycle T0, but may be different from this.
  • the present invention is applied to the control device 2 of the electric motor drive device 1 that controls the electric motor MG used as a driving force source for an electric vehicle, a hybrid vehicle, or the like. explained.
  • the scope of application of the present invention is not limited to this. That is, the present invention can be applied to control all devices and devices that are controlled by an AC motor.
  • the present invention can be suitably used for a control device that controls an electric motor drive device including an inverter that converts a DC voltage into an AC voltage and supplies the AC voltage to an AC motor, and performs current feedback control of the AC motor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

 処理能力が限られた演算処理ユニットを使用しつつ、電動機の回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑える。 交流電動機の電流フィードバック制御を行う制御装置であって、交流電動機の電気角の周期とインバータのスイッチング周期とを同期させる同期制御モードと、スイッチング制御信号をキャリアに基づいて生成する非同期制御モードとのいずれかを選択する制御モード選択部を備え、同期制御モードが選択された場合には、交流電動機のコイルに流れる電流を検出する電流検出処理ISをキャリアの周期の1/2に設定された基準演算周期T0毎に行うと共に、電圧制御処理VCを基準演算周期T0のN倍(Nは2以上の整数)の周期で行い、N回の電流検出処理ISにより検出されたN回分の電流検出値をフィードバックして1回の電圧制御処理VCを行う。

Description

電動機駆動装置の制御装置
 本発明は、直流電圧を交流電圧に変換して交流電動機に供給するインバータを備えた電動機駆動装置を制御し、前記交流電動機の電流フィードバック制御を行う制御装置に関する。
 直流電源からの直流電圧を交流電圧に変換して交流電動機に供給するインバータを備えた電動機駆動装置を制御し、交流電動機の電流フィードバック制御を行う制御装置が既に知られている。このような電動機駆動装置の制御装置に関して、例えば、下記の特許文献1には、ベクトル制御法を用いて電流フィードバック制御を行うと共に、インバータをPWM(pulse width modulation:パルス幅変調)制御により制御して直流電力から交流電力を生成し、電動機の各相のコイルに供給して電動機を駆動する制御装置が記載されている。ここで、ベクトル制御では、U相、V相、W相の3相交流の電流及び電圧を、ロータに配置された永久磁石の磁界の方向であるd軸と当該d軸に直交するq軸との2軸の回転座標系に変換することにより、2相の直流の電流及び電圧として扱う。
 この特許文献1に記載された制御装置は、まず、外部から与えられた電流指令値id*、iq*と電動機を流れる実際の電流検出値id、iqとに基づいて2相電圧指令値vd’*、vq’*を導出する電流制御処理を行う。次に、非干渉演算により、干渉項が補正された2相電圧指令値vd*、vq*を導出する。その後、電圧制御部により、2相電圧指令値vd*、vq*と電動機のロータの回転位置を表す磁極位置θreとに基づいて、三相電圧指令値vu*、vv*、vw*を導出すると共に、キャリア(三角波)と三相電圧指令値vu*、vv*、vw*とを比較することによってPWM信号を生成する電圧制御処理を行う。そして、このPWM信号によりインバータを駆動制御して電動機に交流電力を供給して駆動する。
 また、この制御装置では、1つの演算処理ユニットを用いて2つの電動機のベクトル制御を共通に行なうことができるように構成されている。そして、PWMキャリアの1周期を割り込み周期とし、当該割り込み周期の2倍又は整数n倍の周期で、電流検出値id、iqの読み込み、電流制御処理、及び電圧制御処理を行う。但し、この制御装置では、1回の電流検出値id、iqを用いて、1回の電圧制御処理で割り込み周期毎の2回分の三相電圧指令値vu*、vv*、vw*を演算することにより、割り込み周期毎にPWM信号の出力を得ることができる。
特許第3890907号公報
 ところで、一般的に、電流検出処理の周期に比べて電動機の回転速度が高くなると、エイリアシングの問題が起き易くなる。すなわち、電動機の回転速度が低い状態では、コイルに流れる電流リプルの周期に対して電流検出処理の周期(サンプリング周期)が十分に短いためエイリアシングの問題は生じ難い。しかし、電動機の回転速度が高い状態では、コイルに流れる電流リプルの周期が電流検出処理の周期に近づくため、電流サンプリングのエイリアシングによって、実際には存在しない低周波の電流リプルを誤検出する場合がある。そして、このように誤検出された電流リプルを含む電流検出値に基づいて電流制御処理を行って電動機の電流フィードバック制御を実行すると、実際には存在しない電流リプルを打ち消すための成分を含んだ電圧指令値が生成されることになる。その結果、電動機のコイルに低周波の電流リプルが実際に流れることになり、電動機にトルクリプルが発生する要因になる。
 これに対して、電動機の回転速度が高い状態に合わせて電流検出処理の周期を短くし、それに合わせて電流検出値に基づく電流制御処理の周期も短くすれば、エイリアシングの発生を抑えることが可能である。しかしながら、そのような対策では、制御装置の演算処理ユニットに対する演算負荷がその分増大し、従来の演算処理ユニットでは処理能力が不足するため、これまでよりも処理能力が高い演算処理ユニットを使用する必要が生じ、装置の高価格化や大型化の要因となる。
 そこで、処理能力が限られた演算処理ユニットを使用しつつ、電動機の回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることができる電動機駆動装置の制御装置を実現することが望まれる。
 本発明に係る、直流電圧を交流電圧に変換して交流電動機に供給するインバータを備えた電動機駆動装置を制御し、前記交流電動機の電流フィードバック制御を行う制御装置の特徴構成は、前記交流電動機に供給する交流電圧の指令値である交流電圧指令値を決定し、前記インバータのスイッチング制御信号を生成する電圧制御処理を行う電圧制御部を備えると共に、前記交流電動機の電気角の周期と前記インバータのスイッチング周期とを同期させる同期制御モードと、これらを同期させない非同期制御モードとのいずれかを選択する制御モード選択部を備え、前記同期制御モードが選択された場合には、前記交流電動機のコイルに流れる電流を検出する電流検出処理をキャリアの周期の1/2に設定された基準演算周期毎に行うと共に、前記電圧制御処理を前記基準演算周期のN倍(Nは2以上の整数)の周期で行い、N回の前記電流検出処理により検出されたN回分の電流検出値をフィードバックして1回の前記電圧制御処理を行う点にある。
 交流電動機の制御を行うに際して、ロータの回転速度が比較的高い状態では、交流電動機の電気角の周期とインバータのスイッチング周期とを同期させる同期制御モードを選択し、ロータの回転速度が比較的低い状態では、交流電動機の電気角の周期とインバータのスイッチング周期とを同期させず、インバータのスイッチング制御信号をキャリアに基づいて生成するPWM制御等の非同期制御モードを選択することが、効率や制御応答性の面から望ましい。よって、このような制御モードの選択が行われることが多い。ここで、電圧制御処理に関して、非同期制御モードに含まれるPWM制御等では、スイッチング制御信号を生成するために磁極位置に応じた交流電圧指令値を生成してキャリアとの比較演算を行い、基本的にキャリア周期毎にインバータのスイッチングが行われる。これに対して、同期制御モードでは、磁極位置に応じたスイッチングのオンオフ切替位相を導出し、当該オンオフ切替位相に従ってインバータのスイッチングを行えばよい。そのため、非同期制御モードに比べて同期制御モードでは、電圧制御処理を短い周期で行う必要性は低い。
 上記の特徴構成によれば、同期制御モードが選択された場合に電流検出処理をキャリア周期の1/2に設定された基準演算周期毎に行うことにより、電動機の回転速度が比較的高く、交流電圧指令値の周波数に対してキャリアの周波数が比較的近い状態において電流検出処理の周期(サンプリング周期)を短くすることになるので、電流サンプリングのエイリアシングの発生を抑えることができる。従って、電動機のコイルに電流リプルが流れることを抑制できる。また、電流検出処理の周期を短くしたことによって演算処理ユニットの演算負荷が増加するが、電圧制御処理を基準演算周期のN倍の周期で行うことにより電圧制御処理に要する演算負荷を軽減し、電動機駆動装置及び交流電動機を制御するための全体の演算負荷を演算処理ユニットの処理能力の範囲内に収めることができる。ここで、電圧制御処理は、常に変動する交流電動機の磁極位置に応じてインバータのスイッチング制御信号を生成するものであるため、一般的には短い周期で行うことが望ましい。しかし、上記のとおり、同期制御モードでは、非同期制御モードとは異なり、キャリア周期毎にインバータのスイッチングを行う必要はないため、電圧制御処理の周期を遅くしても問題は少ない。従って、処理能力が限られた演算処理ユニットを使用しつつ、電動機の回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることができる。
 ここで、前記非同期制御モードが選択された場合には、前記電圧制御処理を前記基準演算周期毎に行うと共に、前記電流検出処理を前記基準演算周期のN倍の周期で行い、1回の前記電流検出処理により検出された電流検出値をフィードバックしてN回の前記電圧制御処理を行う構成とすると好適である。
 この構成によれば、非同期制御モードが選択された場合に電圧制御処理をキャリア周期の1/2に設定された基準演算周期毎に行うことにより、上記のとおり、基本的にキャリア周期毎にスイッチングのオン及びオフの制御信号を出力する非同期制御モードの電圧制御処理を短い周期で適切に行うことができる。また、同期制御モードが選択された場合とは反対に、電圧制御処理の周期を短くしたことによって演算処理ユニットの演算負荷が増加するが、電流検出処理を基準演算周期のN倍の周期で行うことにより電流検出処理及びそれに伴う演算処理に要する演算負荷を軽減し、電動機駆動装置及び交流電動機を制御するための全体の演算負荷を演算処理ユニットの処理能力の範囲内に収めることができる。この際、非同期制御モードが選択されるのは、電動機の回転速度が比較的低く、交流電圧指令値の周波数に対してキャリアの周波数が十分に高い状態であるため、キャリアの周期を基準とする電流検出処理の周期(サンプリング周期)をキャリア周期に対してある程度長くしても電流サンプリングのエイリアシングは発生し難く、電流検出処理の周期を遅くしても問題はない。従って、処理能力が限られた演算処理ユニットを使用しつつ、電動機の回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることができる。
 また、前記交流電動機に対する要求トルクに基づいて定まる電流指令値と前記電流検出処理により検出された電流検出値との偏差に基づいて第一電圧指令値を決定する電流制御処理を行う電流制御部と、N回の前記電流検出処理により検出されたN回分の電流検出値の平均値を演算する平均値演算を行う平均値演算部と、を備え、前記同期制御モードが選択された場合には、前記平均値演算及び前記電流制御処理を前記電圧制御処理と共に前記基準演算周期のN倍の周期で行い、前記電流制御部は、前記電流指令値と前記平均値演算部により演算された前記平均値との偏差に基づいて前記電流制御処理を行って前記第一電圧指令値を決定し、前記電圧制御部は、当該第一電圧指令値に基づいて前記電圧制御処理を行う構成とすると好適である。
 この構成によれば、同期制御モードが選択された場合に、基準演算周期毎に行う電流検出処理の結果としての電流検出値のN回分の平均値を演算し、当該平均値を用いて電流制御処理及び電圧制御処理を基準演算周期のN倍の周期で行うことになる。従って、電流検出処理を基準演算周期毎の短い周期で行うのに対して電流制御処理及び電圧制御処理を基準演算周期のN倍の比較的長い周期で行う場合に、N回の電流検出処理により検出されたN回分の電流検出値を適切にフィードバックして電流制御処理及び電圧制御処理を行うことができる。これにより、電動機駆動装置及び交流電動機を制御するための全体の演算負荷を演算処理ユニットの処理能力の範囲内に収めつつ、短い周期で検出された電流検出値を適切に反映して電流サンプリングのエイリアシングの発生を抑えることができる。
 或いは、前記交流電動機に対する要求トルクに基づいて定まる電流指令値と前記電流検出処理により検出された電流検出値との偏差に基づいて少なくとも比例制御及び積分制御を行って第一電圧指令値を決定する電流制御処理を行う電流制御部を備え、
 前記同期制御モードが選択された場合には、前記電流制御処理を前記電流検出処理と共に基準演算周期毎に行い、前記電圧制御部は、N回の前記電流制御処理によって積分項にN回分の電流検出値が反映された第一電圧指令値に基づいて前記電圧制御処理を行う構成としても好適である。
 この構成によれば、同期制御モードが選択された場合に、電流検出処理及び電流制御処理を基準演算周期毎に行うと共に、電圧制御処理を基準演算周期のN倍の周期で行うことになる。この際、基準演算周期毎に行われた電流検出処理及び電流制御処理により、N回分の電流検出値を積分項に反映した第一電圧指令値が電流制御処理によって演算される。従って、電流検出処理を基準演算周期毎の短い周期で行うのに対して電圧制御処理を基準演算周期のN倍の比較的長い周期で行う場合に、N回の電流検出処理により検出されたN回分の電流検出値を適切にフィードバックして電圧制御処理を行うことができる。これにより、電動機駆動装置及び交流電動機を制御するための全体の演算負荷を演算処理ユニットの処理能力の範囲内に収めつつ、短い周期で検出された電流検出値を適切に反映して電流サンプリングのエイリアシングの発生を抑えることができる。
 また、N個の前記交流電動機の電流フィードバック制御のための演算処理を単一の演算処理ユニットにより行うように構成され、前記同期制御モードが選択された場合には、N個の前記交流電動機のそれぞれについての前記電流検出処理を前記基準演算周期毎に行うと共に、N個の前記交流電動機のそれぞれについての前記電圧制御処理を、前記基準演算周期のN倍の周期で互いに異なる基準演算周期内に行う構成とすると好適である。
 この構成によれば、N個の交流電動機の電流フィードバック制御のための演算処理を単一の演算処理ユニットにより行う場合においても、同期制御モードが選択された場合に、各交流電動機の電流検出処理を基準演算周期毎に行うことにより、電流検出処理の周期(サンプリング周期)を短くして電流サンプリングのエイリアシングの発生を抑えることができる。また、電流検出処理の周期を短くしたことによって演算処理ユニットの演算負荷が増加するが、各交流電動機の電圧制御処理を基準演算周期のN倍の周期で互いに他の交流電動機の電圧制御処理とは異なる基準演算周期内に行うことにより、N個の交流電動機のそれぞれについての電圧制御処理を所定の周期で適切に行いつつ、基準演算周期毎の演算負荷の偏りを抑え、電圧制御処理に要する演算負荷を軽減することができる。これにより、電動機駆動装置及び交流電動機を制御するための全体の演算負荷を演算処理ユニットの処理能力の範囲内に収めることができる。従って、処理能力が限られた演算処理ユニットを使用してN個の交流電動機の制御を適切に行いつつ、電動機の回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることができる。
 また、前記非同期制御モードが選択された場合には、N個の前記交流電動機のそれぞれについての前記電圧制御処理を前記基準演算周期毎に同じ基準演算周期内で順に行うと共に、N個の前記交流電動機のそれぞれについての前記電流検出処理を前記基準演算周期のN倍の周期で互いに異なるタイミングで行い、N個の前記交流電動機のそれぞれについて1回の前記電流検出処理により検出された電流検出値をフィードバックしてN回の前記電圧制御処理を行う構成とすると好適である。
 この構成によれば、N個の交流電動機の電流フィードバック制御のための演算処理を単一の演算処理ユニットにより行う場合においても、非同期制御モードが選択された場合に、各交流電動機の電圧制御処理を基準演算周期毎に同じ基準演算周期内で順に行うことにより、N個の交流電動機のそれぞれについての非同期制御モードの電圧制御処理を短い周期で適切に行うことができる。また、同期制御モードが選択された場合とは反対に、各交流電動機の電圧制御処理の周期を短くしたことによって演算処理ユニットの演算負荷が増加するが、各交流電動機の電流検出処理を基準演算周期のN倍の周期で互いに他の交流電動機の電流検出処理とは異なるタイミングで行うことにより、N個の交流電動機のそれぞれについての電流検出処理を所定の周期で適切に行いつつ、基準演算周期毎の演算負荷の偏りを抑え、電流検出処理及びそれに伴う演算処理に要する演算負荷を軽減することができる。これにより、電動機駆動装置及び交流電動機を制御するための全体の演算負荷を演算処理ユニットの処理能力の範囲内に収めることができる。従って、処理能力が限られた演算処理ユニットを使用してN個の交流電動機の制御を適切に行いつつ、電動機の回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることができる。
第一の実施形態に係る制御装置を含む車両のシステム構成の一例を模式的に示すブロック図である。 第一の実施形態に係る制御装置の機能ブロック図である。 制御モードを決定する際に参照するマップの一例を示す図である。 第一制御モードにおける交流電圧指令値の一例を示す図である。 第三制御モードにおける交流電圧指令値の一例を示す図である。 第一の実施形態に係る電動機制御処理の処理手順を示すフローチャートである。 第一の実施形態に係る非同期制御モードを行う場合のタイムチャートである。 第一の実施形態に係る同期制御モードを行う場合のタイムチャートである。 第二の実施形態に係る電動機制御処理の処理手順を示すフローチャートである。 第二の実施形態に係る非同期制御モードを行う場合のタイムチャートである。 第二の実施形態に係る同期制御モードを行う場合のタイムチャートである。 第三の実施形態に係る電動機制御処理の処理手順を示すフローチャートである。 第三の実施形態に係る同期制御モードを行う場合のタイムチャートである。 第四の実施形態に係る電動機制御処理の処理手順を示すフローチャートである。 第四の実施形態に係る同期制御モードを行う場合のタイムチャートである。
1.第一の実施形態
 本発明に係る電動機駆動装置1の制御装置2の第一の実施形態について、図面を参照して説明する。図1に示すように、本実施形態においては、電動機駆動装置1が、三相交流により動作する交流電動機としての埋込磁石構造の2つの同期電動機MG1、MG2(IPMSM、以下、これらを総称して単に「電動機MG」という場合がある。)を駆動制御する装置として構成されている場合を例として説明する。これらの電動機MGは、必要に応じて発電機としても動作するように構成されている。これらの電動機MGは、例えば、電動車両やハイブリッド車両等の駆動力源として用いられる。電動機駆動装置1は、直流電圧Vdcを交流電圧に変換して電動機MGに供給するインバータ6を有して構成されている。そして、本実施形態では、図2に示すように、制御装置2は、電動機駆動装置1を制御することにより、ベクトル制御法を用いて電動機MGの電流フィードバック制御を行う。
 このような構成において、本実施形態に係る制御装置2は、電動機MGに供給する交流電圧の指令値である交流電圧指令値Vu、Vv、Vwを決定し、インバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する電圧制御処理を行う電圧制御部23を備えている(図2参照)。また、電動機制御装置1は、電動機MGの電気角の周期とインバータ6のスイッチング周期とを同期させる同期制御モードと、これらを同期させない非同期制御モードとのいずれかを選択可能に備えている。そして、同期制御モードが選択された場合には、電動機MGのコイルに流れる電流を検出する電流検出処理をキャリアの周期の1/2に設定された基準演算周期毎に行うと共に、電圧制御処理を基準演算周期のN倍(Nは2以上の整数)の周期で行い、N回の電流検出処理により検出されたN回分の電流検出値をフィードバックして1回の電圧制御処理を行う(図8を参照)点に特徴を有する。これにより、処理能力が限られた演算処理ユニットを使用しつつ、電動機MGの回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることができる電動機制御装置1が実現されている。なお、本実施形態では、上記「N」が「2」である場合を例として説明する。以下、本実施形態に係る電動機駆動装置1及びその制御装置2について詳細に説明する。
1-1.電動機駆動装置及び制御装置のハードウエア構成
 まず、本実施形態に係る電動機駆動装置1及び制御装置2のハードウエア構成について、図1に基づいて説明する。図1に示すように、本実施形態では、第一電動機MG1及び第二電動機MG2の2つの三相同期電動機を制御対象として備えている。第一電動機MG1と第二電動機MG2とは、同じ性能の電動機であっても良いし、異なる性能の電動機であっても良い。電動機MG1,MG2は、それぞれインバータ6a、6b(以下、これらを総称して単に「インバータ6」という場合がある。)を介して、直流電圧Vdcを発生させる直流電源3に接続されている。直流電源3としては、例えば、ニッケル水素二次電池やリチウムイオン二次電池等の各種二次電池、キャパシタ、或いはこれらの組合せ等が用いられる。直流電源3の電圧である直流電圧Vdcは、不図示の電圧センサにより検出されて制御装置2へ出力される。なお、直流電源3とインバータ6との間に、直流電源3からの直流電圧Vdcを平滑化する平滑コンデンサや直流電源3からの直流電圧Vdcを昇圧するコンバータ等を介挿して備えた構成としても好適である。
 インバータ6は、直流電源3からの直流電圧Vdcを三相交流電圧に変換して電動機MGに供給する。このように供給された三相交流電圧によって電動機MGが駆動される。すなわち、インバータ6は直流交流変換部として機能する。インバータ6は、複数のスイッチング素子(不図示)を有して構成される。スイッチング素子には、例えば、IGBT(insulated gate bipolar transistor)やMOSFET(metal oxide semiconductor field effect transistor)等を適用すると好適である。以下、スイッチング素子としてIGBTを用いる場合を例として説明する。
 インバータ6(6a、6b)は、三相のブリッジ回路により構成される。インバータ6の入力プラス側と入力マイナス側との間に2つのIGBTが直列に接続され、この直列回路が3回線並列接続される。つまり、電動機MG(MG1、MG2)のu相、v相、w相に対応するステータコイルMu(Mu1、Mu2)、Mv(Mv1、Mv2)、Mw(Mw1、Mw2)のそれぞれに一組の直列回路が対応したブリッジ回路が構成される。各相の上段側のIGBTのコレクタはインバータ6の入力プラス側に接続され、エミッタは各相の下段側のIGBTのコレクタに接続される。また、各相の下段側のIGBTのエミッタは、インバータ6の入力マイナス側(例えば、グラウンド)に接続される。対となる各相のIGBTによる直列回路の中間点、つまり、IGBTの接続点は、電動機MGのステータコイルMu、Mv、Mwにそれぞれ接続される。
 なお、IGBTには、それぞれフリーホイールダイオード(回生ダイオード)が並列に接続される。フリーホイールダイオードは、カソード端子がIGBTのコレクタ端子に接続され、アノード端子がIGBTのエミッタ端子に接続される形態でIGBTに対して並列に接続される。各IGBTのゲートは、ドライバ回路76を介して制御装置2に接続されており、それぞれ個別にスイッチング制御される。
 制御装置2は、電動機駆動装置1に備えられた複数(ここでは2個)のインバータ6(6a、6b)を制御する。制御装置2は、マイクロコンピュータなどの論理回路を中核として構成されたECU(electronic control unit)として構成されている。本実施形態では、制御装置2は、シングルタスクのマイクロコンピュータであるCPU(central processing unit)61と、インターフェース回路70と、その他の周辺回路等とを有して構成される。CPU61は、後述する電動機制御処理を実行するコンピュータである。インターフェース回路70は、EMI(electro-magnetic interference)対策部品やバッファ回路などにより構成される。高電圧をスイッチングするスイッチング素子としてのIGBTやMOSFETのゲートに入力される駆動信号であるスイッチング制御信号は、マイクロコンピュータなどの一般的な電子回路の駆動電圧よりも高い電圧を必要とするため、ドライバ回路76を介して昇圧された後、インバータ6に入力される。
 CPU61は、少なくとも、CPUコア62と、プログラムメモリ63と、パラメータメモリ64と、ワークメモリ65と、タイマ66と、A/Dコンバータ67と、通信制御部68と、ポート69と、を有して構成される。CPUコア62は、CPU61の中核であり、命令レジスタや命令デコーダ、種々の演算の実行主体となるALU(arithmetic logic unit)、フラグレジスタ、汎用レジスタ、割り込みコントローラ等を有して構成される。本実施形態では、CPU61は単一のCPUコア62を備えており、この単一のCPUコア62が本発明における「単一の演算処理ユニット」に相当する。このCPUコア62は、シリアルにプログラムを実行するシングルタスクのコンピュータの中核を担う。
 プログラムメモリ63は、電動機制御プログラムが格納された不揮発性のメモリである。パラメータメモリ64は、プログラムの実行の際に参照される種々のパラメータが格納された不揮発性のメモリである。パラメータメモリ64は、プログラムメモリ63と区別することなく構築されてもよい。プログラムメモリ63やパラメータメモリ64は、例えばフラッシュメモリなどによって構成されると好適である。ワークメモリ65は、プログラム実行中の一時データを一時記憶するメモリである。ワークメモリ65は、揮発性で問題なく、高速にデータの読み書きが可能なDRAM(dynamic RAM)やSRAM(static RAM)により構成される。
 タイマ66は、所定のクロック周期を基準として時間を計測する。そして、タイマ66は、例えば、後述するスイッチング制御信号のキャリアの周期の1/2を基準演算周期T0としてプログラムの実行周期を監視し、CPUコア62の割り込みコントローラに通知する。A/Dコンバータ67は、アナログの電気信号をデジタルデータに変換する。本実施形態では、A/Dコンバータ67は、電動機MGの各ステータコイルMu、Mv、Mwに流れる電流の検出値である電流検出値Iur(Iur1、Iur2)、Ivr(Ivr1、Ivr2)、Iwr(Iwr1、Iwr2)を、電流センサ7(7a、7b)から受け取ってデジタル値に変換する。なお、u相、v相、w相の三相は平衡しており、その瞬時値はゼロであるので、二相分のみの電流を検出し、残る一相はCPU61において演算により求めてもよい。本実施形態では、三相の全てが検出される場合を例示している。なお、二相分のみの電流を検出し、残る一相はCPU61において演算により求めるのであれば、A/Dコンバータ67は、4つのアナログ入力を有していれば足りる。
 通信制御部68は、車両内の他のシステムとの通信を制御する。本実施形態では、不図示の車両内のCAN(controller area network)を介して、走行制御システムやセンサ等との通信を制御する。例えば、CPU61は、通信制御部68を介して、走行制御システムから、電動機MGに対する要求トルクTMを含むモータ制御指令を受け取り、これに基づいて電動機MGを制御する。本実施形態では、CPU61は、第一電動機MG1に対する要求トルクTM1及び第二電動機MG2に対する要求トルクTM2(以下、これらを総称して単に「要求トルクTM」という場合がある。)をそれぞれ受け取る。また、CPU61は、通信制御部68を介してブレーキシステムやパワーステアリングシステムと接続され、これらを制御する構成としても好適である。
 ポート69は、インバータ6のスイッチング制御信号等をCPU61の端子を介して出力したり、CPU61に入力される回転センサ8(8a、8b)からの回転検出信号を受け取ったりする端子制御部である。図1においてインターフェース回路70からドライバ回路76に入力される信号の符号P*は、インバータ6の上段側のIGBTの制御信号を示し、符号N*は、下段側のIGBTの制御信号を示す。また、符号*u、*v、*wは、インバータ6のu相、v相、w相それぞれのIGBTの制御信号を示す。また、符号*1、*2は、それぞれ第一電動機MG1のインバータ6a、第二電動機MG2のインバータ6bのスイッチング制御信号としてのIGBT制御信号を示す。回転センサ8は、電動機MGの近傍に設置されて電動機MGの回転子としてのロータの回転角を表す磁極位置θを検出するセンサであり、例えばレゾルバ等を用いて構成される。ここでは、磁極位置θは、ロータの回転角を電気角として表すものとする。
 このように、本実施形態に係る電動機駆動装置1は、2個の電動機MG1、MG2を制御対象とすると共に、2個の電動機MG1、MG2のそれぞれに対応する2個のインバータ6a、6bを備えており、制御装置2は、これら2個のインバータ6a、6bを制御することにより、2個の電動機MG1、MG2を制御するように構成される。この際、制御装置2は、単一の演算処理ユニットとしてのCPUコア62を用いて2個のインバータ6a、6bを制御するように構成されている。
1-2.制御装置のソフトウエア構成
 次に、制御装置2のソフトウエア構成について説明する。なお、本実施形態では電動機駆動装置1が2個の電動機MG1、MG2を駆動制御の対象とすると共に各電動機MG1、MG2に対応する2個のインバータ6a、6bを備えている。これに対応して、制御装置2は2個のインバータ6a、6b及び2個の電動機MG1、MG2のそれぞれに対応する各機能部を備えているが、これらは同様の構成であるため、以下では、一方のインバータ6及び電動機MGを制御する機能部についてのみ説明する。図2に示すように、制御装置2はベクトル制御法を用いた電流フィードバック制御により電動機MG及びインバータ6を備えた電動機駆動装置1の制御を行う。ベクトル制御では、交流電動機MGの三相のそれぞれのステータコイルに流れるコイル電流を、ロータに配置された永久磁石が発生する磁界の方向であるd軸と、当該d軸に直交するq軸との2相のベクトル成分に座標変換して電流フィードバック制御を行う。
 ベクトル制御における座標変換に際しては、電動機MGの回転状態を常に検出する必要がある。従って、本実施形態では、図1に示すように、電動機MGの近傍にレゾルバなどの回転センサ8が備えられる。その検出結果である磁極位置θは制御装置2に入力される。上記のとおり、磁極位置θは電気角である。制御装置2には、更に要求トルクTMが入力される。そして、制御装置2は、これらの要求トルクTM、磁極位置θ、及び磁極位置θから導出される電動機MGの回転速度ωに応じて電動機MGを駆動するための制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成して出力し、インバータ6を駆動制御する。制御信号Pu、Nu、Pv、Nv、Pw、Nwは、インバータ6の各スイッチング素子に後述する複数の制御モードのいずれかに従ったスイッチング動作を行わせるためのスイッチング制御信号であり、具体的には、各スイッチング素子のゲートを駆動するゲート駆動信号である。
 d軸電流指令値導出部11には、要求トルクTMが入力される。d軸電流指令値導出部11は、入力された要求トルクTMに基づいて基本d軸電流指令値Idbを導出する。ここで、基本d軸電流指令値Idbは、最大トルク制御を行う場合におけるd軸電流の指令値に相当する。なお、最大トルク制御とは、同一電流に対して電動機MGの出力トルクが最大となるように電流位相を調節する制御である。本実施形態では、d軸電流指令値導出部11は、要求トルクTMの値と基本d軸電流指令値との関係を規定したテーブルを用いて、要求トルクTMの値に応じた基本d軸電流指令値Idbを導出するように構成されている。導出された基本d軸電流指令値Idbは、減算器14へ入力される。減算器14には、更に、後述する電流調整指令値導出部16により導出されたd軸電流調整指令値ΔIdが入力される。減算器14は、下記の式(1)に示すように、基本d軸電流指令値Idbからd軸電流調整指令値ΔIdを減算し、最終的なd軸電流指令値Idを導出する。
  Id=Idb-ΔId・・・(1)
 q軸電流指令値導出部12には、要求トルクTM及びd軸電流調整指令値ΔIdが入力される。q軸電流指令値導出部12は、入力された要求トルクTMとd軸電流調整指令値ΔIdとに基づいてq軸電流指令値Iqを導出する。本実施形態では、q軸電流指令値導出部12は、少なくとも要求トルクTMの値とd軸電流調整指令値ΔIdとの関係を規定したテーブルを用いて、要求トルクTM及びd軸電流調整指令値ΔIdに応じたq軸電流指令値Iqを導出する。このようにして導出されたd軸電流指令値Id及びq軸電流指令値Iqは、電動機MGを駆動する、互いに直交するベクトル成分を有する二相の電流の指令値である。従って、本実施形態においては、d軸電流指令値Id及びq軸電流指令値Iqが本発明における「電流指令値」に相当する。
 電流制御部13には、d軸電流指令値Id及びq軸電流指令値Iqが入力される。更に、電流制御部13には、三相二相変換部36からd軸電流検出値Idr及びq軸電流検出値Iqrが入力され、回転速度導出部31から電動機MGの回転速度ωが入力される。d軸電流検出値Idr及びq軸電流検出値Iqrは、電動機MGのステータコイル(Mu、Mv、Mw)を実際に流れる電流の電流センサ7(図1を参照)による電流検出値(三相の電流検出値:u相電流検出値Iur、v相電流検出値Ivr、及びw相電流検出値Iwr)と回転センサ8(図1を参照)により検出された磁極位置θとに基づいて、三相二相変換部36により三相二相変換を行って導出される。また、電動機MGの回転速度ωは、回転センサ8(図1を参照)により検出された磁極位置θに基づいて回転速度導出部31により導出される。
 電流制御部13は、二相の電流指令値であるd軸電流指令値Id及びq軸電流指令値Iqと、電流検出値Iur、Ivr、Iwrを三相二相変換して得られる二相の電流検出値(d軸電流検出値Idr及びq軸電流検出値Iqr)との偏差に基づいて第一電圧指令値としての二相の電圧指令値Vd、Vqを決定する電流制御処理を行う。この際、電流制御部13は、前記偏差に基づいて少なくとも比例制御及び積分制御を行って二相の電圧指令値Vd、Vqを決定する。具体的には、電流制御部13は、d軸電流指令値Idとd軸電流検出値Idrとの偏差であるd軸電流偏差δId、及びq軸電流指令値Iqとq軸電流検出値Iqrとの偏差であるq軸電流偏差δIqを導出する。そして、電流制御部13は、d軸電流偏差δIdに基づいて比例積分制御演算(PI制御演算)を行って基本d軸電圧指令値Vzdを導出すると共に、q軸電流偏差δIqに基づいて比例積分制御演算を行って基本q軸電圧指令値Vzqを導出する。なお、これらの比例積分制御演算に代えて比例積分微分制御演算(PID制御演算)を行っても好適である。
 そして、電流制御部13は、下記の式(2)に示すように、基本d軸電圧指令値Vzdからq軸電機子反作用Eqを減算する調整を行ってd軸電圧指令値Vdを導出する。
  Vd=Vzd-Eq
    =Vzd-ω・Lq・Iqr・・・(2)
 この式(2)に示されるように、q軸電機子反作用Eqは、電動機MGの回転速度ω、q軸電流検出値Iqr、及びq軸インダクタンスLqに基づいて導出される。
 更に、電流制御部13は、下記の式(3)に示すように、基本q軸電圧指令値Vzqにd軸電機子反作用Ed及び永久磁石の電機子鎖交磁束による誘起電圧Emを加算する調整を行ってq軸電圧指令値Vqを導出する。
  Vq=Vzq+Ed+Em
    =Vzq+ω・Ld・Idr+ω・MIf・・・(3)
 この式(3)に示されるように、d軸電機子反作用Edは、電動機MGの回転速度ω、d軸電流検出値Idr、及びd軸インダクタンスLdに基づいて導出される。また、誘起電圧Emは、永久磁石の電機子鎖交磁束の実効値により定まる誘起電圧定数MIf及び電動機MGの回転速度ωに基づいて導出される。
 また、本実施形態では、電流制御部13は、平均値演算部21を備えている。平均値演算部21は、2(=N)回の電流検出処理により検出された2(=N)回分の電流検出値の平均値を演算する平均値演算を行う。ここでは、平均値演算部21は、電流センサ7により検出された三相の電流検出値Iur、Ivr、Iwrを三相二相変換部36により三相二相変換して得られる二相の電流検出値(d軸電流検出値Idr及びq軸電流検出値Iqr)を入力値とし、これらの2回分の入力値の平均値、すなわち、2回分のd軸電流検出値Idrの平均値、及び2回分のq軸電流検出値Iqrの平均値をそれぞれ演算する。後述するように、平均値演算部21は、モード決定部51において同期制御モードが選択された場合に機能し、非同期制御モードが選択された場合には機能しない。そのため、電流制御部13にはモード決定部51において選択された制御モードの情報が入力され、電流制御部13は、この情報に応じて平均値演算部21による平均値演算を行うか否かを決定する。そして、平均値演算部21による平均値演算を行った場合には、電流制御部13は、二相の電流指令値(d軸電流指令値Id及びq軸電流指令値Iq)と、平均値演算部21により演算された二相の電流検出値(d軸電流検出値Idr及びq軸電流検出値Iqr)のそれぞれの平均値との偏差に基づいて電流制御処理を行って二相の電圧指令値Vd、Vqを決定する。
 変調率・電圧指令位相導出部22には、d軸電圧指令値Vd及びq軸電圧指令値Vqが入力される。更に、変調率・電圧指令位相導出部22には、不図示の電圧センサにより検出される直流電圧Vdcが入力される。変調率・電圧指令位相導出部22は、入力されたd軸電圧指令値Vd及びq軸電圧指令値Vqと直流電圧Vdcとに基づいて、第二電圧指令値としての変調率Mと電圧指令位相θvとを導出する。ここで、変調率Mは、直流電圧Vdcに対するインバータ6の出力電圧波形の基本波成分の実効値の比率を表し、本例では直流電圧Vdcに対する二相の電圧指令値Vd、Vqの実効値の比率とされている。具体的には、変調率Mは、以下の式(4)に従って算出される。
  M=√(Vd+Vq)/Vdc・・・(4)
 電圧指令位相θvは、二相の電圧指令値Vd、Vqが表す電圧ベクトルの位相角であり、d軸電圧指令値Vdに係るd軸電圧ベクトルとq軸電圧指令値Vqに係るq軸電圧ベクトルとを合成して生成される合成電圧ベクトルと、d軸電圧指令値Vdに係るd軸電圧ベクトルとの成す角に相当する。本例では、電圧指令位相θvは、以下の式(5)に従って算出される。
  θv=tan-1(Vq/Vd)・・・(5)
 この電圧指令位相θvは、磁極位置θの原点(θ=0°)を基準としたu相電圧指令値Vuの原点の位相に相当する。
 ところで、電動機MGは、回転速度ωが高くなるに従って誘起電圧が高くなり、電動機MGを駆動するために必要となる交流電圧(以下「必要電圧」という。)も高くなる。そして、この必要電圧が、そのときの直流電圧Vdcを変換してインバータ6から出力し得る最大の交流電圧(以下「最大出力電圧」という。)を超えると、ステータコイルに必要な電流を流すことができなくなり、電動機MGを適切に制御することができない。そのため、制御装置2は、電動機MGの界磁磁束を弱める方向の磁束がステータコイルから発生するように電流位相を調節する(最大トルク制御よりも進める)、いわゆる弱め界磁制御を行なうように構成されている。そこで、本実施形態では、変調率・電圧指令位相導出部22により導出された変調率Mに基づいて、d軸電流調整指令値ΔIdが導出され、導出されたd軸電流調整指令値ΔIdに基づいて基本d軸電流指令値Idb及びq軸電流指令値Iqが調整される構成となっている。
 より具体的には、減算器17には、変調率M、及び当該変調率Mの理論上の最大値である「0.78」の値が入力される。減算器17は、下記の式(6)に示すように、変調率Mから「0.78」を減算した変調率偏差ΔMを導出する。
  ΔM=M-0.78・・・(6)
 電流調整指令値導出部16には、導出された変調率偏差ΔMが入力される。電流調整指令値導出部16は、この変調率偏差ΔMを所定のゲインを用いて積分し、当該積分値をd軸電流調整指令値ΔIdとして導出する。このd軸電流調整指令値ΔIdが、上記の式(1)に示すように、基本d軸電流指令値Idbから減算されて最終的なd軸電流指令値Idが導出される。すなわち、このd軸電流調整指令値ΔIdが、電動機MGの界磁磁束を弱めるための弱め界磁指令値となる。
 本実施形態に係る制御装置2は、電動機駆動装置1を制御するための制御モードを決定するモード決定部51と、インバータ6のキャリア周波数を決定するキャリア周波数決定部52と、を更に備えている。モード決定部51には、入力変数として少なくとも要求トルクTM及び回転速度ωが入力される。モード決定部51は、入力された要求トルクTMと回転速度ωとに基づいて、電動機駆動装置1を制御するために予め設定された複数の制御モードの中から1つの制御モードを決定する。制御装置2はパラメータメモリ64等に制御モード決定用のマップを記憶して備えている。本実施形態においては、図3に示すように、このマップには電動機MGの動作可能領域として、第一領域A1、第二領域A2、及び第三領域A3の3つの領域が設定されている。そして、これに対応して、モード決定部51が選択可能な3つの制御モードが設定されている。すなわち、モード決定部51は、要求トルクTMと回転速度ωとの関係が第一領域A1内にある場合には第一制御モードを選択し、第二領域A2内にある場合には第二制御モードを選択し、第三領域A3内にある場合には第三制御モードを選択する。
 ところで、電動機駆動装置1を制御するための制御モードに係る制御方法には、インバータ6から電動機MGに供給する交流電圧の波形に関してPWM制御及び矩形波制御の2つがあり、インバータ6から電動機MGに供給する交流電流の位相に関して最大トルク制御及び弱め界磁制御の2つがある。更に本実施形態では、PWM制御には、正弦波PWM制御と過変調PWM制御の2つの制御方式が含まれている。モード決定部51が選択可能な3つのモードは、これらを組み合わせて構成されている。
 第一制御モードは、インバータ6における直流-交流変換に際して、インバータ6に最大トルク制御と共に正弦波PWM制御を行わせるモードである。正弦波PWM制御では、インバータ6の各スイッチング素子のオンオフを、正弦波状の交流電圧指令値Vu、Vv、Vwとキャリア(搬送波)との比較に基づいて制御する。正弦波状の交流電圧指令値Vu、Vv、Vwは、後述する電圧制御部23の三相指令値導出部35により導出される。
 第二制御モードは、インバータ6における直流-交流変換に際して、インバータ6に最大トルク制御と共に過変調PWM制御を行わせるモードである。過変調PWM制御では、インバータ6の出力電圧波形の基本波成分の波形を歪ませて、正弦波PWM制御における正弦波状の交流電圧指令値Vu、Vv、Vwよりも振幅を大きくする。その状態で、正弦波PWM制御と同様にインバータ6の各スイッチング素子のオンオフを、歪んだ正弦波状の交流電圧指令値Vu、Vv、Vwとキャリアとの比較に基づいて制御する。これにより、交流電圧指令値Vu、Vv、Vwが搬送波の振幅を超える部分において連続的にハイレベル又はローレベルとなるPWM制御が行われる。歪んだ正弦波状の交流電圧指令値Vu、Vv、Vwは、後述する電圧制御部23の三相指令値導出部35により導出される。
 第三制御モードは、インバータ6における直流-交流変換に際して、インバータ6に弱め界磁制御と共に矩形波制御を行わせるモードである。矩形波制御では、インバータ6の各スイッチング素子のオン及びオフを電気角1周期(磁極位置θの360°)につき1回ずつ行わせるように制御する。このとき、各相の交流電圧指令値Vu、Vv、Vwは、1周期につきハイレベル期間とローレベル期間とが1回ずつ交互に表れる矩形波となる。従って、本実施形態では、第三制御モードでは、各相の交流電圧指令値Vu、Vv、Vwは、単にインバータ6の各スイッチング素子のオン又はオフを切り替えるタイミングを表す磁極位置θの位相であるオンオフ切替位相の指令値とされる。
 なお、矩形波制御が行われる第三制御モードでは、磁極位置θとして検出される電動機MGの電気角の周期とインバータ6のスイッチング周期とを同期させる同期制御が行われる。ここで、スイッチング周期は、インバータ6のスイッチング素子のオンオフタイミングの周期であり、各スイッチング素子のオンオフ切替位相の周期に等しい。一方、正弦波PWM制御が行われる第一制御モード及び過変調PWM制御が行われる第二制御モードでは、スイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwがキャリアに基づいて生成される。これらのPWM制御では、磁極位置θとして検出される電動機MGの電気角の周期とインバータ6のスイッチング周期とを同期させない非同期制御が行われる。従って、本実施形態においては、第三制御モードが本発明における「同期制御モード」に含まれ、第一制御モード及び第二制御モードが本発明における「非同期制御モード」に含まれる。モード決定部51は、このような同期制御モード又は非同期制御モードのいずれかに含まれる複数の制御モードの中から一つを選択する機能を有しており、本発明における「制御モード選択部」に相当する。後述するように、モード決定部51が同期制御モードと非同期制御モードとのいずれを選択するかに応じて、電圧制御部23内の制御ブロックが電圧制御切替部46により切り替えられ、交流電圧指令値Vu、Vv、Vw及びスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する方式が切り替えられる構成となっている。
 本実施形態では更に、モード決定部51には、電流調整指令値導出部16により導出されたd軸電流調整指令値ΔIdが入力される。そして、モード決定部51は、入力されるd軸電流調整指令値ΔIdに基づいて、第三制御モードを選択することの可否を判定する。より具体的には、モード決定部51は、d軸電流調整指令値ΔIdが所定の第三制御モード移行許可閾値以上である場合には第三制御モードを選択することを許可し、一方、d軸電流調整指令値ΔIdが第三制御モード移行許可閾値未満である場合には第三制御モードを選択することを禁止する。従って、本実施形態に係るモード決定部51は、入力される要求トルクTMと回転速度ωとに基づいて制御モードを決定することを前提としつつ、更に入力されるd軸電流調整指令値ΔIdに基づいて制御モードの選択に一定の制限を課すように構成されている。
 キャリア周波数決定部52には、入力変数として少なくとも回転速度ω及び要求トルクTMが入力される。キャリア周波数決定部52は、入力された要求トルクTMと回転速度ωとに基づいて、インバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwのキャリア(搬送波)の周波数であるキャリア周波数Fcを決定する。本実施形態においては、制御装置2はパラメータメモリ64等にキャリア周波数決定用のマップを記憶して備えている。キャリア周波数決定部52は、電動機MGの要求トルクTM及び回転速度ω等に応じて、インバータ6における損失や電動機MGにおける損失を低減するための最適なキャリア周波数Fcを決定する。この際、キャリア周波数決定部52は、例えば、予め定められた複数の選択可能なキャリア周波数Fcの中から前記マップに基づいて最適なキャリア周波数を選択して決定する。なお、要求トルクTMに代えて変調率Mがキャリア周波数決定部52に入力され、又は要求トルクTMと共に変調率Mがキャリア周波数決定部52に入力され、これと回転速度ωとに基づいてキャリア周波数Fcを決定する構成としてもよい。
 電圧制御部23には、変調率・電圧指令位相導出部22により導出された変調率M及び電圧指令位相θvが入力される。更に、電圧制御部23には、回転センサ8(図1を参照)により検出された磁極位置θ及びキャリア周波数決定部52により決定されたキャリア周波数Fcが入力される。電圧制御部23は、入力された変調率M、電圧指令位相θv、磁極位置θ、及びキャリア周波数Fcに基づいて、交流電圧指令値Vu、Vv、Vwを決定し、インバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する電圧制御処理を行う。本実施形態においては、電圧制御部23は、三相指令値導出部35及び非同期制御信号生成部41、並びにオンオフ切替位相導出部43及び同期制御信号生成部42を備えている。
 また、変調率・電圧指令位相導出部22と電圧制御部23との間には、電圧制御切替部46が設けられている。電圧制御切替部46は、モード決定部51により選択された制御モードに応じて電圧制御部23内の制御ブロックを切り替える。具体的には、非同期制御モードに含まれる第一制御モード又は第二制御モードが選択された場合には、変調率・電圧指令位相導出部22により導出された変調率M及び電圧指令位相θvを三相指令値導出部35へ入力し、三相指令値導出部35及び非同期制御信号生成部41に電圧制御処理を行わせる。一方、同期制御モードに含まれる第三制御モードが選択された場合には、変調率・電圧指令位相導出部22により導出された変調率M及び電圧指令位相θvをオンオフ切替位相導出部43へ入力し、オンオフ切替位相導出部43及び同期制御信号生成部42に電圧制御処理を行わせる。電圧制御切替部46は、モード決定部51により選択された制御モードに応じて、このような変調率M及び電圧指令位相θvの入力先の切り替えを行う。これにより、電圧制御部23は、モード決定部51により決定された制御モードに応じたスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する。
 三相指令値導出部35は、入力された変調率M及び電圧指令位相θvに基づいて、三相の正弦波状の交流電圧指令値Vu、Vv、Vwを生成する。図4は、三相指令値導出部35により生成される交流電圧指令値Vu、Vv、Vwの一例を示す図である。この図は、交流電圧指令値Vu、Vv、Vwが正弦波状の第一制御モードの電圧指令値である場合の例を示している。この場合、u相電圧指令値Vuは、磁極位置θの原点(θ=0°)に対して電圧指令位相θvだけ遅れた位相を有し、振幅が変調率Mに等しく、1周期が磁極位置θの1周(電気角1周、360°)に等しい正弦波状の電圧指令値となる。v相電圧指令値Vvはu相電圧指令値Vuに対して120°、w相電圧指令値Vwはu相電圧指令値Vuに対して240°、それぞれ位相が遅れた正弦波状の電圧指令値となる。また、第二制御モードが選択された場合には、交流電圧指令値Vu、Vv、Vwの波形は歪んだ正弦波状となるが、各指令値の位相及び振幅は図4と同様となる。
 ここで、三相指令値導出部35は、交流電圧指令値Vu、Vv、Vwの波形を規定した交流電圧指令値マップを制御モード毎に備えており、モード決定部51により決定された制御モードに応じて、この交流電圧指令値マップに基づいて交流電圧指令値Vu、Vv、Vwを生成して出力する。交流電圧指令値マップは、例えば、第一制御モード用のマップでは、原点が磁極位置θの原点(θ=0°)に一致し、振幅が1である正弦波状の電圧波形を規定している。三相指令値導出部35は、このマップに規定された電圧波形の原点を電圧指令位相θvだけ遅らせると共に、振幅を変調率M倍にすることによりu相電圧指令値Vuを生成し、当該u相電圧指令値Vuの位相を120°、240°それぞれ遅らせることによりV相電圧指令値Vvとw相電圧指令値Vwを生成することができる。三相指令値導出部35は、制御モード毎に、異なる電圧波形のマップを備えている。
 非同期制御信号生成部41には、三相指令値導出部35により生成された交流電圧指令値Vu、Vv、Vw及びキャリア周波数決定部52により決定されたキャリア周波数Fcが入力される。非同期制御信号生成部41は、この交流電圧指令値Vu、Vv、Vwとキャリア(搬送波)とに基づいて、インバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する。具体的には、非同期制御信号生成部41は、交流電圧指令値Vu、Vv、Vwとキャリアとの比較を行い、インバータ6のu相上段、u相下段、v相上段、v相下段、w相上段、w相下段の各スイッチング素子のそれぞれをPWM制御するための6つのスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する。従って、非同期制御信号生成部41は、各スイッチング素子に対して、基本的にキャリア周期毎に2回、スイッチング制御信号を出力する。また、このスイッチング制御信号が表すオン又はオフのパルス幅は、キャリアに対して連続的に変化する略正弦波状の交流電圧指令値Vu、Vv、Vwの大きさに応じてキャリア周期毎に段階的に変化する。本実施形態においては、キャリア周波数Fcは交流電圧指令値Vu、Vv、Vwの周波数の整数倍とはなっておらず、よって、スイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwのキャリアの周期と交流電圧指令値Vu、Vv、Vwの周期とは同期していない。すなわち、第一制御モード及び第二制御モードはいずれも非同期PWM制御となっている。従って、本実施形態においては、非同期制御モードは、非同期PWM制御が行われるモードとなっている。但し、スイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwをキャリアに基づいて生成する制御方式には、例えば、キャリアの周期と交流電圧指令値Vu、Vv、Vwの周期とを同期させた状態でPWM制御を行う同期PWM制御も含まれる。このような同期PWM制御においても、非同期PWM制御と同様に、インバータ6のスイッチング周期は交流電圧指令値Vu、Vv、Vwの振幅に依存して決定されるため、電動機MGの電気角(磁極位置θ)の周期とインバータ6のスイッチング周期とは同期しない。すなわち、このような同期PWM制御と非同期PWM制御の双方を含むPWM制御モード全般において、インバータ6の各スイッチング素子のオンオフを切り替えるタイミングが電動機MGの電気角(位相)によって一意に定まらない。従って、このようなPWM制御モードは、本発明における非同期制御モードに含まれる。
 オンオフ切替位相導出部43は、入力された変調率M及び電圧指令位相θvに基づいて、交流電圧指令値Vu、Vv、Vwとしてのインバータ6の各スイッチング素子のオンオフ切替位相の指令値を生成する。この指令値は、各スイッチング素子のオンオフ制御信号に対応し、各スイッチング素子のオン又はオフを切り替えるタイミングを表す磁極位置θの位相を表す指令値である。図5は、オンオフ切替位相導出部43により生成される交流電圧指令値Vu、Vv、Vwが表す内容を図示したものであり、各スイッチング素子のオン又はオフが切り替えられる位相を、横軸としての磁極位置θ上に示している。この例では、u相電圧指令値Vuは、磁極位置θの原点(θ=0°)に対して電圧指令位相θvだけ遅れた位相を有しており、磁極位置θの1周(電気角1周、360°)が1周期となっている。そして、電圧指令位相θvでu相上段のスイッチング素子に対応するスイッチング制御信号Puがオン、u相下段のスイッチング素子に対応するスイッチング制御信号Nuがオフされ、電圧指令位相θvから磁極位置θの半周(電気角半周、180°)でu相上段のスイッチング素子に対応するスイッチング制御信号Puがオフ、u相下段のスイッチング素子に対応するスイッチング制御信号Nuがオンされる。v相電圧指令値Vvはu相電圧指令値Vuに対して120°、w相電圧指令値Vwはu相電圧指令値Vuに対して240°、それぞれ位相が遅れる以外は同様の電圧指令値となる。なお、オンオフ切替位相導出部43から実際に出力する交流電圧指令値Vu、Vv、Vwは、u相、v相、w相のそれぞれについての各スイッチング素子のオン又はオフを切り替えるタイミングを表す情報である、磁極位置θの位相の情報のみにより構成することができる。従って、このようなオンオフ切替位相の指令値としての交流電圧指令値Vu、Vv、Vwは、u相、v相、w相の指令値を一連の情報としてまとめて出力してもよい。
 ここで、オンオフ切替位相導出部43は、交流電圧指令値Vu、Vv、Vwを構成する各スイッチング素子のオンオフ切替位相を規定したオンオフ切替位相マップを制御モード毎に備えており、このオンオフ切替位相マップに基づいて交流電圧指令値Vu、Vv、Vwを生成して出力する。オンオフ切替位相マップは、例えば、原点が磁極位置θの原点(θ=0°)に一致し、u相、v相、w相の各相について上段のスイッチング素子がオン、下段のスイッチング素子がオフの状態と、上段のスイッチング素子がオフ、下段のスイッチング素子がオンの状態とが切り替わる位相を規定するものとする。オンオフ切替位相導出部43は、このマップに規定されたオンオフ位相の原点を電圧指令位相θvだけ遅らせることによりu相電圧指令値Vuを生成し、当該u相電圧指令値Vuの位相を120°、240°それぞれ遅らせることによりV相電圧指令値Vvとw相電圧指令値Vwを生成することができる。
 同期制御信号生成部42には、オンオフ切替位相導出部43により生成された交流電圧指令値Vu、Vv、Vwが入力される。同期制御信号生成部42は、この交流電圧指令値Vu、Vv、Vwに基づいて、インバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する。具体的には、同期制御信号生成部42は、インバータ6の各スイッチング素子のオンオフ切替位相の指令値に従い、インバータ6のu相上段、u相下段、v相上段、v相下段、w相上段、w相下段の各スイッチング素子のそれぞれのオン又はオフの状態を制御するための6つのスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する。このスイッチング制御信号が表すオン又はオフのパルス幅は、オンオフ切替位相に応じて予め定められた幅となる。また、この際、同期制御信号生成部42を含む電圧制御部23は、所定の演算周期で電圧制御処理を行っており、各スイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwが所定の演算周期毎に出力され、各スイッチング素子のオンオフを切り替えるタイミングが変更される。従って、各スイッチング素子のオンオフを切り替えるタイミングは所定の演算周期毎に変更されるが、インバータ6の各スイッチング素子は、電動機MGの電気角(磁極位置θ)に同期して制御される。これにより電動機MGの電気角の周期とインバータ6のスイッチング周期(スイッチング素子のオンオフタイミングの周期)とが同期する。このように、同期制御モードでは、インバータ6の各スイッチング素子のオンオフを切り替えるタイミングが、電動機MGの電気角(位相)によって一つに定まる。
1-3.制御モードに応じた各部の処理周期
 次に、本発明の要部である、制御モードに応じた制御装置2の各部の処理周期の設定について説明する。この制御装置2は、モード決定部51により選択された制御モードが、同期制御モードであるか非同期制御モードであるかに応じて、各部の処理周期の設定を切り替えるように構成されている。本発明は、処理能力が限られた単一のCPUコア62を使用しつつ、電動機MGのロータの回転速度が高くなった場合における電流サンプリングのエイリアシングの発生を抑えることを目的としている。そのため、制御装置2は、特に、電流センサ7(7a、7b)による電流検出処理IS(IS1、IS2)の周期、及び電圧制御部23による電圧制御処理VC(VC1、VC2)の周期の設定を、制御モードに応じて切り替える。この際、制御装置2は、図7及び図8に示すように、キャリア周期TCの1/2に設定された基準演算周期T0を基準として、各処理の周期を設定する。例えば、キャリア周期TCは50~600〔μs〕程度に設定され、基準演算周期T0がその半分の周期に設定される。このように設定される基準演算周期T0は、インバータ6のスイッチング素子のオンオフによるノイズの影響を受け難くするために、キャリアの波形が最大値(山)又は最小値(谷)となるタイミングで電流センサ7による電流検出処理を行う場合における最短の電流検出周期に相当する。以下に説明する制御装置2の各部による一連の制御処理(電動機制御処理)は、CPU61のタイマ66(図1を参照)により計測される基準演算周期T0毎に、CPU61の割り込み機能の実行により開始される。
 ところで、本実施形態では、制御装置2は、2(=N)個の電動機MG1、MG2の電流フィードバック制御のための演算処理を単一のCPUコア62により行うように構成されている。従って、制御装置2は、非同期制御モードが選択された場合には、図7に示すように、2(=N)個の電動機MG1、MG2のそれぞれについての電圧制御処理VC(VC1、VC2)を基準演算周期T0毎に同じ基準演算周期T0内で順に行うと共に、2(=N)個の電動機MG1、MG2のそれぞれについての電流検出処理IS(IS1、IS2)を基準演算周期T0の2(=N)倍の周期で互いに異なるタイミングで行う。そして、2(=N)個の電動機MG1、MG2のそれぞれについて1回の電流検出処理IS(IS1、IS2)により検出された電流検出値Iur、Ivr、Iwrをフィードバックして2(=N)回の電圧制御処理VC(VC1、VC2)を行う。一方、制御装置2は、同期制御モードが選択された場合には、図8に示すように、2(=N)個の電動機MG1、MG2のそれぞれについての電流検出処理IS(IS1、IS2)を基準演算周期T0毎に行うと共に、2(=N)個の電動機MG1、MG2のそれぞれについての電圧制御処理VC(VC1、VC2)を基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行う。そして、2(=N)回の電流検出処理IS(IS1、IS2)により検出された2(=N)回分の電流検出値Iur、Ivr、Iwrをフィードバックして1回の電圧制御処理VC(VC1、VC2)を行う。
 ここで、電圧制御処理VC(VC1、VC2)は、電圧制御部23により行われる処理であり、変調率・電圧指令位相導出処理MC(MC1、MC2)により導出された変調率M及び電圧指令位相θv、並びに磁極位置取り込み処理PT(PT1、PT2)により取り込まれた磁極位置θに基づいて交流電圧指令値Vu、Vv、Vwを決定し、当該交流電圧指令値Vu、Vv、Vwに基づいてインバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwを生成する処理である。また、電流検出処理IS(IS1、IS2)は、電流センサ7(7a、7b)により2個の電動機MG1、MG2のそれぞれのコイルに流れる電流を検出する処理である。なお、図7及び図8には、電流検出処理IS(IS1、IS2)が行われる周期である電流検出周期について、第一電動機MG1の電流検出周期を「T11」、第二電動機MG2の電流検出周期を「T12」とし、電圧制御処理VC(VC1、VC2)が行われる周期である電圧制御周期について、第一電動機MG1の電圧制御周期を「T21」、第二電動機MG2の電圧制御周期を「T22」として示している。
 また、制御装置2は、電流検出周期T1及び電圧制御周期T2の周期の切り替えに応じて、他の処理の周期も切り替える。具体的には、2個の電動機MG1、MG2のそれぞれについての電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)は、2個の電動機MG1、MG2のそれぞれについての電流検出処理IS(IS1、IS2)の後に、当該電流検出処理IS(IS1、IS2)と同じ周期で実行される。これらの処理は、電流検出処理IS(IS1、IS2)に伴って実行される処理であり、電流検出処理IS(IS1、IS2)により検出された電流検出値Iur(Iur1、Iur2)、Ivr(Ivr1、Ivr2)、Iwr(Iwr1、Iwr2)をフィードバックして電圧制御処理VC(VC1、VC2)に反映させるために、電流検出処理IS(IS1、IS2)と同じ周期で実行する。従って、制御装置2は、非同期制御モードが選択された場合には、図7に示すように、2個の電動機MG1、MG2のそれぞれについての電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)を、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行い、同期制御モードが選択された場合には、図8に示すように、2個の電動機MG1、MG2のそれぞれについての電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)を基準演算周期T0毎に行う。
 ここで、電流値取り込み処理IT(IT1、IT2)は、電流センサ7(7a、7b)により検出された2個の電動機MG1、MG2のそれぞれについての電流検出値Iur、Ivr、Iwrを、A/Dコンバータ67によりアナログデータからデジタルデータに変換して取り込む処理である。また三相二相変換処理CT(CT1、CT2)は、電流値取り込み処理IT(IT1、IT2)により取り込まれた電流検出値Iur、Ivr、Iwrを、三相二相変換部36により三相二相変換し、二相の電流検出値Idr、Iqrを導出する処理である。
 図7及び図8に示すように、2個の電動機MG1、MG2のそれぞれについての磁極位置検出処理PS(PS1、PS2)及び磁極位置取り込み処理PT(PT1、PT2)は、制御モードに関わらず、基準演算周期T0毎に行う。これらの処理は、電圧制御部23による電圧制御処理VC(VC1、VC2)や三相二相変換部36による三相二相変換処理CT(CT1、CT2)を、正確な磁極位置θに基づいて適切に行うために、最短の演算周期で行われることが望ましいため、ここでは、最短の演算周期である基準演算周期T0で実行する。ここで、磁極位置検出処理PS(PS1、PS2)は、回転センサ8(8a、8b)からの回転検出信号に基づいて2個の電動機MG1、MG2のそれぞれのロータの磁極位置θを検出する処理である。磁極位置取り込み処理PT(PT1、PT2)はは、回転センサ8(8a、8b)により検出された磁極位置θを、A/Dコンバータ67によりアナログデータからデジタルデータに変換して取り込む処理である。
 図7に示すように、電流平均値演算処理AC(AC1、AC2)は、非同期制御モードでは実行されない。そして、図8に示すように、制御装置2は、同期制御モードが選択された場合に、2個の電動機MG1、MG2のそれぞれについての電流平均値演算処理AC(AC1、AC2)を、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行う。ここで、電流平均値演算処理AC(AC1、AC2)は、2(=N)回の電流検出処理IS(IS1、IS2)により検出された2(=N)回分の電流検出値の平均値を演算する平均値演算を行う処理である。本実施形態では、電流平均値演算処理AC(AC1、AC2)は、三相二相変換処理CT(CT1、CT2)により三相二相変換された後の二相の電流検出値Idr、Iqrの平均値を演算する処理とされている。すなわち、電流平均値演算処理AC(AC1、AC2)では、2(=N)回分の二相の電流検出値Idr、Iqrのそれぞれの平均値が演算される。そして、同期制御モードが選択された場合には、この後に行われる電流制御処理IC(IC1、IC2)で、二相の電流検出値Idr、Iqrの平均値を用いて電流制御演算が行われる。これにより、2(=N)回の電流検出処理IS(IS1、IS2)により検出された2(=N)回分の電流検出値Idr、Iqrを適切にフィードバックして電流制御処理IC(IC1、IC2)及びその後の電圧制御処理VC(VC1、VC2)が行われる。
 図7及び図8に示すように、2個の電動機MG1、MG2のそれぞれについての電流制御処理IC(IC1、IC2)は、制御モードに関わらず、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行う。但し、電流制御処理IC(IC1、IC2)の内容は、制御モードによって異なる。ここで、電流制御処理IC(IC1、IC2)は、三相二相変換処理CT(CT1、CT2)により三相二相変換された後の二相の電流検出値Idr、Iqrと、二相の電流指令値であるd軸電流指令値Id及びq軸電流指令値Iqとの偏差に基づいて二相の電圧指令値Vd、Vqを決定する処理である。従って、電流制御処理IC(IC1、IC2)は、電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)と同様に、基本的には、電流検出処理IS(IS1、IS2)と同じ周期で実行されることが望ましい。しかしながら、本実施形態では、制御装置2は、電流検出処理IS(IS1、IS2)が基準演算周期T0の2(=N)倍の周期で行われる非同期制御モードでのみ、電流検出処理IS(IS1、IS2)と同じ周期で電流制御処理IC(IC1、IC2)を実行する。そして、制御装置2は、電流検出処理IS(IS1、IS2)が基準演算周期T0毎に行われる同期制御モードでは、電流検出処理IS(IS1、IS2)の2(=N)倍の周期で電流制御処理IC(IC1、IC2)を実行する。但し、上記のとおり、制御装置2は、同期制御モードでは、電流平均値演算処理AC(AC1、AC2)を行い、電流制御処理IC(IC1、IC2)には、2(=N)回分の電流検出値Idr、Iqrの平均値を用いる。これにより、電流制御部13は、電流制御処理IC(IC1、IC2)において、2(=N)回分の電流検出値Idr、Iqrを適切にフィードバックして二相の電圧指令値Vd、Vqを決定する。結果として、本実施形態では、電流制御処理IC(IC1、IC2)の実行周期は、制御モードに関わらず同じとなり、図7及び図8に示すように、制御装置2は、2(=N)個の電動機MG1、MG2のそれぞれについての電流制御処理IC(IC1、IC2)を、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行う。
 図7及び図8に示すように、2個の電動機MG1、MG2のそれぞれについての変調率・電圧指令位相導出処理MC(MC1、MC2)は、制御モードに関わらず、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行われる。ここで、変調率・電圧指令位相導出処理MC(MC1、MC2)は、電流制御処理IC(IC1、IC2)により決定された二相の電圧指令値Vd、Vqと直流電圧Vdcとに基づいて、変調率M及び電圧指令位相θvを導出する処理である。そこで、本実施形態では、制御装置2は、2個の電動機MG1、MG2のそれぞれについての変調率・電圧指令位相導出処理MC(MC1、MC2)を、2個の電動機MG1、MG2のそれぞれについての電流制御処理IC(IC1、IC2)の後に、当該電流制御処理IC(IC1、IC2)と同じ周期で実行する。すなわち、変調率・電圧指令位相導出処理MC(MC1、MC2)の実行周期は、制御モードに関わらず同じとなり、図7及び図8に示すように、制御装置2は、2(=N)個の電動機MG1、MG2のそれぞれについての変調率・電圧指令位相導出処理MC(MC1、MC2)を、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行う。
 以上に説明したように、本実施形態では、同期制御モードが選択された場合には、2(=N)個の電動機MG1、MG2のそれぞれについて、電流平均値演算処理AC(AC1、AC2)、電流制御処理IC(IC1、IC2)、及び変調率・電圧指令位相導出処理MC(MC1、MC2)が、電圧制御処理VC(VC1、VC2)と共に基準演算周期T0の2(=N)倍の周期で行われる。また、非同期制御モードが選択された場合には、2(=N)個の電動機MG1、MG2のそれぞれについて、電流値取り込み処理IT(IT1、IT2)、三相二相変換処理CT(CT1、CT2)、電流制御処理IC(IC1、IC2)、及び変調率・電圧指令位相導出処理MC(MC1、MC2)が、電流検出処理IS(IS1、IS2)と共に基準演算周期T0の2(=N)倍の周期で行われる。そして、このように2(=N)個の電動機MG1、MG2のそれぞれについて基準演算周期T0の2(=N)倍の周期で互いに異なるタイミング又は基準演算周期T0内で行われる処理は、図7及び図8に示すように、基準演算周期T0毎に交互に行われる。そのため、本実施形態では、制御装置2は、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかを監視し、その結果に応じて、例えば、奇数回目に第一電動機MG1についての処理を実行し、偶数回目に第二電動機MG2についての処理を実行する。このとき、第一電動機MG1についての処理の周期と、第二電動機MG2についての処理の周期とは、当該処理の周期の1/2(ここでは基準演算周期T0に等しい)だけずれている。また、制御装置2は、基準演算周期T0毎に毎回行う処理については、奇数回目は第一電動機MG1についての処理を先に実行した後で第二電動機MG2についての処理を実行し、偶数回目は第二電動機MG2についての処理を先に実行した後で第一電動機MG1についての処理を実行する。当然ながら、奇数回目又は偶数回目のそれぞれの基準演算周期T0において、2つの電動機MG1、MG2のいずれについての処理を実行するかは、適宜設定変更が可能である。
 なお、図7及び図8のタイムチャートには、モード決定部51によるモード決定処理やキャリア周波数決定部52によるキャリア周波数決定処理は含まれていない。これらの処理は、それぞれの処理のための入力変数の更新周期が、基準演算周期T0よりも十分に長い周期となっているため、それほど頻繁に演算処理を行う必要がなく、上述した各処理に比べて、長い演算周期とされる。従って、図示しないが、モード決定処理及びキャリア周波数決定処理は、各基準演算周期T0内における、上記図7及び図8のタイミングチャートに示される各処理が行われていない空き時間を利用して実行される。処理が一つの基準演算周期T0内で完了しない場合には、複数の基準演算周期T0に分けて実行される。
1-4.電動機制御処理の手順
 次に、本実施形態に係る電動機制御処理の手順について、図6のフローチャート、並びに図7及び図8のタイムチャートを参照して説明する。以下に説明する電動機制御処理のための各部の処理の手順は、制御装置2により実行される。なお、本実施形態では、制御装置2の各機能部はプログラムメモリ63(図1を参照)に格納された電動機制御プログラムにより構成されており、制御装置2が備える演算処理ユニットとしてのCPUコア62は、電動機制御プログラムを実行するコンピュータとして動作する。
 本実施形態に係る電動機制御処理では、図7及び図8に示すように、その前提としてCPU61による割り込み処理の周期である基準演算周期T0に基づいて、制御装置2の各機能部における演算処理が実行される。また、第一電動機MG1の磁極位置検出処理PS1及び第二電動機MG2の磁極位置検出処理PS2は、制御モードに関わらず、基準演算周期T0毎に毎回実行される。一方、第一電動機MG1の電流検出処理IS1及び第二電動機MG2の電流検出処理IS2は、非同期制御モードが選択された場合には基準演算周期T0の2(=N)倍の周期で互いに異なるタイミングで実行され、同期制御モードが選択された場合には基準演算周期T0毎に毎回実行される。磁極位置検出処理PS(PS1、PS2)の検出値としての磁極位置θ、及び電流検出処理IS(IS1、IS2)の検出値としての各電動機MG(MG1、MG2)の電流検出値Iur、Ivr、Iwrは、図示しないアナログメモリ等に一時的に記憶され、後の処理に用いられる。
 図6に示すように、基準演算周期T0毎のCPU61の割り込み処理が実行されると(ステップ#01)、制御装置2は、まず、モード決定部51により決定された現在の制御モードが、非同期制御モードか同期制御モードかの判定を行い(ステップ#02)、次に、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかの判定を行う(ステップ#03、#04)。
 現在の制御モードが非同期制御モードであり(ステップ#02:Yes)、基準演算周期T0が奇数回目である(ステップ#03:Yes)場合には、図7の第一基準演算周期T01及び第三基準演算周期T03に示すように、制御装置2は、非同期制御モードの処理周期の設定に従い、第一電動機MG1についての処理を優先して各処理を実行する。まず、当該基準演算周期T0の最初に検出された第一電動機MG1の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT1及び電流値取り込み処理IT1が行われる(ステップ#A1)。次に、第一電動機MG1について、三相二相変換処理CT1(ステップ#A2)、電流制御処理IC1(ステップ#A3)、変調率・電圧指令位相導出処理MC1(ステップ#A4)、電圧制御処理VC1(ステップ#A5)が順に実行される。その後、当該基準演算周期T0の最初に検出された第二電動機MG2の磁極位置θが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT2が行われる(ステップ#A6)。次に、第二電動機MG2についての電圧制御処理VC2(ステップ#A7)が実行される。この第二電動機MG2についての電圧制御処理VC2では、変調率M及び電圧指令位相θvとしては、一つ前の基準演算周期T0(例えば図7における、第三基準演算周期T03から見た第二基準演算周期T02)に実行された、第二電動機MG2についての変調率・電圧指令位相導出処理MC2の結果がそのまま利用される。
 現在の制御モードが非同期制御モードであり(ステップ#02:Yes)、基準演算周期T0が偶数回目である(ステップ#03:No)場合には、図7の第二基準演算周期T02及び第四基準演算周期T04に示すように、制御装置2は、非同期制御モードの処理周期の設定に従い、第二電動機MG2についての処理を優先して各処理を実行する。まず、当該基準演算周期T0の最初に検出された第二電動機MG2の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT2及び電流値取り込み処理IT2が行われる(ステップ#B1)。次に、第二電動機MG2について、三相二相変換処理CT2(ステップ#B2)、電流制御処理IC2(ステップ#B3)、変調率・電圧指令位相導出処理MC2(ステップ#B4)、電圧制御処理VC2(ステップ#B5)が順に実行される。その後、当該基準演算周期T0の最初に検出された第一電動機MG1の磁極位置θが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT1が行われる(ステップ#B6)。次に、第一電動機MG1についての電圧制御処理VC1(ステップ#B7)が実行される。この第一電動機MG1についての電圧制御処理VC1では、変調率M及び電圧指令位相θvとしては、一つ前の基準演算周期T0(例えば図7における、第二基準演算周期T02から見た第一基準演算周期T01)に実行された、第一電動機MG1についての変調率・電圧指令位相導出処理MC1の結果がそのまま利用される。
 現在の制御モードが同期制御モードであり(ステップ#02:No)、基準演算周期T0が奇数回目である(ステップ#04:Yes)場合には、図8の第一基準演算周期T01及び第三基準演算周期T03に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、第一電動機MG1についての処理を優先して各処理を実行する。まず、当該基準演算周期T0の最初に検出された第一電動機MG1の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT1及び電流値取り込み処理IT1が行われる(ステップ#C1)。次に、第一電動機MG1について、三相二相変換処理CT1(ステップ#C2)、電流平均値演算処理AC1(ステップ#C3)、電流制御処理IC1(ステップ#C4)、変調率・電圧指令位相導出処理MC1(ステップ#C5)、電圧制御処理VC1(ステップ#C6)が順に実行される。ここで、奇数回目の基準演算周期T0における第一電動機MG1についての電流平均値演算処理AC1では、当該電流平均値演算処理AC1が行われる基準演算周期T0及びその一つ前の偶数回目の基準演算周期T0(例えば図8における、第三基準演算周期T03から見た第二基準演算周期T02)のそれぞれにおいて実行された、第一電動機MG1についての2(=N)回分の三相二相変換処理CT1の結果である2(=N)回分の二相の電流検出値Idr、Iqrを用い、平均値を演算する。よって、この後の電流制御処理IC1(ステップ#C4)、変調率・電圧指令位相導出処理MC1(ステップ#C5)、及び電圧制御処理VC1(ステップ#C6)は、この電流平均値に基づいて行われるため、2(=N)回の電流検出処理IS1により検出された2(=N)回分の電流検出値をフィードバックして1回の電圧制御処理VC1が行われることになる。
 その後、当該基準演算周期T0の最初に検出された第二電動機MG2の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT2及び電流値取り込み処理IT2が行われる(ステップ#C7)。次に、第二電動機MG2についての三相二相変換処理CT2(ステップ#C8)が実行される。この奇数回目の基準演算周期T0において、第二電動機MG2についての三相二相変換処理CT2により演算された三相二相変換後の二相の電流検出値Idr、Iqrは、次の偶数回目の基準演算周期T0(例えば図8における、第一基準演算周期T01から見た第二基準演算周期T02)における第二電動機MG2についての電流平均値演算処理AC2で平均値を演算する際に用いられる。
 現在の制御モードが同期制御モードであり(ステップ#02:No)、基準演算周期T0が偶数回目である(ステップ#04:No)場合には、図8の第二基準演算周期T02及び第四基準演算周期T04に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、第二電動機MG2についての処理を優先して各処理を実行する。まず、当該基準演算周期T0の最初に検出された第二電動機MG2の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT2及び電流値取り込み処理IT2が行われる(ステップ#D1)。次に、第二電動機MG2について、三相二相変換処理CT2(ステップ#D2)、電流平均値演算処理AC2(ステップ#D3)、電流制御処理IC2(ステップ#D4)、変調率・電圧指令位相導出処理MC2(ステップ#D5)、電圧制御処理VC2(ステップ#D6)が順に実行される。ここで、偶数回目の基準演算周期T0における第二電動機MG2についての電流平均値演算処理AC2では、当該電流平均値演算処理AC2が行われる基準演算周期T0及びその一つ前の奇数回目の基準演算周期T0(例えば図8における、第二基準演算周期T02から見た第一基準演算周期T01)のそれぞれにおいて実行された、第二電動機MG2についての2(=N)回分の三相二相変換処理CT2の結果である2(=N)回分の二相の電流検出値Idr、Iqrを用い、平均値を演算する。よって、この後の電流制御処理IC2(ステップ#D4)、変調率・電圧指令位相導出処理MC2(ステップ#D5)、及び電圧制御処理VC2(ステップ#D6)は、この電流平均値に基づいて行われるため、2(=N)回の電流検出処理IS2により検出された2(=N)回分の電流検出値をフィードバックして1回の電圧制御処理VC2が行われることになる。
 その後、当該基準演算周期T0の最初に検出された第一電動機MG1の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT1及び電流値取り込み処理IT1が行われる(ステップ#D7)。次に、第一電動機MG1についての三相二相変換処理CT1(ステップ#D8)が実行される。この偶数回目の基準演算周期T0において、第一電動機MG1についての三相二相変換処理CT1により演算された三相二相変換後の二相の電流検出値Idr、Iqrは、次の奇数回目の基準演算周期T0(例えば図8における、第二基準演算周期T02から見た第三基準演算周期T03)における第一電動機MG1についての電流平均値演算処理AC1で平均値を演算する際に用いられる。
 以上のように、同期制御モードが選択された場合に、基準演算周期T0毎に行う電流検出処理IS(IS1、IS2)の結果としての電流検出値(ここでは二相の電流検出値Idr、Iqr)の2(=N)回分の平均値を電流平均値演算処理AC(AC1、AC2)により演算し、当該平均値を用いて電流制御処理IC(IC1、IC2)及び電圧制御処理VC(VC1、VC2)を基準演算周期T0の2(=N)倍の周期で行うことになる。従って、電流検出処理IS(IS1、IS2)を基準演算周期T0毎の短い周期で行うのに対して電流制御処理IC(IC1、IC2)及び電圧制御処理VC(VC1、VC2)を基準演算周期T0の2(=N)倍の比較的長い周期で行う場合に、2(=N)回の電流検出処理IS(IS1、IS2)により検出された2(=N)回分の電流検出値を適切にフィードバックして電流制御処理IC(IC1、IC2)及び電圧制御処理VC(VC1、VC2)を行うことができる。従って、電動機MGのロータの回転速度が比較的高く、電流サンプリングのエイリアシングが発生し易い傾向にある同期制御モードにおいて、電流検出処理IS(IS1、IS2)の周期(サンプリング周期)を短くすると共に、当該短い周期で検出された電流検出値を適切に制御に反映して電流サンプリングのエイリアシングの発生を抑えることができる。
 また、電流検出処理IS(IS1、IS2)の周期を非同期制御モードの場合よりも短くしたことによってCPUコア62の演算負荷が増加するが、その分、電圧制御処理VC(VC1、VC2)の周期を非同期制御モードに対して2(=N)倍に長くすることにより、電圧制御処理VC(VC1、VC2)に要する演算負荷を軽減し、制御装置2の全体の演算負荷をCPUコア62の処理能力の範囲内に収めている。上記のとおり、同期制御モードでは、非同期制御モードとは異なり、キャリア周期TC毎のスイッチング制御信号の出力は必要ないため、電圧制御処理VC(VC1、VC2)の周期を遅くしても問題は少ない。従って、処理能力が限られたCPUコア62を使用しつつ、電動機MGの回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることが可能となっている。
 一方、非同期制御モードが選択された場合には、上記のように、電圧制御処理VC(VC1、VC2)を基準演算周期T0毎に行うことにより、基本的にキャリア周期TC毎にスイッチングのオン及びオフの制御信号を出力する当該非同期制御モードの電圧制御処理VC(VC1、VC2)を、短い周期で適切に行うことができる。また、同期制御モードが選択された場合とは反対に、電圧制御処理VC(VC1、VC2)の周期を短くしたことによってCPUコア62の演算負荷が増加するが、電流検出処理IS(IS1、IS2)、及びそれに伴う電流値取り込み処理IT(IT1、IT2)、三相二相変換処理CT(CT1、CT2)、電流制御処理IC(IC1、IC2)、及び変調率・電圧指令位相導出処理MC(MC1、MC2)を、基準演算周期の2(=N)倍の周期で行うことにより演算負荷を軽減し、制御装置2の全体の演算負荷をCPUコア62の処理能力の範囲内に収めている。この際、非同期制御モードが選択されるのは、電動機MGの回転速度が比較的低く、交流電圧指令値Vu、Vv、Vwの周波数に対してキャリアの周波数が十分に高い状態であるため、電流検出処理IS(IS1、IS2)の周期(サンプリング周期)をキャリア周期TCに対してある程度長くしても電流サンプリングのエイリアシングは発生し難い。
2.第二の実施形態
 次に、本発明に係る電動機駆動装置1の制御装置2の第二の実施形態について説明する。本実施形態に係る電動機駆動装置1及び制御装置2は、1個の電動機MGのみを制御対象としている点で、2個の電動機MG1、MG2を制御対象とする上記第一の実施形態とは異なる。そのため、図示は省略するが、ハードウエア構成では、電動機駆動装置1がインバータ6、電流センサ7、及び回転センサ8をそれぞれ1個ずつ備えている点で上記第一の実施形態と相違している。また、ソフトウエア構成では、制御装置2が1個の電動機MGを制御するように構成されている点で上記第一の実施形態と相違している。以下では、主な相違点である、制御モードに応じた各部の処理周期、及び電動機制御処理の手順について説明する。なお、特に説明しない点については、基本的に上記第一の実施形態と同様とする。
2-1.制御モードに応じた各部の処理周期
 まず、本実施形態に係る、制御モードに応じた制御装置2の各部の処理周期の設定について説明する。本実施形態では、制御装置2は、1個の電動機MGの電流フィードバック制御のための演算処理を単一のCPUコア62により行うように構成されている。従って、制御装置2は、非同期制御モードが選択された場合には、図10に示すように、電圧制御処理VCを基準演算周期T0毎に行うと共に、電流検出処理ISを基準演算周期T0の2(=N)倍の周期で行い、1回の電流検出処理ISにより検出された電流検出値Iur、Ivr、Iwrをフィードバックして2(=N)回の電圧制御処理VCを行う。一方、制御装置2は、同期制御モードが選択された場合には、図11に示すように、電流検出処理ISを基準演算周期T0毎に行うと共に、電圧制御処理VCを基準演算周期T0の2(=N)倍の周期で行い、2(=N)回の電流検出処理ISにより検出された2(=N)回分の電流検出値Iur、Ivr、Iwrをフィードバックして1回の電圧制御処理VCを行う。なお、図10及び図11には、キャリア周期TC及び基準演算周期T0の他に、電流検出処理ISが行われる周期である電流検出周期を「T1」とし、電圧制御処理VCが行われる周期である電圧制御周期を「T2」として示している。
 また、制御装置2は、電流検出周期T1及び電圧制御周期T2の周期の切り替えに応じて、他の処理の周期も切り替える。具体的には、上記第一の実施形態と同様に、電流値取り込み処理IT及び三相二相変換処理CTは、電流検出処理ISの後に、当該電流検出処理ISと同じ周期で実行される。すなわち、制御装置2は、非同期制御モードが選択された場合には、図10に示すように、電流値取り込み処理IT及び三相二相変換処理CTを、基準演算周期T0の2(=N)倍の周期で行い、同期制御モードが選択された場合には、図11に示すように、電流値取り込み処理IT及び三相二相変換処理CTを基準演算周期T0毎に行う。
 図10及び図11に示すように、磁極位置検出処理PS及び磁極位置取り込み処理PTは、制御モードに関わらず、基準演算周期T0毎に行う。電流平均値演算処理ACは、非同期制御モードでは実行されず、同期制御モードが選択された場合に、基準演算周期T0の2(=N)倍の周期で実行される。また、電流制御処理ICは、制御モードに関わらず、基準演算周期T0の2(=N)倍の周期で行う。但し、電流制御処理ICの内容は、制御モードによって異なり、非同期制御モードでは、単に電流検出処理ISと同じ周期で電流制御処理ICを実行するだけであるが、同期制御モードでは、電流検出処理ISの2(=N)倍の周期で電流制御処理ICを実行し、各回の電流制御処理ICに2(=N)回分の電流検出値Idr、Iqrの平均値を用いる。変調率・電圧指令位相導出処理MCは、制御モードに関わらず、基準演算周期T0の2(=N)倍の周期で行う。すなわち、制御装置2は、変調率・電圧指令位相導出処理MCを、電流制御処理ICの後に、当該電流制御処理ICと同じ周期で実行する。このように、各処理の周期は、基本的に上記第一の実施形態と同様である。
 また、本実施形態においても、上記第一の実施形態と同様に、基準演算周期T0の2(=N)倍の周期で行う処理がある。このような処理は、基準演算周期T0の2回に1回行われる。そのため、本実施形態でも、制御装置2は、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかを監視し、その結果に応じて、例えば、奇数回目に基準演算周期T0の2(=N)倍の周期で行われる処理を実行し、偶数回目にはそのような処理を実行しないようにする。また、制御装置2は、基準演算周期T0毎に毎回行う処理については、奇数回目か偶数回目かに関わらず、そのような処理を実行する。
2-2.電動機制御処理の手順
 次に、本実施形態に係る電動機制御処理の手順について、図9のフローチャート、並びに図10及び図11のタイムチャートを参照して説明する。本実施形態においても、CPU61による割り込み処理の周期である基準演算周期T0に基づいて、制御装置2の各機能部における演算処理が実行される。また、磁極位置検出処理PSは、制御モードに関わらず、基準演算周期T0毎に毎回実行される。一方、電流検出処理ISは、非同期制御モードが選択された場合には基準演算周期T0の2(=N)倍の周期で実行され、同期制御モードが選択された場合には基準演算周期T0毎に毎回実行される。
 図9に示すように、基準演算周期T0毎のCPU61の割り込み処理が実行されると(ステップ#11)、制御装置2は、まず、モード決定部51により決定された現在の制御モードが、非同期制御モードか同期制御モードかの判定を行い(ステップ#12)、次に、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかの判定を行う(ステップ#13、#14)。
 現在の制御モードが非同期制御モードであり(ステップ#12:Yes)、基準演算周期T0が奇数回目である(ステップ#13:Yes)場合には、図10の第一基準演算周期T01及び第三基準演算周期T03に示すように、制御装置2は、非同期制御モードの処理周期の設定に従い、基準演算周期T0の2(=N)倍の周期で行う処理と基準演算周期T0毎に毎回行う処理の双方を実行する。まず、当該基準演算周期T0の最初に検出された電動機MGの磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT及び電流値取り込み処理ITが行われる(ステップ#E1)。次に、三相二相変換処理CT(ステップ#E2)、電流制御処理IC(ステップ#E3)、変調率・電圧指令位相導出処理MC(ステップ#E4)、電圧制御処理VC(ステップ#E5)が順に実行される。
 現在の制御モードが非同期制御モードであり(ステップ#12:Yes)、基準演算周期T0が偶数回目である(ステップ#13:No)場合には、図10の第二基準演算周期T02及び第四基準演算周期T04に示すように、制御装置2は、非同期制御モードの処理周期の設定に従い、基準演算周期T0毎に毎回行う処理のみを実行する。まず、当該基準演算周期T0の最初に検出された電動機MGの磁極位置θが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PTが行われる(ステップ#E6)。次に、電圧制御処理VC(ステップ#E5)が実行される。この電圧制御処理VCでは、変調率M及び電圧指令位相θvとしては、一つ前の基準演算周期T0(例えば図10における、第二基準演算周期T02から見た第一基準演算周期T01)に実行された、変調率・電圧指令位相導出処理MCの結果がそのまま利用される。
 現在の制御モードが同期制御モードであり(ステップ#12:No)、基準演算周期T0が奇数回目である(ステップ#14:Yes)場合には、図11の第一基準演算周期T01及び第三基準演算周期T03に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、基準演算周期T0の2(=N)倍の周期で行う処理と基準演算周期T0毎に毎回行う処理の双方を実行する。まず、当該基準演算周期T0の最初に検出された電動機MGの磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT及び電流値取り込み処理ITが行われる(ステップ#F1)。次に、三相二相変換処理CT(ステップ#F2)、電流平均値演算処理AC(ステップ#F3)、電流制御処理IC(ステップ#F4)、変調率・電圧指令位相導出処理MC(ステップ#F5)、電圧制御処理VC(ステップ#F6)が順に実行される。ここで、奇数回目の基準演算周期T0における電流平均値演算処理ACでは、当該電流平均値演算処理ACが行われる基準演算周期T0及びその一つ前の偶数回目の基準演算周期T0(例えば図11における、第三基準演算周期T03から見た第二基準演算周期T02)のそれぞれにおいて実行された、2(=N)回分の三相二相変換処理CTの結果である2(=N)回分の二相の電流検出値Idr、Iqrを用い、平均値を演算する。よって、この後の電流制御処理IC(ステップ#F4)、変調率・電圧指令位相導出処理MC(ステップ#F5)、及び電圧制御処理VC(ステップ#F6)は、この電流平均値に基づいて行われるため、2(=N)回の電流検出処理ISにより検出された2(=N)回分の電流検出値をフィードバックして1回の電圧制御処理VCが行われることになる。
 現在の制御モードが同期制御モードであり(ステップ#12:No)、基準演算周期T0が偶数回目である(ステップ#14:No)場合には、図11の第二基準演算周期T02及び第四基準演算周期T04に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、基準演算周期T0毎に毎回行う処理のみを実行する。まず、当該基準演算周期T0の最初に検出された電動機MGの磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT及び電流値取り込み処理ITが行われる(ステップ#F7)。次に、三相二相変換処理CT(ステップ#F8)が実行される。この偶数回目の基準演算周期T0において、三相二相変換処理CTにより演算された三相二相変換後の二相の電流検出値Idr、Iqrは、次の奇数回目の基準演算周期T0(例えば図11における、第二基準演算周期T02から見た第三基準演算周期T03)における電流平均値演算処理ACで平均値を演算する際に用いられる。
 以上のような構成とすることにより、本実施形態においても、上記第一の実施形態と同様に、電動機MGのロータの回転速度が比較的高く、電流サンプリングのエイリアシングが発生し易い傾向にある同期制御モードにおいて、電流検出処理ISの周期(サンプリング周期)を短くすると共に、当該短い周期で検出された電流検出値を適切に制御に反映して電流サンプリングのエイリアシングの発生を抑えることができる。また、電流検出処理ISの周期を非同期制御モードの場合よりも短くしたことによってCPUコア62の演算負荷が増加分については、電圧制御処理VCの周期を非同期制御モードに対して2(=N)倍に長くすることにより演算負荷を軽減し、制御装置2の全体の演算負荷をCPUコア62の処理能力の範囲内に収めている。一方、電流検出処理ISの周期(サンプリング周期)をキャリア周期TCに対してある程度長くしても電流サンプリングのエイリアシングは発生し難い非同期制御モードでは、電流検出処理IS及びそれに伴う処理を基準演算周期T0の2(=N)倍の周期で行うことにより演算負荷を軽減し、その代わりに電圧制御処理VCを基準演算周期T0毎に行うことで、非同期制御モードのPWM制御を適切に実行可能としている。
3.第三の実施形態
 次に、本発明に係る電動機駆動装置1の制御装置2の第三の実施形態について説明する。図示は省略するが、本実施形態に係る電動機駆動装置1及び制御装置2は、同期制御モードが選択された場合に電流検出処理IS(IS1、IS2)を基準演算周期T0毎に行ったことにより、基準演算周期T0毎に毎回取得される電流検出値Iur、Ivr、Iwrを電圧制御処理VCにフィードバックするための制御の内容が上記第一の実施形態と相違している。それに伴い、ソフトウエア構成では、電流制御部13が平均値演算部21を備えていない点で上記第一の実施形態と相違している。本実施形態においても、2個の電動機MG1、MG2を制御対象としているため、ハードウエア構成は上記第一の実施形態と同様である。また、本実施形態においては、非同期制御モードにおける各部の処理周期、及び電動機制御処理の手順は、上記第一の実施形態と同じである。従って、本実施形態の説明では、非同期制御モードにおける各部の処理周期を表すタイムチャートとして図7を用いる。以下では、主な相違点である、制御モードに応じた各部の処理周期、及び電動機制御処理の手順について説明する。なお、特に説明しない点については、基本的に上記第一の実施形態と同様とする。
3-1.制御モードに応じた各部の処理周期
 まず、本実施形態に係る、制御モードに応じた制御装置2の各部の処理周期の設定について説明する。この制御装置2は、モード決定部51により選択された制御モードが、同期制御モードであるか非同期制御モードであるかに応じて、各部の処理周期の設定を切り替えるように構成されている。本実施形態においては、制御装置2は、電流センサ7(7a、7b)による電流検出処理IS(IS1、IS2)の周期、及び電圧制御部23による電圧制御処理VC(VC1、VC2)の周期に加えて、電流制御部13による電流制御処理IC(IC1、IC2)の周期の設定を、制御モードに応じて切り替える。
 ところで、本実施形態では、上記第一の実施形態と同様に、制御装置2は、2(=N)個の電動機MG1、MG2の電流フィードバック制御のための演算処理を単一のCPUコア62により行うように構成されている。従って、制御装置2は、非同期制御モードが選択された場合には、図7に示すように、2(=N)個の電動機MG1、MG2のそれぞれについての電圧制御処理VC(VC1、VC2)を基準演算周期T0毎に同じ基準演算周期T0内で順に行うと共に、2(=N)個の電動機MG1、MG2のそれぞれについての電流検出処理IS(IS1、IS2)を基準演算周期T0の2(=N)倍の周期で互いに異なるタイミングで行い、2(=N)個の電動機MG1、MG2のそれぞれについて1回の電流検出処理IS(IS1、IS2)により検出された電流検出値Iur、Ivr、Iwrをフィードバックして2(=N)回の電圧制御処理VC(VC1、VC2)を行う。一方、制御装置2は、同期制御モードが選択された場合には、図13に示すように、2(=N)個の電動機MG1、MG2のそれぞれについての電流検出処理IS(IS1、IS2)を基準演算周期T0毎に行うと共に、2(=N)個の電動機MG1、MG2のそれぞれについての電圧制御処理VC(VC1、VC2)を基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行い、2(=N)回の電流検出処理IS(IS1、IS2)により検出された2(=N)回分の電流検出値Iur、Ivr、Iwrをフィードバックして1回の電圧制御処理VC(VC1、VC2)を行う。なお、図13にも、図7及び図8と同様に、電流検出処理IS(IS1、IS2)が行われる周期である電流検出周期について、第一電動機MG1の電流検出周期を「T11」、第二電動機MG2の電流検出周期を「T12」とし、電圧制御処理VC(VC1、VC2)が行われる周期である電圧制御周期について、第一電動機MG1の電圧制御周期を「T21」、第二電動機MG2の電圧制御周期を「T22」として示している。
 また、制御装置2は、電流検出周期T1及び電圧制御周期T2の周期の切り替えに応じて、他の処理の周期も切り替える。具体的には、上記第一の実施形態と同様に、2個の電動機MG1、MG2のそれぞれについての電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)は、2個の電動機MG1、MG2のそれぞれについての電流検出処理IS(IS1、IS2)の後に、当該電流検出処理IS(IS1、IS2)と同じ周期で実行される。すなわち、制御装置2は、非同期制御モードが選択された場合には、図7に示すように、2個の電動機MG1、MG2のそれぞれについての電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)を、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行い、同期制御モードが選択された場合には、図13に示すように、2個の電動機MG1、MG2のそれぞれについての電流値取り込み処理IT(IT1、IT2)及び三相二相変換処理CT(CT1、CT2)を基準演算周期T0毎に行う。
 更に、本実施形態においては、上記第一の実施形態とは異なり、電流制御処理IC(IC1、IC2)の周期も、電流検出周期T1及び電圧制御周期T2の周期の切り替えに応じて、すなわち制御モードに応じて切り替える。具体的には、2個の電動機MG1、MG2のそれぞれについての電流制御処理IC(IC1、IC2)は、2個の電動機MG1、MG2のそれぞれについての三相二相変換処理CT(CT1、CT2)の後に、電流検出処理IS(IS1、IS2)と同じ周期で実行される。従って、制御装置2は、非同期制御モードが選択された場合には、図7に示すように、2個の電動機MG1、MG2のそれぞれについての電流制御処理IC(IC1、IC2)を、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行い、同期制御モードが選択された場合には、図13に示すように、2個の電動機MG1、MG2のそれぞれについての電流制御処理IC(IC1、IC2)を基準演算周期T0毎に行う。
 ここで、電流制御処理IC(IC1、IC2)は、上記のとおり、三相二相変換処理CT(CT1、CT2)により三相二相変換された後の二相の電流検出値Idr、Iqrと、二相の電流指令値であるd軸電流指令値Id及びq軸電流指令値Iqとの偏差に基づいて、比例制御及び積分制御を行って第一電圧指令値としての二相の電圧指令値Vd、Vqを決定する処理である。このため、電流制御処理IC(IC1、IC2)により導出される二相の電圧指令値Vd、Vqには、前記積分制御の積分項として、複数回分の電流検出値Idr、Iqrと電流指令値Id、Iqとの偏差の積分値と積分ゲインに応じた値が含まれることになる。同期制御モードが選択された場合には、2回の電流制御処理IC(IC1、IC2)に対して1回の電圧制御処理VC(VC1、VC2)が行われるため、2(=N)回の電流制御処理IC(IC1、IC2)によって積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VC(VC1、VC2)が実行されることになる。これにより、2(=N)回分の電流検出値Idr、Iqrを適切にフィードバックして電圧制御処理VC(VC1、VC2)を行うことができる。なお、積分期間の設定にもよるが、二相の電圧指令値Vd、Vqに、2(=N)回分以上の電流検出値が反映された状態で、電圧制御処理VC(VC1、VC2)が行われるようにしても好適である。当然ながら、非同期制御モードが選択された場合にも、電流制御処理IC(IC1、IC2)により導出される二相の電圧指令値Vd、Vqの積分項には、複数回分の電流検出値Idr、Iqrが反映される。
 図7及び図13に示すように、2個の電動機MG1、MG2のそれぞれについての磁極位置検出処理PS(PS1、PS2)及び磁極位置取り込み処理PT(PT1、PT2)は、制御モードに関わらず、基準演算周期T0毎に行う。2個の電動機MG1、MG2のそれぞれについての変調率・電圧指令位相導出処理MC(MC1、MC2)は、制御モードに関わらず、基準演算周期T0の2(=N)倍の周期で互いに異なる基準演算周期T0内に行う。同期制御モードが選択された場合には、2回の電流制御処理IC(IC1、IC2)に対して1回の変調率・電圧指令位相導出処理MC(MC1、MC2)が行われるため、積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて変調率・電圧指令位相導出処理MC(MC1、MC2)が実行され、変調率M及び電圧指令位相θvが導出されることになる。そして、このような変調率M及び電圧指令位相θvに基づいて電圧制御処理VC(VC1、VC2)が行われることにより、上記のように、積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VC(VC1、VC2)が実行されることになる。
 以上に説明したように、本実施形態では、同期制御モードが選択された場合には、2(=N)個の電動機MG1、MG2のそれぞれについて、変調率・電圧指令位相導出処理MC(MC1、MC2)が、電圧制御処理VC(VC1、VC2)と共に基準演算周期T0の2(=N)倍の周期で行われる。また、非同期制御モードが選択された場合には、2(=N)個の電動機MG1、MG2のそれぞれについて、電流値取り込み処理IT(IT1、IT2)、三相二相変換処理CT(CT1、CT2)、電流制御処理IC(IC1、IC2)、及び変調率・電圧指令位相導出処理MC(MC1、MC2)が、電流検出処理IS(IS1、IS2)と共に基準演算周期T0の2(=N)倍の周期で行われる。そして、このように2(=N)個の電動機MG1、MG2のそれぞれについて基準演算周期T0の2(=N)倍の周期で互いに異なるタイミング又は基準演算周期T0内で行われる処理は、図7及び図13に示すように、基準演算周期T0毎に交互に行われる。そのため、本実施形態では、制御装置2は、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかを監視し、その結果に応じて、例えば、奇数回目に第一電動機MG1についての処理を実行し、偶数回目に第二電動機MG2についての処理を実行する。このとき、第一電動機MG1についての処理の周期と、第二電動機MG2についての処理の周期とは、当該処理の周期の1/2(ここでは基準演算周期T0に等しい)だけずれている。また、制御装置2は、基準演算周期T0毎に毎回行う処理については、奇数回目は第一電動機MG1についての処理を先に実行した後で第二電動機MG2についての処理を実行し、偶数回目は第二電動機MG2についての処理を先に実行した後で第一電動機MG1についての処理を実行する。なお、当然ながら、奇数回目又は偶数回目のそれぞれの基準演算周期T0において、2つの電動機MG1、MG2のいずれについての処理を実行するかは、適宜設定変更が可能である。
3-2.電動機制御処理の手順
 次に、本実施形態に係る電動機制御処理の手順について、図12のフローチャート、並びに図7及び図13のタイムチャートを参照して説明する。本実施形態においても、CPU61による割り込み処理の周期である基準演算周期T0に基づいて、制御装置2の各機能部における演算処理が実行される。また、磁極位置検出処理PSは、制御モードに関わらず、基準演算周期T0毎に毎回実行される。一方、電流検出処理ISは、非同期制御モードが選択された場合には基準演算周期T0の2(=N)倍の周期で互いに異なるタイミングで実行され、同期制御モードが選択された場合には基準演算周期T0毎に毎回実行される。
 図12に示すように、基準演算周期T0毎のCPU61の割り込み処理が実行されると(ステップ#21)、制御装置2は、まず、モード決定部51により決定された現在の制御モードが、非同期制御モードか同期制御モードかの判定を行い(ステップ#22)、次に、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかの判定を行う(ステップ#23、#24)。現在の制御モードが非同期制御モードである場合(ステップ#22:Yes)における各部の処理周期、及び電動機制御処理の手順は、上記第一の実施形態と同じである。従って、図12のフローチャートにおけるステップ#G1~#G7及びステップ#H1~#H7の処理は、上記第一の実施形態に係る図6のステップ#A1~#A7及びステップ#B1~#B7の処理と同じであり、非同期制御モードでのタイムチャートは上記第一の実施形態に係る図7に示すタイムチャートと同じである。よって、本実施形態に係る非同期制御モードに関する説明は、上記第一の実施形態と同じになるため省略する。
 現在の制御モードが同期制御モードであり(ステップ#22:No)、基準演算周期T0が奇数回目である(ステップ#24:Yes)場合には、図13の第一基準演算周期T01及び第三基準演算周期T03に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、第一電動機MG1についての処理を優先して各処理を実行する。まず、当該基準演算周期T0の最初に検出された第一電動機MG1の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT1及び電流値取り込み処理IT1が行われる(ステップ#I1)。次に、第一電動機MG1について、三相二相変換処理CT1(ステップ#I2)、電流制御処理IC1(ステップ#I3)、変調率・電圧指令位相導出処理MC1(ステップ#I4)、電圧制御処理VC1(ステップ#I5)が順に実行される。ここで、奇数回目の基準演算周期T0における第一電動機MG1についての電圧制御処理VC1では、当該電圧制御処理VC1が行われる基準演算周期T0及びその一つ前の偶数回目の基準演算周期T0(例えば図13における、第三基準演算周期T03から見た第二基準演算周期T02)のそれぞれにおいて実行された、第一電動機MG1についての2(=N)回分の電流制御処理IC1によって積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VC1が実行されることになる。これにより、2(=N)回分の電流検出値Idr、Iqrをフィードバックして1回の電圧制御処理VC1が行われることになる。
 その後、当該基準演算周期T0の最初に検出された第二電動機MG2の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT2及び電流値取り込み処理IT2が行われる(ステップ#I6)。次に、第二電動機MG2について、三相二相変換処理CT2(ステップ#I7)、電流制御処理IC2(ステップ#I8)が順に実行される。この奇数回目の基準演算周期T0において実行された第二電動機MG2についての電流制御処理IC2は、当該奇数回目の基準演算周期T0の最初に検出された第二電動機MG2の電流検出値Iur、Ivr、Iwrを、電流制御処理IC2の結果としての電圧指令値Vd、Vqの積分項に反映させるために行われる。
 現在の制御モードが同期制御モードであり(ステップ#22:No)、基準演算周期T0が偶数回目である(ステップ#24:No)場合には、図13の第二基準演算周期T02及び第四基準演算周期T04に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、第二電動機MG2についての処理を優先して各処理を実行する。まず、当該基準演算周期T0の最初に検出された第二電動機MG2の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT2及び電流値取り込み処理IT2が行われる(ステップ#J1)。次に、第二電動機MG2について、三相二相変換処理CT2(ステップ#J2)、電流制御処理IC2(ステップ#J3)、変調率・電圧指令位相導出処理MC2(ステップ#J4)、電圧制御処理VC2(ステップ#J5)が順に実行される。ここで、偶数回目の基準演算周期T0における第二電動機MG2についての電圧制御処理VC2では、当該電圧制御処理VC2が行われる基準演算周期T0及びその一つ前の奇数回目の基準演算周期T0(例えば図13における、第二基準演算周期T02から見た第一基準演算周期T01)のそれぞれにおいて実行された、第二電動機MG2についての2(=N)回分の電流制御処理IC2によって積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VC2が実行されることになる。これにより、2(=N)回分の電流検出値Idr、Iqrをフィードバックして1回の電圧制御処理VC2が行われることになる。
 その後、当該基準演算周期T0の最初に検出された第一電動機MG1の磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT1及び電流値取り込み処理IT1が行われる(ステップ#J6)。次に、第一電動機MG1について、三相二相変換処理CT1(ステップ#J7)、電流制御処理IC1(ステップ#J8)が順に実行される。この偶数回目の基準演算周期T0において実行された第一電動機MG1についての電流制御処理IC1は、当該偶数回目の基準演算周期T0の最初に検出された第一電動機MG1の電流検出値Iur、Ivr、Iwrを、電流制御処理IC1の結果としての電圧指令値Vd、Vqの積分項に反映させるために行われる。
 以上のように、同期制御モードが選択された場合に、2(=N)回の電流制御処理IC(IC1、IC2)によって積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VC(VC1、VC2)が実行されることになる。従って、電流検出処理IS(IS1、IS2)を基準演算周期T0毎の短い周期で行うのに対して電圧制御処理VC(VC1、VC2)を基準演算周期T0の2(=N)倍の比較的長い周期で行う場合に、2(=N)回の電流検出処理IS(IS1、IS2)により検出された2(=N)回分の電流検出値を適切にフィードバックして電圧制御処理VC(VC1、VC2)を行うことができる。従って、電動機MGのロータの回転速度が比較的高く、電流サンプリングのエイリアシングが発生し易い傾向にある同期制御モードにおいて、電流検出処理IS(IS1、IS2)の周期(サンプリング周期)を短くすると共に、当該短い周期で検出された電流検出値を適切に制御に反映して電流サンプリングのエイリアシングの発生を抑えることができる。
 また、電流検出処理IS(IS1、IS2)及び電流制御処理IC(IC1、IC2)の周期を非同期制御モードの場合よりも短くしたことによってCPUコア62の演算負荷が増加するが、その分、電圧制御処理VC(VC1、VC2)の周期を非同期制御モードに対して2(=N)倍に長くすることにより、電圧制御処理VC(VC1、VC2)に要する演算負荷を軽減し、制御装置2の全体の演算負荷をCPUコア62の処理能力の範囲内に収めている。従って、処理能力が限られたCPUコア62を使用しつつ、電動機MGの回転速度が高くなった場合にも電流サンプリングのエイリアシングの発生を抑えることが可能となっている。
4.第四の実施形態
 次に、本発明に係る電動機駆動装置1の制御装置2の第四の実施形態について説明する。本実施形態に係る制御装置2の構成は、基本的に上記第三の実施形態に近いが、1個の電動機MGのみを制御対象としている点で、上記第三の実施形態とは異なる。そのため、図示は省略するが、ハードウエア構成では、電動機駆動装置1がインバータ6、電流センサ7、及び回転センサ8をそれぞれ1個ずつ備えている点で上記第三の実施形態と相違している。また、ソフトウエア構成では、制御装置2が1個の電動機MGを制御するように構成されている点で上記第三の実施形態と相違している。なお、本実施形態においては、非同期制御モードにおける各部の処理周期、及び電動機制御処理の手順は、上記第二の実施形態と同じである。従って、本実施形態の説明では、非同期制御モードにおける各部の処理周期を表すタイムチャートとして図10を用いる。以下では、主な相違点である、制御モードに応じた各部の処理周期、及び電動機制御処理の手順について説明する。なお、特に説明しない点については、基本的に上記第三の実施形態と同様とする。
4-1.制御モードに応じた各部の処理周期
 まず、本実施形態に係る、制御モードに応じた制御装置2の各部の処理周期の設定について説明する。本実施形態では、制御装置2は、1個の電動機MGの電流フィードバック制御のための演算処理を単一のCPUコア62により行うように構成されている。従って、制御装置2は、非同期制御モードが選択された場合には、図10に示すように、電圧制御処理VCを基準演算周期T0毎に行うと共に、電流検出処理ISを基準演算周期T0の2(=N)倍の周期で行い、1回の電流検出処理ISにより検出された電流検出値Iur、Ivr、Iwrをフィードバックして2(=N)回の電圧制御処理VCを行う。一方、制御装置2は、同期制御モードが選択された場合には、図15に示すように、電流検出処理ISを基準演算周期T0毎に行うと共に、電圧制御処理VCを基準演算周期T0の2(=N)倍の周期で行い、2(=N)回の電流検出処理ISにより検出された2(=N)回分の電流検出値Iur、Ivr、Iwrをフィードバックして1回の電圧制御処理VCを行う。なお、図10及び図15には、キャリア周期TC及び基準演算周期T0の他に、電流検出処理ISが行われる周期である電流検出周期を「T1」とし、電圧制御処理VCが行われる周期である電圧制御周期を「T2」として示している。
 また、制御装置2は、電流検出周期T1及び電圧制御周期T2の周期の切り替えに応じて、他の処理の周期も切り替える。具体的には、上記第三の実施形態と同様に、電流値取り込み処理IT及び三相二相変換処理CTは、電流検出処理ISの後に、当該電流検出処理ISと同じ周期で実行される。すなわち、制御装置2は、非同期制御モードが選択された場合には、図10に示すように、電流値取り込み処理IT及び三相二相変換処理CTを、基準演算周期T0の2(=N)倍の周期で行い、同期制御モードが選択された場合には、図15に示すように、電流値取り込み処理IT及び三相二相変換処理CTを基準演算周期T0毎に行う。
 更に、上記第三の実施形態と同様に、電流制御処理ICの周期も、電流検出周期T1及び電圧制御周期T2の周期の切り替えに応じて、すなわち制御モードに応じて切り替える。具体的には、電流制御処理ICは、三相二相変換処理CTの後に、電流検出処理ISと同じ周期で実行される。従って、制御装置2は、非同期制御モードが選択された場合には、図10に示すように、電流制御処理ICを、基準演算周期T0の2(=N)倍の周期で行い、同期制御モードが選択された場合には、図15に示すように、電流制御処理ICを基準演算周期T0毎に行う。ここで、電流制御処理ICにより導出される二相の電圧指令値Vd、Vqには、前記積分制御の積分項として、複数回分の電流検出値Idr、Iqrと電流指令値Id、Iqとの偏差の積分値と積分ゲインに応じた値が含まれる。同期制御モードが選択された場合には、2回の電流制御処理ICに対して1回の電圧制御処理VCが行われるため、2(=N)回の電流制御処理ICによって積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VCが実行されることになる。これにより、2(=N)回分の電流検出値Idr、Iqrを適切にフィードバックして電圧制御処理VCを行うことができる。この点は、上記第三の実施形態と同様である。
 図10及び図15に示すように、磁極位置検出処理PS及び磁極位置取り込み処理PTは、制御モードに関わらず、基準演算周期T0毎に行う。変調率・電圧指令位相導出処理MCは、制御モードに関わらず、基準演算周期T0の2(=N)倍の周期で行う。このように、各処理の周期は、基本的に上記第一の実施形態と同様である。
 また、本実施形態においても、上記第三の実施形態と同様に、基準演算周期T0の2(=N)倍の周期で行う処理がある。このような処理は、基準演算周期T0の2回に1回行われる。そのため、本実施形態でも、制御装置2は、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかを監視し、その結果に応じて、例えば、奇数回目に基準演算周期T0の2(=N)倍の周期で行われる処理を実行し、偶数回目にはそのような処理を実行しないようにする。また、制御装置2は、基準演算周期T0毎に毎回行う処理については、奇数回目か偶数回目かに関わらず、そのような処理を実行する。
4-2.電動機制御処理の手順
 次に、本実施形態に係る電動機制御処理の手順について、図14のフローチャート、並びに図10及び図15のタイムチャートを参照して説明する。本実施形態においても、CPU61による割り込み処理の周期である基準演算周期T0に基づいて、制御装置2の各機能部における演算処理が実行される。また、磁極位置検出処理PSは、制御モードに関わらず、基準演算周期T0毎に毎回実行される。一方、電流検出処理ISは、非同期制御モードが選択された場合には基準演算周期T0の2(=N)倍の周期で実行され、同期制御モードが選択された場合には基準演算周期T0毎に毎回実行される。
 図14に示すように、基準演算周期T0毎のCPU61の割り込み処理が実行されると(ステップ#31)、制御装置2は、まず、モード決定部51により決定された現在の制御モードが、非同期制御モードか同期制御モードかの判定を行い(ステップ#32)、次に、繰り返し実行される基準演算周期T0が奇数回目であるか偶数回目であるかの判定を行う(ステップ#33、#34)。現在の制御モードが非同期制御モードである場合(ステップ#32:Yes)における各部の処理周期、及び電動機制御処理の手順は、上記第二の実施形態と同じである。従って、図14のフローチャートにおけるステップ#K1~#K6の処理は、上記第二の実施形態に係る図9のステップ#E1~#E6の処理と同じであり、非同期制御モードでのタイムチャートは上記第二の実施形態に係る図10に示すタイムチャートと同じである。よって、本実施形態に係る非同期制御モードに関する説明は、上記第二の実施形態と同じになるため省略する。
 現在の制御モードが同期制御モードであり(ステップ#32:No)、基準演算周期T0が奇数回目である(ステップ#34:Yes)場合には、図15の第一基準演算周期T01及び第三基準演算周期T03に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、基準演算周期T0の2(=N)倍の周期で行う処理と基準演算周期T0毎に毎回行う処理の双方を実行する。まず、当該基準演算周期T0の最初に検出された電動機MGの磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT及び電流値取り込み処理ITが行われる(ステップ#L1)。次に、三相二相変換処理CT(ステップ#L2)、電流制御処理IC(ステップ#L3)、変調率・電圧指令位相導出処理MC(ステップ#L4)、電圧制御処理VC(ステップ#L5)が順に実行される。ここで、奇数回目の基準演算周期T0における電動機MGについての電圧制御処理VCでは、当該電圧制御処理VCが行われる基準演算周期T0及びその一つ前の偶数回目の基準演算周期T0(例えば図15における、第三基準演算周期T03から見た第二基準演算周期T02)のそれぞれにおいて実行された、2(=N)回分の電流制御処理ICによって積分項に2(=N)回分の電流検出値Idr、Iqrが反映された二相の電圧指令値Vd、Vqに基づいて電圧制御処理VCが実行されることになる。これにより、2(=N)回分の電流検出値Idr、Iqrをフィードバックして1回の電圧制御処理VCが行われることになる。
 現在の制御モードが同期制御モードであり(ステップ#32:No)、基準演算周期T0が偶数回目である(ステップ#34:No)場合には、図15の第二基準演算周期T02及び第四基準演算周期T04に示すように、制御装置2は、同期制御モードの処理周期の設定に従い、基準演算周期T0毎に毎回行う処理のみを実行する。まず、当該基準演算周期T0の最初に検出された電動機MGの磁極位置θ及び電流検出値Iur、Ivr、Iwrが、A/Dコンバータ67(図1参照)によりデジタルデータに変換されて取り込まれる磁極位置取り込み処理PT及び電流値取り込み処理ITが行われる(ステップ#L6)。次に、三相二相変換処理CT(ステップ#L7)、電流制御処理IC(ステップ#L8)が順に実行される。この偶数回目の基準演算周期T0において実行された電流制御処理ICは、当該偶数回目の基準演算周期T0の最初に検出された電流検出値Iur、Ivr、Iwrを、電流制御処理ICの結果としての電圧指令値Vd、Vqの積分項に反映させるために行われる。
 以上のような構成とすることにより、本実施形態においても、上記第三の実施形態と同様に、電動機MGのロータの回転速度が比較的高く、電流サンプリングのエイリアシングが発生し易い傾向にある同期制御モードにおいて、電流検出処理ISの周期(サンプリング周期)を短くすると共に、当該短い周期で検出された電流検出値を適切に制御に反映して電流サンプリングのエイリアシングの発生を抑えることができる。また、電流検出処理ISの周期を非同期制御モードの場合よりも短くしたことによってCPUコア62の演算負荷の増加分については、電圧制御処理VCの周期を非同期制御モードに対して2(=N)倍に長くすることにより演算負荷を軽減し、制御装置2の全体の演算負荷をCPUコア62の処理能力の範囲内に収めている。
5.その他の実施形態
(1)上記の各実施形態においては、モード決定部51が、同期制御モードとして矩形波制御を行わせる第三制御モードが選択可能であり、非同期制御モードとして正弦波PWM制御を行わせる第一制御モード又は過変調PWM制御を行わせる第二制御モードが選択可能である場合を例として説明した。しかし、本発明の実施形態はこれに限定されない。例えば、同期制御モードとしては、各スイッチング素子のオン及びオフが電気角1周期につき1回ずつ行われ、電気角半周期につき1回のパルスが出力される矩形波制御(1パルス制御)以外にも、スイッチング素子のオン及びオフが電気角1周期につきM回(Mは2以上の整数)ずつ行われるMパルス制御(例えば、3パルス制御や5パルス制御)も含まれる。Mパルス制御は、電気角半周期につきM回のパルスが出力される制御であり、各パルスの幅は電気角の位相に応じて予め定められている。但し、電気角半周期内に出力されるM個のパルスの幅は、互いに異なるように設定してもよいし、同じに設定してもよい。モード決定部51が、これらの複数の同期制御モードの中から一つを選択する構成としても好適である。また、非同期制御モードとしては、電動機MGの電気角の周期とインバータ6のスイッチング周期とを同期させず、インバータ6のスイッチング制御信号Pu、Nu、Pv、Nv、Pw、Nwをキャリアに基づいて生成する各種の制御モードが含まれる。このような非同期制御モードとしては、正弦波PWM制御や過変調PWM制御以外にも、例えば、二相変調PWM制御や空間ベクトルPWM制御等の各種PWM制御が含まれる。また、PWM制御以外の制御方式であっても、電動機MGの電気角の周期とインバータ6のスイッチング周期とを同期させない制御方式であれば、本発明における非同期制御モードに含まれる。
(2)上記の各実施形態では、本発明における「N」が2である場合であって、基準演算周期T0より長い処理の周期が基準演算周期T0の2倍である場合を例として説明した。しかし、本発明の実施形態はこれに限定されるものではなく、Nが3、4、5等のように、2より大きい整数に設定されることも、本発明の好適な実施形態の一つである。例えば、Nが4に設定された場合、制御装置2は、同期制御モードでは、電流検出処理ISを基準演算周期T0毎に行うと共に、電圧制御処理VCを基準演算周期T0の4倍の周期で行い、4回の電流検出処理ISにより検出された4回分の電流検出値をフィードバックして1回の電圧制御処理VCを行う。また、制御装置2は、非同期制御モードでは、電圧制御処理VCを基準演算周期T0毎に行うと共に、電流検出処理ISを基準演算周期T0の4倍の周期で行い、1回の電流検出処理ISにより検出された電流検出値をフィードバックして4回の電圧制御処理VCを行う。
(3)上記の各実施形態では、制御対象としての交流電動機MGが1個又は2個の場合を例として説明した。しかし、本発明の実施形態はこれらに限定されるものではなく、制御装置2が、3個、4個等のように、2個より多い交流電動機MGを制御する構成とすることも、本発明の好適な実施形態の一つである。いずれにしても、電動機駆動装置1は、複数の交流電動機MGのそれぞれを駆動制御する複数のインバータ6を備え、制御装置2は、これら複数のインバータ6を制御することにより、複数の交流電動機MGを制御するように構成される。ここで、交流電動機MGの数は、基準演算周期T0より長い処理の周期を定める本発明の「N」と同数であることが好ましいが、これと異なる数とすることも可能である。
(4)上記の各実施形態においては、電動車両やハイブリッド車両等の駆動力源として用いられる電動機MGを制御対象とする電動機駆動装置1の制御装置2に、本発明を適用した場合を例として説明した。しかし、本発明の適用範囲はこれに限定されない。すなわち、交流電動機を制御対象とするあらゆる装置や機器を制御するために、本発明を適用することが可能である。
 本発明は、直流電圧を交流電圧に変換して交流電動機に供給するインバータを備えた電動機駆動装置を制御し、前記交流電動機の電流フィードバック制御を行う制御装置に好適に利用可能である。
1:電動機駆動装置
2:制御装置
6:インバータ
13:電流制御部
21:平均値演算部
23:電圧制御部
51:モード決定部(制御モード選択部)
62:CPUコア(演算処理ユニット)
MG:交流電動機
TC:キャリア周期
T0:基準演算周期
Vu、Vv、Vw:交流電圧指令値
Pu、Nu、Pv、Nv、Pw、Nw:スイッチング制御信号
Iur、Ivr、Iwr:三相の電流検出値
Idr、Iqr:二相の電流検出値
Id、Iq:電流指令値
Vd、Vq:二相の電圧指令値(第一電圧指令値)
VC:電圧制御処理
IS:電流検出処理
IC:電流制御処理
AC:電流平均値演算処理

Claims (6)

  1.  直流電圧を交流電圧に変換して交流電動機に供給するインバータを備えた電動機駆動装置を制御し、前記交流電動機の電流フィードバック制御を行う制御装置であって、
     前記交流電動機に供給する交流電圧の指令値である交流電圧指令値を決定し、前記インバータのスイッチング制御信号を生成する電圧制御処理を行う電圧制御部を備えると共に、
     前記交流電動機の電気角の周期と前記インバータのスイッチング周期とを同期させる同期制御モードと、これらを同期させない非同期制御モードとのいずれかを選択する制御モード選択部を備え、
     前記同期制御モードが選択された場合には、前記交流電動機のコイルに流れる電流を検出する電流検出処理をキャリアの周期の1/2に設定された基準演算周期毎に行うと共に、前記電圧制御処理を前記基準演算周期のN倍(Nは2以上の整数)の周期で行い、N回の前記電流検出処理により検出されたN回分の電流検出値をフィードバックして1回の前記電圧制御処理を行う電動機駆動装置の制御装置。
  2.  前記非同期制御モードが選択された場合には、前記電圧制御処理を前記基準演算周期毎に行うと共に、前記電流検出処理を前記基準演算周期のN倍の周期で行い、1回の前記電流検出処理により検出された電流検出値をフィードバックしてN回の前記電圧制御処理を行う請求項1に記載の電動機駆動装置の制御装置。
  3.  前記交流電動機に対する要求トルクに基づいて定まる電流指令値と前記電流検出処理により検出された電流検出値との偏差に基づいて第一電圧指令値を決定する電流制御処理を行う電流制御部と、
     N回の前記電流検出処理により検出されたN回分の電流検出値の平均値を演算する平均値演算を行う平均値演算部と、を備え、
     前記同期制御モードが選択された場合には、前記平均値演算及び前記電流制御処理を前記電圧制御処理と共に前記基準演算周期のN倍の周期で行い、
     前記電流制御部は、前記電流指令値と前記平均値演算部により演算された前記平均値との偏差に基づいて前記電流制御処理を行って前記第一電圧指令値を決定し、前記電圧制御部は、当該第一電圧指令値に基づいて前記電圧制御処理を行う請求項1又は2に記載の電動機駆動装置の制御装置。
  4.  前記交流電動機に対する要求トルクに基づいて定まる電流指令値と前記電流検出処理により検出された電流検出値との偏差に基づいて少なくとも比例制御及び積分制御を行って第一電圧指令値を決定する電流制御処理を行う電流制御部を備え、
     前記同期制御モードが選択された場合には、前記電流制御処理を前記電流検出処理と共に基準演算周期毎に行い、
     前記電圧制御部は、N回の前記電流制御処理によって積分項にN回分の電流検出値が反映された第一電圧指令値に基づいて前記電圧制御処理を行う請求項1又は2に記載の電動機駆動装置の制御装置。
  5.  N個の前記交流電動機の電流フィードバック制御のための演算処理を単一の演算処理ユニットにより行うように構成され、
     前記同期制御モードが選択された場合には、N個の前記交流電動機のそれぞれについての前記電流検出処理を前記基準演算周期毎に行うと共に、N個の前記交流電動機のそれぞれについての前記電圧制御処理を、前記基準演算周期のN倍の周期で互いに異なる基準演算周期内に行う請求項1から4のいずれか一項に記載の電動機駆動装置の制御装置。
  6.  前記非同期制御モードが選択された場合には、N個の前記交流電動機のそれぞれについての前記電圧制御処理を前記基準演算周期毎に同じ基準演算周期内で順に行うと共に、N個の前記交流電動機のそれぞれについての前記電流検出処理を前記基準演算周期のN倍の周期で互いに異なるタイミングで行い、N個の前記交流電動機のそれぞれについて1回の前記電流検出処理により検出された電流検出値をフィードバックしてN回の前記電圧制御処理を行う請求項5に記載の電動機駆動装置の制御装置。
PCT/JP2010/064907 2009-10-02 2010-09-01 電動機駆動装置の制御装置 WO2011040168A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201080028552.3A CN102474208B (zh) 2009-10-02 2010-09-01 电动机驱动装置的控制装置
DE112010002402T DE112010002402T5 (de) 2009-10-02 2010-09-01 Steuerungsvorrichtung für eine Elektromotorantriebsvorrichtung

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2009-231023 2009-10-02
JP2009231023A JP5252229B2 (ja) 2009-10-02 2009-10-02 電動機駆動装置の制御装置

Publications (1)

Publication Number Publication Date
WO2011040168A1 true WO2011040168A1 (ja) 2011-04-07

Family

ID=43822685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/064907 WO2011040168A1 (ja) 2009-10-02 2010-09-01 電動機駆動装置の制御装置

Country Status (5)

Country Link
US (1) US8232753B2 (ja)
JP (1) JP5252229B2 (ja)
CN (1) CN102474208B (ja)
DE (1) DE112010002402T5 (ja)
WO (1) WO2011040168A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI497239B (zh) * 2013-05-30 2015-08-21 Mirle Automation Corp 同步控制系統及同步控制方法

Families Citing this family (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100557943C (zh) * 2008-06-13 2009-11-04 株洲南车时代电气股份有限公司 一种基于空间矢量的同步调制方法
DE102009045822A1 (de) * 2009-10-20 2011-04-28 Robert Bosch Gmbh Elektronisch kommutierter Elektromotor mit kalibrierter Motormomentkonstante
FR2963510B1 (fr) * 2010-08-02 2012-10-05 Alstom Transport Sa Chaine de traction pour un vehicule de transport, notamment ferroviaire, et procede de commande d'une telle chaine
US8450962B2 (en) * 2011-02-28 2013-05-28 Deere & Company System for controlling a motor
EP2717465B1 (en) * 2011-04-21 2019-06-19 Nissan Motor Co., Ltd Control device for electric motor and control method for electric motor
JP5783802B2 (ja) * 2011-05-27 2015-09-24 ミネベア株式会社 モータ駆動装置、集積回路装置、モータ装置、及びモータ駆動システム
US9246428B2 (en) * 2011-09-30 2016-01-26 Mitsubishi Electric Corporation Vector control device for an electric motor that controls an electric power converter that converts DC power to AC power, electric motor, vehicle drive system, and vector control method for electric motor
JP5664928B2 (ja) * 2011-12-21 2015-02-04 アイシン・エィ・ダブリュ株式会社 回転電機制御装置
JP2013162536A (ja) * 2012-02-01 2013-08-19 Mitsubishi Electric Corp 電力変換装置
JP5733257B2 (ja) * 2012-03-30 2015-06-10 トヨタ自動車株式会社 回転電機制御装置
JP5733256B2 (ja) * 2012-03-30 2015-06-10 トヨタ自動車株式会社 回転電機制御装置
US9735704B2 (en) * 2012-04-23 2017-08-15 Infineon Technologies Korea Co. Ltd. Apparatus for controlling inverter current and method of operating the same
JP5519734B2 (ja) * 2012-06-26 2014-06-11 ファナック株式会社 モータの駆動の準備の完了時にデータの通信速度を変更するマスタ装置
DE102012219318A1 (de) * 2012-10-23 2014-04-24 Kuka Laboratories Gmbh Elektrische Vorrichtung mit einem getakteten Netzteil und Verfahren zum Testen des Netzteils der elektrischen Vorrichtung
JP5633551B2 (ja) * 2012-11-05 2014-12-03 株式会社安川電機 交流電動機の制御装置
JP5962591B2 (ja) * 2013-06-03 2016-08-03 株式会社デンソー モータ駆動装置
JP6150647B2 (ja) * 2013-07-24 2017-06-21 日立オートモティブシステムズ株式会社 ブラシレスモータの制御装置
KR101491933B1 (ko) * 2013-11-19 2015-02-09 엘에스산전 주식회사 병렬 인버터 제어 장치
CN107112938B (zh) * 2015-01-21 2019-06-21 三菱电机株式会社 交流旋转电机的控制装置及电动助力转向的控制装置
CN104811080A (zh) * 2015-05-08 2015-07-29 北京阿启蒙技术有限公司 单相h桥逆变器的波形发生方法
EP3300246B1 (en) * 2015-05-21 2020-04-29 Nissan Motor Co., Ltd. Motor control device and motor control method
JP6414513B2 (ja) * 2015-06-05 2018-10-31 アイシン・エィ・ダブリュ株式会社 回転電機制御装置
GB201513549D0 (en) * 2015-07-31 2015-09-16 Siemens Ag Inverter
DE102015214839A1 (de) * 2015-08-04 2017-02-09 Schaeffler Technologies AG & Co. KG Verfahren zum zeitdiskreten Regeln eines elektronisch kommutierten Elektromotors
JP6598563B2 (ja) * 2015-08-05 2019-10-30 ルネサスエレクトロニクス株式会社 信号変換器及び制御装置
CN105375828A (zh) * 2015-11-12 2016-03-02 简式国际汽车设计(北京)有限公司 一种车用四电机控制器及控制系统
JP6633399B2 (ja) * 2016-01-27 2020-01-22 サンデン・オートモーティブコンポーネント株式会社 モータ制御装置
JP6372497B2 (ja) 2016-02-18 2018-08-15 株式会社デンソー インバータ制御装置
JP6132948B1 (ja) * 2016-03-29 2017-05-24 三菱電機株式会社 モータ制御装置およびモータ制御方法
JP6465848B2 (ja) * 2016-09-21 2019-02-06 キヤノン株式会社 モータ制御装置、シート搬送装置及び画像形成装置
JP6658554B2 (ja) * 2017-01-10 2020-03-04 株式会社デンソー 交流電動機の制御装置
JP6316481B1 (ja) * 2017-04-21 2018-04-25 三菱電機株式会社 電動機の制御装置
JP6777008B2 (ja) * 2017-05-19 2020-10-28 株式会社デンソー 駆動装置
EP3474434B1 (de) * 2017-10-23 2021-12-29 Audi Ag Elektrisches antriebssystem
CN111801884B (zh) * 2018-03-05 2023-08-01 三菱电机株式会社 交流旋转电机的控制装置和电动助力转向的控制装置
JP7166425B2 (ja) * 2019-02-19 2022-11-07 三菱電機株式会社 電力変換装置および電動パワーステアリング装置
KR102674034B1 (ko) * 2019-07-17 2024-06-12 엘지전자 주식회사 모터 구동장치 및 이를 구비한 의류 처리장치
JP7306913B2 (ja) * 2019-08-06 2023-07-11 ファナック株式会社 モータ駆動装置
EP4068611A4 (en) * 2019-11-27 2023-01-18 Mitsubishi Electric Corporation ENGINE CONTROL DEVICE
WO2021106465A1 (ja) * 2019-11-28 2021-06-03 株式会社豊田自動織機 電動機の制御装置
JP7259811B2 (ja) * 2019-11-28 2023-04-18 株式会社豊田自動織機 電動機の制御装置
CN112737448B (zh) * 2020-12-29 2023-03-03 联合汽车电子有限公司 车用电机控制系统及控制方法
JP2022150152A (ja) * 2021-03-26 2022-10-07 本田技研工業株式会社 制御装置、制御プログラム及び制御方法
US11539283B1 (en) * 2021-06-04 2022-12-27 Rockwell Automation Technologies, Inc. System and method for reducing delay in the modulation of a multi-phase output voltage from an inverter
CN114697235B (zh) * 2022-05-31 2022-08-02 深圳市杰美康机电有限公司 一种EtherCAT通讯测试方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0678558A (ja) * 1992-06-23 1994-03-18 Toshiba Toransupooto Eng Kk Pwmインバータの制御方法およびそれを使用する制御装置
JP2002010677A (ja) * 2000-06-21 2002-01-11 Hitachi Ltd モータ制御装置
JP2002272184A (ja) * 2001-03-13 2002-09-20 Nissan Motor Co Ltd 電動機の駆動制御装置
JP2006081287A (ja) * 2004-09-09 2006-03-23 Aisin Aw Co Ltd 電動駆動制御装置、電動駆動制御方法及びそのプログラム
JP2007159185A (ja) * 2005-11-30 2007-06-21 Nsk Ltd 電動パワーステアリング制御装置、および方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3346223B2 (ja) * 1997-06-10 2002-11-18 株式会社日立製作所 モータ制御方法及びモータ制御システム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0678558A (ja) * 1992-06-23 1994-03-18 Toshiba Toransupooto Eng Kk Pwmインバータの制御方法およびそれを使用する制御装置
JP2002010677A (ja) * 2000-06-21 2002-01-11 Hitachi Ltd モータ制御装置
JP2002272184A (ja) * 2001-03-13 2002-09-20 Nissan Motor Co Ltd 電動機の駆動制御装置
JP2006081287A (ja) * 2004-09-09 2006-03-23 Aisin Aw Co Ltd 電動駆動制御装置、電動駆動制御方法及びそのプログラム
JP2007159185A (ja) * 2005-11-30 2007-06-21 Nsk Ltd 電動パワーステアリング制御装置、および方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI497239B (zh) * 2013-05-30 2015-08-21 Mirle Automation Corp 同步控制系統及同步控制方法

Also Published As

Publication number Publication date
US8232753B2 (en) 2012-07-31
US20110080125A1 (en) 2011-04-07
CN102474208B (zh) 2014-07-23
JP5252229B2 (ja) 2013-07-31
DE112010002402T5 (de) 2012-08-30
CN102474208A (zh) 2012-05-23
JP2011083068A (ja) 2011-04-21

Similar Documents

Publication Publication Date Title
JP5252229B2 (ja) 電動機駆動装置の制御装置
JP5471255B2 (ja) 電動機駆動装置の制御装置
JP5471259B2 (ja) 制御装置
US8471519B2 (en) Control device and control method for AC motor
JP5304894B2 (ja) 交流電動機の制御装置および制御方法
US10778130B2 (en) Control apparatus for alternating-current rotary electric machine
US9543868B2 (en) Apparatus for controlling rotary electric machine
JP5633650B2 (ja) 車両および車両の制御方法
JP5435292B2 (ja) 制御装置
JP5803559B2 (ja) 回転電機制御装置
JP2017204918A (ja) 交流電動機の制御装置
JP5659945B2 (ja) 回転電機の制御装置
JP3939481B2 (ja) 交流モータの制御装置
US11881803B2 (en) Control device for electric vehicle
JP6681266B2 (ja) 電動機の制御装置及びそれを備えた電動車両
JP2010166707A (ja) 交流電動機の制御装置
US20220278621A1 (en) Power conversion apparatus
JP6305603B1 (ja) 回転電機の制御装置
JP2010273518A (ja) 交流電動機の制御装置
JP2023123084A (ja) 回転電機の制御装置、及びプログラム
JP2015171311A (ja) 交流電動機の制御装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080028552.3

Country of ref document: CN

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

Ref document number: 10820288

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 112010002402

Country of ref document: DE

Ref document number: 1120100024022

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10820288

Country of ref document: EP

Kind code of ref document: A1