Battery state of charge calibration method and apparatus, electronic device, and storage medium

By determining and using a linearly growing reference state of charge during battery charging, calculating and applying calibration coefficients to calibrate the displayed state of charge, the problem of unsmooth change in state of charge during battery charging is solved, and more accurate and smooth SOC display.

WO2025036486A1PCT designated stage expired Publication Date: 2025-02-20SOLAR POWER NETWORK TECHNOLOGY (ZHEJIANG) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/112756
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-16
Filing Date
2024-08-16
Publication Date
2025-02-20

AI Technical Summary

Technical Problem

The prior art causes the state of charge to change in the state of charge during the battery charging process, which is difficult to calibrate SOC, resulting in inaccurate display of SOC values ​​and poor user experience.

Method used

By determining the reference charge state of the current adjustment period, it increases linearly within the calibration period, calculate the calibration coefficient of the display charge state according to the relationship between the reference charge state and the displayed charge state, and calibrate the displayed charge state according to the magnitude of the reference charge state and the displayed charge state. , achieve smooth and smooth growth of the display charge state during the calibration period before reaching the full load value.

Benefits of technology

It effectively avoids the situation of lag in the state of charge, achieves a smooth increase in the state of charge, and improves the accuracy and user experience of SOC display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024112756_20022025_PF_FP_ABST
    Figure CN2024112756_20022025_PF_FP_ABST
Patent Text Reader

Abstract

A battery state of charge calibration method and apparatus, an electronic device, and a storage medium. A linearly growing reference state of charge is provided in a calibration period; on the basis of the linearly growing reference state of charge, and according to a magnitude relationship between the reference state of charge and a display state of charge, different adjustment speeds are selected; a calibration coefficient of the display state of charge is calculated; and the display state of charge is calibrated. Thus the display state of charge smoothly increases during the calibration period before a full charge value is reached, and a situation in which the state of charge is unresponsive is effectively avoided. The problem in the related technology that a state of charge calibration method during a battery charging process causes a change in state of charge to be not smooth or even unresponsive is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Battery state of charge calibration method, device, electronic device, and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 16, 2023, with application number 202311028663.X, entitled “Battery State of Charge Calibration Method, Device, Electronic Device, Storage Medium,” the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of battery measurement technology, and in particular to a battery state of charge calibration method, device, electronic device, and storage medium. Background Art

[0003] Battery State of Charge (SOC) estimation is the core of new energy battery systems. However, in battery systems, the consistency of single cells will affect the battery capacity. As a result, when the battery charging reaches the cut-off voltage, the displayed SOC value will reach 100% prematurely or even before 100%, seriously affecting the user experience.

[0004] Lithium iron phosphate batteries, due to their plateau phase, cannot be properly calibrated for SOC, making this problem more frequent. Most existing solutions simply hold the battery at 99% before reaching the cutoff voltage if the SOC is too high. If the SOC is too low, the battery is corrected to 100% at a certain rate after reaching the cutoff voltage.

[0005] This causes the displayed SOC value to be unsmooth, stuck at a certain value, and out of sync with the actual SOC changes. Even after reaching the cutoff voltage, the displayed SOC value continues to change, resulting in inaccurate SOC display and a poor user experience.

[0006] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that what is described herein is prior art by its inclusion in this section.

[0007] Summary of the Invention

[0008] The embodiments of the present invention provide a battery state of charge calibration method, device, electronic device, and storage medium, which at least solve the problem in the related art that the state of charge calibration method during the battery charging process may cause the charge state to change unsmoothly or even freeze.

[0009] A method for calibrating the state of charge of a battery provided by an embodiment of the present invention includes: determining a baseline state of charge of a battery in a current adjustment cycle, wherein the baseline state of charge increases linearly within the calibration cycle, and the calibration cycle is a time period starting from an adjustment cycle that satisfies a calibration condition before reaching a full charge value and ending when the full charge value is reached; performing ampere-hour integration based on the displayed state of charge of the previous adjustment cycle to determine the displayed state of charge of the current adjustment cycle; calculating a calibration coefficient for the displayed state of charge of the current adjustment cycle based on a magnitude relationship between the baseline state of charge and the displayed state of charge of the current adjustment cycle, and a preset adjustment speed; and calibrating the displayed state of charge of the current adjustment cycle based on the calibration coefficient.

[0010] The beneficial effects of the embodiments of the present invention are as follows: based on a linearly increasing reference state of charge, according to the size relationship between the reference state of charge and the displayed state of charge, a predetermined adjustment speed is determined, a calibration coefficient of the displayed state of charge is calculated, and the displayed state of charge is calibrated, so that the displayed state of charge increases smoothly within the calibration period before reaching the full charge value, and the occurrence of charge state freezes is effectively avoided.

[0011] As an optional implementation, determining the baseline state of charge of the battery in the current adjustment cycle includes: when the current adjustment cycle is the first adjustment cycle of the calibration cycle, calculating the baseline state of charge based on the charge parameters of the battery; when the current adjustment cycle is not the first adjustment cycle, calculating the baseline state of charge of the current adjustment cycle based on the baseline state of charge of the previous adjustment cycle.

[0012] The baseline SOC calculated during the first adjustment cycle of the calibration cycle is used to determine the baseline SOC for subsequent adjustment cycles, ensuring a uniform increase. In subsequent adjustment cycles other than the first, the baseline SOC for the current adjustment cycle is calculated based on the baseline SOC from the previous adjustment cycle. The actual SOC, as reflected by the cell voltage, is linked to the baseline SOC to prevent the baseline SOC from deviating from the actual SOC, causing it to increase too quickly and affecting the accuracy of the displayed SOC.

[0013] As an optional implementation, the reference state of charge of the current adjustment cycle is calculated based on the reference state of charge of the previous adjustment cycle, including: when the highest cell voltage of the current adjustment cycle of the battery is not greater than the highest cell voltage of the previous adjustment cycle, using the reference state of charge of the previous adjustment cycle as the reference state of charge of the current adjustment cycle; when the highest cell voltage of the current adjustment cycle of the battery is greater than the highest cell voltage of the previous adjustment cycle, calculating the reference state of charge of the current adjustment cycle based on the reference state of charge of the previous adjustment cycle and the reference charge change, wherein the reference charge change is determined based on the voltage increase value and the reference charge change rate, and the reference charge change rate is the ratio of the voltage increase value within the adjustment cycle to the change value of the reference state of charge.

[0014] The reference SOC is maintained based on whether the highest cell voltage increases, or the reference SOC for the current cycle is calculated based on the voltage increase and the reference SOC rate of change. The reference SOC rate of change ensures that the reference SOC increases linearly over the calibration cycle.

