Method for controlling a battery in a vehicle and vehicle

By acquiring battery status parameters in real time and dynamically adjusting charging and discharging current and power thresholds, the problem of low accuracy in battery charging and discharging control in existing technologies is solved, achieving more efficient battery management and improving battery efficiency and lifespan.

CN120963453BActive Publication Date: 2026-07-10CHERY AUTOMOBILE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHERY AUTOMOBILE CO LTD
Filing Date
2025-09-11
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing battery charge and discharge control strategies cannot accurately reflect the true performance state of the battery in real time, resulting in low charge and discharge control accuracy.

Method used

By acquiring battery status parameters in real time during vehicle operation, the charging and discharging current threshold and power threshold are dynamically adjusted. Based on the battery status parameters and preset voltage threshold, a battery control strategy is determined to achieve precise charging and discharging control of the battery.

Benefits of technology

It improves the accuracy of battery charging and discharging control, enhances battery efficiency and overall performance, and extends battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120963453B_ABST
    Figure CN120963453B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of control method and vehicle of battery in vehicle, the method comprises: in response to vehicle is in driving state, obtain the battery state parameter of battery in vehicle;Determine the charge-discharge current threshold of battery based on battery state parameter;Based on the charge-discharge power threshold of battery, charge-discharge current threshold, battery state parameter and the preset voltage threshold of battery, wherein, charge-discharge power threshold is used to characterize the maximum charging power and maximum discharging power of battery, and preset voltage threshold is used to characterize the discharge cut-off voltage and charging cut-off voltage of battery;In response to the battery control request of vehicle, based on charge-discharge power threshold, battery state parameter, charge-discharge current threshold and the control current requested by battery control request, determine the battery control strategy of vehicle;According to battery control strategy, control battery.The application solves the technical problem that the accuracy of battery charge-discharge control in the related art is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and more specifically, to a method for controlling a battery in a vehicle and a vehicle. Background Technology

[0002] With the rapid development of electric vehicle technology and the increasing market penetration, the Battery Management System (BMS) has become a key component for ensuring the safe operation and performance optimization of electric vehicles. One of the core responsibilities of the BMS is to manage the charging and discharging process of the battery, preventing overcharging and over-discharging while ensuring the efficient use of electrical energy. In the power performance of electric vehicles, the battery's charging and discharging capacity plays a decisive role, directly affecting the vehicle's acceleration performance, range, and energy recovery efficiency.

[0003] Currently, most battery charging and discharging strategies employ offline calibration. This involves pre-obtaining charging and discharging performance data of the battery under different states (including battery capacity, temperature, and aging level) in a laboratory environment. Then, during actual vehicle operation, these pre-set data tables are consulted to determine the battery's charging and discharging power and current limits. However, this offline calibration method has significant limitations, particularly regarding battery aging, changes in ambient temperature, and errors in estimating the battery's state of charge (SOC). Therefore, this offline calibration strategy struggles to accurately reflect the battery's true performance state in real time, thus failing to accurately control the vehicle's charging and discharging process.

[0004] There is currently no good solution to the above problems. Summary of the Invention

[0005] This application provides a method for controlling a battery in a vehicle and a vehicle, in order to at least solve the technical problem of low accuracy in battery charging and discharging control in related technologies.

[0006] According to one aspect of the embodiments of this application, a method for controlling a battery in a vehicle is provided. The method includes: in response to the vehicle being in a driving state, acquiring battery state parameters of the battery in the vehicle, wherein the battery state parameters are used to characterize the battery state under the current driving conditions; determining a charge / discharge current threshold of the battery based on the battery state parameters, wherein the charge / discharge current threshold is used to characterize the maximum charging current and the maximum discharging current of the battery under the current driving conditions; determining a charge / discharge power threshold of the battery based on the charge / discharge current threshold, the battery state parameters, and a preset voltage threshold of the battery, wherein the charge / discharge power threshold is used to characterize the maximum charging power and the maximum discharging power of the battery, and the preset voltage threshold is used to characterize the discharge cutoff voltage and the charging cutoff voltage of the battery; in response to a battery control request of the vehicle, determining a battery control strategy of the vehicle based on the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the control current requested by the battery control request, wherein the battery control strategy is used to characterize the control rules for the battery under the current driving conditions; and controlling the battery according to the battery control strategy.

[0007] Furthermore, based on battery state parameters, the charging and discharging current thresholds of the battery are determined, including: determining the maximum charging current of the battery under the current driving conditions from a preset charging current table based on the battery state parameters, and determining the maximum discharging current of the battery under the current driving conditions from a preset discharging current table based on the battery state parameters, wherein the preset charging current table includes the maximum charging current of the battery under multiple driving conditions, and the discharging current table includes the maximum discharging current of the battery under multiple driving conditions; the maximum charging current and the maximum discharging current are determined as the charging and discharging current thresholds of the battery.

[0008] Furthermore, based on battery state parameters, the charging and discharging current thresholds of the battery are determined, including: determining the maximum charging current of the battery under the current driving conditions from a preset charging current table based on the battery state parameters, and determining the maximum discharging current of the battery under the current driving conditions from a preset discharging current table based on the battery state parameters, wherein the preset charging current table includes the maximum charging current of the battery under multiple driving conditions, and the discharging current table includes the maximum discharging current of the battery under multiple driving conditions; the maximum charging current and the maximum discharging current are determined as the charging and discharging current thresholds of the battery.

[0009] Further, based on the charge / discharge current threshold, battery state parameters, and the battery's preset voltage threshold, the battery's charge / discharge power threshold is determined, including: determining the battery's highest voltage under the current driving conditions based on the battery state parameters; determining the battery's remaining charging voltage under the current driving conditions based on the highest voltage and the charging cutoff voltage in the preset voltage threshold; determining the battery's reference charging power based on the charging cutoff voltage and the maximum charging current in the charge / discharge current threshold; and determining the battery's maximum allowable charging voltage based on the charging cutoff voltage and the initial charging voltage in the battery state parameters. The remaining charging voltage characterizes the allowable charging voltage of the battery under the current driving conditions, the reference charging power characterizes the battery's charging power when the battery voltage is at the charging cutoff voltage, and the maximum allowable charging voltage characterizes the maximum allowable charging voltage of the battery. The maximum charging power of the battery is determined based on the remaining charging voltage, the reference charging power, and the maximum allowable charging voltage.

[0010] Furthermore, the battery control request is either a battery charging request or a battery discharging request. The control current requested in the battery charging request is the requested charging current, and the control current requested in the battery discharging request is the requested discharging current. In response to the vehicle's battery control request, a vehicle battery control strategy is determined based on the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the control current requested in the battery control request. This includes: in response to the battery control request being a battery discharging request, determining a vehicle battery discharging control strategy based on the maximum discharge power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the requested discharging current; and in response to the battery control request being a battery charging request, determining a vehicle battery charging control strategy based on the maximum charging power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the requested charging current.

[0011] Further, based on the maximum discharge power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested discharge current, a battery discharge control strategy for the vehicle is determined, including: determining the equivalent discharge current of the battery based on the maximum discharge power in the charge / discharge power threshold and the voltage parameter in the battery state parameters, wherein the equivalent discharge current is used to characterize the maximum discharge current of the battery under the current driving conditions; comparing the requested discharge current with the equivalent discharge current to obtain a first comparison result, and comparing the requested discharge current with the maximum discharge current in the charge / discharge current threshold to obtain a second comparison result; in response to the first comparison result indicating that the requested discharge current is less than or equal to the equivalent discharge current, and the second comparison result indicating that the requested discharge current is less than the maximum discharge current, determining the target discharge power of the battery based on the requested discharge current and the voltage parameter; and generating a battery discharge control strategy based on the requested discharge current and the target discharge power.

[0012] Furthermore, the method also includes: in response to a first comparison result indicating that the requested discharge current is greater than the equivalent discharge current, and a second comparison result indicating that the requested discharge current is less than the maximum discharge current, generating a battery discharge control strategy based on the equivalent discharge current and the maximum discharge power.

[0013] Further, based on the maximum charging power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested charging current, a battery charging control strategy for the vehicle is determined, including: determining the equivalent charging current of the battery based on the maximum charging power in the charge / discharge power threshold and the voltage parameter in the battery state parameters, wherein the equivalent charging current is used to characterize the maximum charging current of the battery under the current driving conditions; comparing the requested charging current with the equivalent charging current to obtain a third comparison result, and comparing the requested charging current with the maximum charging current in the charge / discharge current threshold to obtain a fourth comparison result; in response to the third comparison result indicating that the requested charging current is less than or equal to the equivalent charging current, and the fourth comparison result indicating that the requested charging current is less than the maximum charging current, determining the target charging power of the battery based on the requested charging current and the voltage parameter; and generating a battery charging control strategy based on the requested charging current and the target charging power.

[0014] Furthermore, the method also includes: in response to a third comparison result indicating that the requested charging current is greater than the equivalent charging current, and a fourth comparison result indicating that the requested charging current is less than the maximum charging current, generating a battery charging control charging strategy based on the equivalent charging current and the maximum charging power.

