POWERTRAIN, CONTROL METHOD FOR MOTOR CONTROLLER, AND ELECTRIC VEHICLE
20250100393 · 2025-03-27
Inventors
Cpc classification
B60L2260/20
PERFORMING OPERATIONS; TRANSPORTING
B60L2220/54
PERFORMING OPERATIONS; TRANSPORTING
H02M7/53876
ELECTRICITY
H02M3/1552
ELECTRICITY
H02M1/088
ELECTRICITY
H02M3/158
ELECTRICITY
H02M1/0095
ELECTRICITY
B60L53/62
PERFORMING OPERATIONS; TRANSPORTING
B60L50/60
PERFORMING OPERATIONS; TRANSPORTING
B60L15/22
PERFORMING OPERATIONS; TRANSPORTING
B60L15/20
PERFORMING OPERATIONS; TRANSPORTING
H02J7/0068
ELECTRICITY
International classification
B60L15/20
PERFORMING OPERATIONS; TRANSPORTING
H02M1/088
ELECTRICITY
Abstract
This application provides a powertrain, a control method for a motor controller, and an electric vehicle. The powertrain includes a motor controller and a drive motor, the motor controller includes three bridge arms connected in parallel, and a bridge arm midpoint of one of the three bridge arms is configured to connect to the other end of the direct current power supply. In response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, an upper bridge arm switching transistor of one bridge arm of the other two bridge arms of the three bridge arms is turned on and a lower bridge arm switching transistor of the other bridge arm of the other two bridge arms is turned on. The power battery is configured to supply power to one phase winding and another phase winding, to reduce slipping sound.
Claims
1. A powertrain, wherein the powertrain comprises a motor controller and a drive motor, the motor controller comprises three bridge arms connected in parallel, each bridge arm comprises an upper bridge arm switching transistor and a lower bridge arm switching transistor, one end of each bridge arm is configured to connect one end of a direct current power supply and one end of a power battery, the other end of each bridge arm is configured to connect to the other end of the power battery, bridge arm midpoints of the three bridge arms are configured to connect to three phase windings of the drive motor, and a bridge arm midpoint of one of the three bridge arms is configured to connect to the other end of the direct current power supply; and in response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, an upper bridge arm switching transistor of one of the other two bridge arms of the three bridge arms connects a positive electrode of the power battery to one phase winding of the drive motor, and a lower bridge arm switching transistor of the other bridge arm of the two bridge arms connects a negative electrode of the power battery to another phase winding of the drive motor, wherein the power battery is configured to supply power to the one phase winding and the another phase winding.
2. The powertrain according to claim 1, wherein in a process in which the power battery is configured to supply the power to the one phase winding and the another phase winding, in response to a current in the one phase winding or the another phase winding being less than a first preset threshold, upper bridge arm switching transistors and lower bridge arm switching transistors of the other two bridge arms are turned off.
3. The powertrain according to claim 1, wherein in a process in which the power battery is configured to supply the power to the one phase winding and the another phase winding, magnitudes of currents in the one phase winding and the another phase winding first remain unchanged and then decrease, or first rise and then decrease.
4. The powertrain according to claim 1, wherein in response to that the direct current power supply outputs the direct current, the upper bridge arm switching transistor of any bridge arm of the other two bridge arms is turned on at a first duty cycle, and the inverter circuit is configured to receive, through a first capacitor, power supplied by the direct current power supply; and in response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, the upper bridge arm switching transistor of any bridge arm of the other two bridge arms is turned on at a second duty cycle, wherein after the inverter circuit is configured to receive power supplied by the first capacitor and output a current to the motor winding for first preset duration, the power battery is configured to supply power to the one phase winding and the another phase winding, and the second duty cycle is greater than the first duty cycle.
5. The powertrain according to claim 4, wherein a magnitude of the current in the motor winding decreases within the first preset duration, and a current decreasing speed is greater than a current decreasing speed in the motor winding in a process in which the inverter circuit is configured to receive the power supplied by the power battery and output a current to the motor winding.
6. The powertrain according to claim 4, wherein within the first preset duration, in response to a current in any phase winding of the motor being less than or equal to a rebound torque current, the upper bridge arm switching transistor of any bridge arm of the other two bridge arms is turned on at a third duty cycle, and the third duty cycle is greater than the second duty cycle.
7. The powertrain according to claim 1, wherein after the direct current power supply switches from outputting the direct current to stopping outputting the direct current for second preset duration, the inverter circuit is configured to receive the power supplied by the power battery and output a current to the motor winding, wherein in the second preset duration, an upper bridge arm switching transistor of at least one bridge arm of the other two bridge arms is turned on, and the three phase windings of the motor form a freewheeling loop.
8. The powertrain according to claim 1, wherein the one bridge arm is a first bridge arm, and the other two bridge arms are a second bridge arm and a third bridge arm respectively, wherein in a process in which the inverter circuit is configured to receive the power supplied by the direct current power supply, in response to that a rotor angle of the motor is within a first angle range, an upper bridge arm switching transistor of the second bridge arm is turned on; in response to that the rotor angle of the motor is within a second angle range, an upper bridge arm switching transistor of the third bridge arm is turned on; the first angle range comprises 330<<30 and 150<<210; and the second angle range comprises 30<<90 and 210<<270.
9. The powertrain according to claim 8, wherein in response to that the direct current power supply switches from outputting the direct current to stopping outputting the direct current and the rotor angle of the motor is within the first angle range, the upper bridge arm switching transistor of the second bridge arm and a lower bridge arm switching transistor of the third bridge arm are turned on; and in response to that the direct current power supply switches from outputting the direct current to stopping outputting the direct current and the rotor angle of the motor is within the second angle range, the upper bridge arm switching transistor of the third bridge arm and a lower bridge arm switching transistor of the second bridge arm are turned on.
10. The powertrain according to claim 8, wherein in response to that the direct current power supply switches from outputting the direct current to stopping outputting the direct current and the rotor angle of the motor is within the first angle range, the upper bridge arm switching transistor of the second bridge arm is turned on and the lower bridge arm switching transistor of the third bridge arm is turned off, and the three phase windings of the motor form the freewheeling loop; and in response to that the direct current power supply switches from outputting the direct current to stopping outputting the direct current and the rotor angle of the motor is within the second angle range, the upper bridge arm switching transistor of the third bridge arm is turned on and the lower bridge arm switching transistor of the second bridge arm is turned off, and the three phase windings of the motor form the freewheeling loop.
11. A control method for a motor controller, wherein the motor controller comprises three bridge arms connected in parallel, each bridge arm comprises an upper bridge arm switching transistor and a lower bridge arm switching transistor, one end of each bridge arm is configured to connect one end of a direct current power supply and one end of a power battery, the other end of each bridge arm is configured to connect to the other end of the power battery, bridge arm midpoints of the three bridge arms are configured to connect to three phase windings of the drive motor, a bridge arm midpoint of one of the three bridge arms is configured to connect to the other end of the direct current power supply, and the control method comprises: in response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, controlling an upper bridge arm switching transistor of one of the other two bridge arms of the three bridge arms to connect a positive electrode of the power battery to one phase winding of the drive motor, and controlling a lower bridge arm switching transistor of the other bridge arm of the two bridge arms to connect a negative electrode of the power battery to another phase winding of the drive motor, wherein the power battery is configured to supply power to the one phase winding and the another phase winding.
12. The control method according to claim 11, wherein the control method further comprises: in response to that the direct current power supply outputs the direct current, controlling the upper bridge arm switching transistor of any bridge arm of the other two bridge arms to be turned on at a first duty cycle, wherein the inverter circuit is configured to receive, through a first capacitor, power supplied by the direct current power supply; and in response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, controlling the upper bridge arm switching transistor of any bridge arm of the other two bridge arms to be turned on at a second duty cycle, wherein after the inverter circuit is configured to receive power supplied by the first capacitor and output a current to the one phase winding of the motor for first preset duration, the power battery is configured to supply power to the one phase winding and the another phase winding, and the second duty cycle is greater than the first duty cycle.
13. The control method according to claim 12, wherein the control method further comprises: in the first preset duration, in response to a current in any phase winding of the motor being less than or equal to a rebound torque current, controlling the upper bridge arm switching transistor of any bridge arm of the other two bridge arms to be turned on at a third duty cycle, wherein the third duty cycle is greater than the second duty cycle.
14. The control method according to claim 11, wherein the control method further comprises: after the direct current power supply switches from outputting the direct current to stopping outputting the direct current for second preset duration, controlling the inverter circuit to be configured to receive the power supplied by the power battery and output a current to the motor winding; and controlling, in the second preset duration, an upper bridge arm switching transistor of at least one of the three bridge arms to be turned on, wherein the three phase windings of the motor form a freewheeling loop.
15. An electric vehicle, the electric vehicle comprises a powertrain and a power battery, wherein the powertrain comprises a motor controller and a drive motor, and the motor controller is configured to receive power supplied by the power and supply power to the drive motor; wherein the motor controller comprises three bridge arms connected in parallel, each bridge arm comprises an upper bridge arm switching transistor and a lower bridge arm switching transistor, one end of each bridge arm is configured to connect one end of a direct current power supply and one end of a power battery, the other end of each bridge arm is configured to connect to the other end of the power battery, bridge arm midpoints of the three bridge arms are configured to connect to three phase windings of the drive motor, and a bridge arm midpoint of one of the three bridge arms is configured to connect to the other end of the direct current power supply; and in response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, an upper bridge arm switching transistor of one of the other two bridge arms of the three bridge arms connects a positive electrode of the power battery to one phase winding of the drive motor, and a lower bridge arm switching transistor of the other bridge arm of the two bridge arms connects a negative electrode of the power battery to another phase winding of the drive motor, wherein the power battery is configured to supply power to the one phase winding and the another phase winding.
16. The electric vehicle according to claim 15, wherein in a process in which the power battery is configured to supply the power to the one phase winding and the another phase winding, in response to a current in the one phase winding or the another phase winding being less than a first preset threshold, upper bridge arm switching transistors and lower bridge arm switching transistors of the other two bridge arms are turned off.
17. The electric vehicle according to claim 15, wherein in a process in which the power battery is configured to supply the power to the one phase winding and the another phase winding, magnitudes of currents in the one phase winding and the another phase winding first remain unchanged and then decrease, or first rise and then decrease.
18. The electric vehicle according to claim 15, wherein in response to that the direct current power supply outputs the direct current, the upper bridge arm switching transistor of any bridge arm of the other two bridge arms is turned on at a first duty cycle, and the inverter circuit is configured to receive, through a first capacitor, power supplied by the direct current power supply; and in response to that the direct current power supply switches from outputting a direct current to stopping outputting the direct current, the upper bridge arm switching transistor of any bridge arm of the other two bridge arms is turned on at a second duty cycle, wherein after the inverter circuit is configured to receive power supplied by the first capacitor and output a current to the motor winding for first preset duration, the power battery is configured to supply power to the one phase winding and the another phase winding, and the second duty cycle is greater than the first duty cycle.
19. The electric vehicle according to claim 18, wherein a magnitude of the current in the motor winding decreases within the first preset duration, and a current decreasing speed is greater than a current decreasing speed in the motor winding in a process in which the inverter circuit is configured to receive the power supplied by the power battery and output a current to the motor winding.
20. The electric vehicle according to claim 18, wherein within the first preset duration, in response to a current in any phase winding of the motor being less than or equal to a rebound torque current, the upper bridge arm switching transistor of any bridge arm of the other two bridge arms is turned on at a third duty cycle, and the third duty cycle is greater than the second duty cycle.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
DESCRIPTION OF EMBODIMENTS
[0056] The following describes technical solutions of this application with reference to accompanying drawings.
[0057]
[0058]
[0059] As shown in
[0060] It should be understood that when the power battery is charged, the powertrain in embodiments of this application can be disposed between a direct current power supply 11 and a power battery 12. Specifically, a first end (for example, a positive end) of the direct current power supply is coupled to a first switching transistor in each bridge arm and a first end of the power battery 12. A second end (for example, a negative end) of the power battery 12 is coupled to a second switching transistor in each bridge arm. For example, the second end of the power battery 12 is coupled to the second switching transistor Q.sub.112 in the bridge arm 1, the second switching transistor Q.sub.122 in the bridge arm 2, and the second switching transistor Q.sub.132 in the bridge arm 3.
[0061] It should be noted that each switching transistor in each bridge arm may be a metal-oxide-semiconductor field-effect transistor (metal-oxide-semiconductor field-effect transistor, MOSFET), an insulated gate bipolar transistor (insulated gate bipolar transistor, IGBT) and a diode connected in parallel, or the like.
[0062] In a possible implementation, the inverter circuit further includes a capacitor C.sub.11 (that is, a first capacitor), and the capacitor C.sub.11 is connected in parallel to two ends of the direct current power supply 11. For example, the capacitor C.sub.11 can be provided by an output end of the direct current power supply 11. To be specific, when a specific implementation of the direct current power supply 11 is a charging pile, an output end of the charging pile has a capacitor. In this case, the capacitor C.sub.11 includes the capacitor at the output end of the charging pile and a capacitor at an output end of an inverter circuit 13.
[0063] In a possible implementation, a relay K.sub.11 is disposed between the direct current power supply 11 and the first switching transistor of the bridge arm 1. A relay K.sub.13 (not shown in the figure) is disposed between the direct current power supply 11 and a first end of the power battery 12. A relay K.sub.14 (not shown in the figure) is disposed between a second end of the power battery 12 and the second switching transistor Q.sub.132 of the bridge arm 3.
[0064] It should be noted that coupling in this application means direct or indirect connection. For example, that A is coupled to B may be that A is directly connected to B, or may be that A is indirectly connected to B by using one or more other electrical components, for example, A is directly connected to C and C is directly connected to B, to implement connection between A and B by using C.
[0065] It should be understood that a quantity of relays disposed in the inverter circuit is not limited in embodiments of this application, and specific relay setting may be performed based on an actual requirement of the inverter circuit. For example, a positive end of the direct current power supply 11 can further be coupled to a positive end of the power battery 12 through a switch K.sub.15 (not shown in the figure).
[0066] It should be understood that the relay K.sub.11 can be specifically implemented as a contactor, a relay, or the like, and is disposed separately from the inverter circuit 13. For example, the switch K.sub.11 is disposed in a power distribution box of an electric vehicle, and the second switching transistor is disposed near a battery pack. A specific location at which the switch is disposed is not limited in embodiments of this application, provided that the switch can implement the electrical connection relationship shown in
[0067] In a specific implementation, the relay K.sub.11 is closed, and the first switching transistor Q.sub.121 in the bridge arm 2 and the upper bridge switching transistor Q.sub.131 in the bridge arm 3 are turned on. In this case, a current output by the positive electrode of the direct current power supply 11 may return to a negative electrode of the direct current power supply 11 after successively passing through the first switching transistor Q.sub.121, the second motor winding N.sub.2, the first motor winding N.sub.1, and the relay K.sub.11; or return to the negative end of the direct current power supply 11 after successively passing through the first switching transistor Q.sub.131, the second motor winding N.sub.2, the first motor winding N.sub.1, and the relay K.sub.11. In this case, each motor winding is equivalent to an inductor and is in a charging state.
[0068] When the first switching transistor Q.sub.121 in the bridge arm 2 and the first switching transistor Q.sub.131 in the bridge arm 2 are turned off, each motor winding is in a discharging state. After the current output by the first motor winding N.sub.1 passes through the relay K.sub.11, the direct current power supply 11, the switch K.sub.13, and the power battery 12, a freewheeling diode of the second switching transistor Q.sub.122 in the bridge arm 2 and the second motor winding N.sub.2 may form a closed loop, or a freewheeling diode of the second switching transistor Q.sub.132 in the bridge arm 2 and the second motor winding N.sub.3 may form a closed loop. In this case, each motor winding is in the discharging state, a voltage at both ends of the power battery 12 is a sum of a voltage of the direct current power supply 11 and a voltage of the motor, and the voltage of the power battery 12 is greater than the voltage of the direct current power supply 11, thereby implementing voltage boosting.
[0069] In a process of charging or discharging the motor winding, the current of the motor passes through each motor winding, and torque is generated on the motor. The torque of the motor continuously acts on a reducer gear, a differential spline, and a half-axis spline of the electric vehicle. When the direct current power supply 11 is powered off in an emergency due to a fault, a user clicks on a human-machine operation interface of the charging pile (that is, the direct current power supply 11) to end power supply, or the user actively operates a user app to stop power supply of the direct current power supply 11, the current of the motor quickly decreases to a small value or even to 0. A speed is at a millisecond (ms) level. Because the current of the motor is positively correlated with the torque of the motor, a rapid decrease in the current of the motor causes a rapid decrease in the torque of the motor. Consequently, a series of mechanical structures such as a wheel, a half shaft, and a reducer gear in the electric vehicle are slipped and rebound, and slipping sound of the mechanical structure is generated, which causes a poor NVH feature of the electric vehicle.
[0070] It should be noted that, in embodiments of this application, that the direct current power supply 11 is powered off in an emergency due to a fault, or the direct current power supply 11 actively stops supplying power has a same meaning as that the direct current power supply 11 switches from outputting a direct current to stopping outputting the direct current, and can be replaced with each other.
[0071] In a solution, after detecting that the direct current power supply stops supplying power, the controller controls the relay K.sub.11 to be turned off, and controls the second switching transistor Q.sub.112 in the bridge arm 1, the switching transistor Q.sub.121 in the bridge arm 2, and the relay transistor Q.sub.131 in the bridge arm 3 to be turned on. In this case, the inverter circuit 13 forms a closed loop. In the closed loop, after passing through the switch K.sub.12, the output current of the power battery 12 passes through the relay transistor Q.sub.121 of the bridge arm 2, the second motor winding N.sub.2, the first motor winding N.sub.1, and the second switching transistor Q.sub.112 of the bridge arm 1 to form a closed loop. Alternatively, the output current of the power battery 12 passes through the relay transistor Q.sub.131 of the bridge arm 3, the third motor winding N.sub.2, the first motor winding N.sub.1, and the second switching transistor Q.sub.112 of the bridge arm 1 to form a closed loop. To be specific, the power battery 12 provides the current to the motor, and controls the current to slowly decrease, so that torque of the motor is slowly reduced, slipping sound of the mechanical structure is reduced, and an NVH feature of the electric vehicle is improved.
[0072] Apparently, in the foregoing method, after determining that the direct current power supply stops supplying power, the controller needs to control the relay K.sub.11 to be turned off and control the second switching transistor Q.sub.112 of the bridge arm 1 to be turned on. However, because it takes time for the relay to be physically disconnected, there is a specific delay between time when the controller controls the relay K.sub.11 to be turned off and time when the relay K.sub.11 is turned off. In this case, a second closed loop shown in
[0073] To avoid the foregoing overcurrent problem, this application provides a motor controller, to directly enter torque takeover logic without controlling the relay K.sub.11 after determining that the direct current power supply stops supplying power, to control the current of the motor to slowly decrease, and further control torque of the motor to slowly decrease. The slipping sound of the mechanical structure is controlled to be weakened, and the NVH feature of the electric vehicle is improved.
[0074] The following describes, based on
[0075] First, with reference to
[0076] As shown in
[0077] As shown in
[0078] Alternatively, in another specific implementation, as shown in
[0079] As shown in
[0080] It should be understood that, in a process in which the direct current power supply 11 supplies power to the power battery 12, the motor controller can control the first switching transistor Q.sub.121 of the bridge arm 2 to be turned on and the first switching transistor Q.sub.131 of the bridge arm 3 to be turned off; or control the first switching transistor Q.sub.121 of the bridge arm 2 to be turned off and the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on, thereby implementing switching between the first closed loop and the third closed loop.
[0081] In a possible implementation, the controller controls turning on and turning off of the first switching transistor Q.sub.121 of the bridge arm 2 and the first switching transistor Q.sub.131 of the bridge arm 3 based on a rotor angle of the motor. The rotor angle of the motor is an electrical angle.
[0082] Specifically, when the rotor angle is within a first angle range, the motor controller controls the first switching transistor Q.sub.121 of the bridge arm 2 to be turned on, and controls a first switching transistor and a second switching transistor in the remaining bridge arms to be turned off. In this case, the inverter circuit 13 works in a first charging phase sequence. In other words, in this case, the inverter circuit is charged by using a W phase.
[0083] When the rotor angle is within a second angle range, the motor controller controls the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on, and controls the first switching transistor and the second switching transistor in the remaining bridge arms to be turned off. In this case, the inverter circuit 13 works in a second charging phase sequence. In other words, in this case, the inverter circuit is charged by using a U phase.
[0084] The first angle range includes 330<<30 and 150<<210. The second angle range includes 30<<90 and 210<<270.
[0085] As an example instead of a limitation, the first angle range is 270<<30 and 90<<210, and the second angle range is 30<<90 and 210<<270.
[0086] As an example instead of a limitation, the first angle range is 330<<30 and 150<<210, and the second angle range is 30<<150 and 210<<330.
[0087] Further, in a case in which it is detected that the direct current power supply stops supplying power, the motor controller can control the first switching transistor and the second switching transistor in each bridge arm based on the rotor angle of the motor. A manner in which the controller controls the first switching transistor and the second switching transistor in each bridge arm based on the rotor angle of the motor is specifically described below with reference to
[0088] In embodiments of this application, the motor controller may be specifically implemented as a micro control unit (micro control unit, MCU), a central processing unit (central processing unit, CPU), another general purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field-programmable gate array (field-programmable gate array, FPGA) or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like.
[0089] For example, the motor controller may determine, by monitoring an electrical parameter output by the direct current power supply 11, whether the direct current power supply 11 stops supplying power. The electrical parameter includes at least one of a current and a voltage. For example, if the controller detects that a voltage output by the direct current power supply 11 decreases to a first reference voltage threshold within preset duration, it is considered that the voltage output by the direct current power supply 11 decreases rapidly, and power supply is stopped. For another example, if the controller detects that a current output by the direct current power supply 11 decreases to the first reference current threshold within the preset duration, it may be considered that the current output by the direct current power supply decreases rapidly, and power supply is stopped.
[0090] Alternatively, the controller may obtain a difference between the electrical parameter output by the direct current power supply 11 and a reference electrical parameter, compare the difference with a second reference electrical parameter threshold, and determine, based on a comparison result, whether the direct current power supply 11 stops supplying power. For example, if the reference output voltage of the direct current power supply 11 is 500 V, and the controller detects that an actual voltage output by the direct current power supply 11 is 300 V, a difference between the two is 200 V. If the second reference electrical parameter threshold is 100 V, the controller determines that the direct current power supply 11 stops supplying power.
[0091] It should be understood that, in embodiments of this application, the motor controller can control the first switching transistor and the second switching transistor in each bridge arm based on the rotor angle of the motor, or the controller can control the first switching transistor and the second switching transistor in each bridge arm based on a charging phase sequence of the inverter circuit.
[0092] In a possible implementation, when it is detected that the direct current power supply 11 stops supplying power, and the rotor angle of the motor is 330<<30 and 150<<210, or when it is detected that the direct current power supply 11 stops supplying power, and the inverter circuit works in a first working phase sequence, the controller controls the first switching transistor Q.sub.121 of the bridge arm 2 to be constantly turned on, and controls the second switching transistor Q.sub.132 of the bridge arm 3 to be turned on based on PWM wave transmission.
[0093] When the second switching transistor Q.sub.132 of the bridge arm 3 is turned on, as shown in
[0094] When the second switching transistor Q.sub.132 of the bridge arm 3 is turned off, as shown in
[0095] In a possible implementation, when it is detected that the direct current power supply 11 stops supplying power, and the rotor angle of the motor is 30<<150 and 210<<330, or when it is detected that the direct current power supply 11 stops supplying power, and the inverter circuit works in a second working phase sequence, the controller controls the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on, and controls the second switching transistor Q.sub.122 of the bridge arm 2 to be turned on.
[0096] When the second switching transistor Q.sub.122 of the bridge arm 2 is turned on, as shown in
[0097] When the second switching transistor Q.sub.122 of the bridge arm 2 is turned off, as shown in
[0098] It should be understood that the motor controller can control, by controlling turning-on duration of the second switching transistor of the second bridge arm, turning-on duration of the second switching transistor of the third bridge arm, and the like, the current of the motor to slowly decrease, or may control the current of the motor to first increase and then slowly decrease, or may adjust a current proportion of the winding of a three-phase motor, change a torque direction of the motor, and the like. How to specifically control the current of the motor is not limited in embodiments of this application. Specifically, how to control the current of the motor may be performed based on a requirement in actual application.
[0099] It should be understood that, in the foregoing manner, based on the motor control provided in embodiments of this application, when the direct current power supply stops supplying power, the fast charging relay K.sub.11 does not need to be controlled, and only the switching transistor in the bridge arms needs to be controlled, so that the current of the motor is switched from being provided by the direct current power supply to being provided by the power battery, and the current of the motor is controllable when the direct current power supply stops supplying power. The current of the motor is controlled to slowly decrease, that is, torque of the motor is controlled to slowly decrease when the direct current power supply stops supplying power, thereby weakening slipping sound of a mechanical structure and improving an NVH feature of the electric vehicle.
[0100] Refer to
[0101] As shown in (a) in
[0102] It is easy to understand that when a U phase is used as a 0 angle line, an attraction direction of a motor rotor is as follows:
[0103] When the angle is 90<<30, the attraction direction of the motor rotor is clockwise when being attracted by I.sub.s1 and is clockwise when being attracted by I.sub.s2.
[0104] When the angle is 90<<210, the attraction direction of the motor rotor is anticlockwise when being attracted by I.sub.s1 and is anticlockwise when being attracted by I.sub.s2.
[0105] When the angle is 30<<90 or 210<<270, the attraction direction of the motor rotor when being attracted by I.sub.s1 is inconsistent with the attraction direction of the motor rotor when being attracted by I.sub.s2.
[0106] Therefore, when the motor rotor is at an angle of 90<<30 or 90<<210, the motor controller can control the first switching transistor and the second switching transistor of each bridge arm, so that the inverter circuit 13 works in the fifth closed loop or the sixth closed loop. In this way, an attraction direction of the motor rotor attracted by a synthesized current vector does not change before and after the direct current power supply stops supplying power, thereby suppressing abnormal sound and jitter within the angle range.
[0107] As shown in (b) in
[0108] It is easy to understand that when a U phase is used as a 0 angle line, an attraction direction of a motor rotor is as follows:
[0109] When the angle is 30<<150, the attraction direction of the motor rotor is clockwise when being attracted by I.sub.s3 and is clockwise when being attracted by I.sub.s4.
[0110] When the angle is 210<<330, the attraction direction of the motor rotor is anticlockwise when being attracted by I.sub.s3 and is anticlockwise when being attracted by I.sub.s4.
[0111] When the angle is 30<<30 or 150<<210, the attraction direction of the motor rotor when being attracted by I.sub.s3 is inconsistent with the attraction direction of the motor rotor when being attracted by I.sub.s4.
[0112] Therefore, when the motor rotor is at an angle of 30<<150 or 30<<150, the motor controller can control the first switching transistor and the second switching transistor of each bridge arm, so that the inverter circuit works in the seventh closed loop or the eighth closed loop. In this way, an attraction direction of the motor rotor attracted by a synthesized current vector does not change before and after the direct current power supply stops supplying power, thereby suppressing abnormal sound and jitter within the angle range.
[0113] It should be understood that the inverter circuit 13 can first form the sixth closed loop, and then form the fifth closed loop, or first form the eighth closed loop, and then form the seventh closed loop.
[0114] It should be understood that the fifth closed loop is formed after the inverter circuit 13 can form the sixth closed loop and work for a period of time (that is, second preset duration), or the seventh closed loop is formed after the inverter circuit 13 can form the eighth closed loop and work for a period of time. This is not limited in embodiments of this application.
[0115] The following uses an example in which the inverter circuit switches between the fifth closed loop and the sixth closed loop for description. A current of the motor is shown in
[0116] At the moment t.sub.91, the direct current power supply 11 stops supplying power, and a current i of the motor decreases. Because there is a delay in detection of the motor controller, in
[0117] Between the moment t.sub.92 and the moment t.sub.91, the inverter circuit 13 forms the sixth closed loop, each motor winding freewheels the motor, and the current i of the motor decreases.
[0118] After the moment t.sub.93, the inverter circuit 13 forms the fifth closed loop, and the power battery 12 supplies the current to the motor, so that the current of the motor rises back and is in a controlled state. Further, the motor controller may control turning-on duration of the second switching transistor Q.sub.132 of the bridge arm 3, so that the current of the motor can slowly decrease until the current decreases to 0 at a moment t.sub.94. Because the torque of the motor does not quickly decrease to 0 at an millisecond level, the slipping sound of the mechanical structure is weakened and the NVH performance of the vehicle is improved.
[0119] It should be understood that, between the moment t.sub.93 and the moment t.sub.94, when the current of the motor decreases to the first preset threshold, the motor controller may control both the first switching transistor and the second switching transistor of the three bridge arms to be turned off. In this case, it may be considered that torque of the motor is basically released. Therefore, after all the switching transistors in the inverter circuit stop working, the motor does not rebound and generate the slipping sound.
[0120] It should be understood that a specific value of the first preset threshold is not limited in this application. For example, the first threshold is 0. For another example, the first threshold is 0.05 A.
[0121] It should be noted that an interval between t.sub.93 and t.sub.94 is long, and can reach a second (s) level.
[0122] Refer to
[0123] In a possible implementation, as shown in (a) in
[0124] As shown in (b) in
[0125] In another possible implementation, as shown in (c) in
[0126] As shown in (d) in
[0127] It should be understood that
[0128] In comparison with the foregoing control methods described with reference to
[0129] As shown in
[0130] It may be understood that a difference between the schematic of the circuit shown in
[0131]
[0132] It should be understood that the motor controller can slow down a current decrease speed of the motor by increasing a duty cycle of the switching transistor.
[0133] By way of example rather than limitation, the motor controller controls the first switching transistor Q.sub.121 of the bridge arm 2 to be turned on at a first duty cycle, and controls the first switching transistor Q.sub.121 of the bridge arm 2 to be turned on at a second duty cycle when detecting that the direct current power supply stops supplying power. The second duty cycle is greater than the first duty cycle. For example, the second duty cycle may alternatively be a dynamically increased value.
[0134] It is easy to understand that energy on the capacitor C.sub.11continuously decreases, and the motor controller can slow down a current decrease speed of the motor by increasing turning-on duration of the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3. In this way, a speed at which torque of the motor decreases is slowed down.
[0135] In this case, for the current of the motor, refer to a dashed line part shown in (a) in
[0136] Optionally, the motor controller can further first control, at a fourth duty cycle, the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on. The fourth duty cycle is less than the first duty cycle, so that the current of the motor decreases rapidly at this stage (not shown in the figure). Subsequently, the motor controller controls, based on a fifth duty cycle, the first switching transistor Q.sub.121 or the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on. The fifth duty cycle is greater than the first duty cycle, so that the decreasing speed of the motor is slowed down.
[0137] By way of example rather than limitation, when it is detected that the direct current power supply 11 stops supplying power, and the current of the motor decreases to a rebound torque current, the motor controller controls, based on a third duty cycle, the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on. The third duty cycle is greater than the first duty cycle or the second duty cycle. To be specific, the motor controller can control the current of the motor to decrease to the rebound torque current. The rebound torque current is a current required for maintaining torque without slipping of the motor. In other words, as long as the current of the motor is not less than the rebound torque current, the motor does not cause slipping sound of the mechanical structure.
[0138] It should be understood that a magnitude of the rebound torque current is a device attribute of the motor, and is related to selection of the motor.
[0139] When the current of the motor decreases to the rebound torque current, the motor controller can slow down a current change of the motor by increasing the duty cycle of the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3, thereby slowing down a torque change of the motor.
[0140] In this case, for the current of the motor, refer to the solid line part shown in (a) in
[0141] At the moment t3, the motor controller increases the duty cycle of the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3, so that a change slope of the current i of the motor decreases, that is, a current change speed of the motor is slowed down, until the current of the motor decreases to 0 at t.sub.4.
[0142] Further, a plurality of stepped current values may be further set between the rebound torque current and a constant current provided by the direct current power supply 11 to the motor. As shown in (b) in
[0143] At the moment t.sub.6, the motor controller can increase the duty cycle of the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3, so that a current change speed of the current i of the motor from the moment t.sub.6 to the moment t.sub.7 is slower than a current change speed from the moment t.sub.5 to the moment t.sub.6, and the current of the motor decreases to the rebound torque current i.sub.7 at the moment t.sub.7.
[0144] At the moment t.sub.7, the motor controller further increases the duty cycle of the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of bridge arm 3, so that a change speed of the current i of the motor from the moment t.sub.7 to the moment t.sub.8 is slower than a change speed of the current from the moment t.sub.6 to the moment t.sub.7.
[0145] In some other possible implementations, when it is detected that the direct current power supply 11 stops supplying power, the current of the motor decreases to a first preset current threshold i.sub.9 at a moment t.sub.9, and the motor controller controls the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3 to be turned on, so that the current i of the motor starts to increase from i.sub.9, and increases to a second preset current threshold i.sub.10 at a moment t.sub.10. At the moment t.sub.10, the motor controller controls the first switching transistor Q.sub.121 of the bridge arm 2 or the first switching transistor Q.sub.131 of the bridge arm 3 to be turned off. The second preset current threshold i.sub.10 is greater than the first preset current threshold i.sub.9.
[0146] Optionally, the first preset current threshold i.sub.9 may be any value in a first current threshold curve, and the second preset current threshold i.sub.10 may be any value in a second current threshold curve. In this case, for the current of the motor, refer to (c) in
[0147] In another possible implementation, because energy stored in the capacitor C.sub.11 is small, the motor controller can control the switching transistors of the bridge arms, so that the capacitor C.sub.11 first freewheels the motor, and then is switched to the power battery to freewheel the motor.
[0148]
[0149] At the moment t.sub.11, the direct current power supply 11 stops supplying power to the power battery 12, and the capacitor C.sub.11 replaces the direct current power supply 11 to supply power to the motor. However, because the capacitor C.sub.11 is small, the current i of the motor decreases between the moment t.sub.11 and a moment t.sub.12.
[0150] At the moment t.sub.12, the motor controller detects that the direct current power supply stops supplying power, and further controls the first switching transistor Q.sub.121 of the bridge arm 2 and the second switching transistor Q.sub.132 of the bridge arm 3, or the first switching transistor Q.sub.131 of the bridge arm 3 and the second switching transistor Q.sub.122 of the bridge arm 2 to be turned on. In this case, the power battery 12 freewheels the motor, so that the current of the motor rises back and is in a controlled state. Further, the motor controller can control turning-on duration of the second switching transistor Q.sub.132 of the bridge arm 3 or the second switching transistor Q.sub.122 of the bridge arm 2, so that the current of the motor can slowly decrease until the current decreases to 0 at a moment t.sub.13. Because the torque of the motor does not quickly decrease to 0 at an ms level, the slipping sound of the mechanical structure is weakened and the NVH performance of the vehicle is improved.
[0151] It should be understood that, after the current of the motor rises back, the motor controller can further maintain the current of the motor by controlling the switching transistor of each bridge arm.
[0152] It should be noted that an interval between t.sub.12 and t.sub.13 is long, and can reach a second (s) level.
[0153] It should be noted that all manners in which the motor controller shown in
[0154] As an example instead of a limitation, after the direct current power supply 11 stops supplying power for first preset duration, the motor controller can further control, based on the second duty cycle, the first switching transistor Q.sub.121 of the bridge arm 2 to be turned on and control the second switching transistor Q.sub.132 of the bridge arm 3 to be turned on. Alternatively, the first switching transistor Q.sub.131 of the bridge arm 3 is controlled to be turned on and the second switching transistor Q.sub.122 of the bridge arm 2 is controlled to remain turned on based on the second duty cycle, so that the capacitor Cu supplies power to the motor and the power battery 12 supplies power to the motor (not shown in the figure).
[0155] It should be noted that the motor controller provided in this embodiment of this application may further include an inverter circuit of another topology.
[0156] As an example instead of a limitation,
[0157] It should be understood that for specific descriptions of a connection manner and a quantity of relays in
[0158] It should be understood that an implementation principle in which the motor controller reuses the motor winding in the motor to boost a voltage output by the direct current power supply 141 and provide the voltage to the power battery 142 is the same as that in
[0159] It should be understood that, after the direct current power supply 141 stops supplying power, the motor controller can control switching transistors in each bridge arm, and perform freewheeling on the motor through the power battery, or perform freewheeling on the motor through the capacitor C.sub.11, or first perform freewheeling on the motor through the capacitor C.sub.11, and then switch to perform freewheeling on the motor by using the power battery. This is not limited in embodiments of this application. For a specific implementation principle, refer to the description in
[0160] The foregoing descriptions are merely specific implementations of this application, but are not intended to limit the protection scope of this application. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.