Battery charge state determination method and device, vehicle and storage medium

By obtaining relevant data during multiple equalization of electric vehicle batteries and determining the power compensation factor and proportional compensation factor, the problem of degradation of battery state of charge accuracy is solved, and the accuracy of battery state evaluation and battery life are improved.

CN119513445APending Publication Date: 2025-02-25GREAT WALL MOTOR CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411373321.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The prior art When determining the state of charge of electric vehicle batteries, especially when the SOC is in the medium range, the accuracy decreases and it is difficult to accurately evaluate the remaining working capacity of the battery.

Method used

By obtaining the actual capacity difference, equalization capacity, total capacity of charge and discharge and power consumption during the multiple equalization of the target battery, the proportional compensation factor of the power compensation factor and the current is determined based on these data, and the state of charge of the battery is accurately estimated in actual vehicle use scenarios.

Benefits of technology

It improves the accuracy of estimating the battery's state of charge, enhances the evaluation of the remaining working capacity of the battery, extends the battery life, and improves the overall performance and safety of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119513445A_ABST
    Figure CN119513445A_ABST
Patent Text Reader

Abstract

The invention provides a battery charge state determination method and device, a vehicle and a storage medium. According to the method, multiple times of equalization are carried out on a target battery, and the difference value (multiple first capacity values) between the actual capacity difference of the target battery and the corresponding equalization capacity from the first equalization to the second equalization in every two adjacent equalities in multiple equalization processes can be determined; and the sum (a plurality of second capacity values) of the total charge and discharge capacity corresponding to each actual capacity difference and the corresponding power consumption. And according to the principle that each first capacity value in the plurality of first capacity values is the same as the corresponding second capacity value, multiple factors influencing the accuracy of the state of charge of the battery are compensated, and an electric quantity compensation factor and a current proportion compensation factor corresponding to the target battery are determined. Furthermore, the compensation factor is accurately calculated, so that the vehicle can accurately estimate the charge state of the target battery in the actual vehicle using scene, and the evaluation on the residual working capability of the target battery is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, device, vehicle and storage medium for determining a battery state of charge in the field of vehicles. Background Art

[0002] With the development of new energy technologies and people's increasing attention to environmental protection and energy conservation, more and more electric vehicles have entered people's lives. However, there are also more and more problems related to electric vehicles, including the determination of the state of charge (SOC) of the battery in the electric vehicle. SOC is used to indicate the remaining power of the battery, indicating the percentage of the current charge of the battery to its rated total capacity, and is used to reflect the remaining working capacity of the battery. Normally, when the battery's SOC is low, the vehicle user can be reminded to charge the battery in time.

[0003] The electrochemical reaction inside the battery is complex, and its operation exhibits strong nonlinear characteristics. In the related art, the SOC of the battery is estimated by the correspondence between the open circuit voltage and the SOC of the battery after it has been stationary for a period of time (i.e., the open circuit voltage method). However, when the battery is in a plateau period (i.e., the SOC is in the medium range), the correspondence between the open circuit voltage and the SOC becomes complicated and is no longer a single functional relationship. This leads to a decrease in the accuracy of determining the SOC of the battery using the open circuit voltage method.

[0004] Therefore, there is an urgent need for a method for determining the state of charge of a battery to improve the estimation accuracy of the SOC of the battery, thereby improving the evaluation of the remaining working capacity of the battery. Summary of the invention

[0005] The present application provides a method, device, vehicle and storage medium for determining the state of charge of a battery. The method can improve the estimation accuracy of the SOC of a target battery and improve the assessment of the remaining working capacity of the target battery.

[0006] In a first aspect, a method for determining a battery state of charge is provided, the method comprising: when a target battery is in a balanced state for multiple times, obtaining the actual capacity difference, balanced capacity, total charge and discharge capacity, and power consumption of the target battery from the first balance to the second balance in each of two adjacent balanced processes; for any actual capacity difference among multiple actual capacity differences, determining a first capacity value based on the difference between the actual capacity difference and the corresponding balanced capacity to obtain a first capacity value corresponding to each actual capacity difference, and determining a second capacity value based on the sum of the total charge and discharge capacity corresponding to the actual capacity difference and the corresponding power consumption to obtain a second capacity value corresponding to each actual capacity difference; for any capacity value among the multiple first capacity values, when the capacity value is the same as the corresponding second capacity value, determining a power compensation factor corresponding to the target battery and a proportional compensation factor of the current, so as to estimate the state of charge of the target battery based on the power compensation factor and the proportional compensation factor in an actual vehicle use scenario.

[0007] In the above technical solution, the target battery is balanced multiple times, and the difference between the actual capacity difference of the target battery and the corresponding balanced capacity from the first equalization to the second equalization in each of the two adjacent equalizations in the multiple equalization processes (multiple first capacity values) can be determined, as well as the sum of the total capacity of charging and discharging corresponding to each actual capacity difference and the corresponding power consumption (multiple second capacity values). Through the principle that each first capacity value in the multiple first capacity values ​​should be the same as the corresponding second capacity value, it is possible to compensate for a variety of factors that affect the accuracy of the battery state of charge, and accurately determine the power compensation factor and the proportional compensation factor of the current corresponding to the target battery. Furthermore, by accurately calculating these compensation factors, the vehicle can accurately determine the state of charge of the target battery in actual vehicle use scenarios, improve the assessment of the remaining working capacity of the target battery, and then more accurately monitor and control the state of the target battery through the state of charge, extend the life of the target battery, and improve the overall performance and safety of the vehicle.

[0008] In conjunction with the first aspect, in some possible implementations, determining the first capacity value based on a difference between the actual capacity difference and the corresponding balanced capacity includes: determining the first capacity value based on the following formula;

[0009]

[0010] Among them, ΔQ i is the actual capacity difference of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, EQ i is the balanced capacity of the target battery from the first to the second balancing process of the i-th adjacent balancing process, is the first capacity value, which is any first capacity value among the multiple first capacity values, specifically, a difference between an actual capacity difference of the target battery and a corresponding balanced capacity during the first to second balancing processes of the i-th adjacent balancing process;

[0011] And, determining a second capacity value based on the sum of the total capacity of charging and discharging corresponding to the actual capacity difference and the corresponding power consumption, including: determining the second capacity value based on the following formula;

[0012]

[0013] Where k is the proportional compensation factor, is the time integral of the current that varies with time, is the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, t is the time difference from the first balancing to the second balancing in the i-th adjacent balancing process, and b is the power compensation factor, (b·t) i is the power consumption of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, is the second capacity value, which is any second capacity value among the multiple second capacity values, specifically the sum of the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process and the corresponding power consumption.

[0014] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, determining the power compensation factor and the proportional compensation factor of the current corresponding to the target battery includes: when the multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, according to the Gaussian elimination method, determining the power compensation factor and the proportional compensation factor; or, when the multiple actual capacity differences include a third actual capacity difference, a fourth actual capacity difference, and a fifth actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, determining the power compensation factor and the proportional compensation factor according to a target constraint, wherein the target constraint is to minimize the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor.

