A SOC correction method based on current integration and voltage correction
By combining current integration and voltage correction in the lithium battery SOC calculation to calculate the correction coefficient, the smooth correction of the SOC curve is achieved, which solves the problem of low accuracy in lithium battery SOC calculation. It is suitable for a variety of process conditions and provides a more accurate and stable SOC estimation.
Patent Information
- Application Number
- CN202111018466.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-09-01
AI Technical Summary
The accuracy of lithium battery SOC calculation is low, especially when discharging at large currents. Due to the influence of internal resistance and temperature, the voltage curve is difficult to regularize, resulting in the accumulation of current integration errors, and it is difficult to accurately estimate SOC through voltage correction.
The SOC correction method based on current integration plus voltage correction is adopted. Through real-time current and voltage monitoring, the correction coefficient is calculated and the current correction operation is performed to ensure that the SOC curve linearly follows the voltage curve without jumping with the current. It is suitable for lithium-ion battery BMS of various processes. system and does not require complex cell parameter measurement.
Under different temperature and current conditions, the SOC error is effectively corrected and the curve is smooth, which enhances the accuracy and stability of SOC estimation and is suitable for constant current, intermittent and random current discharge scenarios.
Smart Images

Figure CN113866639B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of lithium batteries, in particular to a SOC correction method based on current integration and voltage correction. Background Art
[0002] The accuracy of SOC calculation has always been a major problem in the industry, which is related to the characteristics of lithium batteries. The internal resistance model of lithium batteries is relatively complex, so it is difficult to find a regularity in the voltage curve when discharging at a large current. Therefore, current integration is the most commonly used method for SOC calculation, but SOC integration will have accumulated errors, and voltage has to be introduced to correct SOC. However, when discharging at a large current, the voltage will be affected by the internal resistance, and the internal resistance will be affected by the temperature, making it difficult to estimate a relatively accurate SOC.
[0003] This algorithm weakens the influence of temperature and internal resistance. Through real-time voltage tracking, the SOC curve can linearly follow the voltage curve, but it will not follow the current jump like the voltage curve. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention provides a SOC correction method based on current integration and voltage correction. Through real-time current integration and voltage correction, the SOC curve can linearly follow the voltage curve, but will not follow the current jump like the voltage curve. The algorithm is used for lithium-ion battery BMS systems of various processes. The algorithm has strong versatility and does not require complex battery cell parameter determination.
[0005] In order to achieve the above purpose, a SOC correction method based on current integration plus voltage correction is designed, which is characterized by: the specific process is as follows:
[0006] (1) Estimate the SOC of the current lithium battery. The estimation formula is SOC cal =f(voltage), where voltage is the voltage;
[0007] (2) Calculate the current SOC error value SOC of the lithium battery err , SOC err =SOC cal –SOC 上一次循环 Among them, SOC 上一次循环 is the SOC value calculated in step (6) in the previous cycle;
[0008] (3) Based on the calculated SOC err , and the working status of the lithium battery, calculate the correction factor;
[0009] (4) Perform current correction calculation based on the correction coefficient. 校正 =current实际 *cal;
[0010] (5) Perform current integration operation on the corrected current.
[0011] (6) After the current integration operation, the SOC is calculated, SOC = RMC / FCC*100%, where RMC is the remaining capacity of the current integration and FCC is the fully charged capacity of the battery.
[0012] In the step (3), the correction coefficient cal is calculated to be a charge state correction coefficient and a discharge state correction coefficient. The charge state correction coefficient cal 充电 =(|SOCerr|+100) / 100; discharge state correction coefficient cal 放电 =100 / (|SOCerr|+100).
[0013] When the lithium battery is discharged:
[0014] If SOCerr>0, it means that the actual SOC is too low. Using the formula: cal=100 / (|SOCerr|+100), we can get that cal is less than 1, and the absolute value of the corrected current will become smaller. The larger the absolute value of SOCerr, the smaller the absolute value of the corrected current will be, which is reflected in the SOC curve as discharge deceleration.
[0015] If SOCerr<0, it means that the actual SOC is too high. Using the formula cal=(|SOCerr+100|) / 100, we can get cal greater than 1. The absolute value of the corrected current will become larger. The larger the absolute value of SOCerr, the larger the absolute value of the corrected current will be, which is reflected in the SOC curve as accelerated discharge.
[0016] When the lithium battery is charging:
[0017] If SOCerr>0, it means that the actual SOC is too low. Using the formula: cal=(|SOCerr|+100) / 100, we get cal greater than 1. The absolute value of the corrected current will become larger. The larger the absolute value of SOCerr, the larger the absolute value of the corrected current will be, which is reflected in the SOC curve as accelerated charging.
[0018] If SOCerr<0, it means that the actual SOC is too high. Using the formula: cal=100 / (|SOCerr|+100), we can get that cal is less than 1, and the absolute value of the corrected current will become smaller. The larger the absolute value of SOCerr, the smaller the absolute value of the corrected current will be, which is reflected in the SOC curve as charging deceleration.
[0019] The current state of the lithium battery is static or dynamic.
[0020] The SOC and SOC cal The range is 0 to 100.
[0021] The SOC err The range is -100 to 100.
[0022] Compared with the prior art, the present invention provides a SOC correction method based on current integration plus voltage correction. Through real-time current integration and voltage correction, the SOC curve linearly follows the voltage curve, but does not follow the current jump like the voltage curve. The algorithm is used for lithium-ion battery BMS systems of various processes. The algorithm has strong versatility and does not require complex battery cell parameter determination.
[0023] Through experimental comparison, during constant current discharge, whether it is high temperature or low temperature, large current or small current, a good discharge curve can be achieved.
[0024] Simulating the actual use environment, in the intermittent constant current discharge and random current intermittent discharge experiments, the curve can still better reflect the actual situation of SOC. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of the present invention.
[0026] Figure 2 This is the SOC curve under 45 degrees 8A discharge condition.
[0027] Figure 3 The SOC curve diagram under 0A and 15A switching conditions.
[0028] Figure 4 This is the SOC curve under random current conditions.
[0029] Figure 5 This is the internal model circuit diagram of a lithium battery. DETAILED DESCRIPTION
[0030] The present invention will be further described below with reference to the accompanying drawings.
[0031] like Figure 5 As described above, the internal model circuit diagram of the lithium battery, the resistance R P With capacitor C P In parallel connection, from static to discharge start stage, because there is capacitor C P The voltage will slowly decrease until the capacitor C P After being discharged, the voltage stabilizes and has a corresponding relationship with the SOC.
[0032] After the discharge to rest, the voltage will rise slowly, because the capacitor C PDuring charging, the voltage will not stabilize until a certain period of time has passed, at which time the voltage has a corresponding relationship with the SOC.
[0033] The start and end of discharge are the times when the voltage is most unstable, and the voltage during this period cannot be used to estimate the capacity.
[0034] But the voltage will always stabilize after a period of rest, which is usually 3-5 minutes.
[0035] Based on this, the algorithm of the present invention monitors the current and voltage in real time. When the current is lower than a certain threshold (type value: ±200mA), the timing will start. When the time reaches the threshold (type value: 300s), the voltage will be used as a reference from this moment on. The correction value of SOC estimated according to the discharge curve will be temporarily stored until the next charge or discharge. This value is taken out as a correction value, and a correction coefficient is calculated and added to the integral operation. The current threshold is an empirical value obtained based on the rebound curve of the battery cell inside each lithium battery. The battery cell characteristics and the number of batteries in parallel will affect this time. The actual results also need to select a relatively appropriate value as the current threshold based on the experimental results.
[0036] like Figure 1 As shown, the specific process is as follows:
[0037] (1) Estimate the SOC of the current lithium battery. The estimation formula is SOC cal =f(voltage), where voltage is the voltage. When the lithium battery is working, its voltage value changes in real time with the operation of the two batteries. SOC cal It is estimated based on the real-time voltage of the lithium battery when it is working;
[0038] (2) Calculate the current SOC error value SOC of the lithium battery err , SOC err =SOC cal –SOC 上一次循环 Among them, SOC 上一次循环 is the SOC value calculated in step (6) in the previous cycle;
[0039] (3) Based on the calculated SOC err , and the working state of the lithium battery, calculate the correction factor; the charging state correction factor cal 充电 =(SOC err +100) / 100; discharge state correction coefficient cal 放电 =100 / (SOC err +100);
[0040] (4) Perform current correction calculation based on the correction coefficient.校正 =current 实际 *cal;
[0041] (5) Perform current integration operation on the corrected current.
[0042] (6) After the current integration operation, the SOC is calculated, SOC = RMC / FCC*100%, where RMC is the remaining capacity of the current integration and FCC is the full charge capacity of the battery.
[0043] SOC = f(voltage), where voltage is the voltage sampled by the BMS from the battery cell and converted into a single string voltage, with a value range of 2.5V-4.2V. As shown in Table 1, the voltage can also be used to obtain the SOC value by looking up the table.
[0044] Table 1
[0045] Voltage SOC 4.20 100.00% 4.15 97.97% 4.10 94.52% 4.05 90.71% 4.00 86.68% 3.95 82.40% 3.90 77.96% 3.85 73.34% 3.80 68.28% 3.75 62.65% 3.70 54.47% 3.65 43.86% 3.60 28.29% 3.55 17.97% 3.50 11.11% 3.45 7.42% 3.40 4.97% 3.35 3.79% 3.30 3.05% 3.25 2.46% 3.20 1.98% 3.15 1.56% 3.10 1.21% 3.05 0.93% 3.00 0.70% 2.95 0.52% 2.90 0.37% 2.85 0.27% 2.80 0.22% 2.75 0.18% 2.70 0.15% 2.65 0.11% 2.60 0.07% 2.55 0.04% 2.50 0.00%
[0046] The range of SOCcal and SOC values is 0-100. Therefore, the minimum value of SOCerr is -100 and the maximum value is 100.
[0047] Using the formula cal 充电 =(SOC err +100) / 100 and the formula cal 放电 =100 / (SOC err +100), according to the conditions of charge and discharge, the cal value is limited to 0.5-2. The discharge current is negative and the charge current is positive, so the corrected current is limited to the range of 0.5 to 2 times.
[0048] The larger the error, the larger the correction coefficient and the greater the current correction. As time goes by, the error gradually decreases, the correction coefficient will approach 1, and the charge and discharge SOC curve will smoothly approach the calibration curve.
[0049] When the lithium battery is discharged:
[0050] ① If SOCerr>0, it means that the actual SOC is too low. Using the formula: cal=100 / (SOCerr+100), we get cal is less than 1, and the absolute value of the corrected current will become smaller. The larger the absolute value of SOCerr, the smaller the absolute value of the corrected current will be, which is reflected in the SOC curve as discharge deceleration;
[0051] ②If SOCerr<0, it means that the actual SOC is too high. Using the formula cal=(SOCerr+100) / 100, we can get cal greater than 1. The absolute value of the corrected current will become larger. The larger the absolute value of SOCerr, the larger the absolute value of the corrected current will be, which is reflected in the SOC curve as accelerated discharge.
[0052] When the lithium battery is charging:
[0053] ① If SOCerr>0, it means that the actual SOC is too low. Use the formula: cal=(SOCerr+100) / 100 to get cal greater than 1. The absolute value of the corrected current will become larger. The larger the absolute value of SOCerr, the larger the absolute value of the corrected current will be, which is reflected in the SOC curve as accelerated charging.
[0054] ②If SOCerr<0, it means that the actual SOC is too high. Use the formula: cal=100 / (SOCerr+100) to get cal less than 1. The absolute value of the corrected current will become smaller. The larger the absolute value of SOCerr, the smaller the absolute value of the corrected current will be, which is reflected in the SOC curve as charging deceleration.
[0055] The derivation process of the above formula is:
[0056] 1. The goal is to achieve correction of SOC.
[0057] 2. Use the voltage-estimated SOCcal to correct the SOC. When the voltage fluctuates greatly, the SOC will fluctuate greatly with the voltage fluctuation.
[0058] 3. This problem can be solved by using the voltage-estimated SOCcal to correct the current and ultimately achieve SOC correction.
[0059] 4. There are several ways to correct the current: Method 1: Add or subtract the correction value. This method is to add the error value to the current value to achieve the purpose of correction. However, since the current range is very wide, ranging from a few mA to tens of A, and the error value is a relatively fixed value, if the correction value is too large, the correction will be very strong for small currents, and if the correction value is too small, it will not play a correction role for large currents. Method 2: Coefficient correction. This method is to multiply the correction value by the current value. This method can adapt to changes in current, so the present invention uses this method to correct the current.
[0060] 5. Determination of coefficient: If the correction coefficient is fixed, when there is an error, correction will be performed immediately, and when the error is eliminated, correction will stop, which will be shown as a broken line on the discharge curve. If the correction coefficient increases as the error increases and decreases as the error decreases, the curve will be smoother. Therefore, this method uses the second method to calculate the coefficient.
[0061] 6. The calculation coefficient involves positive current (charging) and negative current (discharging), as well as positive error (corrected value is greater than the actual value) and negative error (corrected value is less than the actual value). Therefore, it is necessary to calculate separately in four cases: positive current, positive error, the coefficient should be greater than 1; positive current, negative error, the coefficient should be less than 1; negative current, positive error, the coefficient should be less than 1; negative current, negative error, the coefficient should be greater than 1.
[0062] 7. According to the above analysis, the formula for calculating the coefficient should meet the following conditions: A. The input parameter should be the error value. The return value is the correction coefficient; B. The correction coefficient must be greater than or equal to 0; C. The correction coefficient must increase the correction strength (not the value) as the error increases; D. The calculation of the above four conditions should all be met, otherwise the correction function is realized.
[0063] 8. Due to A, the correction function should be cal=f(SOCerr); due to the existence of B, SOCerr+100 can avoid negative results; due to the existence of C, cal=f(SOCerr) should be a linear function; due to the existence of D, one formula cannot satisfy the calculation of four conditions, so this method uses two formulas to settle the two situations greater than 1 and less than 1 respectively.
[0064] 9. According to the above situations, in order to more conveniently calculate the two situations greater than 1 and less than 1, this method divides the cal calculation into two formulas SOCerr as the numerator and denominator for calculation, and obtains the following two formulas: When cal is less than 1, that is, when discharging, cal 放电 =100 / (|SOCerr|+100); when cal is greater than 1, that is, when charging, cal 充电 =(|SOCerr|+100) / 100.
[0065] The SOC after static correction is more accurate, and the SOC will not change suddenly during the discharge process. The gentle correction will make the curve smoother and the user will feel good.
[0066] Through experimental comparison, such as Figures 2 to 5 As shown, during constant current discharge, a good discharge curve can be achieved regardless of high or low temperature, large current or small current.
[0067] Simulating the actual use environment, in the intermittent constant current discharge and random current intermittent discharge experiments, the curve can still better reflect the actual situation of SOC.
[0068] like Figure 2 As shown, Example 1: an operating effect of discharging under constant current conditions.
[0069] Test conditions:
[0070] Temperature: 45 degrees;
[0071] Discharge current: 8A discharge;
[0072] Discharge mode: constant current;
[0073] Working condition description: Under constant current conditions, the voltage will be relatively stable and the integral will also be relatively stable. This situation is an ideal situation, and the SOC curve finally tested is also ideal.
[0074] like Figure 3 As shown, Example 2: an operating effect of discharging under the conditions of constant current and intermittent constant current switching.
[0075] Test conditions:
[0076] Temperature: 25 degrees;
[0077] Discharge current: 0A-15A discharge;
[0078] Discharge mode: intermittent constant current;
[0079] Working condition description: Under constant current conditions and intermittent constant current conditions, the capacitor in the battery internal resistance model will play a role and the voltage will have a relatively large fluctuation. The final correction result can still obtain a relatively ideal SOC curve.
[0080] like Figure 4 As shown, Example 3: An operating effect of discharging under random current conditions.
[0081] Test conditions:
[0082] Temperature: 25 degrees;
[0083] Discharge current: 0A-15A discharge;
[0084] Discharge mode: random current;
[0085] Working condition description: Random current is the most complex working condition. This condition rarely occurs in actual use. However, the experimental results show that no matter how the current and voltage change, the final SOC curve is still relatively ideal, without any points with very large deviations.
Claims
1. A SOC correction method based on current integration plus voltage correction, characterized in that: The specific process is as follows: (1) Estimate the SOC of the current lithium battery. The estimation formula is SOC cal =f(voltage), where voltage is the voltage; (2) Calculate the current SOC error value SOC of the lithium battery err , SOC err =SOC cal –SOC 上一次循环 ;in, SOC 上一次循环 is the SOC value calculated in step (6) in the previous cycle; (3) Based on the calculated SOC err , and the working status of the lithium battery, calculate the correction factor; (4) Perform current correction calculation based on the correction coefficient. 校正 =current 实际 *cal; (5) Perform current integration operation on the corrected current. (6) After the current integration operation, calculate the SOC, SOC = RMC / FCC*100%, where RMC is the remaining capacity of the current integration and FCC is the fully charged capacity of the battery; In the step (3), the correction coefficient cal is calculated to be a charge state correction coefficient and a discharge state correction coefficient. The charge state correction coefficient cal 充电 =(|SOCerr|+100) / 100; discharge state correction coefficient cal 放电 =100 / (|SOCerr|+100); When the lithium battery is discharged: If SOCerr>0, it means that the actual SOC is too low. Using the formula: cal=100 / (|SOCerr|+100), we can get that cal is less than 1, and the absolute value of the corrected current will become smaller. The larger the absolute value of SOCerr, the smaller the absolute value of the corrected current will be, which is reflected in the SOC curve as discharge deceleration. If SOCerr<0, it means that the actual SOC is too high. Using the formula cal=(|SOCerr+100|) / 100, we get cal greater than 1. The absolute value of the corrected current will become larger. The larger the absolute value of SOCerr, the larger the absolute value of the corrected current will be, which is reflected in the accelerated discharge on the SOC curve. When the lithium battery is charging: If SOCerr>0, it means that the actual SOC is too low. Using the formula: cal=(|SOCerr|+100) / 100, we get cal greater than 1. The absolute value of the corrected current will become larger. The larger the absolute value of SOCerr, the larger the absolute value of the corrected current will be, which is reflected in the SOC curve as accelerated charging. If SOCerr<0, it means that the actual SOC is too high. Using the formula: cal=100 / (|SOCerr|+100), we can get that cal is less than 1, and the absolute value of the corrected current will become smaller. The larger the absolute value of SOCerr, the smaller the absolute value of the corrected current will be, which is reflected in the SOC curve as charging deceleration.
2. The SOC correction method based on current integration plus voltage correction according to claim 1, characterized in that: The current state of the lithium battery is static or dynamic.
3. The SOC correction method based on current integration and voltage correction according to claim 1, characterized in that: The SOC and SOC cal The range is 0 to 100.
4. The SOC correction method based on current integration and voltage correction according to claim 1, characterized in that: The SOC err The range is -100 to 100.
