Lithium iron phosphate battery SOC estimation method considering charge-discharge alternating hysteresis error
By calibrating and building a transition curve generation model, combined with the adaptive extended Kalman filtering algorithm, the problem of SOC estimation error when the small amount of charge and discharge of lithium iron phosphate batteries is solved, and higher SOC estimation accuracy and more accurate batteries are achieved Status monitoring.
Patent Information
- Application Number
- CN202411241027.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-09-05
AI Technical Summary
The existing SOC estimation method of lithium iron phosphate batteries deviates from the main hysteresis curve during the alternation of small-scale charge and discharge, resulting in an increase in SOC estimation error. The existing hysteresis model mainly focuses on a single working state and ignores the alternating process. Error in.
By calibrating the open circuit voltage boundary curve, charging to discharge transition curve and discharge to charge transition curve, a transition curve generation model is constructed to generate transition curves under any SOC using GAN, and SOC estimation is performed in combination with the adaptive extended Kalman filtering algorithm to update OCV in real time. -SOC curve to reduce error.
The accuracy of SOC estimation of lithium iron phosphate batteries when charging and discharging of small quantities is improved, and the SOC estimation error is reduced. Especially in scenarios such as vehicle braking or inertial gliding, the SOC estimation results are more accurate, with an average error within 1.5%.
Smart Images

