Method and device for updating battery full charge capacity, electronic equipment and storage medium

By calculating the full charge capacity of the battery using open-circuit voltage and temperature compensation algorithms under conditions of incomplete charging and discharging, the problems of long time consumption and battery damage in the prior art are solved, and efficient and accurate battery capacity updates are achieved.

CN116587925BActive Publication Date: 2026-06-19ZHEJIANG SUNWODA ELECTRONIC CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG SUNWODA ELECTRONIC CO LTD
Filing Date
2023-05-10
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

In the prior art, the process of updating the full charge capacity of a battery is time-consuming and may increase battery damage. It is difficult to accurately calculate and update the full charge capacity of a battery when it is not fully charged.

Method used

By obtaining the battery's open-circuit voltage before and after charging and discharging, the remaining battery capacity is calculated using the remaining capacity-open-circuit voltage relationship curve. Combined with temperature and current compensation algorithms, the battery's full-charge capacity is calculated without the need for complete charging and discharging.

Benefits of technology

It reduces the cost and time of updating the battery's full charge capacity, improves update efficiency, reduces battery wear, and improves calculation accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116587925B_ABST
    Figure CN116587925B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, electronic device, and storage medium for updating the full charge capacity of a battery. The method includes: obtaining a first open-circuit voltage of the battery before charging and discharging, and obtaining a first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage; obtaining a second open-circuit voltage of the battery after charging and discharging to a target state, and obtaining a second remaining charge of the battery in the target state based on the remaining charge-open-circuit voltage relationship curve and the second open-circuit voltage; obtaining the battery's previously updated full charge capacity; and obtaining the current updated full charge capacity based on the previously updated full charge capacity, the first remaining charge, and the second remaining charge. This method eliminates the need to fully charge and then fully discharge the battery, thereby reducing the cost of updating the full charge capacity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of batteries, and specifically to a method, apparatus, electronic device, and storage medium for updating the full charge capacity of a battery. Background Technology

[0002] Currently, power batteries are widely used in electric cars, electric motorcycles, electric bicycles, solar energy, mobile communication terminals, and energy storage products. With the increasing popularity of power batteries, fast charging has become a goal that people are constantly pursuing.

[0003] Recently, rechargeable batteries have been widely used as an energy source for mobile devices, auxiliary power units, electric vehicles (EVs), hybrid electric vehicles (HEVs), plug-in hybrid electric vehicles (PHEVs), or similar electronic devices. Rechargeable batteries replenish lost electrical energy through charging, and when a battery is fully charged determines when it stops receiving charging power. Therefore, determining the correct full charge capacity (FCC) information for a battery is crucial.

[0004] However, the FCC information for rechargeable batteries can easily change with battery aging and current operating temperature. Battery aging refers to the battery being repeatedly charged (i.e., cycle count) hundreds of times or more. Current operating temperature refers to the temperature of the battery under actual operating conditions. Existing FCC updates for batteries typically involve fully charging and then fully discharging the battery, a process that is not only time-consuming but may also increase the number of recharge cycles, potentially damaging the battery. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and storage medium for updating the full charge capacity of a battery. The calculation and updating of the full charge capacity eliminates the need to fully charge the battery and then fully discharge it, thereby reducing the cost of updating the full charge capacity and improving the efficiency. The specific solution is as follows:

[0006] In a first aspect, a method for updating the full charge capacity of a battery is provided, the method comprising:

[0007] Obtain the first open-circuit voltage of the battery before charging and discharging, and obtain the first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage;

[0008] Obtain the second open-circuit voltage of the battery after charging and discharging to the target state, and obtain the second remaining capacity of the battery in the target state based on the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage;

[0009] Obtain the battery's last updated full charge capacity;

[0010] The updated full charge capacity is obtained based on the battery's previous updated full charge capacity, the first remaining charge, and the second remaining charge.

[0011] Furthermore, the target state includes the charge / discharge state of the battery in the non-flat region.

[0012] Furthermore, obtaining the first open-circuit voltage of the battery before charging and discharging includes:

[0013] Obtain the first current voltage of the battery before charging and discharging;

[0014] Determine whether the first current voltage of the battery before charging and discharging is within a first preset range. If the first current voltage is within the first preset range, then perform a first compensation algorithm on the first current voltage to obtain the first open-circuit voltage at room temperature.

