Control device and control program for rotary electric machine system
The control device for rotating electrical machine systems enhances heat generation by adjusting switching element transition times, addressing inefficiencies in existing systems and ensuring effective heat management for both battery warming and vehicle interior heating.
Patent Information
- Application Number
- PCT/JP2024/015930
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-15
- Filing Date
- 2024-04-23
- Publication Date
- 2024-11-21
AI Technical Summary
Existing rotating electrical machine systems face inefficiencies in generating heat, particularly in vehicles, where conventional inverter control methods do not effectively meet heat demands for both battery warming and vehicle interior heating.
A control device and program for a rotating electrical machine system that adjusts the transition times of semiconductor switching elements in the inverter to increase switching losses, generating heat efficiently by prolonging turn-off times and managing switching patterns to balance heat generation across phases.
The solution enables efficient heat generation in rotating electrical machine systems, effectively addressing heat demands while minimizing the risk of overheating and short circuits, and ensuring reliable operation during both vehicle stoppages and running conditions.
Smart Images

Figure JP2024015930_21112024_PF_FP_ABST
Abstract
Description
Control device and control program for rotating electrical machine system CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is based on Japanese Application No. 2023-080088 filed on May 15, 2023, the contents of which are incorporated herein by reference.
[0002] The present disclosure relates to a control device and a control program for a rotating electrical machine system.
[0003] As described in Patent Document 1, a control device for an inverter electrically connecting a battery to a winding of a rotating electric machine is known. In this control device, when the battery is at a low temperature and the rotating electric machine is stopped, a discharge control is performed by applying a d-axis voltage by switching control of the inverter to cause a d-axis current to flow through the rotating electric machine, and a charge control is performed by lowering the d-axis voltage following the discharge control to return electrical energy from the coil of the rotating electric machine to the battery. This generates Joule heat in the battery, raising its temperature.
[0004] Patent No. 5849917
[0005] In a vehicle, there is a need for heat not only to warm up the battery but also to heat the passenger compartment. In this case, various heat demands can be met by effectively generating heat using each switch of the inverter. In this regard, there is room for improvement in the technology for generating heat in the inverter according to the heat demand.
[0006] The present disclosure has been made in consideration of the above-mentioned problems, and has as its main object to efficiently generate heat in a rotating electrical machine system.
[0007] The means for solving the above problem is a control device that is applied to a rotating electric machine system including a rotating electric machine having a multi-phase winding and an inverter that adjusts the phase current of each phase in the winding by turning on and off a plurality of switches made of semiconductor switching elements, and controls the on and off of the switches in the inverter, and includes: a determination unit that determines whether or not there is a heat generation request in the rotating electric machine system; and a switch control unit that, when it is determined that there is a heat generation request, controls the switch so that the transition time of at least one of the switch when it is turned on and when it is turned off is longer than when there is no heat generation request.
[0008] When there is a heat generation request from the rotating electrical machine system, the transition time of at least one of the switches (semiconductor switching elements) when they are turned on and off is set to be longer than when there is no heat generation request. This allows heat to be generated in each switch of the inverter due to an increase in the amount of switching loss. As a result, heat can be generated efficiently in the rotating electrical machine system.
[0009] "Heat generation" means generating heat, and "heat generation request" means requesting the generation of heat.
[0010] The above and other objects, features, and advantages of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which Fig. 1 is an overall configuration diagram of a rotating electrical machine system, Fig. 2 is a diagram showing the configuration of a switch drive circuit, Fig. 3 is a time chart showing changes in switch voltage Vsw and switch current Isw, Fig. 4 is a time chart showing an increase in element temperature when a switch is turned on, Fig. 5 is a diagram showing the processing of dq-UVW conversion, Fig. 6 is a time chart showing current waveforms of dq-axis currents and phase currents of each phase, Fig. 7 is a diagram showing a switching pattern when heat generation control is performed by d-axis current flow, Fig. 8 is a diagram showing a switching pattern when heat generation control is performed by d-axis current flow, Fig. 9 is a time chart showing changes in gate voltages of switches in the upper and lower arms, Fig. 10 is a time chart showing an example of control of gate resistance switching in each phase, and Fig. 11 is a diagram showing the relationship between the electrical angle and the current ratio of each phase. FIG. 12 is a time chart showing switching control in three states with different modulation rates, FIG. 13 is a diagram showing the processing of dq-UVW conversion, FIG. 14 is a time chart for specifically explaining heat generation control by d-axis current application, FIG. 15 is a flowchart showing the procedure for heat generation control while the vehicle is stopped, FIG. 16 is a flowchart showing the procedure for heat generation control while the vehicle is running, FIG. 17 is a diagram showing the relationship between element temperature and the length of the loss increase period, FIG. 18 is a diagram showing the gear meshing of the gear device, FIG. 19 is a time chart showing changes in various parameters when q-axis torque is generated, FIG. 20 is a flowchart showing the procedure for heat generation control while the vehicle is stopped, FIG. 21 is a time chart showing the changes in gate voltage in the switches of the upper and lower arms, and FIG. 22 is a diagram showing a configuration for changing the dead time in accordance with a heat generation request.
[0011] First Embodiment A rotating electrical machine system according to an embodiment will now be described with reference to the drawings. The rotating electrical machine system of this embodiment is mounted on an electric vehicle such as an electric vehicle (BEV) or a hybrid electric vehicle (HEV).
[0012] As shown in FIG. 1 , the rotating electric machine system includes a rotating electric machine 10, an inverter 20 serving as a power converter, a battery 30 serving as a high-voltage power supply, and a control device 40. The rotating electric machine 10 is a brushless synchronous machine, and in this embodiment, it is a permanent magnet synchronous machine. The rotating electric machine 10 includes a rotor (not shown) and three-phase (U-phase, V-phase, and W-phase) coils 11 serving as stator windings. The coils 11 are configured by star-connecting the U-phase coil, the V-phase coil, and the W-phase coil. The rotating electric machine 10 includes a rotation angle sensor 12 that detects the rotation angle (electrical angle) of the rotor and phase current sensors 13 that detect the phase currents of each phase flowing through the coils 11. Preferably, a phase current sensor 13 is provided for each of the three phases. However, the phase current sensors 13 may be provided for only two of the three phases.
[0013] The rotating electric machine 10 is provided as a power source for driving the vehicle, and the rotation of the rotor drives the wheels. In this embodiment, the rotation of the rotor of the rotating electric machine 10 is transmitted to an input shaft of a gear device 51, and the rotation of the output shaft of the gear device 51 is transmitted to wheels 53 via axles 52.
[0014] The inverter 20 includes a series connection of an upper arm switch 21 and a lower arm switch 22 for each phase. Each of the upper arm and lower arm switches 21, 22 is a semiconductor switching element, such as an N-channel MOSFET. In each of the switches 21, 22, the high-potential terminal is the drain and the low-potential terminal is the source. A diode 23 is connected in antiparallel to each of the switches 21, 22 (semiconductor switching elements) as a freewheel diode. In each phase, the midpoint between the upper arm switch 21 and the lower arm switch 22 is connected to an end point of the coil 11 of the rotating electric machine 10. The semiconductor switching element may be an IGBT or the like.
[0015] A drive circuit 24 is connected to the gates of each switch 21, 22, and the drive circuit 24 turns the switches 21, 22 on and off based on drive commands from the control device 40. The drive circuit 24 is provided with a short-circuit detection unit 25 that detects the occurrence of a short circuit in each of the switches 21, 22 of the upper and lower arms. The short-circuit detection unit 25 detects the flow of overcurrent due to a short circuit in the upper and lower arms, and upon detection of the overcurrent, forcibly turns off the switches 21, 22. Each switch 21, 22 is provided with an element temperature sensor 26 that detects the temperature of the semiconductor switching element.
[0016] The battery 30 is a secondary battery such as a lithium-ion battery or a nickel-metal hydride battery. The battery 30 is, for example, a battery pack including a plurality of battery cells connected in series. The positive terminal of the battery 30 is connected to the drains of the upper arm switches 21 of each phase via a high-potential side path 31. The negative terminal of the battery 30 is connected to the sources of the lower arm switches 22 of each phase via a low-potential side path 32.
[0017] In addition, in the rotating electrical machine system, the inverter 20 and the battery 30 are provided with heat transfer units 61, 62, respectively, and these heat transfer units 61, 62 are connected to each other by a refrigerant passage 63 formed of piping or the like. In the heat transfer unit 61 on the inverter 20 side, heat is transferred between the switches 21, 22 of the inverter 20 and the refrigerant flowing through the refrigerant passage 63. In addition, in the heat transfer unit 62 on the battery 30 side, heat is transferred between the battery 30 and the refrigerant flowing through the refrigerant passage 63. In this case, if a temperature difference occurs between the inverter 20 and the battery 30, heat is transferred (heat exchanged) between the inverter 20 and the battery 30 via the refrigerant flowing through the refrigerant passage 63. Although not shown in the figure, the refrigerant passage 63 is provided as a circulation path for circulating the refrigerant, and the refrigerant passage 63 is provided with a pump for circulating the refrigerant and a heat dissipation unit such as a radiator.
[0018] The control device 40 is primarily composed of a microcomputer, which includes a CPU. The functions provided by the microcomputer can be provided by software stored in a physical memory device and a computer that executes the software, software alone, hardware alone, or a combination of these. For example, when the microcomputer is provided by a hardware electronic circuit, the function can be provided by a digital circuit including multiple logic circuits or an analog circuit. For example, the microcomputer executes programs stored in a non-transitory tangible storage medium that serves as its own storage unit. The programs include programs for various types of arithmetic processing. Execution of the programs results in the execution of methods corresponding to the programs. The storage unit is, for example, a non-volatile memory. The programs stored in the storage unit can be updated via a network such as the Internet, e.g., over the air (OTA).
[0019] The control device 40 receives detection signals from various sensors, such as the rotation angle sensor 12, phase current sensor 13, and element temperature sensor 26. The control device 40 controls the switching of the switches 21 and 22 constituting the inverter 20 based on the input detection values, in order to control the control variable (e.g., torque) of the rotating electric machine 10 to a command value. In this case, PWM pulses are generated using a well-known PWM control method, and the switches 21 and 22 are switched. This causes the rotor of the rotating electric machine 10 to rotate, allowing the vehicle to run.
[0020] For example, while the vehicle is running, the control device 40 sets command values for the d-axis current and the q-axis current based on the command torque of the rotating electric machine 10 and acquires the electrical angle θ (rotation angle) detected by the rotation angle sensor 12. Furthermore, the control device 40 calculates a phase current command value for each phase based on the current command value and the electrical angle θ. Then, the control device 40 performs switching control of the switches 21, 22 in the inverter 20 by current feedback control using the detected currents detected by the phase current sensor 13 and the phase current command values.
[0021] The battery 30, which is a secondary battery such as a lithium-ion battery, is prone to degradation when the battery temperature is low, so it is desirable to use the battery at a temperature appropriate for each battery. Therefore, it is desirable to perform a process to raise the battery temperature when the battery 30 is in a low temperature state. Furthermore, in a vehicle, in addition to the heat demand for raising the battery temperature, there is also a heat demand for heating the vehicle cabin, etc. In consideration of this, in this embodiment, heat generation control is performed when a heat generation request is generated to promote heat generation in the rotating electric machine system, i.e., when a request for heat generation is generated in the rotating electric machine system. For example, when the battery temperature is low, a heat generation request is sent from a higher-level control device or other external device to the control device 40, and the heat generation control is performed by the control device 40.
[0022] In this embodiment, the heat creation control is roughly divided into two types of control. One is heat creation control by increasing the switching loss of each switch 21, 22 of the inverter 20, and the other is heat creation control by d-axis current supply that causes a d-axis current to flow that does not generate torque in the rotating electrical machine 10 when the vehicle is stopped (when the rotating electrical machine 10 is stopped rotating). Each of these heat creation controls will be described in detail below. First, the heat creation control by increasing the switching loss will be described.
[0023] 2 shows the configuration of the drive circuit 24 for the switch 21 in the inverter 20. Note that although the upper arm switch 21 will be described here, the drive circuit 24 for the lower arm switch 22 has the same configuration.
[0024] The drive circuit 24 has a drive IC 27 to which a drive command is input from the control device 40, and the drive IC 27 turns the switch 21 on and off. The drive IC 27 controls the charging and discharging of the gate of the switch 21, and when the switch is on, the drive IC 27 turns on the switch 21 by charging the gate due to voltage application. When the switch is off, the drive IC 27 turns off the switch 21 by discharging the gate.
[0025] The drive circuit 24 is configured to vary the turn-on time, which is the transition time required for the switch 21 to transition from an off state to an on state, and the turn-off time, which is the transition time required for the switch 21 to transition from an on state to an off state, thereby enabling adjustment of the switching loss of each switch 21. Specifically, the turn-on time and turn-off time are varied by switching a gate resistor provided between the drive IC 27 and the gate of the switch 21. In this embodiment, a first gate resistor 28 and a second gate resistor 29, each having different resistance values, are connected in parallel between the drive IC 27 and the gate of the switch 21. Switching between these gate resistors 28 and 29 adjusts the charge / discharge time (turn-on time, turn-off time) of the switch 21. The second gate resistor 29 has a larger resistance value than the first gate resistor 28. The first gate resistor 28 corresponds to a gate resistor used during normal operation, and the second gate resistor 29 corresponds to a gate resistor used during increased loss.
[0026] FIG. 3 is a time chart showing changes in the drain-source switch voltage Vsw and the drain-source switch current Isw in the switch 21. In FIG.
[0027] 3A shows the changes in Vsw and Isw during normal operation, i.e., when no control to prevent an increase in switching loss is performed. In this case, the hatched areas indicate the switching losses during turn-on and turn-off.
[0028] 3B shows the changes in Vsw and Isw when the turn-on time and turn-off time are made longer than normal when controlling the increase in switching loss. In this case, the switching loss increases during turn-on and turn-off, and the amount of heat generated by the switch 21 can be increased.
[0029] However, if the switching loss is increased during turn-on, the element temperature of the switch 21 will rise sharply after turn-on begins. Therefore, if a short circuit occurs between the upper and lower arms, excessive heat generation may cause the switch 21 to become overheated before the short circuit is detected, raising the risk of fire. That is, as shown in FIG. 4 , when the switching loss increases as indicated by the solid line, the slope of the element temperature rise is steeper than during normal operation as indicated by the dashed-dotted line. In this case, there is a risk that the element temperature will exceed the ignition point before the time required for short circuit detection has elapsed.
[0030] Therefore, in this embodiment, as shown in Figure 3(c), the turn-off time is made longer than the turn-on time in order to reduce heat generation on the turn-on side and increase heat generation on the turn-off side, which results in larger switching losses when the switch 21 is turned off than when it is turned on.
[0031] 3(c), the turn-on time of switch 21 is the same as when switching loss is not increased (when there is no heat generation request), and the turn-off time is longer than when switching loss is not increased (when there is no heat generation request). In other words, when switching loss increases due to a heat generation request, gate charging is performed via first gate resistor 28 for normal operation at turn-on, and gate discharging is performed via second gate resistor 29 for increased loss at turn-off. This enables rapid current interruption if a short circuit between the upper and lower arms is detected at switch-on.
[0032] Next, heat generation control by d-axis current application will be described.
[0033] In the rotating electric machine 10, the d-axis and q-axis are virtual axes, and the d-axis current Id flowing on the d-axis, the q-axis current Iq flowing on the q-axis, and the phase currents Iu, Iv, and Iw flowing in the respective U, V, and W phases are expressed by the following (Equation 1): In (Equation 1), θ is the electrical angle (rotation angle) of the rotating electric machine 10.
[0034] The control device 40 sets the phase current command values Iu*, Iv*, Iw* of each phase of the coil 11 based on the electrical angle θ of the rotating electric machine 10, the d-axis current command value Id*, and the q-axis current command value Iq* (current setting unit), and controls the phase currents flowing through each phase using the phase current command values Iu*, Iv*, Iw* (current control unit).
[0035] In this embodiment, when the vehicle is stopped and the rotating electric machine 10 is not generating torque, i.e., the rotating electric machine 10 is stopped from rotating, a current flows through each phase of the coil 11 to promote heat generation in the rotating electric machine system. This increases the temperature of the battery 30. Specifically, by controlling the switching of the inverter 20 so that only the d-axis current flows out of the d-axis current Id and the q-axis current Iq, a phase current flows in the rotating electric machine 10 while no torque is being generated. In this case, the control device 40 calculates the phase currents Iu, Iv, and Iw of the respective phases in Equation 1 above, by setting the stop electrical angle of the rotating electric machine 10 to the electrical angle θ and setting the q-axis current out of the d-axis current Id and the q-axis current Iq to 0.
[0036] FIG. 5 shows the dq-UVW conversion process when heat generation control is performed. FIG. 5 shows a three-phase converter 71 that converts the d-axis and q-axis current command values Id* and Iq* into phase current command values Iu*, Iv*, and Iw* for the UVW phases. The three-phase converter 71 receives A sin φ as the d-axis current command value Id* and 0 as the q-axis current command value Iq*. The three-phase converter 71 also receives the electrical angle θ of the rotating electric machine 10 when it is stopped. In "A sin φ," A is an amplitude command value that defines the amplitude of the d-axis current, and φ is a phase that changes at a predetermined angular velocity. As a result, the d-axis current command value Id* is set as an AC current that changes at a frequency of, for example, approximately 20 Hz. In this case, an AC d-axis current that changes in both positive and negative directions is set as the d-axis current command value Id*, and phase current command values Iu*, Iv*, Iw* that change in both positive and negative directions are calculated based on the d-axis current command value Id* (AC d-axis current).
[0037] FIG. 6 is a time chart showing the waveforms of the dq-axis current and the phase currents of each phase. In FIG. 6, while the q-axis current Iq is held at zero, the d-axis current Id changes in an AC waveform with a sinusoidal waveform on both the positive and negative sides. Furthermore, the phase currents Iu, Iv, and Iw of each phase change in AC with an amplitude corresponding to the electrical angle θ (stop position) of the rotating electric machine 10. As the phase currents Iu, Iv, and Iw change in AC on both the positive and negative sides, they alternate between a state in which a positive phase current flows in one of the three phases and a negative phase current flows in the remaining two phases, and a state in which a positive phase current flows in two of the three phases and a negative phase current flows in the remaining one. Here, in the U-phase coil, V-phase coil, and W-phase coil of the coil 11, the current flowing from the side opposite the neutral point to the neutral point is defined as a positive current, and the current flowing in the opposite direction is defined as a negative current.
[0038] An example of a switching pattern when heat generation control by d-axis current is performed will be described with reference to Figures 7 and 8. Figure 7 shows a switching pattern when a positive current flows as the U-phase current and negative currents flow as the V-phase current and W-phase current, and Figure 8 shows a switching pattern when a positive current flows as the V-phase current and W-phase current and a negative current flows as the U-phase current. Note that in this example, the three-phase switches 21 in the upper arm are designated as switches 21U, 21V, and 21W, and the three-phase switches 22 in the lower arm are designated as switches 22U, 22V, and 22W.
[0039] In FIG. 7( a ), in the upper arm, switch 21U is turned on and switches 21V and 21W are turned off, while in the lower arm, switch 22U is turned off and switches 22V and 22W are turned on. As a result, a positive current flows as a U-phase current from battery 30, and a negative current flows as a V- and W-phase current. Continuing from the state in FIG. 7( a ), in FIG. 7( b ), switch 21U in the upper arm is turned off, turning off all phase switches 21, and all phase switches 22 in the lower arm are turned on. As a result, current circulates through a return path including the lower-arm switches 22 and coils 11 of each phase. In FIGS. 7( a ) and 7 ( b ), switches 21U and 22U in the upper and lower arms of the U phase are alternately turned on and off, and this switching is repeated at a predetermined cycle during the period in which a positive current flows through the U phase.
[0040] In FIG. 8( a ), in the upper arm, switches 21V and 21W are turned on and switch 21U is turned off, while in the lower arm, switches 22V and 21W are turned off and switch 22U is turned on. As a result, positive current flows from battery 30 as V- and W-phase currents and negative current flows as U-phase currents. Following the state in FIG. 8( a ), in FIG. 8( b ), switches 21V and 21W in the upper arm are turned off, turning off all phase switches 21, and switches 22 in the lower arm are turned on all phase switches 22. As a result, current circulates through a return path including the lower-arm switches 22 and coils 11 of each phase. In FIGS. 8( a ) and 8 ( b ), switches 21V and 21W in the upper arm and switches 22V and 22W in the lower arm for the V and W phases are alternately turned on and off, and this switching is repeated at a predetermined cycle during the period in which positive currents flow through the V and W phases.
[0041] In the heat generation control described above, phase currents Iu, Iv, and Iw flow in all phases based on the phase current command values Iu*, Iv*, and Iw* for each phase, which are set based on the AC d-axis current. In this case, switching control is performed in all phases in inverter 20, and control of increasing switching loss is also performed during the switching control of all phases. By increasing switching loss in switches 21 and 22 of all phases in inverter 20, heat generation is dispersed among the switches, unlike when switching loss increases in only some phases, and ultimately heat generation in the rotating electrical machine system is performed efficiently.
[0042] As shown in Figures 7(b) and 8(b), when current is circulated through a path including the lower arm switch 22 of each phase and the coil 11, current flows from the source to the drain in the lower arm switch 22 of one of the phases (switch 22U in Figure 7(b) and switches 22V and 22W in Figure 8(b)), but it is also possible to flow the current through the diode 23. In this case, if current is passed through the lower arm switch 22 while it is turned on, conduction loss is reduced, and therefore loss is thought to be lower than when the diode 23 is conducting. Furthermore, when current flows through the diode 23, an increase in switching loss due to the on / off switching of the lower arm switch 22 cannot be expected. From these facts, it is thought that if current flows from the source to the drain of the lower arm switch 22 during current circulation, there may be no advantage to controlling the increase in switching loss by turning the lower arm switch 22 on and off.
[0043] In consideration of this, when turning on the upper arm switch 21 of any phase to pass a phase current through the coil 11 and then turning off the upper arm switch 21 to return the phase current, it is preferable to leave the lower arm switch 22 of the same phase as the upper arm switch 21 in the off state and return the phase current via the diode 23 connected in parallel to the lower arm switch 22. In this case, of the switches 21, 22 of the upper and lower arms of the inverter 20, it is preferable that only the upper arm switch 21, which is expected to increase switching loss due to on / off switching, is switched, and that the lower arm switch 22 is not switched. In Figure 7(b), the switch 22U is not switched, so that the current is returned via the diode 23 of the U-phase lower arm, and in Figure 8(b), the switches 22V, 22W are not switched, so that the current is returned via the diodes 23 of the V- and W-phase lower arms.
[0044] FIG. 9 shows the transitions of the gate voltages of the switches 21U and 22U of the upper and lower arms. In FIG. 9, (a) shows the transitions of the gate voltages of the switches 21U and 22U under normal conditions, and (b) shows the transitions of the gate voltages of the switches 21U and 22U under conditions of increased switching loss. In FIG. 9(b), the turn-off times of the switches 21U and 22U are longer than in FIG. 9(a), raising concerns that the switches 21U and 22U may be turned on simultaneously (X in the figure). In other words, when switching the upper and lower arms, a dead time is set to account for the time required for turn-off under normal conditions. However, if the turn-off is delayed, the dead time will expire before the turn-off is completed, raising concerns about short-circuiting of the upper and lower arms.
[0045] 9C, only the upper arm switch 21U is switched on out of the upper and lower arm switches 21U and 22U, which prevents short circuits from occurring in the upper and lower arms even if the turn-off time of the switch 21U is longer than normal (even if the turn-off is delayed).
[0046] Furthermore, when the phase current of each phase is changed between positive and negative AC currents, the amplitudes of the phase currents of the respective phases do not match, as shown in Fig. 6, so the heat generation amounts of the switches 21, 22 differ for each phase, and as a result, the element temperatures of the respective phases may differ. Therefore, in this embodiment, the period during which the switching loss is increased (the period during which the gate resistance value is increased) is adjusted for each phase to match the heat generation amounts of the switches 21, 22 of each phase.
[0047] FIG. 10 shows an example of gate resistance switching control for each phase. In FIG. 10, when the phase current of each phase changes between positive and negative AC currents, the amplitude of the U-phase current is the largest, followed by the V-phase current and the W-phase current. Therefore, in heat generation control using d-axis current, it is expected that of the switches 21 and 22 of each phase, the U-phase switch will be the hottest and the W-phase switch the coldest. Therefore, in this embodiment, the loss increase period during which switching loss is increased is variably set based on the magnitude of the phase current flowing through each phase.
[0048] Specifically, the control device 40 detects or estimates the amplitude of the phase current of each phase and sets a period during which the gate resistance value is increased for each phase, i.e., a loss increase period, based on the difference in current amplitude between the phases. The loss increase period is preferably set as a time ratio indicating the proportion of the loss increase period in one cycle when the phase current of each phase changes to AC. In Figure 10, since the amplitude of the phase current of each phase is U phase > V phase > W phase, the period during which the gate resistance value is increased (loss increase period) is set to the shortest in the U phase and the period during which the gate resistance value is increased (loss increase period) is set to the longest in the W phase.
[0049] The control device 40 may set a period during which switching loss is increased for each phase based on the element temperature detected by the element temperature sensor 26. In this case, the control device 40 sets a target value (target temperature) for the element temperature of the switch of each phase, and sets a period during which switching loss is increased, i.e., a period during which the gate resistance value is increased, based on the deviation between the element temperature detected by the element temperature sensor 26 and the target temperature. This makes it possible to control the switches 21, 22 of each phase to a desired temperature. Note that, when only the upper arm switch 21 of the upper and lower arm switches 21, 22 is switched, it is preferable to set a loss increase period for only that switch 21 by element temperature feedback control.
[0050] As described above, by setting the loss increase period by element temperature feedback control, even if the amplitudes of the phase currents of the respective phases differ, it is possible to suppress variations in element temperature due to such differences.
[0051] Furthermore, because the relationship between the d- and q-axis currents and the phase currents is dependent on the electrical angle, it is possible that almost no current flows in some phases depending on the electrical angle θ of the rotating electric machine 10, which may adversely affect the amount of loss increase in each phase. In other words, when the phase current command values Iu*, Iv*, and Iw* for each phase are set using the above (Equation 1), it is possible that the phase current of one of the phases will be zero or close to zero depending on the electrical angle θ of the rotating electric machine 10 in a stopped state, resulting in an excessively large difference in heat generation between the phases. Therefore, in this embodiment, the electrical angle θ of the rotating electric machine 10 is set (by the angle setting unit) to an electrical angle θ at which all of the phase currents of each phase are equal to or greater than a predetermined threshold, and the phase current command values Iu*, Iv*, and Iw* for each phase are set based on the electrical angle θ.
[0052] Specifically, as shown in FIG. 11 , when the current ratio of the phase currents of the respective phases changes depending on the electrical angle θ, the electrical angle θ during heat generation control through d-axis current application should be within a predetermined range Ra in which the current ratio of the respective phases is equal to or greater than a threshold value Th. The current ratio is the ratio of the phase current of each phase to the total current flowing through the coil 11. In FIG. 11 , the phase current of any phase becomes zero when the electrical angle θ is 30 degrees, 90 degrees, 150 degrees, 210 degrees, 270 degrees, or 330 degrees, and therefore the range excluding the vicinity of each of these angles is defined as the predetermined range Ra. In this case, if the detected electrical angle θa detected by the rotation angle sensor 12 while the rotating electric machine 10 is stopped is not within the predetermined range Ra, torque is generated in the rotating electric machine 10, and the electrical angle θ is adjusted so that the detected electrical angle θ falls within the predetermined range Ra.
[0053] Furthermore, while the vehicle is running, the modulation factor in the inverter 20 changes in accordance with changes in the operating state of the rotary electric machine 10. Furthermore, the change in modulation factor changes the drive duty of each of the switches 21, 22. Here, when the modulation factor is large, if the on time of the drive pulses (PWM pulses) of each of the switches 21, 22 becomes shorter than a predetermined time, it becomes difficult to extend the turn-on time or turn-off time, i.e., to control the increase in switching loss.
[0054] Therefore, in this embodiment, when the on-time of the drive pulse of the switches 21 and 22 is shorter than a predetermined time, heat generation control due to increased switching loss is not performed. Fig. 12 is a time chart showing switching control in three states with different modulation factors. In Fig. 12, in case (c), the on-time of the drive pulse is shorter than the predetermined time, so switching loss increase is not performed. Note that in the case of Fig. 12(c), switching loss increase may be not performed throughout the entire period, or may be not performed only during the period when the on-time of the drive pulse is shorter than the predetermined time.
[0055] When heat generation control is performed by d-axis current application while the vehicle is stopped (when the rotating electric machine 10 is not rotating), if the electrical angle of the rotating electric machine 10 recognized by the control device 40 differs from the actual electrical angle, an unintended q-axis current may flow. In this case, unnecessary torque may be generated in the rotating electric machine 10 even when the vehicle is stopped, and the electrical angle discrepancy may increase cumulatively. Specifically, when the angle detected by the rotation angle sensor 12 is input as the electrical angle θ to the three-phase conversion unit 71 shown in FIG. 5 , if a detection error occurs in the rotation angle sensor 12, the angle recognized by the control device 40 may differ from the actual electrical angle. In particular, an electrical angle error of several degrees may occur when the vehicle is stopped. This miscalculation of the electrical angle may result in unwanted rotation of the rotating electric machine 10.
[0056] Therefore, in this embodiment, as a control preceding the heat generation control using d-axis current, a DC d-axis current is passed through the rotating electrical machine 10 to perform alignment control so that the electrical angle θ of the rotating electrical machine 10 matches the recognized angle (command angle α) recognized by the control device 40, and after this alignment control, heat generation control using an AC d-axis current is performed. As a result, the actual electrical angle is matched with the electrical angle recognized by the control device 40, and on the assumption that the actual electrical angle is the command angle α, heat generation control for all phases is performed by changing the d-axis current to AC without referring to the detection value of the rotation angle sensor 12.
[0057] Figure 13(a) is a diagram showing the processing of dq-UVW conversion when performing alignment control, and Figure 13(b) is a diagram showing the processing of dq-UVW conversion when performing heat generation control using AC d-axis current.
[0058] As shown in FIG. 13A , the three-phase converter 71A receives A1 as the d-axis current command value Id* and 0 as the q-axis current command value Iq*. A predetermined command angle α is also received as the electrical angle θ. As described with reference to FIG. 11 , the command angle α is an angle (an angle within a predetermined range Ra) at which the total current of each phase is equal to or greater than a predetermined threshold. The three-phase converter 71A calculates phase current command values Iu*, Iv*, and Iw* for each phase based on the d-axis current command value Id* (= A1) and the command angle α. In this case, the d-axis current command value Id* is a DC d-axis current, and the phase current command values Iu*, Iv*, and Iw* are calculated as DC phase currents. During alignment control, the phase currents of each phase are controlled by the phase current command values Iu*, Iv*, and Iw* calculated by the three-phase converter 71A.
[0059] The calculation process of the phase current command values Iu*, Iv*, and Iw* in the three-phase conversion unit 71A corresponds to the "first setting process," and the alignment control using the phase current command values Iu*, Iv*, and Iw* corresponds to the "first current control."
[0060] 13B, the three-phase conversion unit 71B receives A2·sinφ as the d-axis current command value Id* and 0 as the q-axis current command value Iq*. As with the three-phase conversion unit 71A, the three-phase conversion unit 71B receives a predetermined command angle α as the electrical angle θ. The three-phase conversion unit 71B calculates phase current command values Iu*, Iv*, Iw* that change in both positive and negative directions using the AC d-axis current that changes in both positive and negative directions as the d-axis current command value Id*.
[0061] The calculation process of the phase current command values Iu*, Iv*, and Iw* in the three-phase conversion unit 71B corresponds to the "second setting process," and the heat generation control using the phase current command values Iu*, Iv*, and Iw* corresponds to the "second current control."
[0062] In the three-phase conversion unit 71A shown in FIG. 13( a), the maximum absolute value of the DC d-axis current is designated as A1, and in the three-phase conversion unit 71B shown in FIG. 13( b), the maximum absolute value of the AC d-axis current is designated as A2. A1 and A2 are amplitude command values that define the amplitude of the d-axis current. A1 and A2 preferably have a relationship of A1 > A2. In other words, the absolute value of the DC d-axis current is preferably greater than the absolute value of the AC d-axis current. In this case, A2 for defining the AC d-axis current is preferably determined based on the magnitude of the heat generation requirement, and A1 is preferably determined to be greater than A2. For example, A2 may be determined based on the element temperatures of the switches 21 and 22. However, A1 and A2 may be equal to A2.
[0063] Fig. 14 is a time chart for specifically explaining the alignment control shown in Fig. 13 and the heat generation control using the AC d-axis current. In Fig. 14, the detected electrical angle θa (sensor value) detected by the rotation angle sensor 12 is shown by a dashed line as the rotor angle of the rotating electrical machine 10, the actual electrical angle θb (true value) of the rotating electrical machine 10 is shown by a dashed line, and the command angle α, which is a constant value, is shown by a solid line. In this example, the detected electrical angle θa has an angle error with respect to the actual electrical angle θb.
[0064] 14 , alignment control is performed during a period T1 in response to a heat generation request. Specifically, the electrical angle θ of the rotating electric machine 10 is set to a command angle α, a DC d-axis current is set as a d-axis current command value Id*, and the phase currents of the coils 11 are controlled based on the phase current command values Iu*, Iv*, and Iw* calculated based on the command angle α and the DC d-axis current. This adjusts the electrical angle of the rotating electric machine 10 to the command angle α, which is the angle recognized by the control device 40. At this time, even if the detected electrical angle θa has a detection error, the electrical angle of the rotating electric machine 10 is adjusted to the desired electrical angle without being affected by the detection error.
[0065] Then, during period T2, heat generation control is performed using the AC d-axis current. Specifically, the electrical angle θ of the rotating electric machine 10 is set to the command angle α, and the AC d-axis current is set as the d-axis current command value Id*. The phase currents of the coils 11 are controlled based on the phase current command values Iu*, Iv*, and Iw* calculated based on the command angle α and the AC d-axis current. During this process, current is applied to the coils 11 while the electrical angle of the rotating electric machine 10 is maintained at the command angle α adjusted by the prior alignment control. Furthermore, because the deviation between the angle recognized by the control device 40 and the actual electrical angle is suppressed, unintended q-axis torque is suppressed, and the rotating electric machine 10 is maintained in a rotation-stopped state.
[0066] 15 is a flowchart showing the procedure for heat generation control while the vehicle is stopped. This process is repeatedly executed by the control device 40 at a predetermined interval while the vehicle is stopped, for example, when the vehicle power switch (IG switch) is in the off state. While the vehicle is stopped, heat generation control is performed by increasing the switching loss of each switch 21, 22, and by energizing the d-axis, which does not generate torque in the rotating electrical machine 10.
[0067] In Fig. 15, in step S11, it is determined whether a heat generation request has been issued. For example, if a heat generation request has been received from a higher-level control device, step S11 is answered in the affirmative. If a heat generation request has been issued, the process proceeds to the subsequent step S12. If no heat generation request has been issued, the process ends.
[0068] In step S12, the control mode of the inverter 20 is set to the switching loss increase mode, whereby control of increasing switching loss is appropriately performed in the switching control of the inverter 20 while the vehicle is stopped.
[0069] Then, in step S13, the detected electrical angle θa detected by the rotation angle sensor 12 is obtained. In the following step S14, it is determined whether the detected electrical angle θa is within a predetermined range Ra. The predetermined range Ra defines the electrical angle within which the phase currents of all phases of the coil 11 are equal to or greater than a predetermined threshold. In step S14, if the detected electrical angle θa is within the predetermined range Ra, the process proceeds to step S15, and if the detected electrical angle θa is not within the predetermined range Ra, the process proceeds to step S16.
[0070] In step S15, the detected electrical angle θa is set as the command angle α used for heat generation control by d-axis current application. In step S16, a predetermined electrical angle within a predetermined range Ra is set as the command angle α. At this time, in order to prevent the rotor angle of the rotating electrical machine 10 from changing excessively, it is preferable to set the command angle α so that the change from the detected electrical angle θa is within a predetermined value. The processing of steps S15 and S16 ensures that a minimum current flows in each phase.
[0071] Thereafter, in steps S17 and S18, a DC d-axis current is set as the d-axis current command value Id*, and alignment control is performed to adjust the electrical angle of the rotary electric machine 10 to the command angle α. That is, in step S17, the d-axis current command value Id* is set to A1, the q-axis current command value Iq* is set to 0, and the electrical angle θ is set to the command angle α, and phase current command values Iu*, Iv*, and Iw* are calculated by dq / UVW conversion. In the following step S18, switching control is performed on the switches 21 and 22 for each phase based on the phase current command values Iu*, Iv*, and Iw* calculated in step S17, and the phase currents flowing through the coils 11 for each phase are controlled.
[0072] When a DC d-axis current is passed in the positioning control, control to prevent an increase in switching loss in each of the switches 21 and 22 is not performed.
[0073] Thereafter, in steps S19 to S21, the AC d-axis current is set as the d-axis current command value Id*, and heat generation control is performed by the d-axis current supply. At this time, the control device 40 also performs heat generation control by increasing switching loss.
[0074] More specifically, in step S19, the d-axis current command value Id* is set to A2·sinφ, the q-axis current command value Iq* is set to 0, and the electrical angle θ is set to the command angle α, and the phase current command values Iu*, Iv*, and Iw* are calculated by dq / UVW conversion.
[0075] In the next step S20, a loss increase period during which switching loss is increased is set based on the magnitude of the phase current flowing through each phase. At this time, since the amplitude of the phase current of each phase is determined according to the command angle α of the rotating electric machine 10, it is advisable to set the loss increase period for each phase based on the current amplitude of each phase. As a result, a period during which the gate resistance value is increased (loss increase period) is set for each phase, as shown in FIG. 10, for example.
[0076] Then, in step S21, switching control is performed on the switches 21 and 22 of each phase based on the phase current command values Iu*, Iv*, and Iw* calculated in step S19, thereby controlling the phase current flowing through each phase of the coil 11. At this time, the control device 40 performs the following processes to control the increase in switching loss. (1) In the drive circuit 24 of the inverter 20, the gate resistance of each switch 21 and 22 is switched to a gate resistance for use during loss increase, thereby lengthening the transition time when the switches are turned on and off. At this time, during the loss increase period set in step S20, the gate resistance of each switch 21 and 22 is set to the second gate resistance 29 for use during loss increase, and outside the loss increase period, the gate resistance of each switch 21 and 22 is set to the first gate resistance 28 for use during normal operation. (2) When the switches 21 and 22 are turned on and off, the turn-off time is made longer than the turn-on time. At this time, it is preferable that the turn-on time be the same as when there is no heat generation request, and the turn-off time be longer than when there is no heat generation request. (3) Of the switches 21 and 22 of the upper and lower arms of the inverter 20, only the upper arm switch 21, which is expected to increase switching loss due to on / off switching, is switched, and the lower arm switch 22 is not switched.
[0077] In addition, instead of the above (2), it is also possible to make both the turn-on time and the turn-off time longer than when there is no heat generation demand. Also, instead of the above (3), it is also possible to have both the switches 21 and 22 of the upper and lower arms of the inverter 20 perform switching.
[0078] 16 is a flowchart showing the procedure for heat generation control while the vehicle is running. This process is repeatedly executed by the control device 40 at a predetermined interval while the vehicle is running, for example, when the vehicle power switch (IG switch) is in the on state. While the vehicle is running, heat generation control is performed by increasing the switching loss of each of the switches 21 and 22.
[0079] 16, in step S31, it is determined whether a heat generation request has been issued. For example, if a heat generation request has not been received from a higher-level control device, the result of step S31 is negative and the process proceeds to step S32. In step S32, the control mode of the inverter 20 is set to the normal mode, and in the subsequent step S33, normal mode control is performed as switching control of the inverter 20.
[0080] If a heat generation request has occurred, the process proceeds to step S34. In step S34, it is determined whether the on-time of the PWM pulses that turn on and off the switches 21 and 22 is longer than a predetermined time TH. If the result of step S34 is affirmative, the process proceeds to step S35, and if the result of step S34 is negative, the process proceeds to step S32. At this time, if the result of step S34 is negative, i.e., if the on-time of the PWM pulses is shorter than the predetermined time TH, the switching loss increase is not implemented.
[0081] In step S35, the control mode of the inverter 20 is set to the switching loss increase mode, whereby control of the inverter 20 to increase the switching loss is appropriately performed while the vehicle is running.
[0082] In step S36, the element temperature (switch temperature) detected by the element temperature sensor 26 is acquired, and in the subsequent step S37, a loss increase period during which control of switching loss increase is performed is set based on the element temperature. Specifically, the loss increase period may be set using the relationship shown in FIG. 17, for example. In FIG. 17, a relationship is established such that the lower the element temperature, the longer the loss increase period. The loss increase period may be set as a time ratio indicating the proportion of the loss increase period in one cycle when the phase current of each phase changes to AC. The loss increase period may be set for each phase.
[0083] Then, in step S38, the following processes are performed as heat generation control due to increased switching loss. In the drive circuit 24 of the inverter 20, the gate resistance of each switch 21, 22 is switched to a gate resistance for increased loss, thereby lengthening the transition time when the switch is turned on or off. During the increased loss period set in step S37, the gate resistance of each switch 21, 22 is set to the second gate resistance 29 for increased loss, and during periods other than the increased loss period, the gate resistance of each switch 21, 22 is set to the first gate resistance 28 for normal operation. When the switches 21, 22 are turned on or off, the turn-off time is made longer than the turn-on time. In this case, it is preferable to set the turn-on time to the same time as when there is no heat generation request, and to make the turn-off time longer than when there is no heat generation request. Of the switches 21, 22 of the upper and lower arms of the inverter 20, only the upper arm switch 21, which is expected to experience increased switching loss due to on / off switching, is switched, and the lower arm switch 22 is not switched.
[0084] Both the turn-on time and the turn-off time may be longer than when there is no heat generation demand. Also, switching may be performed by both the switches 21 and 22 of the upper and lower arms of the inverter 20.
[0085] According to the present embodiment described above in detail, the following excellent effects can be obtained.
[0086] When there is a heat generation request from the rotating electrical machine system, the transition time of at least one of the switches 21, 22 (semiconductor switching elements) in the inverter 20 when they are turned on or off is set to be longer than when there is no heat generation request. This allows the switches 21, 22 of the inverter 20 to generate heat due to an increase in the amount of switching loss. As a result, heat can be generated efficiently in the rotating electrical machine system.
[0087] When heat is generated due to increased switching loss, the element temperature rises more quickly than under normal conditions. Therefore, if a short circuit occurs between the upper and lower arms of inverter 20, there is a concern that the element temperature may rise excessively when the switches are turned on before short circuit detection is performed. In this regard, because the configuration is such that larger switching losses occur when switches 21 and 22 are turned off than when they are turned on, the turn-on time can be relatively short. This makes it possible to prevent the element temperature from rising excessively when the switches are turned on before short circuit detection is performed.
[0088] In a situation where a short circuit occurs between the upper and lower arms of the inverter 20, it is necessary to quickly interrupt the current if a short circuit is detected when the switches are turned on. In consideration of this, when there is a heat generation request, the turn-on time of the switches 21 and 22 is set to the same time as when there is no heat generation request, and the turn-off time is set to be longer than when there is no heat generation request. In this case, since an increase in switching loss at turn-on is not expected, the switches 21 and 22 can quickly interrupt the current when a short circuit is detected.
[0089] When heat generation control by d-axis current is performed, the upper arm switch 21 of one of the phases is turned on to flow a phase current for that phase, and then the upper arm switch 21 is turned off to return the phase current. The lower arm switch 22 of the same phase as the upper arm switch 21 is kept off, and the phase current is returned via the diode 23 connected in parallel to the lower arm switch 22. In this case, even if control to prevent an increase in switching loss is not performed in the lower arm switch 22, heat generation due to current flowing through the diode 23 can be expected. Furthermore, a configuration in which the on / off transition times of the switches 21 and 22 are long raises concerns about short circuits between the upper and lower arms. However, because only the upper arm switch 21 of the upper and lower arm switches 21 and 22 is switched, the occurrence of short circuits between the upper and lower arms is suppressed.
[0090] While the vehicle is running, the drive duty changes depending on the vehicle's running state, and the on-time of the PWM pulse may become shorter than the predetermined time. Furthermore, when the on-time of the PWM pulse is short, it is considered that the impact on current control due to the lengthening of the transition time of the switches 21 and 22 may become significant. In consideration of this, the configuration is such that the switching loss is not increased when the on-time of the PWM pulse is shorter than the predetermined time. This makes it possible to prevent the heat generation control caused by the increased switching loss from adversely affecting current control while the vehicle is running.
[0091] The period during which the transition times (turn-on time, turn-off time) of the switches 21 and 22 are lengthened, i.e., the period during which switching loss is increased, is set based on the element temperature (switch temperature) of the semiconductor switching elements. This makes it possible to appropriately manage the element temperature when heat generation control due to increased switching loss is performed, thereby suppressing deterioration of the semiconductor switching elements and preventing overheating.
[0092] In a configuration in which current control (heat generation control using AC d-axis current) is performed so that a phase current that changes between positive and negative flows through each phase of the coil 11 when the rotating electric machine 10 is in a stopped state (when the vehicle is stopped), the switches 21, 22 are turned on and off for all phases of the coil 11. When this current control is performed, heat generation control is performed by increasing switching loss (control in which the transition time of the switches 21, 22 for each phase is lengthened). In this case, it is possible to generate switching loss in the switches 21, 22 for all phases, and it is possible to eliminate a situation in which heat is generated only in the switches for some phases.
[0093] When heat generation control is performed by d-axis current application, if the phase currents of the respective phases are alternately changed between positive and negative, the amplitudes of the phase currents may not match, and the amounts of heat generated by the switches 21 and 22 may differ for each phase. In consideration of this, the period during which the transition times (turn-on time, turn-off time) of the switches 21 and 22 are lengthened, i.e., the period during which control to increase switching loss is performed, is set based on the magnitude of the phase current of each phase. Specifically, the time ratio of the period during which the gate resistance is increased (the time ratio of the period during which the second gate resistor 29 for increasing loss is used) is adjusted for each phase. This makes it possible to reduce the difference in the amounts of heat generated by the switches 21 and 22 for each phase, even if the amplitudes of the phase currents of the respective phases are not the same.
[0094] When current control is performed so that phase currents that change between positive and negative AC currents flow through each phase of the coil 11 while the rotating electric machine 10 is stopped, it is conceivable that the phase currents of any of the phases will have a current value of 0 or close to 0 (i.e., bias in the currents flowing through the phases will occur) depending on the electrical angle θ of the rotating electric machine 10, resulting in an excessively large difference in the amount of heat generated between the phases. In this regard, because current control is performed so that the phase currents of all of the phases are equal to or greater than a predetermined threshold while the rotating electric machine 10 is stopped, it is possible to prevent currents from flowing unevenly through any of the phases, and to prevent an excessively large difference in the amount of heat generated between the phases.
[0095] When a heat generation request is determined in the rotating electric machine system and the rotating electric machine 10 is in a rotation-stop state, an AC d-axis current is set as the d-axis current command value to flow a phase current that changes in both positive and negative directions through each phase of the coil 11. Based on this configuration, phase currents flow through all phases according to the phase current command values for each phase set based on the AC d-axis current, and switching control is performed by the switches 21 and 22 of all phases in the inverter 20. This allows heat generation through switching operations of all phases, thereby increasing the amount of heat generation in the inverter 20 compared to when heat generation is performed through switching operations of only some phases. Furthermore, when heat generation is performed through switching control of only some phases, some switches 21 may become too hot, limiting heat generation control. However, this problem can be avoided. As a result, heat generation can be performed efficiently in the rotating electric machine system.
[0096] When a heat generation request is made and the rotating electric machine 10 is in a rotation-stopped state, a phase current command value for each phase is set based on a command angle α, which is the electrical angle θ of the rotating electric machine 10, and a DC d-axis current, which is a d-axis current command value, and the phase current is controlled by the phase current command value. Subsequently, a phase current command value for each phase is set based on the command angle α and the AC d-axis current, and the phase current is controlled by the phase current command value. In this case, heat generation can be performed by flowing an AC d-axis current while the electrical angle θ of the rotating electric machine 10 is fixed to the angle recognized by the control device 40 (command angle α). This makes it possible to prevent unintended rotation of the rotating electric machine 10 due to detection error of the rotation angle sensor 12 during heat generation control using d-axis current flow.
[0097] When performing alignment control using the DC d-axis current, the absolute value of the DC d-axis current is set to be greater than the absolute value of the AC d-axis current, thereby enabling proper execution of alignment control that is performed prior to heat generation control using the AC d-axis current.
[0098] When performing alignment control using the DC d-axis current, the command angle α is set to an electrical angle θ at which all of the phase currents in the coils 11 are equal to or greater than a predetermined threshold value. This makes it possible to prevent current from flowing unevenly in any one phase during heat generation control using d-axis current flow that is performed following alignment control, and to prevent the difference in heat generation between the phases from becoming excessively large.
[0099] In alignment control using the DC d-axis current, switching is performed on some phases, so there is a concern that when controlling for increased switching loss, heat generation may vary between phases. In light of this, alignment control using the DC d-axis current does not control for increased switching loss, while heat generation control using the AC d-axis current does control for increased switching loss. This makes it possible to prevent excessive temperature differences from occurring in the switches of each phase when performing alignment control.
[0100] Second Embodiment The rotating electric machine system shown in FIG. 1 has a configuration in which rotation of a rotor of a rotating electric machine 10 is transmitted to an axle 52 via a gear device 51. The rotation of the rotor of the rotating electric machine 10 is transmitted to the axle side by meshing of gears (cogwheels) of the gear device 51. In this case, as shown in FIG. 18 , a gap called backlash exists in the meshing of the gears to ensure smooth rotation. Within the range of the backlash, the resistance received by the rotor of the rotating electric machine 10 is small, and the gear rotates with a slight torque, generating gear rattle noise. Therefore, when heat generation control is performed by energizing the d-axis while the rotating electric machine 10 is stopped, if small torques are generated alternately on both the positive and negative sides, there is a concern that gear rattle noise may be continuously generated in the gear device 51.
[0101] Therefore, in this embodiment, when heat generation control is performed by d-axis current application, torque is generated in one direction of rotation of the rotary electric machine 10, and current control is performed so that the absolute value of the torque does not exceed a predetermined value. In this case, it is preferable to generate AC currents for each phase using the d-axis current, and control the torque using the q-axis current. Specifically, when performing dq / UVW conversion, the control device 40 sets the d-axis current command value Id* to A sin φ and calculates the q-axis current command value Iq* using the following equation (2). Then, based on the d-axis current command value Id* and the q-axis current command value Iq*, it calculates the phase current command values Iu*, Iv*, and Iw*.
[0102] In equation (2), Toffset is the zero-based torque offset amount in the rotating electrical machine 10, PN is the number of pole pairs in the rotating electrical machine 10, Lq is the q-axis inductance, and Ld is the d-axis inductance.
[0103] 19 is a time chart showing parameter changes when q-axis torque is generated under heat generation control using d-axis current. In FIG. 19, the phase currents of each phase flow as shown in the figure, depending on the settings of the d-axis current and q-axis current. In this case, torque of the rotating electrical machine 10 is continuously generated without crossing zero. This keeps each gear in gear device 51 in tooth contact on one side in the rotational direction, suppressing the generation of gear rattle noise.
[0104] Furthermore, when performing alignment control, it is preferable to set the command angle α to an electrical angle at which gear teeth contact occurs in the gear device 51. Specifically, when performing alignment control using a DC d-axis current, the command angle α is changed by a predetermined angle. At this time, it is preferable to determine whether the changed command angle α is an electrical angle at which tooth contact occurs in the gear device 51, depending on whether the angle detected by the rotation angle sensor 12 follows the angle difference between the command angle α before and after the change. In other words, if the angle detected by the rotation angle sensor 12 follows the angle difference between the command angle α before and after the change, it is determined that tooth contact does not occur in the gear device 51, and the command angle α is changed again. If the angle detected by the rotation angle sensor 12 does not follow the angle difference between the command angle α before and after the change, it is determined that tooth contact does occur in the gear device 51, and the command angle α is set as the electrical angle θ aligned by the alignment control.
[0105] It is also possible that the command angle α, which is set as the electrical angle at which gear teeth contact occurs, is outside the predetermined range Ra in which the current value of each phase is equal to or greater than a predetermined threshold. In such a case, it is advisable to generate torque in the opposite rotational direction in the rotating electric machine 10, so that the gear teeth contact on the opposite side.
[0106] 20 is a flowchart showing the procedure for heat generation control while the vehicle is stopped. This process may be executed by the control device 40 in place of the process shown in FIG.
[0107] 20, in step S41, it is determined whether a heat generation request has been issued. For example, if a heat generation request has been received from a higher-level control device, step S41 is answered in the affirmative. If a heat generation request has been issued, the process proceeds to the subsequent step S42. If no heat generation request has been issued, the process ends.
[0108] In step S42, the control mode of the inverter 20 is set to the switching loss increase mode, whereby control for increasing the switching loss is appropriately performed in the switching control of the inverter 20 while the vehicle is stopped.
[0109] In step S43, a brake command is output to prevent the wheels of the vehicle from rotating, and in the vehicle, for example, an electric parking brake may be activated in response to the brake command.
[0110] Then, in steps S44 and S45, a process is performed to set the command angle α of the rotating electric machine 10 to the electrical angle at which gear tooth contact occurs in the gear device 51, while performing alignment control to adjust the electrical angle of the rotating electric machine 10 to the command angle α using a DC d-axis current.
[0111] Specifically, in step S44, the d-axis current command value Id* is set to A1, the q-axis current command value Iq* is set to 0, and the electrical angle θ is set to the command angle α, and the phase current command values Iu*, Iv*, and Iw* are calculated by dq / UVW conversion. In the following step S45, switching control is performed on the switches 21 and 22 for each phase based on the phase current command values Iu*, Iv*, and Iw* calculated in step S44, thereby controlling the phase currents flowing through the coils 11 in each phase. At this time, the command angle α is appropriately changed, and if the angle detected by the rotation angle sensor 12 does not change following the change in positioning control, it is determined that the changed command angle α is an electrical angle at which tooth contact occurs in the gear device 51.
[0112] That is, in steps S44 and S45, the command angle α is set to an electrical angle at which gear teeth contact occurs in the gear device 51, and the phase current command values Iu*, Iv*, Iw* of each phase are set based on the command angle α. Then, the phase currents are controlled by the phase current command values Iu*, Iv*, Iw*.
[0113] Then, in steps S46 and S47, an AC d-axis current is set as the d-axis current command value Id*, and heat generation control is performed using the AC d-axis current. Specifically, in step S46, the d-axis current command value Id* is set to A2·sinφ, and the q-axis current command value Iq* is set to the value calculated using Equation 2. Then, based on the d-axis current command value Id*, the q-axis current command value Iq*, and the command angle α (i.e., the command angle α set as the electrical angle at which gear tooth contact occurs), the phase current command values Iu*, Iv*, and Iw* are calculated by dq / UVW conversion.
[0114] In the following step S47, switching control is performed on the switches 21 and 22 of each phase based on the phase current command values Iu*, Iv*, and Iw* calculated in step S46, thereby controlling the phase currents flowing through the coils 11 in each phase. At this time, the control device 40 also performs control to prevent an increase in switching loss. The control to prevent an increase in switching loss may be performed in the same manner as in step S21 of FIG. 15 . Briefly, the following processes are performed as appropriate. In the drive circuit 24 of the inverter 20, the gate resistance of each switch 21 and 22 is switched to a gate resistance designed for increased loss, thereby lengthening the transition time when the switches are turned on and off. When the switches 21 and 22 are turned on and off, the turn-off time is made longer than the turn-on time. Of the switches 21 and 22 of the upper and lower arms of the inverter 20, only the upper arm switch 21, which is expected to experience an increase in switching loss due to on-off switching, is switched, and the lower arm switch 22 is not switched.
[0115] According to steps S46 and S47, torque is generated in one rotational direction of the rotary electric machine 10, and the phase current of each phase is controlled in a state in which the torque does not exceed a predetermined value.
[0116] According to the second embodiment described above, the following effects are achieved in addition to the effects of the first embodiment.
[0117] In a configuration in which the rotation of the rotor of the rotating electric machine 10 is transmitted to the gear device 51, when current control is performed while the vehicle is stopped (the rotating electric machine 10 is not rotating), a small torque may cause the rotor to rotate in the forward or reverse direction, resulting in gear rattle noise. In consideration of this, current control is performed to generate torque in one direction of rotation of the rotating electric machine 10 and to prevent the absolute value of that torque from exceeding a predetermined value. In this case, while suppressing the rotation of the rotor of the rotating electric machine 10, it is possible to suppress the torque of the rotating electric machine 10 from fluctuating between positive and negative values across zero. This makes it possible to suppress the continuous occurrence of gear rattle noise in the gear device 51. In other words, by generating tooth contact in a specific direction in the gear of the gear device 51, it is possible to suppress the problem of gear rattle noise in the gear device 51 caused by small torques alternately generated on the positive and negative sides.
[0118] When a small torque is generated in the rotating electric machine 10 while the rotating electric machine 10 is in a stopped state, a brake is activated to suppress movement of the vehicle. This makes it possible to suppress inconvenience such as unintended movement of the vehicle.
[0119] When performing alignment control using the DC d-axis current, the command angle α is set as the electrical angle at which gear teeth contact in the gear device 51, and the phase current command values Iu*, Iv*, Iw* for each phase are set based on the command angle α. This makes it possible to press the teeth of the gears of the gear device 51 in a specific direction, thereby suppressing the occurrence of gear rattle noise.
[0120] (Other Embodiments) The above embodiment may be modified as follows, for example.
[0121] When the turn-off time of each switch 21, 22 is extended to prevent an increase in switching loss, the dead time may be set longer than normal. For example, as shown by the solid line in FIG. 21 , if the turn-off time is set longer than normal, the timing at which the switches 21, 22 of the upper and lower arms are effectively turned off is delayed, raising concerns about short circuits between the upper and lower arms. In response to this, as shown by the dashed-dotted line in FIG. 21 , the timing at which the gate signal is turned off is advanced from ta to tb. In this case, by advancing the timing at which the gate signal is turned off, short circuits between the upper and lower arms are suppressed even when the turn-off time is extended. In FIG. 21 , the dead time during normal operation is DTa, while the dead time during increased switching loss is DTb.
[0122] When the control device 40 lengthens the turn-off time to control an increase in switching loss, it is preferable to perform feedforward control, which reduces the voltage command value of each phase in advance by an amount corresponding to the turn-off delay. For example, as shown in FIG. 22 , a correction command unit 81 is provided, and when a heat generation request occurs, the voltage command value of each phase is corrected by a feedforward correction term. This makes it possible to appropriately lengthen the dead time when switching loss increases.
[0123] When it is determined that there is a heat generation request, the dead time is made longer than when there is no heat generation request, thereby making it possible to suppress short circuits in the upper and lower arms even if the turn-off time of the switch is longer due to increased switching loss.
[0124] In the first embodiment, the heat generation control of FIG. 15 is configured so that control of switching loss increase is not performed when a DC d-axis current is caused to flow during positioning control (steps S17 and S18). However, this may be modified so that control of switching loss increase is performed when a DC d-axis current is caused to flow during positioning control (steps S17 and S18).
[0125] In the above embodiments, the inverter 20 is configured to vary at least one of the turn-on time and the turn-off time of each switch 21, 22 (a configuration that increases switching loss), and the gate resistance of each switch 21, 22 is controlled to be switched. However, this may be changed. For example, the gate voltage applied to each switch 21, 22 may be varied. When a heat generation request is issued, the control device 40 sets the gate voltage to a voltage lower than that during normal operation when heat generation control is not being issued. This increases the time required for charging and discharging the gate of the semiconductor switching element, increasing switching loss.
[0126] In the above embodiments, in the heat generation control by the d-axis current application, a sinusoidal d-axis current is applied as the AC d-axis current, but this may be changed to a rectangular d-axis current as long as the AC d-axis current flows alternately between the positive and negative sides at regular intervals.
[0127] The present disclosure may be applied to other moving objects such as aircraft and ships, in addition to electric vehicles. It may also be applied to stationary systems.
[0128] The controller and methods described herein may be implemented by a special-purpose computer configured with a processor and memory programmed to perform one or more functions embodied in a computer program. Alternatively, the controller and methods described herein may be implemented by a special-purpose computer configured with a processor configured with one or more dedicated hardware logic circuits. Alternatively, the controller and methods described herein may be implemented by one or more special-purpose computers configured with a processor and memory programmed to perform one or more functions in combination with a processor configured with one or more hardware logic circuits. Furthermore, the computer program may be stored as instructions executed by a computer on a computer-readable non-transitory storage medium.
[0129] The technical concepts extracted from the above-described embodiments are described below. [Configuration 1] A control device (40) applied to a rotating electric machine system including a rotating electric machine (10) having a multi-phase winding (11) and an inverter (20) that adjusts the phase current of each phase in the winding by turning on and off a plurality of switches (21, 22) made of semiconductor switching elements, and that controls the on and off of the switches in the inverter, comprising: a determination unit that determines whether or not there is a heat creation request in the rotating electric machine system, and a switch control unit that, when it is determined that there is a heat creation request, controls the switches so that a transition time of at least one of turning on and turning off the switches is longer than when there is no heat creation request. [Configuration 2] The control device for a rotating electric system according to Configuration 1, wherein, when it is determined that there is a heat creation request, the switch control unit causes a larger switching loss when the switches are turned off than when they are turned on. [Configuration 3] The control device for a rotating electric machine system according to Configuration 1 or 2, wherein, when it is determined that there is a heat creation request, the switch control unit sets a transition time when the switch is turned on to be the same as when there is no heat creation request, and sets a transition time when the switch is turned off to be longer than when there is no heat creation request. [Configuration 4] The control device for a rotating electric machine system according to any one of Configurations 1 to 3, wherein the inverter has, as the switches, upper arm switches (21) and lower arm switches (22) connected in series for each phase, and the switches have diodes (23) connected in anti-parallel to the semiconductor switching elements, and when the switch control unit turns on the upper arm switch of any phase to flow a phase current through the winding, and then turns off the upper arm switch to return the phase current, the switch control unit keeps the lower arm switch of the same phase as the upper arm switch in an off state, and returns the phase current via the diode connected in parallel to the lower arm switch.[Configuration 5] The inverter has, as the switches, upper arm switches (21) and lower arm switches (22) connected in series for each phase, the upper arm switches and the lower arm switches being alternately turned on with a dead time sandwiched therebetween, and the switch control unit extends the dead time when it is determined that there is a heat creation request compared to when there is no heat creation request. [Configuration 6] The control device for a rotating electric system according to any one of Configurations 1 to 5, in which the inverter controls on / off of the switches by PWM pulses, and the switch control unit does not implement switching loss increase when an on-time of the PWM pulse is shorter than a predetermined time. [Configuration 7] The control device for a rotating electric system according to any one of Configurations 1 to 6, further comprising an acquisition unit that acquires a switch temperature that is the temperature of the switch, and the switch control unit sets a loss increase period during which the transition time is extended based on the switch temperature. [Configuration 8] The control device for a rotating electric system according to any one of Configurations 1 to 7, further comprising a current control unit that, when it is determined that there is a heat creation request, performs current control so that a phase current that changes in both positive and negative directions flows in each phase of the winding while the rotating electric machine is stopped from rotating, and the switch control unit, when performing current control by the current control unit, controls the transition time of the switch of each phase to be longer than when there is no heat creation request. [Configuration 9] The control device for a rotating electric system according to Configuration 8, wherein the current control unit controls the phase current of each phase that changes in both positive and negative directions in a state where only the d-axis current of a d-axis current and a q-axis current flows. [Configuration 10] The control device for a rotating electric system according to Configuration 8 or 9, wherein the switch control unit sets a loss increase period in which the transition time is lengthened, based on the magnitude of the phase current flowing in each phase of the winding.[Configuration 11] The control device for a rotating electric machine system according to Configuration 8, wherein rotation of the rotating electric machine is transmitted to a gear of a gear device (51), and the current control unit performs current control to cause the rotating electric machine to generate torque in one direction of rotation and to prevent the absolute value of the torque from exceeding a predetermined value. [Configuration 12] The control device for a rotating electric machine system according to Configuration 11, wherein the rotating electric machine is a power source for movement of a moving body, and the control device includes a brake command unit that activates a brake to suppress movement of the moving body when torque in one direction of rotation of the rotating electric machine is generated by current control by the current control unit. [Configuration 13] The control device for a rotating electric machine system according to any one of Configurations 8 to 12, wherein the current control unit performs current control so that, when the rotating electric machine is in a stopped state, all phase currents of each phase of the winding are equal to or greater than a predetermined threshold.
[0130] Although the present disclosure has been described with reference to the embodiments, it is understood that the present disclosure is not limited to the embodiments or structures. The present disclosure also encompasses various modifications and equivalent modifications. In addition, various combinations and forms, including only one element, more than one element, or less than one element, are also within the scope and spirit of the present disclosure.
Claims
1. A control device (40) applied to a rotating electric machine system including a rotating electric machine (10) having a multi-phase winding (11) and an inverter (20) that adjusts the phase current of each phase in the winding by turning on and off a plurality of switches (21, 22) consisting of semiconductor switching elements, and controls the on and off of the switches in the inverter, comprising: a judgment unit that judges whether or not there is a heat creation request in the rotating electric machine system; and a switch control unit that, when it is determined that there is a heat creation request, controls the switch so that at least one of the transition times when the switch is turned on and off is longer than when there is no heat creation request.
2. A control device for a rotating electric system as set forth in claim 1, wherein said switch control section, when it is determined that there is a heat generation request, generates a larger switching loss when said switch is turned off than when said switch is turned on.
3. A control device for a rotating electric system as described in claim 1, wherein, when it is determined that there is a heat creation request, the switch control unit sets the transition time when the switch is turned on to the same time as when there is no heat creation request, and sets the transition time when the switch is turned off to a time longer than when there is no heat creation request.
4. The control device for a rotating electric system as described in claim 1, wherein the inverter has as the switches upper arm switches (21) and lower arm switches (22) connected in series for each phase, and a diode (23) connected in inverse parallel to the semiconductor switching element in the switch, and the switch control unit turns on the upper arm switch of any phase to flow a phase current through the winding, and then turns off the upper arm switch to return the phase current, leaves the lower arm switch of the same phase as the upper arm switch in an off state, and returns the phase current via the diode in parallel to the lower arm switch.
5. The control device for a rotating electric system as described in claim 1, wherein the inverter has, as the switches, upper arm switches (21) and lower arm switches (22) connected in series for each phase, the upper arm switches and the lower arm switches are alternately turned on with a dead time in between, and the switch control unit, when it is determined that there is a heat creation request, lengthens the dead time compared to when there is no heat creation request.
6. A control device for a rotating electric system as described in claim 1, wherein the on / off of the switch in the inverter is controlled by a PWM pulse, and the switch control unit does not increase switching loss when the on time of the PWM pulse is shorter than a predetermined time.
7. The control device for a rotating electric system according to claim 1, further comprising an acquisition unit that acquires a switch temperature, which is the temperature of the switch, and the switch control unit sets a loss increase period during which the transition time is lengthened based on the switch temperature.
8. A control device for a rotating electric machine system as described in any one of claims 1 to 7, further comprising a current control unit which, when it is determined that there is a heat generation request, performs current control so that, when the rotating electric machine is in a stopped state of rotation, a phase current that changes alternating between positive and negative flows in each phase of the winding, and the switch control unit, when performing current control by the current control unit, controls the transition time in the switch of each phase to be longer than when there is no heat generation request.
9. A control device for a rotating electric system as described in claim 8, wherein the current control unit controls the phase current of each phase that changes as an alternating current on both the positive and negative sides in a state where only the d-axis current flows out of the d-axis current and the q-axis current.
10. The control device for a rotating electric machine system according to claim 8, wherein the switch control section sets a loss increase period during which the transition time is lengthened based on the magnitude of the phase current flowing through each phase of the winding.
11. A control device for a rotating electric machine system as described in claim 8, wherein the rotation of the rotating electric machine is transmitted to a gear of a gear device (51), and the current control unit performs current control so as to generate a torque in one direction of rotation in the rotating electric machine and prevent the absolute value of the torque from exceeding a predetermined value.
12. A control device for a rotating electric machine system as described in claim 11, wherein the rotating electric machine is a power source for movement of a moving body, and the control device further comprises a brake command unit that activates a brake to suppress movement of the moving body when a torque in one direction of rotation of the rotating electric machine is generated by the current control of the current control unit.
13. A control device for a rotating electric machine system as set forth in claim 8, wherein the current control unit performs current control so that, when the rotating electric machine is in a stopped state, all of the phase currents of the windings are equal to or greater than a predetermined threshold value.
14. A control program applied to a rotating electric machine system including a rotating electric machine (10) having a multi-phase winding (11) and an inverter (20) that adjusts the phase current of each phase in the winding by turning on and off a plurality of switches (21, 22) consisting of semiconductor switching elements, and executed by a control device that controls the on and off of the switches in the inverter, the control program executing: a determination process that determines whether or not there is a heat generation request in the rotating electric machine system; and a switch control process that, when it is determined that there is a heat generation request, controls the switch so that at least one of the transition times when the switch is turned on and off is longer than when there is no heat generation request.
Citation Information
Patent Citations
Battery temperature increase control device for electric vehicles
JP5849917B2
Load driver
JP2005348510A
Electric motor controller
JP2017005843A
Power conversion device
JP2021013226A
Motor control system
JP2021097545A