[0015] According to another aspect of the embodiments of this application, a control device for a battery in a vehicle is also provided. The device includes: an acquisition unit, configured to acquire battery state parameters of the battery in the vehicle in response to the vehicle being in a driving state, wherein the battery state parameters are used to characterize the battery state under the current driving conditions; a first determination unit, configured to determine a charge / discharge current threshold of the battery based on the battery state parameters, wherein the charge / discharge current threshold is used to characterize the maximum charging current and maximum discharging current of the battery under the current driving conditions; a second determination unit, configured to determine a charge / discharge power threshold of the battery based on the charge / discharge current threshold, the battery state parameters, and a preset voltage threshold of the battery, wherein the charge / discharge power threshold is used to characterize the maximum charging power and maximum discharging power of the battery, and the preset voltage threshold is used to characterize the discharge cutoff voltage and charging cutoff voltage of the battery; a third determination unit, configured to determine a battery control strategy of the vehicle based on the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the control current requested by the battery control request in response to a battery control request of the vehicle, wherein the battery control strategy is used to characterize the control rules for the battery under the current driving conditions; and a control unit, configured to control the battery according to the battery control strategy.

[0016] According to another aspect of the embodiments of this application, a vehicle is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of this application when it runs.

[0017] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.

[0018] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods of various embodiments of this application.

[0019] According to another aspect of the embodiments of this application, a computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods in various embodiments of this application.

[0020] According to another aspect of the embodiments of this application, a computer program is also provided, which, when executed by a processor, implements the methods of the various embodiments of this application.

[0021] In this embodiment, in response to the vehicle being in a driving state, battery state parameters of the battery in the vehicle are acquired, wherein the battery state parameters are used to characterize the battery state under the current driving conditions; based on the battery state parameters, a charging and discharging current threshold of the battery is determined, wherein the charging and discharging current threshold is used to characterize the maximum charging current and maximum discharging current of the battery under the current driving conditions; based on the charging and discharging current threshold, the battery state parameters, and a preset voltage threshold of the battery, a charging and discharging power threshold of the battery is determined, wherein the charging and discharging power threshold is used to characterize the maximum charging power and maximum discharging power of the battery, and the preset voltage threshold is used to characterize the discharging cutoff voltage and charging cutoff voltage of the battery; in response to a battery control request from the vehicle, a battery control strategy of the vehicle is determined based on the charging and discharging power threshold, the battery state parameters, the charging and discharging current threshold, and the control current requested by the battery control request, wherein the battery control strategy is used to characterize the control rules for the battery under the current driving conditions; and the battery is controlled according to the battery control strategy. In other words, in this embodiment, by collecting battery state parameters in real time during vehicle operation, and then dynamically adjusting the charging and discharging current threshold and charging and discharging power threshold based on these parameters, the vehicle's battery control strategy is determined upon receiving a battery control request. This determined battery control strategy better matches the battery's actual performance state under the current driving conditions. By controlling the battery charging and discharging according to this strategy, the accuracy of battery charging and discharging control is improved. Compared to the "one-size-fits-all" approach of offline calibration strategies, this method fully considers the unique battery state and driving conditions of the vehicle, making each charging and discharging control more suitable for the vehicle's current situation. This improves battery utilization efficiency and overall performance, while also extending battery life, thus solving the technical problem of low accuracy in battery charging and discharging control in related technologies. Attached Figure Description

[0022] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0023] Figure 1 This is a flowchart of a battery control method in a vehicle according to an embodiment of this application;

[0024] Figure 2 This is a flowchart of another battery control method according to an embodiment of this application;

[0025] Figure 3This is a schematic diagram of a battery control device in a vehicle according to an embodiment of this application. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] According to an embodiment of this application, an embodiment of a battery control method in a vehicle is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0029] This embodiment provides a method for controlling a battery in a vehicle. Figure 1 This is a flowchart of a battery control method in a vehicle according to an embodiment of this application, such as... Figure 1 As shown, the process may include the following steps:

[0030] Step S101: In response to the vehicle being in a driving state, obtain the battery state parameters of the battery in the vehicle.

[0031] In the technical solution provided by step S101 of this application, the battery state parameters are used to characterize the battery state under the current driving conditions.

[0032] In this embodiment, when the vehicle is in motion, battery state parameters can be collected. These parameters include at least: state of charge (SOC), battery temperature, battery voltage, and battery current. The SOC is the ratio of the battery's current charge to its charge at full capacity, reflecting its remaining charge level. The battery temperature characterizes the battery's operating temperature under current driving conditions. The battery voltage includes the highest and lowest voltages of individual cells, the highest and lowest voltages of the battery module, and the total voltage of the battery pack. The battery pack consists of multiple battery modules, each containing several cells. The battery current characterizes the total current of the battery pack. This is merely an example and does not limit the specific parameters included in the battery state parameters.

[0033] Optionally, the battery state parameters of the aforementioned battery can be collected in real time by the battery management system (BMS) through sensors (such as temperature sensors, voltage sensors, and current sensors) installed in the battery pack of the vehicle.

[0034] Step S102: Determine the battery charge / discharge current threshold based on the battery state parameters.

[0035] In the technical solution provided by step S102 of this application, the above-mentioned charging and discharging current threshold is used to characterize the maximum charging current and maximum discharging current of the battery under the current driving conditions.

[0036] In this embodiment, a pre-stored charging current meter and a discharging current meter for the vehicle's battery under different states of charge (SOC) and temperatures are provided. Based on this, after obtaining the battery state parameters, the maximum charging current of the battery under the current driving conditions can be obtained from the pre-stored charging current meter, using the battery's SOC and temperature (T) within the battery state parameters. Similarly, the maximum discharging current of the battery under the current driving conditions can be obtained from the pre-stored discharging current meter, using the same battery state parameters.

[0037] Optionally, the battery is subjected to a Hybrid Pulse Power Characterization (HPPC) test in advance to obtain the test results, and then a preset charging current meter and a preset discharging current meter for the battery are generated based on the test results.

[0038] For example, HPPC testing can be performed on the battery under different test conditions. Each test condition can include the battery's test temperature, remaining charge level (SOC), test current (I), and test time (t). The battery test temperature (T) can be set to, but is not limited to: -30℃, -20℃, -10℃, 0℃, 15℃, 25℃, 45℃, 55℃, 60℃; the remaining charge level (SOC) can be set to, but is not limited to: 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%; the test current (I) can be set to, but is not limited to: 0.33C, 0.5C, 1C, 2C, 3C, 5C, 7C; and the test time (t) can be set to, but is not limited to: 2s, 3s, 5s, 7s, 10s, 30s, 60s.

[0039] Optionally, after performing HPPC testing on the vehicle's battery, the following values ​​can be obtained under various test conditions: initial discharge voltage U_Dis0, discharge end voltage U_Dis, initial charging voltage U_Chg0, and charging end voltage U_Chg. These values ​​are calculated based on different charging currents (I_Chg), discharging currents (I_Dis), state of charge (SOC), and temperatures (T). After obtaining the above test data, the maximum charging and discharging current of the battery under the current SOC, temperature T, and time t can be determined using the following formula (1), and the maximum charging and discharging current of the battery under the current SOC, temperature T, and time t can be determined using the following formula (2).

[0040] I_Dis_allow=(U_Dis0-U_Dis_min))*I_Dis / (U_Dis0-U_Dis) (1)

[0041] I_Chg_allow=(U_Chg_max-U_Chg0)*I_Chg / (U_Chg-U_Chg0) (2)

[0042] Wherein, I_Dis_allow can be used to represent the maximum discharge current of the battery under the corresponding test condition, U_Dis0 can be used to represent the initial discharge voltage of the battery under the corresponding test condition, Dis_min can be used to represent the discharge cutoff voltage under the corresponding test condition, I_Dis can be used to represent the discharge current of the battery under the corresponding test condition; U_Dis0 can be used to represent the initial discharge voltage value of the battery under the corresponding test condition; U_Dis can be used to represent the discharge end voltage value of the battery under the corresponding test condition; I_Chg_allow can be used to represent the maximum charging current of the battery under the corresponding test condition, U_Chg_max can be used to represent the charging cutoff voltage of the battery under the corresponding test condition, U_Chg0 can be used to represent the initial charging voltage of the battery under the corresponding test condition, I_Chg can be used to represent the charging current of the battery under the corresponding test condition, U_Chg can be used to represent the charging end voltage value of the battery under the corresponding test condition, and U_Chg0 can be used to represent the initial charging voltage value of the battery under the corresponding test condition.

[0043] Optionally, after obtaining the maximum discharge current of the battery under different test conditions and the maximum charging current of the battery under different test conditions, a preset charging current table and a preset discharge current table of the battery under different test conditions can be generated. The preset charging current table includes the mapping relationship between the battery's SOC, test temperature and the battery's maximum charging current under different test conditions, and the preset discharge current table includes the mapping relationship between the battery's SOC, test temperature and the battery's maximum discharge current under different test conditions.

[0044] Optionally, Table 1 below is a preset charging current table of a battery according to an embodiment of this application, and Table 2 below is a preset discharging current table of the battery.

[0045] Table 1. Preset charging current of the battery

[0046]

[0047] Table 2 Preset Discharge Current of Batteries

[0048]

[0049] For example, I_Chg11 in Table 1 represents the maximum charging current of the battery when the SOC is 0 and the battery temperature is -30℃. I_Dis11 in Table 2 represents the maximum discharging current of the battery when the SOC is 0 and the battery temperature is -30℃. Similarly, Table 1 provides the maximum charging current of the battery at different SOCs and battery temperatures, and Table 2 provides the maximum discharging current of the battery at different SOCs and battery temperatures.

[0050] In this step, a preset charging current meter and a preset discharging current meter for the battery are generated in advance through HPPC testing. Based on this, during vehicle operation, the maximum charging current of the battery in the current state can be obtained by querying the preset charging current meter based on the real-time battery status parameters of the vehicle, and the maximum discharging current of the battery in the current state can be obtained by querying the preset discharging current meter. This provides key data support for determining the battery charging and discharging strategy in the future.