[0015] In the above technical solution, for the first case in which multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, after two corresponding relationships (a set of two-variable linear equations) are constructed by two sets of data (the first set of data is the first actual capacity difference, the corresponding first balanced capacity, the corresponding first total capacity of charging and discharging, and the corresponding first power consumption, and the second set of data is the second actual capacity difference, the corresponding second balanced capacity, the corresponding second total capacity of charging and discharging, and the corresponding second power consumption), the power compensation factor and the proportional compensation factor are accurately determined according to the Gaussian elimination method. For the second case where multiple actual capacity differences include the third actual capacity difference, the fourth actual capacity difference and the fifth actual capacity difference, three corresponding relationships (a set of two-dimensional linear equations) are constructed through three sets of data (the first set of data is the third actual capacity difference, the corresponding third balanced capacity, the corresponding third total capacity of charge and discharge and the corresponding third power consumption, the second set of data is the fourth actual capacity difference, the corresponding fourth balanced capacity, the corresponding fourth total capacity of charge and discharge and the corresponding fourth power consumption, and the third set of data is the fifth actual capacity difference, the corresponding fifth balanced capacity, the corresponding fifth total capacity of charge and discharge and the corresponding fifth power consumption), and then the power compensation factor and the proportional compensation factor are accurately determined according to the target constraint. Among them, the target constraint is that the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor is minimized. In other words, this method determines the power compensation factor and the proportional compensation factor in the second case by the least squares method. Compared with the first case, the second case can obtain more accurate power compensation factors and proportional compensation factors.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the power compensation factor includes an abnormal consumption loop compensation factor, a zero drift compensation factor and a balancing current compensation factor. The abnormal consumption loop compensation factor is used to compensate for the abnormal power loss path in the target battery, the zero drift compensation factor is used to compensate for the zero point drift phenomenon when the sensor detects the target battery, and the balancing current compensation factor is used to compensate for the additional energy consumption introduced by the balancing process.

[0017] In the above technical solution, there may be undetected tiny leakage or abnormal consumption paths (abnormal consumption loops) in the target battery, which may lead to abnormal use loss of the target battery power. Therefore, the method can detect and quantify these abnormal consumptions by performing multiple equalization on the target battery, and ensure the accuracy of SOC estimation by determining the abnormal consumption loop compensation factor. Furthermore, the current and / or voltage readings of the target battery may have zero drift under specific conditions such as long-term static or low temperature, that is, the readings deviate from the true value. By determining the zero drift compensation factor, the method can correct the reading deviation caused by the zero drift phenomenon when the sensor detects the target battery, and then correct the deviation of SOC estimation. In the target battery, due to differences in manufacturing processes, the capacity and internal resistance between single cells may be inconsistent, resulting in imbalance during charging and discharging. The method introduces the equalization current compensation factor to adjust the SOC estimation, ensuring that the SOC can be accurately estimated even when there is imbalance inside the target battery.

[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after determining the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, the method also includes: in response to a charging request for an electronic device in a target vehicle, determining the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor and the integral of the current that varies with time over a target duration; when the target state of charge is greater than a first charge threshold and less than a second charge threshold, controlling the target battery to charge the electronic device based on the battery health of the target battery and the required power when charging the electronic device.

[0019] In the above technical solution, in the actual vehicle use scenario, the target vehicle can charge the electronic device in response to the charging request for the electronic device in the target vehicle. Before charging the electronic device, the method evaluates the remaining working capacity of the target battery based on the integral of the current varying with time over the target duration, and when the remaining working capacity is high (the remaining power is large), the target battery is controlled to charge the electronic device based on the battery health of the target battery and the required power when the electronic device is charged. In this way, when the remaining power is large, the electronic device can be charged, and the target battery can be controlled to discharge when the remaining power is small, which can help to slow down the aging speed of the target battery and extend the service life of the entire target battery. In addition, in the process of charging the electronic device, considering the battery health of the target battery and the required power when the electronic device is charged, the charging time and battery degradation can be weighed, and the optimal battery charging curve can be generated under different working conditions, thereby protecting the battery health. Furthermore, it can also meet the user's demand for charging speed while avoiding excessive battery temperature and energy loss caused by overcharging, thereby improving the overall charging efficiency.

[0020] In combination with the first aspect and the above implementations, in some possible implementations, determining the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor, and the integral of the current varying with time over the target duration includes: determining the target state of charge based on the following formula;

[0021]

[0022] Among them, SOC is the target state of charge, SOC0 is the initial state of charge of the target battery, t * The target duration.

[0023] In the above technical solution, in the actual vehicle use scenario, when determining the target state of charge of the target battery, the method introduces a proportional compensation factor and a power compensation factor, which can compensate for the capacity changes caused by factors such as temperature, battery aging, slight leakage, zero drift, and imbalance inside the target battery. Therefore, the method can improve the accuracy and reliability of SOC estimation through the dynamic compensation mechanism reflected in the above formula, which is of great significance for the health management and safe operation of the target battery.

[0024] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the battery health of the target battery and the required power when charging the electronic device, controlling the target battery to charge the electronic device includes: obtaining the maximum output power when charging the electronic device when the target battery is in a fully healthy state, and the fully healthy state is used to indicate that the battery health of the target battery has reached a maximum value; determining the target power based on the maximum output power, the required power and the battery health; and controlling the target battery to charge the electronic device at the target power.

[0025] In the above technical solution, when the target battery is in a completely healthy state, the target battery can charge the electronic device at the maximum output power. When the battery health of the target battery and the required power when charging the electronic device are low, the maximum output power can be corrected based on the battery health and the required power, and the electronic device can be charged with a lower output power (target power). When determining the output power of the target battery when charging the electronic device, the method comprehensively considers the maximum output power when the target battery is in a completely healthy state when charging the electronic device, the required power when charging the electronic device, and the battery health of the target battery, and can charge the electronic device at a reasonable target power. In this way, not only can the aging speed of the target battery and the electronic device be slowed down, the service life of the target battery and the electronic device be extended, but also the charging efficiency of the electronic device can be improved.

[0026] In a second aspect, a device for determining a battery state of charge is provided, the device comprising: an acquisition module, for acquiring, when the target battery is in a balanced state for multiple times, an actual capacity difference, a balanced capacity, a total capacity of charge and discharge, and a power consumption of the target battery from the first balanced to the second balanced in each of two adjacent balanced processes; a determination module, for: for any actual capacity difference among multiple actual capacity differences, based on the difference between the actual capacity difference and the corresponding balanced capacity, determining a first capacity value to obtain a first capacity value corresponding to each actual capacity difference, and based on the sum of the total capacity of charge and discharge corresponding to the actual capacity difference and the corresponding power consumption, determining a second capacity value to obtain a second capacity value corresponding to each actual capacity difference; for any capacity value among the multiple first capacity values, when the capacity value is the same as the corresponding second capacity value, determining a power compensation factor corresponding to the target battery and a proportional compensation factor of the current, so as to estimate the state of charge of the target battery based on the power compensation factor and the proportional compensation factor in an actual vehicle use scenario.

[0027] In conjunction with the second aspect, in some possible implementations, the determination module is specifically configured to determine the first capacity value based on the following formula:

[0028]

[0029] Among them, ΔQ i is the actual capacity difference of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, EQ i is the balanced capacity of the target battery from the first to the second balancing process of the i-th adjacent balancing process, is the first capacity value, which is any first capacity value among the multiple first capacity values, specifically, a difference between an actual capacity difference of the target battery and a corresponding balanced capacity during the first to second balancing processes of the i-th adjacent balancing process;

[0030] And, the determination module is further specifically used to determine the second capacity value based on the following formula;

[0031]

[0032] Where k is the proportional compensation factor, is the time integral of the current that varies with time, is the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, t is the time difference from the first balancing to the second balancing in the i-th adjacent balancing process, and b is the power compensation factor, (b·t) i is the power consumption of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, is the second capacity value, which is any second capacity value among the multiple second capacity values, specifically the sum of the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process and the corresponding power consumption.

[0033] In combination with the second aspect and the above-mentioned implementation manner, in some possible implementation manners, the determination module is further specifically used to: when the multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, determine the power compensation factor and the proportional compensation factor according to the Gaussian elimination method; or, when the multiple actual capacity differences include a third actual capacity difference, a fourth actual capacity difference, and a fifth actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, determine the power compensation factor and the proportional compensation factor according to a target constraint, and the target constraint is to minimize the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor.

[0034] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the power compensation factor includes an abnormal consumption loop compensation factor, a zero drift compensation factor and a balancing current compensation factor. The abnormal consumption loop compensation factor is used to compensate for the abnormal power loss path in the target battery, the zero drift compensation factor is used to compensate for the zero point drift phenomenon when the sensor detects the target battery, and the balancing current compensation factor is used to compensate for the additional energy consumption introduced by the balancing process.

[0035] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, after determining the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, the determination module is also used to respond to a charging request for an electronic device in a target vehicle, and determine the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor and the integral of the current that varies with time over the target duration; the device also includes: a control module, which is used to control the target battery to charge the electronic device based on the battery health of the target battery and the required power when charging the electronic device when the target state of charge is greater than a first charge threshold and less than a second charge threshold.

[0036] In combination with the second aspect and the above implementations, in some possible implementations, the determination module is further configured to determine the target state of charge based on the following formula:

[0037]

[0038] Among them, SOC is the target state of charge, SOC0 is the initial state of charge of the target battery, t * The target duration.

[0039] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the acquisition module is specifically used to obtain the maximum output power when the target battery is in a completely healthy state when charging the electronic device, and the completely healthy state is used to indicate that the battery health of the target battery has reached a maximum value; the determination module is specifically used to determine the target power based on the maximum output power, the required power and the battery health; the control module is specifically used to control the target battery to charge the electronic device at the target power.

[0040] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.

[0041] In a fourth aspect, a computer-readable storage medium is provided, which stores an executable program code. When the executable program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is a schematic diagram of a scenario of using a vehicle provided in an embodiment of the present application;

[0043] Figure 2 is a schematic flow chart of a method for determining a battery state of charge provided in an embodiment of the present application;

[0044] Figure 3 It is a schematic diagram of a process of charging an electronic device provided in an embodiment of the present application;

[0045] Figure 4 is a schematic diagram of determining target power provided by an embodiment of the present application;

[0046] Figure 5 It is a structural schematic diagram of a device for determining a battery state of charge provided in an embodiment of the present application;

[0047] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0049] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0050] Figure 1 It is a schematic diagram of a scenario of using a vehicle provided in an embodiment of the present application.

