Motor control method, system and electric vehicle
The hidden Markov model predicts the temperature of the motor and power module, limits the motor output power in advance, solves the problem of motor overheating in electric vehicles under low speed and high torque conditions, and achieves effective protection of the motor system and vehicle safety.
Patent Information
- Application Number
- CN202210604373.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-05-31
AI Technical Summary
In the low-speed and high-torque state of electric vehicles, the motor controller and power module are prone to overheating, causing temperature accumulation and delayed monitoring, which may lead to unpredictable safety incidents.
By collecting the actual temperatures of the power module and motor, a hidden Markov model is established for prediction, the motor output power is limited in advance to avoid overheating, and the motor status is dynamically adjusted using preset temperature thresholds and timing mechanisms.
Effectively predict and control the over-temperature risk of the motor and power module, reduce the risk of failure, ensure the power and safety of the vehicle, and provide more stable control logic.
Smart Images

Figure CN114977978B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electric vehicle motor control, and in particular relates to a motor control method, system and an electric vehicle. Background Art
[0002] When electric vehicles are facing steep driving environments or other situations where the driving torque may be less than the corresponding resistance torque that needs to be offset, the motor is often in a low-speed, high-torque operating state. If the vehicle driver keeps the throttle open for a long time, the motor will run at a very high torque; and at this time, the motor is in a low-speed or even stalled state, and the motor position remains basically unchanged. The current in the motor controller is output in the form of direct current, and at the same time, the power module on the motor controller will pass a very large current. This very large current will quickly generate a lot of heat in the power module and quickly accumulate. The large amount of heat generated by the power module and gathered together can easily cause the motor controller or motor to burn out, which will have a serious impact on the safe driving of the electric vehicle.
[0003] Faced with this kind of working condition, the general control logic is to monitor the actual temperature of the motor or the actual temperature of the power module in real time. When the actual temperature of the motor or the actual temperature of the power module reaches the critical value, the motor output power is limited. At this time, the whole vehicle may report a serious fault and cannot recover by itself, and the driver needs to power on again to resume driving. This control method has hysteresis, because the accumulation and rise of temperature has a delay. When the temperature rises to the critical value, even if the power supply is cut off immediately, the temperature will continue to rise for a certain period of time, which will have a serious impact on the safe driving of the vehicle and may cause some unpredictable safety incidents. Summary of the invention
[0004] The purpose of the present invention is to provide a motor control method, system and electric vehicle, so as to predict and control the over-temperature risk of the motor and power module in advance and effectively protect the motor system.
[0005] The motor control method of the present invention comprises:
[0006] With t xs As the sampling period, the actual temperature T of the power module is collected switch and the actual motor temperature T em , and store.
[0007] If the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset power module first temperature threshold T0, or the actual motor temperature T at the current moment em If the temperature is greater than or equal to the preset first motor temperature threshold T1, the motor output power is limited, so that the motor state is a power-limited state.
[0008] If the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em If the value is less than the preset first motor temperature threshold T1, and the number of stored actual power module temperatures and the number of actual motor temperatures are both greater than or equal to the preset number threshold N, the latest N power module actual temperatures T collected (and stored) are used. switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch , using the latest N motor actual temperatures T collected (and stored) em Establish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em .
[0009] If the power module predicts the temperature T' switch Greater than or equal to the preset power module first temperature threshold T0, or the motor predicted temperature T' em If the temperature is greater than or equal to the preset first motor temperature threshold T1, the motor output power is limited, so that the motor state is a power-limited state.
[0010] Preferably, when the current motor state is in the power-limited state, if the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em If the temperature is less than the preset motor first temperature threshold T1, it indicates that the power module and the motor are no longer in an over-temperature (high fever) state. In this case, the motor output power limit is canceled and the motor state is restored to a non-power-limited state (i.e., the motor returns to the rated output power state) to ensure the vehicle's power.
[0011] Preferably, when the current motor state is in the power-limited state, if the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset power module first temperature threshold T0, or the actual motor temperature T at the current moment em If the value is greater than or equal to the preset motor first temperature threshold T1, and the number of stored power module actual temperatures and the number of motor actual temperatures are both greater than or equal to the preset number threshold N, the latest N power module actual temperatures T1 collected are used to calculate the value of the motor actual temperature. switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch , using the latest N motor actual temperatures T collected emEstablish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em If the power module predicts the temperature T' switch is less than the preset power module first temperature threshold T0, and the motor predicted temperature T' em If the temperature is less than the preset motor first temperature threshold T1, it indicates that the power module and the motor may no longer be in an over-temperature (high fever) state. In this case, the motor output power limit is canceled and the motor state is restored to a non-power-limited state (i.e., the motor returns to the rated output power state) to ensure the vehicle's power.
[0012] Preferably, when the motor output power is limited, the power limit timer will start. When the current motor state is the power limit state, if the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em The temperature is less than the preset motor first temperature threshold T1, and the power limit timing time is the sampling period t xs If the power module and the motor are no longer in an over-temperature (high fever) state, the motor output power limit is canceled, the power limit timing is cleared, and the motor state is set to a non-power limit state (that is, the motor is restored to the rated output power state) to ensure the vehicle's power. xs The integer multiple of is used as the power limiting time to avoid sudden changes in the motor output power and ensure the continuity of control.
[0013] Preferably, when the motor output power is limited, the power limit timer will start. When the current motor state is the power limit state, if the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset power module first temperature threshold T0, or the actual motor temperature T at the current moment em If the value is greater than or equal to the preset motor first temperature threshold T1, and the number of stored power module actual temperatures and the number of motor actual temperatures are both greater than or equal to the preset number threshold N, the latest N power module actual temperatures T1 collected are used to calculate the value of the motor actual temperature. switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch , using the latest N motor actual temperatures T collected em Establish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em If the power module predicts the temperature T' switch is less than the preset power module first temperature threshold T0, and the motor predicted temperature T' emThe temperature is less than the preset motor first temperature threshold T1, and the power limit timing time is the sampling period t xs If the power module and the motor are not in an over-temperature (high fever) state, the motor output power limit is canceled, the power limit timing is cleared, and the motor state is set to a non-power limit state (that is, the motor is restored to the rated output power state) to ensure the vehicle's power. xs The integer multiple of is used as the power limiting time to avoid sudden changes in the motor output power and ensure the continuity of control.
[0014] Preferably, the actual temperature of the power module is switch The actual motor temperature T is detected by the temperature sensor integrated in the power module of the motor controller. em Detected by the temperature sensor integrated in the motor.
[0015] Preferably, the specific method of limiting the motor output power is:
[0016] If the actual temperature of the power module at the current moment is T switch is less than the preset second temperature threshold T2 of the power module, and the actual motor temperature T em If the motor temperature is lower than the preset second temperature threshold T3, the motor output power is limited to A% of the rated power.
[0017] If the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset second temperature threshold T2 of the power module, or the actual temperature T of the motor at the current moment em If the temperature is greater than or equal to the preset second motor temperature threshold T3, the motor output power is limited to 0.
[0018] Among them, T2> T0, T3> T1, 50% <A%<85%。
[0019] If the power module or motor is judged to be overheated, but the temperature is not too high, the motor output power is limited to A% of the rated power to reduce the heat power of the motor. Under the premise of ensuring safety, the motor performance will not be reduced too much, and the driver will not feel psychological discomfort due to sudden power outage. If the power module or motor is judged to be overheated and the temperature is too high, the motor output power is limited to 0, which can avoid the motor controller or motor from burning out and avoid some unpredictable safety incidents.
[0020] Preferably, the specific method of limiting the motor output power is:
[0021] If the power module predicts the temperature T' switch is less than the preset second temperature threshold T2 of the power module, and the predicted motor temperature T'em If the motor temperature is lower than the preset second temperature threshold T3, the motor output power is limited to A% of the rated power.
[0022] If the power module predicts the temperature T' switch Greater than or equal to the preset power module second temperature threshold T2, or the motor predicted temperature T' em If the temperature is greater than or equal to the preset second motor temperature threshold T3, the motor output power is limited to 0.
[0023] Among them, T2> T0, T3> T1, 50% <A%<85%。
[0024] If it is predicted that the power module or motor may be overheated, but the temperature is not too high, the motor output power is limited to A% of the rated power to reduce the motor's heat power. Under the premise of ensuring safety, the motor performance will not be reduced too much, and the driver will not feel psychological discomfort due to sudden power outage. If it is predicted that the power module or motor may be overheated, and the temperature is too high, the motor output power is limited to 0, which can avoid the motor controller or motor from burning out and avoid some unpredictable safety incidents.
[0025] Preferably, the value of A% is 80%. Limiting the motor output power to 80% of the rated power is a relatively appropriate value, which not only reduces the heating power of the motor, but also ensures that the motor performance will not be reduced too much.
[0026] The motor control system of the present invention comprises a motor controller, and the motor controller is programmed to execute the above motor control method.
[0027] The electric vehicle described in the present invention includes the above-mentioned motor control system.
[0028] The present invention uses the actual temperature of the power module and the actual temperature of the motor in N cycles to build a model, and predicts the power module temperature and the motor temperature in the next sampling cycle, to obtain the predicted temperature of the power module and the predicted temperature of the motor, and uses the predicted temperature of the power module and the predicted temperature of the motor to predict whether an over-temperature situation occurs, and when it is predicted that an over-temperature situation may exist, the output power of the motor is limited, thereby effectively controlling the risk of over-temperature of the power module and the motor in advance, reducing the risk of failure of the motor system, effectively protecting the motor system, and also bringing more stable and effective control logic to the whole vehicle control. The present invention is very suitable for electric vehicle motors at low speed or stalled and other scenarios that may cause over-temperature due to large current. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a flow chart of the motor control method in this embodiment. DETAILED DESCRIPTION
[0030] like Figure 1 As shown, the motor control method in this embodiment is executed by a motor controller, and the method includes:
[0031] Step S1: xs As the sampling period, the actual temperature T of the power module is collected switch and the actual motor temperature T em , and store it, and then execute step S2. The actual temperature of the power module T switch The actual motor temperature T is detected by the temperature sensor integrated in the power module of the motor controller. em The actual temperature of the power module is detected by the temperature sensor integrated in the motor. switch and the actual motor temperature T em It can also be obtained in other ways.
[0032] Step S2: Determine whether the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em is less than the preset first motor temperature threshold T1; if so, execute step S3, otherwise (ie, T switch ≥T0 or T em ≥T1), step S10 is performed. The preset power module first temperature threshold T0 and the preset motor first temperature threshold T1 are determined according to different types of motor controllers and different models of motors.
[0033] Step S3, determine whether the current motor state is a power-limited state, if yes, execute step S17, otherwise execute step S4.
[0034] Step S4, determine whether the stored actual temperature numbers of the power module and the actual temperature numbers of the motor are both greater than or equal to a preset number threshold N (such as 10), if so, execute step S5, otherwise return to execute step S1.
[0035] Step S5: Determine the predicted temperature T' of the power module switch and the predicted motor temperature T' em , then execute step S6.
[0036] Specifically: using the latest collected (and stored) actual temperatures T of N power modules switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch ; Using the latest N motor actual temperatures T collected (and stored) emEstablish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em .
[0037] Step S6: Determine whether the power module predicted temperature T' switch is less than the preset power module first temperature threshold T0, and the motor predicted temperature T' em is less than the preset first motor temperature threshold T1, if so, return to step S1, otherwise (ie T' switch ≥T0 or T' em ≥T1) execute step S7.
[0038] Step S7: Determine whether the power module predicted temperature T' switch is less than the preset second temperature threshold T2 of the power module, and the predicted motor temperature T' em is less than the preset second temperature threshold T3 of the motor. If so, execute step S8, otherwise execute step S9. The preset second temperature threshold T2 of the power module and the preset second temperature threshold T3 of the motor are determined according to different types of motor controllers and different models of motors. Wherein, T2> T0, T3> T1.
[0039] Step S8, limit the motor output power to 80% of the rated power (for example, linearly adjust to 80% of the rated power), make the motor state to the power limit state, start the power limit timer, and then return to step S1. The percentage of the motor output power limit can also be other values, such as limiting to 75%, 65% of the rated power, etc.
[0040] Step S9, limit the motor output power to 0, make the motor state into the power limited state, start the power limited timing, and then return to execute step S1.
[0041] Step S10, determine whether the current motor state is a power-limited state, if yes, execute step S14, otherwise execute step S11.
[0042] Step S11: Determine whether the actual temperature of the power module at the current moment is T switch is less than the preset second temperature threshold T2 of the power module, and the actual motor temperature T em is less than a preset second motor temperature threshold T3, if so, execute step S12, otherwise execute step S13.
[0043] Step S12, limit the motor output power to 80% of the rated power (for example, linearly adjust to 80% of the rated power), make the motor state to the power limit state, start the power limit timer, and then execute step S14. The percentage of the motor output power limit can also be other values, such as limiting to 75%, 65% of the rated power, etc.
[0044] Step S13, limiting the motor output power to 0, making the motor state a power-limited state, and starting the power-limited timing, and then executing step S14.
[0045] Step S14, determine whether the stored actual temperature numbers of the power module and the actual temperature numbers of the motor are both greater than or equal to a preset number threshold N (such as 10), if so, execute step S15, otherwise return to execute step S1.
[0046] Step S15: Determine the predicted temperature T' of the power module switch and the predicted motor temperature T' em , then execute step S16.
[0047] Specifically: using the latest collected (and stored) actual temperatures T of N power modules switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch ; Using the latest N motor actual temperatures T collected (and stored) em Establish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em .
[0048] Step S16: Determine whether the power module predicted temperature T' switch is less than the preset power module first temperature threshold T0, and the motor predicted temperature T' em is less than the preset first motor temperature threshold T1, if so, execute step S17, otherwise (ie T' switch ≥T0 or T' em ≥T1) returns to step S1.
[0049] Step S17: Determine whether the power limit timing time is the sampling period t xs is an integer multiple of , if , execute step S18, otherwise continue to execute step S17.
[0050] Step S18, cancel the motor output power limit, clear the power limit timing time, make the motor state to the non-power limit state (that is, the motor returns to the rated power output state), and then return to step S1.
[0051] This embodiment also provides a motor control system, including a motor controller, wherein the motor controller is programmed to execute the above motor control method.
[0052] This embodiment also provides an electric vehicle, which includes the above-mentioned motor control system.
Claims
1. A motor control method, characterized in that: include: With t xs As the sampling period, the actual temperature T of the power module is collected switch and the actual motor temperature T em , and store; If the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset power module first temperature threshold T0, or the actual motor temperature T at the current moment em If the motor temperature is greater than or equal to the preset first motor temperature threshold T1, the motor output power is limited to set the motor state to a power-limited state; If the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em If the actual temperature of the motor is less than the preset first temperature threshold T1, and the number of stored actual temperatures of the power module and the actual temperature of the motor are both greater than or equal to the preset number threshold N, the latest N actual temperatures of the power module collected are used. switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch , using the latest N motor actual temperatures T collected em Establish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em ; If the power module predicts the temperature T' switch Greater than or equal to the preset power module first temperature threshold T0, or the motor predicted temperature T' em If the motor temperature is greater than or equal to the preset first motor temperature threshold T1, the motor output power is limited to set the motor state to a power-limited state; When the current motor state is in the power-limited state, if the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset power module first temperature threshold T0, or the actual motor temperature T at the current moment em If the value is greater than or equal to the preset motor first temperature threshold T1, and the number of stored power module actual temperatures and the number of motor actual temperatures are both greater than or equal to the preset number threshold N, the latest N power module actual temperatures T1 collected are used to calculate the value of the motor actual temperature. switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch , using the latest N motor actual temperatures T collected em Establish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em ; If the power module predicts the temperature T' switch is less than the preset power module first temperature threshold T0, and the motor predicted temperature T' em If the motor temperature is less than the preset first motor temperature threshold T1, the motor output power limitation is cancelled, and the motor state is set to a non-power limited state.
2. The motor control method according to claim 1, characterized in that: When the current motor state is in the power-limited state, if the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em If the motor temperature is less than the preset first motor temperature threshold T1, the motor output power limitation is cancelled, and the motor state is set to a non-power limited state.
3. The motor control method according to claim 1, characterized in that: When the motor output power starts to be limited, the power limit timer starts; When the current motor state is in the power-limited state, if the actual temperature of the power module at the current moment is T switch is less than the preset first temperature threshold T0 of the power module, and the actual motor temperature T em The temperature is less than the preset motor first temperature threshold T1, and the power limit timing time is the sampling period t xs If the value is an integer multiple of , the motor output power limit is cancelled, the power limit timing time is cleared, and the motor state is set to a non-power limit state.
4. The motor control method according to claim 1, characterized in that: When the motor output power starts to be limited, the power limit timer starts; When the current motor state is in the power-limited state, if the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset power module first temperature threshold T0, or the actual motor temperature T at the current moment em If the value is greater than or equal to the preset motor first temperature threshold T1, and the number of stored power module actual temperatures and the number of motor actual temperatures are both greater than or equal to the preset number threshold N, the latest N power module actual temperatures T1 collected are used to calculate the value of the motor actual temperature. switch Establish hidden Markov model I, and predict the power module temperature based on hidden Markov model I to obtain the power module predicted temperature T' switch , using the latest N motor actual temperatures T collected em Establish hidden Markov model II, and predict the motor temperature based on hidden Markov model II to obtain the predicted motor temperature T' em ; If the power module predicts the temperature T' switch is less than the preset power module first temperature threshold T0, and the motor predicted temperature T' em The temperature is less than the preset motor first temperature threshold T1, and the power limit timing time is the sampling period t xs If the value is an integer multiple of , the motor output power limit is cancelled, the power limit timing time is cleared, and the motor state is set to a non-power limit state.
5. The motor control method according to claim 1, characterized in that: The actual temperature of the power module T switch The actual motor temperature T is detected by the temperature sensor integrated in the power module of the motor controller. em Detected by the temperature sensor integrated in the motor.
6. The motor control method according to any one of claims 1 to 5, characterized in that: The specific ways to limit the motor output power are: If the actual temperature of the power module at the current moment is T switch is less than the preset second temperature threshold T2 of the power module, and the actual motor temperature T em If the motor temperature is lower than the preset second temperature threshold T3, the motor output power is limited to A% of the rated power; If the actual temperature of the power module at the current moment is T switch Greater than or equal to the preset second temperature threshold T2 of the power module, or the actual temperature T of the motor at the current moment em If the motor temperature is greater than or equal to the preset second motor temperature threshold T3, the motor output power is limited to 0; Among them, T2> T0, T3> T1, 50% <A%<85%。 7. The motor control method according to any one of claims 1 to 5, characterized in that: The specific ways to limit the motor output power are: If the power module predicts the temperature T' switch is less than the preset second temperature threshold T2 of the power module, and the predicted motor temperature T' em If the motor temperature is lower than the preset second temperature threshold T3, the motor output power is limited to A% of the rated power; If the power module predicts the temperature T' switch Greater than or equal to the preset power module second temperature threshold T2, or the motor predicted temperature T' em If the motor temperature is greater than or equal to the preset second motor temperature threshold T3, the motor output power is limited to 0; Among them, T2> T0, T3> T1, 50% <A%<85%。 8. The motor control method according to claim 7, characterized in that: The value of A% is 80%.
9. A motor control system, comprising a motor controller, characterized in that: The motor controller is programmed to execute the motor control method according to any one of claims 1 to 8.
10. An electric vehicle, characterized in that: Comprising the motor control system as claimed in claim 9.