[0051] Step S103: Determine the battery's charge / discharge power threshold based on the charge / discharge current threshold, battery state parameters, and the battery's preset voltage threshold.

[0052] In the technical solution provided in step S103 of this application, the aforementioned charge / discharge current threshold is used to characterize the maximum charging current and maximum discharging current of the battery under the current driving conditions. The aforementioned battery state parameters are used to characterize the battery state under the current driving conditions. The aforementioned preset voltage threshold is a pre-set charging cut-off voltage (maximum voltage) and discharging cut-off voltage (minimum voltage) of the battery during vehicle operation, based on the battery system and the cell capabilities provided by the supplier. The aforementioned charge / discharge power threshold is used to characterize the maximum charging power and maximum discharging power of the battery.

[0053] In this embodiment, the maximum charge and discharge power of the battery under specific conditions is determined based on the battery state parameters, the battery charge and discharge current limit, and the charge and discharge voltage limit. This ensures that the BMS can monitor and control the battery's charge and discharge capabilities in real time, avoiding overcharging or over-discharging, while maximizing the utilization of the battery's available energy.

[0054] Optionally, the maximum discharge power of the battery under the current driving conditions can be determined by the following formula (3), and the maximum charging power of the battery under the current driving conditions can be determined by the following formula (4).

[0055] P_Dis_allow=(CellV_min-U_Dis_min)*U_Dis_min*I_Dis_allow / (U_Dis0-U_Dis_min)(3)

[0056] P_Chg_allow=(U_Chg_max-CellV_max)*U_Chg_max*I_Chg_allow / (U_Chg_max-U_Chg0)(4)

[0057] Wherein, P_Dis_allow represents the maximum discharge power of the battery under the current driving conditions, CellV_min represents the minimum voltage of the battery under the current driving conditions, U_Dis_min represents the discharge cutoff voltage of the battery, I_Dis_allow represents the maximum discharge current of the battery under the current driving conditions, and U_Dis0 represents the initial discharge voltage of the battery under the current driving conditions; P_Chg_allow represents the maximum charging power of the battery under the current driving conditions, U_Chg_max represents the charging cutoff voltage of the battery, CellV_max represents the maximum voltage of the battery under the current driving conditions, I_Chg_allow represents the maximum charging current of the battery under the current driving conditions, and U_Chg0 represents the initial charging voltage of the battery under the current driving conditions.

[0058] Optionally, after determining the maximum discharge power of the battery under the current driving conditions using the above formula (3) and the maximum charging power of the battery under the current driving conditions using the above formula (4), the determined maximum discharge power and maximum charging power can be used as the charging and discharging power threshold of the battery under the current driving conditions.

[0059] Step S104: In response to the vehicle's battery control request, determine the vehicle's battery control strategy based on the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the control current requested by the battery control request.

[0060] In the technical solution provided in step S104 of this application, the battery control request can be a battery discharge request or a battery charging request. The battery discharge request is used to request the battery to discharge, and the battery charging request is used to request the battery to charge. The battery control strategy is used to characterize the control rules for the battery under the current driving conditions.

[0061] In this embodiment, after determining the battery's charge / discharge power threshold and the battery's charge / discharge current threshold under the vehicle's current driving conditions, if a battery control request is received, the vehicle's battery control strategy can be determined based on the battery's charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the control current requested by the battery control request.

[0062] Optionally, if the battery control request is a battery discharge request, the requested discharge current can be determined, and then the vehicle's battery discharge control strategy can be determined based on the maximum discharge power in the battery's charge and discharge power threshold, the total battery pack voltage in the battery state parameters, the maximum discharge current in the charge and discharge current threshold, and the requested discharge current in the battery discharge request.

[0063] Optionally, if the battery control request is a battery charging request, the requested charging current can be determined, and then the vehicle's battery charging control strategy can be determined based on the maximum charging power in the battery's charge and discharge power threshold, the total battery pack voltage in the battery state parameters, the maximum charging current in the charge and discharge current threshold, and the requested charging current in the battery charging request.

[0064] Step S105: Control the battery according to the battery control strategy.

[0065] In step S105 of this application, after determining the battery control strategy, the battery can be controlled according to the battery control strategy.

[0066] Optionally, if the battery control strategy is a battery discharge control strategy, then the battery is discharged according to the battery discharge control strategy. If the battery control strategy is a battery charging control strategy, then the battery is charged according to the battery charging control strategy.

[0067] In steps S101 to S105 above, battery state parameters are collected in real time during vehicle operation. Based on these parameters, the charging / discharging current threshold and charging / discharging power threshold are dynamically adjusted. Upon receiving a battery control request, the vehicle's battery control strategy is determined based on the real-time determined charging / discharging power threshold, battery state parameters, charging / discharging current threshold, and the control current requested by the battery control request. This determined battery control strategy better matches the battery's actual performance state under current driving conditions. By controlling the battery's charging and discharging according to this strategy, the accuracy of battery charging and discharging control is improved. Compared to the "one-size-fits-all" approach of offline calibration strategies, this method fully considers the unique battery state and driving conditions of the vehicle, making each charging / discharging control more suitable for the vehicle's current situation. This improves battery utilization efficiency and overall performance, while also extending battery life, thus solving the technical problem of low accuracy in battery charging and discharging control in related technologies.

[0068] The control method for the battery in the vehicle described in this application will be further described below.

[0069] As an optional implementation, step S102, determining the battery's charge / discharge current threshold based on battery state parameters, includes: determining the maximum charging current of the battery under the current driving condition from a preset charging current table based on the battery state parameters, and determining the maximum discharging current of the battery under the current driving condition from a preset discharging current table based on the battery state parameters, wherein the preset charging current table includes the maximum charging current of the battery under multiple driving conditions, and the discharging current table includes the maximum discharging current of the battery under multiple driving conditions; the maximum charging current and the maximum discharging current are determined as the battery's charge / discharge current threshold.

[0070] In this embodiment, as described above, the battery management system can monitor the battery status parameters in real time during vehicle operation. After obtaining the battery status parameters, it can determine the charging and discharging current threshold of the battery based on the battery status parameters, so that the vehicle will not be overcharged or over-charged during charging and discharging.

[0071] Optionally, as described in the aforementioned step S102, in order to adapt to different driving conditions, the battery management system has pre-established a preset charging current meter and a preset discharging current meter for the battery. The preset charging current meter records the maximum charging current of the battery under various SOC and temperature conditions, and the preset discharging current meter records the maximum discharging current of the battery under various SOC and temperature conditions, so as to cover as much as possible all operating environments that the vehicle may encounter during driving.

[0072] Optionally, after obtaining the battery state parameters under the current driving conditions of the vehicle, the maximum charging current of the battery under the current driving conditions can be queried from a preset charging current table based on the current SOC and battery temperature in the battery state parameters. Similarly, the maximum discharging current of the battery under the current driving conditions can also be queried from a preset discharging current table based on the current SOC and battery temperature in the battery state parameters.

[0073] Optionally, after obtaining the maximum charging current and maximum discharging current of the battery under the current driving conditions, the maximum charging current and maximum discharging current can be determined as the charging and discharging current threshold of the battery.

[0074] In this step, a preset charging / discharging ammeter is used to determine the charging / discharging current threshold based on the battery's current state parameters. This ensures the battery charges and discharges at the optimal current under different operating conditions, improving energy utilization efficiency, extending driving range, and preventing overcharging or over-discharging under extreme conditions, thus reducing battery damage and safety risks. Furthermore, through real-time monitoring, the battery management system can flexibly respond to changes in the driving environment, such as temperature fluctuations and driving mode switching, providing stable and reliable charging and discharging control.

[0075] As an optional implementation, step S103, determining the battery's charge / discharge power threshold based on the charge / discharge current threshold, battery state parameters, and a preset voltage threshold, includes: determining the battery's minimum voltage under the current driving conditions based on the battery state parameters; determining the battery's remaining discharge voltage under the current driving conditions based on the minimum voltage and the discharge cutoff voltage in the preset voltage threshold; determining the battery's reference discharge power based on the discharge cutoff voltage and the maximum discharge current in the charge / discharge current threshold; and determining the battery's maximum allowable discharge voltage based on the initial discharge voltage and discharge cutoff voltage in the battery state parameters. The remaining discharge voltage characterizes the allowable discharge voltage of the battery under the current driving conditions, the reference discharge power characterizes the battery's discharge power when the battery voltage is at the discharge cutoff voltage, and the maximum allowable discharge voltage characterizes the maximum allowable discharge voltage of the battery. The maximum discharge power of the battery is then determined based on the remaining discharge voltage, the reference discharge power, and the maximum allowable discharge voltage.

[0076] In this embodiment, the discharge cutoff voltage is used to indicate the lower voltage limit during battery discharge. For example, during discharge, the battery voltage gradually decreases. When the voltage drops below a certain threshold, the battery may enter a deep discharge state, which can lead to an imbalance in the internal chemical reactions of the battery, affecting its performance and lifespan. The discharge cutoff voltage is set to avoid this situation. When the battery voltage reaches or approaches this threshold, the battery management system (BMS) will take measures, such as limiting further discharge or completely stopping discharge, to protect the battery.

[0077] Optionally, the aforementioned remaining discharge voltage is used to indicate the voltage difference between the battery's current minimum voltage and the discharge cutoff voltage under the current driving conditions, that is, the battery's allowable discharge voltage under the current driving conditions.

