A high-order Kalman filter method for lithium battery SOC estimation
Through the higher-order Kalman filtering method, the first-order Davidin equivalent model and hidden variable dimensional expansion modeling are used to solve the problem of low SOC estimation accuracy of lithium batteries, achieving higher estimation accuracy and battery life extension.
Patent Information
- Application Number
- CN202210383236.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-04-12
AI Technical Summary
The existing lithium battery SOC estimation methods have low accuracy, especially the Coulomb counting method and extended Kalman filtering method, which abandons higher-order terms, leads to accumulation of estimation errors, affecting battery life and the safety of electric vehicles.
Using the advanced Kalman filtering method, the first-order Davidin equivalent model and hidden variable dimension expansion modeling are used to establish the charging and discharge dynamic process of lithium batteries, and the higher-order terms are introduced to improve the SOC estimation accuracy, and the state is carried out through the Kalman filter. estimate.
It improves the accuracy of SOC estimation of lithium batteries, reduces errors, extends battery life, and enhances the energy utilization and safety of electric vehicles.
Smart Images

Figure CN115047346B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of high-order Kalman filtering methods, and in particular to a high-order Kalman filtering method for lithium battery SOC estimation. Background Art
[0002] In recent years, due to the aggravation of energy shortage and environmental pollution, the research and rapid development of new energy and new materials have made electric vehicle technology more mature and have entered the lives of the public. Electric vehicles are different from traditional vehicles. They have the advantages of energy saving, zero emissions and low noise. The rechargeable lithium-ion batteries they use not only have the advantages of high efficiency, high energy density, low maintenance and long cycle life, but also can reduce carbon emissions and contribute to curbing global warming. Therefore, they have become one of the main power sources for electric vehicles.
[0003] The battery state of charge (SOC) refers to the ratio of the remaining capacity of the power battery to the maximum available capacity. Accurately predicting the battery SOC will determine whether the battery energy can be utilized to the maximum extent, and it is also the premise and key to the safe and stable operation of lithium batteries. The difficulty in estimating the SOC of lithium batteries lies in the fact that it cannot be measured directly, and its internal system is highly nonlinear, which brings great difficulties to the accuracy of the estimation.
[0004] Real-time and accurate estimation of the SOC of electric vehicle lithium battery packs can not only reflect the vehicle's range, but also indicate the capacity size between different batteries, improve battery consistency, and maximize overall performance. The more accurate the estimation of lithium battery SOC, the better the energy utilization rate of electric vehicles can be improved. When the lithium battery SOC is underestimated, the additional charge and discharge times of the battery will increase, consuming the battery life. When the estimation exceeds the standard, it will cause harm to the driving process of the electric vehicle and cause thermal runaway.
[0005] From the application perspective, the main methods for estimating the SOC of batteries include the coulomb counting method, the open circuit voltage method, and the method based on the battery equivalent model. The most commonly used estimation methods are the coulomb counting method and the Kalman filter. The essence of the coulomb counting method is to ignore the internal structure and external characteristics of the battery, and only consider the load current flowing into and out of the battery to estimate the battery SOC. The advantage is that it is simple and fast, but the disadvantage is that since the coulomb counting method is an open-loop prediction and lacks a feedback correction link, it is impossible to correct the estimated value according to the current characteristics of the battery; therefore, errors will continue to be generated and accumulated over time. When the error accumulates to a certain extent, the coulomb counting method cannot obtain a more accurate battery SOC estimate, which will lead to overcharging or over-discharging, resulting in an increase in the internal resistance of the battery, a decrease in capacity, a decrease in overall performance, and even an explosion of the battery.
[0006] Liu Hao used the Extended Kalman Filter (EKF) to correct the Coulomb counting method considering the operating conditions of electric vehicles, thereby avoiding huge data processing and achieving fast and effective estimation of the battery SOC. The EKF filtering algorithm is often based on the Coulomb counting method and is used for the purpose of achieving higher accuracy in battery SOC estimation. It can more accurately estimate the state of a nonlinear dynamic system from a series of measurements containing noise. However, since the EKF algorithm only has first-order linear approximation and uses Taylor expansion, all second-order and higher-order terms are discarded, which often results in large rounding errors; and as the nonlinearity increases, the estimation accuracy of the nonlinear system state will become lower and lower, and may even cause the filter to diverge. Summary of the invention
[0007] The purpose of the present invention is to provide a high-order Kalman filtering method for lithium battery SOC estimation to solve the problem of low estimation accuracy of existing methods.
[0008] To achieve the above object, the present invention provides a high-order Kalman filtering method for lithium battery SOC estimation, comprising the following steps:
[0009] S1. Modeling the dynamic process of lithium battery charging and discharging, using the first-order Thevenin equivalent model to perform soft measurement on the battery charging and discharging characteristics;
[0010] S2, introduce hidden variables to expand the dimension modeling,
[0011] A nonlinear system equation is
[0012] (1)
[0013] (2)
[0014] In the formula, is the state vector; is the measurement vector; It is a nonlinear function of the state; is zero and has a variance of Gaussian white noise; is zero and has a variance of Gaussian white noise;
[0015] make
[0016] (3)
[0017] is relative to the original variable The hidden variable function of is referred to as hidden variable; the state equation (1) and the measurement equation (2) are equivalently rewritten as
[0018] (4)
[0019] (5)
[0020] For state variables Fully expanded with latent variables
[0021] (6)
[0022] Establishing linear dynamic relationships between latent variables
[0023] (7)
[0024] In the formula, represents the model parameters to be identified;
[0025] Equations (4) and (7) can be described equivalently as
[0026] (8)
[0027] (9)
[0028] remember
[0029] (10)
[0030] (11)
[0031] (12)
[0032] Expansion state The state model and observation model are
[0033] (13)
[0034] (14)
[0035] S3. Establish a high-order Kalman filter for the state model and observation model of lithium batteries based on the expanded dimension state.
[0036] Preferably, in step S1, the voltage dynamic equation of the battery is:
[0037] (15)
[0038] In the formula, Indicates terminal voltage; Indicates open circuit voltage; represents polarization voltage; represents ohmic resistance; Indicates the load current flowing through the battery;
[0039] The excitation response analysis method is used to simulate the concentration polarization and electrochemical polarization effects of the battery; its zero input response and zero state response are described as:
[0040] (16)
[0041] (17)
[0042] During discharge, the battery is considered to be a superposition of a zero-input response and a zero-state response.
[0043] (18)
[0044] In the formula, represents polarization resistance; represents polarization capacity; represents the time constant; represents the sampling interval, Indicates Sampling period;
[0045] The coulomb counting method calculates the battery SOC and uses the idea of integration to establish the dynamic process of the battery SOC during the charging and discharging process.
[0046] (19)
[0047] In the formula, Represents the SOC calculated by the coulomb counting method; is the Coulomb efficiency; Ca is the maximum available capacity; L is the total sampling time; Ca is the nominal capacity 2.2Ah;
[0048] The four parameters in the Thevenin model equation , , and The relationship between SOC and , respectively, is fitted by multi-order polynomials as
[0049] (20)
[0050] in, , ,..., , , , , , , , , and Parameters such as the above are identified by using genetic algorithm (GA).
[0051] Preferably, in step S3,
[0052] The state equation and measurement equation of lithium battery are:
[0053] (twenty one)
[0054] (twenty two)
[0055] in,
[0056] (twenty three)
[0057] Substitute equation (23) into the state equation (21) and the measurement equation (22),
[0058] (twenty four)
[0059] (25)
[0060] (26)
[0061] remember
[0062] (27)
[0063] Then equations (24), (25) and (26) can be rewritten as
[0064] (28)
[0065] (29)
[0066] (30)
[0067] in, , represents the correlation coefficient after sorting;
[0068] The expanded variable in formula (6) for
[0069] (31)
[0070] Referring to formula (7), the dynamic relationship of the latent variables defined by formula (27) is:
[0071] (32)
[0072] Correlation Matrix , represents the coupling coefficient between the latent variable and the expanded state variable,
[0073] (33)
[0074] The system matrix in formula (10) is And the modeling error in formula (11) They are
[0075] (34)
[0076] (35)
[0077] The coefficients of the constant terms in equations (28), (29), and (30) are , the constant term in the state equation is recorded as a vector:
[0078] (36)
[0079] Then the original state equation (13) can be rewritten as
[0080] (37)
[0081] Rewrite the measurement equation (14) as
[0082] (38)
[0083] (39)
[0084] in
[0085] (40)
[0086] Kalman filtering is performed using equation (37) as the state equation and equation (38) as the measurement equation.
[0087] Preferably, the Kalman filter comprises the following steps:
[0088] Step 1: Set the initial value of the state observer: , , , ;
[0089] Step 2: Time update equation
[0090] System state estimation:
[0091] (41)
[0092] (42)
[0093] (43)
[0094] (44)
[0095] Estimation of the state error covariance matrix:
[0096] (45)
[0097] Step 3: Measure the update equation
[0098] Gain matrix:
[0099] (46)
[0100] Correction of system state estimate:
[0101] (47)
[0102] Estimation of the state error covariance matrix:
[0103] (48).
[0104] The advantages and positive effects of the high-order Kalman filtering method for estimating SOC of a lithium battery described in the present invention are:
[0105] 1. The present invention proposes a Kalman filtering method for lithium battery SOC estimation based on high-order term expansion, and uses the Thevenin principle to establish a first-order equivalent circuit model of the relationship between the resistance and capacitance of the lithium battery. Regarding the estimation accuracy of SOC, the performance of the new high-order Kalman filter designed by the present invention is much higher than that of the EKF.
[0106] 2. The battery SOC estimation method proposed in the present invention adopts a first-order RC equivalent model, which does not involve a complex electrochemical analysis process and has a high algorithm accuracy, so it is feasible and practical.
[0107] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 A first-order RC equivalent circuit model of an embodiment of a high-order Kalman filtering method for estimating SOC of a lithium battery according to the present invention;
[0109] Figure 2 A comparison diagram of EKF and HEKF estimated values and true values of battery SOC of an embodiment of a high-order Kalman filtering method for estimating SOC of a lithium battery of the present invention;
[0110] Figure 3A comparison diagram of the EKF and HEKF estimation errors of the battery SOC of an embodiment of a high-order Kalman filtering method for estimating the SOC of a lithium battery of the present invention;
[0111] Figure 4 A comparison diagram of the absolute values of the average errors of the EKF and HEKF Monte Carlo tests of the battery SOC in an embodiment of a high-order Kalman filtering method for estimating the SOC of a lithium battery of the present invention;
[0112] Figure 5 This is a comparison diagram of the OCV-SOC curves of EKF and HEKF in an embodiment of a high-order Kalman filtering method for estimating SOC of a lithium battery in the present invention. DETAILED DESCRIPTION
[0113] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0114] Example
[0115] A high-order Kalman filtering method for lithium battery SOC estimation comprises the following steps:
[0116] S1. Modeling the dynamic process of lithium battery charging and discharging. The first-order Thevenin equivalent model is used to perform soft measurement on the battery charging and discharging characteristics. Figure 1 As shown, the battery equivalent circuit model can be used to balance computational efficiency and prediction accuracy.
[0117] The voltage dynamic equation of the cell is
[0118] (15)
[0119] In the formula, Indicates terminal voltage; Indicates open circuit voltage; represents polarization voltage; represents ohmic resistance; Indicates the load current flowing through the battery.
[0120] In the equivalent circuit model, since the polarization resistance and polarization capacitance cannot be directly measured, the excitation response analysis method is used to simulate the concentration polarization and electrochemical polarization effects of the battery; its zero input response and zero state response are described as:
[0121] (16)
[0122] (17)
[0123] During the discharge process, by considering the battery as a superposition of the zero input response and the zero state response,
[0124] (18)
[0125] In the formula, represents polarization resistance; represents polarization capacity; represents the time constant; represents the sampling interval, Indicates A sampling period.
[0126] The Coulomb counting method calculates the battery SOC based on the definition of SOC and uses the idea of integration to establish the dynamic process of the battery SOC during the charging and discharging process as follows
[0127] (19)
[0128] In the formula, Represents the SOC calculated by the coulomb counting method; is the Coulombic efficiency; Ca is the maximum available capacity; L is the total sampling time; Ca is the nominal capacity 2.2Ah.
[0129] The four parameters in the Thevenin model equation , , and The relationship between SOC and , respectively, is fitted by multi-order polynomials as
[0130] (20)
[0131] in, , ,..., , , , , , , , , and The parameters are identified by using the existing genetic algorithm (GA). The identified model parameter values are shown in Table 1.
[0132] Table 1 Model parameter values
[0133] ;
[0134] S2, introduce hidden variables to expand the dimension modeling,
[0135] For a class of nonlinear system equations, we can express it as
[0136] (1)
[0137] (2)
[0138] In the formula, is the state vector; is the measurement vector; Nonlinear functions of state; is zero and has a variance of Gaussian white noise; is zero and has a variance of Gaussian white noise.
[0139] First,
[0140] (3)
[0141] is relative to the original variable The hidden variable function of is referred to as hidden variable; the state equation (1) and the measurement equation (2) are equivalently rewritten as
[0142] (4)
[0143] (5)
[0144] For state variables Fully expanded with latent variables
[0145] (6)
[0146] Establishing linear dynamic relationships between latent variables
[0147] (7)
[0148] In the formula, Represents the model parameters to be identified.
[0149] Equations (4) and (7) can be described equivalently as
[0150] (8)
[0151] (9)
[0152] If you remember
[0153] (10)
[0154] (11)
[0155] (12)
[0156] The expansion state The state model and observation model are
[0157] (13)
[0158] (14)
[0159] S3. Establish a high-order Kalman filter for the state model and observation model of lithium batteries based on the expanded dimension state.
[0160] The state equation and measurement equation of lithium battery are:
[0161] (twenty one)
[0162] (twenty two)
[0163] in,
[0164] (twenty three)
[0165] in, , ,..., , , , , , , , , and The parameter values are shown in Table 1.
[0166] Substitute equation (23) into the state equation (21) and the measurement equation (22),
[0167] (twenty four)
[0168] (25)
[0169] (26)
[0170] If you remember
[0171] (27)
[0172] Then equations (24), (25) and (26) can be rewritten as
[0173] (28)
[0174] (29)
[0175] (30)
[0176] in, , represents the correlation coefficient after sorting;
[0177] The expanded variable in formula (6) for
[0178] (31)
[0179] Referring to formula (7), the dynamic relationship of the latent variables defined by formula (27) is:
[0180] (32)
[0181] Correlation Matrix , The coupling coefficient between the latent variable and the expanded state variable follows the following rules in the absence of prior information.
[0182] (33)
[0183] The system matrix in formula (10) is And the modeling error in formula (11) They are
[0184] (34)
[0185] (35)
[0186] The coefficients of the constant terms in equations (28), (29), and (30) are , the constant term in the state equation is recorded as a vector:
[0187] (36)
[0188] Then the original state equation (13) can be rewritten as
[0189] (37)
[0190] Rewrite the measurement equation (14) as
[0191] (38)
[0192] (39)
[0193] in
[0194] (40)
[0195] Kalman filtering is performed using equation (37) as the state equation and equation (38) as the measurement equation.
[0196] Kalman filtering consists of the following steps:
[0197] Step 1: Set the initial value of the state observer: , , , ;
[0198] Step 2: Time update equation
[0199] System state estimation:
[0200] (41)
[0201] (42)
[0202] (43)
[0203] (44)
[0204] Estimation of the state error covariance matrix:
[0205] (45)
[0206] Step 3: Measure the update equation
[0207] Gain matrix:
[0208] (46)
[0209] Correction of system state estimate:
[0210] (47)
[0211] Estimation of the state error covariance matrix:
[0212] (48).
[0213] The lithium battery on electric vehicles is used as the research object, and the data used are all from the NASA battery database. The data used in the experiment of this embodiment is discharged at room temperature of 24 degrees Celsius using a 0.05Hz square wave load curve with an amplitude of 4A and a duty cycle of 50%.
[0214] After 1000 Monte Carlo experiments, the average mean square error of battery SOC estimation is shown in Table 2.
[0215] Table 2 Average mean square error of Monte Carlo simulation experiment
[0216] ;
[0217] The Monte Carlo experiment was carried out three times. Compared with the EKF, the high-order Kalman filter (HEKF) algorithm of the present invention can improve the estimation accuracy of the battery SOC by 17.79%. Therefore, the filter proposed in the present invention has good performance.
[0218] Figure 2 This is a comparison chart of the EKF and HEKF estimated values and the true value of the battery SOC of an embodiment of a high-order Kalman filter method for estimating the SOC of a lithium battery of the present invention. As shown in the figure, it can be clearly seen that the estimated value generated by the HEKF method is closer to the true value than the estimated value generated by the EKF method. Figure 3 This is a comparison diagram of the EKF and HEKF estimation errors of the battery SOC of an embodiment of a high-order Kalman filtering method for estimating the SOC of a lithium battery of the present invention. As shown in the figure, it is obvious that the HEKF method is more accurate than the EKF method and can achieve a higher precision battery SOC estimation. Figure 4 This is a comparison chart of the absolute values of the average errors of the EKF and HEKF Monte Carlo tests of the battery SOC of an embodiment of a high-order Kalman filtering method for estimating the SOC of a lithium battery of the present invention. As shown in the figure, it can be seen that the error value of the EKF method is generally greater than that of the HEKF method, which shows that the accuracy of the HEKF method is improved to a certain extent compared with the EKF method. Figure 5 This is a comparison of the OCV-SOC curves of EKF and HEKF of an embodiment of a high-order Kalman filter method for estimating SOC of a lithium battery of the present invention. As shown in the figure, it is obvious that the OCV-SOC curve obtained by the HEKF method is more in line with the actual value, so it can be concluded that the proposed filter has good performance.
[0219] Therefore, the present invention adopts the above-mentioned high-order Kalman filtering method for estimating the SOC of a lithium battery, which can solve the problem of low estimation accuracy of the existing method.
[0220] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A high-order Kalman filtering method for lithium battery SOC estimation, characterized in that: The following steps are involved: S1. Modeling the dynamic process of lithium battery charging and discharging, using the first-order Thevenin equivalent model to perform soft measurement on the battery charging and discharging characteristics; S2, introduce hidden variables to expand the dimension modeling, A nonlinear system equation is (1) (2) In the formula, is the state vector; is the measurement vector; It is a nonlinear function of the state; is zero and has a variance of Gaussian white noise; is zero and has a variance of Gaussian white noise; make (3) is relative to the original variable The hidden variable function of is referred to as hidden variable; the state equation (1) and the measurement equation (2) are equivalently rewritten as (4) (5) For state variables Fully expanded with latent variables (6) Establishing linear dynamic relationships between latent variables (7) In the formula, represents the model parameters to be identified; Equations (4) and (7) can be described equivalently as (8) (9) remember (10) (11) (12) Expansion state The state model and observation model are (13) (14) S3. Establish a high-order Kalman filter for the state model and observation model of lithium batteries based on the expanded dimension state.
2. A high-order Kalman filtering method for lithium battery SOC estimation according to claim 1, characterized in that: In step S1, the voltage dynamic equation of the battery is: (15) In the formula, Indicates terminal voltage; Indicates open circuit voltage; represents polarization voltage; represents ohmic resistance; Indicates the load current flowing through the battery; The excitation response analysis method is used to simulate the concentration polarization and electrochemical polarization effects of the battery; its zero input response and zero state response are described as: (16) (17) During discharge, the battery is considered to be a superposition of a zero-input response and a zero-state response. (18) In the formula, represents polarization resistance; represents polarization capacity; represents the time constant; represents the sampling interval, Indicates Sampling period; The coulomb counting method calculates the battery SOC and uses the idea of integration to establish the dynamic process of the battery SOC during the charging and discharging process. (19) In the formula, Represents the SOC calculated by the coulomb counting method; is the Coulombic efficiency; Ca is the maximum available capacity; L is the total sampling time; Ca is the nominal capacity 2.2Ah; The four parameters in the Thevenin model equation , , and The relationship between SOC and , respectively, is fitted by multi-order polynomials as (20) in, , ,..., , , , , , , , , and Parameters such as the above are identified by using the genetic algorithm GA.
3. The high-order Kalman filtering method for lithium battery SOC estimation according to claim 1, characterized in that: In the step S3, The state equation and measurement equation of lithium battery are: (21) (22) in, (23) Substitute equation (23) into the state equation (21) and the measurement equation (22), (24) (25) (26) remember (27) Then equations (24), (25) and (26) can be rewritten as (28) (29) (30) in, , represents the correlation coefficient after sorting; The expanded variable in formula (6) for (31) Referring to formula (7), the dynamic relationship of the latent variables defined by formula (27) is: (32) Correlation Matrix , represents the coupling coefficient between the latent variable and the expanded state variable, (33) The system matrix in formula (10) is And the modeling error in formula (11) They are (34) (35) The coefficient of the constant term in equations (28), (29), and (30) is , the constant term in the state equation is recorded as a vector: (36) Then the original state equation (13) can be rewritten as (37) Rewrite the measurement equation (14) as (38) (39) in (40) Kalman filtering is performed using equation (37) as the state equation and equation (38) as the measurement equation.
4. A high-order Kalman filtering method for lithium battery SOC estimation according to claim 3, characterized in that: The Kalman filter comprises the following steps: Step 1: Set the initial value of the state observer: , , , ; Step 2: Time update equation System state estimation: (41) (42) (43) (44) Estimation of the state error covariance matrix: (45) Step 3: Measure the update equation Gain matrix: (46) Correction of system state estimate: (47) Estimation of the state error covariance matrix: (48)。
Citation Information
Patent Citations
Method for estimating state of charge of battery through Kalman filtering
CN105445665A
Power battery SOC estimation method and system based on dynamic parameter model
CN105607009A
Lead-acid storage battery SOC estimation method
CN113219344A
Fading parallel Kalman filtering power battery charge state estimation method
CN113884914A