[0051] It should be understood that the battery state of charge (SOC), also known as the remaining power, is used to indicate the proportion of the current charge of the battery in the vehicle to its rated total capacity, usually expressed as a percentage. SOC is a key indicator of the storage of electrical energy in batteries in electric vehicles or hybrid vehicles. It reflects the remaining working capacity of the battery and directly affects the vehicle's range and efficiency. Accurate estimation of SOC is crucial to the vehicle's energy management system. It can help the driver understand the vehicle's power status, so as to reasonably plan the driving route and usage method and maximize the vehicle's range.

[0052] For example, Figure 1 For the target vehicle shown (specifically, pure electric vehicle A), when the remaining power of pure electric vehicle A is lower than the preset power, the driver will charge the battery in pure electric vehicle A through the charging pile.

[0053] At present, the internal electrochemical reaction of the battery in pure electric vehicles is complex, and its operation exhibits strong nonlinear characteristics. The relevant technology estimates the SOC of the battery through the correspondence between the open circuit voltage and SOC of the battery after it has been stationary for a period of time (i.e., the open circuit voltage method). However, when the battery is in a plateau period (i.e., the SOC is in the medium range), the correspondence between the open circuit voltage and SOC becomes complicated and is no longer a single functional relationship. This leads to a decrease in the accuracy of determining the SOC of the battery using the open circuit voltage method.

[0054] In order to solve the above problems, the present application proposes a method for determining the state of charge of a battery to improve the estimation accuracy of the SOC of the battery, thereby improving the evaluation of the remaining working capacity of the battery. For details, please refer to Figure 2Steps shown.

[0055] Figure 2 It is a schematic flow chart of a method for determining a battery state of charge provided in an embodiment of the present application.

[0056] It should be understood that the method for determining the battery state of charge provided in the embodiment of the present application can be applied to the following situations: Figure 1 The vehicle shown (e.g., pure electric vehicle A). Specifically, the method for determining the battery state of charge can be applied to a target controller in the vehicle. The target controller is any one of a vehicle controller and a body domain controller. The body domain controller is used to control various vehicle components in the vehicle. In the method for determining the battery state of charge of the present application, the vehicle component includes a power battery.

[0057] For example, Figure 2 As shown, the method 200 includes:

[0058] Step 201, when the target battery is in a balanced state for multiple times, the vehicle controller obtains the actual capacity difference, balanced capacity, total charge and discharge capacity and power consumption of the target battery from the first balanced to the second balanced in each of two adjacent balanced processes.

[0059] It should be understood that the "target battery" in the above step 201 can be regarded as a battery of the target type, specifically a power battery of the target type in the target vehicle, which provides electrical energy for the target vehicle so that the target vehicle can travel. In some embodiments, the target vehicle is a hybrid vehicle or a pure electric vehicle, and the hybrid vehicle is a plug-in hybrid vehicle. In some embodiments, the target battery is a lithium battery, and the lithium battery is a lithium iron phosphate battery. In addition, the target battery is usually composed of a plurality of individual batteries (i.e., single cells) connected in series and / or in parallel to achieve the required voltage and capacity requirements.

[0060] It should also be understood that the "target battery is in a balanced state" in the above step 201 refers to a state in which the voltage, SOC and battery health of multiple single cells in the target battery remain consistent. The target battery can be placed in a balanced state by actively balancing or passively balancing the target battery. Among them, active balancing refers to the use of electronic switches and power devices to actively charge and discharge the target battery to achieve rapid balancing. Specifically, during the charging process, the excess charging energy of the single cell with a higher voltage is transferred to the single cell with a lower voltage; during the discharging process, the energy is transferred from the single cell with a higher voltage to the single cell with a lower voltage. Passive balancing refers to the use of components such as resistors to balance the target battery during the charging or discharging process. Specifically, during the charging process, the single cell with a higher voltage is discharged through a resistor to reduce its voltage; during the discharging process, the single cell with a lower voltage is charged. Compared with the active balancing method, the passive balancing method has a simple structure and low cost, but is not efficient.

