Battery cell SOC estimation method, device, server, and storage medium
By calculating the actual internal resistance and reference internal resistance of the battery cell, using the least squares method and internal resistance database, the problem of inaccurate calculation of SOC in the battery pack is solved, and the accurate calculation of SOC in the battery cell is realized. It is suitable for a variety of battery systems .
Patent Information
- Application Number
- PCT/CN2023/121481
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2023-09-26
- Publication Date
- 2024-12-05
AI Technical Summary
The prior art cannot accurately calculate the SOC of a single battery cell in the battery pack, and ignores the difference in the battery cell state, resulting in inaccurate calculation of the SOC of the battery pack.
By obtaining the actual internal resistance and reference internal resistance of the battery cell, using the least squares method to calculate the actual capacity and initial SOC of the battery cell, establishing an internal resistance database to obtain the reference internal resistance under different charging conditions, and avoiding user charging conditions and battery system Influence.
It realizes accurate calculation of battery cell SOC and is suitable for a variety of battery systems, avoids deviations in calculation results, and improves the refined management capabilities of the battery management system.
Smart Images

Figure CN2023121481_05122024_PF_FP_ABST
Abstract
Description
Battery cell SOC estimation method, device, server and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202310640069.X and application date May 31, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present invention relates to the technical field of battery management systems, and in particular to a method, device, server and storage medium for estimating the SOC of a battery cell. Background Art
[0004] Due to differences in cell capacity, SOC (State of Charge) when paired, and varying degradation rates of individual cells during use, the SOC of each cell within a battery pack varies. The SOC of a single cell within a battery pack is a crucial parameter for accurately identifying the operating status of each cell and calculating the total SOC of the battery pack. It is also a crucial tool and basis for refined management by the BMS (Battery Management System).
[0005] At present, there is no mature method to accurately calculate the SOC of a single cell in a battery pack. In the related technology, the HPPC (Hybrid Pulse Power Characteristic) is combined with the small current discharge method to obtain the OCV (Open circuit voltage) curve, and the SOC is estimated based on the SOC-OCV curve and the EKF (Extended Kalman Filter) algorithm. However, this method can be used to estimate the SOC of a single cell and cannot be extended to the estimation of the SOC of a single cell in a battery pack. Another related technology estimates the SOC of a battery pack by identifying characteristic parameters online, but this method ignores the differences in the states of the cells in the battery pack and regards the calculated SOC of the battery pack as the SOC of a single cell.
[0006] Summary of the Invention
[0007] One of the objects of the present invention is to provide a method for estimating the SOC of a battery cell, so as to solve the problem that the battery cell SOC calculation method in the prior art is affected by the battery system and the user's charging conditions and cannot accurately calculate the SOC of the battery cells in the battery pack; the second object is to provide another method for estimating the SOC of a battery cell; the third object is to provide a device for estimating the SOC of a battery cell; the fourth object is to provide another device for estimating the SOC of a battery cell; the fifth object is to provide a server; and the sixth object is to provide a computer-readable storage medium.
[0008] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0009] A method for estimating the state of charge (SOC) of a battery cell, applied to a server, wherein the method comprises the following steps: obtaining the actual internal resistance of the battery cell under arbitrary charging conditions; querying a pre-established internal resistance database using the arbitrary charging conditions as an index, and outputting a reference internal resistance of the battery cell under the arbitrary charging conditions; calculating the actual capacity and initial state of charge (SOC) of the battery cell based on the actual internal resistance of the battery cell under the arbitrary charging conditions and the reference internal resistance, and calculating the actual SOC of the battery cell during the charging process using the actual capacity and initial SOC.
[0010] According to the above technical means, the embodiment of the present application can calculate the actual capacity and initial state of charge SOC of the battery cell by comparing the actual internal resistance of the battery cell with the reference internal resistance, and then calculate the actual SOC based on the actual capacity and the initial state of charge SOC. Since a pre-established internal resistance database is utilized, the reference internal resistance of the battery cell under any charging condition can be obtained, thereby avoiding the influence of the user's charging conditions and battery system on the calculation results. It is effectively applicable to a variety of battery systems and realizes accurate calculation of the SOC of the battery cell.
[0011] Furthermore, the calculating the actual capacity and the initial state of charge SOC of the battery cell based on the actual internal resistance and the reference internal resistance includes: calculating the root mean square error between the actual internal resistance and the reference internal resistance of the battery cell under any charging condition; determining an objective function based on the root mean square error, and finding an optimal solution for the objective function through the least squares method to obtain the actual capacity and initial SOC of the arbitrary battery cell.
[0012] According to the above technical means, the embodiment of the present application can calculate the root mean square error between the actual internal resistance of the battery cell and the reference internal resistance, use the root mean square error as the objective function, and optimize through the least squares method to accurately calculate the actual capacity and initial state of charge SOC of the battery cell.
[0013] Furthermore, the calculation of the root mean square error between the actual internal resistance and the reference internal resistance of the battery cell under any charging condition includes: establishing an expression between the internal resistance, SOC and capacity of the battery cell; and calculating the root mean square error between the actual internal resistance and the reference internal resistance according to the expression.
[0014] According to the above technical means, the embodiment of the present application can establish the relationship between the internal resistance of the battery cell, the charging SOC and the battery cell capacity, so as to calculate the root mean square error between the actual internal resistance of the battery cell and the reference internal resistance.
[0015] Furthermore, before querying the pre-established internal resistance database, it also includes: constructing a characterization test matrix of temperature and charging current; obtaining a charging characterization curve under different charging conditions according to the characterization test matrix, and performing linear regression processing on the charging characterization curve to obtain an electromotive force curve; calculating the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtaining a reference internal resistance under different charging conditions according to the overpotential calculation, and establishing the internal resistance database according to the reference internal resistance under the different charging conditions.
[0016] According to the above technical means, the embodiment of the present application obtains the charging characterization curve under different charging conditions through the constructed characterization test matrix, uses the linear regression algorithm to calculate the battery electromotive force curve, calculates the overpotential of the battery cell based on the charging characterization curve and the electromotive force curve, and finally obtains the reference internal resistance based on the overpotential calculation, and establishes an internal resistance database so that the reference internal resistance under different charging conditions can be subsequently queried using the internal resistance database.
[0017] Furthermore, performing linear regression processing on the charging characterization curve to obtain an electromotive force curve includes: obtaining a maximum charging capacity corresponding to the charging characterization curve; determining a step size of a capacity interval corresponding to each charging voltage curve based on the maximum charging capacity, and dividing the capacity interval into a plurality of grids based on the step size; calculating a voltage value in each grid when the current is a preset value by interpolation and extrapolation, and generating the electromotive force curve after normalizing all voltage values.
[0018] According to the above technical means, the embodiment of the present application can divide the charging voltage curve into the step size of the capacity interval according to the maximum charging capacity, divide the capacity interval into multiple grids by the step size, calculate the voltage value by interpolation and extrapolation, and normalize it to obtain the electromotive force curve.
[0019] Furthermore, obtaining the charging characterization curves under different charging conditions according to the characterization test matrix includes: discharging to a preset cutoff voltage under a first charging condition and then standing for a first preset time; discharging to a preset cutoff voltage under a second charging condition, recording the charging characterization curve and standing for a second preset time; discharging to a preset cutoff voltage under the first charging condition and then performing a charging test under the next charging condition, until all charging conditions are tested, thereby obtaining the charging characterization curves under different charging conditions.
[0020] According to the above technical means, the embodiment of the present application can obtain corresponding charging characterization curves by testing different charging conditions.
[0021] Furthermore, the charging conditions include one or more of temperature, charging rate, current and SOC.
[0022] A method for estimating the state-of-charge (SOC) of a battery cell is disclosed, the method being applied to a server. The method comprises the following steps: constructing a characterization test matrix of temperature and charging current; obtaining charging characterization curves under different charging conditions according to the characterization test matrix, and performing linear regression processing on the charging characterization curves to obtain electromotive force curves; calculating the overpotential of the battery cell according to the charging characterization curves and the electromotive force curves, obtaining reference internal resistances under different charging conditions according to the overpotential calculation, and establishing an internal resistance database according to the reference internal resistances under different charging conditions; using the internal resistance database to query the reference internal resistance of the battery cell under any charging condition, calculating the actual capacity and initial state of charge (SOC) of the battery cell according to the actual internal resistance of the battery cell under the arbitrary charging condition and the reference internal resistance, and calculating the actual SOC corresponding to the battery cell during the charging process according to the actual capacity and the initial SOC.
[0023] A device for estimating the state of charge (SOC) of a battery cell, the device being applied to a server, wherein the device comprises: an acquisition module for acquiring the actual internal resistance of a battery cell under any charging condition; an output module for querying a pre-established internal resistance database using the arbitrary charging condition as an index, and outputting a reference internal resistance of the battery cell under the arbitrary charging condition; and a first calculation module for calculating the actual capacity and initial state of charge (SOC) of the battery cell based on the actual internal resistance and the reference internal resistance of the battery cell under the arbitrary charging condition, and calculating the actual SOC of the battery cell during charging using the actual capacity and initial SOC.
[0024] Furthermore, the first calculation module is further used to: calculate the root mean square error between the actual internal resistance of the battery cell under any charging condition and the reference internal resistance; determine the objective function based on the root mean square error, and find the optimal solution for the objective function through the least squares method to obtain the actual capacity and initial state of charge SOC of the arbitrary battery cell.
[0025] Furthermore, the first calculation module is further used to: establish an expression between the internal resistance, SOC and capacity of the battery cell; and calculate the root mean square error between the actual internal resistance and the reference internal resistance based on the expression.
[0026] Furthermore, it also includes: a third calculation module, which is used to construct a characterization test matrix of temperature and charging current before querying a pre-established internal resistance database; obtain a charging characterization curve under different charging conditions according to the characterization test matrix, and perform linear regression processing on the charging characterization curve to obtain an electromotive force curve; calculate the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtain a reference internal resistance under different charging conditions according to the overpotential calculation, and establish the internal resistance database according to the reference internal resistance under the different charging conditions.
[0027] Furthermore, the third calculation module is further used to: obtain the maximum charging capacity corresponding to the charging characterization curve; determine the step size of the capacity interval corresponding to each charging voltage curve according to the maximum charging capacity, and divide the capacity interval into multiple grids according to the step size; calculate the voltage value when the current in each grid is a preset value by interpolation and extrapolation, and generate the electromotive force curve after normalizing all voltage values.
[0028] Furthermore, the third calculation module is further used to: after discharging to a preset cutoff voltage under a first charging condition, stand for a first preset time; after discharging to a preset cutoff voltage under a second charging condition, record a charging characterization curve and stand for a second preset time; discharge to a preset cutoff voltage under the first charging condition, and perform a charging test under the next charging condition, until all charging conditions are tested and the charging characterization curves under different charging conditions are obtained.
[0029] Furthermore, the charging conditions include one or more of temperature, charging rate, current and SOC.
[0030] A device for estimating the SOC of a battery cell, the device being applied to a server, wherein the device comprises: a construction module for constructing a characterization test matrix of temperature and charging current; a processing module for obtaining a charging characterization curve under different charging conditions based on the characterization test matrix, and performing linear regression processing on the charging characterization curve to obtain an electromotive force curve; an establishment module for calculating the overpotential of the battery cell based on the charging characterization curve and the electromotive force curve, obtaining a reference internal resistance under different charging conditions based on the overpotential calculation, and establishing the internal resistance database based on the reference internal resistance under different charging conditions; a second calculation module for using the internal resistance database to query the reference internal resistance of the battery cell under any charging condition, calculating the actual capacity and initial state of charge (SOC) of the battery cell based on the actual internal resistance of the battery cell under the arbitrary charging condition and the reference internal resistance, and calculating the actual SOC corresponding to the battery cell during the charging process using the actual capacity and the initial SOC.
[0031] A server comprises: 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 estimating the SOC of a battery cell as described in any one of the above embodiments.
[0032] A computer-readable storage medium stores a computer program, which is executed by a processor to implement the method for estimating the SOC of a battery cell as described in any one of the above embodiments.
[0033] Beneficial effects of the present invention:
[0034] (1) The embodiments of the present application can calculate the actual capacity and initial state of charge (SOC) of any battery cell by comparing the actual internal resistance of the battery cell with the reference internal resistance, and then calculate the actual SOC based on the actual capacity and the initial state of charge (SOC). Since a pre-established internal resistance database is utilized, the reference internal resistance of the battery cell under any charging condition can be obtained, thereby avoiding the influence of the user's charging conditions and the battery system on the calculation results. The embodiment of the present application is effectively applicable to a variety of battery systems, and realizes the accurate calculation of the SOC of the battery cell.
[0035] (2) The embodiment of the present application can calculate the root mean square error between the actual internal resistance of the battery cell and the reference internal resistance, use the root mean square error as the objective function, and use the least squares method to find the optimal solution to accurately calculate the actual capacity and initial state of charge SOC of the battery cell.
[0036] (3) The embodiment of the present application can establish the relationship between the internal resistance of the battery cell, the charging SOC and the battery cell capacity, so as to calculate the root mean square error between the actual internal resistance of the battery cell and the reference internal resistance.
[0037] (4) In the embodiment of the present application, a characterization test matrix is constructed to obtain the charging characterization curve under different charging conditions, and a linear regression algorithm is used to calculate the battery electromotive force curve. The overpotential of the battery cell is calculated based on the charging characterization curve and the electromotive force curve. Finally, the reference internal resistance is calculated based on the overpotential, and an internal resistance database is established so that the reference internal resistance under different charging conditions can be subsequently queried using the internal resistance database.
[0038] (5) In the embodiment of the present application, the charging voltage curve can be divided into the step size of the capacity interval according to the maximum charging capacity, and the capacity interval can be divided into multiple grids by the step size. The voltage value is calculated by interpolation and extrapolation, and the voltage value is normalized to obtain the electromotive force curve.
[0039] (6) The embodiment of the present application can obtain corresponding charging characterization curves by testing different charging conditions.
[0040] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] FIG1 is a flow chart of a method for estimating a battery cell SOC according to an embodiment of the present invention;
[0042] FIG2 is a schematic diagram of charging characterization curves under different charging current conditions provided by an embodiment of the present invention;
[0043] FIG3 is a normalized charging characterization curve and electromotive force curve provided by an embodiment of the present invention;
[0044] FIG4 is a charging current curve and a corresponding voltage curve of an LFP battery cell under actual charging conditions provided by an embodiment of the present invention;
[0045] FIG5 is a flow chart of a method for estimating a battery cell SOC according to an embodiment of the present invention;
[0046] FIG6 is a charging voltage curve obtained under different charging current conditions according to an embodiment of the present invention;
[0047] FIG7 is a normalized charging characterization curve and electromotive force curve provided by one embodiment of the present invention;
[0048] FIG8 is an internal resistance curve of an LFP battery under different current conditions at 20° C. provided by one embodiment of the present invention;
[0049] FIG9 is a charging current curve and a corresponding voltage curve of an LFP battery pack under actual charging conditions provided by one embodiment of the present invention;
[0050] FIG10 shows the variation range of the SOC value of each cell and the corresponding voltage variation curve during actual charging of an LFP battery pack provided by one embodiment of the present invention;
[0051] FIG11 is a flow chart of a method for estimating a battery cell SOC according to another embodiment of the present invention;
[0052] FIG12 is an exemplary diagram of a device for estimating a battery cell SOC according to an embodiment of the present invention;
[0053] FIG13 is a schematic diagram of a device for estimating a battery cell SOC according to another embodiment of the present invention;
[0054] FIG14 is a schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.
[0056] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0057] Specifically, FIG1 is a flow chart of a method for estimating a battery cell SOC provided in an embodiment of the present application.
[0058] As shown in FIG1 , the battery cell SOC estimation method, applied to a server, includes the following steps:
[0059] In step S101 , the actual internal resistance of the battery cell under any charging condition is obtained.
[0060] The battery cell may be any battery cell, such as a battery cell in an LFP battery pack, a nickel-metal hydride battery cell, a lithium battery cell, etc.; the charging conditions include one or more of temperature, charge rate, current and SOC.
[0061] In step S102 , a pre-established internal resistance database is searched with any charging condition as an index, and a reference internal resistance of the battery cell under any charging condition is output.
[0062] The internal resistance database stores the relationship between charging conditions and reference internal resistance (standard internal resistance), and the specific establishment steps are described in the following embodiments.
[0063] It is understandable that the embodiment of the present application can query the corresponding reference internal resistance in a pre-established internal resistance database through charging conditions, so as to subsequently calculate the actual capacity and initial state of charge of the battery cell.
[0064] In an embodiment of the present application, before querying a pre-established internal resistance database, it also includes: constructing a characterization test matrix of temperature and charging current; obtaining a charging characterization curve under different charging conditions according to the characterization test matrix, and performing linear regression processing on the charging characterization curve to obtain an electromotive force curve; calculating the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtaining a reference internal resistance under different charging conditions according to the overpotential calculation, and establishing an internal resistance database according to the reference internal resistance under different charging conditions.
[0065] Among them, the characterization test matrix is constructed from two dimensions of temperature and charging current, as shown in Table 1. Table 1 is a characterization test matrix table.
[0066] Table 1
[0067] It can be understood that the embodiments of the present application can construct a characterization test matrix from the two dimensions of temperature and charging current, use the characterization test matrix to obtain the charging characterization curve under different temperature, charging rate, current and SOC conditions, perform linear regression processing on the charging characterization curve to obtain the electromotive force curve, and use overpotential calculation to obtain the reference internal resistance of the battery cell under different temperature, charging rate, current and SOC conditions to establish an internal resistance database.
[0068] In an embodiment of the present application, a charging characterization curve under different charging conditions is obtained according to a characterization test matrix, including: discharging to a preset cutoff voltage under a first charging condition and then standing for a first preset time; discharging to a preset cutoff voltage under a second charging condition, recording a charging characterization curve and standing for a second preset time; discharging to a preset cutoff voltage under the first charging condition and then performing a charging test under the next charging condition, until all charging conditions are tested, thereby obtaining charging characterization curves under different charging conditions.
[0069] Among them, the first charging condition, the second charging condition, the first preset time length and the second preset time length can be set according to specific circumstances and are not limited to this.
[0070] For example, taking the charging characterization at temperature T1 as an example, the test method is as follows:
[0071] 1. Use I01 to discharge at a constant current to the cut-off voltage;
[0072] 2. Let it stand for 1 hour;
[0073] 3. Charge with I11 constant current to the cut-off voltage and record the voltage curve;
[0074] 4. Let it stand for 1 hour;
[0075] 5. Use I01 to discharge at a constant current to the cut-off voltage;
[0076] 6. Let it sit for 1 hour;
[0077] 7. Repeat 1-7, and use charging currents I21, I31, I41, I51, and I61 in sequence.
[0078] The obtained charging characterization curves under different charging current conditions are shown in FIG2 .
[0079] In an embodiment of the present application, a linear regression process is performed on the charging characterization curve to obtain an electromotive force curve, including: obtaining the maximum charging capacity corresponding to the charging characterization curve; determining the step size of the capacity interval corresponding to each charging voltage curve according to the maximum charging capacity, and dividing the capacity interval into multiple grids according to the step size; calculating the voltage value when the current in each grid is a preset value by interpolation and extrapolation, and generating an electromotive force curve after normalizing all voltage values.
[0080] The battery's charging capacity is inversely proportional to the charging current, that is, when the charging current is the smallest, its charging capacity is the largest, and this charging capacity is recorded as q max .
[0081] It is understood that the embodiment of the present application is based on the charging characterization curves under different charging conditions, and the battery electromotive force curve is calculated by a linear regression algorithm. The specific calculation method is as follows:
[0082] Divide the curve in Figure 2 into 100 grids according to the maximum capacity, and the width of each grid is Δq = q max / 100. In each grid, the voltage and current satisfy the following relationship: AI+B=V, (1)
[0083] The coefficients in formula (1) are solved numerically, and the voltage value when the current is 0 is calculated by interpolation and extrapolation. These voltage values are connected to obtain the curve shown by the dotted line in Figure 2. This dotted line is the battery electromotive force curve EMF. The EMF curve corresponds to a maximum capacity value, which is recorded as Q max .
[0084] Normalize the curve in Figure 2 according to the maximum charge capacity and convert the V-Q curve into a V-SOC curve, as shown in Figure 3. The method of horizontal axis conversion is:
[0085] According to the above calculation method, the EMF-SOC curve under different temperature conditions can be calculated.
[0086] Therefore, the method for establishing an internal resistance database using the charging characterization curve obtained through the characterization test and the EMF curve obtained through normalization processing described in the above embodiment is as follows:
[0087] According to the charging characterization curves and EMF curves obtained at different temperatures, the battery overpotential η(SOC) is calculated: η(SOC)=V(SOC)-EMF(SOC), (3)
[0088] Calculate the internal resistance of the battery based on the overpotential value:
[0089] The internal resistance values under different temperatures, currents, and SOCs can be calculated using formula (4), and a standard internal resistance database can be established.
[0090] In step S103 , the actual capacity and initial state of charge (SOC) of the battery cell are calculated according to the actual internal resistance and reference internal resistance of the battery cell under any charging condition, and the actual SOC corresponding to the battery cell during the charging process is calculated using the actual capacity and initial SOC.
[0091] Among them, the actual capacity of the battery cell and the initial state of charge SOC are calculated based on the actual internal resistance and reference internal resistance of the battery cell under any charging condition, including: calculating the root mean square error between the actual internal resistance and the reference internal resistance of the battery cell under any charging condition; determining the objective function based on the root mean square error, and finding the optimal solution of the objective function through the least squares method to obtain the actual capacity and initial state of charge SOC of any battery cell.
[0092] It can be understood that the embodiments of the present application can establish a mathematical relationship between the root mean square error and variables such as the battery cell capacity by calculating the root mean square error between the actual internal resistance and the reference internal resistance, and use the root mean square error as the objective function to calculate the actual capacity of the battery cell and the initial state of charge SOC through the least squares method.
[0093] In an embodiment of the present application, calculating the root mean square error between the actual internal resistance and the reference internal resistance includes: establishing an expression between the internal resistance, SOC and capacity of the battery cell; and calculating the root mean square error between the actual internal resistance and the reference internal resistance based on the expression.
[0094] Specifically, the steps for calculating the root mean square error between the actual internal resistance and the reference internal resistance are as follows. Figure 4 shows the charging current curve and the corresponding voltage curve under actual charging conditions for an LFP battery cell:
[0095] The SOC of the cell numbered i at the start of charging is Its capacity is recorded as The SOC of cell i during the charging process can be calculated using the following formula:
[0096] At this point, the internal resistance of cell i can be calculated using the following formula:
[0097] Substituting formula (5) into formula (6), we can get the internal resistance and capacity of cell i: Functional relationship:
[0098] Calculate the root mean square error between the actual internal resistance of cell i and the reference internal resistance:
[0099] Wherein, j represents the jth sampling point of the current I, and N represents the total number of sampling points of I.
[0100] Finally, the optimal value can be obtained by finding the minimum value of formula (8) and That is, the actual capacity and initial state of charge SOC of battery cell No. i.
[0101] The following is a specific example to illustrate the method for estimating the SOC of a cell capacity according to an embodiment of the present application. Taking the cell of a certain LFP battery pack as an example, the process is shown in FIG5 , and the steps are as follows:
[0102] S1. Calculate the battery electromotive force curve EMF based on characterization test and mathematical linear regression algorithm;
[0103] 1. Construct LFP charging characterization test matrix
[0104] According to the performance reference table of a certain LFP battery cell, a charging test matrix is constructed from the two dimensions of temperature and charging current, as shown in Table 2. Table 2 is a charging characterization test matrix table.
[0105] Table 2
[0106] 2. Characterization test method, obtain charging characterization voltage curve
[0107] Taking the charging characterization at 20°C as an example, the test method is as follows:
[0108] A. Discharge at a constant current of 0.3C to the cut-off voltage;
[0109] B. Let it stand for 1 hour;
[0110] C. Charge at 0.1C constant current to the cut-off voltage and record the voltage curve;
[0111] D. Let it stand for 1 hour;
[0112] E. Discharge at a constant current of 0.3C to the cut-off voltage;
[0113] F. Let it stand for 1 hour;
[0114] G. Repeat CF, with the charging current being 0.2C, 0.3C, 0.5C, 1C, and 2C in sequence;
[0115] H. Calculate the EMF curve.
[0116] After obtaining the voltage curves at different charging rates, the battery electromotive force curve is calculated using a linear regression algorithm. The specific calculation method is as follows:
[0117] The charging voltage curves obtained under different charging current conditions are shown in Figure 6. The charging capacity of the battery when it is charged to the cut-off voltage at a current of 0.1C is 92Ah. The curve in Figure 6 is divided into 100 grids according to Δq = 92Ah / 100 = 0.92Ah. In each grid, the voltage and current satisfy formula (1). The coefficients in formula (1) are solved by numerical methods, and the voltage value when the current is 0 is calculated by interpolation and extrapolation. These voltage values are connected to obtain the curve shown by the dotted line in Figure 6. This dotted line is the battery electromotive force curve, EMF. The EMF curve corresponds to a maximum capacity value, recorded as Q max , the Q of the LFP battery in this embodiment max =92.5Ah.
[0118] According to Q max The curve in Figure X is normalized to convert the V-Q curve into a V-SOC curve, as shown in Figure 7. Based on the above method, the EMF-SOC curve under all temperature conditions can be calculated.
[0119] S2. Obtain the internal resistance under different SOC, temperature, current and other conditions through characterization testing and internal resistance calculation method, and establish a standard internal resistance database;
[0120] Based on the charging characterization curves and EMF curves obtained at different temperatures, the battery overpotential η(SOC) is calculated according to formula (3), and the internal resistance values at different temperatures, currents, and SOCs are calculated according to formula (4). A standard internal resistance database is established. Figure 8 shows the internal resistance curves of the LFP battery under different current conditions at 20°C.
[0121] S3. Calculate the internal resistance of the battery cell under actual charging conditions and establish a mathematical relationship between the internal resistance of the battery cell and the charging SOC and the battery cell capacity;
[0122] The SOC of cell 1 in the LFP battery pack at the start time is recorded as Its capacity is recorded as The SOC of cell 1 during charging can be calculated using the following formula:
[0123] According to formula (7), the mathematical relationship between the internal resistance of cell 1, SOC, and cell capacity can be expressed as:
[0124] S4. Calculate the root mean square error between the actual internal resistance and the standard internal resistance (reference internal resistance), establish a mathematical relationship between the root mean square error and variables such as the cell capacity, and use the root mean square error as the objective function to calculate the cell capacity through least squares mathematical optimization;
[0125] Figure 9 shows the charging current curve and corresponding voltage curve under actual charging conditions for an LFP battery pack. Based on the charging current and voltage curves shown in Figure 9, the root mean square error between the actual internal resistance of cell 1 and the standard internal resistance is calculated:
[0126] Where j represents the jth sampling point of current I, and N represents the total number of sampling points of I. By finding the minimum value of formula (11), the capacity of 1 battery cell can be obtained. and initial The optimal solution of .
[0127] Using the same method, the capacity and initial SOC of cells 2-104 in the LFP battery pack can be obtained, as shown in Tables 3 and 4. Table 3 is the capacity table of all cells in the LFP battery pack, and Table 4 is the initial SOC table of all cells in the LFP battery pack.
[0128] Table 3
[0129] S5. Calculate the actual SOC value of each battery cell based on the initial SOC value and capacity value of each battery cell.
[0130] The cell capacities in Table 3 and Table 4 and initial Substituting into formula (5), the actual SOC of the battery cell at time t is calculated. Based on the actual SOC value of each battery cell, the charging curve shown in Figure 9 can be adjusted to Figure 10, which shows the variation range of the SOC value of each battery cell and the corresponding voltage variation curve during actual charging of the LFP battery pack.
[0131] According to the method for estimating the battery cell SOC proposed in the embodiment of the present application, the actual capacity and initial state of charge SOC of any battery cell can be calculated by comparing the actual internal resistance of the battery cell with the reference internal resistance, and then the actual SOC is calculated based on the actual capacity and the initial state of charge SOC. Since a pre-established internal resistance database is utilized, the reference internal resistance of the battery cell under any charging condition can be obtained, thereby avoiding the influence of the user's charging conditions and the battery system on the calculation results. The method is effectively applicable to a variety of battery systems and realizes accurate calculation of the battery cell SOC.
[0132] Furthermore, the embodiments of the present application also disclose a method for estimating the SOC of a battery cell. The previous embodiment mainly focuses on explaining the estimation process of the SOC of a battery cell from the perspective of online application, and the next embodiment focuses on explaining the estimation process of the SOC of a battery cell from an offline perspective. The incomplete parts of each embodiment can be referenced to each other.
[0133] FIG11 is a flowchart of a method for estimating a battery cell SOC according to another embodiment of the present application.
[0134] As shown in FIG11 , the cell SOC estimation method is applied to a server, wherein the method includes the following steps:
[0135] In step S201 , a characterization test matrix of temperature and charging current is constructed.
[0136] The method of constructing the characterization test matrix has been described in the above embodiment, and reference may be made to the relevant representations of the above embodiment. To avoid redundancy, it will not be described again here.
[0137] In step S202 , charging characterization curves under different charging conditions are obtained according to the characterization test matrix, and linear regression processing is performed on the charging characterization curves to obtain electromotive force curves.
[0138] It can be understood that the embodiment of the present application can obtain the charging characterization curve under different charging conditions through the characterization test matrix, and use the linear regression algorithm to process it to obtain the electromotive force curve, wherein the calculation method has been explained in the above embodiment and will not be repeated here.
[0139] In step S203, the overpotential of the battery cell is calculated according to the charging characterization curve and the electromotive force curve, the reference internal resistance under different charging conditions is calculated according to the overpotential, and an internal resistance database is established according to the reference internal resistance under different charging conditions.
[0140] The calculation method of the overpotential of the battery cell and the reference internal resistance under different charging conditions has been described in the above embodiments and will not be repeated here.
[0141] In step S204, the reference internal resistance of the battery cell under any charging condition is queried using the internal resistance database, the actual capacity and initial state of charge SOC of the battery cell are calculated based on the actual internal resistance of the battery cell under any charging condition and the reference internal resistance, and the actual SOC corresponding to the battery cell during the charging process is calculated using the actual capacity and initial SOC.
[0142] It can be understood that the embodiment of the present application calculates the actual capacity and initial state of charge of any battery cell through the actual internal resistance and the reference internal resistance, and then uses the actual capacity and initial SOC to calculate the actual SOC corresponding to the battery cell during the charging process.
[0143] According to the battery cell SOC estimation method proposed in the embodiment of the present application, the actual capacity and initial state of charge SOC of any battery cell can be calculated by comparing the actual internal resistance of the battery cell with the reference internal resistance, and then the actual SOC is calculated based on the actual capacity and the initial state of charge SOC. The reference internal resistance of the battery cell under any charging condition is obtained by using a pre-established internal resistance database, which avoids the influence of the user's charging conditions and battery system on the calculation results. It is effectively applicable to a variety of battery systems and realizes the accurate calculation of the battery cell SOC.
[0144] Next, a device for estimating the SOC of a battery cell proposed in an embodiment of the present application will be described with reference to the accompanying drawings.
[0145] FIG12 is a block diagram of a device for estimating the SOC of a battery cell according to an embodiment of the present application.
[0146] As shown in FIG12 , the battery cell SOC estimation device 10 is applied to a server and includes: an acquisition module 101 , an output module 102 and a first calculation module 103 .
[0147] Specifically, the acquisition module 101 is used to obtain the actual internal resistance of any battery cell under any charging condition; the output module 102 is used to query a pre-established internal resistance database with any charging condition as an index, and output the reference internal resistance of the battery cell under any charging condition; the first calculation module 103 is used to calculate the actual capacity and initial state of charge SOC of the battery cell based on the actual internal resistance and reference internal resistance of the battery cell under any charging condition, and use the actual capacity and initial SOC to calculate the actual SOC of the battery cell during the charging process.
[0148] In an embodiment of the present application, the first calculation module 103 is further used to: calculate the root mean square error between the actual internal resistance of the battery cell under any charging condition and the reference internal resistance; determine the objective function based on the root mean square error, and find the optimal solution of the objective function through the least squares method to obtain the actual capacity and initial state of charge SOC of any battery cell.
[0149] In the embodiment of the present application, the first calculation module 103 is further used to: establish an expression between the internal resistance, SOC and capacity of the battery cell; and calculate the root mean square error between the actual internal resistance and the reference internal resistance according to the expression.
[0150] In the embodiment of the present application, the device 10 of the present application further includes: a third calculation module.
[0151] Among them, the third calculation module is used to construct a characterization test matrix of temperature and charging current before querying a pre-established internal resistance database; obtain the charging characterization curve under different charging conditions according to the characterization test matrix, and perform linear regression processing on the charging characterization curve to obtain the electromotive force curve; calculate the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtain the reference internal resistance under different charging conditions according to the overpotential calculation, and establish an internal resistance database according to the reference internal resistance under different charging conditions.
[0152] In an embodiment of the present application, the third calculation module is further used to: obtain the maximum charging capacity corresponding to the charging characterization curve; determine the step size of the capacity interval corresponding to each charging voltage curve based on the maximum charging capacity, and divide the capacity interval into multiple grids according to the step size; calculate the voltage value when the current in each grid is a preset value by interpolation and extrapolation, and generate an electromotive force curve after normalizing all voltage values.
[0153] In an embodiment of the present application, the third calculation module is further used to: after discharging to a preset cutoff voltage under a first charging condition, stand for a first preset time; after discharging to a preset cutoff voltage under a second charging condition, record a charging characterization curve and stand for a second preset time; discharge to a preset cutoff voltage under the first charging condition, and perform a charging test under the next charging condition, until all charging conditions are tested and the charging characterization curves under different charging conditions are obtained.
[0154] In the embodiment of the present application, the charging conditions include one or more of temperature, charging rate, current and SOC.
[0155] It should be noted that the above explanations of the embodiment of the method for estimating the battery cell SOC are also applicable to the device for estimating the battery cell SOC of this embodiment, and will not be repeated here.
[0156] According to the battery cell SOC estimation device proposed in the embodiment of the present application, the actual capacity and initial state of charge SOC of any battery cell can be calculated by comparing the actual internal resistance of the battery cell with the reference internal resistance, and then the actual SOC is calculated based on the actual capacity and the initial state of charge SOC. Since a pre-established internal resistance database is utilized, the reference internal resistance of the battery cell under any charging condition can be obtained, avoiding the influence of the user's charging conditions and the battery system on the calculation results. It is effectively applicable to a variety of battery systems and realizes accurate calculation of the battery cell SOC.
[0157] FIG13 is a schematic diagram of a battery cell SOC estimation device according to another embodiment of the present application.
[0158] As shown in FIG13 , the battery cell SOC estimation device 20 is applied to a server and includes: a construction module 201 , a processing module 202 , a creation module 203 and a second calculation module 204 .
[0159] Specifically, the construction module 201 is used to construct a characterization test matrix of temperature and charging current; the processing module 202 is used to obtain the charging characterization curve under different charging conditions according to the characterization test matrix, and perform linear regression processing on the charging characterization curve to obtain the electromotive force curve; the establishment module 203 is used to calculate the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtain the reference internal resistance under different charging conditions according to the overpotential calculation, and establish an internal resistance database according to the reference internal resistance under different charging conditions; the second calculation module 204 is used to use the internal resistance database to query the reference internal resistance of the battery cell under any charging condition, calculate the actual capacity and initial state of charge SOC of the battery cell according to the actual internal resistance and reference internal resistance of the battery cell under any charging condition, and use the actual capacity and initial SOC to calculate the actual SOC corresponding to the battery cell during the charging process.
[0160] It should be noted that the above explanations of the embodiment of the method for estimating the battery cell SOC are also applicable to the device for estimating the battery cell SOC of this embodiment, and will not be repeated here.
[0161] According to the battery cell SOC estimation device proposed in the embodiment of the present application, the actual capacity and initial state of charge SOC of any battery cell can be calculated by comparing the actual internal resistance of the battery cell with the reference internal resistance, and then the actual SOC is calculated based on the actual capacity and the initial state of charge SOC. The reference internal resistance of the battery cell under any charging condition is obtained by using a pre-established internal resistance database, thereby avoiding the influence of the user's charging conditions and battery system on the calculation results. It is effectively applicable to a variety of battery systems and realizes the accurate calculation of the battery cell SOC.
[0162] FIG14 is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server may include:
[0163] Memory 1401 , processor 1402 , and computer programs stored in the memory 1401 and executable on the processor 1402 .
[0164] When the processor 1402 executes the program, the method for estimating the battery cell SOC provided in the above embodiment is implemented.
[0165] Furthermore, the server further includes:
[0166] The communication interface 1403 is used for communication between the memory 1401 and the processor 1402 .
[0167] The memory 1401 is used to store computer programs that can be run on the processor 1402 .
[0168] The memory 1401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0169] If the memory 1401, processor 1402, and communication interface 1403 are implemented independently, the communication interface 1403, memory 1401, and processor 1402 can be interconnected via a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. Buses can be divided into address buses, data buses, control buses, etc. For ease of illustration, FIG14 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.
[0170] Optionally, in a specific implementation, if the memory 1401, the processor 1402 and the communication interface 1403 are integrated on a chip, the memory 1401, the processor 1402 and the communication interface 1403 can communicate with each other through an internal interface.
[0171] The processor 1402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0172] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned method for estimating the SOC of a battery cell when the program is executed by a processor.
[0173] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0174] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Thus, a feature specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this application, "N" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0175] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing a custom logical function or process step, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed in a different order than shown or discussed, including performing functions in a substantially simultaneous manner or in a reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application pertain.
[0176] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiment, the N steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0177] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0178] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for estimating a battery cell SOC, characterized in that: The method is applied to a server, wherein the method comprises the following steps: Get the actual internal resistance of the battery cell under any charging conditions; Using the arbitrary charging condition as an index, querying a pre-established internal resistance database, and outputting a reference internal resistance of the battery cell under the arbitrary charging condition; The actual capacity and the initial state of charge SOC of the battery cell are calculated according to the actual internal resistance and the reference internal resistance of the battery cell under any charging condition, and the actual SOC of the battery cell during the charging process is calculated using the actual capacity and the initial SOC.
2. The method for estimating the battery cell SOC according to claim 1, characterized in that: The calculating the actual capacity and the initial state of charge SOC of the battery cell according to the actual internal resistance and the reference internal resistance includes: Calculate the RMS error between the actual internal resistance of the battery cell and the reference internal resistance under any charging condition; An objective function is determined according to the root mean square error, and an optimal solution is found for the objective function by using a least squares method to obtain an actual capacity and an initial SOC of any battery cell.
3. The method for estimating the battery cell SOC according to claim 2, characterized in that: The calculating of the root mean square error between the actual internal resistance and the reference internal resistance of the battery cell under any charging condition includes: Establish expressions between the internal resistance, SOC and capacity of the battery cell; A root mean square error between the actual internal resistance and the reference internal resistance is calculated according to the expression.
4. The method for estimating the battery cell SOC according to claim 1, characterized in that: Before querying the pre-established internal resistance database, also include: Construct a characterization test matrix of temperature and charging current; Acquire charging characterization curves under different charging conditions according to the characterization test matrix, and perform linear regression processing on the charging characterization curves to obtain electromotive force curves; The overpotential of the battery cell is calculated according to the charging characterization curve and the electromotive force curve, the reference internal resistance under different charging conditions is obtained according to the overpotential calculation, and the internal resistance database is established according to the reference internal resistance under different charging conditions.
5. The method for estimating the battery cell SOC according to claim 4, characterized in that: The step of performing linear regression processing on the charging characterization curve to obtain an electromotive force curve includes: Obtaining a maximum charging capacity corresponding to the charging characterization curve; Determine a step length of a capacity interval corresponding to each charging voltage curve according to the maximum charging capacity, and divide the capacity interval into a plurality of grids according to the step length; The voltage value when the current in each grid is a preset value is calculated by interpolation and extrapolation, and all voltage values are normalized to generate the electromotive force curve.
6. The method for estimating the battery cell SOC according to claim 4, characterized in that: The acquiring the charging characterization curves under different charging conditions according to the characterization test matrix includes: After discharging to a preset cut-off voltage under a first charging condition, the battery is left to stand for a first preset time period; After discharging to a preset cut-off voltage under a second charging condition, recording a charging characterization curve, and standing for a second preset time; Discharging to a preset cut-off voltage under the first charging condition, and performing a charging test under the next charging condition until all charging conditions are tested, thereby obtaining charging characterization curves under different charging conditions.
7. The method for estimating the SOC of a battery cell according to any one of claims 1 to 6, characterized in that: The charging condition includes one or more of temperature, charging rate, current and SOC.
8. A method for estimating a battery cell SOC, characterized in that: The method is applied to a server, wherein the method comprises the following steps: Construct a characterization test matrix of temperature and charging current; Acquire charging characterization curves under different charging conditions according to the characterization test matrix, and perform linear regression processing on the charging characterization curves to obtain electromotive force curves; Calculate the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtain reference internal resistance under different charging conditions according to the overpotential calculation, and establish the internal resistance database according to the reference internal resistance under different charging conditions; The internal resistance database is used to query the reference internal resistance of the battery cell under any charging condition, the actual capacity and the initial state of charge SOC of the battery cell are calculated according to the actual internal resistance of the battery cell under the arbitrary charging condition and the reference internal resistance, and the actual SOC corresponding to the battery cell during the charging process is calculated using the actual capacity and the initial SOC.
9. A battery cell SOC estimation device, characterized in that: The device is applied to a server and includes: An acquisition module is used to obtain the actual internal resistance of any battery cell under any charging conditions; An output module, used to query a pre-established internal resistance database using the arbitrary charging condition as an index, and output a reference internal resistance under the arbitrary charging condition; The first calculation module is used to calculate the actual capacity and initial state of charge SOC of the battery cell according to the actual internal resistance and reference internal resistance of the battery cell under any charging condition, and calculate the actual SOC of the battery cell during the charging process using the actual capacity and initial SOC.
10. A battery cell SOC estimation device, characterized in that: The device is applied to a server and includes: A construction module, used for constructing a characterization test matrix of temperature and charging current; A processing module, used for obtaining charging characterization curves under different charging conditions according to the characterization test matrix, and performing linear regression processing on the charging characterization curves to obtain electromotive force curves; Establishing a module, used to calculate the overpotential of the battery cell according to the charging characterization curve and the electromotive force curve, obtain the reference internal resistance under different charging conditions according to the overpotential calculation, and establish the internal resistance database according to the reference internal resistance under different charging conditions; The second calculation module is used to use the internal resistance database to query the reference internal resistance under any charging condition, calculate the actual capacity and the initial state of charge SOC of the battery cell according to the actual internal resistance under the arbitrary charging condition and the reference internal resistance, and calculate the actual SOC corresponding to the battery cell during the charging process using the actual capacity and the initial SOC.
11. A server, characterized in that: include: 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 estimating the SOC of a battery cell as claimed in any one of claims 1 to 8.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method for estimating the SOC of a battery cell as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Battery capacity quick detection method and battery capacity quick detection system
CN102830361A
Method of building battery DC inner resistance function
CN106154171A
Method and device for estimating SOC of battery, storage medium and vehicle
CN112415410A
Method and device for estimating state of charge of battery, and equipment
CN112986841A
Battery capacity checking method and device and battery equipment
CN115389959A
Cited By
Method and device for predicting initial capacity of energy storage system, equipment and storage medium
CN119917959A
Extension method and system of sodium ion battery uninterruptible power supply
CN119921444A