[0078] Optionally, after obtaining the battery state parameters, the minimum voltage of the battery under the current driving conditions can be determined based on the battery state parameters. Then, the difference between the minimum voltage and the battery's discharge cutoff voltage can be used to obtain the remaining discharge voltage of the battery under the current driving conditions.

[0079] Optionally, the reference discharge power of the battery can be determined based on the product of the discharge cutoff voltage and the maximum discharge current among the charge and discharge current thresholds, wherein the reference discharge power is used to characterize the discharge power of the battery when the battery voltage is the discharge cutoff voltage.

[0080] Optionally, the maximum allowable discharge voltage of the battery can be obtained by subtracting the initial discharge voltage from the discharge cutoff voltage in the battery state parameters. This maximum allowable discharge voltage is used to characterize the maximum allowable discharge voltage of the battery.

[0081] For example, after determining the remaining discharge voltage, the reference discharge power, and the maximum allowable discharge voltage, the maximum discharge power of the battery can be determined by the following formula (5).

[0082] P_Dis_allow=(CellV_min-U_Dis_min)*U_Dis_min*I_Dis_allow / (U_Dis0-U_Dis_min)(5)

[0083] Wherein, P_Dis_allow represents the vehicle's maximum discharge power; (CellV_min-U_Dis_min) represents the battery's remaining discharge voltage, where CellV_min represents the battery's minimum voltage under the current driving conditions, and U_Dis_min represents the battery's discharge cutoff voltage; (U_Dis_min*I_Dis_allow) represents the battery's reference discharge power, where U_Dis_min represents the discharge cutoff voltage, and I_Dis_allow represents the maximum discharge current in the charge / discharge current threshold; and (U_Dis0-U_Dis_min) represents the battery's maximum allowable discharge voltage, where U_Dis0 represents the initial discharge voltage, and U_Dis_min represents the discharge cutoff voltage.

[0084] Optionally, after determining the battery's maximum discharge power under the current driving conditions, the battery's maximum charging power under the same conditions can also be determined. The calculation process for the battery's maximum charging power will be described below.

[0085] As an optional implementation, step S103, determining the battery's charge / discharge power threshold based on the charge / discharge current threshold, battery state parameters, and a preset voltage threshold, includes: determining the battery's highest voltage under the current driving condition based on the battery state parameters; determining the battery's remaining charging voltage under the current driving condition based on the highest voltage and the charging cutoff voltage in the preset voltage threshold; determining the battery's reference charging power based on the charging cutoff voltage and the maximum charging current in the charge / discharge current threshold; and determining the battery's maximum allowable charging voltage based on the charging cutoff voltage and the initial charging voltage in the battery state parameters. The remaining charging voltage characterizes the allowable charging voltage of the battery under the current driving condition, the reference charging power characterizes the charging power of the battery when the battery voltage is at the charging cutoff voltage, and the maximum allowable charging voltage characterizes the maximum allowable charging voltage of the battery. The maximum charging power of the battery is determined based on the remaining charging voltage, the reference charging power, and the maximum allowable charging voltage.

[0086] In this embodiment, the aforementioned charging cutoff voltage indicates the upper voltage limit during battery charging, representing the highest voltage value set to avoid overcharging. For example, during charging, the battery voltage gradually increases. When the voltage rises above a certain threshold, the battery may enter overcharging, a potential risk that can lead to increased internal pressure, electrolyte decomposition, cell expansion, and even thermal runaway and battery damage. Setting the charging cutoff voltage ensures that the battery can safely stop charging at a certain level, preventing the aforementioned problems.

[0087] Optionally, the aforementioned remaining charging voltage is used to indicate the voltage difference between the battery's current highest voltage and the charging cut-off voltage under the current driving conditions. In other words, it reflects the battery's allowable charging voltage under the current driving conditions, indicating how much voltage increase the battery can withstand without exceeding safety and performance limits.

[0088] Optionally, after obtaining the battery status parameters, the highest voltage of the battery under the current driving conditions can be determined based on the battery status parameters. Then, the remaining charging voltage of the battery under the current driving conditions can be obtained by subtracting the charging cutoff voltage of the battery from the highest voltage.

[0089] Optionally, the reference charging power of the battery can be determined based on the product of the charging cutoff voltage and the maximum charging current among the charging and discharging current thresholds. This reference charging power is used to characterize the charging power of the battery when its voltage is the charging cutoff voltage.

[0090] Optionally, the maximum allowable charging voltage of the battery can be obtained by subtracting the charging cutoff voltage from the initial charging voltage in the battery state parameters, wherein the maximum allowable charging voltage is used to characterize the maximum allowable charging voltage of the battery.

[0091] For example, after determining the remaining charging voltage, the reference charging power, and the maximum allowable charging voltage, the maximum charging power of the battery can be determined by the following formula (6).

[0092] P_Chg_allow=(U_Chg_max-CellV_max)*U_Chg_max*I_Chg_allow / (U_Chg_max-U_Chg0)(6)

[0093] Wherein, P_Chg_allow represents the battery's maximum charging power; (U_Chg_max-CellV_max) represents the battery's remaining charging voltage, where U_Chg_max represents the battery's charging cutoff voltage and CellV_max represents the battery's highest voltage under the current driving conditions; (U_Chg_max-U_Chg0) represents the battery's maximum allowable charging voltage, where U_Chg_max represents the battery's charging cutoff voltage and U_Chg0 represents the battery's initial charging voltage.

[0094] Optionally, after determining the maximum discharge power and maximum charging power of the battery in the above manner, the charging and discharging power threshold of the battery can be determined based on the maximum discharge power and maximum charging power of the battery.

[0095] As an optional implementation, the battery control request is either a battery charging request or a battery discharging request. The control current requested in the battery charging request is the requested charging current, and the control current requested in the battery discharging request is the requested discharging current. In step S104, in response to the vehicle's battery control request, a battery control strategy for the vehicle is determined based on the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the control current requested in the battery control request. This includes: in response to the battery control request being a battery discharging request, a battery discharging control strategy for the vehicle is determined based on the maximum discharge power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the requested discharging current; and in response to the battery control request being a battery charging request, a battery charging control strategy for the vehicle is determined based on the maximum charging power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and the requested charging current.

[0096] In this embodiment, as described above, the battery control request can be a battery discharge request or a battery charging request. When the battery control request is a battery discharge request, the battery discharge control strategy can be determined based on the maximum discharge power in the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the requested discharge current in the battery discharge request. The discharge control strategy is used to control the battery discharge process.

[0097] Optionally, when the battery control request is a battery charging request, the vehicle's battery charging control strategy can be determined based on the maximum charging power in the charging and discharging power threshold, the battery state parameters, the charging and discharging current threshold, and the requested charging current in the battery charging request. This charging control strategy is used to control the battery charging process.

[0098] The process of determining the vehicle's battery discharge control strategy will be described in more detail below.

[0099] As an optional implementation, a battery discharge control strategy for a vehicle is determined based on the maximum discharge power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested discharge current. This includes: determining the equivalent discharge current of the battery based on the maximum discharge power in the charge / discharge power threshold and the voltage parameter in the battery state parameters, wherein the equivalent discharge current characterizes the maximum discharge current of the battery under the current driving conditions; comparing the requested discharge current with the equivalent discharge current to obtain a first comparison result; and comparing the requested discharge current with the maximum discharge current in the charge / discharge current threshold to obtain a second comparison result; in response to the first comparison result indicating that the requested discharge current is less than or equal to the equivalent discharge current, and the second comparison result indicating that the requested discharge current is less than the maximum discharge current, determining the target discharge power of the battery based on the requested discharge current and the voltage parameter; and generating a battery discharge control strategy based on the requested discharge current and the target discharge power.

[0100] In this embodiment, when determining the vehicle's battery discharge control strategy based on the maximum discharge power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested discharge current, the equivalent discharge current of the battery can be determined based on the maximum discharge power in the charge / discharge power threshold and the voltage parameter in the battery state parameters. The equivalent discharge current is used to characterize the maximum discharge current of the battery under the current driving conditions, and the voltage parameter is used to indicate the battery pack voltage in the battery state parameters.

[0101] Optionally, after determining the equivalent discharge current, the requested discharge current of the battery discharge request can be compared with the equivalent discharge current to obtain a first comparison result, wherein the first comparison result is used to evaluate whether the current discharge request is consistent with the actual discharge capacity of the battery.

[0102] Optionally, the requested discharge current is compared with the maximum discharge current in the charge / discharge current threshold to obtain a second comparison result, wherein the second comparison result focuses on safety and protection to ensure that the discharge request does not exceed the preset safety limit.

[0103] Optionally, if the first comparison result and the second comparison result satisfy the first condition, the target discharge power of the battery is determined based on the requested discharge current and the total voltage of the battery pack in the voltage parameters. The first condition indicates that the requested discharge current is less than or equal to the equivalent discharge current, and the requested discharge current is less than the maximum discharge current. This first condition can be expressed as: I_req_Dis ≤ P_Dis_allow / BatteryU and I_req_Dis < I_Dis_allow, where I_req_Dis represents the requested discharge current, (P_Dis_allow / BatteryU) represents the equivalent discharge current, P_Dis_allow represents the maximum discharge power, BatteryU represents the total voltage of the battery pack in the voltage parameters, and I_Dis_allow represents the maximum discharge current of the battery under the current driving conditions.

[0104] Alternatively, the target discharge power of the battery can be determined by the following formula (7).