[0015] Furthermore, obtaining the second open-circuit voltage of the battery before charging and discharging includes:

[0016] Obtain the second current voltage of the battery after charging and discharging;

[0017] Determine whether the second current voltage of the battery after charging and discharging is within a second preset range. If the second current voltage is within the second preset range, then perform a first compensation algorithm on the second current voltage to obtain the second open-circuit voltage at room temperature.

[0018] Furthermore, the first compensation algorithm includes:

[0019] V0 = V t +(T-25) / (T H -T L )×(V L -V H );

[0020] Where V0 is the compensated open-circuit voltage; T H Greater than T L T represents the current temperature; V represents the current temperature. H The battery is at a temperature of T. H The corresponding battery voltage at that time; V L The battery is at a temperature of T. L The corresponding battery voltage at that time; V t This is the current voltage of the battery at the current temperature.

[0021] Further, the step of obtaining the updated full charge capacity based on the battery's previous updated full charge capacity, the first remaining charge, and the second remaining charge includes:

[0022] The capacity difference corresponding to this charge and discharge is obtained by using the first remaining power and the second remaining power, and the capacity difference is used to obtain the first capacity corresponding to this charge and discharge at room temperature according to the second compensation algorithm.

[0023] Obtain the full charge capacity of the battery at room temperature;

[0024] The second capacity, excluding the current charge / discharge capacity, is obtained based on the previously updated full charge capacity, the first remaining capacity, the second remaining capacity, and the full charge capacity of the battery at room temperature; the sum of the first capacity and the second capacity is taken as the current updated full charge capacity.

[0025] Furthermore, the step of obtaining the second capacity other than the current charge / discharge capacity based on the previously updated full-charge capacity, the first remaining capacity, the second remaining capacity, and the full-charge capacity of the battery at room temperature includes:

[0026] F2 = F3 × (SOC) CV -|SOC1-SOC2|)×(I' / 1000)×)T' / 1000);

[0027] F2 represents the second capacity, F3 represents the previously updated full-charge capacity, and SOC... CV SOC1 represents the full charge capacity of the battery at room temperature, SOC2 represents the first remaining capacity, SOC2 represents the second remaining capacity, I' represents the current compensation factor, and T' represents the temperature compensation factor.

[0028] Furthermore, the second compensation algorithm includes:

[0029] F1 = F t +(T-25) / (T H -T L )×(F L -F H );

[0030] Where F1 is the first capacity after compensation; T H Greater than T L T represents the current temperature; F represents the temperature at which the temperature is located. H The battery is at a temperature of T. H The battery capacity measured at that time; F L The battery is at a temperature of T. L The corresponding battery capacity at that time; F t It is the absolute value of the capacity difference between the first remaining power and the second remaining power.

[0031] Secondly, an apparatus for updating the full charge capacity of a battery is provided, the apparatus comprising:

[0032] The first acquisition module is used to acquire the first open-circuit voltage of the battery before charging and discharging, and to obtain the first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage.

[0033] The second acquisition module is used to acquire the second open-circuit voltage of the battery after it has been charged and discharged to the target state, and to obtain the second remaining capacity of the battery in the target state based on the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage.

[0034] The third acquisition module is used to acquire the battery's previously updated full charge capacity;

[0035] The update module is used to obtain the updated full charge capacity based on the battery's previous updated full charge capacity, the first remaining charge, and the second remaining charge.

[0036] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for updating the full charge capacity of a battery as described above.

[0037] Fourthly, a storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for updating the full charge capacity of a battery as described above.

[0038] In this application, the battery state before measuring the first open-circuit voltage can be any state of the battery, that is, it can be a fully charged state, a state where the battery has partially consumed its charge, or a state where the battery is nearly depleted. After determining the first open-circuit voltage, the first remaining charge of the battery before charging and discharging is obtained based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage. The target state of the battery after measuring the second open-circuit voltage can be any state of the battery, that is, it can be a fully charged state, a state where the battery has partially consumed its charge, or a state where the battery is nearly depleted. When the battery is nearly depleted, after determining the second open-circuit voltage, the second remaining battery capacity in the target state is obtained based on the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage. The battery's previous updated full-charge capacity is obtained before the current charge and discharge cycle. The updated full-charge capacity is obtained based on the battery's previous updated full-charge capacity, the first remaining capacity, and the second remaining capacity. In this application, the calculation and updating of the battery's full-charge capacity does not require fully charging the battery and then fully discharging it, thus reducing battery loss, lowering the time cost of updating the battery's full-charge capacity, and improving the updating efficiency. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a flowchart of the method for updating the full charge capacity of a battery in Embodiment 1 of this application;

