Methods, devices, equipment and media for controlling the power limits of electric motors
By monitoring battery status, current, and voltage in real time and dynamically adjusting motor power limits, the problem of motor power exceeding limits is solved, achieving motor safety protection and stable vehicle operation.
Patent Information
- Application Number
- CN202310659879.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-06-06
AI Technical Summary
Existing technologies cannot effectively prevent motor power from exceeding the limit, which can lead to damage to the motor control system and the motor itself.
By acquiring the battery's voltage and current in real time, the actual power and rate of change of the battery are determined, and the power limit of the motor is adjusted to ensure that the motor power does not exceed the limit. Dynamic adjustments are made using the battery's rated power, the power consumption of accessories, and the actual power change rate.
It effectively avoids motor power exceeding limits, protects the motor control system and the motor itself, and ensures vehicle driving safety and smooth torque output.
Smart Images

Figure CN116766953B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle control, and in particular relates to a method, device, electronic device and computer-readable storage medium for controlling the motor power limit of an electric device. Background Technology
[0002] During vehicle operation, the motor is driven and controlled by the motor control system. If the motor power rises above the limit value when the motor control system controls the motor to drive the load, the motor control system will experience abnormal operation due to excessive temperature rise and damage to power devices, and the motor itself will also be damaged.
[0003] In existing technologies, when the motor power exceeds the limit, the vehicle controller needs to derive a correction coefficient based on the duration of the battery charging and discharging overpower to correct the limit of the motor system's drive or power generation. By adjusting the power limit allocated to the motor system, the target torque of the motor system can be adjusted, thereby reducing the magnitude and duration of the overpower charging and discharging of the power battery, protecting the battery system, and ensuring the vehicle's driving safety.
[0004] However, existing technology can only adjust the power limit when the motor power exceeds the limit, and cannot prevent the motor power from exceeding the limit.
[0005] Based on this, the present invention is proposed. Summary of the Invention
[0006] This application provides a method, apparatus, electronic device, and computer-readable storage medium for controlling the motor power limit of an electric device, which can effectively ensure that the motor power does not exceed the limit value during motor operation.
[0007] In a first aspect, embodiments of this application provide a method for controlling the motor power limit of an electric device, the electric device including a battery and accessories, wherein the method includes:
[0008] Based on the current state of the battery, obtain the battery's rated power and the power consumption of the accessories;
[0009] Real-time acquisition of battery voltage and current to determine the actual battery power and the rate of change of actual battery power at the current moment;
[0010] Determine whether the difference between the battery's rated power and the battery's actual power at the current moment meets the preset conditions;
[0011] When the difference between the battery's rated power and the battery's actual power at the current moment meets the preset conditions, the power limit of the motor is adjusted according to the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the target power limit of the motor.
[0012] The target torque of the motor is determined based on the target power limit of the motor.
[0013] Optionally, when the difference between the battery's rated power and the battery's actual power at the current moment meets a preset condition, the motor's power limit is adjusted based on the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the motor's target power limit, including:
[0014] The power reduction adjustment step size is determined based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment.
[0015] According to the power reduction adjustment step size, the power limit of the motor is adjusted by reducing the power and the first comparison value after each adjustment is determined;
[0016] When the actual battery power is greater than or equal to the first comparison value, stop the power reduction adjustment and determine the target cumulative power reduction value;
[0017] The target power limit of the motor is determined based on the target cumulative power reduction value.
[0018] Optionally, the power limit of the motor is adjusted by reducing the power according to the power reduction adjustment step size, and the first comparison value after each adjustment is determined, including:
[0019] For any given adjustment, determine the current cumulative power reduction value based on the power reduction adjustment step size;
[0020] The current motor power limit is determined based on the battery's rated power, the power consumption of the accessories, and the current cumulative power reduction value.
[0021] Based on the current motor power limit, determine the current first comparison value.
[0022] Optionally, based on the target cumulative power reduction value, the target power limit of the motor is determined, including:
[0023] Determine the power reduction adjustment time based on the current motor power limit;
[0024] When the power reduction adjustment time exceeds the preset first threshold, the target power limit of the motor is determined based on the target cumulative power reduction value.
[0025] Optionally, determining the target power limit for the motor based on the target cumulative power reduction value also includes:
[0026] Based on the current motor power limit, a second comparison value is determined, which is less than the first comparison value;
[0027] When the power reduction adjustment time is less than or equal to the preset first threshold and the actual battery power is less than or equal to the second comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the change rate of the actual battery power at the current moment.
[0028] Optionally, when the power reduction adjustment time exceeds a preset first threshold, a target power limit for the motor is determined based on the target cumulative power reduction value, including:
[0029] Based on the current motor power limit, a third comparison value is determined, which is greater than the first comparison value.
[0030] When the actual power of the battery is greater than the third comparison value, the target power limit of the motor is determined based on the target cumulative power reduction value.
[0031] Optionally, when the power reduction adjustment time exceeds a preset first threshold, a target power limit for the motor is determined based on the target cumulative power reduction value, further including:
[0032] When the actual battery power is less than or equal to the third comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment, as well as the rate of change of the actual power of the battery at the current moment.
[0033] Optionally, when the difference between the battery's rated power and the battery's actual power at the current moment meets a preset condition, the motor's power limit is adjusted based on the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the motor's target power limit. This also includes:
[0034] When the actual battery power is less than the first comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment, as well as the rate of change of the actual power of the battery at the current moment.
[0035] Optionally, the power limit of the motor can be adjusted by increasing the power output based on the difference between the rated power of the battery and the actual power of the battery at the current moment, as well as the rate of change of the actual power of the battery at the current moment. This includes:
[0036] The step size for adjusting the boost power and the step size for restoring the power are determined based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment.
[0037] The power limit of the motor is adjusted by increasing the power step size and restoring the power step size, and the fourth comparison value is determined after each adjustment.
[0038] The initial power limit of the motor is determined based on the rated power of the battery and the power consumption of the accessories;
[0039] When the fourth comparison value is greater than the initial power limit of the motor, stop the power increase adjustment and determine the target cumulative power increase value and the target cumulative recovery power value;
[0040] The target power limit of the motor is determined based on the target cumulative power increase value and the target cumulative recovery power value.
[0041] Optionally, adjusting the motor's power limit by increasing the power output based on the difference between the battery's rated power and its actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment, further includes:
[0042] If the fourth comparison value is less than or equal to the initial power limit of the motor, stop the power increase adjustment and return to the step of redetermining the initial power limit of the motor.
[0043] Secondly, embodiments of this application provide a control device for the motor power limit of an electric device, the device comprising:
[0044] The first acquisition module is used to acquire the battery's rated power and the power consumption of the accessories based on the battery's current state.
[0045] The second acquisition module is used to acquire the battery voltage and current in real time, and determine the actual battery power and the rate of change of the actual battery power at the current moment.
[0046] The judgment module is used to determine whether the difference between the battery's rated power and the battery's actual power at the current moment meets the preset conditions.
[0047] The adjustment module is used to adjust the power limit of the motor according to the rated power of the battery, the power consumption of the accessories, the actual power of the battery at the current moment and the rate of change of the actual power of the battery, when the difference between the rated power of the battery and the actual power of the battery at the current moment meets the preset conditions, so as to obtain the target power limit of the motor.
[0048] The determination module is used to determine the target torque of the motor based on the target power limit of the motor.
[0049] Optionally, the adjustment module includes: a first determining unit, used to determine the power reduction adjustment step size based on the difference between the battery's rated power and the battery's actual power at the current moment, and the battery's actual power change rate at the current moment; a second determining unit, used to adjust the motor's power limit according to the power reduction adjustment step size and determine the first comparison value after each adjustment; a third determining unit, used to stop the power reduction adjustment and determine the target cumulative power reduction value when the battery's actual power is greater than or equal to the first comparison value; and a fourth determining unit, used to determine the target power limit of the motor based on the target cumulative power reduction value.
[0050] Optionally, the second determining unit is used to determine the current cumulative power reduction value based on the power reduction adjustment step size for any adjustment; determine the current motor power limit based on the battery rated power, the power consumption of the accessories and the current cumulative power reduction value; and determine the current first comparison value based on the current motor power limit.
[0051] Optionally, the fourth determining unit is used to determine the power reduction adjustment time based on the current motor power limit; when the power reduction adjustment time is greater than a preset first threshold, the target power limit of the motor is determined according to the target cumulative power reduction value.
[0052] Optionally, the fourth determining unit is further configured to determine a second comparison value based on the current motor power limit, wherein the second comparison value is less than the first comparison value; when the power reduction adjustment time is less than or equal to a preset first threshold and the actual battery power is less than or equal to the second comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual battery power at the current moment and the change rate of the actual battery power at the current moment.
[0053] Optionally, a third determining unit is used to determine a third comparison value based on the current motor power limit, wherein the third comparison value is greater than the first comparison value; and when the actual battery power is greater than the third comparison value, to determine the target power limit of the motor based on the target cumulative power reduction value.
[0054] Optionally, the third determining unit is also used to adjust the power limit of the motor by increasing the power when the actual power of the battery is less than or equal to the third comparison value, based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the rate of change of the actual power of the battery at the current moment.
[0055] Optionally, the third determining unit is also used to adjust the power limit of the motor by increasing the power when the actual power of the battery is less than the first comparison value, based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the rate of change of the actual power of the battery at the current moment.
[0056] Optionally, the third determining unit is further configured to: determine the power increase adjustment step size and the recovery power step size based on the difference between the battery's rated power and the battery's actual power at the current moment, and the battery's actual power change rate at the current moment; adjust the motor's power limit according to the power increase adjustment step size and the recovery power step size, and determine the fourth comparison value after each adjustment; determine the motor's initial power limit based on the battery's rated power and the power consumption of the accessories; stop the power increase adjustment and determine the target cumulative power increase value and the target cumulative recovery power value when the fourth comparison value is greater than the motor's initial power limit; and determine the motor's target power limit based on the target cumulative power increase value and the target cumulative recovery power value.
[0057] Optionally, the third determining unit is also used to stop the power increase adjustment and return to the step of redetermining the initial power limit of the motor when the fourth comparison value is less than or equal to the initial power limit of the motor.
[0058] Thirdly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement a control method for the motor power limit of the electric device as described in the first aspect above.
[0059] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement a control method for the motor power limit of an electric device as described in the first aspect above.
[0060] This application discloses a method, apparatus, electronic device, and computer-readable storage medium for controlling the motor power limit of an electric device. Specifically, it obtains the battery's rated power and accessory power consumption based on the battery's current state, then acquires the battery's voltage and current in real time, determines the battery's actual power and its rate of change, and judges whether the difference between the battery's rated power and its actual power at the current moment meets a preset condition. If the difference meets the preset condition, the motor's power limit is adjusted based on the battery's rated power, accessory power consumption, actual power, and its rate of change to obtain a target power limit for the motor. Based on the target power limit, the target torque of the motor is determined. During motor operation, this application uses the battery's rated power, accessory power consumption, and actual power consumption to determine whether the current motor power meets the preset condition. If the preset condition is met, the current motor power is used as the torque realization condition to ensure that the limit is not exceeded. Attached Figure Description
[0061] To more clearly illustrate the specific embodiments of this application or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0062] Figure 1 A flowchart illustrating a method for controlling the motor power limit of an electric device, provided as an embodiment of this application;
[0063] Figure 2 A flowchart illustrating a method for controlling the motor power limit of an electric device, provided as an embodiment of this application;
[0064] Figure 3 A flowchart illustrating a method for controlling the motor power limit of an electric device, provided as an embodiment of this application;
[0065] Figure 4 A flowchart illustrating a method for controlling the motor power limit of an electric device, provided as an embodiment of this application;
[0066] Figure 5 A flowchart illustrating a method for controlling the motor power limit of an electric device, provided as an embodiment of this application;
[0067] Figure 6 A schematic diagram of a method for controlling the motor power limit of an electric device, provided as an embodiment of this application;
[0068] Figure 7 A structural diagram of a control device for limiting the motor power of an electric device provided for an embodiment of this application;
[0069] Figure 8 This is a structural diagram of an electronic device provided as an embodiment of the present application. Detailed Implementation
[0070] To make the above and other features and advantages of this application clearer, the application is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explanation to those skilled in the art, and are exemplary only, not limiting.
[0071] In the following description, numerous specific details are set forth to provide a thorough understanding of this application. However, it will be apparent to those skilled in the art that the specific details are not required to practice this application. In other instances, well-known steps or operations have not been described in detail to avoid obscuring this application.
[0072] The method for controlling the motor power limit of an electric device provided in this application embodiment can be executed by the control device for controlling the motor power limit of an electric device provided in this application embodiment, and the device can be configured in an electronic device.
[0073] refer to Figure 1 This application provides a method for controlling the motor power limit of an electric device, the method comprising:
[0074] Step S11: Based on the current state of the battery, obtain the rated power of the battery and the power consumption of the accessories.
[0075] Specifically, in this application, the vehicle control unit (VCU) can serve as the implementing entity. The VCU can establish a communication relationship with the battery management system (BMS), and the BMS can establish a communication relationship with the battery. Based on the current state of the battery, the VCU can obtain the battery's rated power and the power consumption of accessories from the BMS. This application can effectively determine the maximum operating limit of the battery using its rated power, and then effectively determine the motor power limit, i.e., the maximum power of the motor during operation, based on the power consumption of accessories.
[0076] Optional accessories may include: electric compressors, high-pressure heaters, high-pressure electrical accessories, and other electrical equipment.
[0077] It should be noted that the battery management system can calculate the battery's maximum charging power, maximum discharging power, and actual power consumption. The calculation of the actual power consumption will be described in detail below.
[0078] In an optional embodiment, the current state of the battery may include a charging state and a discharging state. When the battery is currently in a charging state, its rated power is the maximum allowable discharge power; when the battery is currently in a discharging state, its rated power is the maximum allowable feedback power. By determining the rated power of the battery in different battery states, the motor power limit can be determined more accurately.
[0079] In an optional embodiment, when the battery is currently in a discharging state, the value of P1 can be calculated using the formula: P1 = Maximum allowable discharge power of the battery - Power consumption of the accessory - First undetermined power. When the battery is currently in a charging state, the value of P2 can be calculated using the formula: P2 = Maximum allowable regenerative power of the battery + Power consumption of the accessory - First undetermined power. It should be noted that P1 can be the maximum allowable discharge power of the battery, and P2 can be the maximum allowable regenerative power of the battery.
[0080] Optionally, the second undetermined power can be 1kW, and the first undetermined power can be 2kW.
[0081] Step S13: Obtain the battery voltage and current in real time to determine the actual battery power and the rate of change of the actual battery power at the current moment.
[0082] Specifically, in this application, according to P = UI, where U is the battery voltage, I is the battery current, and P is the actual battery power, the battery voltage and current are acquired in real time during different operating processes, enabling accurate determination of the actual battery power and the rate of change of actual battery power at each moment. The power step size can be obtained by looking up the rate of change of actual battery power at each moment, thereby adjusting the motor power limit.
[0083] Step S15: Determine whether the difference between the battery's rated power and the battery's actual power at the current moment meets the preset conditions.
[0084] Specifically, in this application, when the vehicle controller obtains the battery's rated power and the actual battery power at the current moment, it can determine whether the difference between the battery's rated power and the actual battery power at the current moment meets a preset condition. It should be noted that the preset condition can be a set value, such as 2kW.
[0085] In an optional embodiment, the formula: maximum allowable discharge / feedback power of battery - actual battery power ≤ A (to be determined value TBD) can be used to determine step S15.
[0086] Step S17: When the difference between the battery's rated power and the battery's actual power at the current moment meets the preset conditions, the power limit of the motor is adjusted according to the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the target power limit of the motor.
[0087] Step S19: Determine the target torque of the motor based on the target power limit of the motor.
[0088] Specifically, in this application, the vehicle controller can establish a communication relationship with the motor controller. When the vehicle controller determines that the difference between the battery's rated power and the current actual battery power meets a preset condition, i.e., a power reduction adjustment is performed, the specific adjustment method being: the vehicle controller adjusts the motor's power limit based on the battery's rated power, the power consumption of accessories, the current actual battery power, and the rate of change of the actual battery power, to obtain the motor's target power limit. It should be noted that the motor's target power limit can be used to characterize the motor's operating power. The vehicle controller then sends the motor's target power limit to the motor controller, which determines the motor's target torque based on the target power limit.
[0089] When the motor is running, this application can determine whether the current power of the motor meets the preset conditions based on the current state of the battery, the rated power of the battery, the power consumption of the accessories, and the actual power consumption of the battery. When the preset conditions are met, the current power of the motor is used as the torque realization condition to ensure that it will not exceed the limit value, ensure the smoothness of torque output during vehicle acceleration, and avoid torque fluctuations caused by adjusting the allowable power of the motor after power overshoot.
[0090] Combination Figure 2 As shown, in an optional embodiment, step S17 may include:
[0091] Step S171: Determine the power reduction adjustment step size based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the battery's actual power change rate at the current moment.
[0092] Step S173: Adjust the power limit of the motor by reducing the power according to the power reduction adjustment step size and determine the first comparison value after each adjustment.
[0093] Step S175: When the actual power of the battery is greater than or equal to the first comparison value, stop the power reduction adjustment and determine the target cumulative power reduction value.
[0094] Step S177: Determine the target power limit of the motor based on the target cumulative power reduction value.
[0095] In this embodiment, the power reduction adjustment step size can be determined by looking up a table based on the difference between the battery's rated power and the actual battery power at the current moment, as well as the rate of change of the actual battery power at the current moment. Then, the motor's power limit is adjusted according to the power reduction adjustment step size, and a first comparison value is determined after each adjustment. When the actual battery power is greater than or equal to the first comparison value, that is, when the actual battery power can meet the motor's operating requirements, the power reduction adjustment is stopped, and the target cumulative power reduction value is determined, which is the amount by which the motor power limit decreases at this point. Based on the target cumulative power reduction value, the target power limit of the motor is then determined.
[0096] In an optional embodiment, after determining the power reduction adjustment step size and assuming the battery is currently in a discharged state, the value of P3 can be calculated using the formula: P3 = Maximum allowable discharge power of the battery - Power consumption of the accessory - First undetermined power - Target cumulative power reduction value. It should be noted that P3 can be the power limit of the motor when the battery is in a discharged state. Then, the formula: Actual battery power ≥ P3 + Power consumption of the accessory - Second undetermined power is used to determine whether the actual battery power is less than the first comparison value (P3 + Power consumption of the accessory - Second undetermined power).
[0097] With the battery currently charging and the power reduction adjustment step size determined, the value of P4 can be calculated using the formula: P4 = Maximum allowable feedback power of the battery + Power consumption of accessories - First undetermined power - Target cumulative power reduction value. It should be noted that P4 can be the power limit of the motor when the battery is charging. Then, using the formula: Actual battery power ≥ P4 - Power consumption of accessories + Second undetermined power, it can be determined whether the actual battery power is less than the first comparison value (P4 - Power consumption of accessories + Second undetermined power).
[0098] In an optional embodiment, step S173, which involves adjusting the motor's power limit according to a power reduction adjustment step size and determining a first comparison value after each adjustment, may include:
[0099] For any given adjustment, the current cumulative power reduction value is determined based on the power reduction adjustment step size.
[0100] The current motor power limit is determined based on the battery's rated power, the power consumption of accessories, and the current cumulative power reduction value.
[0101] Based on the current motor power limit, determine the current first comparison value.
[0102] In this embodiment, in each adjustment of the motor power limit, the current cumulative power reduction value can be determined according to the power reduction adjustment step size. Based on the battery rated power, the power consumption of the accessories and the current cumulative power reduction value, the current motor power limit (i.e., P3 above) is determined. Then, the first comparison value can be obtained according to the above formula: P3 + power consumption of accessories - second undetermined power.
[0103] In an optional embodiment, the power adjustment step size is determined by a map lookup table based on the slope of the actual battery power change and the difference between the battery's rated power and the actual power.
[0104] Combination Figure 3 As shown, in an optional embodiment, determining the target power limit of the motor based on the target cumulative power reduction value in step S177 may include:
[0105] Step S1771: Determine the power reduction adjustment time based on the current motor power limit.
[0106] Step S1772: When the power reduction adjustment time is greater than the preset first threshold, determine the target power limit of the motor based on the target cumulative power reduction value.
[0107] Combination Figure 4 As shown, in an optional embodiment, when the power reduction adjustment time is greater than a preset first threshold, the target power limit of the motor can be determined based on the target cumulative power reduction value in the following manner:
[0108] Step S17711: Based on the current motor power limit, determine the third comparison value, which is greater than the first comparison value;
[0109] Step S17712: When the actual power of the battery is greater than the third comparison value, determine the target power limit of the motor based on the target cumulative power reduction value.
[0110] In this embodiment, a power reduction adjustment time and a third comparison value are determined based on the current motor power limit. Specifically, when the power reduction adjustment time exceeds a preset first threshold and the actual battery power exceeds the third comparison value, a target power limit for the motor is determined based on the target cumulative power reduction value; that is, the current target power limit of the motor is sufficient for motor operation.
[0111] In an optional embodiment, when the battery is in a discharged state, the third comparison value can be calculated using the formula: Third Comparison Value = P3 + Power Consumption of Accessories + Second Undetermined Power. When the battery is in a charging state, the third comparison value can be calculated using the formula: Third Comparison Value = P3 - Power Consumption of Accessories - Second Undetermined Power.
[0112] Combination Figure 3 As shown, in an optional embodiment, step S177, which determines the target power limit of the motor based on the target cumulative power reduction value, may further include:
[0113] Step S1773: Based on the current motor power limit, determine a second comparison value, which is less than the first comparison value.
[0114] Step S1774: When the power reduction adjustment time is less than or equal to a preset first threshold and the actual battery power is less than or equal to a second comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the change rate of the actual battery power at the current moment.
[0115] In this embodiment, a power reduction adjustment time and a second comparison value are determined based on the current motor power limit. Specifically, when the power reduction adjustment time is less than or equal to a preset first threshold and the actual battery power is less than or equal to the second comparison value, the motor power limit is adjusted by increasing the power limit based on the difference between the battery's rated power and the current actual battery power, as well as the current rate of change of the battery's actual power. In other words, the current motor power limit is too low and needs to be increased to ensure stable motor operation.
[0116] In an optional embodiment, if either the power reduction adjustment time is less than or equal to a preset first threshold or the actual battery power is less than or equal to a second comparison value, the target power limit of the motor is determined based on the target cumulative power reduction value.
[0117] In an optional embodiment, when the battery is in a discharged state, the second comparison value can be calculated using the formula: Second Comparison Value = P3 + Power Consumption of Accessories - First Undetermined Power. When the battery is in a charging state, the second comparison value can be calculated using the formula: P3 - Power Consumption of Accessories + First Undetermined Power.
[0118] In an optional embodiment, step S1772, when the power reduction adjustment time is greater than a preset first threshold, determining the target power limit of the motor based on the target cumulative power reduction value, may further include:
[0119] When the actual battery power is less than or equal to the third comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment, as well as the rate of change of the actual power of the battery at the current moment.
[0120] Based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment, the motor's power limit is adjusted by increasing the power limit. In other words, if the current motor power limit is too low, the motor power limit needs to be increased to ensure the stable operation of the motor.
[0121] Combination Figure 5 As shown, in an optional embodiment, step S1774, which adjusts the motor power limit by increasing the power output based on the difference between the battery's rated power and the battery's actual power at the current moment, and the rate of change of the battery's actual power at the current moment, may include:
[0122] Step S17741: Determine the power adjustment step size and the power recovery step size based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the battery's actual power change rate at the current moment.
[0123] Step S17742: Adjust the power limit of the motor by increasing the power according to the power increase adjustment step size and the power recovery step size, and determine the fourth comparison value after each adjustment.
[0124] Step S17743: Determine the initial power limit of the motor based on the rated power of the battery and the power consumption of the accessories.
[0125] Step S17744: When the fourth comparison value is greater than the initial power limit of the motor, stop the power increase adjustment and determine the target cumulative power increase value and the target cumulative recovery power value.
[0126] Step S17745: Determine the target power limit of the motor based on the target cumulative power increase value and the target cumulative recovery power value.
[0127] Step S17746: When the fourth comparison value is less than or equal to the initial power limit of the motor, stop the power increase adjustment and return to the step of redetermining the initial power limit of the motor.
[0128] In this embodiment, when adjusting the motor's power limit by increasing its power output, the adjustment step size and the recovery power step size are first determined by referring to a table based on the difference between the battery's rated power and its actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment. Then, a fourth comparison value is determined based on the adjustment step size. The fourth comparison value is compared with the motor's initial power limit. If the fourth comparison value is greater than the motor's initial power limit, the adjustment by increasing the power output is stopped, and the target cumulative power output value and the target cumulative recovery power value are determined. Then, the target power limit of the motor is determined. If the fourth comparison value is less than or equal to the motor's initial power limit, the adjustment by increasing the power output is stopped, and the process returns to the step of re-determining the motor's initial power limit, i.e., the motor power limit is readjusted.
[0129] It should be noted that the initial power limit of the motor can change in real time.
[0130] In an optional embodiment, when the battery is in a discharging state, the fourth comparison value can be calculated using the formula: Fourth Comparison Value = Maximum Allowable Discharge Power of Battery - Power Consumption of Accessories - First Undetermined Power - Target Cumulative Power Up Value + Target Cumulative Recovery Power Value. When the battery is in a charging state, the fourth comparison value can be calculated using the formula: Fourth Comparison Value = Maximum Allowable Feedback Power of Battery + Power Consumption of Accessories - First Undetermined Power - Target Cumulative Power Up Value + Target Cumulative Recovery Power Value.
[0131] Combination Figure 6 As shown, in an optional embodiment, this application provides a schematic diagram of a method for controlling the motor power limit of an electric device.
[0132] The battery management system is used to calculate the battery's maximum allowable discharge power and maximum allowable regenerative power.
[0133] M stands for drive motor.
[0134] The MCU is a motor controller that decodes and accurately determines the motor speed.
[0135] Vehicle controller: The main controller of this application, which establishes communication relationships with other controllers.
[0136] Electric compressors, high-pressure heaters, and high-pressure electrical accessories are classified as accessories.
[0137] DCDC: Used to convert high voltage electricity into 12V low voltage electricity.
[0138] According to this application, a control device for limiting the motor power of an electric device is provided, such as... Figure 7 As shown, the device includes:
[0139] The first acquisition module 71 is used to acquire the rated power of the battery and the power consumption of the accessories based on the current state of the battery.
[0140] The second acquisition module 72 is used to acquire the battery voltage and current in real time, and determine the actual battery power and the rate of change of the actual battery power at the current moment.
[0141] The judgment module 73 is used to determine whether the difference between the battery's rated power and the battery's actual power at the current moment meets the preset conditions.
[0142] The adjustment module 74 is used to adjust the power limit of the motor according to the rated power of the battery, the power consumption of the accessories, the actual power of the battery at the current moment and the rate of change of the actual power of the battery when the difference between the rated power of the battery and the actual power of the battery at the current moment meets the preset conditions, so as to obtain the target power limit of the motor.
[0143] The determination module 75 is used to determine the target torque of the motor based on the target power limit of the motor.
[0144] When the motor is running, this application can determine whether the current power of the motor meets the preset conditions based on the current state of the battery, the rated power of the battery, the power consumption of the accessories, and the actual power consumption of the battery. When the preset conditions are met, the current power of the motor is used as the torque realization condition to ensure that it will not exceed the limit value, ensure the smoothness of torque output during vehicle acceleration, and avoid torque fluctuations caused by adjusting the allowable power of the motor after power overshoot.
[0145] Optionally, the adjustment module 74 includes: a first determining unit, used to determine the power reduction adjustment step size based on the difference between the battery's rated power and the battery's actual power at the current moment and the battery's actual power change rate at the current moment; a second determining unit, used to adjust the motor's power limit according to the power reduction adjustment step size and determine a first comparison value after each adjustment; a third determining unit, used to stop the power reduction adjustment and determine a target cumulative power reduction value when the battery's actual power is greater than or equal to the first comparison value; and a fourth determining unit, used to determine the target power limit of the motor based on the target cumulative power reduction value.
[0146] Optionally, the second determining unit is used to determine the current cumulative power reduction value based on the power reduction adjustment step size for any adjustment; determine the current motor power limit based on the battery rated power, the power consumption of the accessories and the current cumulative power reduction value; and determine the current first comparison value based on the current motor power limit.
[0147] Optionally, the fourth determining unit is used to determine the power reduction adjustment time based on the current motor power limit; when the power reduction adjustment time is greater than a preset first threshold, the target power limit of the motor is determined according to the target cumulative power reduction value.
[0148] Optionally, the fourth determining unit is further configured to determine a second comparison value based on the current motor power limit, wherein the second comparison value is less than the first comparison value; when the power reduction adjustment time is less than or equal to a preset first threshold and the actual battery power is less than or equal to the second comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual battery power at the current moment and the change rate of the actual battery power at the current moment.
[0149] Optionally, a third determining unit is used to determine a third comparison value based on the current motor power limit, wherein the third comparison value is greater than the first comparison value; and when the actual battery power is greater than the third comparison value, to determine the target power limit of the motor based on the target cumulative power reduction value.
[0150] Optionally, the third determining unit is also used to adjust the power limit of the motor by increasing the power when the actual power of the battery is less than or equal to the third comparison value, based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the rate of change of the actual power of the battery at the current moment.
[0151] Optionally, the third determining unit is also used to adjust the power limit of the motor by increasing the power when the actual power of the battery is less than the first comparison value, based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the rate of change of the actual power of the battery at the current moment.
[0152] Optionally, the third determining unit is further configured to: determine the power increase adjustment step size and the recovery power step size based on the difference between the battery's rated power and the battery's actual power at the current moment, and the battery's actual power change rate at the current moment; adjust the motor's power limit according to the power increase adjustment step size and the recovery power step size, and determine the fourth comparison value after each adjustment; determine the motor's initial power limit based on the battery's rated power and the power consumption of the accessories; stop the power increase adjustment and determine the target cumulative power increase value and the target cumulative recovery power value when the fourth comparison value is greater than the motor's initial power limit; and determine the motor's target power limit based on the target cumulative power increase value and the target cumulative recovery power value.
[0153] Optionally, the third determining unit is also used to stop the power increase adjustment and return to the step of redetermining the initial power limit of the motor when the fourth comparison value is less than or equal to the initial power limit of the motor.
[0154] It should be understood that the specific features, operations, and details described herein with respect to the methods of this application can also be similarly applied to the apparatus and system of this application, or vice versa. Furthermore, each step of the methods of this application described above can be performed by a corresponding component or unit of the apparatus or system of this application.
[0155] It should be understood that the various modules / units of the device of this application can be implemented wholly or partially through software, hardware, firmware, or a combination thereof. Each module / unit can be embedded in the processor of the electronic device in hardware or firmware form or independent of the processor, or it can be stored in the memory of the electronic device in software form for the processor to call to execute the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.
[0156] like Figure 8 As shown, this application provides an electronic device 400, which includes a processor 401 and a memory 402 storing computer program instructions. The processor 401 executes the computer program instructions to implement the steps of the data detection method described above. This electronic device 400 can be broadly categorized as a server, terminal, or any other electronic device with the necessary computing and / or processing capabilities.
[0157] In one embodiment, the electronic device 400 may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the electronic device 400 can be used to provide necessary computing, processing, and / or control capabilities. The memory of the electronic device 400 may include non-volatile storage media and internal memory. The non-volatile storage media may store an operating system, computer programs, etc. The internal memory can provide an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface and communication interface of the electronic device 400 can be used to connect and communicate with external devices via a network. When the computer program is executed by the processor, it performs the steps of the method of this application.
[0158] This application provides a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the aforementioned data detection method.
[0159] Those skilled in the art will understand that the method steps of this application can be performed by a computer program instructing related hardware, such as electronic device 400 or a processor. The computer program can be stored in a non-transitory computer-readable storage medium, and its execution causes the steps of this application to be performed. Depending on the context, any reference herein to memory, storage, or other media may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0160] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.
[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for controlling the motor power limit of an electric device, the electric device comprising a battery and accessories, characterized in that, The control method includes: Based on the current state of the battery, obtain the battery's rated power and the power consumption of the accessories; The voltage and current of the battery are acquired in real time to determine the actual power of the battery at the current moment and the rate of change of the actual power of the battery. Determine whether the difference between the rated power of the battery and the actual power of the battery at the current moment meets a preset condition; When the difference between the battery's rated power and the battery's actual power at the current moment meets the preset condition, the power limit of the motor is adjusted according to the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the target power limit of the motor. The target torque of the motor is determined based on the target power limit of the motor; Wherein, when the difference between the battery's rated power and the battery's actual power at the current moment meets the preset condition, the motor's power limit is adjusted based on the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the motor's target power limit, including: The power reduction adjustment step size is determined based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment. According to the power reduction adjustment step size, the power limit of the motor is adjusted by reducing the power and the first comparison value after each adjustment is determined; When the actual power of the battery is greater than or equal to the first comparison value, stop the power reduction adjustment and determine the target cumulative power reduction value; Based on the target cumulative power reduction value, determine the target power limit of the motor; The step of adjusting the power limit of the motor according to the power reduction adjustment step size and determining the first comparison value after each adjustment includes: For any given adjustment, the current cumulative power reduction value is determined based on the power reduction adjustment step size; The current motor power limit is determined based on the battery rated power, the power consumption of the accessory, and the current cumulative power reduction value. Based on the current motor power limit, determine the current first comparison value.
2. The method for controlling the motor power limit of electric equipment according to claim 1, characterized in that, Determining the target power limit for the motor based on the target cumulative power reduction value includes: Determine the power reduction adjustment time based on the current motor power limit; When the power reduction adjustment time is greater than a preset first threshold, the target power limit of the motor is determined based on the target cumulative power reduction value.
3. The method for controlling the motor power limit of electric equipment according to claim 2, characterized in that, The step of determining the target power limit of the motor based on the target cumulative power reduction value further includes: Based on the current motor power limit, a second comparison value is determined, which is less than the first comparison value; When the power reduction adjustment time is less than or equal to a preset first threshold and the actual battery power is less than or equal to a second comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment and the change rate of the actual power of the battery at the current moment.
4. The method for controlling the motor power limit of electric equipment according to claim 2, characterized in that, When the power reduction adjustment time is greater than a preset first threshold, determining the target power limit of the motor based on the target cumulative power reduction value includes: Based on the current motor power limit, a third comparison value is determined, which is greater than the first comparison value; When the actual power of the battery is greater than the third comparison value, the target power limit of the motor is determined based on the target cumulative power reduction value.
5. The method for controlling the motor power limit of electric equipment according to claim 4, characterized in that, The step of determining the target power limit of the motor based on the target cumulative power reduction value when the power reduction adjustment time is greater than a preset first threshold further includes: When the actual power of the battery is less than or equal to the third comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment, as well as the rate of change of the actual power of the battery at the current moment.
6. The method for controlling the motor power limit of electric equipment according to claim 1, characterized in that, When the difference between the battery's rated power and the battery's actual power at the current moment satisfies the preset condition, the power limit of the motor is adjusted based on the battery's rated power, the power consumption of the accessories, the battery's actual power at the current moment, and the rate of change of the battery's actual power, to obtain the target power limit of the motor, and further includes: When the actual power of the battery is less than the first comparison value, the power limit of the motor is adjusted by increasing the power based on the difference between the rated power of the battery and the actual power of the battery at the current moment, as well as the rate of change of the actual power of the battery at the current moment.
7. The method for controlling the motor power limit of an electric device according to claim 3, 5, or 6, characterized in that, Based on the difference between the battery's rated power and its actual power at the current moment, and the rate of change of the battery's actual power at the current moment, the power limit of the motor is adjusted by increasing its power, including: The power adjustment step size and the power recovery step size are determined based on the difference between the battery's rated power and the battery's actual power at the current moment, as well as the rate of change of the battery's actual power at the current moment. According to the power increase adjustment step size and power recovery step size, the power limit of the motor is adjusted by increasing the power and the fourth comparison value is determined after each adjustment; Based on the rated power of the battery and the power consumption of the accessories, determine the initial power limit of the motor; When the fourth comparison value is greater than the initial power limit of the motor, the power increase adjustment is stopped and the target cumulative power increase value and the target cumulative recovery power value are determined. The target power limit of the motor is determined based on the target cumulative power increase value and the target cumulative recovery power value.
8. The method for controlling the motor power limit of an electric device according to claim 7, characterized in that, The step of adjusting the motor power limit by increasing the power output based on the difference between the battery's rated power and the battery's actual power at the current moment, and the rate of change of the battery's actual power at the current moment, further includes: When the fourth comparison value is less than or equal to the initial power limit of the motor, the power increase adjustment is stopped and the process returns to the step of redetermining the initial power limit of the motor.
9. A control device for the motor power limit of an electric device, the electric device comprising a battery and accessories, characterized in that, The device includes: The first acquisition module is used to acquire the battery's rated power and the power consumption of the accessories based on the battery's current state. The second acquisition module is used to acquire the voltage and current of the battery in real time, and determine the actual power of the battery at the current moment and the rate of change of the actual power of the battery. The judgment module is used to determine whether the difference between the rated power of the battery and the actual power of the battery at the current moment meets a preset condition; The adjustment module is used to adjust the power limit of the motor according to the rated power of the battery, the power consumption of the accessories, the actual power of the battery at the current moment and the rate of change of the actual power of the battery when the difference between the rated power of the battery and the actual power of the battery at the current moment meets the preset condition, so as to obtain the target power limit of the motor. The determination module is used to determine the target torque of the motor based on the target power limit of the motor; The adjustment module includes: a first determining unit, used to determine the power reduction adjustment step size based on the difference between the battery's rated power and the battery's actual power at the current moment and the battery's actual power change rate at the current moment; The second determining unit is used to adjust the power limit of the motor by reducing the power according to the power reduction adjustment step size and to determine the first comparison value after each adjustment. The third determining unit is used to stop the power reduction adjustment and determine the target cumulative power reduction value when the actual power of the battery is greater than or equal to the first comparison value. The fourth determining unit is used to determine the target power limit of the motor based on the target cumulative power reduction value; The second determining unit is used to determine the current cumulative power reduction value based on the power reduction adjustment step size for any adjustment; determine the current motor power limit based on the battery rated power, the power consumption of the accessories and the current cumulative power reduction value; and determine the current first comparison value based on the current motor power limit.
10. An electronic device, characterized in that, The electronic device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the control method for the motor power limit of the electric device as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the control method for the motor power limit of the electric device as described in any one of claims 1-8.
Citation Information
Patent Citations
Vehicle battery power management method and device and computer readable storage medium
CN113665372A
Method and device for determining power limit value of motor and electronic equipment
CN115179775A
New energy automobile power control method, device and equipment and readable storage medium
CN115946544A