[0015] As an optional embodiment, before calculating the baseline state of charge of the current adjustment cycle based on the baseline state of charge and the baseline charge change of the previous adjustment cycle, the method also includes: calculating the baseline charge change rate based on the baseline state of charge and the highest single cell voltage, as well as the full charge value and the cut-off voltage of the first adjustment cycle, wherein the full charge value is the maximum value of the baseline state of charge.

[0016] The reference charge change rate per unit voltage is calculated based on the difference between the reference state of charge and the full charge value in the first adjustment cycle of the calibration cycle, as well as the difference between the highest cell voltage and the cutoff voltage. This allows the reference state of charge to increase at an appropriate rate, improving the accuracy of the reference state of charge and displayed state of charge, and avoiding errors in the displayed state of charge caused by the reference state of charge increasing too quickly or too slowly, which will gradually accumulate.

[0017] As an optional embodiment, when the current adjustment cycle is the first adjustment cycle of the calibration cycle, before calculating the baseline state of charge based on the battery's charge parameters, the method also includes: when the battery is in a charging state and the displayed state of charge of the battery has not reached the full charge value, determining whether the battery meets the calibration conditions.

[0018] The displayed state of charge can only be calibrated when the battery is in charging state and the displayed state of charge has not reached the full charge value. The calibration cycle is determined based on the preset calibration conditions.

[0019] As an optional implementation manner, the calibration condition is whether the highest cell voltage of the battery reaches a preset voltage value, wherein the preset voltage value is less than a cut-off voltage for battery charging completion.

[0020] When the highest cell voltage reaches a preset voltage value before the cut-off voltage, it indicates that there is room for the state of charge to increase and calibration can be performed.

[0021] As an optional implementation, the displayed state of charge of the current adjustment cycle is determined by performing ampere-hour integration based on the displayed state of charge of the previous adjustment cycle, including: calculating the displayed charge change rate based on the battery current value and the battery capacity; calculating the displayed charge change amount based on the displayed charge change rate and the adjustment cycle; and calculating the displayed state of charge of the current adjustment cycle based on the displayed state of charge of the previous adjustment cycle and the displayed charge change amount.

[0022] Based on the ampere-hour integral of the previous adjustment cycle, the battery current value, battery capacity and adjustment cycle, the displayed state of charge of the current adjustment cycle is calculated.

[0023] As an optional embodiment, based on the size relationship between the reference state of charge and the displayed state of charge of the current adjustment cycle, and a preset adjustment speed, a calibration coefficient of the displayed state of charge of the current adjustment cycle is calculated, including: when the displayed state of charge is less than the reference state of charge, obtaining a first adjustment speed of the adjustment speed, wherein the first adjustment speed is higher than the displayed charge change rate; when the displayed state of charge is equal to the reference state of charge, obtaining a second adjustment speed of the adjustment speed, wherein the second adjustment speed is equal to the displayed charge change rate; when the displayed state of charge is greater than the reference state of charge, obtaining a third adjustment speed for the adjustment speed, wherein the third adjustment speed is lower than the displayed charge change rate; and calculating the calibration coefficient based on the obtained adjustment speed and the displayed charge change rate.

[0024] Different adjustment speeds are selected according to the different size relationships between the displayed state of charge and the reference state of charge, so that the change of the displayed state of charge approaches the reference state of charge, so that when the highest cell voltage reaches the cut-off voltage, the displayed state of charge reaches the full charge value, and the change of the displayed state of charge can be made smoother.

[0025] As an optional implementation, the displayed state of charge of the current adjustment cycle is calibrated according to the calibration coefficient, including: using the adjustment speed corresponding to the calibration coefficient as the calibrated displayed charge change rate; calculating the calibrated displayed charge change amount according to the adjustment cycle and the calibrated displayed charge change rate; and obtaining the calibrated displayed charge state of the current adjustment cycle based on the displayed state of charge of the previous adjustment cycle and the calibrated displayed charge change amount.

[0026] The displayed state of charge can be calibrated by calculating the calibration coefficient based on the rate of change of the displayed charge and the adjustment speed during the ampere-hour integral calculation, and then the calibration coefficient can be brought into the ampere-hour integral.

[0027] As an optional embodiment, after calibrating the displayed state of charge of the current adjustment cycle according to the calibration coefficient, the method further includes: determining that the battery exits the charging state when it is detected that the highest single cell voltage of the battery reaches the cut-off voltage, or when it is detected that the battery has a discharge current; and calculating the state of charge according to the battery's charge parameters when the battery exits the charging state.

[0028] When the highest cell voltage reaches the cut-off voltage or the battery has a discharge current, it means that the battery charging is completed. In the non-charging state, the charge state is calculated based on the battery charge parameters.

[0029] A battery state of charge calibration device provided by an embodiment of the present invention includes: a reference determination module for determining a reference state of charge of a battery in a current adjustment cycle, wherein the reference state of charge increases linearly within the calibration cycle, and the calibration cycle is a time period from an adjustment cycle that satisfies a calibration condition before reaching a full charge value to the end of reaching the full charge value; a display determination module for performing ampere-hour integration based on the displayed state of charge of the previous adjustment cycle to determine the displayed state of charge of the current adjustment cycle; a coefficient determination module for calculating a calibration coefficient of the displayed state of charge of the current adjustment cycle based on a size relationship between the reference state of charge and the displayed state of charge of the current adjustment cycle, and a preset adjustment speed; and a calibration module for calibrating the displayed state of charge of the current adjustment cycle based on the calibration coefficient.

[0030] Based on a linearly growing baseline state of charge, and according to the relationship between the baseline state of charge and the displayed state of charge, the predetermined adjustment speed is determined, the calibration coefficient of the displayed state of charge is calculated, and the displayed state of charge is calibrated. This ensures a smooth increase in the displayed state of charge within the calibration period before reaching the full charge value, and effectively avoids the occurrence of state of charge freezes.

[0031] An embodiment of the present invention provides an electronic device, comprising: a processor, and a memory storing a program, wherein the program comprises instructions, which, when executed by the processor, enable the processor to perform any of the above-mentioned methods for calibrating the battery state of charge.

[0032] An embodiment of the present invention provides a non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are configured to cause the computer to execute any of the aforementioned methods for calibrating the battery state of charge. Details of one or more embodiments of the present invention are set forth in the following drawings and description to facilitate understanding of other features, objectives, and advantages of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be derived from these drawings without inventive effort.

[0034] FIG1 is a flow chart of a method for calibrating a battery state of charge according to an embodiment of the present invention.

[0035] FIG2 is a flow chart of a method for calibrating a battery state of charge according to an embodiment of the present invention.

[0036] FIG3 is a flow chart of a method for calibrating a battery state of charge according to an embodiment of the present invention.

[0037] FIG4 is a flow chart of a method for calibrating a battery state of charge according to an embodiment of the present invention.

[0038] FIG5 is a flow chart of a method for calibrating the state of charge of a lithium iron phosphate battery according to an embodiment of the present invention.