[0061] It should also be understood that in the above step 201, "the actual capacity difference of the target battery from the first equalization to the second equalization" refers to the capacity difference between the total capacity of the cells in the target battery during the second equalization and the total capacity of the cells in the target battery during the first equalization. "The balanced capacity of the target battery from the first equalization to the second equalization" refers to the total capacity of multiple single cells in the target battery that are transferred or balanced during the process from the first equalization to the second equalization. "The total charge and discharge capacity of the target battery from the first equalization to the second equalization" refers to the total charge and discharge capacity of the target battery during the process from the first equalization to the second equalization. "The power consumption of the target battery from the first equalization to the second equalization" refers to the additional power consumption of the target battery due to temperature increase, battery aging, etc. during the process from the first equalization to the second equalization, as well as the energy loss caused by resistance loss during the equalization process.

[0062] It should also be understood that the scheme of step 201 is explained below by taking the target battery being in a balanced state N times, where N is 10, as an example. Specifically, when the target battery is in a balanced state 10 times, the vehicle obtains the actual capacity difference, balanced capacity, total capacity of charge and discharge, and power consumption of the target battery from the first equalization to the second equalization in 9 (10-1) adjacent equalization processes. That is, the actual capacity difference, balanced capacity, total capacity of charge and discharge, and power consumption of the target battery from the first equalization to the second equalization in the first adjacent equalization process, the actual capacity difference, balanced capacity, total capacity of charge and discharge, and power consumption of the target battery from the first equalization to the second equalization in the second adjacent equalization process, until the actual capacity difference, balanced capacity, total capacity of charge and discharge, and power consumption of the target battery from the first equalization to the second equalization in the ninth adjacent equalization process. That is, the actual capacity difference, balanced capacity, total charge and discharge capacity, and power consumption of the target battery from the first balancing to the second balancing during the 10 balancing processes; the actual capacity difference, balanced capacity, total charge and discharge capacity, and power consumption of the target battery from the second balancing to the third balancing, until the actual capacity difference, balanced capacity, total charge and discharge capacity, and power consumption of the target battery from the ninth balancing to the tenth balancing.

[0063] In a possible implementation, the vehicle controller in step 201 obtains the actual capacity difference of the target battery from the first balancing to the second balancing in each of two adjacent balancing processes, including: the vehicle controller determines the capacity difference between the total capacity of the battery cells in the target battery at the second balancing and the total capacity of the battery cells in the target battery at the first balancing as the actual capacity difference of the target battery; and the vehicle controller in step 201 obtains the balancing capacity of the target battery from the first balancing to the second balancing in each of two adjacent balancing processes, including: the vehicle controller determines the balancing capacity of the target battery based on the product between the balancing current and the balancing time of the target battery from the first balancing to the second balancing in each of the two adjacent balancing processes, and the balancing time is the time difference from the first balancing to the second balancing.

[0064] Step 202, for any actual capacity difference among multiple actual capacity differences, the vehicle controller determines a first capacity value based on the difference between the actual capacity difference and the corresponding balanced capacity to obtain the first capacity value corresponding to each actual capacity difference, and determines a second capacity value based on the sum of the total charging and discharging capacity corresponding to the actual capacity difference and the corresponding power consumption to obtain the second capacity value corresponding to each actual capacity difference.

[0065] It should be understood that the "determine the first capacity value based on the difference between the actual capacity difference and the corresponding balanced capacity to obtain the first capacity value corresponding to each actual capacity difference" in the above step 202 means that for the target battery in multiple balanced states, the actual capacity difference of the target battery from the first equalization to the second equalization in each of two adjacent equalization processes in multiple adjacent equalization processes, and the difference between the balanced capacity of the target battery from the first equalization to the second equalization, multiple first capacity values ​​obtained, that is, the difference between each actual capacity difference and the corresponding balanced capacity, can all obtain a first capacity value. In the above step 202, "determine the second capacity value based on the sum of the total capacity of charge and discharge corresponding to the actual capacity difference and the corresponding power consumption, so as to obtain the second capacity value corresponding to each actual capacity difference" means that for the actual capacity difference of the target battery from the first balancing to the second balancing in each of two adjacent balancing processes in multiple adjacent balancing processes, that is, for each actual capacity difference in the multiple actual capacity differences, the total capacity of charge and discharge of the target battery from the first balancing to the second balancing corresponding to each actual capacity difference, and the power consumption of the target battery from the first balancing to the second balancing, the multiple second capacity values ​​obtained, that is, the sum of the total capacity of charge and discharge corresponding to each actual capacity difference and the corresponding power consumption, can all obtain a second capacity value.

[0066] In a possible implementation, the vehicle controller in step 202 determines the first capacity value based on the difference between the actual capacity difference and the corresponding balanced capacity, including: the vehicle controller determines the first capacity value based on the following formula (1);

[0067]

[0068] Among them, ΔQ i is the actual capacity difference of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, EQ i is the balanced capacity of the target battery from the first to the second balancing process of the i-th adjacent balancing process, is the first capacity value, which is any first capacity value among the multiple first capacity values, specifically, a difference between an actual capacity difference of the target battery and a corresponding balanced capacity during the first to second balancing processes of the i-th adjacent balancing process;

[0069] And, the vehicle controller in step 202 determines the second capacity value based on the sum of the total capacity of charging and discharging corresponding to the actual capacity difference and the corresponding power consumption, including: the vehicle controller determines the second capacity value based on the following formula (2);

[0070]

[0071] Where k is the proportional compensation factor, is the time integral of the current that varies with time, is the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, t is the time difference from the first balancing to the second balancing in the i-th adjacent balancing process, and b is the power compensation factor, (b·t) i is the power consumption of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, is the second capacity value, which is any second capacity value among the multiple second capacity values, specifically the sum of the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process and the corresponding power consumption.

[0072] It should be understood that in the above scheme, the total capacity of the target battery during the charge and discharge process is determined by integrating the current that changes with time over time (ampere-hour integration). This integration process takes into account the total charge flowing through the target battery during the entire charge and discharge cycle. Among them, the integral upper limit t or the t in the power consumption in formula (2) is the time difference from the first balancing to the second balancing, that is, the balancing time. For formula (2) Can be considered as (CQ) i , (b·t) in formula (2) i Can be considered as (WQ) i .

[0073] In one possible implementation, the power compensation factor includes an abnormal consumption loop compensation factor, a zero drift compensation factor and a balancing current compensation factor. The abnormal consumption loop compensation factor is used to compensate for the abnormal power loss path in the target battery, the zero drift compensation factor is used to compensate for the zero point drift phenomenon that occurs when the sensor detects the target battery, and the balancing current compensation factor is used to compensate for the additional energy consumption introduced by the balancing process.

[0074] It should be understood that the "abnormal power loss path" in the above scheme may have a slight leakage or poor contact of individual connection points in the internal circuit of the target battery. The "sensor" in the above scheme can be a voltage sensor or a current sensor, which is used to detect the voltage or current of the target battery. The zero drift phenomenon refers to the output value of the sensor changing over time when the sensor is not affected by any changes in physical quantities, resulting in the output value deviating from the original zero position. This phenomenon may be caused by changes in the structural parameters of the sensor itself, the influence of surrounding environmental factors (such as temperature, humidity, etc.), or the aging of the sensor material, the instability of the power supply voltage, and other reasons.