[0041] Figure 2 This is a flowchart of how the updated full charge capacity is obtained based on the battery's previous updated full charge capacity, the first remaining charge, and the second remaining charge in Embodiment 1 of this application.

[0042] Figure 3 This is a flowchart illustrating the method for updating the full charge capacity of a battery in Embodiment 1 of this application.

[0043] Figure 4 This is a schematic diagram of the device for updating the full charge capacity of a battery in Embodiment 1 of this application. Detailed Implementation

[0044] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0045] Throughout this specification, references to "one embodiment," "one example," or "example" mean that a particular feature, structure, or characteristic described in connection with that embodiment or example is included in at least one embodiment of this application. Therefore, the phrases "in one embodiment," "in an embodiment," "one example," or "example" appearing in various places throughout the specification do not necessarily refer to the same embodiment or example. Furthermore, specific features, structures, or characteristics can be combined in one or more embodiments or examples in any suitable combination and / or sub-combination.

[0046] Example 1

[0047] like Figure 1 As shown in this embodiment, a method for updating the full charge capacity of a battery is provided. The method includes:

[0048] S101. Obtain the first open-circuit voltage of the battery before charging and discharging, and obtain the first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage.

[0049] S102. Obtain the second open-circuit voltage of the battery after charging and discharging to the target state, and obtain the second remaining capacity of the battery in the target state according to the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage.

[0050] S103. Obtain the previously updated full charge capacity of the battery;

[0051] S104. The updated full charge capacity is obtained based on the battery's previous updated full charge capacity, the first remaining charge capacity, and the second remaining charge capacity.

[0052] In this embodiment, lithium-ion batteries are widely used in electric vehicles, energy storage, portable electronics, and many other fields due to their high energy density and long cycle life. During battery use, the state of charge (SOC) is an important indicator, representing the ratio of the actual amount of electricity the battery can provide in its current state to the amount it can provide when fully charged. This SOC indicates the remaining charge of the battery, facilitating various commands issued by the battery management system. Open-circuit voltage (OCV), the voltage across the battery in its open-circuit state, is generally considered to be the voltage across the battery terminals after a long period of rest following charging or discharging, when the battery has eliminated polarization and reached a stable state. Open-circuit voltage is unaffected by charging or discharging current and is related to the battery materials and its SOC. At a certain temperature, there is a one-to-one correspondence between the battery's SOC and its open-circuit voltage. The SOC-OCV curve of a battery is an important benchmark curve for lithium batteries. It is mainly used in estimating the battery's state of charge using the open-circuit voltage method. That is, by measuring the open-circuit voltage, the remaining capacity of the battery can be determined. The open-circuit voltage method is generally combined with other estimation methods to predict the battery's state of charge to achieve higher estimation accuracy. Therefore, obtaining the battery's SOC-OCV curve is a fundamental task in developing a battery SOC estimation strategy.

[0053] In this embodiment, in step S101, the battery state before measuring the first open-circuit voltage can be any state of the battery, that is, it can be a fully charged state, a state where the battery has partially consumed its charge, or a state where the battery is nearly depleted. After determining the first open-circuit voltage, the first remaining charge of the battery before charging and discharging is obtained based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage. In step S102, the target state of the battery after measuring the second open-circuit voltage can be any state of the battery, that is, it can be a fully charged state, a state where the battery has partially consumed its charge, or a state where the battery is nearly depleted. When the battery is nearly depleted, after determining the second open-circuit voltage, the second remaining battery capacity in the target state is obtained based on the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage. In step S103, the battery's previous updated full-charge capacity is obtained before the current charge and discharge. In step S104, the updated full-charge capacity is obtained based on the battery's previous updated full-charge capacity, the first remaining capacity, and the second remaining capacity. In this embodiment, the calculation and updating of the battery's full-charge capacity does not require fully charging the battery and then fully discharging it, thereby reducing the cost of updating the battery's full-charge capacity and improving the updating efficiency.