[0105] Power_Model1=I_req_Dis*BatteryU (7)

[0106] Among them, Power_Model1 is used to represent the battery discharge power under the current driving conditions, that is, the target discharge power, I_req_Dis can be used to represent the requested discharge current, and BatteryU is used to represent the total voltage of the battery pack.

[0107] Optionally, if the first comparison result and the second comparison result satisfy the first condition, it can be determined that under the current driving conditions, the battery discharge current is the requested discharge current requested by the battery discharge request, and the battery discharge power is the target discharge power. That is, I_Model1 = I_req_Dis, Power_Model1 = I_req_Dis * BatteryU, where I_Model1 represents the battery discharge current under the current driving conditions, I_req_Dis can be used to represent the requested discharge current, Power_Model1 represents the battery discharge power under the current driving conditions, and BatteryU represents the total voltage of the battery pack.

[0108] Optionally, after determining the battery's discharge current and discharge power under the current driving conditions, the battery's discharge current and discharge power can be used as the battery's discharge strategy. That is, the battery's discharge process under the current driving conditions can be controlled according to the discharge current and discharge power.

[0109] As an optional implementation, the method further includes: in response to a first comparison result indicating that the requested discharge current is greater than the equivalent discharge current, and a second comparison result indicating that the requested discharge current is less than the maximum discharge current, generating a battery discharge control strategy based on the equivalent discharge current and the maximum discharge power.

[0110] In this embodiment, if the first comparison result and the second comparison result satisfy the second condition, a battery discharge control strategy is generated based on the equivalent discharge current and the maximum discharge power.

[0111] Optionally, the second condition is used to indicate that the requested discharge current is greater than the equivalent discharge current and the requested discharge current is less than the maximum discharge current. The second condition can be expressed as I_req_Dis > P_Dis_allow / BatteryU and I_req_Dis < I_Dis_allow, where I_req_Dis represents the requested discharge current, (P_Dis_allow / BatteryU) represents the equivalent discharge current, P_Dis_allow represents the maximum discharge power, and BatteryU represents the total battery pack voltage in the voltage parameters.

[0112] Optionally, if the first comparison result and the second comparison result satisfy the second condition, then the battery discharge control strategy is determined based on the equivalent discharge current and the maximum discharge power.

[0113] For example, if the first comparison result and the second comparison result satisfy the second condition, the battery discharge current can be determined as the equivalent discharge current, and the battery discharge power can be determined as the maximum discharge power, that is, I_Model1=P_Dis_allow / BatteryU, Power_Model1=P_Dis_allow.

[0114] Optionally, after determining the battery's discharge current and discharge power under the current driving conditions, the battery's discharge current and discharge power can be used as the battery's discharge strategy. That is, the battery's discharge process under the current driving conditions can be controlled according to the discharge current and discharge power.

[0115] Optionally, if the first comparison result and the second comparison result do not satisfy either the first condition or the second condition, the battery discharge current can be determined as the maximum discharge current of the battery under the current driving conditions, and the battery discharge power can be determined as the product of the maximum discharge current of the battery under the current driving conditions and the total voltage of the battery pack, that is, I_Model1 = I_Dis_allow, Power_Model1 = I_Dis_allow * BatteryU. Then, based on the discharge current and the discharge power, the battery discharge control strategy in the vehicle is generated.

[0116] Optionally, after determining the above-mentioned battery discharge control strategy, the battery discharge process in the vehicle can be controlled according to the battery discharge control strategy. The battery discharge process can be reasonably controlled to ensure that the battery is in a safe and optimal charging and discharging state during energy recovery, avoid the battery voltage being too low, and improve the efficiency and safety of energy recovery.

[0117] The process of determining the vehicle's battery charging control strategy will be described in more detail below.

[0118] As an optional implementation, a battery charging control strategy for the vehicle is determined based on the maximum charging power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested charging current. This includes: determining the equivalent charging current of the battery based on the maximum charging power in the charge / discharge power threshold and the voltage parameter in the battery state parameters, wherein the equivalent charging current characterizes the maximum charging current of the battery under the current driving conditions; comparing the requested charging current with the equivalent charging current to obtain a third comparison result; and comparing the requested charging current with the maximum charging current in the charge / discharge current threshold to obtain a fourth comparison result; in response to the third comparison result indicating that the requested charging current is less than or equal to the equivalent charging current, and the fourth comparison result indicating that the requested charging current is less than the maximum charging current, determining the target charging power of the battery based on the requested charging current and the voltage parameter; and generating a battery charging control strategy based on the requested charging current and the target charging power.

[0119] In this embodiment, when determining the vehicle's battery charging control strategy based on the maximum charging power in the charging and discharging power threshold, the battery state parameters, the charging and discharging current threshold, and the requested charging current, the equivalent charging current of the battery can be determined based on the maximum charging power in the charging and discharging power threshold and the voltage parameter in the battery state parameters. The equivalent charging current is used to characterize the maximum charging current of the battery under the current driving conditions, and the voltage parameter can be the battery pack voltage in the battery state parameters.

[0120] Optionally, after determining the equivalent charging current, the requested charging current in the battery charging request can be compared with the equivalent charging current to obtain a third comparison result.

[0121] Optionally, the requested charging current is compared with the maximum charging current in the charging and discharging current thresholds to obtain a fourth comparison result.

[0122] Optionally, if the third comparison result and the fourth comparison result satisfy the third condition, the target charging power of the battery is determined based on the requested recharge current and the total voltage of the voltage packet in the voltage parameters, where the third condition is used to indicate that the requested charging current is less than or equal to the equivalent charging current and the requested charging current is less than the maximum charging current. The third condition can be expressed as: I_req_Chg ≤ P_Chg_allow / BatteryU and I_req_Chg < I_Chg_allow, where I_req_Chg is used to represent the requested charging current, (P_Chg_allow / BatteryU) is used to represent the equivalent charging current, where P_Chg_allow is used to represent the maximum charging power, BatteryU is used to represent the total voltage of the battery pack in the voltage parameters, and I_Chg_allow is used to represent the maximum charging current of the battery under the current driving condition.

[0123] Optionally, the target discharge power of the battery can be determined by the following formula (8).

[0124] Power_Model2 = I_req_Chg * BatteryU (8)

[0125] Where, Power_Model2 is used to represent the charging power of the battery under the current driving condition, that is, the target discharge power, I_req_Chg can be used to represent the requested charging current, and BatteryU is used to represent the total voltage of the battery pack.

[0126] Optionally, when the third comparison result and the fourth comparison result satisfy the third condition, it can be determined that under the current driving condition, the charging current of the battery is the requested charging current requested by the battery charging request, and the battery charging power is the target charging power, that is, I_Model2 = I_req_Chg, Power_Model2 = I_req_Chg * BatteryU, where I_Model2 is used to represent the charging current of the battery under the current driving condition, I_req_Chg can be used to represent the requested charging current, Power_Model2 is used to represent the charging power of the battery under the current driving condition, and BatteryU is used to represent the total voltage of the battery pack.

[0127] Optionally, after determining the discharge current of the battery and the discharge power of the battery under the current driving condition, the discharge current and the discharge power of the battery can be determined as the discharge strategy of the battery, that is, the discharge process of the battery under the current driving condition can be controlled according to the discharge current and the discharge power.

[0128] As an optional implementation, the method further includes: in response to a third comparison result indicating that the requested charging current is greater than the equivalent charging current, and a fourth comparison result indicating that the requested charging current is less than the maximum charging current, generating a battery charging control charging strategy based on the equivalent charging current and the maximum charging power.

[0129] In this embodiment, if the third comparison result and the fourth comparison result satisfy the fourth condition, a battery charging control strategy is generated based on the equivalent charging current and the maximum charging power.

[0130] Optionally, the fourth condition is used to indicate that the requested charging current is greater than the equivalent charging current and the requested charging current is less than the maximum charging current. This fourth condition can be expressed as I_req_Chg>P_Chg_allow / BatteryU and I_req_Chg<I_Chg_allow, where I_req_Chg represents the requested charging current, (P_Chg_allow / BatteryU) represents the equivalent charging current, P_Chg_allow represents the maximum charging power, and BatteryU represents the total battery pack voltage in the voltage parameters.

[0131] Optionally, if the third comparison result and the fourth comparison result satisfy the fourth condition, then the charging control strategy of the battery is determined based on the equivalent charging current and the maximum charging power.

[0132] For example, if the third comparison result and the fourth comparison result satisfy the fourth condition, the battery charging current can be determined as the equivalent charging current, and the battery charging power can be determined as the maximum charging power. That is, I_Model2 = P_Chg_allow / BatteryU, and the battery discharge power Power_Model2 = P_Chg_allow.

[0133] Optionally, after determining the battery charging current and the battery charging power under the current driving conditions, the battery charging current and the battery charging power can be determined as the battery charging strategy. That is, the battery charging process under the current driving conditions can be controlled according to the charging current and the charging power.

[0134] Optionally, if the third comparison result and the fourth comparison result do not satisfy either the third condition or the fourth condition, the battery charging current can be determined as the maximum charging current of the battery under the current driving conditions, and the battery charging power can be determined as the product of the maximum charging current of the battery under the current driving conditions and the total voltage of the battery pack, that is, I_Model2 = I_Chg_allow, Power_Model2 = I_Chg_allow * BatteryU. Then, based on the charging current and the charging power, a charging control strategy for the battery in the vehicle can be generated.