[0039] FIG6 is a schematic diagram of a curve showing a change in state of charge of a calibrated lithium iron phosphate battery according to an embodiment of the present invention.

[0040] FIG. 7 is a schematic diagram of a curve showing a change in state of charge of a lithium iron phosphate battery before calibration according to an embodiment of the present invention.

[0041] FIG8 is a schematic diagram of a battery state of charge calibration device according to an embodiment of the present invention.

[0042] FIG9 is a schematic structural diagram of the electronic device of this embodiment. DETAILED DESCRIPTION

[0043] The following describes embodiments of the present invention in more detail with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the accompanying drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0044] During the charging process, the battery's maximum single-cell voltage, current, capacity and other charging parameters will change. Calculating the battery's state of charge (SOC) using these charging parameters will produce errors, causing the calculated state of charge to be different from the battery's actual state of charge.

[0045] Battery state of charge (SOC) calculations are typically performed based on the aforementioned charge parameters using methods such as ampere-hour integration and Kalman filtering. However, errors in the calculation process can cause the calculated SOC to differ from the actual SOC. For example, the calculated SOC may prematurely reach the full charge value (100%) before the charge cutoff voltage is reached. Alternatively, the calculated SOC may not reach the full charge value after the charge cutoff voltage is reached, and may still be far from 100%.

[0046] In this case, when the calculated SOC reaches 99%, the system waits until the highest cell voltage reaches the cutoff voltage. Alternatively, after the highest cell voltage reaches the cutoff voltage, the calculated SOC jumps directly to 100%. This method causes the displayed SOC value based on the calculated SOC to change unsmoothly, prone to freezing or jumping, seriously affecting the user experience.

[0047] In order to solve the problem in the related art that the state of charge calibration method during the battery charging process may cause the charge state to change unsmoothly or even freeze, the embodiments of the present invention provide a battery state of charge calibration method, device, electronic device, and storage medium.

[0048] Before the displayed SOC reaches the full charge value, a calibration cycle is selected. Based on a linearly increasing baseline state of charge, and according to the relationship between the baseline state of charge and the displayed state of charge, a predetermined adjustment speed is determined, and a calibration coefficient for the displayed state of charge is calculated. The displayed state of charge is calibrated, achieving a smooth increase in the displayed state of charge within the calibration cycle before reaching the full charge value, and effectively avoiding the occurrence of state of charge freezes.

[0049] FIG1 is a flow chart of a method for calibrating a battery state of charge according to an embodiment of the present invention. As shown in FIG1 , the method for calibrating a battery state of charge according to an embodiment of the present invention includes the following steps:

[0050] Step S101, determining a reference state of charge of the battery in the current adjustment cycle, wherein the reference state of charge increases linearly within a calibration period, and the calibration period is the time period from the adjustment cycle that satisfies the calibration condition before reaching the full charge value to the end of the adjustment cycle that reaches the full charge value;

[0051] Step S102, integrating the displayed state of charge of the previous adjustment cycle to determine the displayed state of charge of the current adjustment cycle;

[0052] Step S103, calculating a calibration coefficient for the displayed state of charge during the current adjustment period based on a relationship between the reference state of charge and the displayed state of charge during the current adjustment period, and a preset adjustment speed;

[0053] Step S104 , calibrating the displayed state of charge of the current adjustment period according to the calibration coefficient.

[0054] The battery state of charge calibration method provided in an embodiment of the present invention is based on a linearly increasing reference state of charge. According to the size relationship between the reference state of charge and the displayed state of charge, a predetermined adjustment speed is determined, a calibration coefficient for the displayed state of charge is calculated, and the displayed state of charge is calibrated. This achieves a smooth increase in the displayed state of charge within the calibration period before reaching the full charge value, and effectively avoids the occurrence of charge state freezes.

[0055] This embodiment provides a reference state of charge and a displayed state of charge. The displayed state of charge is the state of charge value used for direct display after calibration. The reference state of charge is the state of charge that increases linearly during the calibration period before the displayed state of charge reaches the full charge value. It serves as a benchmark for calibrating the displayed state of charge. The reference state of charge is the theoretical value that the displayed state of charge is expected to achieve. The reference state of charge increases linearly during the calibration period so that the reference state of charge reaches the full charge value just when the charging voltage reaches the cut-off voltage.

[0056] Before entering the calibration cycle, that is, in the early stage of charging, the actual calculated state of charge value is directly used to display the state of charge. Before entering the calibration cycle, there is no reference state of charge.

[0057] However, when charging is about to be completed and the calibration cycle begins, the actual calculated SOC fluctuates significantly, causing the charging process where the charging voltage approaches the cutoff voltage to be out of sync with the calculated SOC reaching the full-charge value. Therefore, the calculated SOC is calibrated based on a reference SOC that reaches the full-charge value exactly when the charging voltage reaches the cutoff voltage. This ensures that the displayed SOC after calibration also reaches the full-charge value exactly when the charging voltage reaches the cutoff voltage.

[0058] The displayed SOC is calculated based on the actual charge parameters of the reference battery and calibrated using the reference SOC. This results in smoother displayed SOC changes and minimizes prolonged lag.

[0059] The end point of the calibration cycle is when the displayed state of charge reaches the full charge value. The starting point of the calibration cycle can be set manually. Specifically, the calibration conditions can be set to determine whether to enter the calibration cycle.

[0060] Regarding calibration conditions, first ensure that the displayed SOC has not reached the full charge value. If the displayed SOC has reached the full charge value, there is no need for calibration. Then, ensure that the battery is in the charging process. During the charging process, the displayed SOC will gradually increase and change, and only then will calibration be necessary.

[0061] The final consideration is that the displayed SOC cannot be too low. If the SOC is too low, the calibration cycle will be long, which will put a lot of pressure on the calibration algorithm. However, in some cases where SOC accuracy is critical, the calibration cycle can also start when the displayed SOC is low. In some cases, calibration can even be performed from the beginning of the charging process.

[0062] The calibration cycle typically begins when the battery is about to reach full charge, but still has some headroom. For example, the calibration cycle can begin when the battery's SOC is between 75% and 90% of full charge. Considering the actual charging process, the battery's highest cell voltage at the start of the calibration cycle is also about to reach the cutoff voltage, but still has some distance to go. Therefore, the calibration cycle can also begin when the highest cell voltage has not yet reached the cutoff voltage, but still has some distance to go.

[0063] The above adjustment period may be a change period for displaying the state of charge. Since the state of charge is displayed to show the charging process, it theoretically needs to change constantly. However, in practice, the calculation of the state of charge also takes time. Therefore, there is a change period as the time interval for updating the displayed state of charge.

[0064] Theoretically, the displayed state of charge, the actual calculated state of charge, and the reference state of charge can all have separate change cycles. For example, the change cycle of the actual calculated state of charge can be less than or equal to the change cycle of the displayed state of charge, while the reference state of charge is a change curve whose change cycle can depend on the calculation cycle, or it can be less than or equal to the change cycle of the displayed state of charge to meet the change requirements of the displayed state of charge.

