A method for estimating SOC of automotive power batteries based on ambient temperature
By constructing a lithium-ion battery equivalent circuit model that considers ambient temperature and using the extended Kalman filter method, the problem of state estimation errors caused by inaccurate lithium-ion battery models is solved, accurate SOC estimation is achieved in a wide temperature range, and improves efficiency Application effect of electric vehicle battery management system.
Patent Information
- Application Number
- CN202010505225.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-05
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-06-05
AI Technical Summary
In the existing technology, inaccuracies in the lithium-ion battery model caused by different ambient temperatures lead to large state estimation errors, making it difficult to accurately estimate the battery state of charge.
An equivalent circuit model of the lithium-ion battery is constructed taking into account the ambient temperature. The model parameters are identified through the forgetting factor least squares method, and simulated and verified based on the dynamic operating condition test data. The extended Kalman filter method is used for SOC estimation.
It effectively controls the estimation error range of terminal voltage and SOC, improves the application of electric vehicles in a wide temperature range, solves the problem of state estimation errors caused by inaccurate models, and is of great significance to electric vehicle battery management systems.
Smart Images

Figure CN111931325B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of lithium-ion batteries, and in particular relates to a method for estimating the SOC of a vehicle power battery incorporating ambient temperature. Background Art
[0002] Lithium-ion power batteries are the main energy suppliers for new energy vehicles (NEVs). They have many advantages such as lightweight, low discharge rate and high energy density, and are widely used in NEVs. It should be noted that accurate modeling and parameter estimation of lithium batteries are crucial to the estimation of battery state of charge, which has become one of the most challenging tasks and difficulties in developing an efficient battery management system (BMS). In addition, state estimation is a key part of BMS, and accurate estimation of SOC is crucial.
[0003] To this end, many researchers at home and abroad have conducted extensive research on the mathematical model of lithium-ion batteries. It mainly includes electrochemical models and equivalent circuit models. Since the equivalent circuit model has the characteristics of few parameters, convenient modeling and simple calculation in calculating the external characteristics of the battery, the equivalent circuit model is widely used. In addition, due to the influence of ambient temperature, the battery SOC is difficult to accurately estimate.
[0004] It should be noted that this section is intended to provide a background or context to embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section. Summary of the invention
[0005] The purpose of the present invention is to provide a method for estimating the SOC of a vehicle power battery incorporating ambient temperature, thereby solving the technical problem in the prior art of large state estimation errors caused by inaccurate models caused by different ambient temperatures.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions:
[0007] The method for estimating the SOC of a vehicle power battery integrating ambient temperature comprises the following steps:
[0008] S1: Construct an equivalent circuit model of lithium-ion battery considering ambient temperature;
[0009] S2: Identify the parameters of the lithium-ion battery equivalent circuit model in step S1 by using the forgetting factor least squares method to obtain model parameters under different environments;
[0010] S3: Combined with dynamic operating test data, the proposed lithium-ion battery equivalent circuit model established by parameter identification results is verified at the simulation level;
[0011] S4: By comparing the measured dynamic operating condition experimental data with the terminal voltage simulation data obtained by model simulation, the model established in step S1 is verified at the application level, and the SOC estimation of the vehicle power battery is obtained based on the extended Kalman filter method.
[0012] Furthermore, the mathematical relationship of the lithium-ion battery equivalent circuit model in the above step S1 is:
[0013]
[0014] Among them, U t is the battery terminal voltage; U OC represents the open circuit voltage; R is the ohmic internal resistance; R1(T amb ) and C1(T amb ) are the electrochemical polarization resistance and electrochemical polarization fractional capacitance respectively and is the ambient temperature T amb Function; R2(T amb ) and C2(T amb ) are the concentration polarization resistance and concentration polarization fractional capacitance respectively and is the ambient temperature T amb function; I represents the load current; U1 and U2 represent the electrochemical polarization voltage and concentration polarization voltage, respectively.
[0015] Furthermore, the application level verification in the above step S4 is specifically as follows:
[0016] Discretizing equation (1) yields:
[0017]
[0018] Where Δt is the sampling time, I(k) is the input current;
[0019] The SOC relationship can be discretized to obtain:
[0020]
[0021] Define X(k) = [SOC(k), U1(k), U2(k)] T As the state variable of the system, Y(k) is the output voltage, i.e., the terminal voltage;
[0022] Then the state space equation of the system is:
[0023]
[0024] Where ω and υ represent Gaussian noise, g(X(k)) represents the function of the battery terminal voltage, and the matrices A and B are:
[0025]
[0026] Based on the battery state space equation of formula (4), the above model is combined with the EKF algorithm, and the steps are as follows:
[0027] Step 1: Initialization
[0028] State initialization: X0 = E[X0]
[0029] Covariance initialization: P0 = E[(X0-E(X0))(X0-E(X0)) T ]
[0030] Noise initialization: Q and R (ω and ν are both Gaussian noise);
[0031] Step 2: State prediction
[0032] The estimated state value at time k can be calculated from the state value at time k-1:
[0033]
[0034] In the formula, Represents the prediction result at time k;
[0035] The estimated terminal voltage at time k is:
[0036] Y k =g(X k )+R k (6)
[0037] The covariance estimate at time k is:
[0038] P k / k-1 =A k-1 P k-1 A k-1 T +Q k-1 (7)
[0039] Step 3: Update and calibrate
[0040] According to the actual observed voltage y(k), update the state value and covariance of the system
[0041] (1) Calculate the matrix H k (Jacobian matrix)
[0042]
[0043] in, is the derivative of the second-order Taylor expansion of equation (4) with respect to SOC;
[0044] (2) Kalman gain calculation
[0045] Kk =P k / k-1 H k T (H k P k / k-1 H k T +R k ) -1 (9)
[0046] (3) Measurement update
[0047] The state positive equation at time k is:
[0048]
[0049] The error covariance update equation at time k is:
[0050] P k / k =P k / k-1 -K k H k P k / k-1 (11).
[0051] Beneficial effects of the present invention:
[0052] The modeling method proposed in the present invention can control the terminal voltage estimation and SOC accurate estimation within a smaller error range, verifying the effectiveness and accuracy of the proposed model, improving the application of electric vehicles in a wide temperature range, and solving the problem of large state estimation errors caused by inaccurate models caused by different ambient temperatures. It is of great significance for state estimation and energy management applied to electric vehicle battery management systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a diagram of specific implementation steps of the method for estimating SOC of a lithium battery for a vehicle in the present invention;
[0054] Figure 2 This is a schematic diagram of an equivalent circuit model considering ambient temperature of the present invention;
[0055] Figure 3 It is a schematic diagram of the OCV-SOC-Tamb relationship under different ambient temperatures of the present invention;
[0056] Figure 4 It is a schematic diagram of the relationship between the discharge capacity and the ambient temperature at different ambient temperatures of the present invention;
[0057] Figure 5 It is a schematic diagram of parameter identification results based on the FFLS method of the present invention;
[0058] Figure 6It is a schematic diagram comparing the terminal voltage simulation value under the ambient temperature -10°C DST condition of the present invention with the simulation value and the test value of the model without considering the ambient temperature;
[0059] Figure 7 Schematic diagram of the error between the terminal voltage test value and the simulation value of the two models under -10℃ DST conditions;
[0060] Figure 8 It is a schematic diagram comparing the terminal voltage simulation value under the DST working condition of the ambient temperature of 50°C of the present invention with the simulation value and the test value of the model without considering the ambient temperature;
[0061] Fig. 9 Schematic diagram of the error between the terminal voltage test value and the simulation value of the two models under 50℃ DST conditions;
[0062] Fig.10 It is a schematic diagram comparing the SOC simulation value of the present invention under the ambient temperature -10°C DST condition with the simulation value and the test value of the model without considering the ambient temperature;
[0063] Fig.11 Schematic diagram of the error between the SOC test value and the simulation value of the two models under -10℃ DST conditions;
[0064] Fig.12 It is a schematic diagram comparing the SOC simulation value of the present invention under the DST working condition with the simulation value and the test value of the model without considering the ambient temperature under the ambient temperature of 50°C;
[0065] Fig.13 Schematic diagram of the error between the SOC test value and the simulation value of the two models under 50℃ DST conditions. DETAILED DESCRIPTION
[0066] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present invention will be more comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The described features or characteristics may be combined in any suitable manner in one or more embodiments.
[0067] like Figure 1 As shown, the method for estimating the SOC of a vehicle power battery integrating the ambient temperature specifically includes the following steps:
[0068] S1: Construct an equivalent circuit model of lithium-ion battery considering ambient temperature;
[0069] S2: Identify the parameters of the lithium-ion battery equivalent circuit model in step S1 by using the forgetting factor least squares method to obtain model parameters under different environments;
[0070] S3: Combined with dynamic operating test data, the proposed lithium-ion battery equivalent circuit model established by parameter identification results is verified at the simulation level;
[0071] S4: By comparing the measured dynamic operating condition experimental data with the terminal voltage simulation data obtained by model simulation, the model established in step S1 is verified at the application level, and the SOC estimation of the vehicle power battery is obtained based on the extended Kalman filter method.
[0072] In step S1, a battery equivalent circuit model is constructed, wherein the mathematical relationship is:
[0073]
[0074] In formula (1), U t is the battery terminal voltage; U OC represents the open circuit voltage (OCV); R is the ohmic internal resistance; R1(T amb ) and C1(T amb ) are the electrochemical polarization resistance and electrochemical polarization fractional capacitance respectively and is the ambient temperature T amb Function; R2(T amb ) and C2(T amb ) are the concentration polarization resistance and concentration polarization fractional capacitance respectively and is the ambient temperature T amb function; I represents the load current; U1 and U2 represent the electrochemical polarization voltage and concentration polarization voltage, respectively.
[0075] In step S2, due to the huge amount of battery test data, the dynamic working condition test data of the lithium battery is used to identify the parameters of the equivalent circuit model using the forgetting factor least square (FFLS) method to obtain the model parameters under different ambient temperatures.
[0076] Step 1: Perform Laplace transform on the terminal voltage calculation formula (1), and we can get
[0077]
[0078] Stept-2 Find the transfer function G(s) of the system
[0079]
[0080] Stept-3 uses bilinear transformation discretization
[0081] make but Among them, a i(i=1,2…,5) is a constant.
[0082] Step 4: Convert the discrete system transfer function obtained in the previous step into the time domain difference equation:
[0083] y(k)=a1y(k-1)+a2y(k-2)+a3I(k)+a4I(k-1)+a5I(k-2)
[0084] Where y(k) = U OC (k)-U L (k), y(k) represents the voltage difference, I(k) is the input current
[0085] Step-5 Definition
[0086] Stept-6 defines the sampling error as e(k),
[0087] Step t-7 Calculate the recursive termination condition J(θ)
[0088] against
[0089] It can be calculated
[0090] Step 8 introduces the forgetting factor λ, and the FFLS recursive calculation formula is as follows:
[0091]
[0092] Step 9 Substitution The parameter a can be obtained i (i=1,2,…,5) value.
[0093] Stept-10 uses the inverse bilinear rule for the Stept-3 transfer function.
[0094] make, but
[0095]
[0096] Stept-11: By comparing the corresponding coefficients in Stept-2 and Stept-10, R0, R1, C1, R2 and C2 can be obtained.
[0097] In step S3, a lithium-ion battery equivalent circuit model considering the influence of ambient temperature is built, and the DST working condition (Dynamic stress test, DST) is used to perform simulation-level verification at three different ambient temperatures, and the corresponding mean absolute error (Mean Absolute Error, MAE) and root mean square error (Root Mean Squared Error, RMSE) are obtained.
[0098] In step S4, the application level verification is specifically as follows:
[0099] Discretizing equation (1) yields:
[0100]
[0101] Where Δt is the sampling time and I(k) is the input current.
[0102] The SOC relationship can be discretized to obtain:
[0103]
[0104] Define X(k) = [SOC(k), U1(k), U2(k)] T As the state variable of the system, Y(k) is the output voltage, that is, the terminal voltage.
[0105] Then the state space equation of the system is:
[0106]
[0107] Where ω and υ represent Gaussian noise, g(X(k)) represents the function of the battery terminal voltage, and the matrices A and B are:
[0108]
[0109] Based on the battery state space equation of formula (4), the above model is combined with the EKF algorithm, and the steps are as follows:
[0110] Step 1: Initialization
[0111] State initialization: X0 = E[X0]
[0112] Covariance initialization: P0 = E[(X0-E(X0))(X0-E(X0)) T ]
[0113] Noise initialization: Q and R (ω and ν are Gaussian noise)
[0114] Step 2: State prediction
[0115] The estimated state value at time k can be calculated from the state value at time k-1:
[0116]
[0117] In the formula, Represents the prediction result at time k.
[0118] The estimated terminal voltage at time k is:
[0119] Y k =g(X k )+R k (6)
[0120] The covariance estimate at time k is:
[0121] P k / k-1 =A k-1 P k-1 A k-1 T +Q k-1 (7)
[0122] Step 3: Update and calibrate
[0123] According to the actual observed voltage y(k), update the state value and covariance of the system
[0124] (1) Calculate the matrix H k (Jacobian matrix)
[0125]
[0126] in, is the derivative of the second-order Taylor expansion of equation (4) with respect to SOC.
[0127] (2) Kalman gain calculation
[0128] K k =P k / k-1 H k T (H k P k / k-1 H k T +R k ) -1 (9)
[0129] (3) Measurement update
[0130] The state positive equation at time k is:
[0131]
[0132] The error covariance update equation at time k is:
[0133] P k / k =P k / k-1 -K k H k P k / k-1 (11)
[0134] In order to verify the accuracy of the battery equivalent circuit model established by the parameter identification results, the present invention first established an equivalent circuit model that considers the influence of ambient temperature and a model that does not consider ambient temperature in the MATLAB / Simulink environment. Secondly, the model parameters are identified by the FFLS algorithm, and the proposed battery model established by the parameter identification results is verified at the simulation level by the DST working condition. The DST dynamic working condition experimental data obtained by experimental measurement is compared with the terminal voltage simulation data obtained by model simulation, as shown in the figure. Figure 6 , as shown in 8, the error is given by Figure 7 , as shown in 9. Finally, the two models estimate the SOC of lithium batteries based on the EKF method and compare them with the experimental data, as shown in Fig.10 , as shown in 12, the error is given by Fig.11 , as shown in 13.
[0135] The RMSE root mean square error and mean absolute error (MAE) of the terminal voltage estimation under different ambient temperature DST conditions of the two models can be obtained. At low temperature of -10℃ and high temperature of 50℃, the MAE value at -10℃ is reduced by 52.6% at most, and the RMSE value is reduced by 45.1%. At 50℃, the MAE value is reduced by 51.5% at most, and the RMSE value is reduced by 45.1% at most. In addition, at -10℃, the MAE value is reduced by 55.0% at most, and the RMSE value is reduced by 52.6%. At 50℃, the MAE value is reduced by 56.3% at most, and the RMSE value is reduced by 52.9% at most.
[0136] Data from simulation and application levels show that the modeling method proposed in the present invention can control the terminal voltage estimation and SOC accurate estimation within a smaller error range, verifying the effectiveness and accuracy of the model proposed in the present invention, improving the application of electric vehicles in a wide temperature range, and solving the problem of large state estimation errors caused by inaccurate models caused by different ambient temperatures. It is of great significance for state estimation and energy management applied to electric vehicle battery management systems.
[0137] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the appended claims.
Claims
1. A method for estimating SOC of a vehicle power battery integrating ambient temperature, characterized in that: The following steps are involved: S1: Construct an equivalent circuit model of lithium-ion battery considering ambient temperature; The mathematical relationship of the lithium-ion battery equivalent circuit model in step S1 is: Among them, U t is the battery terminal voltage; U OC represents the open circuit voltage; R is the ohmic internal resistance; R1(T amb ) and C1(T amb ) are the electrochemical polarization resistance and electrochemical polarization fractional capacitance respectively and is the ambient temperature T amb Function; R2(T amb ) and C2(T amb ) are the concentration polarization resistance and concentration polarization fractional capacitance respectively and is the ambient temperature T amb function; I represents the load current; U1 and U2 represent the electrochemical polarization voltage and concentration polarization voltage, respectively; S2: Identify the parameters of the lithium-ion battery equivalent circuit model in step S1 by using the forgetting factor least squares method to obtain model parameters under different environments; S3: Combined with dynamic operating test data, the proposed lithium-ion battery equivalent circuit model established by parameter identification results is verified at the simulation level; S4: using the measured dynamic working condition experimental data to compare with the terminal voltage simulation data obtained by model simulation, the model established in step S1 is verified at the application level, and the SOC estimation of the vehicle power battery is obtained based on the extended Kalman filter method; The application level verification in step S4 is specifically as follows: Discretizing equation (1) yields: Where Δt is the sampling time, I(k) is the input current; The SOC relationship can be discretized to obtain: Define X(k) = [SOC(k), U1(k), U2(k)] T As the state variable of the system, Y(k) is the output voltage, i.e., the terminal voltage; Then the state space equation of the system is: Where ω and υ represent Gaussian noise, g(X(k)) represents the function of the battery terminal voltage, and the matrices A and B are: Based on the battery state space equation of formula (4), the above model is combined with the EKF algorithm, and the steps are as follows: Step 1: Initialization State initialization: X0 = E[X0] Covariance initialization: P0 = E[(X0-E(X0))(X0-E(X0)) T ] Noise initialization: Q and R (ω and ν are both Gaussian noise); Step 2: State prediction The estimated state value at time k can be calculated from the state value at time k-1: In the formula, Represents the prediction result at time k; The estimated terminal voltage at time k is: Y k =g(X k )+R k (6) The covariance estimate at time k is: Step 3: Update and calibrate According to the actual observed voltage y(k), update the state value and covariance of the system (1) Calculate the matrix H k (Jacobian matrix) in, is the derivative of the second-order Taylor expansion of equation (4) with respect to SOC; (2) Kalman gain calculation (3) Measurement update The state positive equation at time k is: The error covariance update equation at time k is: P k / k =P k / k-1 -K k H k P k / k-1 (11)。