[0135] Optionally, after determining the above-mentioned battery charging control strategy, the charging process of the battery in the vehicle can be controlled according to the battery charging control strategy. This can reasonably control the charging process of the battery in the vehicle, effectively prevent risks such as thermal runaway, battery expansion, and electrolyte decomposition, thereby significantly improving the safety of the battery charging process.

[0136] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.

[0137] Electric vehicle performance encompasses both discharge and charging capabilities during driving. Discharge capacity relates to the vehicle's instantaneous acceleration, sustained acceleration, and range, while charging capacity relates to regenerative braking, energy consumption, and the user experience during coasting and deceleration. At high battery levels and suitable temperatures, these two performance metrics generally meet the daily driving needs of users. However, at low battery levels and low temperatures, these performance metrics are constrained by the vehicle's battery strategy and cannot be fully realized, or the state assessment may be inaccurate, leading to overvoltage or undervoltage faults, thus affecting the user's driving experience.

[0138] Currently, most existing battery discharge and feedback strategies are based on offline calibration of battery power, which presents several problems. For example, when the battery degrades, it is impossible to accurately assess the aging state of the battery, resulting in a deviation in power capacity assessment and causing battery failure or insufficient capacity release. Also, when the calculation of the battery's SOC is inaccurate, the reliability of the offline lookup table strategy will decrease significantly.

[0139] To address the aforementioned technical problems, this application proposes a battery charging and discharging control method. Based on the battery architecture and the cell capabilities of the supplier, the highest and lowest voltage boundaries of the battery during vehicle operation are pre-set. The HPPC testing method is used to comprehensively evaluate the battery's charging and discharging capabilities under different temperatures and states of charge. Based on the test results, charging and discharging current meters are constructed for subsequent dynamic charging and discharging strategy formulation. During vehicle operation, real-time battery status parameters are continuously collected, including the highest and lowest cell voltages, module temperature, total battery pack voltage and current, and highest and lowest SOC. Using the collected battery status parameters, combined with the preset charging and discharging current thresholds and voltage boundaries, the available charging and discharging power of the battery can be calculated in real time during vehicle operation, ensuring dynamic adaptability of charging and discharging power and improving control accuracy. Ultimately, based on battery state parameters, charge / discharge current thresholds, voltage boundaries, and calculated available charge / discharge power, this strategy can dynamically adjust the charge / discharge process, ensuring safe release of battery performance, avoiding energy waste, extending battery life, significantly improving the accuracy of charge / discharge control, ensuring stable operation and safe charging of the battery under complex operating conditions, and thus solving the technical problem of low accuracy in battery charge / discharge control in related technologies.

[0140] Optionally, the aforementioned Figure 1 The corresponding embodiments have detailed a battery charging and discharging control method. This method focuses on evaluating the battery's instantaneous maximum charging and discharging capacity, i.e., pulse charging and discharging current. It is primarily used to ensure that the battery can provide sufficient power without damaging it under conditions requiring the release or absorption of large amounts of energy in a short time, such as acceleration or emergency braking. Pulse charging and discharging refers to the battery discharging or charging at a current far exceeding its continuous discharge capacity for a short period (e.g., a few seconds to a few minutes). In other words, this method is more focused on optimizing transient performance, ensuring the battery can operate safely under instantaneous high power demands and avoiding battery damage due to excessive current.

[0141] Next, we will introduce another method for controlling the charging and discharging of batteries.

[0142] Figure 2 This is a flowchart of a battery charging and discharging control method according to an embodiment of this application, such as... Figure 2 As shown, the method includes the following steps.

[0143] Step S201: Based on the battery system and the cell capabilities provided by the supplier, determine the highest and lowest voltage boundaries of the battery during driving.

[0144] In this embodiment, the highest and lowest voltage boundaries of the battery during driving are determined based on the battery system and the cell capabilities provided by the supplier. The maximum discharge voltage boundary is denoted as U_Dis_min, and the maximum charging voltage boundary is denoted as U_Chg_max.

[0145] Optionally, the charging voltage boundary includes, but is not limited to, 2.2 to 4.5V; the discharging voltage boundary includes, but is not limited to, 1.5 to 3.0V.

[0146] Step S202: Perform HPPC testing on the battery, and generate charging current meter and discharging current meter for the battery based on the test results.

[0147] In this embodiment, the battery is subjected to HPPC testing, and the maximum charge / discharge current of the battery is derived based on the data results, with dimensions being SOC and temperature T.

[0148] Optionally, the battery test temperature (T) includes, but is not limited to: -30℃, -20℃, -10℃, 0℃, 15℃, 25℃, 45℃, 55℃, and 60℃. The battery test capacity (SOC) includes, but is not limited to: 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, and 100%. The battery test current (I) includes, but is not limited to: 0.33C, 0.5C, 1C, 2C, 3C, 5C, and 7C. The battery test time (t) includes, but is not limited to: 2s, 3s, 5s, 7s, 10s, 30s, and 60s.

[0149] Optionally, the battery pulse time (t_Pulse) includes, but is not limited to: 2s, 3s, 5s, 7s, and 10s;

[0150] Optionally, the battery duration (t_Constant) includes, but is not limited to: 30s, 60s, 90s, 120s, 150s, and 180s.

[0151] Accordingly, after HPPC testing, the specific charging current (I_Chg), discharging current (I_Dis), SOC, and initial discharge voltage U_Dis0, discharge end voltage U_Dis, initial charging voltage U_Chg0, and charging end voltage U_Chg can be obtained. Then, under the current SOC, temperature T, and time t_Pulse, the maximum pulse discharge current I_Dis_Pulse of the battery can be calculated using the coefficient formula (9), and the maximum pulse charging current I_Chg_Pulse of the extreme battery can be obtained using the following formula (10).

[0152] I_Dis_Pulse=(U_Dis0-U_Dis_min)*I_Dis*t / (U_Dis0-U_Dis) / t_Pulse (9)

[0153] I_Chg_Pulse=(U_Chg_max-U_Chg0)*I_Chg*t / (U_Chg-U_Chg0) / t_Pulse (10)

[0154] Optionally, based on the test results, the pulse charging current meter shown in Table 3 and the pulse discharging current meter shown in Table 4 can be generated.

[0155] Table 3 Pulse Charging Current Table

[0156]

[0157] Table 4. Pulse Discharge Current Table

[0158]

[0159]

[0160] Optionally, under the current SOC, temperature T and time t_Constant, the battery continuous discharge current I_Dis_Constant can be calculated by the following formula (11), and the battery continuous charging current I_Chg_Constant can be calculated by the following formula (12).

[0161] I_Dis_Constant=(U_Dis0-U_Dis_min)*I_Dis*t / (U_Dis0-U_Dis) / t_Constant (11)

[0162] I_Chg_Constant=(U_Chg_max-U_Chg0)*I_Chg*t / (U_Chg-U_Chg0) / t_Constant (12)

[0163] Optionally, based on the test results, the continuous charging current meter shown in Table 5 and the continuous discharging current meter shown in Table 6 can be obtained.

[0164] Table 5 Continuous Charging Current Table

[0165]

[0166]

[0167] Table 6 Continuous Discharge Current Table

[0168]

[0169] Step S203: Set the voltage at which the battery charging and discharging current is converted from pulse current to continuous current.

[0170] In this embodiment, the voltage at which the battery charging and discharging current is converted from a pulse current to a continuous current is set.

[0171] Optionally, the lowest voltage (U_Dis_Exchange) during battery discharge current conversion includes, but is not limited to, 2.2 to 3.7V; and the highest voltage (U_Chg_Exchange) during battery charging current conversion includes, but is not limited to, 2.2 to 4.5V.

[0172] Step S204: During vehicle operation, collect battery state parameters.

[0173] In this embodiment, during vehicle operation, the highest and lowest cell voltages of the battery are collected and denoted as CellV_max and CellV_min, respectively; the highest and lowest module temperatures are collected and denoted as ModelT_max and ModelT_min, respectively; the total battery pack voltage is denoted as BatteryU; the total battery pack current is denoted as BatteryI; and the highest and lowest battery SOC are denoted as SOC_max and SOC_min, respectively. All of the above data is updated in real time according to the BMS data collection time interval.

[0174] Step S205: Based on the battery state parameters, query the pulse charge / discharge current table and the continuous charge / discharge current table to obtain the battery's maximum pulse charge / discharge current and continuous charge / discharge current.

[0175] In this embodiment, by querying the charging current SOC-T-I_Chg table and the discharging current SOC-T-I_Dis table using the values ​​of ModelT_max, ModelT_min, SOC_max, and SOC_min, the maximum pulse charging current I_Chg_Pulse, the continuous charging current I_Chg_Constant, the maximum pulse discharging current I_Dis_Pulse, and the continuous discharging current I_Dis_Constant under the current conditions are obtained respectively.

[0176] Optionally, SOC dimension query methods include, but are not limited to, uniformity, linear interpolation, nearest neighbor interpolation, cubic spline, linear Lagrange, etc.

[0177] Optionally, the temperature T query method includes, but is not limited to, uniformity, linear difference, nearest neighbor difference, cubic spline, linear Lagrange, etc.

[0178] Step S206: Calculate the battery charging and discharging current and power capacity in real time based on the battery's highest and lowest voltages, the total battery pack voltage, and the charge / discharge boundary voltage.

[0179] In this embodiment, the battery charging and discharging current and power capability are calculated in real time based on the battery's highest CellV_max, lowest CellV_min, total battery pack voltage BatteryU, charging boundary voltage U_Chg_max, and discharging boundary voltage U_Dis_min.

[0180] Alternatively, the maximum discharge power P_Dis_allow of the battery can be calculated using the following formula (13).