[0065] However, for ease of calculation, this embodiment uses an adjustment period as the unit to calculate the baseline SOC and calibrate the displayed SOC. For example, an adjustment period of 200ms means that the displayed SOC is calculated every 200ms. If the value changes, the displayed SOC needs to be updated; if the value remains unchanged, the displayed SOC does not need to be updated.

[0066] In this embodiment, taking a lithium iron phosphate battery as an example, based on the analysis of test data of lithium iron phosphate properties at different temperatures and currents, reaching 3.43V during charging indicates a high state of charge (SOC), meaning that charging is almost complete but still a short distance from reaching the cutoff voltage. This is the perfect time to enter the terminal correction phase, not only avoiding premature entry into the calibration cycle but also effectively calibrating the displayed SOC before the charging voltage reaches the cutoff voltage. Therefore, the condition for entering the calibration cycle can be selected as the maximum cell voltage reaching 3.43V.

[0067] In summary, the selection of the starting point of the calibration cycle, that is, the setting of the calibration conditions, can be set based on experience and can also be modified according to needs in different demand scenarios. The main purpose is to ensure that there is enough time within the calibration cycle to calibrate the displayed state of charge.

[0068] In theory, adjustments should be performed constantly during the calibration cycle. However, in practice, these adjustments are typically performed in multiple shorter time periods, each of which is referred to as an adjustment cycle. The adjustment cycle is the time period during which the displayed state of charge is calibrated within the calibration cycle, and can be in the millisecond range, for example, 100ms.

[0069] The aforementioned linear increase in the baseline SOC during the calibration period can mean that the baseline SOC increases linearly with time or with voltage changes during the calibration period. It should be noted that, considering that the change in SOC over time during the charging process is not necessarily linear, and that the battery's SOC is highly correlated with the maximum cell voltage, the aforementioned linear increase can be understood as the baseline SOC increasing linearly with changes in the maximum cell voltage during the calibration period.

[0070] In this embodiment, the reference state of charge is used as the basis for displaying the development and change of the state of charge to ensure that at the end of final charging, the displayed state of charge is equal to the full charge value, or is very close to the full charge value. At this time, even if the battery is fully charged, that is, the highest cell voltage reaches the cut-off voltage, the displayed state of charge has not reached the full charge value, and when it jumps to the full charge value, it will not cause unsmoothness or prolonged lag.

[0071] However, the baseline SOC changes unevenly over time, which results in the SOC display being based solely on the baseline SOC. This is because the maximum cell voltage during charging doesn't continuously increase or change; it can remain constant for a period of time. Consequently, the baseline SOC remains constant for the same period of time as the maximum cell voltage remains constant. Therefore, a display SOC is introduced, and the displayed SOC is corrected based on ampere-hour integration, making the displayed SOC change more smoothly.

[0072] Specifically, the displayed state of charge of the current adjustment cycle is first calculated based on the ampere-hour integral. The displayed state of charge calculated at this time, that is, the displayed state of charge calculated by the ampere-hour integral, is compared with the reference state of charge to determine the size relationship between the displayed state of charge and the reference state of charge, and then determine the trend that the displayed state of charge needs to approach.

[0073] If the displayed SOC is greater than the reference SOC, it means the displayed SOC is too high. Without correction, the full charge value will be reached before the highest cell voltage reaches the cutoff voltage. In this case, the rate of change of the displayed SOC needs to be reduced.

[0074] If the displayed SOC is lower than the reference SOC, it means the displayed SOC is too low. Without correction, the battery will not reach the full charge value even after the highest cell voltage reaches the cutoff voltage. In this case, the rate of change of the displayed SOC needs to be increased.

[0075] In the ampere-hour integration, the rate of change of the displayed state of charge is determined based on the current value and capacity. By adding a calibration coefficient to it, the rate of change of the displayed state of charge can be adjusted first, and the rate of change can be increased or decreased by the positive and negative signs.

[0076] In this embodiment, the rate of change of the state of charge, that is, the aforementioned adjustment speed, can be pre-set, usually before entering a calibration cycle, and can be set to a fixed value or a fixed ratio.

[0077] It can be set according to needs. The fixed value means that the adjustment speed is fixed, and the fixed ratio means that the adjustment speed will change according to the ratio.

[0078] The calibration factor is calculated based on the adjustment speed. This factor is then incorporated into the formula for calculating the ampere-hour integral of the displayed SOC. This adjusts the rate of change of the displayed SOC to obtain the calibrated displayed SOC. This calibrated displayed SOC not only accurately reaches the full charge value at the end of charging, but also changes more smoothly, avoiding prolonged freezes or large jumps.

[0079] FIG2 is a flow chart of a method for calibrating the battery state of charge according to an embodiment of the present invention. As shown in FIG2 , optionally, the method for calibrating the battery state of charge provided by the embodiment of the present invention may be used in step S101 provided in the above embodiment.

[0080] The above step S101, determining the reference state of charge of the battery in the current adjustment cycle, includes:

[0081] Step S201, when the current adjustment cycle is the first adjustment cycle of the calibration cycle, calculating a reference state of charge according to a charge parameter of the battery;

[0082] Step S202 : When the current adjustment cycle is not the first adjustment cycle, a reference state of charge of the current adjustment cycle is calculated according to the reference state of charge of the previous adjustment cycle.

[0083] The battery state of charge calibration method provided by the embodiment of the present invention determines the reference state of charge for subsequent adjustment periods based on the reference state of charge calculated in the first adjustment period of the calibration period, so that the reference state of charge can increase evenly.

[0084] It should be noted that the starting point of the calibration cycle can be determined based on the judgment criteria. The adjustment cycle starting from the starting point is the first adjustment cycle, and the adjustment cycles after the first adjustment cycle are non-first adjustment cycles. Adjustment cycles are not limited to the calibration cycle; they exist throughout the entire battery charging process. Therefore, the first adjustment cycle of the calibration cycle also has a previous adjustment cycle, which is the last adjustment cycle before entering the calibration cycle.

[0085] After entering the calibration cycle, the reference state of charge is automatically calculated based on the battery's charge parameters, so that the reference state of charge of the first adjustment cycle is the calculated reference state of charge. After that, the reference state of charge of the current cycle is calculated based on the reference state of charge of the previous adjustment cycle.

[0086] In subsequent non-first adjustment cycles, the reference SOC for the current adjustment cycle is calculated based on whether the highest cell voltage changes and the reference SOC of the previous adjustment cycle. The actual SOC of the battery, as reflected by the cell voltage, is linked to the reference SOC to prevent the reference SOC from deviating from the actual SOC, causing the reference SOC to increase too quickly and affecting the accuracy of the displayed SOC.