[0054] Furthermore, the target state includes the charge and discharge state of the battery in the non-flat region, that is, the target state does not include the charge and discharge state of the battery in the flat region.

[0055] In this embodiment, the battery includes a flat region and a non-flat region. The flat region refers to a segment where the cell voltage changes relatively little with the cell capacity, i.e., the capacity changes significantly but the cell voltage changes little. The capacity in this segment is difficult to measure accurately. In the method for updating the full charge capacity of the battery in this embodiment, the algorithm for updating the estimated full charge capacity of the battery is implemented without a complete charge and discharge cycle. Preferably, the influence of the cell being in the flat region and temperature on the full charge capacity estimation is excluded, and the charge and discharge state of the cell being in the non-flat region is selected, thereby improving the accuracy of the full charge capacity calculation.

[0056] Furthermore, obtaining the battery's first open-circuit voltage before charging and discharging includes:

[0057] S1011. Obtain the first current voltage of the battery before charging and discharging;

[0058] S1012. Determine whether the battery's first current voltage before charging and discharging is within a first preset range.

[0059] Specifically, in step S1013, if the first current voltage is within a first preset range, the first current voltage is subjected to a first compensation algorithm to obtain the first open-circuit voltage at room temperature.

[0060] S1014. If the first current voltage is not within the first preset range, the battery is left to stand until the first current voltage of the battery is within the first preset range, and then the first current voltage is subjected to a first compensation algorithm to obtain the first open circuit voltage at room temperature.

[0061] The first current voltage can be obtained directly by using a voltage testing instrument before the battery is charged or discharged.

[0062] In this embodiment, before charging and discharging the battery, it is first determined whether the first current voltage is within a first preset range. If the first current voltage is not within the first preset range, it needs to be left to stand for a period of time. During the standing period, the first current voltage can be continuously monitored until it is within the first preset range. Then, temperature and current compensation is performed on the first current voltage to obtain the first open-circuit voltage at room temperature. The determination of whether the first current voltage is within the first preset range is made by collecting the first current voltage at different time points and determining whether the rate of change of the first current voltage over time is within the first preset range. For example, the first preset range can be dV / dt≤4uV / s. If the rate of change of the first current voltage over time is less than or equal to 4uV / s, it is determined that the first current voltage is within the first preset range. Otherwise, it needs to continue to stand until the rate of change of the first current voltage over time is less than or equal to 4uV / s. In this embodiment of the application, a stable state is defined as the rate of change of the first current voltage being within a first preset range. The rate of change being within the first preset range indicates that the first current voltage is stable and not prone to fluctuation. Therefore, when the first current voltage is stable, temperature and current compensation are performed on the first voltage to obtain the first open-circuit voltage at room temperature. If the first current voltage is unstable, it needs to be left to stand for a period of time until the first current voltage is stable. Only then is temperature and current compensation performed on the first current voltage to obtain the first open-circuit voltage at room temperature.

[0063] In this embodiment, in steps S1013 and S1014, the first compensation algorithm includes: V0 = V t +(T-25) / (T H -T L )×(V L -V H );

[0064] Where V0 is the compensated open-circuit voltage; T H Greater than T L T represents the current temperature; V represents the current temperature. H The battery is at a temperature of T. H The corresponding battery voltage at that time; V L The battery is at a temperature of T. L The corresponding battery voltage at that time; V t This is the current voltage of the battery at the current temperature.

[0065] Specifically, T H T represents the temperature corresponding to high temperature. L This is the temperature corresponding to low temperature.

[0066] Specifically, the first open-circuit voltage is V1. Using the above calculation method, when calculating the first open-circuit voltage V1, the first open-circuit voltage V1 = Vt1 +(T-25) / (T H -T L )×(V L -V H ); where V t1 This is the first current voltage.

[0067] Furthermore, obtaining the second open-circuit voltage of the battery before charging and discharging includes:

[0068] S1021. Obtain the second current voltage of the battery after charging and discharging;

[0069] S1022. Determine whether the second current voltage of the battery after charging and discharging is within the second preset range.

[0070] S1023. If the second current voltage is within the second preset range, then the second current voltage is subjected to the first compensation algorithm to obtain the second open-circuit voltage at room temperature.