Figure CN118938032A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power battery SOC estimation, and in particular to a method for estimating the SOC of a lithium iron phosphate battery taking into account a charge-discharge alternation hysteresis error. Background Art
[0002] Accurately estimating the battery state (SOC) is a crucial task for the battery management system (BMS) of new energy vehicles. The commonly used SOC estimation method is the equivalent circuit method. The SOC estimation based on the equivalent circuit combines the open circuit voltage method and the ampere-hour integration method to achieve closed-loop correction of the SOC on the basis of state estimation. The mapping relationship between SOC and open circuit voltage (OCV) is used as the basis for SOC correction, which greatly affects the accuracy of the estimation result.
[0003] Due to the material properties of lithium iron phosphate batteries, their open circuit voltage curve exhibits a long and gentle plateau period, resulting in a more obvious open circuit voltage hysteresis characteristic than other lithium batteries, making the SOC and OCV mapping relationship of lithium iron phosphate batteries more complicated, making it difficult to obtain an accurate and reliable open circuit voltage curve, and increasing the error of SOC estimation. In order to reduce the SOC estimation error caused by open circuit voltage hysteresis, researchers have established a variety of hysteresis models. The simplest method is to take the midline of the charging boundary and the discharge boundary curve as the open circuit voltage curve, which will lead to a very obvious SOC estimation error. In order to conveniently represent the hysteresis of the open circuit voltage, some researchers introduced a hysteresis factor based on the boundary value to characterize the position of the current state open circuit voltage point from the two boundary curves. For the definition of the hysteresis factor, some are calculated by the normalized integral of the charge throughput, and some are defined based on the SOC cumulative amount of the OCV difference. Some researchers have established hysteresis models based on mathematical models, such as the single-state hysteresis model, the Preisach model, the Plett hysteresis model, etc. However, the existing hysteresis model mainly focuses on the OCV-SOC curve of the lithium iron phosphate battery in a single working state of charging or discharging, that is, it only considers the state of the lithium iron phosphate battery working in the boundary curve, but ignores the problem that the open circuit voltage curve deviates from the main hysteresis curve during the alternating process of small-amount SOC charging and discharging, resulting in an increase in SOC estimation error.
[0004] Therefore, the present invention focuses on the open circuit voltage changes of lithium iron phosphate batteries when electric vehicles are charged and discharged alternately in small amounts in scenarios such as braking or coasting during actual use, and proposes a lithium iron phosphate battery SOC estimation method that takes into account the charge and discharge alternation hysteresis error, which can effectively improve the SOC estimation accuracy of lithium iron phosphate batteries when they are charged and discharged alternately in small amounts. Summary of the invention
[0005] In view of the deficiencies in the prior art, the technical problem to be solved by the present invention is to provide a method for estimating the SOC of a lithium iron phosphate battery taking into account the charge-discharge alternation hysteresis error.
[0006] The present invention solves the technical problem by adopting the following technical solution:
[0007] A method for estimating SOC of a lithium iron phosphate battery considering charge-discharge alternation hysteresis error, characterized in that the method comprises the following steps:
[0008] Step 1: Calibrate the open circuit voltage curve including the open circuit voltage boundary curve, the charge-to-discharge transition curve, and the discharge-to-charge transition curve, and obtain the d value at different SOCs during the charge-to-discharge process and the discharge-to-charge process; d represents the percentage of the distance from the current state of the battery to the original boundary curve before the transition starts in the open circuit voltage curve to the distance between the two boundary curves at the current SOC;
[0009] Step 2: Construct a transition curve generation model to generate a transition curve under any SOC. The transition curve generation model uses GAN to generate multiple simulated d values according to the d value under the SOC closest to the predicted target SOC. Based on these simulated d values, the predicted target SOC and the open-circuit voltage boundary curve, multiple open-circuit voltages in the transition process are obtained, and the transition curve is obtained by curve fitting these open-circuit voltages.
[0010] Step 3: During the operation of the battery, the OCV-SOC curve is updated in real time according to the accumulated SOC. When the accumulated SOC is 0 or reaches the set threshold, the OCV-SOC curve is updated to the boundary curve of the battery operation at the current moment; when the accumulated SOC is between 0 and the set threshold, the OCV-SOC curve maintains the original transition curve unchanged; then, based on the OCV-SOC curve and the battery equivalent circuit model, the SOC of the lithium iron phosphate battery is estimated using the adaptive extended Kalman filter algorithm.
[0011] Compared with the prior art, the present invention has the following beneficial effects:
[0012] The present invention studies the OCV-SOC curve of a lithium iron phosphate battery, focusing on the transition of the OCV-SOC curve between two boundary curves when the battery's charge / discharge working state alternates, quantifies the degree of transition using the d value, and obtains the d value under different SOCs through open circuit voltage curve calibration. The transition curve generation model can be used to generate transition curves under different SOCs, and an OCV-SOC curve that can adapt to changes in the battery working state can be obtained with a small amount of calculation, that is, the OCV-SOC curve is dynamically updated in real time according to the battery working state, thereby improving the accuracy of the OCV-SOC curve. This means that when a small amount of battery SOC (for example, 6% SOC) changes due to the vehicle's brake energy recovery system (for example, energy recovery in braking or coasting scenarios), the battery management system can obtain an OCV-SOC curve that is more in line with the actual operating conditions of the battery. For the SOC estimation of lithium iron phosphate batteries with obvious open circuit voltage hysteresis characteristics, an OCV-SOC curve that is more accurately in line with the battery working state can significantly reduce the SOC estimation error. Therefore, this method has higher SOC estimation accuracy when the lithium iron phosphate battery is alternately charged and discharged in small amounts. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a schematic diagram of the generated transition curve;
[0014] Figure 2 It is the SOC estimation result when the transition curve is at 50% SOC with small amount of charge and discharge alternating;
[0015] Figure 3 It is the SOC estimation result without considering the transition curve when charging and discharging in small amounts alternately at 50% SOC;
[0016] Figure 4 It is the SOC estimation result when the transition curve starts to alternate between small amounts of charge and discharge without interruption at 74% SOC;
[0017] Figure 5 It is the SOC estimation result considering the transition curve under DST condition. DETAILED DESCRIPTION
[0018] Specific embodiments are given below in conjunction with the accompanying drawings. The specific embodiments are only used to further describe the technical solutions of the present invention in detail and do not limit the protection scope of the present application.
[0019] The present invention provides a method for estimating the SOC of a lithium iron phosphate battery taking into account the charge-discharge alternation hysteresis error (hereinafter referred to as the method, see Figures 1 to 5 ), including the following steps:
[0020] Step 1: calibrate the open circuit voltage curve, including the open circuit voltage boundary curve, the charge-to-discharge transition curve, and the discharge-to-charge transition curve;
[0021] The open circuit voltage boundary curve calibration steps are as follows: 1) discharge the battery to the cut-off voltage and let it stand for 2 hours. At this time, the battery SOC is considered to be 0; 2) charge the battery with constant current and constant voltage to 10% SOC, let it stand for 1 hour, and record the open circuit voltage; 3) repeat step 2), charge 10% SOC each time until the battery is fully charged, obtain the open circuit voltage at different SOCs and use the least squares method to perform curve fitting to obtain the charging open circuit voltage boundary curve; 4) discharge the battery with constant current and constant voltage to 10% SOC, let it stand for 1 hour, and record the open circuit voltage; 5) repeat step 4), discharge 10% SOC each time until the battery is fully discharged, obtain the open circuit voltage at different SOCs and use the least squares method to perform curve fitting to obtain the discharge open circuit voltage boundary curve.
[0022] The calibration steps of the charge-discharge transition curve are as follows: 1) discharge the battery to the cut-off voltage and let it stand for 2 hours. At this time, the battery SOC is considered to be 0; 2) the battery is charged to the starting SOC at a constant current of 1 / 3C, and the open circuit voltage is recorded after standing for 1 hour; 3) the battery is discharged at a constant current of 1 / 3C, the discharge capacity is 2% SOC, and the open circuit voltage is recorded after standing for 1 hour; 4) repeat step 3), each time discharging the capacity by 2% SOC, until the total discharge capacity reaches 10% SOC, and the open circuit voltage under different SOCs is obtained and the curve is fitted by the least squares method to obtain the charge-discharge transition curve under the starting SOC; the starting SOC is set to 0.3, 0.4, 0.5, 0.6, 0.7, and 0.8 respectively, and the charge-discharge transition curve under different SOCs is obtained.
[0023] The steps of calibration of discharge-to-charge transition curve are as follows: 1) the battery is fully charged by constant current followed by constant voltage, and left to stand for 2 hours. At this time, the battery SOC is considered to be 100%; 2) the battery is discharged at a constant current of 1 / 3C to the starting SOC, and after standing for 1 hour, the open circuit voltage is recorded; 3) the battery is charged at a constant current of 1 / 3C to a charging capacity of 2% SOC, and after standing for 1 hour, the open circuit voltage is recorded; 4) step 3) is repeated, each time the charging capacity is 2% SOC, until the total charging capacity reaches 10% SOC, the open circuit voltage under different SOCs is obtained, and the least squares method is used for curve fitting to obtain the discharge-to-charge transition curve under the starting SOC; the starting SOC is set to 0.7, 0.6, 0.5, 0.4, 0.3, and 0.2, respectively, to obtain the discharge-to-charge transition curve under different SOCs.
[0024] A quantitative index d is proposed to measure the degree to which the current state of the battery deviates from the original boundary curve before the transition begins; the specific definition of d is: in the open circuit voltage curve, the distance from the current state of the battery to the original boundary curve before the transition begins accounts for the percentage of the distance between the two boundary curves at the current SOC. Through the calibration of the open circuit voltage curve, the d value in the charge-discharge process and the discharge-charge process at different SOCs is obtained.
[0025] Step 2: construct a transition curve generation model, and generate a transition curve under any SOC according to the transition curve generation model;
[0026] The transition curve generation model includes two parts: d value generation and transition curve fitting. The d value generation adopts the generative adversarial network (GAN). GAN includes a generator and a discriminator. The generator generates simulated d values according to the real d values, and the discriminator is responsible for judging the authenticity of the generated data. The real d values measured by the calibration experiment are used to train the GAN, so that the generator can generate simulated values close to the real values. The trained generator generates multiple simulated d values according to the d value at the SOC closest to the predicted target SOC; according to the simulated d value, the predicted target SOC and the open circuit voltage boundary curve, multiple open circuit voltages in the transition process are obtained, and these open circuit voltages are curve-fitted using the least squares method to obtain the transition curve. Therefore, according to the transition curve generation model, a transition curve starting from the boundary curve at any SOC and conforming to the characteristics of lithium iron phosphate batteries can be generated.
[0027] Generating simulated d values through GAN can not only effectively expand the data set, but also capture and simulate subtle changes in the transition curve, improving the model's ability to predict transition paths under different starting SOCs.
[0028] Step 3: Update the OCV-SOC curve in real time according to the battery working status; estimate the SOC of the lithium iron phosphate battery using the adaptive extended Kalman filter (AEKF) algorithm based on the OCV-SOC curve and the battery equivalent circuit model;
[0029] When the battery works at the boundary curve at both the current moment and the next moment, the OCV-SOC curve is the boundary curve of the battery; when the battery works at the boundary curve at the current moment and changes the charge / discharge direction to work at the transition curve at the next moment, the OCV-SOC curve adopts the transition curve under the current SOC; when the battery works at the transition curve at the current moment and changes the charge / discharge direction at the next moment, the OCV-SOC curve keeps the original transition curve unchanged. In short, the OCV-SOC curve can be updated according to the accumulated SOC. When the accumulated SOC is 0 or reaches 10%, the OCV-SOC curve is updated to the boundary curve of the battery at the current moment; when the accumulated SOC is between 0 and 10%, the OCV-SOC curve keeps the original transition curve unchanged.
[0030] Figure 2 , 3 They are the SOC estimation results when the test battery is charged and discharged alternately in small amounts at 50% SOC with and without considering the transition curve. Figure 2 The SOC estimation results have MAE = 0.0149 and RMSE = 0.0152; Figure 3 The MAE of the SOC estimation results is 0.0359, RMSE is 0.0359. Figure 4 It is the SOC estimation result when the transition curve starts to alternately charge and discharge in small amounts continuously at 74% SOC, with MAE = 0.0087 and RMSE = 0.0087. Figure 5 This is the SOC estimation result considering the transition curve under DST working condition, with MAE = 0.0112 and RMSE = 0.0113. It can be concluded that considering the transition curve can effectively improve the accuracy of the open circuit voltage curve, thereby improving the accuracy of the SOC estimation, especially when the lithium iron phosphate battery is in the alternating working state of charge and discharge, the open circuit voltage curve generated with the change of the battery working state is closer to the real curve, and the SOC estimation based on this is also more accurate, with an average error of less than 1.5%. Therefore, the method of the present invention has higher accuracy for the SOC estimation of lithium iron phosphate batteries in the alternating state of small-amount charge and discharge.
[0031] Any matters not described in the present invention are applicable to the prior art.
Claims
1. A SOC estimation method for lithium iron phosphate batteries considering charge-discharge alternation hysteresis error. It is characterized in that The method comprises the following steps: Step 1: Calibrate the open circuit voltage curve including the open circuit voltage boundary curve, the charge-to-discharge transition curve, and the discharge-to-charge transition curve, and obtain the d value at different SOCs during the charge-to-discharge process and the discharge-to-charge process; d represents the percentage of the distance from the current state of the battery to the original boundary curve before the transition starts in the open circuit voltage curve to the distance between the two boundary curves at the current SOC; Step 2: Construct a transition curve generation model to generate a transition curve under any SOC. The transition curve generation model uses GAN to generate multiple simulated d values according to the d value under the SOC closest to the predicted target SOC. Based on these simulated d values, the predicted target SOC and the open-circuit voltage boundary curve, multiple open-circuit voltages in the transition process are obtained, and the transition curve is obtained by curve fitting these open-circuit voltages. Step 3: During the operation of the battery, the OCV-SOC curve is updated in real time according to the accumulated SOC. When the accumulated SOC is 0 or reaches the set threshold, the OCV-SOC curve is updated to the boundary curve of the battery operation at the current moment; when the accumulated SOC is between 0 and the set threshold, the OCV-SOC curve maintains the original transition curve unchanged; then, based on the OCV-SOC curve and the battery equivalent circuit model, the SOC of the lithium iron phosphate battery is estimated using the adaptive extended Kalman filter algorithm.
2. The SOC estimation method of a lithium iron phosphate battery considering charge-discharge alternation hysteresis error according to claim 1, It is characterized in that The set threshold of the SOC accumulation amount is 10%.
3. The SOC estimation method for lithium iron phosphate battery considering charge-discharge alternation hysteresis error according to claim 1 or 2, It is characterized in that The open circuit voltage boundary curve calibration includes: 1) discharging the battery to the cut-off voltage, standing for a period of time until the battery SOC is 0; 2) charging the battery with constant current and constant voltage to 10% SOC, standing for 1 hour, and recording the open circuit voltage; 3) repeating step 2), charging 10% SOC each time until the battery is fully charged, obtaining the open circuit voltage at different SOCs and performing curve fitting to obtain the charging open circuit voltage boundary curve; 4) discharging the battery with constant current and constant voltage to 10% SOC, standing for 1 hour, and recording the open circuit voltage; 5) repeating step 4), discharging 10% SOC each time until the battery is fully discharged, obtaining the open circuit voltage at different SOCs and performing curve fitting to obtain the discharge open circuit voltage boundary curve; The charge-discharge transition curve calibration includes: 1) discharging the battery to the cut-off voltage, standing for a period of time until the battery SOC is 0; 2) charging the battery with a constant current of 1 / 3C to the starting SOC, standing for 1 hour, and recording the open circuit voltage; 3) discharging the battery with a constant current of 1 / 3C to a discharge capacity of 2% SOC, standing for 1 hour, and recording the open circuit voltage; 4) repeating step 3), discharging the capacity by 2% SOC each time, until the total discharge capacity reaches 10% SOC, obtaining the open circuit voltage under different SOCs and performing curve fitting to obtain the charge-discharge transition curve; The calibration of the discharge-to-charge transition curve includes: 1) first charging the battery with constant current and then constant voltage, and letting it stand for a period of time until the battery SOC is 100%; 2) discharging the battery with a constant current of 1 / 3C to the starting SOC, letting it stand for 1 hour, and recording the open circuit voltage; 3) charging the battery with a constant current of 1 / 3C to a charging capacity of 2% SOC, letting it stand for 1 hour, and recording the open circuit voltage; 4) repeating step 3), each time charging with a capacity of 2% SOC, until the total charging capacity reaches 10% SOC, obtaining the open circuit voltage under different SOCs and performing curve fitting to obtain the discharge-to-charge transition curve.
Citation Information
Patent Citations
Power battery SOC estimation method considering hysteresis effect
CN111896875A
Online joint estimation method and system for residual capacity, SOC (State of Charge) and self-discharge capacity of battery
CN116008811A
Battery SOC estimation method and system based on unscented Kalman filtering
CN118425787A
Storage battery hysteresis voltage estimating device, storage battery remaining life estimating device using the same, and storage battery management system
JP2019185899A
Apparatus and method for battery status estimation, recording medium for performing the method
KR101792537B1