[0087] Since the reference SOC changes linearly with the highest cell voltage, in the first adjustment cycle of the calibration cycle, the SOC calculated based on the charge parameters is used as the reference SOC. The reference SOC for subsequent adjustment cycles can be calculated using the SOC from the previous adjustment cycle and the reference charge change rate.

[0088] As an optional implementation, the reference state of charge of the current adjustment cycle is calculated based on the reference state of charge of the previous adjustment cycle, including: when the highest cell voltage of the battery in the current adjustment cycle is not greater than the highest cell voltage of the previous adjustment cycle, using the reference state of charge of the previous adjustment cycle as the reference state of charge of the current adjustment cycle; when the highest cell voltage of the battery in the current adjustment cycle is greater than the highest cell voltage of the previous adjustment cycle, based on the reference state of charge of the previous adjustment cycle, calculating the reference state of charge of the current adjustment cycle according to the voltage growth value and the reference charge change rate, wherein the reference charge change amount is determined according to the voltage growth value and the reference charge change rate, and the reference charge change rate is the ratio of the voltage growth value within the adjustment cycle to the change value of the reference state of charge.

[0089] The reference SOC is maintained based on whether the highest cell voltage increases, or the reference SOC for the current cycle is calculated based on the voltage increase and the reference SOC rate of change. The reference SOC rate of change ensures that the reference SOC increases linearly over the calibration cycle.

[0090] When calculating the reference charge change rate, the reference state of charge and the highest cell voltage at the start of the calibration cycle are determined. At the end of the calibration cycle, the reference state of charge becomes the full charge value and the highest cell voltage becomes the cutoff voltage. In this way, the slope of the curve of the reference state of charge change during the calibration cycle can be calculated, which is the aforementioned reference charge change rate.

[0091] As an optional embodiment, before calculating the baseline state of charge of the current adjustment cycle based on the baseline state of charge and the baseline charge change of the previous adjustment cycle, the method also includes: calculating the baseline charge change rate based on the baseline state of charge and the highest single cell voltage, as well as the full charge value and the cut-off voltage of the first adjustment cycle, wherein the full charge value is the maximum value of the baseline state of charge.

[0092] The reference charge change rate per unit voltage is calculated based on the difference between the reference state of charge and the full charge value in the first adjustment cycle of the calibration cycle, as well as the difference between the highest cell voltage and the cutoff voltage. This allows the reference state of charge to increase at an appropriate rate, improving the accuracy of the reference state of charge and displayed state of charge, and avoiding errors in the displayed state of charge caused by the reference state of charge increasing too quickly or too slowly, which will gradually accumulate.

[0093] It should be noted that the calculated state of charge, displayed state of charge, and full charge value of the reference state of charge are all maximum values, usually 100%.

[0094] For example, the calculated SOC of the current adjustment cycle is the reference state of charge LocalSOC, and the highest cell voltage of the current adjustment cycle is recorded as LocalVolt. Then, when the voltage reaches the cut-off voltage of 3600mV, the reference charge change rate per mV SOC is AddSOC = (100% - LocalSOC) / (3600 - LocalVolt).

[0095] As an optional implementation, when the current adjustment cycle is the first adjustment cycle of the calibration cycle, before calculating the reference state of charge based on the battery's charge parameters, the method also includes: when the battery is in a charging state and the battery's displayed state of charge has not reached the full charge value, determining whether the battery meets the calibration conditions.

[0096] If the battery is in the charging state and the displayed state of charge has not reached the full charge value, it indicates that the battery is in the charging process and there is room for calibration. Only then can the displayed state of charge be calibrated. Based on the preset calibration conditions, it is determined whether to enter the calibration cycle and start calibration.

[0097] As an optional implementation, the calibration condition is whether the highest cell voltage of the battery reaches a preset voltage value, wherein the preset voltage value is less than the cut-off voltage for battery charging completion.

[0098] When the highest cell voltage reaches a preset voltage value before the cut-off voltage, it indicates that there is room for the state of charge to increase and calibration can be performed.

[0099] FIG3 is a flow chart of a battery state of charge calibration method according to an embodiment of the present invention. As shown in FIG3 , the battery state of charge calibration method according to an embodiment of the present invention can optionally be used in step S102 provided in the above embodiment. Step S102, which integrates the displayed state of charge of the previous adjustment cycle by ampere-hours to determine the displayed state of charge of the current adjustment cycle, includes:

[0100] Step S301, calculating and displaying the charge change rate based on the battery current value and the battery capacity;

[0101] Step S302, calculating the displayed charge change amount according to the displayed charge change rate and the adjustment period;

[0102] Step S303 : calculating the displayed state of charge of the current adjustment cycle based on the displayed state of charge and the displayed charge change of the previous adjustment cycle.

[0103] The battery state-of-charge calibration method provided in the embodiment of the present invention calculates the displayed state-of-charge for the current adjustment cycle based on the ampere-hour integration, the battery current value, the battery capacity, and the adjustment cycle, based on the previous adjustment cycle. This method can calculate the displayed state-of-charge for the current adjustment cycle based on the ampere-hour integration.

[0104] For example, the displayed SOC = SOC1-(Curr / Cap / 36000)*100, where SOC1 is the displayed SOC of the previous adjustment cycle, Curr is the current value in A, charging is negative and discharging is positive, Cap is the capacity, and the scheduling period is 100ms; for example, SOC1 is 90%, and this time it changes by 1%, that is, (Curr / Cap / 36000)*100=1%, ​​then the displayed SOC is 90%-1%=89%.

[0105] In the above formula, (Curr / Cap / 36000) is the displayed charge change rate. Since the unit of capacity is ampere-hour (Ah) and the unit of adjustment period is milliseconds (ms), 36000 is the dimensionally consistent conversion value. (Curr / Cap / 36000)*100 is the displayed charge change.

[0106] As an optional implementation, the above-mentioned step S103 calculates the calibration coefficient of the displayed state of charge in the current adjustment cycle based on the size relationship between the reference state of charge and the displayed state of charge in the current adjustment cycle, and a preset adjustment speed, including: when the displayed state of charge is less than the reference state of charge, obtaining a first adjustment speed of the adjustment speed, wherein the first adjustment speed is higher than the displayed charge change rate; when the displayed state of charge is equal to the reference state of charge, determining a second adjustment speed of the adjustment speed, wherein the second adjustment speed is equal to the displayed charge change rate; when the displayed state of charge is greater than the reference state of charge, determining the adjustment speed to be a third adjustment speed, wherein the third adjustment speed is lower than the displayed charge change rate; and calculating the calibration coefficient based on the obtained adjustment speed and the displayed charge change rate.

[0107] According to the different size relationships between the displayed state of charge and the reference state of charge, different adjustment speeds are selected to make the change of the displayed state of charge approach the reference state of charge, so that when the highest cell voltage reaches the cut-off voltage, the displayed state of charge reaches the full charge value, and the change of the displayed state of charge can be made smoother.