[0181] P_Dis_allow=BatteryU*I_Dis_allow (13)

[0182] Optionally, when CellV_min > U_Dis_Exchange, I_Dis_allow = I_Dis_Pulse.

[0183] Optionally, when CellV_min <= U_Dis_Exchange, the following relationship is set according to the voltage margin using the following formula (14):

[0184] (CellV_min-U_Dis_min) / (U_Dis_Exchange-U_Dis_min)=(I_Dis_allow-I_Dis_Constant) / (I_Dis_Pulse-I_Dis_Constant)(14)

[0185] Optionally, the allowable power of the battery can be determined according to the above formula (14), and the allowable power of the battery can be expressed by the following formula (15).

[0186] I_Dis_allow=(CellV_min-U_Dis_min)*(I_Dis_Pulse-I_Dis_Constant) / (U_Dis_Exchange-U_Dis_min)+I_Dis_Constant(15)

[0187] Optionally, discretization is performed in the BMS, and the slope of the current change within the time interval t is k_Dis, then the following relationship exists.

[0188] K_Dis=(I_Dis_Pulse-I_Dis_allow) / t (16)

[0189] Among them, k is set to the maximum value K_Dis_max. K_Dis includes but is not limited to 2 to 100.

[0190] Optionally, the maximum charging power P_Chg_allow = BatteryU * I_Chg_allow.

[0191] When CellV_max < U_Chg_Exchange, I_Chg_allow = I_Chg_Pulse.

[0192] When CellV_max >= U_Chg_Exchange, the following relationship is set according to the voltage margin:

[0193] (U_Chg_max - CellV_ma) / (U_Chg_max - U_Chg_Exchange) = (I_Chg_allow - I_Chg_Constant) / (I_Chg_Pulse - I_Chg_Constant)(17)

[0194] Optionally, the allowable current I_Chg_allow of the battery can be expressed by the following formula (18).

[0195] I_Chg_allow = (U_Chg_max - CellV_max) * (I_Chg_Pulse - I_Chg_Constant) / (U_Chg_max - U_Chg_Exchange) + I_Chg_Constant(18)

[0196] Optionally, discretization is performed in the BMS. If the slope of the current change within the time interval t is k_Chg, then there is the following relationship:

[0197] K_Chg = (I_Chg_Pulse - I_Dis_allow) / t (19)

[0198] Among them, k is set to the maximum value K_Chg_max. K_Chg includes but is not limited to 2 to 100.

[0199] Optionally, the allowable discharge power and current strategy are as follows: If the electric vehicle requests a discharge current of I_req_Dis, then when I_req_Dis ≤ I_Dis_allow; the battery discharge current I_Model = I_req_Dis, and the battery discharge power Power_Model = I_req_Dis * BatteryU.

[0200] Optionally, when I_req_Dis > I_Dis_allow, the battery discharge current I_Model = I_Dis_allow, and the battery discharge power Power_Model = I_Dis_allow * BatteryU.

[0201] Optionally, the battery's allowable charging power and current strategy is as follows: If the battery vehicle requests a charging current of I_req_Chg, then when I_req_Chg≤I_Chg_allow, the battery charging current I_Model=I_req_Chg, and the battery charging power Power_Model=I_req_Chg*BatteryU.

[0202] Optionally, when I_req_Chg > I_Chg_allow, the battery discharge current I_Model = I_Chg_allow, and the battery discharge power Power_Model = I_Chg_allow * BatteryU.

[0203] Optionally, the aforementioned battery charge / discharge control method focuses on managing the continuous charge / discharge current, which is related to the stable operation and energy management of the vehicle over a longer period. Continuous charge / discharge current refers to the battery continuously discharging or charging at a certain current over a relatively long period (e.g., several minutes to several hours). This method considers not only the battery's instantaneous performance but also its long-term health and efficiency. By setting the voltage at which the battery's charge / discharge current transitions from a pulse current to a continuous current, and controlling the slope of the current transition, it ensures that the battery will not overheat, overcharge, or over-discharge during long-term operation, while maintaining high energy utilization efficiency. In other words, this method prioritizes the battery's long-term health and stability, preventing the battery from being in an unsafe charge / discharge state for extended periods through continuous current management, thereby extending battery life and improving overall energy efficiency.

[0204] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0205] According to an embodiment of this application, an embodiment of a control device for a battery in a vehicle is provided. It should be noted that the device can be used to execute the above-described control method for a battery in a vehicle.

[0206] Figure 3 This is a schematic diagram of a battery control device in a vehicle according to an embodiment of this application. Figure 3 As shown, the battery control device 300 in the vehicle may include: an acquisition unit 301, a first determination unit 302, a second determination unit 303, a third determination unit 304, and a control unit 305.

[0207] The acquisition unit 301 is used to acquire battery state parameters of the battery in the vehicle in response to the vehicle being in a driving state, wherein the battery state parameters are used to characterize the battery state under the current driving conditions.

[0208] The first determining unit 302 is used to determine the charging and discharging current threshold of the battery based on the battery state parameters, wherein the charging and discharging current threshold is used to characterize the maximum charging current and the maximum discharging current of the battery under the current driving conditions.

[0209] The second determining unit 303 is used to determine the charging and discharging power threshold of the battery based on the charging and discharging current threshold, battery state parameters and the battery's preset voltage threshold. The charging and discharging power threshold is used to characterize the battery's maximum charging power and maximum discharging power, and the preset voltage threshold is used to characterize the battery's discharge cutoff voltage and charging cutoff voltage.

[0210] The third determining unit 304 is used to determine the vehicle's battery control strategy in response to the vehicle's battery control request, based on the charging and discharging power threshold, battery state parameters, charging and discharging current threshold, and the control current requested by the battery control request. The battery control strategy is used to characterize the control rules for the battery under the current driving conditions.

[0211] The control unit 305 is used to control the battery according to the battery control strategy.

[0212] Optionally, the first determining unit 302 is further configured to: determine the maximum charging current of the battery under the current driving condition from a preset charging current table based on the battery state parameters, and determine the maximum discharging current of the battery under the current driving condition from a preset discharging current table based on the battery state parameters, wherein the preset charging current table includes the maximum charging current of the battery under multiple driving conditions, and the discharging current table includes the maximum discharging current of the battery under multiple driving conditions; and determine the maximum charging current and the maximum discharging current as the charging and discharging current threshold of the battery.

[0213] Optionally, the second determining unit 303 is further configured to: determine the minimum voltage of the battery under the current driving conditions based on battery state parameters; determine the remaining discharge voltage of the battery under the current driving conditions based on the minimum voltage and the discharge cutoff voltage in the preset voltage threshold; determine the reference discharge power of the battery based on the discharge cutoff voltage and the maximum discharge current in the charge / discharge current threshold; and determine the maximum allowable discharge voltage of the battery based on the initial discharge voltage and the discharge cutoff voltage in the battery state parameters, wherein the remaining discharge voltage is used to characterize the allowable discharge voltage of the battery under the current driving conditions, the reference discharge power is used to characterize the discharge power of the battery when the battery voltage is the discharge cutoff voltage, and the maximum allowable discharge voltage is used to characterize the maximum allowable discharge voltage of the battery; and determine the maximum discharge power of the battery based on the remaining discharge voltage, the reference discharge power, and the maximum allowable discharge voltage.

[0214] Optionally, the second determining unit 303 is further configured to: determine the highest voltage of the battery under the current driving condition based on battery state parameters; determine the remaining charging voltage of the battery under the current driving condition based on the highest voltage and the charging cutoff voltage in the preset voltage threshold; determine the reference charging power of the battery based on the charging cutoff voltage and the maximum charging current in the charging and discharging current threshold; and determine the maximum allowable charging voltage of the battery based on the charging cutoff voltage and the initial charging voltage in the battery state parameters, wherein the remaining charging voltage is used to characterize the allowable charging voltage of the battery under the current driving condition, the reference charging power is used to characterize the charging power of the battery when the battery voltage is the charging cutoff voltage, and the maximum allowable charging voltage is used to characterize the maximum allowable charging voltage of the battery; and determine the maximum charging power of the battery based on the remaining charging voltage, the reference charging power, and the maximum allowable charging voltage.

[0215] Optionally, the third determining unit 304 is further configured to: in response to a battery control request being a battery discharge request, determine a battery discharge control strategy for the vehicle based on the maximum discharge power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested discharge current; and in response to a battery control request being a battery charging request, determine a battery charging control strategy for the vehicle based on the maximum charging power in the charge / discharge power threshold, battery state parameters, charge / discharge current threshold, and requested charging current.

[0216] Optionally, the third determining unit 304 is further configured to: determine the equivalent discharge current of the battery based on the maximum discharge power in the charge / discharge power threshold and the voltage parameter in the battery state parameters, wherein the equivalent discharge current is used to characterize the maximum discharge current of the battery under the current driving conditions; compare the requested discharge current with the equivalent discharge current to obtain a first comparison result, and compare the requested discharge current with the maximum discharge current in the charge / discharge current threshold to obtain a second comparison result; in response to the first comparison result indicating that the requested discharge current is less than or equal to the equivalent discharge current, and the second comparison result indicating that the requested discharge current is less than the maximum discharge current, determine the target discharge power of the battery based on the requested discharge current and the voltage parameter; and generate a battery discharge control strategy based on the requested discharge current and the target discharge power.

