A battery capacity updating method, device and related equipment
By acquiring voltage changes during battery discharge to identify the actual battery capacity and employing a progressive update method, the problem of inaccurate SOC identification caused by pre-stored battery capacity parameters is solved, thereby improving the accuracy of electric vehicle range estimation.
Patent Information
- Application Number
- CN202611606515.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-27
AI Technical Summary
In the prior art, the pre-storage of battery capacity parameters in electric vehicles leads to low accuracy in identifying the state of charge (SOC), which in turn affects the accuracy of estimating the remaining driving range of electric vehicles.
The actual capacity of the battery is determined by acquiring the voltage change at intervals of the target discharge amount during the battery discharge process, and the current capacity is updated based on the actual capacity. The consistency of current and temperature is verified, and a progressive smoothing coefficient is adjusted to reduce the deviation.
This improves the accuracy of battery capacity assessment, thereby enhancing the accuracy of battery state-of-charge identification and improving the accuracy of remaining driving range estimation for electric vehicles.
Smart Images

Figure CN123169679A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery technology, and in particular to a method, apparatus and related equipment for updating battery capacity. Background Technology
[0002] With the widespread use of electric vehicles, batteries are the main power supply component for electric vehicles. Accurately identifying the battery capacity can improve the accuracy of identifying the battery's state of charge (SOC) and the accuracy of estimating the remaining driving range of electric vehicles.
[0003] Currently, controllers, fuel gauges, or battery management systems in electric vehicles typically pre-store battery capacity parameters and determine the battery's State of Charge (SOC) based on these pre-stored parameters. They then estimate the remaining driving range of the electric vehicle based on the battery's SOC.
[0004] However, this method has low accuracy in determining the battery's SOC, which leads to low accuracy in estimating the remaining driving range of electric vehicles. Summary of the Invention
[0005] This application provides a battery capacity update method to identify the actual battery capacity, thereby improving the accuracy of battery state of charge identification and the accuracy of estimating the remaining driving range of an electric vehicle. Furthermore, this application also provides a corresponding battery capacity update device, computer equipment, and computer-readable storage medium.
[0006] In a first aspect, this application provides a battery capacity update method, the method comprising: obtaining a first voltage of a battery at a first measurement time; if the discharge amount of the battery from the first measurement time is greater than or equal to a target discharge amount, obtaining a second voltage of the battery at a second measurement time, wherein the second measurement time is after the first measurement time; determining the actual battery capacity of the battery based on the first voltage and the second voltage; and updating the current battery capacity of the battery based on the actual battery capacity.
[0007] In one possible implementation, updating the current battery capacity of the battery based on the actual battery capacity includes: determining a capacity deviation between the actual battery capacity and the current battery capacity; determining a target smoothing coefficient based on the capacity deviation, the target smoothing coefficient indicating the magnitude of adjustment of the current battery capacity to the actual battery capacity; and updating the current battery capacity based on the target smoothing coefficient and the actual battery capacity.
[0008] In one possible implementation, obtaining the first voltage of the battery at the first measurement moment includes: detecting whether the battery meets standard load conditions, the standard load conditions being used to indicate that the battery is in a stable discharge state; recording the moment when the battery meets the standard load conditions as the first measurement moment; and obtaining the first voltage of the battery at the first measurement moment.
[0009] In one possible implementation, obtaining the second voltage of the battery at the second measurement moment includes: if the discharge amount of the battery from the first measurement moment is greater than or equal to the target discharge amount, detecting again whether the battery meets the standard load conditions; recording the moment when the battery meets the standard load conditions again as the second measurement moment; and obtaining the second voltage of the battery at the second measurement moment.
[0010] In one possible implementation, obtaining the second voltage of the battery at the second measurement moment includes: obtaining the first current and first temperature of the battery at the first measurement moment; obtaining the second current and second temperature of the battery at the second measurement moment; verifying the current consistency of the battery based on the first current and the second current, and verifying the temperature consistency of the battery based on the first temperature and the second temperature; and obtaining the second voltage of the battery at the second measurement moment if the current consistency and temperature consistency of the battery pass the verification.
[0011] In one possible implementation, determining the actual battery capacity of the battery based on the first voltage and the second voltage includes: determining the voltage difference between the first voltage and the second voltage; and determining the actual battery capacity of the battery based on the voltage difference.
[0012] In one possible implementation, the method further includes: updating the updated current battery capacity multiple times to gradually reduce the capacity deviation between the current battery capacity and the actual battery capacity.
[0013] Secondly, this application provides a battery capacity updating device, the device comprising: an acquisition module, configured to acquire a first voltage of a battery at a first measurement time; the acquisition module, configured to acquire a second voltage of the battery at a second measurement time if the discharge amount of the battery from the first measurement time is greater than or equal to a target discharge amount, wherein the second measurement time is after the first measurement time; a determination module, configured to determine the actual battery capacity of the battery based on the first voltage and the second voltage; and an updating module, configured to update the current battery capacity of the battery based on the actual battery capacity.
[0014] In one possible implementation, the update module is specifically configured to: determine the capacity deviation between the actual battery capacity and the current battery capacity; determine a target smoothing coefficient based on the capacity deviation, the target smoothing coefficient indicating the extent to which the current battery capacity is adjusted towards the actual battery capacity; and update the current battery capacity based on the target smoothing coefficient and the actual battery capacity.
[0015] In one possible implementation, the acquisition module is specifically used to detect whether the battery meets standard load conditions, the standard load conditions being used to indicate that the battery is in a stable discharge state; to record the moment when the battery meets the standard load conditions as the first measurement moment; and to acquire the first voltage of the battery at the first measurement moment.
[0016] In one possible implementation, the acquisition module is specifically configured to, when the discharge amount of the battery from the first measurement moment is greater than or equal to the target discharge amount, detect again whether the battery meets the standard load conditions; record the moment when the battery meets the standard load conditions again as the second measurement moment; and acquire the second voltage of the battery at the second measurement moment.
[0017] In one possible implementation, the acquisition module is specifically configured to acquire the first current and first temperature of the battery at the first measurement time; acquire the second current and second temperature of the battery at the second measurement time; verify the current consistency of the battery based on the first current and the second current, and verify the temperature consistency of the battery based on the first temperature and the second temperature; and, if the current consistency and temperature consistency of the battery pass the verification, acquire the second voltage of the battery at the second measurement time.
[0018] In one possible implementation, the determining module is specifically used to determine the voltage difference between the first voltage and the second voltage; and to determine the actual battery capacity of the battery based on the voltage difference.
[0019] In one possible implementation, the update module is further configured to update the updated current battery capacity multiple times to gradually reduce the capacity deviation between the current battery capacity and the actual battery capacity.
[0020] Thirdly, this application provides a computer device including a processor and a memory, the memory being used to store instructions, the processor executing the instructions stored in the memory to cause the computer device to perform any of the battery capacity update methods described above.
[0021] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the described battery capacity update methods.
[0022] Based on the implementation methods provided in the above aspects, this application can be further combined to provide more implementation methods.
[0023] As can be seen from the above technical solutions, this application has the following beneficial effects: This application provides a battery capacity update method. It obtains the battery's first voltage at a first measurement moment, and if the battery's discharge amount from the first measurement moment is greater than or equal to a target discharge amount, it obtains the battery's second voltage at a second measurement moment. This ensures that the battery's discharge amount between the first and second measurement moments reaches the target discharge amount. Therefore, it can determine the battery's voltage change during discharge based on the first and second voltages, and then determine the battery's actual capacity based on this voltage change. Furthermore, it updates the battery's current capacity based on the actual battery capacity, making the updated current capacity more accurately reflect the battery's actual capacity. Thus, compared to using pre-stored fixed capacity parameters to determine the battery's State of Charge (SOC), this application updates the current battery capacity based on the battery's actual discharge, reducing the deviation between the current and actual battery capacity, improving the accuracy of battery capacity determination, thereby improving the accuracy of SOC determination and ultimately improving the accuracy of estimating the remaining driving range of the electric vehicle. Attached Figure Description
[0024] Figure 1 A schematic flowchart illustrating a battery capacity update method provided in an embodiment of this application; Figure 2 A flowchart illustrating another battery capacity update method provided in this application embodiment; Figure 3 This is a schematic diagram of a battery capacity update device provided in an embodiment of this application. Detailed Implementation
[0025] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate; this is merely a method of distinction used in describing objects with the same attributes in the embodiments of this application.
[0026] To make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the embodiments of this application will be further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0027] With the widespread use of electric vehicles, batteries are the main power supply component for electric vehicles. Accurately identifying the battery capacity can improve the accuracy of battery SOC identification and the accuracy of estimating the remaining driving range of electric vehicles.
[0028] Currently, controllers, fuel gauges, or battery management systems in electric vehicles typically pre-store battery capacity parameters and determine the battery's State of Charge (SOC) based on these pre-stored parameters. They then estimate the remaining driving range of the electric vehicle based on the battery's SOC.
[0029] However, this method has low accuracy in determining the battery's SOC, which leads to low accuracy in estimating the remaining driving range of electric vehicles.
[0030] Based on this, this application provides a battery capacity update method to improve the accuracy of the identified battery's SOC, thereby improving the accuracy of the remaining driving range estimation of electric vehicles.
[0031] In practical implementation, the battery capacity update system can acquire the battery's first voltage at a first measurement moment, and if the battery's discharge amount from the first measurement moment is greater than or equal to the target discharge amount, acquire the battery's second voltage at a second measurement moment. This ensures that the battery's discharge amount between the first and second measurement moments reaches the target discharge amount. Therefore, the system can determine the voltage change during the discharge process based on the first and second voltages, and then determine the battery's actual capacity based on this voltage change. Furthermore, the battery capacity update system can update the battery's current capacity based on the actual battery capacity, making the updated current battery capacity more accurately reflect the actual battery capacity. Thus, compared to using pre-stored fixed capacity parameters to determine the battery's SOC, this application can update the current battery capacity based on the battery's actual discharge, reducing the deviation between the current and actual battery capacity, improving the accuracy of battery capacity determination, thereby improving the accuracy of SOC determination and ultimately improving the accuracy of the remaining driving range estimation for electric vehicles.
[0032] To facilitate understanding of the embodiments of this application, a battery capacity update method provided by the embodiments of this application will be described below with reference to the accompanying drawings.
[0033] See Figure 1 , Figure 1 This is a flowchart illustrating a battery capacity update method provided in an embodiment of this application.
[0034] Figure 1 The battery capacity update method shown may include the following steps.
[0035] S101: The battery capacity update system obtains the first voltage of the battery at the first measurement moment.
[0036] The battery capacity update system can acquire battery current data collected by a current sensor at a preset sampling frequency. In one example, the current sensor can be an existing current sensor in the vehicle controller, fuel gauge, or battery management system, used to detect the discharge current output by the battery to the vehicle load. The battery can be a lead-acid battery or other types of secondary batteries with similar discharge characteristics; this application does not specifically limit its use.
[0037] Furthermore, the battery capacity update system can detect whether the battery meets standard load conditions based on continuously collected current data. Standard load conditions can be used to indicate that the battery is in a stable discharge state. Standard load conditions may include the battery current being within a preset current range and lasting for a duration not less than a preset duration.
[0038] For example, a battery capacity update system can acquire the battery current measured by a current sensor 10 times per second. When the battery capacity update system determines that the battery current is stable at approximately 10A and lasts for more than 3 seconds, it can determine that the battery meets standard load conditions. The above values are for illustrative purposes only; the current range and duration in standard load conditions can be pre-calibrated based on battery type, rated capacity, and vehicle load characteristics.
[0039] When the battery meets the standard load conditions, the battery capacity update system can record the moment when the battery meets the standard load conditions as the first measurement moment, and the battery capacity update system can obtain the first voltage of the battery at the first measurement moment.
[0040] In one possible implementation, the battery is a battery pack for an electric vehicle, which is equipped with a voltage sensor that can measure the total voltage of the battery pack in real time. The battery capacity update system can obtain the first voltage of the battery at the first measurement moment from the voltage sensor.
[0041] In one example, to reduce the impact of single-sample noise on the first voltage, the battery capacity update system can sample the battery voltage multiple times within a preset sampling time and filter the multiple sampling results to obtain the first voltage.
[0042] For example, a battery capacity update system can perform 256 oversampling operations, dividing the 256 voltage sample values into four groups, each containing 64 voltage sample values. The system then sorts the voltage sample values in each group, determines the median of each group, calculates the average of the four medians, and uses this average as the first voltage. Through multiple sampling and median filtering, the impact of transient interference and random noise on the voltage measurement results can be reduced.
[0043] In one possible implementation, the electric vehicle may also be equipped with a current sensor and a temperature sensor. The battery capacity update system may also acquire a first current of the battery collected by the current sensor and a first temperature of the battery collected by the temperature sensor. The first current is the battery's discharge current at the first measurement moment, and the first temperature is the battery's temperature at the first measurement moment.
[0044] S102: If the discharge amount of the battery from the first measurement time is greater than or equal to the target discharge amount, the battery capacity update system obtains the second voltage of the battery at the second measurement time, wherein the second measurement time is after the first measurement time.
[0045] In one possible implementation, starting from the first measurement moment, the battery capacity update system can continuously collect the battery current measured by the current sensor and calculate the cumulative discharge amount of the battery from the first measurement moment using the trapezoidal integration method.
[0046] If the cumulative discharge amount of the battery from the first measurement moment is greater than or equal to the target discharge amount, the battery capacity update system can re-detect whether the battery meets the standard load conditions. The target discharge amount can be determined based on the battery type, nominal voltage, candidate capacity specifications, and calibration results. For example, the target discharge amount can be 2 amp-hours, and this application does not limit this.
[0047] While the battery has not yet met the standard load conditions again, the battery capacity update system can continue to monitor the battery current. When the battery meets the standard load conditions again, the battery capacity update system can record the moment when the battery meets the standard load conditions again as the second measurement moment. Furthermore, the battery capacity update system can acquire the battery's second voltage, second current, and second temperature at the second measurement moment.
[0048] Furthermore, the battery capacity update system can verify the current consistency of the battery based on the first current and the second current, and can verify the temperature consistency of the battery based on the first temperature and the second temperature.
[0049] For example, a battery capacity update system can determine the current deviation between a first current and a second current. If the current deviation is less than or equal to a preset current deviation threshold, the current consistency verification is considered successful. If the current deviation is greater than the preset current deviation threshold, the battery capacity update can be abandoned to avoid errors caused by significant differences in load conditions before and after the update. Similarly, a battery capacity update system can determine the temperature deviation between a first temperature and a second temperature. If the temperature deviation is less than or equal to a preset temperature deviation threshold, the temperature consistency verification is considered successful.
[0050] With current and temperature consistency verified, the battery capacity update system can obtain the battery's second voltage at the second measurement moment. The sampling and filtering method for the second voltage can be the same as that for the first voltage, such as using multiple oversampling, grouping, median taking, and averaging to obtain the second voltage, so as to keep the measurement accuracy and processing method of the first and second voltages consistent.
[0051] S103: The battery capacity update system determines the actual battery capacity based on the first voltage and the second voltage.
[0052] The battery capacity update system can acquire a first voltage and a second voltage, and determine the voltage difference between the first voltage and the second voltage. Then, the battery capacity update system can determine whether the voltage difference between the first voltage and the second voltage is within a preset reasonable range.
[0053] When the voltage difference between the first voltage and the second voltage is not within the preset reasonable range, the battery capacity update system can determine that the measurement is affected by abnormal operating conditions, sensor malfunctions, or other factors, set an abnormality identification flag, and terminate the capacity update.
[0054] When the voltage difference is within a preset reasonable range, the battery capacity update system can determine the actual battery capacity based on the voltage difference between the first voltage and the second voltage.
[0055] Specifically, the battery capacity update system can access a pre-stored capacity identification table to find the actual battery capacity corresponding to the voltage difference between the first voltage and the second voltage. The capacity identification table can store multiple voltage difference intervals and the battery capacity corresponding to each voltage difference interval. See Table 1, which is a schematic diagram of a capacity identification table provided in an embodiment of this application.
[0056] Table 1 Capacity Identification Table
[0057] In one possible implementation, Table 1 shows a preset reasonable range for the voltage drop of the lead-acid battery, from 0.15V to 1.00V. The voltage drop range and battery capacity shown in Table 1 are only examples and can be determined through calibration experiments in actual applications.
[0058] In one possible implementation, the capacity identification table can be obtained in advance in the following manner: Multiple batteries of different capacity specifications were selected, and multiple discharge tests were performed under preset standard load conditions and preset environmental conditions. For each battery capacity specification, the voltage difference corresponding to the target discharge amount from the first measurement moment was statistically analyzed. Based on the statistical results, typical voltage difference ranges corresponding to different capacity specifications were determined, and the obtained correspondences were stored in the non-volatile memory of the controller, fuel gauge, or battery management system.
[0059] Furthermore, the battery capacity update system can also determine the confidence level of the capacity identification result based on the position of the voltage difference within the corresponding voltage difference range. For example, the battery capacity update system can determine the distance between the voltage difference and the two boundaries of the corresponding range. When the distance between the voltage difference and both boundaries is greater than a preset boundary threshold, the battery capacity update system can determine the confidence level of the voltage difference to be high. When the distance between the voltage difference and either boundary is less than or equal to the preset boundary threshold, the battery capacity update system can determine the confidence level of the voltage difference to be medium. In one example, the preset boundary threshold can be 0.03V.
[0060] S104: The battery capacity update system updates the current battery capacity based on the actual battery capacity.
[0061] The battery capacity update system can obtain the battery's actual capacity. Furthermore, the battery capacity update system can also obtain the battery's current capacity.
[0062] Furthermore, the battery capacity update system can determine the capacity deviation between the actual battery capacity and the current battery capacity, and can determine a target smoothing coefficient based on the capacity deviation. The target smoothing coefficient indicates the extent to which the current battery capacity is adjusted towards the actual battery capacity. By setting different target smoothing coefficients, the battery capacity can be made to gradually approach the identified actual battery capacity, rather than undergoing a large jump based on a single identification result.
[0063] In one possible implementation, the battery capacity update system can classify capacity deviations into small deviations, medium deviations, and large deviations. When the capacity deviation between the actual battery capacity and the current battery capacity is less than or equal to the first capacity deviation, the battery capacity update system can determine the capacity deviation as a small deviation.
[0064] When the capacity deviation between the actual battery capacity and the current battery capacity is less than the second capacity deviation but greater than the first capacity deviation, the battery capacity update system can determine the capacity deviation as a medium deviation.
[0065] When the capacity deviation between the actual battery capacity and the current battery capacity is greater than or equal to the second capacity deviation, the battery capacity update system can determine that the capacity deviation is a large deviation. The first capacity deviation is less than the second capacity deviation.
[0066] For different capacity deviations, the battery capacity update system can determine different target smoothing coefficients. For example, the target smoothing coefficient corresponding to a small deviation can be the first target smoothing coefficient, the target smoothing coefficient corresponding to a medium deviation can be the second target smoothing coefficient, and the target smoothing coefficient corresponding to a large deviation can be the third target smoothing coefficient.
[0067] The first target smoothing coefficient is greater than the second target smoothing coefficient, and the second target smoothing coefficient is greater than the third target smoothing coefficient. The larger the target smoothing coefficient, the smaller the adjustment from the current battery capacity to the actual battery capacity.
[0068] In one possible implementation, the battery capacity update system can update the current battery capacity using formula (1) to determine the updated current battery capacity. The specific expression of formula (1) is as follows:
[0069] in, This indicates the current battery capacity before the update. This indicates the actual battery capacity obtained in this identification. For the updated current battery capacity, Let α be the target smoothing coefficient. Therefore, when the capacity deviation is large, a smaller α can be used to improve the convergence speed. When the capacity deviation is small, a larger α can be used to reduce the magnitude of a single adjustment, thus balancing update speed and stability.
[0070] For cases with moderate or large deviations, the battery capacity update system can perform a second verification before updating the capacity. For example, after the actual battery capacity is identified the first time, the discharge amount can be accumulated to a preset verification target value, and the battery voltage under standard load conditions can be acquired again to obtain a second capacity identification result. When the two capacity identification results meet a preset consistency condition, the current battery capacity is updated according to the target smoothing coefficient. By verifying the identification results with large deviations, the probability of incorrect capacity parameter updates caused by a single abnormal measurement can be reduced.
[0071] For example, the battery capacity update system pre-stores a current battery capacity of 24Ah, while the actually installed battery is 20Ah. The first capacity learning yields a first voltage of 52.08V, and after a cumulative discharge of 2.02Ah, a second voltage of 51.64V is obtained, resulting in a voltage difference of 0.44V. By consulting the capacity identification table, the actual battery capacity can be determined to be 20Ah. The capacity deviation between the current and actual battery capacities is 4Ah, which is considered a large deviation. After successful verification, if the target smoothing coefficient α is set to 0.5, the updated current battery capacity will be 0.5 × 24Ah + 0.5 × 20Ah = 22Ah.
[0072] During subsequent rides, the battery capacity update system can repeatedly execute steps S101 to S104, updating the current battery capacity multiple times. For example, if the next capacity learning iteration still identifies the actual battery capacity as 20Ah, and the current battery capacity is 22Ah, a target smoothing coefficient of 0.6 can be used to update the current battery capacity to 21.2Ah. If, in subsequent iterations, the current battery capacity is 21.2Ah and the actual battery capacity remains 20Ah, a target smoothing coefficient of 0.8 can be used to update the current battery capacity to 20.96Ah. Through multiple capacity learning iterations, the current battery capacity can gradually approach the actual battery capacity.
[0073] By employing the aforementioned progressive update method, even if a capacity recognition is affected by sensor interference and produces a certain deviation, the magnitude of change in a single capacity update can be limited. During subsequent normal capacity learning, the current battery capacity can continue to converge towards the true capacity, thereby improving the stability of the battery capacity update process and its resistance to occasional interference.
[0074] In one possible implementation, after updating the current battery capacity, the battery capacity update system can also calibrate the battery's state of charge (SOC) based on the updated SOC. Specifically, the battery capacity update system can determine the SOC deviation between the target SOC obtained based on the updated current battery capacity and the currently displayed SOC, and determine the calibration rate based on the SOC deviation. During calibration, the battery capacity update system can gradually adjust the displayed SOC according to a preset cycle, limiting each adjustment to no more than a preset threshold. For example, the battery capacity update system can update the displayed SOC once per second, with each change not exceeding 1%, thereby reducing sudden changes in battery level display caused by capacity parameter updates.
[0075] After completing the current battery capacity update and state of charge calibration, the battery capacity update system can also store the updated current battery capacity, calibration parameters, and relevant information from this capacity learning process in non-volatile memory. This relevant information may include at least one of the following: first voltage, second voltage, first current, second current, first temperature, second temperature, voltage difference, the identified actual battery capacity, the target smoothing coefficient, and anomaly flags, for subsequent capacity learning, fault analysis, or parameter tracing.
[0076] This application embodiment acquires a first voltage and a second voltage separated by a target discharge amount during normal vehicle discharge, and identifies the actual battery capacity based on the voltage change between the first and second voltages, thus completing capacity learning without performing a complete full charge and discharge process. Furthermore, by acquiring the voltage under standard load conditions and verifying current and temperature consistency, the consistency of voltage measurement conditions between consecutive measurements can be improved. Moreover, the battery capacity update system reduces the impact of single measurement errors on capacity parameters by determining a smoothing coefficient based on capacity deviation and progressively updating the current battery capacity, allowing the current battery capacity to continuously converge towards the actual battery capacity.
[0077] To facilitate understanding, the following description, in conjunction with the accompanying drawings, illustrates a battery capacity update method provided in this application.
[0078] See Figure 2 , Figure 2 This is another schematic flowchart of the battery capacity update method provided in the embodiments of this application.
[0079] like Figure 2 As shown, during the operation of an electric vehicle, the battery capacity update system can continuously collect battery current data and detect whether the battery meets standard load conditions based on the collected current data. The standard load conditions indicate that the battery is in a stable discharge state. When the battery does not meet the standard load conditions, the battery capacity update system can continue to collect battery current data and continuously detect whether the battery meets the standard load conditions. When the battery meets the standard load conditions, the battery capacity update system can record the moment when the battery meets the standard load conditions as the first measurement moment and obtain the battery's first voltage, first current, and first temperature at the first measurement moment.
[0080] Furthermore, the battery capacity update system can continuously collect battery current data from the first measurement moment and calculate the cumulative discharge amount of the battery from the first measurement moment based on the collected current data. Then, the battery capacity update system can determine whether the cumulative discharge amount is greater than or equal to the target discharge amount. When the cumulative discharge amount is less than the target discharge amount, the battery capacity update system can continue to accumulate the battery's discharge amount. When the cumulative discharge amount is greater than or equal to the target discharge amount, the battery capacity update system can re-check whether the battery meets the standard load conditions.
[0081] If the battery does not meet the standard load conditions again, the battery capacity update system can continue to detect whether the battery meets the standard load conditions. When the battery meets the standard load conditions again, the battery capacity update system can record the moment when the battery meets the standard load conditions again as the second measurement moment, and obtain the second current and second temperature of the battery at the second measurement moment.
[0082] Furthermore, the battery capacity update system can verify the battery's current consistency based on a first current and a second current, and verify the battery's temperature consistency based on a first temperature and a second temperature. If either current consistency or temperature consistency fails verification, the battery capacity update system can abandon the current battery capacity identification. If both current consistency and temperature consistency pass verification, the battery capacity update system can obtain the battery's second voltage at the second measurement time.
[0083] Furthermore, the battery capacity update system can determine the battery voltage difference based on the first voltage and the second voltage, and determine whether the voltage difference is within a preset reasonable range. When the voltage difference is not within the preset reasonable range, the battery capacity update system can determine that the current battery capacity identification is abnormal and terminate the current battery capacity identification. When the voltage difference is within the preset reasonable range, the battery capacity update system can query a pre-stored capacity identification table based on the voltage difference to determine the actual battery capacity corresponding to the voltage difference.
[0084] After determining the actual battery capacity, the battery capacity update system can obtain the current battery capacity and determine the capacity deviation between the actual battery capacity and the current battery capacity. Then, the battery capacity update system can determine the deviation level based on the magnitude of the capacity deviation. The deviation level can include small deviation, medium deviation, and large deviation.
[0085] When the capacity deviation is small, the battery capacity update system can determine the first target smoothing coefficient corresponding to the small deviation, and update the current battery capacity based on the first target smoothing coefficient and the actual battery capacity.
[0086] When the capacity deviation is moderate or large, the battery capacity update system can re-verify the actual battery capacity. For example, the system can continue to accumulate the battery's discharge amount, and after the accumulated discharge amount reaches a preset verification target value, it can acquire the battery voltage again and determine the second capacity identification result based on the acquired voltage. If the second capacity identification result meets the preset consistency condition with the previous capacity identification result, the system can determine that the verification has passed. If the verification fails, the system can abandon the current battery capacity update.
[0087] When the capacity deviation is of medium magnitude and verification is passed, the battery capacity update system can determine the second target smoothing coefficient corresponding to the medium deviation, and update the current battery capacity based on the second target smoothing coefficient and the actual battery capacity. When the capacity deviation is of large magnitude and verification is passed, the battery capacity update system can determine the third target smoothing coefficient corresponding to the large deviation, and update the current battery capacity based on the third target smoothing coefficient and the actual battery capacity.
[0088] Furthermore, after updating the current battery capacity, the battery capacity update system can also calibrate the battery's State of Charge (SOC) based on the updated current battery capacity. For example, the battery capacity update system can determine the target SOC based on the updated current battery capacity and determine the SOC deviation between the target SOC and the currently displayed SOC. Then, the battery capacity update system can determine the corresponding SOC calibration rate based on the SOC deviation and gradually adjust the currently displayed SOC according to the SOC calibration rate to reduce the deviation between the currently displayed SOC and the target SOC.
[0089] Furthermore, the battery capacity update system can store the updated current battery capacity and SOC calibration-related parameters in non-volatile memory, and record relevant information for this capacity identification and update. After completing the above operations, the battery capacity update system can re-detect whether the battery meets the standard load conditions, and when the capacity identification conditions are subsequently met, it can execute the battery capacity identification and update process again to update the current battery capacity multiple times, so that the current battery capacity gradually approaches the actual battery capacity.
[0090] Through the above methods, the battery capacity update system can automatically identify the actual battery capacity during the normal operation of the electric vehicle, and adopt different smoothing update strategies according to the capacity deviation between the actual battery capacity and the current battery capacity. This improves the efficiency of capacity update, reduces the magnitude of single changes in the current battery capacity, improves the stability of the capacity update process, and thus improves the accuracy of battery SOC and the remaining driving range estimation of the electric vehicle.
[0091] It is worth noting that other reasonable combinations of steps that can be conceived by those skilled in the art based on the above description also fall within the scope of protection of this application. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to this application.
[0092] Based on the battery capacity update method provided in the above-described embodiments, this application also provides a battery capacity update device, which will be described below with reference to the accompanying drawings. Since the principle by which the device in this disclosure solves the problem is similar to the battery capacity update method described above in this application, the implementation of the device can refer to the implementation of the method, and repeated details will not be elaborated further.
[0093] See Figure 3 As shown in the figure, this is a schematic diagram of the structure of a battery capacity update device provided in an embodiment of this application. Figure 3 As shown, the battery capacity update device 300 includes: The acquisition module 301 is used to acquire the first voltage of the battery at the first measurement moment; The acquisition module 301 is used to acquire the second voltage of the battery at a second measurement time when the battery discharge amount from the first measurement time is greater than or equal to the target discharge amount, wherein the second measurement time is after the first measurement time; The determining module 302 is used to determine the actual battery capacity of the battery based on the first voltage and the second voltage. The update module 303 is used to update the current battery capacity of the battery based on the actual battery capacity.
[0094] In one possible implementation, the update module 303 is specifically used to determine the capacity deviation between the actual battery capacity and the current battery capacity. The target smoothing coefficient is determined based on the capacity deviation. The target smoothing coefficient is used to indicate the extent to which the current battery capacity is adjusted to the actual battery capacity. The current battery capacity is updated based on the target smoothing coefficient and the actual battery capacity.
[0095] In one possible implementation, the acquisition module 301 is specifically used to detect whether the battery meets the standard load conditions, which are used to indicate that the battery is in a stable discharge state. The moment when the battery meets the standard load conditions is recorded as the first measurement moment; Obtain the first voltage of the battery at the first measurement moment.
[0096] In one possible implementation, the acquisition module 301 is specifically used to detect again whether the battery meets the standard load conditions if the battery discharge amount from the first measurement moment is greater than or equal to the target discharge amount. The moment when the battery meets the standard load conditions again is recorded as the second measurement moment; the second voltage of the battery at the second measurement moment is obtained.
[0097] In one possible implementation, the acquisition module 301 is specifically used to acquire the first current and first temperature of the battery at the first measurement moment. Obtain the second current and second temperature of the battery at the second measurement moment; verify the current consistency of the battery based on the first current and the second current, and verify the temperature consistency of the battery based on the first temperature and the second temperature. With the battery's current and temperature consistency verified, the battery's second voltage at the second measurement moment is obtained.
[0098] In one possible implementation, the determining module 302 is specifically used to determine the voltage difference between the first voltage and the second voltage; The actual battery capacity is determined based on the voltage difference.
[0099] In one possible implementation, the update module 303 is further configured to update the updated current battery capacity multiple times in order to gradually reduce the capacity deviation between the current battery capacity and the actual battery capacity.
[0100] It should be noted that the specific implementation of each module in this embodiment can be found in the relevant descriptions in the above method embodiments. The module division in this application embodiment is illustrative and only represents a logical functional division; in actual implementation, there may be other division methods. In this application embodiment, each functional module can be concentrated in one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. For example, in the above embodiments, the acquisition module and the determination module can be the same module or different modules.
[0101] In addition, this application also provides a computer device, which includes a processor and a memory. The memory is used to store instructions, and the processor executes the instructions stored in the memory to cause the computer device to perform the battery capacity update method provided in any of the above embodiments.
[0102] This application also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements any of the battery capacity update methods described above.
[0103] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0104] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0105] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0106] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0107] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for updating battery capacity, characterized in that, The method includes: Obtain the first voltage of the battery at the first measurement moment; If the discharge amount of the battery from the first measurement time is greater than or equal to the target discharge amount, the second voltage of the battery at the second measurement time is obtained, wherein the second measurement time is after the first measurement time; The actual battery capacity of the battery is determined based on the first voltage and the second voltage; The current battery capacity is updated based on the actual battery capacity.
2. The method according to claim 1, characterized in that, The step of updating the current battery capacity based on the actual battery capacity includes: Determine the capacity deviation between the actual battery capacity and the current battery capacity; A target smoothing coefficient is determined based on the capacity deviation, and the target smoothing coefficient is used to indicate the extent to which the current battery capacity is adjusted to the actual battery capacity; The current battery capacity is updated based on the target smoothing coefficient and the actual battery capacity.
3. The method according to claim 2, characterized in that, The step of obtaining the first voltage of the battery at the first measurement moment includes: The system detects whether the battery meets standard load conditions, which are used to indicate that the battery is in a stable discharge state. The moment when the battery meets the standard load conditions is recorded as the first measurement moment; Obtain the first voltage of the battery at the first measurement time.
4. The method according to claim 3, characterized in that, The step of obtaining the second voltage of the battery at the second measurement time includes: If the discharge amount of the battery from the first measurement time is greater than or equal to the target discharge amount, the battery is checked again to see if it meets the standard load conditions. The moment when the battery meets the standard load condition again is recorded as the second measurement moment; Obtain the second voltage of the battery at the second measurement time.
5. The method according to claim 4, characterized in that, The step of obtaining the second voltage of the battery at the second measurement time includes: Obtain the first current and first temperature of the battery at the first measurement time; Obtain the second current and second temperature of the battery at the second measurement time; The current consistency of the battery is verified based on the first current and the second current, and the temperature consistency of the battery is verified based on the first temperature and the second temperature. If the current consistency and temperature consistency of the battery are verified, the second voltage of the battery at the second measurement time is obtained.
6. The method according to claim 5, characterized in that, Determining the actual battery capacity of the battery based on the first voltage and the second voltage includes: Determine the voltage difference between the first voltage and the second voltage; The actual battery capacity is determined based on the voltage difference.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: The updated current battery capacity is updated multiple times to gradually reduce the capacity deviation between the current battery capacity and the actual battery capacity.
8. A battery capacity update device, characterized in that, The device includes: The acquisition module is used to acquire the first voltage of the battery at the first measurement moment; The acquisition module is used to acquire the second voltage of the battery at a second measurement time when the discharge amount of the battery from the first measurement time is greater than or equal to the target discharge amount, wherein the second measurement time is after the first measurement time; The determining module is used to determine the actual battery capacity of the battery based on the first voltage and the second voltage; An update module is used to update the current battery capacity of the battery based on the actual battery capacity.
9. A computer device, characterized in that, The computer device includes a processor and a memory, the memory being used to store instructions, the processor executing the instructions stored in the memory to cause the computer device to perform the battery capacity update method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores a computer program, wherein the computer program, when executed by a processor, implements the battery capacity update method as described in any one of claims 1 to 7.