[0108] When the displayed state of charge is less than the reference state of charge, it indicates that the displayed state of charge needs to be increased as quickly as possible to approach the reference state of charge change trend, and the displayed charge change rate needs to be increased, that is, a first adjustment speed higher than the determined displayed charge change rate is required to adjust the displayed state of charge.

[0109] When the displayed state of charge is equal to the reference state of charge, it means that the change trend of the displayed state of charge needs to be consistent with the change trend of the reference state of charge, and the displayed charge change rate needs to be maintained, that is, a second adjustment speed equal to the displayed charge change rate is needed to adjust the displayed state of charge.

[0110] When the displayed state of charge is greater than the reference state of charge, it indicates that the displayed state of charge needs to be lowered as quickly as possible to approach the reference state of charge change trend, and the displayed charge change rate needs to be lowered, that is, a third adjustment speed lower than the determined displayed charge change rate is needed to adjust the displayed state of charge.

[0111] The increased first adjustment speed and the decreased third adjustment speed may both be preset, and may be fixed values ​​or fixed ratios set before entering the calibration cycle.

[0112] When a fixed value is set, the calculation of the calibration coefficient needs to be determined based on the ratio of the fixed value to the displayed charge change in the ampere-hour integral. The value of the displayed charge change can be determined based on the length of the adjustment cycle and the displayed charge change rate.

[0113] For example, if the adjustment period is 100 ms and the first adjustment speed is a fixed value of 0.2% / s, that is, 0.02% / 100 ms, then the calibration coefficient Coe = (curr / cap / 36000)*100 ms / 0.02% / 100 ms = 7.2*Cap / Curr. Considering that the charging current is negative, the calibration coefficient Coe = 7.2*Cap / |Curr|.

[0114] The calibration coefficient is calculated based on the adjustment speed and the displayed charge change rate. The ratio of the adjustment speed, which is a fixed value, to the displayed charge change rate can be used as the calibration coefficient.

[0115] When a fixed ratio is set, the fixed ratio can be directly used as the value of the calibration coefficient. For example, if the adjustment period is 100ms and the third adjustment speed is a fixed ratio of 0.5, the calibration coefficient Coe = 0.5, indicating that the rate of change of the state of charge is halved.

[0116] The calibration coefficient is calculated based on the adjustment speed and the displayed charge change rate, and the adjustment speed with a fixed ratio can be directly used as the calibration coefficient.

[0117] FIG4 is a flow chart of a battery state of charge calibration method according to an embodiment of the present invention. As shown in FIG4 , the battery state of charge calibration method provided by the embodiment of the present invention can optionally be used in step S104 provided in the above embodiment. Step S104 calibrates the displayed state of charge of the current adjustment cycle according to the calibration coefficient, including:

[0118] Step S401, adjusting the speed corresponding to the calibration coefficient as the displayed charge change rate after calibration;

[0119] Step S402, calculating the calibrated displayed charge change amount according to the adjustment period and the calibrated displayed charge change rate;

[0120] Step S403 : obtaining the calibrated displayed state of charge of the current adjustment cycle based on the displayed state of charge of the previous adjustment cycle and the calibrated displayed charge change.

[0121] The battery state of charge calibration method provided in the embodiment of the present invention calculates a calibration coefficient based on the displayed charge change rate and adjustment speed during the ampere-hour integral calculation, and then brings the calibration coefficient into the ampere-hour integral to achieve calibration of the displayed state of charge.

[0122] Substitute the calibration factor into the ampere-hour integral formula: calibrated displayed SOC = SOC1 - (Curr / Cap / 36000) * 100 * Coe. This gives the calibrated displayed state of charge.

[0123] As an optional implementation, after calibrating the displayed state of charge of the current adjustment cycle according to the calibration coefficient, the method further includes: determining that the battery exits the charging state when it is detected that the highest single cell voltage of the battery reaches the cutoff voltage, or when it is detected that the battery has a discharge current; and calculating the state of charge according to the charge parameters of the battery when the battery exits the charging state.

[0124] When the highest cell voltage reaches the cut-off voltage or the battery has a discharge current, it means that the battery charging is completed. In the non-charging state, the charge state is calculated based on the battery charge parameters.

[0125] It should be noted that the voltage detection device can be used to detect whether the highest single cell voltage of the battery has reached the cut-off voltage, or the current detection device can be used to detect that the battery has a discharge current, and then the detection results of the voltage detection device or the current detection device are received, and it is determined whether to exit the charging state based on the detection results.

[0126] Figure 5 is a flow chart of a method for calibrating the state of charge of a lithium iron phosphate battery according to an embodiment of the present invention. As shown in Figure 5 , the battery's state of charge is continuously calculated during charging. Whether to enter a calibration cycle is determined by determining whether a charging current is present, the highest cell voltage is greater than 3.43V, and the SOC is less than 100%.

[0127] Based on the properties of lithium iron phosphate and the analysis of test data at different temperatures and currents, reaching 3.43V during the charging process is a voltage platform with a high SOC value, but there is still a short distance from reaching the cut-off voltage. This is the perfect time to enter the terminal correction.

[0128] After entering the calibration cycle, the calculated SOC for the current adjustment cycle is recorded as the baseline state of charge (LocalSOC), and the highest cell voltage for the current adjustment cycle is recorded as LocalVolt. When the voltage reaches the cutoff voltage of 3600mV, the baseline state of charge change rate per mV is AddSOC = (100% - LocalSOC) / (3600 - LocalVolt).

[0129] The meaning of the reference charge change rate AddSOC is the increase in the reference charge state for every 1mV increase in voltage from the reference charge state at the beginning of the calibration cycle to the full charge value of 100%. In subsequent adjustment cycles, the reference charge state represented by each voltage can be calculated through the voltage increase change.

[0130] Displays the state of charge and integrates ampere-hours, as follows:

[0131] Displayed state of charge SOC = SOC1-(Curr / Cap / 36000)*100*Coe, where SOC1 is the displayed state of charge in the previous adjustment cycle, Curr is the current value in A, charging is negative and discharging is positive, Cap is the capacity, the program scheduling cycle is 100ms, and Coe is the dynamic calibration coefficient; for example, if SOC1 is 90% and it changes by 1% at this time, then the SOC is 90%-1%=89%.

[0132] When the displayed state of charge (SOC) is less than the reference state of charge (LocalSOC), the calibration coefficient Coe = 7.2*Cap / |Curr|, allowing the displayed state of charge (SOC) to catch up with the LocalSOC at a rate of 0.2% / s. In the program, the task scheduling period is 100ms. When the calibration coefficient Coe = 7.2*Cap / |Curr| and the current is negative, substituting it into the calculation formula SOC = SOC1 - (curr / cap / 36000)*100*coe yields SOC = SOC1 + 0.02%, meaning the displayed state of charge (SOC) rises by 0.02% in 0.1s, or a 0.2% increase in 1s.