[0075] In the above technical solution, there may be undetected tiny leakage or abnormal consumption paths (abnormal consumption loops) in the target battery, which may lead to abnormal use loss of the target battery power. Therefore, the method can detect and quantify these abnormal consumptions by performing multiple equalization on the target battery, and ensure the accuracy of SOC estimation by determining the abnormal consumption loop compensation factor. Furthermore, the current and / or voltage readings of the target battery may have zero drift under specific conditions such as long-term static or low temperature, that is, the readings deviate from the true value. By determining the zero drift compensation factor, the method can correct the reading deviation caused by the zero drift phenomenon when the sensor detects the target battery, and then correct the deviation of SOC estimation. In the target battery, due to differences in manufacturing processes, the capacity and internal resistance between single cells may be inconsistent, resulting in imbalance during charging and discharging. The method introduces the equalization current compensation factor to adjust the SOC estimation, ensuring that the SOC can be accurately estimated even when there is imbalance inside the target battery.

[0076] Step 203, for any capacity value among the multiple first capacity values, when the capacity value is the same as the corresponding second capacity value, the vehicle controller determines the power compensation factor and the proportional compensation factor corresponding to the target battery, so as to estimate the charge state of the target battery based on the power compensation factor and the proportional compensation factor in the actual vehicle use scenario.

[0077] It should be understood that in the above step 203, any capacity value (any first capacity value) should be the same as the corresponding second capacity value. That is, the actual capacity difference of the target battery from the first equalization to the second equalization in the i-th adjacent equalization process, and the difference between the equalization capacity of the target battery from the first equalization to the second equalization (first capacity value), are the same as the total charge and discharge capacity of the target battery from the first equalization to the second equalization in the i-th adjacent equalization process, and the difference between the power consumption of the target battery from the first equalization to the second equalization (second capacity value).

[0078] It should also be understood that the "power compensation factor corresponding to the target battery and the proportional compensation factor of the current" in the above step 203 refers to factors for compensating for factors that affect the accuracy of the battery state of charge.

[0079] In a possible implementation, the vehicle controller in step 203 determines the power compensation factor and the proportional compensation factor corresponding to the target battery, including: when the multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, the vehicle controller determines the power compensation factor and the proportional compensation factor according to the Gaussian elimination method based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption; or, when the multiple actual capacity differences include a third actual capacity difference, a fourth actual capacity difference, and a fifth actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, the vehicle controller determines the power compensation factor and the proportional compensation factor according to a target constraint based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, wherein the target constraint is to minimize the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor.

[0080] It should be understood that in the above scheme, "multiple actual capacity differences include the first actual capacity difference and the second actual capacity difference" is regarded as the first case. For the first case, the method determines the power compensation factor and the proportional compensation factor by constructing two corresponding relationships (a set of two-variable linear equations) according to the Gaussian elimination method. "Multiple actual capacity differences include the third actual capacity difference, the fourth actual capacity difference and the fifth actual capacity difference" is regarded as the second case. For the second case, the method determines the power compensation factor and the proportional compensation factor according to the target constraint after constructing three corresponding relationships (a set of two-variable linear equations). Among them, the target constraint is that the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor is minimized. In other words, the method determines the power compensation factor and the proportional compensation factor in the second case by the least squares method.

[0081] It should also be understood that in the above scheme, the difference between the first case and the second case is that the actual capacity difference, the corresponding equalizing capacity, the corresponding total capacity of charge and discharge, and the corresponding power consumption are different. The first case corresponds to two sets of data, that is, the first set of data is the first actual capacity difference, the corresponding first equalizing capacity, the corresponding first total capacity of charge and discharge, and the corresponding first power consumption, and the second set of data is the second actual capacity difference, the corresponding second equalizing capacity, the corresponding second total capacity of charge and discharge, and the corresponding second power consumption; the second case corresponds to N sets of data (N is a positive integer greater than 2), for example, corresponding to three sets of data, that is, the first set of data is the third actual capacity difference, the corresponding third equalizing capacity, the corresponding third total capacity of charge and discharge, and the corresponding third power consumption, the second set of data is the fourth actual capacity difference, the corresponding fourth equalizing capacity, the corresponding fourth total capacity of charge and discharge, and the corresponding fourth power consumption, and the third set of data is the fifth actual capacity difference, the corresponding fifth equalizing capacity, the corresponding fifth total capacity of charge and discharge, and the corresponding fifth power consumption.

[0082] It should also be understood that the first actual capacity difference, the second actual capacity difference, the third actual capacity difference, the fourth actual capacity difference and the fifth actual capacity difference mentioned in the above scheme are only used to distinguish different actual capacity differences and have no special meaning. Similarly, the first balanced capacity, the second balanced capacity, the third balanced capacity, the fourth balanced capacity and the fifth balanced capacity, the first total capacity, the second total capacity, the third total capacity, the fourth total capacity and the fifth total capacity, as well as the first power consumption, the second power consumption, the third power consumption, the fourth power consumption and the fifth power consumption are the same and will not be repeated here.

[0083] In the above technical solution, for the first case in which multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, after two corresponding relationships (a set of two-variable linear equations) are constructed by two sets of data (the first set of data is the first actual capacity difference, the corresponding first balanced capacity, the corresponding first total capacity of charging and discharging, and the corresponding first power consumption, and the second set of data is the second actual capacity difference, the corresponding second balanced capacity, the corresponding second total capacity of charging and discharging, and the corresponding second power consumption), the power compensation factor and the proportional compensation factor are accurately determined according to the Gaussian elimination method. For the second case where multiple actual capacity differences include the third actual capacity difference, the fourth actual capacity difference and the fifth actual capacity difference, three corresponding relationships (a set of two-dimensional linear equations) are constructed through three sets of data (the first set of data is the third actual capacity difference, the corresponding third balanced capacity, the corresponding third total capacity of charge and discharge and the corresponding third power consumption, the second set of data is the fourth actual capacity difference, the corresponding fourth balanced capacity, the corresponding fourth total capacity of charge and discharge and the corresponding fourth power consumption, and the third set of data is the fifth actual capacity difference, the corresponding fifth balanced capacity, the corresponding fifth total capacity of charge and discharge and the corresponding fifth power consumption), and then the power compensation factor and the proportional compensation factor are accurately determined according to the target constraint. Among them, the target constraint is that the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor is minimized. In other words, this method determines the power compensation factor and the proportional compensation factor in the second case by the least squares method. Compared with the first case, the second case can obtain more accurate power compensation factors and proportional compensation factors.

[0084] For example, for the first case, the multiple actual capacity differences include a first actual capacity difference ΔQ1 and a second actual capacity difference ΔQ2, and the first actual capacity difference has a corresponding first balancing capacity EQ1 and a corresponding first total capacity CQ1 of charge and discharge. and the corresponding first power consumption WQ1(b-t1); the second actual capacity difference has a corresponding second balancing capacity EQ2 and a corresponding second total capacity CQ2 for charging and discharging and the corresponding second power consumption WQ2(b·t2).

[0085] Based on the above data, the vehicle controller constructs the following formula (3):

[0086]