[0071] S1024. If the second current voltage is not within the second preset range, the battery is left to stand until the second current voltage of the battery is within the second preset range, and then the second current voltage is processed by the first compensation algorithm to obtain the second open circuit voltage at room temperature.

[0072] The second current voltage can be obtained directly by using a voltage testing instrument before the battery is charged or discharged.

[0073] In this embodiment, before charging and discharging the battery, it is first determined whether the second current voltage is within the second preset range. If it is not within the second preset range, it needs to be left to stand for a period of time. During the standing period, the second current voltage can be continuously monitored until it is within the second preset range. Then, temperature and current compensation is performed on the second current voltage to obtain the second open-circuit voltage at room temperature. The determination of whether the second current voltage is within the second preset range is made by collecting the second current voltage at different time points and determining whether the rate of change of the second current voltage over time is within the second preset range. For example, the second preset range can be dV / dt≤4uV / s. If the rate of change of the second current voltage over time is less than or equal to 4uV / s, it is determined that the second current voltage is within the second preset range. Otherwise, it needs to continue to stand until the rate of change of the second current voltage over time is less than or equal to 4uV / s. In this embodiment, the rate of change of the second current voltage is defined as a stable state when it is within a second preset range. The rate of change being within the second preset range indicates that the second current voltage is stable and not prone to fluctuations. Therefore, when the second current voltage is stable, temperature and current compensation are performed on the second voltage to obtain the second open-circuit voltage at room temperature. If the second current voltage is unstable, it needs to be left to stand for a period of time until the second current voltage is stable. Only then is temperature and current compensation performed on the second current voltage to obtain the second open-circuit voltage at room temperature.

[0074] In this embodiment, in steps S1023 and S1024, the first compensation algorithm includes: V0 = V t +(T-25) / (T H -T L )×(V L -V H );

[0075] Where V0 is the compensated open-circuit voltage; T H Greater than T L T represents the current temperature; V represents the current temperature. H The battery is at a temperature of T. H The corresponding battery voltage at that time; V L The battery is at a temperature of T. L The corresponding battery voltage at that time; V t This is the current voltage of the battery at the current temperature.

[0076] Specifically, the second open-circuit voltage is V2. Using the above calculation method, when calculating the second open-circuit voltage V2, the second open-circuit voltage V2 = V t2 +(T-25) / (T H -T L )×(V L -V H ); where Vt2 This is the second current voltage.

[0077] Furthermore, such as Figure 2 As shown, S103, the full charge capacity updated this time is obtained based on the battery's previous updated full charge capacity, the first remaining charge capacity, and the second remaining charge capacity, including:

[0078] S1041. Obtain the capacity difference corresponding to this charge and discharge through the first remaining power and the second remaining power, and use the capacity difference to obtain the first capacity corresponding to this charge and discharge at room temperature according to the second compensation algorithm;

[0079] S1042. Obtain the full charge capacity of the battery at room temperature;

[0080] S1043. Based on the previously updated full charge capacity, first remaining capacity, second remaining capacity, and full charge capacity of the battery at room temperature, obtain the second capacity other than the current charge and discharge capacity.

[0081] S1044. The sum of the first capacity and the second capacity is taken as the full charge capacity for this update.

[0082] In this embodiment, in step S1041, the second compensation algorithm includes:

[0083] F1 = F t +(T-25) / (T H -T L )×(F L -F H );

[0084] Where F1 is the first capacity after compensation; T H Greater than T L T represents the current temperature; F represents the temperature at which the temperature is located. H The battery is at a temperature of T. H The battery capacity measured at that time; F L The battery is at a temperature of T. L The corresponding battery capacity at that time; F t It is the absolute value of the capacity difference between the first remaining power and the second remaining power.

[0085] Further, in step S1043, the second capacity other than that obtained from the previous update of the full charge capacity, the first remaining capacity, the second remaining capacity, and the full charge capacity of the battery at room temperature includes:

[0086] F2 = F3 × (SOC) CV -|SOC1-SOC2|)×(I′ / 1000)×(T′ / 1000);

[0087] F2 represents the second capacity, F3 represents the previously updated full-charge capacity, and SOC... CV SOC1 represents the full charge capacity of the battery at room temperature, SOC2 represents the first remaining capacity, SOC2 represents the second remaining capacity, I′ represents the current compensation factor, and T′ represents the temperature compensation factor.

