Method, device and equipment for calculating charging quantity of energy storage battery
By calculating the midline offset and average value of each battery cell of the energy storage battery cluster and determining its power supply, the problem of inaccurate calculation of the power supply in the prior art is solved, and accurate calculation and power consistency in any situation is achieved, and the performance and safety of the battery cluster are improved.
Patent Information
- Application Number
- CN202510175009.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-05-13
AI Technical Summary
The prior art cannot accurately calculate the power recharge amount of each battery cell in any case, and is greatly affected by the SOC of the single battery cell, so it cannot effectively reduce the power inconsistency between the battery cells.
By obtaining the dischargeable amount and chargeable amount of each battery cell in the battery cluster, the average value of the midline offset and the midline offset of each battery cell are calculated, and the final charge amount of each battery cell is determined based on these values.
It realizes accurate calculation of the power supply of each battery cell under any circumstances, without being limited by the SOC size, reduces the power inconsistency between the battery cells, and improves the overall performance and safety of the battery cluster.
Smart Images

Figure CN119986424A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy storage, and in particular to a method, device and equipment for calculating the amount of energy storage battery replenishment. Background Art
[0002] As the battery cluster continues to operate, the inconsistency of the power of the cells will continue to increase, and bring about a short board effect, which limits the capacity of the entire battery cluster and makes it impossible to give full play to the storage capacity of the battery cluster, resulting in a waste of resources and even a series of safety issues. In order to reduce the inconsistency of power between cells, it is necessary to calculate the amount of power required for each cell and perform the power replenishment operation.
[0003] In the prior art, when the fixed power method is used to calculate the corresponding replenishment amount of each battery cell, it is impossible to accurately calculate the corresponding replenishment amount of each battery cell in the battery cluster where the battery cell capacity decay occurs. In addition, if the power of each battery cell is calculated by voltage, it will also be affected by the SOC of the single battery cell, and can only be achieved when the SOC of the single battery cell is high or low.
[0004] Therefore, how to accurately calculate the amount of power to be replenished for each battery cell under any circumstances without being limited by the size of the SOC is a problem that needs to be solved at present. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a method for calculating the amount of energy storage battery replenishment, which is used to accurately calculate the amount of energy replenishment corresponding to each battery cell under any circumstances without being limited by the size of the SOC. The specific scheme is as follows:
[0006] In a first aspect, the present application provides a method for calculating the amount of energy storage battery replenishment, comprising:
[0007] Obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster; wherein the dischargeable capacity is the current capacity of the battery cell, and the chargeable capacity is the difference between the battery cell capacity and the current capacity of the battery cell;
[0008] Calculating a first difference between the chargeable amount and the dischargeable amount of each battery cell, and determining half of the first difference as a centerline offset of each battery cell;
[0009] Calculating an average value of all the centerline offsets in the battery cluster, and determining the average value as a centerline offset average value;
[0010] The final replenishment amount of each of the battery cells is determined according to each of the center line offsets and an average value of the center line offsets.
[0011] Optionally, determining the amount of replenishment of each of the battery cells according to each of the center line offsets and the center line offset includes:
[0012] A second difference between each of the center line offsets and the average of the center line offsets is calculated, and each of the second differences is determined as the replenishment amount of the corresponding battery cell as the final replenishment amount of each battery cell.
[0013] Optionally, determining the amount of replenishment of each of the battery cells according to each of the center line offsets and the center line offset includes:
[0014] Based on the dischargeable amount and the chargeable amount, determining the battery cell corresponding to the capacity short board in the battery cluster as the target battery cell;
[0015] Determine an average value of remaining centerline offsets based on all the remaining centerline offsets in the battery cluster except the centerline offset corresponding to the target battery cell;
[0016] Calculating a third difference between the centerline offset of the target battery cell and the average value of the remaining centerline offsets, and determining the third difference as the replenishment amount of the target battery cell;
[0017] Recharge the target battery cell based on the replenishment amount of the target battery cell, and recalculate the centerline offset of the target battery cell and the average value of the centerline offset;
[0018] A fourth difference between each of the center line offsets and the average of the center line offsets is calculated, and each of the fourth differences is determined as the replenishment amount of the corresponding battery cell as the final replenishment amount of each battery cell.
[0019] Optionally, determining the amount of replenishment of each of the battery cells according to each of the center line offsets and the center line offset includes:
[0020] By calculating the second difference between each of the center line offsets and the average value of the center line offsets, determining each of the second differences as a first replenishment amount corresponding to the battery cell;
[0021] Based on the dischargeable amount and the chargeable amount, determining the battery cell corresponding to the capacity short board in the battery cluster as the target battery cell;
[0022] Determine an average value of remaining centerline offsets based on all the remaining centerline offsets in the battery cluster except the centerline offset corresponding to the target battery cell;
[0023] Calculating a third difference between the centerline offset of the target battery cell and the average value of the remaining centerline offsets, and determining the third difference as the replenishment amount of the target battery cell;
[0024] Recharge the target battery cell based on the replenishment amount of the target battery cell, and recalculate the centerline offset of the target battery cell and the average value of the centerline offset;
[0025] Calculating a fourth difference between each of the center line offsets and the average of the center line offsets, and determining each of the fourth differences as a second replenishment amount corresponding to the battery cell;
[0026] Determine whether the sum of the first replenishment amounts is greater than the sum of the second replenishment amounts and the replenishment amount of the target battery cell;
[0027] If it is greater than, determining that the sum of the target battery cell's replenishment amount and its corresponding second replenishment amount is the final replenishment amount of the target battery cell, and the remaining second replenishment amounts are the final replenishment amounts of the corresponding battery cells;
[0028] If not, then each of the first replenishment amounts is determined to be the final replenishment amount of the corresponding battery cell.
[0029] Optionally, determining the target battery cell based on the dischargeable amount and the chargeable amount includes:
[0030] Determining whether the cell capacities of the batteries are equal;
[0031] If the cell capacities are not equal, determining the cell with the smallest cell capacity as the target cell;
[0032] If the cell capacities are equal, determining whether the sum of the dischargeable capacities is greater than a first preset threshold;
[0033] If the sum of the dischargeable capacities is greater than the first preset threshold, determining the battery cell with the smallest chargeable capacity as the target battery cell;
[0034] If the sum of the dischargeable capacities is not greater than a first preset threshold, the battery cell with the smallest dischargeable capacity is determined as the target battery cell.
[0035] Optionally, after obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster, the method further includes:
[0036] Determining whether the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition;
[0037] If the conditions are met, it is determined that the battery cluster has inconsistent power, and the step of determining the centerline offset of each battery cell based on the dischargeable power and the chargeable power is entered to calculate the replenishment power of each battery cell.
[0038] Optionally, the determining whether the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition includes:
[0039] Based on the dischargeable amount and the chargeable amount of each of the battery cells, the cell capacity of each of the battery cells is calculated, and the minimum dischargeable amount, the minimum chargeable amount and the minimum cell capacity in the battery cluster are determined respectively;
[0040] Calculating the ratio of the sum of the minimum dischargeable amount and the minimum chargeable amount to the minimum battery cell capacity;
[0041] Determining whether the ratio is less than a second preset threshold;
[0042] If so, it is determined that the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition.
[0043] Optionally, obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster includes:
[0044] Obtain real-time monitoring data in BMS;
[0045] Based on the implemented detection data, the dischargeable amount and the chargeable amount are determined.
[0046] Or, obtaining the open circuit voltage and cell capacity of each of the battery cells;
[0047] Based on the open circuit voltage, comparing the SOC-OCV curve to obtain the dischargeable capacity of the battery cell;
[0048] A second difference between the cell capacity of the cell and the dischargeable amount of the cell is calculated, and the second difference is determined as the chargeable amount of the cell.
[0049] In a second aspect, the present application provides a device for calculating the amount of energy storage battery replenishment, comprising:
[0050] A power acquisition module, used to acquire the dischargeable power and chargeable power of each battery cell in the battery cluster; wherein the dischargeable power is the current power of the battery cell, and the chargeable power is the difference between the battery cell capacity and the current power of the battery cell;
[0051] An offset determination module, used for calculating a first difference between the chargeable amount and the dischargeable amount of each battery cell, and determining half of the first difference as a centerline offset of each battery cell;
[0052] an average value calculation unit, used to calculate an average value of all the center line offsets in the battery cluster, and determine the average value as the center line offset average value;
[0053] A replenishment amount determination unit is used to determine the replenishment amount of each of the battery cells according to each of the center line offsets and the center line offset.
[0054] In a third aspect, the present application provides an electronic device, including:
[0055] Memory, used to store computer programs;
[0056] The processor is used to execute the computer program to implement the above-mentioned method for calculating the amount of energy storage battery replenishment.
[0057] In this application, it is first necessary to obtain the dischargeable amount representing the current power of each battery cell in the battery cluster and the rechargeable amount that can still be charged; half of the difference between the rechargeable amount and the dischargeable amount of each battery cell can be used as the centerline offset of the battery cell; the average of the centerline offsets of all battery cells is used as the average center offset of the battery cluster; the final replenishment amount of each battery cell is determined by the centerline offset and the average centerline offset. From the above, it can be obtained that when calculating the replenishment amount corresponding to each battery cell, the present application only needs to obtain the dischargeable amount and the rechargeable amount corresponding to each battery cell to calculate the replenishment amount, which is not limited by the size of SOC. In addition, based on the dischargeable amount and the rechargeable amount of each battery cell in the battery cluster, where the dischargeable amount is the current power of the battery cell, and the sum of the dischargeable amount and the rechargeable amount is the actual power of the battery cell, the difference between the centerline offset corresponding to each battery cell and the average centerline offset of the battery cluster is determined as the replenishment amount, while taking into account the actual capacity and current power of each battery cell, the calculated replenishment amount can be made more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0059] Figure 1 A flow chart of a method for calculating the amount of energy storage battery replenishment disclosed in this application;
[0060] Figure 2 A flow chart of a specific method for calculating the amount of energy storage battery replenishment disclosed in this application;
[0061] Figure 3 A schematic diagram of the capacity of a specific battery cluster disclosed in this application;
[0062] Figure 4 This is a schematic diagram of the structure of a storage battery replenishment calculation device disclosed in this application;
[0063] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0065] Due to differences in production processes and usage environments, there may be differences in cell capacity and internal resistance between the cells in a battery cluster. This difference will continue to expand with the use of the battery cluster, that is, the inconsistent power of the battery cluster will gradually increase during the operation of the battery cluster. The expansion of inconsistent power will reduce the energy storage level of the battery cluster, affect the overall performance of the battery cluster, and cause safety problems. Therefore, regularly replenishing the power of each cell in the battery cluster can not only improve the overall performance of the battery cluster, but also ensure the stability of voltage and current during discharge, optimize energy output, and improve charging efficiency during charging, so that the battery cluster can operate efficiently, safely, and stably.
[0066] In the prior art, when the fixed power method is used to calculate the corresponding replenishment amount of each battery cell, it is impossible to accurately calculate the corresponding replenishment amount of each battery cell in the battery cluster where the battery cell capacity decay occurs. In addition, if the power of each battery cell is calculated by voltage, it will also be affected by the SOC of the single battery cell, and can only be achieved when the SOC of the single battery cell is high or low.
[0067] To this end, the present application provides a solution for calculating the amount of energy storage battery replenishment, so as to accurately calculate the amount of energy replenishment corresponding to each battery cell under any circumstances without being limited by the size of the SOC.
[0068] See also Figure 1 As shown, an embodiment of the present invention discloses a method for calculating the amount of energy storage battery replenishment, which may include:
[0069] Step S11, obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster; wherein the dischargeable capacity is the current capacity of the battery cell, and the chargeable capacity is the difference between the battery cell capacity and the current capacity of the battery cell;
[0070] In this embodiment, it is first necessary to obtain the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster, wherein the dischargeable capacity is the current power of the battery cell, the chargeable capacity is the power that can be charged into the battery cell, and the sum of the dischargeable capacity and the chargeable capacity is the battery cell capacity of the battery cell.
[0071] In this embodiment, the chargeable capacity and dischargeable capacity of each battery cell can be obtained in a variety of ways. In a specific implementation, real-time monitoring data in the BMS (Battery Management System) is obtained; based on the implementation detection data, the dischargeable capacity and the chargeable capacity are determined. It should be noted that a battery cluster is a collection of battery cells composed of multiple battery cells, and the battery management system is an electronic system responsible for managing and monitoring the battery cluster. The BMS will continuously monitor the voltage, charge and discharge current, and temperature of each battery cell in the battery cluster. The battery management system can directly calculate the chargeable capacity and dischargeable capacity of each battery cell in the battery cluster through the above voltage information and current information, so the chargeable capacity and dischargeable capacity of each battery cell can be directly obtained from the BMS.
[0072] In another specific embodiment, the open circuit voltage and cell capacity of each battery cell are obtained; based on the open circuit voltage, the SOC-OCV curve is compared to obtain the dischargeable amount of the battery cell; the second difference between the cell capacity and the dischargeable amount of the battery cell is calculated, and the second difference is determined to be the chargeable amount of the battery cell. It should be noted that the SOC-OCV curve is the state of charge-open circuit voltage curve, and OCV is the voltage of the battery cell in the open circuit state. Its value is closely related to the essential characteristics such as the degree of chemical reaction inside the battery cell, the potential of the electrode material, and the concentration of the electrolyte. The SOC represents the proportion of the remaining power in the battery cell, so the SOC-OCV curve can essentially reflect the intrinsic connection between the battery cell power and voltage. By measuring the OCV and comparing the SOC-OCV curve, the SOC of the battery cell can be determined, and then the current power of the battery cell and the dischargeable amount can be known.
[0073] It is understandable that the chargeable amount of the battery cell is determined by the difference between the battery cell capacity and the dischargeable amount. The battery cell capacity depends on different electrode materials and structures, electrolytes, and manufacturing processes and quality. In addition, during the use of the battery cell, due to repeated charging and discharging, temperature changes, overcharging and over-discharging, etc., capacity decay may occur. Therefore, after obtaining the dischargeable amount of the battery cell, in order to ensure the accuracy of the chargeable amount, the battery cell capacity also needs to be obtained.
[0074] In this embodiment, if capacity decay is not considered, the cell capacity of the battery cell is equal to its rated capacity; if capacity decay is considered, the battery management system can monitor capacity decay and determine the cell capacity by using various methods such as regular capacity calibration testing and monitoring changes in the internal resistance of the battery cell.
[0075] In this embodiment, it is determined whether the dischargeable amount and the chargeable amount in the battery cluster meet the preset conditions; if they do, it is determined that there is an inconsistency in the battery cluster, and the step of determining the centerline offset of each battery cell based on the dischargeable amount and the chargeable amount is entered to calculate the replenishment amount of each battery cell. It can be understood that the battery cluster is composed of multiple battery cells. Due to differences in manufacturing process, raw materials, use environment and aging degree, the battery cluster may have inconsistent amounts of electricity, and inconsistent amounts of electricity will reduce the performance of the entire battery cluster, affect the safety of the battery cluster, and quickly cut the service life of the battery cluster. Therefore, when it is detected that the inconsistency of the battery cluster exceeds a certain threshold, that is, there is a dischargeable amount and a chargeable amount in the battery cluster that meet the preset conditions, the battery cluster needs to be replenished.
[0076] In a specific embodiment, based on the dischargeable amount and chargeable amount of each battery cell, the minimum dischargeable amount, the minimum chargeable amount and the minimum battery cell capacity in the battery cluster are determined respectively; the ratio of the sum of the minimum dischargeable amount and the minimum chargeable amount to the minimum battery cell capacity is calculated; it is determined whether the ratio is less than a second preset threshold value; if so, it is determined that the dischargeable amount and the chargeable amount in the battery cluster meet the preset conditions. It should be noted that, assuming that there are n single cells in the battery cluster, the dischargeable amount corresponding to each cell in the battery cluster is c1, c2, ..., cn, the chargeable amount corresponding to each cell is d1, d2, ..., dn, and the battery capacity corresponding to each cell is q1, q2, ..., qn, etc. At this time, the maximum amount of electricity c that can be discharged by the battery cluster depends on the minimum dischargeable amount, and the maximum amount of electricity d that can be charged depends on the minimum chargeable amount. Therefore, the actual maximum available capacity of the battery cluster is c+d. The specific formula is as follows:
[0077] ;
[0078] ;
[0079] The theoretical maximum available capacity of the battery cluster is:
[0080] ;
[0081] ;
[0082] Among them, conf represents the power consistency of the battery cluster, ck is the dischargeable capacity corresponding to battery cell k, and dk is the chargeable capacity corresponding to battery cell k.
[0083] It can be understood that when the cell with the smallest cell capacity in the battery cluster is also the cell with the smallest dischargeable and chargeable capacities, there is no inconsistent charge in the battery cluster. Therefore, the ratio conf of the sum of the minimum dischargeable capacity and the minimum chargeable capacity to the minimum cell capacity can be less than 1 as a method for determining that there is inconsistent charge in the battery cluster.
[0084] In addition, it is also necessary to determine whether the actual maximum available capacity ck+dk, i.e., qk, of each battery cell in the battery cluster is lower than the preset threshold of the rated capacity. If it is lower, it means that the battery cell has reached the end of its life and needs to be replaced. It is understandable that the above preset threshold is not a fixed value, but can be determined according to actual conditions. For example, the standards for the end of the battery cell life vary for batteries produced by different manufacturers. For batteries produced by manufacturer A, if the actual maximum available capacity of the battery cell is lower than 80% of the rated capacity, it indicates that the battery cell has reached the end of its life. For batteries produced by manufacturer B, when the actual maximum available capacity of the battery cell is lower than 70% of the rated capacity, it indicates that the battery cell has reached the end of its life.
[0085] Furthermore, considering the actual working conditions of the battery cluster, in order to avoid frequent charging, it may be set that the battery cluster is charged only when the conf of the battery cluster is less than a second preset threshold, for example, less than 0.95.
[0086] Step S12, calculating a first difference between the chargeable capacity and the dischargeable capacity of each battery cell, and determining half of the first difference as the centerline offset of each battery cell;
[0087] In this embodiment, the center line offset of each battery cell is the difference between its chargeable capacity and dischargeable capacity. The specific formula is as follows:
[0088] ;
[0089] Among them, diff k is the center offset of cell k, c k is the charge capacity of cell k, d k is the discharge capacity of cell k.
[0090] Step S13, calculating the average value of all center line offsets in the battery cluster, and determining the average value as the center line offset average value;
[0091] In this embodiment, the average value diff_mean of the centerline offset of the battery cluster is calculated, that is, the average value of the centerline offsets of all the cells. The specific formula is as follows:
[0092] .
[0093] Step S14: determining the final charging amount of each battery cell according to each center line offset and the average value of the center line offset.
[0094] In this embodiment, the final replenishment amount of the battery cell can be determined by the center line offset of each battery cell and the average value of the center line offset.
[0095] In order to obtain the final charge amount of each battery cell in the battery cluster, in a specific embodiment, the second difference between each centerline offset and the average value of the centerline offset is calculated, and the charge amount of each second difference corresponding to the battery cell is determined as the final charge amount of each battery cell. The specific formula is as follows:
[0096] ;
[0097] Among them, s k is the amount of charge of cell k.
[0098] It is understandable that if s k is a positive number, it represents the amount of power required to replenish the battery cell k. k If it is a negative number, it represents the discharge capacity required for battery cell k, and its unit is consistent with the unit of chargeable capacity and dischargeable capacity.
[0099] As can be seen from the above, when calculating the replenishment amount corresponding to each battery cell, the present application only needs to obtain the dischargeable amount and chargeable amount corresponding to each battery cell to calculate the replenishment amount, which is not limited by the SOC size. In addition, based on the dischargeable amount and chargeable amount of each battery cell in the battery cluster, where the dischargeable amount is the current power of the battery cell, and the sum of the dischargeable amount and the chargeable amount is the actual power of the battery cell, the difference between the centerline offset corresponding to each battery cell and the average value of the centerline offset of the battery cluster is determined as the replenishment amount, while taking into account the actual capacity and current power of each battery cell, the calculated replenishment amount can be made more accurate.
[0100] In order to accurately calculate the charging time of each cell in the battery cluster, refer to Figure 2 As shown, the present application discloses a specific method for calculating the amount of energy storage battery replenishment, which may include:
[0101] Step S21, obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster; wherein the dischargeable capacity is the current capacity of the battery cell, and the chargeable capacity is the difference between the battery cell capacity and the current capacity of the battery cell;
[0102] Step S22, calculating a first difference between the chargeable capacity and the dischargeable capacity of each battery cell, and determining half of the first difference as the centerline offset of each battery cell;
[0103] Step S23, calculating the average value of all center line offsets in the battery cluster, and determining the average value as the center line offset average value;
[0104] Step S24, based on the dischargeable amount and the chargeable amount, determining the battery cell corresponding to the capacity short board in the battery cluster as the target battery cell;
[0105] In this embodiment, it is necessary to determine the target battery cell corresponding to the capacity short board from the battery cluster.
[0106] In order to determine the cell i corresponding to the capacity short board in the battery cluster, that is, the target cell. In this embodiment, it is determined whether the cell capacities of each cell are equal; wherein the cell capacity is the sum of the dischargeable amount and the chargeable amount of the cell; if the cell capacities are not equal, the cell with the smallest cell capacity is determined as the target cell; if the cell capacities are equal, it is determined whether the sum of the dischargeable amounts is greater than the first preset threshold; if the sum of the dischargeable amounts is greater than the first preset threshold, the cell with the smallest chargeable amount is determined as the target cell; if the sum of the dischargeable amounts is not greater than the first preset threshold, the cell with the smallest dischargeable amount is determined as the target cell. It can be understood that a battery cluster is an integral unit composed of multiple cells, and its overall performance is often limited by the worst performance part, which is similar to the "barrel principle". When the cell capacity of a cell is the smallest, this cell will reach the discharge cut-off voltage first during the discharge process. For example, in a battery cluster, the cell capacity of cell A is 10Ah, the cell capacity of cell B is 12Ah, and the cell capacity of cell C is 8Ah. During the discharge process, when cell C reaches the discharge cut-off voltage, the entire battery cluster must stop discharging. Therefore, cell C with the smallest cell capacity is the capacity short board of the battery cluster.
[0107] Furthermore, when the cell capacities of the cells in the battery cluster are equal and the SOC is low, the cell corresponding to the minimum dischargeable capacity can be selected as the target cell to take into account the capacity shortcoming caused by the minimum dischargeable capacity. For example, in a battery cluster, the dischargeable capacity of cell D is 3Ah, and the dischargeable capacity of cell E is 6Ah. At this time, when the battery cluster needs to be discharged, the dischargeable capacity of cell D is the smallest, which will first limit the discharge capacity of the battery cluster, so cell D becomes the capacity shortcoming of the battery cluster at this time.
[0108] In addition, when the cell capacities of the cells in the battery cluster are equal and the SOC is high, the cell corresponding to the minimum chargeable capacity can also be selected as the target cell to take into account the capacity short board caused by the minimum chargeable capacity. The chargeable capacity reflects the degree of the remaining usable capacity of the cell. When the difference between the capacity of a cell and the current capacity is the smallest, it means that its remaining usable capacity is relatively small, and it is likely to become the first factor to limit the performance of the battery cluster in the subsequent use process. For example, the capacity of cell F is 15Ah, the current capacity is 12Ah, and the difference is 3Ah; the capacity of cell G is 20Ah, the current capacity is 18Ah, and the difference is 2Ah. Although the capacity of cell G is larger, from the perspective of the remaining usable capacity, its difference is smaller. In subsequent use, it may reach the discharge cut-off state before cell F, thereby limiting the overall capacity performance of the cell cluster, so cell G may also be the cell corresponding to the capacity short board.
[0109] Step S25, determining an average value of remaining centerline offsets based on all other centerline offsets in the battery cluster except the centerline offset corresponding to the target battery cell;
[0110] In this embodiment, after the center line offset of the target battery cell is removed, the average value of the remaining center line offsets is calculated to obtain the remaining center line offset average value diff_mean_no_i.
[0111] Step S26, calculating a third difference between the center line offset of the target battery cell and the average value of the remaining center line offsets, and determining the third difference as the replenishment amount of the target battery cell;
[0112] In this embodiment, the difference between the center line offset of the target battery cell and the average value of the remaining center line offsets is used as the replenishment amount of the target battery cell. The specific formula is as follows:
[0113] ;
[0114] Among them, s i is the replenishment amount of the target battery cell i, and diff_mean_no_i is the average value of the remaining center line offset.
[0115] Step S27, replenishing the target battery cell based on the replenishment amount of the target battery cell, and recalculating the centerline offset and the average value of the centerline offset of the target battery cell;
[0116] In this embodiment, after the target battery cell is replenished with electricity based on the above replenishment amount, its chargeable amount and dischargeable amount are changed, so it is necessary to recalculate the centerline offset diff of the target battery cell. i_new And the average value of the centerline offset of the battery cluster diff_mean_new. The specific formula is as follows:
[0117] ;
[0118] ;
[0119] ;
[0120] ;
[0121] Among them, c i_new is the chargeable capacity of the target cell after the target cell is recharged, d i_new The discharge capacity of the target cell after the target cell is recharged, diff i_new is the new centerline offset of the target cell after the target cell is recharged, diff_mean_new is the average centerline offset of the battery cluster after the target cell is recharged, diff k_new It is the centerline offset of the kth battery cell after the target battery cell is recharged.
[0122] It is understandable that after the target cell is recharged, in addition to the centerline offset diff of the target cell itself i_newThe centerline offset of all other cells in the battery cluster changes. k_new It is still the same as the center line offset before the target battery cell is recharged.
[0123] Step S28, calculating the fourth difference between each center line offset and the average center line offset, and determining each fourth difference as the final replenishment amount of the corresponding battery cell.
[0124] In this embodiment, in order to
[0125] The final charge of the target cell is:
[0126] ;
[0127] The final charge of the remaining cells is:
[0128] ;
[0129] Furthermore, in order to reduce the amount of replenished electricity, in this embodiment, by calculating the second difference between each centerline offset and the average value of the centerline offset, each second difference is determined to be the first replenished electricity amount of the corresponding battery cell; based on the dischargeable amount and the chargeable amount, the battery cell corresponding to the capacity short board in the battery cluster is determined as the target battery cell; in addition to the centerline offset corresponding to the target battery cell, based on all other centerline offsets in the battery cluster, the average value of the remaining centerline offsets is determined; the third difference between the centerline offset of the target battery cell and the average value of the remaining centerline offsets is calculated, and the third difference is determined as the replenished electricity amount of the target battery cell; based on the target battery cell The target battery cell is replenished with the replenishment amount, and the centerline offset and the average value of the centerline offset of the target battery cell are recalculated; the fourth difference between each centerline offset and the average value of the centerline offset is calculated, and each fourth difference is determined to be the second replenishment amount of the corresponding battery cell; it is determined whether the sum of the first replenishment amounts is greater than the sum of the second replenishment amounts and the replenishment amount of the target battery cell; if greater than, it is determined that the sum of the replenishment amount of the target battery cell and the corresponding second replenishment amount is the final replenishment amount of the target battery cell, and the remaining second replenishment amounts are the final replenishment amounts of the corresponding battery cells; if not greater than, it is determined that the first replenishment amounts are the final replenishment amounts of the corresponding battery cells.
[0130] For example, in the case where the battery cluster has only five cells, cell 1, cell 2, cell 3, cell 4 and cell 5. Figure 3As shown, each grid represents 1Ah, and the dischargeable capacities of the five cells are 3Ah, 2Ah, 1Ah, 3Ah, and 2Ah, respectively, and the dischargeable capacities are 8Ah, 7Ah, 9Ah, 9Ah, and 8Ah, respectively. At this time, the minimum cell capacity of the battery cluster is 9Ah of cell 2, the minimum dischargeable capacity is 1Ah of cell 3, and the minimum chargeable capacity is 7Ah of cell 2. The second preset threshold of the battery cluster is 0.95, and conf=(1+7) / 9=0.889 is less than the second preset threshold, so the battery cluster needs to be recharged.
[0131] Furthermore, cell 3 is determined as the target cell of the battery cluster. The centerline offset, the average centerline offset and the average remaining centerline offset of each cell are calculated in turn by the above formula. The centerline offsets of the five cells are 2.5, 2.5, 4, 3, and 3 respectively; the average centerline offset is 3; and the average remaining centerline offset is 2.75.
[0132] The first method uses a method of directly calculating the final replenishment amount of each battery cell, and the first replenishment amount of each battery cell is -0.5, -0.5, 1, 0, 0 in sequence.
[0133] The second method is to first charge the target battery cell and then calculate the charge amount of all the battery cells. According to the above formula, the second charge amount of the target battery cell 3 is 1.25, and the second charge amounts of the remaining battery cells are -0.25, -0.25, 0.25, and 0.25 respectively.
[0134] It is understandable that both of the above two methods can achieve the goal of conf of the battery cluster being 1, so it is necessary to determine the final replenishment amount of each battery cell by comparing the total replenishment amount of the two methods. At this time, the first method has 3 batteries to be replenished or discharged, and the total ampere-hour is 0.5+0.5+1=2Ah, and the second method finally has 5 batteries to be replenished or discharged, and the total ampere-hour is 0.25+0.25+1.25+0.25+0.25=2.25Ah, so the first solution is selected for replenishment.
[0135] It should be noted that, considering the convenience of actual operation, the threshold can be set according to the actual situation, and the battery cells with a replenishment amount less than the threshold will not be replenished or discharged. For example, the battery cells with a replenishment amount less than 0.5Ah mentioned above will not be replenished or discharged. The second solution only requires replenishing the single cell 3 with a replenishment amount of 1.25. Although the final conf=(1.75+7) / 9=0.978 is still within the second preset threshold, and replenishing only one battery cell can greatly improve the consistency of the amount of electricity, which can be selected in practice.
[0136] Among them, the specific implementation process of the above steps S21 to S23 can refer to the corresponding content disclosed in the above embodiments, and will not be repeated here.
[0137] From the above, it can be concluded that when only a single battery cell has a very low charge, the battery cell is determined as the target battery cell, and the amount of replenishment required for the target battery cell is determined based on the average value of the remaining centerline offsets of other battery cells. After the target battery cell is replenished, the final replenishment amount of each battery cell is determined for all battery cells according to the difference between the updated centerline offset and the average value of the centerline offset. This can not only accurately calculate the final replenishment amount of each battery cell, but also reduce the sum of the final replenishment amounts when only a single battery cell has a low charge.
[0138] Accordingly, see Figure 4 As shown, the embodiment of the present application also provides a storage battery replenishment amount calculation device, which is applied to a physical machine and may include:
[0139] The power acquisition module 11 is used to acquire the dischargeable power and chargeable power of each battery cell in the battery cluster; wherein the dischargeable power is the current power of the battery cell, and the chargeable power is the difference between the battery cell capacity and the current power of the battery cell;
[0140] An offset determination module 12 is used to calculate a first difference between the chargeable amount and the dischargeable amount of each battery cell, and determine half of the first difference as a centerline offset of each battery cell;
[0141] An average value calculation module 13, used to calculate an average value of all the center line offsets in the battery cluster, and determine the average value as the center line offset average value;
[0142] The replenishment amount determination module 14 is used to determine the replenishment amount of each of the battery cells according to each of the center line offsets and the center line offset.
[0143] As can be seen from the above, when calculating the replenishment amount corresponding to each battery cell, the present application only needs to obtain the dischargeable amount and chargeable amount corresponding to each battery cell to calculate the replenishment amount, which is not limited by the SOC size. In addition, based on the dischargeable amount and chargeable amount of each battery cell in the battery cluster, where the dischargeable amount is the current power of the battery cell, and the sum of the dischargeable amount and the chargeable amount is the actual power of the battery cell, the difference between the centerline offset corresponding to each battery cell and the average value of the centerline offset of the battery cluster is determined as the replenishment amount, while taking into account the actual capacity and current power of each battery cell, the calculated replenishment amount can be made more accurate.
[0144] In some specific implementations, the replenishment amount determination module 14 includes:
[0145] The first replenishment amount determination unit is used to calculate the second difference between each of the center line offsets and the average of the center line offsets, and determine each of the second differences as the replenishment amount of the corresponding battery cell as the final replenishment amount of each battery cell.
[0146] In some specific implementations, the replenishment amount determination module 14 includes:
[0147] A first battery cell determining unit, configured to determine, based on the dischargeable amount and the chargeable amount, the battery cell corresponding to the capacity short board in the battery cluster as a target battery cell;
[0148] A first average value determining unit, configured to determine an average value of remaining center line offsets based on all the remaining center line offsets in the battery cluster except the center line offset corresponding to the target battery cell;
[0149] A first replenishment amount acquisition unit, used for calculating a third difference between the center line offset of the target battery cell and the average value of the remaining center line offsets, and determining the third difference as the replenishment amount of the target battery cell;
[0150] a first battery cell charging unit, configured to charge the target battery cell based on the charging amount of the target battery cell, and recalculate the centerline offset of the target battery cell and the average value of the centerline offset;
[0151] The second replenishment amount determination unit is used to calculate the fourth difference between each of the center line offsets and the average of the center line offsets, and determine the replenishment amount of each of the fourth differences corresponding to the battery cell as the final replenishment amount of each battery cell.
[0152] Wherein, the battery cell determination unit specifically includes:
[0153] A capacity comparison subunit, used to determine whether the cell capacities of the cell are equal; wherein the cell capacity is the sum of the dischargeable capacity and the chargeable capacity of the cell;
[0154] a first target battery cell determination subunit, configured to determine the battery cell with the smallest battery cell capacity as the target battery cell if the battery cell capacities are not equal;
[0155] A threshold judgment unit, configured to judge whether the sum of the dischargeable capacities is greater than a first preset threshold if the capacities of the battery cells are equal;
[0156] a second target battery cell determination subunit, configured to determine the battery cell with the smallest chargeable capacity as the target battery cell if the sum of the dischargeable capacities is greater than the first preset threshold;
[0157] The third target battery cell determination subunit is configured to determine the battery cell with the smallest dischargeable capacity as the target battery cell if the sum of the dischargeable capacities is not greater than the first preset threshold.
[0158] In some specific implementations, the replenishment amount determination module 14 includes:
[0159] A first replenishment amount calculation unit, configured to determine that each of the first differences is a first replenishment amount corresponding to the battery cell by calculating a first difference between each of the center line offsets and an average value of the center line offsets;
[0160] A second target cell determining unit, configured to determine a target cell based on the dischargeable amount and the chargeable amount;
[0161] A second average value determining unit, configured to determine an average value of remaining center line offsets based on all the remaining center line offsets in the battery cluster except the center line offset corresponding to the target battery cell;
[0162] A second replenishment amount acquisition unit, used for calculating a second difference between the center line offset of the target battery cell and the average value of the remaining center line offsets, and determining the second difference as the replenishment amount of the target battery cell;
[0163] A second battery cell charging unit, configured to charge the target battery cell based on the charging amount of the target battery cell, and recalculate the centerline offset of the target battery cell and the average value of the centerline offset;
[0164] A second replenishment amount calculation unit, used for calculating a third difference between each of the center line offsets and the average of the center line offsets, and determining each of the third differences as a second replenishment amount corresponding to the battery cell;
[0165] a replenishment amount comparison unit, used for judging whether the sum of the first replenishment amounts is greater than the sum of the second replenishment amounts and the replenishment amount of the target battery cell;
[0166] A third replenishment amount determination unit is used to determine that if it is greater than, then the sum of the replenishment amount of the target battery cell and the second replenishment amount corresponding to it is the final replenishment amount of the target battery cell, and the remaining second replenishment amounts are the final replenishment amounts of the corresponding battery cells;
[0167] The fourth replenishment amount determining unit is configured to determine, if the first replenishment amount is not greater than, each of the first replenishment amounts as the final replenishment amount of the corresponding battery cell.
[0168] In some specific implementations, after the power acquisition module 11, it also includes:
[0169] a preset condition determination unit, used to determine whether the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition;
[0170] The fifth replenishment amount determination unit is used to determine the steps of the offset determination module 12 if the conditions are met, so as to calculate the replenishment amount of each battery cell.
[0171] Wherein, the preset condition judgment unit specifically includes:
[0172] a minimum capacity determination subunit, configured to calculate the cell capacity of each of the cell based on the dischargeable capacity and the chargeable capacity of each of the cell, and respectively determine the minimum dischargeable capacity, the minimum chargeable capacity and the minimum cell capacity in the battery cluster;
[0173] a ratio calculation subunit, used for calculating the ratio of the sum of the minimum dischargeable amount and the minimum chargeable amount to the minimum battery cell capacity;
[0174] A threshold judgment subunit, used to judge whether the ratio is less than a second preset threshold;
[0175] The inconsistency determination subunit is used to determine that the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition.
[0176] In a specific implementation, the power acquisition module 11 includes:
[0177] A data acquisition unit, used to acquire real-time monitoring data in the BMS;
[0178] The power acquisition unit is used to determine the dischargeable amount and the chargeable amount based on the implementation detection data.
[0179] A cell state acquisition unit, used to acquire the open circuit voltage and cell capacity of each of the cell;
[0180] A dischargeable capacity determination unit, configured to obtain the dischargeable capacity of the battery cell based on the open circuit voltage and in comparison with a SOC-OCV curve;
[0181] The chargeable capacity determination unit is used to calculate a second difference between the cell capacity of the cell and the dischargeable capacity of the cell, and determine the second difference as the chargeable capacity of the cell.
[0182] Furthermore, the present application also discloses an electronic device. Figure 5It is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input and output interface 25 and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the energy storage battery replenishment calculation method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment can specifically be an electronic computer.
[0183] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0184] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0185] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the energy storage battery replenishment calculation method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.
[0186] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0187] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0188] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0189] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0190] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for calculating the amount of energy storage battery replenishment, characterized in that: include: Obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster; wherein the dischargeable capacity is the current capacity of the battery cell, and the chargeable capacity is the difference between the battery cell capacity and the current capacity of the battery cell; Calculating a first difference between the chargeable amount and the dischargeable amount of each battery cell, and determining half of the first difference as a centerline offset of each battery cell; Calculating an average value of all the centerline offsets in the battery cluster, and determining the average value as a centerline offset average value; The final replenishment amount of each of the battery cells is determined according to each of the center line offsets and an average value of the center line offsets.
2. The method for calculating the amount of energy storage battery replenishment according to claim 1, characterized in that: The determining the final replenishment amount of each of the battery cells according to each of the center line offsets and the average value of the center line offsets includes: A second difference between each of the center line offsets and the average of the center line offsets is calculated, and each of the second differences is determined as the replenishment amount of the corresponding battery cell as the final replenishment amount of each battery cell.
3. The method for calculating the amount of energy storage battery replenishment according to claim 1, characterized in that: The determining the final replenishment amount of each of the battery cells according to each of the center line offsets and the average value of the center line offsets includes: Based on the dischargeable amount and the chargeable amount, determining the battery cell corresponding to the capacity short board in the battery cluster as the target battery cell; Determine an average value of remaining centerline offsets based on all the remaining centerline offsets in the battery cluster except the centerline offset corresponding to the target battery cell; Calculating a third difference between the centerline offset of the target battery cell and the average value of the remaining centerline offsets, and determining the third difference as the replenishment amount of the target battery cell; Recharge the target battery cell based on the replenishment amount of the target battery cell, and recalculate the centerline offset of the target battery cell and the average value of the centerline offset; A fourth difference between each of the center line offsets and the average of the center line offsets is calculated, and each of the fourth differences is determined as a final replenishment amount of the corresponding battery cell.
4. The method for calculating the amount of energy storage battery replenishment according to claim 1, characterized in that: The determining the final replenishment amount of each of the battery cells according to each of the center line offsets and the average value of the center line offsets includes: By calculating the second difference between each of the center line offsets and the average value of the center line offsets, determining each of the second differences as a first replenishment amount corresponding to the battery cell; Based on the dischargeable amount and the chargeable amount, determining the battery cell corresponding to the capacity short board in the battery cluster as the target battery cell; Determine an average value of remaining centerline offsets based on all the remaining centerline offsets in the battery cluster except the centerline offset corresponding to the target battery cell; Calculating a third difference between the centerline offset of the target battery cell and the average value of the remaining centerline offsets, and determining the third difference as the replenishment amount of the target battery cell; Recharge the target battery cell based on the replenishment amount of the target battery cell, and recalculate the centerline offset of the target battery cell and the average value of the centerline offset; Calculating a fourth difference between each of the center line offsets and the average of the center line offsets, and determining each of the fourth differences as a second replenishment amount corresponding to the battery cell; Determine whether the sum of the first replenishment amounts is greater than the sum of the second replenishment amounts and the replenishment amount of the target battery cell; If it is greater than, determining that the sum of the target battery cell's replenishment amount and its corresponding second replenishment amount is the final replenishment amount of the target battery cell, and the remaining second replenishment amounts are the final replenishment amounts of the corresponding battery cells; If not, then each of the first replenishment amounts is determined to be the final replenishment amount of the corresponding battery cell.
5. The method for calculating the amount of energy storage battery replenishment according to claim 3, characterized in that: The step of determining, based on the dischargeable amount and the chargeable amount, the battery cell corresponding to the capacity short board in the battery cluster as the target battery cell comprises: Determining whether the cell capacities of the cell are equal; If the cell capacities are not equal, determining the cell with the smallest cell capacity as the target cell; If the cell capacities are equal, determining whether the sum of the dischargeable capacities is greater than a first preset threshold; If the sum of the dischargeable capacities is greater than the first preset threshold, determining the battery cell with the smallest chargeable capacity as the target battery cell; If the sum of the dischargeable capacities is not greater than a first preset threshold, the battery cell with the smallest dischargeable capacity is determined as the target battery cell.
6. The method for calculating the amount of energy storage battery replenishment according to claim 1, characterized in that: After obtaining the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster, the method further includes: Determining whether the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition; If the conditions are met, it is determined that the battery cluster has inconsistent power, and the step of determining the centerline offset of each battery cell based on the dischargeable power and the chargeable power is entered to calculate the replenishment power of each battery cell.
7. The method for calculating the amount of energy storage battery replenishment according to claim 6, characterized in that: The determining whether the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition includes: Based on the dischargeable amount and the chargeable amount of each of the battery cells, the cell capacity of each of the battery cells is calculated, and the minimum dischargeable amount, the minimum chargeable amount and the minimum cell capacity in the battery cluster are determined respectively; Calculating the ratio of the sum of the minimum dischargeable amount and the minimum chargeable amount to the minimum battery cell capacity; Determining whether the ratio is less than a second preset threshold; If so, it is determined that the dischargeable amount and the chargeable amount in the battery cluster meet a preset condition.
8. The method for calculating the amount of energy storage battery replenishment according to claim 1, characterized in that: The obtaining of the dischargeable capacity and chargeable capacity of each battery cell in the battery cluster includes: Obtain real-time monitoring data in BMS; Based on the implemented detection data, the dischargeable amount and the chargeable amount are determined. Or, obtaining the open circuit voltage and cell capacity of each of the battery cells; Based on the open circuit voltage, comparing the SOC-OCV curve to obtain the dischargeable capacity of the battery cell; A second difference between the cell capacity of the cell and the dischargeable amount of the cell is calculated, and the second difference is determined as the chargeable amount of the cell.
9. A device for calculating the amount of energy storage battery replenishment, characterized in that: include: A power acquisition module, used to acquire the dischargeable power and chargeable power of each battery cell in the battery cluster; wherein the dischargeable power is the current power of the battery cell, and the chargeable power is the difference between the battery cell capacity and the current power of the battery cell; An offset determination module, used for calculating a first difference between the chargeable amount and the dischargeable amount of each battery cell, and determining half of the first difference as a centerline offset of each battery cell; an average value calculation unit, used to calculate an average value of all the center line offsets in the battery cluster, and determine the average value as the center line offset average value; A replenishment amount determination unit is used to determine the replenishment amount of each of the battery cells according to each of the center line offsets and the center line offset.
10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the method for calculating the amount of energy storage battery replenishment as described in any one of claims 1 to 8.