[0087] ΔQ1, EQ1, C1, t1, ΔQ2, EQ2, C2 and t2 are all known quantities. The above formula (3) is a two-variable linear equation. Therefore, the vehicle controller can express k through the first formula in formula (3), that is, k = (ΔQ1-EQ1-b·t1) / C1, and then substitute k = (ΔQ1-EQ1-b·t1) / C1 into the second formula in formula (3) to obtain the specific b value, and then obtain the specific k value. That is, the power compensation factor and proportional compensation factor corresponding to the target battery are obtained.

[0088] For example, for the second case, the plurality of actual capacity differences include a third actual capacity difference ΔQ3, a fourth actual capacity difference ΔQ4, and a fifth actual capacity difference ΔQ5, wherein the third actual capacity difference has a corresponding third balancing capacity EQ3, a corresponding third total capacity CQ3 of charge and discharge, and a corresponding third total capacity CQ4 of charge and discharge. and the corresponding third power consumption WQ3 (b·t3); the fourth actual capacity difference has a corresponding fourth balancing capacity EQ4 and a corresponding fourth total capacity CQ4 of charge and discharge and the corresponding fourth power consumption WQ4 (b·t4); the fifth actual capacity difference has the corresponding fifth balancing capacity EQ5 and the corresponding fifth total capacity CQ5 of charge and discharge And the corresponding fifth power consumption WQ5(b·t5).

[0089] Based on the above data, the vehicle controller constructs the following formula (4):

[0090]

[0091] Among them, ΔQ3, EQ3, C3, t3, ΔQ4, EQ4, C4, t4, ΔQ5, EQ5, C5 and t5 are all known quantities. Through the two-by-two formulas in the above formula (4), three groups of specific k values ​​and specific b values ​​can be obtained, namely, the first group: k1 and b1, the second group: k2 and b2, and the third group: k3 and b3. For any set ki and bi among the three sets of specific k values ​​and specific b values, taking k1 and b1 as an example, based on ΔQ3 and the corresponding EQ3+k1·C3+b1·t3, ΔQ4 and the corresponding EQ4+k1·C4+b1·t4, and ΔQ5 and the corresponding EQ5+k1·C5+b1·t5, the sum of squares of errors between the three sample actual capacity differences (ΔQ3, ΔQ4 and ΔQ5) and the three predicted actual capacity differences ((EQ3+k1·C3+b1·t3), (EQ4+k1·C4+b1·t4) and (EQ5+k1·C5+b1·t5)) are determined to obtain SSE1; similarly, the same method is adopted to determine the sum of squares of errors corresponding to k2 and b2 to obtain SSE2, and the sum of squares of errors corresponding to k3 and b3 are determined to obtain SSE3. The vehicle controller compares SSE1, SSE2 and SSE3, and takes the k and b corresponding to the minimum SSE as the specific k value and the specific b value, that is, the proportional compensation factor and the power compensation factor corresponding to the target battery.

[0092] Among them, if SSE3 is the smallest among SSE1, SSE2 and SSE3, the vehicle controller uses k3 and b3 as the proportional compensation factor and power compensation factor corresponding to the target battery respectively.

[0093] The process of "after determining the power compensation factor and the proportional compensation factor corresponding to the target battery, determining the state of charge of the target battery using the power compensation factor and the proportional compensation factor" is discussed as follows.

[0094] In one possible implementation, after the vehicle controller in step 203 determines the power compensation factor corresponding to the target battery and the proportional compensation factor of the current, the method 200 also includes: the vehicle controller determines the target state of charge of the target battery in response to a charging request for the electronic device in the target vehicle based on the power compensation factor, the proportional compensation factor and the integral of the current that varies with time over the target duration; when the target state of charge is greater than the first charge threshold and less than the second charge threshold, the vehicle controller controls the target battery to charge the electronic device based on the battery health of the target battery and the required power of the electronic device when charging.

[0095] It should be understood that the “target state of charge is greater than the first charge threshold and less than the second charge threshold” in the above technical solution means that the target state of charge is in a preset high state of charge range. In some embodiments, the first charge threshold is 60% and the second charge threshold is 80%.

[0096] It should also be understood that the "battery health" in the above scheme is specifically (State of health, SOH), which is used to measure the current actual capacity of the target battery compared with the original maximum capacity of the target battery when it was new. SOH is a key indicator of the performance and life of the target battery. The difference between the SOH of the target battery and the SOC of the target battery is that: SOC focuses on the current remaining power of the target battery, while SOH focuses on the performance retention of the target battery relative to a new battery; SOC is mainly affected by the current charge and discharge state of the target battery, while SOH is affected by a variety of factors during the aging process of the target battery. In some embodiments, when the SOH of the target battery decreases, the rate of decrease of the SOC of the target battery is faster.

[0097] In the above technical solution, in the actual vehicle use scenario, the target vehicle can charge the electronic device in response to the charging request for the electronic device in the target vehicle. Before charging the electronic device, the method evaluates the remaining working capacity of the target battery based on the integral of the current varying with time over the target duration, and when the remaining working capacity is high (the remaining power is large), the target battery is controlled to charge the electronic device based on the battery health of the target battery and the required power when the electronic device is charged. In this way, when the remaining power is large, the electronic device can be charged, and the target battery can be controlled to discharge when the remaining power is small, which can help to slow down the aging speed of the target battery and extend the service life of the entire target battery. In addition, in the process of charging the electronic device, considering the battery health of the target battery and the required power when the electronic device is charged, the charging time and battery degradation can be weighed, and the optimal battery charging curve can be generated under different working conditions, thereby protecting the battery health. Furthermore, it can also meet the user's demand for charging speed while avoiding excessive battery temperature and energy loss caused by overcharging, thereby improving the overall charging efficiency.

[0098] In some embodiments, after the vehicle controller determines the target state of charge of the target battery, the method 200 also includes: when the target state of charge is less than or equal to the first charge threshold, the vehicle controller outputs a first reminder message, and the first reminder message is used to remind that the target battery is low in power and cannot charge the electronic device and needs to be charged in time.

[0099] In a possible implementation, the vehicle controller determines the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor and the integral of the current varying with time over the target duration, including: the vehicle controller determines the target state of charge based on the following formula (5);

[0100]

[0101] Among them, SOC is the target state of charge, SOC0 is the initial state of charge of the target battery, t * The target duration.

[0102] It should be understood that the initial state of charge of the target battery in the above solution refers to the state of charge of the target battery at the current moment when the target state of charge of the target battery needs to be determined by formula (5), t * It is the waiting time required to determine the target state of charge of the target battery through formula (5).

[0103] In the above technical solution, in the actual vehicle use scenario, when determining the target state of charge of the target battery, the method introduces a proportional compensation factor and a power compensation factor, which can compensate for the capacity changes caused by factors such as temperature, battery aging, slight leakage, zero drift, and imbalance inside the target battery. Therefore, the method can improve the accuracy and reliability of SOC estimation through the dynamic compensation mechanism reflected in the above formula, which is of great significance for the health management and safe operation of the target battery.

[0104] In one possible implementation, the vehicle controller controls the target battery to charge the electronic device based on the battery health of the target battery and the required power when charging the electronic device, including: the vehicle controller obtains the maximum output power of the target battery when charging the electronic device when it is in a fully healthy state, and the fully healthy state is used to indicate that the battery health of the target battery has reached a maximum value; the vehicle controller determines the target power based on the maximum output power, the required power and the battery health; the vehicle controller controls the target battery to charge the electronic device at the target power.