[0088] In this embodiment, I′ is the current compensation factor, and the compensation method is shown in Table 1. C-Rate is the ratio of current to the battery's design capacity. During the measurement process, the fuel gauge records the average current value AvgCurr of the previous charging and discharging period. Using AvgCurr / design capacity, the corresponding C-Rate is obtained, and the influence of the current on the battery voltage in this period is calculated to obtain the corresponding I′. Thus, the C-Rate in Table 1 is 0.25, 0.5, 0.75, 1, and 1.25, and the corresponding I′ values ​​are a1, a2, a3, a4, and a5, respectively. When calculating the second capacity, I′ is calculated by using the average current value during the charging or discharging process from the first remaining capacity to the second remaining capacity, and obtaining the corresponding C-Rate. Then, the corresponding I′ during the charging or discharging process is calculated using linear interpolation.

[0089] Table 1

[0090] C-Rate 0.25 0.5 0.75 1 1.25 I a1 a2 a3 a4 a5

[0091] In this embodiment, T′ is a temperature compensation factor, and the compensation method is shown in Table 2. Temperature is the ratio of current to the battery's design capacity. During the measurement process, the fuel gauge records the temperature value of the previous charging and discharging period and calculates the effect of this temperature on the battery voltage to obtain the corresponding T′. Thus, the temperatures in Table 2 are 0℃, 10℃, 25℃, 40℃, and 60℃, and the corresponding T′ values ​​are b1, b2, b3, b4, and b5, respectively. When calculating the second capacity, T′ is calculated by using linear interpolation to obtain the corresponding T′ during the charging or discharging process from the first remaining capacity to the second remaining capacity.

[0092] Table 2

[0093] Temperature 0 10 25 40 60 T b1 b2 b3 b4 b5

[0094] In possible application examples, such as Figure 3 As shown, this embodiment updates the battery's full charge capacity through the following steps:

[0095] S301, Read the previously updated full charge capacity;

[0096] S302. Determine whether the rate of change of the first current voltage of the battery before charging and discharging is within a first preset range;

[0097] S303. If so, the first current voltage is processed by the first compensation algorithm to obtain the first open-circuit voltage at room temperature, and the first remaining charge of the battery before charging and discharging is obtained according to the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage.

[0098] S304. If not, let the battery stand, and then repeat steps S302 and S303.

[0099] S305. Charge or discharge the battery;

[0100] S306. Determine whether the rate of change of the second current voltage of the battery after charging and discharging is within the second preset range;

[0101] S307. If so, the second current voltage is processed by the first compensation algorithm to obtain the second open-circuit voltage at room temperature, and the second remaining capacity of the battery after charging and discharging is obtained according to the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage.

[0102] S308. If not, let the battery rest, and then repeat steps S306 and S307.

[0103] S309. Obtain the capacity difference corresponding to this charge and discharge through the first remaining power and the second remaining power, and use the capacity difference to obtain the first capacity corresponding to this charge and discharge at room temperature through the second compensation algorithm.

[0104] S310. Based on the previously updated full charge capacity, first remaining capacity, second remaining capacity, and full charge capacity of the battery at room temperature, obtain the second capacity other than the current charge and discharge capacity.

[0105] S311. The sum of the first capacity and the second capacity is taken as the full charge capacity for this update.

[0106] The updated full charge capacity data can be stored in the device using the battery, so that it can be read when the full charge capacity is updated again.

[0107] Secondly, such as Figure 4 As shown, this embodiment provides a device for updating the full charge capacity of a battery, the device comprising:

[0108] The first acquisition module 401 is used to acquire the first open-circuit voltage of the battery before charging and discharging, and to obtain the first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage.

[0109] The second acquisition module 402 is used to acquire the second open-circuit voltage of the battery after charging and discharging to the target state, and to obtain the second remaining capacity of the battery in the target state according to the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage.

[0110] The third acquisition module 403 is used to acquire the battery's previously updated full charge capacity;

[0111] The update module 404 is used to obtain the updated full charge capacity based on the battery's previous updated full charge capacity, the first remaining charge capacity, and the second remaining charge capacity.

[0112] Furthermore, the target state includes the charge and discharge states of the battery in the non-flat region.