[0217] Optionally, the device 300 is further configured to: generate a battery discharge control strategy based on the equivalent discharge current and the maximum discharge power in response to a first comparison result indicating that the requested discharge current is greater than the equivalent discharge current and a second comparison result indicating that the requested discharge current is less than the maximum discharge current.

[0218] Optionally, the third determining unit 304 is further configured to: determine the equivalent charging current of the battery based on the maximum charging power in the charge / discharge power threshold and the voltage parameter in the battery state parameters, wherein the equivalent charging current is used to characterize the maximum charging current of the battery under the current driving conditions; compare the requested charging current with the equivalent charging current to obtain a third comparison result, and compare the requested charging current with the maximum charging current in the charge / discharge current threshold to obtain a fourth comparison result; in response to the third comparison result indicating that the requested charging current is less than or equal to the equivalent charging current, and the fourth comparison result indicating that the requested charging current is less than the maximum charging current, determine the target charging power of the battery based on the requested charging current and the voltage parameter; and generate a battery charging control strategy based on the requested charging current and the target charging power.

[0219] Optionally, the device 300 is further configured to: in response to a third comparison result indicating that the requested charging current is greater than the equivalent charging current and a fourth comparison result indicating that the requested charging current is less than the maximum charging current, generate a battery charging control charging strategy based on the equivalent charging current and the maximum charging power.

[0220] In the battery control device of this embodiment, battery state parameters are collected in real time during vehicle operation. Based on these parameters, the charging / discharging current threshold and charging / discharging power threshold are dynamically adjusted. Upon receiving a battery control request, a battery control strategy is determined based on the real-time determined charging / discharging power threshold, battery state parameters, charging / discharging current threshold, and the control current requested by the battery control request. This determined battery control strategy better matches the battery's actual performance state under current driving conditions. By controlling the battery charging and discharging according to this strategy, the accuracy of battery charging and discharging control is improved. Compared to the "one-size-fits-all" approach of offline calibration strategies, this method fully considers the unique battery state and driving conditions of the vehicle, making each charging / discharging control more suitable for the vehicle's current situation. This improves battery utilization efficiency and overall performance, while also extending battery life, thus solving the technical problem of low accuracy in battery charging and discharging control in related technologies.

[0221] Embodiments of this application also provide a vehicle, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods described in various embodiments of this application when it runs.

[0222] Embodiments of this application also provide a computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.

[0223] Embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the methods of various embodiments of this application.

[0224] Embodiments of this application also provide a computer program product, including a non-volatile computer-readable storage medium for storing a computer program that, when executed by a processor, implements the methods in various embodiments of this application.

[0225] Embodiments of this application also provide a computer program that, when executed by a processor, implements the methods described in the various embodiments of this application.

[0226] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0227] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0228] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0229] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0230] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0231] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for controlling a battery in a vehicle, characterized in that, include: In response to the vehicle being in a driving state, the battery state parameters of the battery in the vehicle are obtained, wherein the battery state parameters are used to characterize the battery state under the current driving conditions. Based on the battery state parameters, the charge and discharge current threshold of the battery is determined, wherein the charge and discharge current threshold is used to characterize the maximum charging current and maximum discharging current of the battery under the current driving conditions. Based on the charging and discharging current threshold, the battery state parameters, and the battery's preset voltage threshold, the charging and discharging power threshold of the battery is determined, wherein the charging and discharging power threshold is used to characterize the battery's maximum charging power and maximum discharging power, and the preset voltage threshold is used to characterize the battery's discharge cutoff voltage and charging cutoff voltage. In response to the vehicle's battery control request, a battery control strategy for the vehicle is determined based on the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the control current requested by the battery control request, wherein the battery control strategy is used to characterize the control rules for the battery under the current driving conditions. The battery is controlled according to the battery control strategy.

2. The method according to claim 1, characterized in that, Based on the battery state parameters, the charge / discharge current threshold of the battery is determined, including: Based on the battery state parameters, the maximum charging current of the battery under the current driving condition is determined from a preset charging current table, and the maximum discharging current of the battery under the current driving condition is determined from a preset discharging current table, wherein the preset charging current table includes the maximum charging current of the battery under multiple driving conditions, and the preset discharging current table includes the maximum discharging current of the battery under multiple driving conditions. The maximum charging current and the maximum discharging current are determined as the charging and discharging current threshold of the battery.

3. The method according to claim 1, characterized in that, Based on the charge / discharge current threshold, the battery state parameters, and the battery's preset voltage threshold, the charge / discharge power threshold of the battery is determined, including: Based on the battery state parameters, determine the lowest voltage of the battery under the current driving conditions; Based on the minimum voltage and the discharge cutoff voltage in the preset voltage threshold, the remaining discharge voltage of the battery under the current driving condition is determined; based on the discharge cutoff voltage and the maximum discharge current in the charge / discharge current threshold, the reference discharge power of the battery is determined; and based on the initial discharge voltage in the battery state parameters and the discharge cutoff voltage, the maximum allowable discharge voltage of the battery is determined, wherein the remaining discharge voltage is used to characterize the allowable discharge voltage of the battery under the current driving condition, the reference discharge power is used to characterize the discharge power of the battery when the battery voltage is the discharge cutoff voltage, and the maximum allowable discharge voltage is used to characterize the maximum allowable discharge voltage of the battery. The maximum discharge power of the battery is determined based on the remaining discharge voltage, the reference discharge power, and the maximum allowable discharge voltage.

4. The method according to claim 1, characterized in that, Based on the charge / discharge current threshold, the battery state parameters, and the battery's preset voltage threshold, the charge / discharge power threshold of the battery is determined, including: Based on the battery state parameters, determine the highest voltage of the battery under the current driving conditions; Based on the highest voltage and the charging cutoff voltage in the preset voltage threshold, the remaining charging voltage of the battery under the current driving condition is determined; based on the charging cutoff voltage and the maximum charging current in the charge / discharge current threshold, the reference charging power of the battery is determined; and based on the charging cutoff voltage and the initial charging voltage in the battery state parameters, the maximum allowable charging voltage of the battery is determined. The remaining charging voltage characterizes the allowable charging voltage of the battery under the current driving condition, the reference charging power characterizes the charging power of the battery when its voltage is the charging cutoff voltage, and the maximum allowable charging voltage characterizes the maximum allowable charging voltage of the battery. The maximum charging power of the battery is determined based on the remaining charging voltage, the reference charging power, and the maximum allowable charging voltage.

5. The method according to claim 1, characterized in that, The battery control request is either a battery charging request or a battery discharging request. The control current requested in the battery charging request is the requested charging current, and the control current requested in the battery discharging request is the requested discharging current. In response to the vehicle's battery control request, based on the charging / discharging power threshold, the battery state parameters, the charging / discharging current threshold, and the control current requested in the battery control request, a battery control strategy for the vehicle is determined, including: In response to the battery control request being a battery discharge request, a battery discharge control strategy for the vehicle is determined based on the maximum discharge power in the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the requested discharge current. In response to the battery control request being the battery charging request, a battery charging control strategy for the vehicle is determined based on the maximum charging power in the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the requested charging current.

6. The method according to claim 5, characterized in that, Based on the maximum discharge power in the charge / discharge power threshold, the battery state parameters, the charge / discharge current threshold, and the requested discharge current, a battery discharge control strategy for the vehicle is determined, including: Based on the maximum discharge power in the charge and discharge power threshold and the voltage parameter in the battery state parameters, the equivalent discharge current of the battery is determined, wherein the equivalent discharge current is used to characterize the maximum discharge current of the battery under the current driving conditions. The requested discharge current is compared with the equivalent discharge current to obtain a first comparison result, and the requested discharge current is compared with the maximum discharge current in the charge and discharge current threshold to obtain a second comparison result; In response to the first comparison result indicating that the requested discharge current is less than or equal to the equivalent discharge current, and the second comparison result indicating that the requested discharge current is less than the maximum discharge current, the target discharge power of the battery is determined based on the requested discharge current and the voltage parameter. The battery discharge control strategy is generated based on the requested discharge current and the target discharge power.

7. The method according to claim 6, characterized in that, The method further includes: In response to the first comparison result indicating that the requested discharge current is greater than the equivalent discharge current, and the second comparison result indicating that the requested discharge current is less than the maximum discharge current, the battery discharge control strategy is generated based on the equivalent discharge current and the maximum discharge power.

8. The method according to claim 5, characterized in that, Based on the maximum charging power in the charging / discharging power threshold, the battery state parameters, the charging / discharging current threshold, and the requested charging current, a battery charging control strategy for the vehicle is determined, including: Based on the maximum charging power in the charging and discharging power threshold and the voltage parameter in the battery state parameters, the equivalent charging current of the battery is determined, wherein the equivalent charging current is used to characterize the maximum charging current of the battery under the current driving conditions. The requested charging current is compared with the equivalent charging current to obtain a third comparison result, and the requested charging current is compared with the maximum charging current in the charging and discharging current threshold to obtain a fourth comparison result; In response to the third comparison result indicating that the requested charging current is less than or equal to the equivalent charging current, and the fourth comparison result indicating that the requested charging current is less than the maximum charging current, the target charging power of the battery is determined based on the requested charging current and the voltage parameter. The battery charging control strategy is generated based on the requested charging current and the target charging power.

9. The method according to claim 8, characterized in that, The method further includes: In response to the third comparison result indicating that the requested charging current is greater than the equivalent charging current, and the fourth comparison result indicating that the requested charging current is less than the maximum charging current, the battery charging control strategy is generated based on the equivalent charging current and the maximum charging power.

10. A vehicle, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the method according to any one of claims 1 to 9.