[0105] It should be understood that “the target battery is in a completely healthy state” in the above scheme means that the battery health of the target battery is the optimal battery health, which is close to 100%.

[0106] In the above technical solution, when the target battery is in a completely healthy state, the target battery can charge the electronic device at the maximum output power. When the battery health of the target battery and the required power when charging the electronic device are low, the maximum output power can be corrected based on the battery health and the required power, and the electronic device can be charged with a lower output power (target power). When determining the output power of the target battery when charging the electronic device, the method comprehensively considers the maximum output power when the target battery is in a completely healthy state when charging the electronic device, the required power when charging the electronic device, and the battery health of the target battery, and can charge the electronic device at a reasonable target power. In this way, not only can the aging speed of the target battery and the electronic device be slowed down, the service life of the target battery and the electronic device be extended, but also the charging efficiency of the electronic device can be improved.

[0107] Figure 3 It is a schematic diagram of a process of charging an electronic device provided in an embodiment of the present application.

[0108] For example, Figure 3 As shown, after the vehicle controller determines the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, in step 301, the vehicle controller responds to the charging request for the electronic device in the target vehicle, and determines the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor and the integral of the current that varies with time over the target duration. In step 302, when the target state of charge is greater than the first charge threshold and less than the second charge threshold, the vehicle controller controls the target battery to charge the electronic device based on the battery health of the target battery and the required power when the electronic device is charged. In step 303, when the target state of charge is less than or equal to the first charge threshold, the vehicle controller outputs a first reminder message, and the first reminder message is used to remind the target battery that the power is low and cannot charge the electronic device, and the target battery needs to be charged in time.

[0109] The process of determining the “target power” is discussed in three ways as follows.

[0110] First way:

[0111] In some embodiments, the vehicle controller determines the target power based on the maximum output power, the required power and the battery health, including: the vehicle controller compares the maximum output power with the required power, and when the maximum output power is less than the required power, determines the product of the maximum output power and the battery health as the target power; when the maximum output power is greater than the required power, the vehicle controller determines the product of the required power and the battery health as the target power.

[0112] Second way:

[0113] In some embodiments, the vehicle controller determines the target power based on the maximum output power, the required power and the battery health, including: the vehicle controller determines the product of the maximum output power and the battery health as the first power; the vehicle controller determines the difference between the maximum output power and the first power as the second power; when the second power is greater than or equal to the required power, the vehicle controller determines the required power as the target power; when the second power is less than the required power, the vehicle controller determines the second power as the target power.

[0114] The third way:

[0115] In some embodiments, the required power includes a fast charging power corresponding to a fast charging mode and a slow charging power corresponding to a slow charging mode. The method 200 also includes: when the second power is greater than or equal to the required power, the vehicle controller sends a second reminder message to the mobile terminal, and the second reminder message is used to remind the target object to select a charging mode when charging the electronic device, and the charging mode includes a fast charging mode and a slow charging mode; when receiving the target object selecting the fast charging mode sent by the mobile terminal, the vehicle controller determines the fast charging power as the target power; when receiving the target object selecting the slow charging mode sent by the mobile terminal, the vehicle controller determines the slow charging power as the target power.

[0116] Figure 4 It is a schematic diagram of determining target power provided in an embodiment of the present application.

[0117] For example, Figure 4 As shown, in step 401, the vehicle controller determines the product of the maximum output power when the target battery is in a completely healthy state when charging the electronic device and the battery health of the target battery as the first power. Step 402, the vehicle controller determines the difference between the maximum output power and the first power as the second power. Step 403, when the second power is greater than or equal to the required power, the vehicle controller determines the required power as the target power. Step 404, when the second power is less than the required power when charging the electronic device, the vehicle controller determines the second power as the target power.

[0118] Figure 5 It is a structural schematic diagram of a battery state of charge determination device provided in an embodiment of the present application.

[0119] For example, Figure 5 As shown, the device 500 includes:

[0120] An acquisition module 501 is used to acquire, when the target battery is in a balanced state for multiple times, the actual capacity difference, the balanced capacity, the total capacity of charge and discharge, and the power consumption of the target battery from the first balanced to the second balanced in each of two adjacent balanced processes;

[0121] The determination module 502 is used to:

[0122] For any actual capacity difference among the multiple actual capacity differences, a first capacity value is determined based on a difference between the actual capacity difference and a corresponding balanced capacity to obtain a first capacity value corresponding to each actual capacity difference, and a second capacity value is determined based on a sum of a total charge and discharge capacity corresponding to the actual capacity difference and a corresponding power consumption to obtain a second capacity value corresponding to each actual capacity difference;

[0123] For any capacity value among the multiple first capacity values, when the capacity value is the same as the corresponding second capacity value, determine the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, so as to estimate the charge state of the target battery based on the power compensation factor and the proportional compensation factor in the actual vehicle use scenario.

[0124] Optionally, the determination module 502 is specifically configured to determine the first capacity value based on the following formula:

[0125]

[0126] Among them, ΔQ i is the actual capacity difference of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, EQ i is the balanced capacity of the target battery from the first to the second balancing process of the i-th adjacent balancing process, is the first capacity value, which is any first capacity value among the multiple first capacity values, specifically, a difference between an actual capacity difference of the target battery and a corresponding balanced capacity during the first to second balancing processes of the i-th adjacent balancing process;

[0127] And, the determination module is further specifically used to determine the second capacity value based on the following formula;

[0128]

[0129] Where k is the proportional compensation factor, is the time integral of the current that varies with time, is the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, t is the time difference from the first balancing to the second balancing in the i-th adjacent balancing process, and b is the power compensation factor, (b·t) iis the power consumption of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, is the second capacity value, which is any second capacity value among the multiple second capacity values, specifically the sum of the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process and the corresponding power consumption.

[0130] Optionally, the determination module 502 is further specifically used to: when the multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, determine the power compensation factor and the proportional compensation factor according to the Gaussian elimination method; or, when the multiple actual capacity differences include a third actual capacity difference, a fourth actual capacity difference, and a fifth actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on the linear relationship between the actual capacity difference, the corresponding balancing capacity, the corresponding total capacity of charging and discharging, and the corresponding power consumption, determine the power compensation factor and the proportional compensation factor according to a target constraint, wherein the target constraint is to minimize the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor.

[0131] Optionally, the power compensation factor includes an abnormal consumption loop compensation factor, a zero drift compensation factor and a balancing current compensation factor. The abnormal consumption loop compensation factor is used to compensate for the abnormal power loss path in the target battery, the zero drift compensation factor is used to compensate for the zero point drift phenomenon when the sensor detects the target battery, and the balancing current compensation factor is used to compensate for the additional energy consumption introduced by the balancing process.

[0132] Optionally, after determining the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, the determination module 502 is also used to respond to a charging request for an electronic device in a target vehicle, and determine the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor and the integral of the current that varies with time over a target duration; the device 500 also includes: a control module, used to control the target battery to charge the electronic device based on the battery health of the target battery and the required power of the electronic device when charging, when the target state of charge is greater than a first charge threshold and less than a second charge threshold.

[0133] Optionally, the determination module 502 is further configured to determine the target state of charge based on the following formula:

[0134]