[0113] Furthermore, the first acquisition module 401 is also used to acquire the first current voltage of the battery before charging and discharging; determine whether the first current voltage of the battery before charging and discharging is within a first preset range; if the first current voltage is within the first preset range, then perform a first compensation algorithm on the first current voltage to obtain the first open circuit voltage corresponding to the normal temperature.

[0114] Furthermore, the second acquisition module 402 is also used to acquire the second current voltage of the battery after charging and discharging; determine whether the second current voltage of the battery after charging and discharging is within a second preset range; if the second current voltage is within the second preset range, then perform a first compensation algorithm on the second current voltage to obtain the second open circuit voltage corresponding to the room temperature.

[0115] Furthermore, the first compensation algorithm includes: V0 = V t +(T-25) / (T H -T L )×(V L -V H );

[0116] Where V0 is the compensated open-circuit voltage; T H Greater than T L T represents the current temperature; V represents the current temperature. H The battery is at a temperature of T. H The corresponding battery voltage at that time; V L The battery is at a temperature of T. L The corresponding battery voltage at that time; V t This is the current voltage of the battery at the current temperature.

[0117] Furthermore, the update module 404 is also used to obtain the capacity difference corresponding to this charge and discharge through the first remaining power and the second remaining power, and to obtain the first capacity corresponding to this charge and discharge at room temperature according to the capacity difference based on the second compensation algorithm;

[0118] Obtain the full charge capacity of the battery at room temperature;

[0119] The second capacity, excluding the current charge and discharge capacity, is obtained based on the first remaining capacity, the second remaining capacity, and the full charge capacity of the battery at room temperature.

[0120] The sum of the first capacity and the second capacity will be used as the full charge capacity for this update.

[0121] Furthermore, update module 404 is also used for:

[0122] F2 = F3 × (SOC) CV -|SOC1-SOC2|)×(I' / 1000)×(T' / 1000);

[0123] F2 represents the second capacity, F3 represents the previously updated full-charge capacity, and SOC... CV SOC1 represents the full charge capacity of the battery at room temperature, SOC2 represents the first remaining capacity, SOC2 represents the second remaining capacity, I' represents the current compensation factor, and T' represents the temperature compensation factor.

[0124] Furthermore, the second compensation algorithm includes:

[0125] F1 = F t +(T-25) / (T H -T L )×(F L -F H ); where F1 is the first capacity after compensation; T H Greater than T L T represents the current temperature; F represents the temperature at which the temperature is located. H The battery is at a temperature of T. H The battery capacity measured at that time; F L The battery is at a temperature of T. L The corresponding battery capacity at that time; F t It is the absolute value of the capacity difference between the first remaining power and the second remaining power.

[0126] Other technical details in this embodiment refer to Embodiment 1 and can achieve all the beneficial effects of Embodiment 1, so they will not be repeated here.

[0127] Thirdly, this embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method for updating the full charge capacity of a battery as described in Embodiment 1.

[0128] Other technical details in this embodiment refer to Embodiment 1 and can achieve all the beneficial effects of Embodiment 1, so they will not be repeated here.

[0129] Fourthly, this embodiment provides a storage medium on which a computer program is stored, which, when executed by a processor, implements the method for updating the full charge capacity of a battery as described in Embodiment 1.

[0130] Other technical details in this embodiment refer to Embodiment 1 and can achieve all the beneficial effects of Embodiment 1, so they will not be repeated here.

[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0132] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.

[0133] The solutions provided by the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method of updating a full charge capacity of a battery, characterized by, The method includes: Obtain the first open-circuit voltage of the battery before charging and discharging, and obtain the first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage; Obtain the second open-circuit voltage of the battery after charging and discharging to the target state, and obtain the second remaining capacity of the battery in the target state based on the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage; Obtain the battery's last updated full charge capacity; The updated full charge capacity is obtained based on the battery's previous updated full charge capacity, the first remaining charge, and the second remaining charge. The step of obtaining the updated full charge capacity based on the battery's previous updated full charge capacity, the first remaining charge, and the second remaining charge includes: The capacity difference corresponding to this charge and discharge is obtained by using the first remaining power and the second remaining power, and the capacity difference is used to obtain the first capacity corresponding to this charge and discharge at room temperature according to the second compensation algorithm; the full charge capacity of the battery at room temperature is obtained; the second capacity other than this charge and discharge is obtained according to the previously updated full charge capacity, the first remaining power, the second remaining power and the full charge capacity of the battery at room temperature; the sum of the first capacity and the second capacity is the updated full charge capacity. The process of obtaining the second capacity beyond the current charge / discharge capacity based on the previously updated full charge capacity, the first remaining capacity, the second remaining capacity, and the battery's full charge capacity at room temperature includes: ; in, For the second capacity, This is the full charge capacity from the previous update. This refers to the full charge capacity of the battery at room temperature. This refers to the first remaining battery power. This refers to the second remaining battery level. This is the current compensation factor. This is the temperature compensation factor.