[0133] When the displayed state of charge SOC is greater than the reference state of charge LocalSOC, the calibration coefficient Coe = 0.5, which means the rate of displaying the state of charge SOC is halved; when the calibration coefficient Coe = 0.5 and the current is negative, substituting it into the calculation formula SOC = SOC1-(curr / cap / 36000)*100*coe, we can get SOC = SOC1+1 / 2*(curr / cap / 36000)*100, which means the rate of decrease of the displayed state of charge SOC is halved.

[0134] When the displayed state of charge SOC is equal to the reference state of charge LocalSOC, and in other cases, the calibration coefficient Coe=1.

[0135] After the highest cell voltage reaches the cut-off voltage, the displayed state of charge is set to 100%.

[0136] It should be noted that the display of the state of charge SOC is set to 100% after reaching the cut-off voltage during the normal ampere-hour integration period. This is only written as a full-charge calibration, but the purpose is to make the displayed state of charge SOC reach 100% evenly and linearly, rather than jumping directly from 95% or even lower to 100%. Therefore, the reference state of charge LocalSOC will be updated according to the voltage during this period.

[0137] The base state of charge (Local SOC) can reach 100% relatively linearly, but its curve is initially slow and then rapidly increases, making it unsightly. Therefore, using ampere-hour integration to linearly approximate the displayed state of charge (SOC) to the base state of charge (Local SOC) yields a more aesthetically pleasing and uniform curve.

[0138] Finally, it is also possible to determine whether the current highest cell voltage is greater than the previous highest cell voltage LocalVolt. If so, the reference state of charge LocalSOC = LocalSOC' + AddSOC * (current highest cell voltage - LocalVolt), and LocalVolt = current highest cell voltage, where LocalSOC' is the reference state of charge in the previous adjustment cycle.

[0139] Determine whether the battery has reached the cutoff voltage or is discharging. If so, charging is terminated. Normal SOC calculations are then performed. It should be noted that determining whether the cutoff voltage or discharge current has been reached is part of the end-of-charge calibration strategy and is only used when the battery is nearly fully charged. Charging is complete when the cutoff voltage is reached, and discharging current indicates that the battery is no longer in the charging state, and the process is terminated.

[0140] Figure 6 is a schematic diagram of a state-of-charge curve for a lithium iron phosphate battery after calibration according to an embodiment of the present invention, and Figure 7 is a schematic diagram of a state-of-charge curve for a lithium iron phosphate battery before calibration according to an embodiment of the present invention. As shown in Figures 6 and 7, the state-of-charge curve after calibration in Figure 6 is smoother and less prone to lag than the state-of-charge curve before calibration in Figure 7.

[0141] In this embodiment, after entering terminal correction, two SOC variables are introduced. One is the baseline SOC (Local SOC), which is calculated by linear interpolation based on the current voltage change, with the value reaching 100% exactly when the cutoff voltage is reached. The second is the displayed SOC (SOC), which is based on the ampere-hour integral and a dynamic adjustment coefficient. If only the baseline SOC (Local SOC) is viewed, although it is exactly 100% when the cutoff voltage is reached, the variation is uneven, resulting in an unsightly curve. By introducing the ampere-hour integral and adjusting the dynamic coefficient based on the baseline SOC, the variation of the displayed SOC is smoother.

[0142] Figure 8 is a schematic diagram of a battery state of charge calibration device according to an embodiment of the present invention. As shown in Figure 8, a battery state of charge calibration device provided by an embodiment of the present invention includes: a reference determination module 81, a determination display module 82, a coefficient determination module 83, and a calibration module 84. The device is described in detail below.

[0143] A reference determination module 81 is used to determine the reference state of charge of the battery in the current adjustment cycle, wherein the reference state of charge increases linearly within a calibration cycle, and the calibration cycle is a time period from the start of an adjustment cycle that meets the calibration conditions before reaching the full charge value to the end of reaching the full charge value; a display determination module 82 is connected to the above-mentioned reference determination module 81, and is used to perform ampere-hour integration based on the displayed state of charge of the previous adjustment cycle to determine the displayed state of charge of the current adjustment cycle; a coefficient determination module 83 is connected to the above-mentioned display determination module 82, and is used to calculate the calibration coefficient of the displayed state of charge of the current adjustment cycle based on the size relationship between the reference state of charge and the displayed state of charge of the current adjustment cycle, and a preset adjustment speed; a calibration module 84 is connected to the above-mentioned coefficient determination module 83, and is used to calibrate the displayed state of charge of the current adjustment cycle based on the calibration coefficient.

[0144] The battery state of charge calibration device provided in an embodiment of the present invention is based on a linearly increasing reference state of charge. According to the size relationship between the reference state of charge and the displayed state of charge, a predetermined adjustment speed is determined, a calibration coefficient of the displayed state of charge is calculated, and the displayed state of charge is calibrated. This achieves a smooth and fluent increase in the displayed state of charge within the calibration period before reaching the full charge value, and effectively avoids the occurrence of charge state freezes.

[0145] An embodiment of the present invention further provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, wherein the computer program, when executed by the at least one processor, causes the electronic device to perform the method of an embodiment of the present invention.

[0146] An embodiment of the present invention further provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform the method of the embodiment of the present invention.

[0147] An embodiment of the present invention further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is used to enable the computer to perform the method of the embodiment of the present invention.

[0148] With reference to Figure 9, the structural block diagram of the electronic device that can be used as the server or client of an embodiment of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0149] As shown in Figure 9, the electronic device includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In RAM 903, various programs and data required for the operation of the electronic device can also be stored. The computing unit 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0150] Multiple components within the electronic device are connected to the I / O interface 905, including an input unit 906, an output unit 907, a storage unit 908, and a communication unit 909. The input unit 906 can be any type of device capable of inputting information into the electronic device. The input unit 906 can receive input numeric or character information and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 907 can be any type of device capable of presenting information and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 908 may include, but is not limited to, a magnetic disk or an optical disk. The communication unit 909 allows the electronic device to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0151] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present invention may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 902 and / or a communication unit 909. In some embodiments, the computing unit 901 may be configured to perform the above-described method in any other appropriate manner (e.g., by means of firmware).

[0152] The computer programs for implementing the methods of the embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0153] In the context of an embodiment of the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0154] It should be noted that the term "including" and its variations used in the embodiments of the present invention are open-ended, i.e., "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; and the term "some embodiments" means "at least some embodiments." The modifications of "one" and "a plurality of" mentioned in the embodiments of the present invention are illustrative and non-restrictive. Those skilled in the art should understand that, unless the context clearly indicates otherwise, they should be understood as "one or more."

[0155] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0156] The various steps described in the method implementation scheme provided in the embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method implementation scheme may include additional steps and / or omit the steps shown. The scope of protection of the present invention is not limited in this respect.

