Estimation method for SOC of vehicle-mounted lithium battery
The battery equivalent model is established through HPPC testing and optimization algorithms, combined with the forgetting factor recursive least squares method, which solves the problem of low SOC estimation accuracy of vehicle-mounted lithium batteries, achieves high-precision SOC estimation in the full range of working conditions, and extends the battery life. lifespan and reduces safety hazards.
Patent Information
- Application Number
- CN202411024968.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-15
AI Technical Summary
The estimation method of vehicle lithium battery SOC in the existing technology has low accuracy, which leads to battery overcharging, over-discharging and safety hazards, affecting the accuracy of battery life and driving range estimation.
HPPC testing is used to establish a battery equivalent model, and the optimization algorithm and the forgetting factor recursive least squares method are combined to estimate the SOC. By correcting the internal resistance and capacity estimation, accurate SOC correction is achieved.
It improves the accuracy of SOC estimation, extends battery life, reduces safety hazards, and maintains high accuracy in the full range of working conditions and throughout the life cycle.
Smart Images

Figure CN118777909A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an estimation method, in particular to an estimation method for the SOC of a vehicle-mounted lithium battery, and belongs to the technical field of lithium batteries. Background Art
[0002] The battery state of charge (SOC) is one of the most important parameters of the lithium battery on board an electric vehicle. The lithium battery on board is composed of many cells connected in series and parallel to form a power battery pack. The battery management system will estimate the SOC of the lithium battery on board.
[0003] The battery state of charge (SOC) reflects the remaining power of the battery, which can generally be defined as the ratio of the remaining charge of the battery to the battery capacity (i.e. the charge of the battery when fully charged). The battery SOC is an important internal state that affects the battery performance. The battery's open circuit voltage (OCV), internal resistance, battery output power, remaining energy, etc. are all closely related to the SOC.
[0004] If the battery SOC state estimation is inaccurate, it may cause battery overcharge or over-discharge, which may damage the battery life in the long term. In severe cases, it may directly lead to safety problems such as internal short circuit and thermal runaway. Or it may make the battery output power limit design too conservative, resulting in insufficient battery power performance. It may also lead to inaccurate estimation of the vehicle's cruising range, causing users to have "mileage anxiety".
[0005] At present, the commonly used SOC online estimation methods can be simply divided into the following categories:
[0006] Ampere-hour integration method: The battery SOC can be calculated by current integration. The Ampere-hour integration method is simple and easy to implement, but the estimation accuracy of this method is usually low in practical applications. The main reasons are: inaccurate initial SOC value will have a lasting impact on the estimation result; the measurement error of the current sensor and the coulomb efficiency error will cause SOC cumulative error; when there is an error in the battery capacity parameters, it will also lead to a large SOC estimation error.
[0007] Open circuit voltage method: Since there is a one-to-one correspondence between open circuit voltage OCV and SOC, and this correspondence is relatively stable and less affected by temperature and life, this relationship can be used to estimate SOC by obtaining OCV. However, the estimation of OCV is greatly affected by the measured current, voltage measurement noise and model error, so the actual estimation accuracy is not high. Estimation method of electrochemical model: The electrochemical model focuses on the electrochemical mechanism inside the battery and describes the dynamic characteristics of the battery from a microscopic scale. However, the electrochemical mechanism model involves many parameters of the internal materials of the battery, and the parameters are difficult to obtain. The model has a large amount of calculation and is difficult to apply in practice.
[0008] At present, there is no unified method for estimating the SOC of vehicle-mounted lithium batteries. The main estimation method now is the ampere-hour integration method, that is, the accumulated energy is calculated by integrating the current change of the vehicle-mounted lithium battery with time, and the SOC is estimated based on the energy and total energy; or it is estimated through the OCV (Open Circuit Voltage) curve, that is, the voltage at the open circuit end of the vehicle-mounted lithium battery is measured, and the SOC of the vehicle-mounted lithium battery is estimated by looking up the OCV curve; or the SOC is estimated by using the ampere-hour integration method combined with the OCV (Open Circuit Voltage) curve to verify the terminal SOC. The above ampere-hour integration method has a deviation between the current sensor acquisition accuracy and the actual current, and the error will continue to accumulate during the integration process. As time accumulates, the error between the estimated SOC value and the actual SOC value will continue to increase; the OCV curve table estimation of SOC will have a large error in actual use due to the influence of temperature, internal resistance, and charge and discharge current; although the combination of the two methods will correct the SOC at the end, it still cannot solve the problem of the gradually increasing integral accumulation error. Inaccurate SOC estimation can lead to overcharging or overdischarging of the battery, increase potential safety hazards of the battery, and reduce the service life of the battery. Therefore, how to accurately estimate the SOC of a vehicle-mounted lithium battery is crucial to the safe use and life of the lithium battery. The present invention aims to seek a method that can achieve accurate battery SOC estimation in the full range of operating conditions and the entire life cycle in a real vehicle environment with a moderate amount of model calculation. Summary of the invention
[0009] The present invention aims to solve the technical problems existing in the prior art and provide a method for estimating the SOC of a vehicle-mounted lithium battery. The technical solution aims to improve the accuracy of the prior art in estimating the SOC of a vehicle-mounted lithium battery, thereby reducing the potential safety hazards of the battery and increasing its service life.
[0010] In order to achieve the above object, the technical solution of the present invention is as follows: a method for estimating the SOC of a vehicle-mounted lithium battery, the method comprising the following steps:
[0011] S1: HPPC (Hybrid Pulse Power Characterization) test is performed on the cells that make up the on-board lithium battery.
[0012] S2: Establish an equivalent model of the battery based on the HPPC test results.
[0013] S3: Establish the SOC estimation of the fresh battery according to the optimization algorithm,
[0014] S4: Use the recursive least squares method with forgetting factor to estimate the internal resistance and capacity of the battery.
[0015] S5: Compare and modify the parameters in the S4 and S2 models.
[0016] S6: Correct the SOC estimate of S3 based on the internal resistance and capacity estimate of S5.
[0017] Wherein, in step S2:
[0018] The equivalent model of the battery includes an ideal voltage source (0CV), an ohmic internal resistance R0 and a parallel link of polarization internal resistance (R1)-polarization capacitor (C1).
[0019] R0, R1, C1, parameter determination uses genetic algorithm for parameter identification, and the root mean square error between the terminal voltage and the measured voltage is used as the "fitness function" of the genetic algorithm to evaluate the model parameters.
[0020] According to the calculated model parameters, a three-dimensional MAP diagram of model parameters-SOC-temperature is finally obtained.
[0021] Wherein, in step S3:
[0022] The optimization algorithm is based on the state vector x k 、system vector y k 、System input u k , coefficient matrix and composition,
[0023] The state vector x k The SOC value SOC at the current k moment k and the voltage U across the polarization internal resistance k composition,
[0024] System vector y k is the terminal voltage U at the current time k t,k ,
[0025] System input u k is the current I at the current time k k ,
[0026] Coefficient Matrix is the Taylor expansion coefficient of the state equation at the current time k,
[0027] Coefficient Matrix is the Taylor expansion coefficient of the output equation at the current k moment,
[0028] The optimization algorithm sequence includes time update of state vector, time update of error covariance matrix, estimation of output vector, calculation of gain, measurement update of state vector and measurement update of error covariance matrix.
[0029] The final output of the optimization algorithm is the SOC value of the fresh battery.
[0030] Wherein, in step S4:
[0031] The internal resistance of the battery will gradually increase as the battery decays, and the battery capacity will gradually decrease as the battery decays.
[0032] The identification process of internal resistance and capacity by the forgetting factor recursive least squares method (FFRLS) consists of the measurement vector ψk, the system output vector y k , the vector to be estimated θ k , covariance matrix P k , gain K k , the estimated error of the output k and the forgetting factor λ form the measurement vector ψ k The terminal voltage U at time k t,k 、Current I k composition
[0033] System output vector y k is the terminal voltage U at time k t,k
[0034] The estimated vector θ k Composed of coefficients a1, a2, a3
[0035] Covariance matrix P k By gain K k and the forgetting factor λ
[0036] Gain K k From the covariance matrix P k , measurement vector ψ k And the forgetting factor λ is calculated
[0037] The estimated error of the output is e k is the system output vector y at time k k Subtract the system output vector y at time k-1 k-1
[0038] The forgetting factor λ is a fixed value between 0 and 1.
[0039] According to the above vectors and matrices, the internal resistance value of the battery and the updated OCV curve can be obtained by calculation.
[0040] According to the updated OCV curve identification results, the SOC value is obtained by looking up the SOC-OCV table.
[0041] Reasonably select two different moments, perform current integration calculation, and estimate the battery capacity.
[0042] Wherein, in step S5:
[0043] The battery capacity and internal resistance calculated in step S4 are compared with the battery capacity and internal resistance of the model in step S2. If the values in step S5 are different from those in step S2, the battery capacity and internal resistance in step S5 are used.
[0044] Compared with the prior art, the present invention has the following advantages: the technical solution can effectively extend the battery life, and has high accuracy, and the value is continuously corrected as the battery is used, which can improve the user experience. For fresh batteries, the estimation algorithm of the present invention has an estimated error of SOC within 1% at normal and high temperatures; the estimation error increases at low temperatures, but the estimation accuracy is still within 3%. However, the SOC estimation effect after battery attenuation can control the SOC estimation error within a certain range due to the effect of closed-loop feedback, but compared with fresh batteries, the SOC estimation error is significantly increased. The estimation algorithm used in the present invention can realize accurate estimation of the battery's ohmic internal resistance under dynamic conditions, and the estimation result is consistent with the offline identified ohmic internal resistance reference value, with an average relative error of less than 5%; the capacity estimation error under different battery attenuation levels is within 3%, and the capacity estimation accuracy is relatively high. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of testing a battery cell using an improved HPPC test method in step S1;
[0046] Figure 2 A first-order RC model schematic is used to establish an equivalent model of a battery;
[0047] Figure 3 Flowchart for SOC estimation using the extended Kalman filter EFK algorithm;
[0048] Figure 4 It is a schematic diagram of the online estimation method of step S4;
[0049] Figure 5 It is a schematic diagram of the overall process of the present invention. DETAILED DESCRIPTION
[0050] In order to deepen the understanding of the present invention, the present embodiment is described in detail below with reference to the accompanying drawings.
[0051] Example 1: See Figure 1-Figure 5 , a method for estimating the SOC of a vehicle-mounted lithium battery mainly includes the following steps:
[0052] S1: Perform HPPC (Hybrid Pulse Power Characterization) test on the cells that make up the on-board lithium battery;
[0053] S2: Establish an equivalent model of the battery based on the HPPC test results;
[0054] S3: Establishing SOC estimation of fresh battery according to optimization algorithm;
[0055] S4: Use the recursive least square method with forgetting factor to estimate the internal resistance and capacity of the battery;
[0056] S5: Correct the SOC estimate of S3 based on the internal resistance and capacity estimate of S4;
[0057] The present invention provides a method for estimating the SOC of a vehicle-mounted lithium battery, which can effectively extend the battery life with high accuracy and continuously correct the value as the battery is used, thereby improving the user experience. The specific implementation process is as follows:
[0058] In step S1 of the present invention, an improved HPPC test method is used to test the battery cells, and the discharge pulse duration is changed from 10s to 30s, which is more in line with the actual situation of pure electric vehicles or extended-range vehicles. Specifically, the battery SOC is from 100% to 0%, and a charge and discharge pulse is applied every 5% or 10% of the SOC, such as Figure 1 As shown, after adjusting to a certain SOC point and fully standing, a discharge pulse is applied for 30 seconds, left for 40 seconds, a charge pulse is applied for 10 seconds, and then discharged to the next SOC point.
[0059] In order to obtain the battery characteristics at different temperatures in step S1 of the present invention, the present invention performs HPPC tests at 45°C, 35°C, 25°C, 15°C, 0°C, -10°C, and -20°C, respectively. When the test temperature is 0°C or below, only discharge pulses are applied during the HPPC test, and no charging pulses are applied.
[0060] The equivalent model of the battery in step S2 of the present invention uses a first-order RC model, see Figure 2 It consists of an ideal voltage source (OCV), an ohmic internal resistor R0, and a polarized internal resistor (R1)-polarized capacitor (C1) parallel link. The current I is the current passing through the ohmic internal resistor R0, the voltage across the polarized internal resistor R1 is U1, and the terminal voltage is Ut , time constant τ1=R1C1.
[0061] In step S2 of the present invention, the model parameter calculation adopts the test data of HPPC to perform offline parameter identification, and the model accuracy is verified by dynamic working conditions. Offline parameter identification adopts genetic algorithm, and the root mean square error between the model terminal voltage and the measured voltage is used as the "fitness function" of the genetic algorithm to evaluate the quality of the model parameters. The "ga" function is used to implement the genetic algorithm, set the appropriate population number and number of iterations, and set reasonable upper and lower limits of parameter changes to realize the identification of the parameters of the ohmic internal resistance R0, polarization internal resistance (R1), and polarization capacitance (C1) in the model.
[0062] The optimization algorithm in step S3 of the present invention adopts the extended Kalman filter (EKF) algorithm. The essence of using EKF for SOC estimation is to first preliminarily estimate the SOC value based on the current integral, and then based on the battery model, use the voltage as the feedback signal to perform closed-loop correction on the SOC estimation value. The size of the feedback coefficient is the Kalman gain, which is determined by the EKF algorithm according to the optimal control principle.
[0063] The process of using the extended Kalman filter EFK algorithm to estimate SOC in step S3 of the present invention is as follows: Figure 3 As shown in Figure 1, there are 6 steps, namely, state vector update, error covariance matrix time update, Kalman gain calculation, output vector estimation, state vector measurement update and error covariance matrix measurement update.
[0064] In step S3:
[0065] The optimization algorithm is based on the state vector x k 、system vector y k 、System input u k , coefficient matrix and composition,
[0066] The state vector x k The SOC value SOC at the current k moment k and the voltage U across the polarization internal resistance k composition,
[0067] System vector y k is the terminal voltage U at the current time k t,k ,
[0068] System input u k is the current I at the current time k k ,
[0069] Coefficient Matrix is the Taylor expansion coefficient of the state equation at the current time k,
[0070] Coefficient Matrix is the Taylor expansion coefficient of the output equation at the current k moment,
[0071] The optimization algorithm sequence includes time update of state vector, time update of error covariance matrix, estimation of output vector, calculation of gain, measurement update of state vector and measurement update of error covariance matrix.
[0072] The final output of the optimization algorithm is the SOC value of the fresh battery.
[0073] For the battery SOC estimation problem, SOC is the internal state that needs to be estimated. The current is considered as the input of the system and the terminal voltage is considered as the output of the system. According to the definition of battery SOC, the state equation about SOC is written as formula (1-3), where η is the coulomb efficiency, which is approximately 1, C bat is the capacity of the battery in A·h, I k is the current, which is positive when discharging, w 1,k is the input noise, the system output U t,k Then, the calculation is performed according to the external characteristic equation of the RC model shown in equations (1-1) and (1-2), taking into account the output noise v k The system output equation is written as shown in equation (1-5), where the voltage U1 across the polarization internal resistance cannot be measured directly, and needs to be estimated iteratively according to equation (1-4), and U1 and SOC are combined to form a state vector for estimation.
[0074] U1=IR1·[1-exp(-t / τ1)] (1-1)
[0075] U t =OCV(SOC)-IR0-U1 (1-2)
[0076]
[0077] U 1,k+1 =U 1,k exp(-Δt / τ 1,k )+R 1,k (1-exp(-Δt / τ 1,k ))I k +W 2,k (1-4)
[0078] U t,k =OCV k (SOC k )-U 1,k -R 0,k I k +V k (1-5)
[0079] Therefore, equations (1-3) and (1-4) form the state equation of the SOC estimation problem, and the values of SOC and voltage are obtained respectively. Equation (2-11) is the system output equation that determines the relationship between open circuit voltage and SOC.
[0080] The above symbols are defined as ideal voltage source (OCV), ohmic internal resistance R0, polarization internal resistance (R1), polarization capacitance (C1), η is the coulomb efficiency, which is approximately 1, C bat is the capacity of the battery in A·h, I k is the current, which is positive when discharging, w 1,k is the input noise, the system output U t,k , t is time in seconds, τ1 is the time constant, Δt is the time increment in seconds, all the above subscripts k are time k, and k+1 is the next moment after time k.
[0081] In step S4 of the present invention, the recursive least square method with forgetting factor (FFRLS) is used to estimate the internal resistance of the battery. It is necessary to write the system output equation based on the first-order battery model, determine the specific expressions of the system output vector, measurement vector and vector to be estimated, and then iteratively estimate the model parameters of the internal resistance according to the recursive formula of the least square method.
[0082] The FFRLS algorithm in step S4 of the present invention has a good identification effect only under dynamic conditions. When the current remains constant, the parameters cannot be accurately identified due to the lack of current excitation. However, the increase in internal resistance with battery attenuation is itself a long-term change process, so parameter identification and internal resistance update can be performed when the battery is in a dynamic condition.
[0083] The battery capacity estimation in step S4 of the present invention adopts the cumulative power method between two points. The battery capacity can be calculated by obtaining the SOC values at two different times and the cumulative power change during this period. The cumulative power change is calculated by current integration. The SOC acquisition method at two different times adopts online identification of OCV, and the SOC is indirectly obtained by looking up the OCV table. The online estimation method in step S4 of the present invention is as follows Figure 4 shown.
[0084] In step S4:
[0085] The internal resistance of the battery will gradually increase as the battery decays, and the battery capacity will gradually decrease as the battery decays.
[0086] The identification process of internal resistance and capacity by the forgetting factor recursive least squares method (FFRLS) is based on the measurement vector ψ k , system output vector y k , the vector to be estimated θ k , covariance matrix Pk , gain K k , the estimated error of the output k and the forgetting factor λ, the measurement vector ψ k The terminal voltage U at time k t,k 、Current I k composition,
[0087] System output vector y k is the terminal voltage U at time k t,k ,
[0088] The estimated vector θ k It is composed of coefficients a1, a2, and a3.
[0089] Covariance matrix P k By gain K k and the forgetting factor λ,
[0090] Gain K k From the covariance matrix P k , measurement vector ψ k And the forgetting factor λ is calculated,
[0091] The estimated error of the output is e k is the system output vector y at time k k Subtract the system output vector y at time k-1 k-1
[0092] The forgetting factor λ is a fixed value between 0 and 1.
[0093] According to the above vectors and matrices, the following calculations can be used to obtain the battery's ohmic internal resistance, polarization internal resistance, time constant values and updated OCV curve.
[0094] If OCV, ohmic internal resistance R0, polarization internal resistance R1 and time constant τ1 are all taken as parameters to be estimated, then according to the first-order RC model circuit structure diagram and the basic circuit principle, the calculation formula of the terminal voltage in the frequency domain is written as shown in formula (1-6). After a simple transformation, the transfer function can be obtained as shown in formula (1-7).
[0095]
[0096]
[0097] Perform a bilinear transformation on the above formula, and let After sorting, we get:
[0098]
[0099] make:
[0100]
[0101]
[0102] but
[0103]
[0104] U t,k -OCV k =a1U t,k-1 -a1OCV k-1 +n2I k +a3I k-1 (1-13)
[0105] Within a sampling time interval (10ms), the OCV changes very little, so it can be approximately considered that the OCV k-1 =OCV k , then:
[0106] U τ,k =a1U t,k-1 +(1-a1)OCV k +a2I k +a3I k-1 (1-14)
[0107] Then the expressions of system output, measurement vector and estimated vector can be determined as follows:
[0108] y k =U t,k (1-15)
[0109]
[0110] θ k =[(1-a1)OCV k a1a2a3] T (1-17)
[0111] It is easy to deduce:
[0112] Ohm internal resistance
[0113] Time constant
[0114] Polarization internal resistance
[0115] According to the updated OCV curve identification results, check the battery's SOC-OCV curve table to obtain the SOC value.
[0116] Two different moments are reasonably selected. This application uses the moments of SOC90% and SOC20% to perform current integration calculation and estimate the battery capacity.
[0117] In step S5 of the present invention, the internal resistance and battery capacity in step S4 are compared with the values in the model of step S2. If the two are different, the values in the model of step S2 are replaced with the values calculated in step S4, and the SOC estimation is performed again. The SOC value of the battery pack calculated by the system provided in this solution will have a relatively high accuracy on the one hand, and on the other hand, it can well reflect the actual capacity of the battery in the dynamic process, which is of great significance to prevent overcharging and over-discharging of the battery.
[0118] It should be noted that the above embodiments are not intended to limit the protection scope of the present invention, and equivalent changes or substitutions made on the basis of the above technical solutions all fall within the protection scope of the claims of the present invention.
Claims
1. A method for estimating the SOC of a vehicle-mounted lithium battery, characterized in that: The method comprises the following steps: S1: HPPC (Hybrid Pulse Power Characterization) test is performed on the cells that make up the on-board lithium battery. S2: Establish an equivalent model of the battery based on the HPPC test results. S3: Establish the SOC estimation of the fresh battery according to the optimization algorithm, S4: Use the recursive least squares method with forgetting factor to estimate the internal resistance and capacity of the battery. S5: Compare and modify the parameters in the S4 and S2 models. S6: Correct the SOC estimate of S3 based on the internal resistance and capacity estimate of S5.
2. The method for estimating the SOC of a vehicle-mounted lithium battery according to claim 1, characterized in that: In the step S2: The equivalent model of the battery consists of an ideal voltage source (OCV), an ohmic internal resistance R0, and a polarization internal resistance (R1)-polarization capacitor (C1). The parameters of R0, R1, and C1 are determined using a genetic algorithm for parameter identification. The root mean square error between the terminal voltage and the measured voltage is used as the "fitness function" of the genetic algorithm to evaluate the model parameters. HPPC tests were performed on the battery at battery temperatures of 45°C, 25°C, 15°C, 0°C, -10°C, and -20°C, respectively. A charge and discharge pulse was applied to the battery at every 5% SOC interval. The voltage and current experimental data recorded by a charge and discharge pulse were used to input the voltage and current data into the battery model equation as input quantities. The model parameters at the SOC, namely, the ohmic internal resistance, polarization internal resistance, and time constant were identified by solving the calculus equation. According to the identified model parameters, ohmic internal resistance, polarization internal resistance, and time constant, SOC was used as the X-axis coordinate of the MAP diagram, temperature was used as the Y-axis coordinate of the MAP diagram, and ohmic internal resistance, polarization internal resistance, and time constant were used as the Z-axis, respectively. Finally, three-dimensional MAP diagrams of ohmic internal resistance-SOC-temperature, polarization internal resistance-SOC-temperature, and time constant-SOC-temperature were obtained.
3. The method for estimating the SOC of a vehicle-mounted lithium battery according to claim 2, characterized in that: In step S3: The optimization algorithm is based on the state vector x k 、system vector y k 、System input u k , coefficient matrix and composition, The state vector x k The SOC value SOC at the current k moment k and the voltage U across the polarization internal resistance k composition, System vector y k is the terminal voltage U at the current time k t,k , System input u k is the current I at the current time k k , Coefficient Matrix is the Taylor expansion coefficient of the state equation at the current time k, Coefficient Matrix is the Taylor expansion coefficient of the output equation at the current k moment, The optimization algorithm sequence includes time update of state vector, time update of error covariance matrix, estimation of output vector, calculation of gain, measurement update of state vector and measurement update of error covariance matrix. The final output of the optimization algorithm is the SOC value of the fresh battery. For the battery SOC estimation problem, SOC is the internal state that needs to be estimated. The current is considered as the input of the system and the terminal voltage is considered as the output of the system. According to the definition of battery SOC, the state equation about SOC is written as formula (1-3), where η is the coulomb efficiency, which is approximately 1, C bat is the capacity of the battery in A·h, I k is the current, which is positive when discharging, w 1,k is the input noise, the output of the system is U t,k Then, the calculation is performed according to the external characteristic equation of the RC model shown in equations (1-1) and (1-2), taking into account the output noise v k The system output equation is written as shown in equation (1-5), where the voltage U1 across the polarization internal resistance cannot be measured directly, and needs to be estimated iteratively according to equation (1-4), and U1 and SOC are combined to form a state vector for estimation. U1=IR1·[1-exp(-t / τ1)] (1-1) The t =OCV(SOC)-IR0-U1 (1-2) U 1,k+1 =U 1,k exp(-Δt / τ 1,k )+R 1,k (1-exp(-Δt / τ 1,k ))I k +W 2,k (1-4) The t,k =OCV k (SOC k )-U 1,k -R 0,k I k +V k (1-5) Therefore, equations (1-3) and (1-4) form the state equation of the SOC estimation problem, and the values of SOC and voltage are obtained respectively. Equation (2-11) is the system output equation that determines the relationship between open circuit voltage and SOC. The above symbols are defined as ideal voltage source (OCV), ohmic internal resistance R0, polarization internal resistance (R1), polarization capacitance (C1), η is the coulomb efficiency, which is approximately 1, C bat is the capacity of the battery in A·h, I k is the current, which is positive when discharging, w 1,k is the input noise, the output of the system is U t,k , t is time in seconds, τ1 is the time constant, △t is the time increment in seconds, all the above subscripts k are time k, and k+1 is the next moment after time k.
4. The method for estimating the SOC of a vehicle-mounted lithium battery according to claim 3, characterized in that: In step S4: The internal resistance of the battery will gradually increase as the battery decays, and the battery capacity will gradually decrease as the battery decays. The identification process of internal resistance and capacity by the forgetting factor recursive least squares method (FFRLS) is based on the measurement vector ψ k , system output vector y k , the vector to be estimated θ k , covariance matrix P k , gain K k , the estimated error of the output k and the forgetting factor λ, Measurement vector ψ k The terminal voltage U at time k t,k 、Current I k composition, System output vector y k is the terminal voltage U at time k t,k , The estimated vector θ k It is composed of coefficients a1, a2, and a3. Covariance matrix P k By gain K k and the forgetting factor λ, Gain K k From the covariance matrix P k , measurement vector ψ k And the forgetting factor λ is calculated, The estimated error of the output is e k is the system output vector y at time k k Subtract the system output vector y at time k-1 k-1 The forgetting factor λ is a fixed value between 0 and 1. According to the above vectors and matrices, the following calculations can be used to obtain the battery's ohmic internal resistance, polarization internal resistance, time constant values and updated OCV curve. If OCV, ohmic internal resistance R0, polarization internal resistance R1 and time constant τ1 are all taken as parameters to be estimated, then according to the first-order RC model circuit structure diagram and the basic circuit principle, the calculation formula of the terminal voltage in the frequency domain is written as shown in formula (1-6). After a simple transformation, the transfer function can be obtained as shown in formula (1-7). Perform a bilinear transformation on the above formula, and let After sorting, we get: make: but U t,k -OCV k =a1U t,k-1 -a1OCV k-1 +a2I k +a3I k-1 (1-13) Within a sampling time interval (10ms), the OCV changes very little, so it can be approximately considered that the OCV k-1 =OCV k , then: U t,k =a1U t,k-1 +(1-a1)OCV k +a2I k +a3I k-1 (1-14) Then the expressions of system output, measurement vector and estimated vector can be determined as follows: y k =U t,k (1-15) <h2 style=";text-align:left;direction:ltr">θ<h2 style=";text-align:left;direction:ltr"> k <h2 style=";text-align:left;direction:ltr"> (1-a1)OCV<h2 style=";text-align:left;direction:ltr"> k <h2 style=";text-align:left;direction:ltr"> a1 a2 a3<h2 style=";text-align:left;direction:ltr"> T <h2 style=";text-align:left;direction:ltr"> (1-17) It is easy to deduce: Ohm internal resistance Time constant Polarization internal resistance According to the updated OCV curve identification results, check the battery's SOC-OCV curve table to obtain the SOC value. Reasonably select two different moments, use the moments of SOC90% and SOC20%, perform current integration calculation and estimate the battery capacity.
5. The method for estimating the SOC of a vehicle-mounted lithium battery according to claim 2, characterized in that: In step S5: The battery capacity and internal resistance calculated in step S4 are compared with the battery capacity and internal resistance of the model in step S2. If the values in step S5 are different from those in step S2, the battery capacity and internal resistance in step S5 are used.
Citation Information
Cited By
Battery health degree determination method and device and storage medium
CN119395587A
New energy vehicle lithium battery electric quantity estimation method and system based on motor controller
CN120942118A