2. The method of claim 1, wherein, The target state includes the charge and discharge state of the battery in the non-flat region.

3. The method as described in claim 1, characterized in that, The acquisition of the first open-circuit voltage of the battery before charging and discharging includes: Obtain the first current voltage of the battery before charging and discharging; Determine whether the first current voltage of the battery before charging and discharging is within a first preset range. If the first current voltage is within the first preset range, then perform a first compensation algorithm on the first current voltage to obtain the first open-circuit voltage at room temperature.

4. The method of claim 1, wherein, The acquisition of the second open-circuit voltage of the battery before charging and discharging includes: Obtain the second current voltage of the battery after charging and discharging; Determine whether the second current voltage of the battery after charging and discharging is within a second preset range. If the second current voltage is within the second preset range, then perform a first compensation algorithm on the second current voltage to obtain the second open-circuit voltage at room temperature.

5. The method of claim 3 or 4, wherein, The first compensation algorithm includes: ; in, The compensated open-circuit voltage; Greater than T represents the current temperature. The battery is at a temperature of The corresponding battery voltage at that time; The battery is at a temperature of The corresponding battery voltage at that time; This is the current voltage of the battery at the current temperature.

6. The method of claim 1, wherein, The second compensation algorithm includes: ;in, The first capacity after compensation; Greater than T represents the current temperature. The battery is at a temperature of The battery capacity measured at that time; The battery is at a temperature of The corresponding battery capacity at that time; The difference between the first remaining power and the second remaining power.

7. An apparatus for updating a full charge capacity of a battery, the apparatus comprising: The device includes: The first acquisition module is used to acquire the first open-circuit voltage of the battery before charging and discharging, and to obtain the first remaining charge of the battery before charging and discharging based on the remaining charge-open-circuit voltage relationship curve and the first open-circuit voltage. The second acquisition module is used to acquire the second open-circuit voltage of the battery after it has been charged and discharged to the target state, and to obtain the second remaining capacity of the battery in the target state based on the remaining capacity-open-circuit voltage relationship curve and the second open-circuit voltage. The third acquisition module is used to acquire the battery's previously updated full charge capacity; The update module is used to obtain the updated full charge capacity based on the battery's previously updated full charge capacity, the first remaining charge, and the second remaining charge. The process of obtaining the updated full charge capacity based on the battery's previously updated full charge capacity, the first remaining charge, and the second remaining charge includes: The capacity difference corresponding to this charge and discharge is obtained by using the first remaining power and the second remaining power, and the capacity difference is used to obtain the first capacity corresponding to this charge and discharge at room temperature according to the second compensation algorithm. Obtain the full charge capacity of the battery at room temperature; The second capacity, excluding the current charge and discharge capacity, is obtained based on the previously updated full charge capacity, the first remaining capacity, the second remaining capacity, and the full charge capacity of the battery at room temperature. The sum of the first capacity and the second capacity is taken as the full charge capacity of this update; The process of obtaining the second capacity beyond the current charge / discharge capacity based on the previously updated full charge capacity, the first remaining capacity, the second remaining capacity, and the battery's full charge capacity at room temperature includes: ; in, For the second capacity, This is the full charge capacity from the previous update. This refers to the full charge capacity of the battery at room temperature. This refers to the first remaining battery power. This refers to the second remaining battery level. This is the current compensation factor. This is the temperature compensation factor.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method for updating the full charge capacity of the battery as described in any one of claims 1 to 6.

9. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for updating the full charge capacity of the battery as described in any one of claims 1 to 6.