[0157] The term "embodiment" in this specification refers to specific features, structures, or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments are referenced to each other. In particular, for the embodiments of the device, equipment, and system, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts are referred to the partial description of the method embodiment.

[0158] The above-described embodiments merely illustrate several implementations of the present invention. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of the present invention. Therefore, the scope of the present invention shall be determined by the appended claims.

Claims

1. A method for calibrating a battery state of charge, characterized in that: include: Determine a reference state of charge of the battery in the current adjustment cycle, wherein the reference state of charge increases linearly within a calibration cycle, and the calibration cycle is a time period starting from an adjustment cycle that satisfies a calibration condition before reaching a full charge value and ending when the full charge value is reached; The displayed state of charge of the previous adjustment cycle is integrated by ampere-hour to determine the displayed state of charge of the current adjustment cycle; Calculating a calibration coefficient of the displayed state of charge in the current adjustment period according to a magnitude relationship between the reference state of charge and the displayed state of charge in the current adjustment period, and a preset adjustment speed; The displayed state of charge of the current adjustment cycle is calibrated according to the calibration coefficient.

2. The method according to claim 1, characterized in that Determine the baseline state of charge of the battery for the current conditioning cycle, including: When the current adjustment cycle is the first adjustment cycle of the calibration cycle, calculating the reference state of charge according to the charge parameter of the battery; When the current adjustment cycle is not the first adjustment cycle, the reference state of charge of the current adjustment cycle is calculated according to the reference state of charge of the previous adjustment cycle.

3. The method according to claim 2, characterized in that The reference state of charge of the current adjustment cycle is calculated according to the reference state of charge of the previous adjustment cycle, including: When the highest cell voltage of the current adjustment cycle of the battery is not greater than the highest cell voltage of the previous adjustment cycle, the reference state of charge of the previous adjustment cycle is used as the reference state of charge of the current adjustment cycle; When the highest single cell voltage of the current adjustment cycle of the battery is greater than the highest single cell voltage of the previous adjustment cycle, the reference state of charge of the current adjustment cycle is calculated based on the reference state of charge and the reference charge change of the previous adjustment cycle, wherein the reference charge change is determined based on the voltage increase value and the reference charge change rate, and the reference charge change rate is the ratio of the voltage increase value within the adjustment cycle to the change value of the reference state of charge.

4. The method according to claim 3, characterized in that Before calculating the reference state of charge of the current adjustment cycle according to the reference state of charge and the reference charge change of the previous adjustment cycle, the method further includes: The reference charge change rate is calculated according to the reference charge state and the highest cell voltage, the full charge value and the cut-off voltage of the first adjustment cycle, wherein the full charge value is the maximum value of the reference charge state.

5. The method according to claim 2, characterized in that: In the case where the current adjustment cycle is the first adjustment cycle of the calibration cycle, before calculating the reference state of charge according to the charge parameter of the battery, the method further includes: When the battery is in a charging state and the displayed state of charge of the battery has not reached a full charge value, it is determined whether the battery meets the calibration condition.

6. The method according to claim 5, characterized in that The calibration condition is whether the highest cell voltage of the battery reaches a preset voltage value, wherein the preset voltage value is less than a cut-off voltage for battery charging to be completed.

7. The method according to claim 1, characterized in that The displayed state of charge of the previous adjustment cycle is integrated by ampere-hours to determine the displayed state of charge of the current adjustment cycle, including: Calculate and display the charge change rate based on the battery current and battery capacity; Calculating a displayed charge change amount according to the displayed charge change rate and the adjustment period; The displayed state of charge of the current adjustment cycle is calculated based on the displayed state of charge of the previous adjustment cycle and the displayed charge change.

8. The method according to claim 7, characterized in that Calculating a calibration coefficient of the displayed state of charge in the current adjustment period according to a magnitude relationship between the reference state of charge and the displayed state of charge in the current adjustment period, and a preset adjustment speed, includes: When the displayed state of charge is less than the reference state of charge, acquiring a first adjustment speed of the adjustment speed, wherein the first adjustment speed is higher than the displayed charge change rate; When the displayed state of charge is equal to the reference state of charge, acquiring a second adjustment speed of the adjustment speed, wherein the second adjustment speed is equal to the displayed charge change rate; When the displayed state of charge is greater than the reference state of charge, obtaining a third adjustment speed of the adjustment speed, wherein the third adjustment speed is lower than the displayed charge change rate; The calibration coefficient is calculated according to the acquired adjustment speed and the displayed charge change rate.

9. The method according to claim 1, characterized in that: Calibrating the displayed state of charge of the current adjustment cycle according to the calibration coefficient includes: The adjustment speed corresponding to the calibration coefficient is used as the displayed charge change rate after calibration; Calculating a calibrated display charge change amount according to the adjustment period and the calibrated display charge change rate; Based on the displayed state of charge of the previous adjustment cycle and the displayed charge change after calibration, the displayed state of charge after calibration of the current adjustment cycle is obtained.

10. The method according to any one of claims 1 to 9, characterized in that After calibrating the displayed state of charge of the current adjustment cycle according to the calibration coefficient, the method further includes: When it is detected that the highest cell voltage of the battery reaches a cut-off voltage, or when it is detected that the battery has a discharge current, determining that the battery exits a charging state; When the battery exits the charging state, the state of charge is calculated according to the charge parameters of the battery.

11. A battery state of charge calibration device, characterized in that: include: A reference determination module, used to determine a reference state of charge of the battery in the current adjustment cycle, wherein the reference state of charge increases linearly within a calibration cycle, and the calibration cycle is a time period starting from an adjustment cycle that satisfies a calibration condition before reaching a full charge value to the end of reaching the full charge value; A determination display module is used to perform ampere-hour integration based on the displayed state of charge of the previous adjustment cycle to determine the displayed state of charge of the current adjustment cycle; A coefficient determination module, configured to calculate a calibration coefficient of the displayed state of charge of the current adjustment period according to a magnitude relationship between the reference state of charge and the displayed state of charge of the current adjustment period, and a preset adjustment speed; The calibration module is used to calibrate the displayed state of charge of the current adjustment period according to the calibration coefficient.

12. An electronic device comprising: A processor, and a memory storing a program, wherein the program comprises instructions, which, when executed by the processor, cause the processor to perform the battery state of charge calibration method according to any one of claims 1 to 10.

13. A non-transitory machine-readable medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the battery state of charge calibration method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Battery SOC dynamic calibration method and device and electronic equipment

    CN109507595A

  • Method and device for estimating state of charge of battery and computer readable storage medium

    CN109613432A

  • Method for smoothly correcting charging SOC of lithium battery

    CN110488196A

  • Lithium iron phosphate SOC terminal correction method

    CN110794306A

  • Method and device for correcting state of charge (SOC) of battery system

    CN112834928A