[0135] Among them, SOC is the target state of charge, SOC0 is the initial state of charge of the target battery, t * The target duration.

[0136] Optionally, the acquisition module 501 is specifically used to obtain the maximum output power of the target battery when charging the electronic device when it is in a completely healthy state, and the completely healthy state is used to indicate that the battery health of the target battery has reached a maximum value; the determination module 502 is also specifically used to determine the target power based on the maximum output power, the required power and the battery health; the control module is specifically used to control the target battery to charge the electronic device at the target power.

[0137] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0138] For example, Figure 6 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a battery charge state determination.

[0139] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to perform a battery charge state determination provided by an embodiment of the present application.

[0140] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0141] In the case of dividing each functional module according to each function, the device may further include an acquisition module, a determination module, a control module, etc. It should be noted that all relevant contents involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0142] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for determining the battery charge state, and thus can achieve the same effect as the above-mentioned implementation method.

[0143] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related executable program codes, etc.

[0144] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0145] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for determining a battery charge state provided in the above embodiments.

[0146] This embodiment also provides a computer-readable storage medium, in which executable program code is stored. When the executable program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for determining a battery charge state provided in the above embodiment.

[0147] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for determining a battery state of charge provided in the above embodiment.

[0148] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0149] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0150] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0151] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for determining a battery state of charge, characterized in that: The method comprises: When the target battery is in a balanced state for multiple times, the actual capacity difference, balanced capacity, total capacity of charge and discharge, and power consumption of the target battery from the first balanced to the second balanced in each of two adjacent balanced processes are obtained; For any actual capacity difference among the multiple actual capacity differences, a first capacity value is determined based on a difference between the actual capacity difference and the corresponding balanced capacity to obtain a first capacity value corresponding to each actual capacity difference, and a second capacity value is determined based on a sum of a total capacity of charge and discharge corresponding to the actual capacity difference and a corresponding power consumption to obtain a second capacity value corresponding to each actual capacity difference; For any capacity value among the multiple first capacity values, when the capacity value is the same as the corresponding second capacity value, determine the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, so as to estimate the charge state of the target battery based on the power compensation factor and the proportional compensation factor in the actual vehicle use scenario.

2. The method according to claim 1, characterized in that The determining a first capacity value based on a difference between the actual capacity difference and a corresponding balanced capacity includes: Based on the following formula, determine the first capacity value; Among them, ΔQ i is the actual capacity difference of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, EQ i is the balanced capacity of the target battery from the first balanced to the second balanced in the i-th adjacent balanced process, is the first capacity value, which is any first capacity value among the multiple first capacity values, specifically, the difference between the actual capacity difference of the target battery and the corresponding equalization capacity during the first equalization to the second equalization in the i-th adjacent equalization process; And, determining the second capacity value based on the sum of the total capacity of charging and discharging corresponding to the actual capacity difference and the corresponding power consumption includes: Based on the following formula, determine the second capacity value; Wherein, k is the proportional compensation factor, is the time integral of the current that varies with time, is the total charge and discharge capacity of the target battery from the first balancing to the second balancing in the i-th adjacent balancing process, t is the time difference from the first balancing to the second balancing in the i-th adjacent balancing process, b is the power compensation factor, (b·t) i is the power consumption of the target battery during the first balancing to the second balancing in the i-th adjacent balancing process, The second capacity value is any second capacity value among multiple second capacity values, specifically the sum of the total charge and discharge capacity of the target battery and the corresponding power consumption from the first balancing to the second balancing in the i-th adjacent balancing process.

3. The method according to claim 2, characterized in that The determining of the power compensation factor and the current proportional compensation factor corresponding to the target battery includes: In the case where the multiple actual capacity differences include a first actual capacity difference and a second actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on a linear relationship among the actual capacity difference, a corresponding balanced capacity, a corresponding total capacity of charge and discharge, and a corresponding power consumption, the power compensation factor and the proportional compensation factor are determined according to a Gaussian elimination method; or, In the case where the multiple actual capacity differences include a third actual capacity difference, a fourth actual capacity difference and a fifth actual capacity difference, for any actual capacity difference among the multiple actual capacity differences, based on a linear relationship among the actual capacity difference, a corresponding balancing capacity, a corresponding total capacity of charging and discharging, and a corresponding power consumption, the power compensation factor and the proportional compensation factor are determined according to a target constraint, and the target constraint is that the sum of squares of errors between multiple sample actual capacity differences and multiple predicted actual capacity differences obtained based on the power compensation factor and the proportional compensation factor is minimized.

4. The method according to claim 2, characterized in that: The power compensation factor includes an abnormal consumption loop compensation factor, a zero drift compensation factor and a balancing current compensation factor. The abnormal consumption loop compensation factor is used to compensate for the abnormal power loss path in the target battery, the zero drift compensation factor is used to compensate for the zero point drift phenomenon when the sensor detects the target battery, and the balancing current compensation factor is used to compensate for the additional energy consumption introduced by the balancing process.

5. The method according to claim 1, characterized in that After determining the power compensation factor and the current proportional compensation factor corresponding to the target battery, the method further includes: In response to a request to charge an electronic device in a target vehicle, determining a target state of charge of the target battery based on the power compensation factor, the proportional compensation factor, and an integral of the current varying with time over a target duration; When the target state of charge is greater than a first charge threshold and less than a second charge threshold, the target battery is controlled to charge the electronic device based on the battery health of the target battery and the required power when the electronic device is charged.

6. The method according to claim 5, characterized in that The determining the target state of charge of the target battery based on the power compensation factor, the proportional compensation factor and the integral of the current varying with time over the target duration includes: Determine the target state of charge based on the following formula; Wherein, SOC is the target state of charge, SOC0 is the initial state of charge of the target battery, and t * is the target duration.

7. The method according to claim 5, characterized in that The controlling the target battery to charge the electronic device based on the battery health of the target battery and the required power of the electronic device when charging includes: Acquire a maximum output power when the target battery is in a fully healthy state and charging the electronic device, wherein the fully healthy state is used to indicate that the battery health of the target battery reaches a maximum value; Determining a target power based on the maximum output power, the required power, and the battery health; The target battery is controlled to charge the electronic device at the target power.

8. A device for determining a battery state of charge, characterized in that: The device comprises: An acquisition module, for acquiring, when the target battery is in a balanced state for multiple times, an actual capacity difference, a balanced capacity, a total capacity of charge and discharge, and a power consumption of the target battery from the first balanced to the second balanced in each of two adjacent balanced processes; Identify modules for: For any actual capacity difference among the multiple actual capacity differences, a first capacity value is determined based on a difference between the actual capacity difference and the corresponding balanced capacity to obtain a first capacity value corresponding to each actual capacity difference, and a second capacity value is determined based on a sum of a total capacity of charge and discharge corresponding to the actual capacity difference and a corresponding power consumption to obtain a second capacity value corresponding to each actual capacity difference; For any capacity value among the multiple first capacity values, when the capacity value is the same as the corresponding second capacity value, determine the power compensation factor and the proportional compensation factor of the current corresponding to the target battery, so as to estimate the charge state of the target battery based on the power compensation factor and the proportional compensation factor in the actual vehicle use scenario.

9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an executable program code, and when the executable program code is executed, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Vehicle battery equalization processing method and electronic equipment

    CN120902601A