Lithium-ion battery SOC estimation algorithm based on online parameter estimation

By establishing a Thevenin lithium-ion battery model and using the extended Kalman filter EKF for online identification, combined with the Luenberger state observer, the problem that model parameters cannot be estimated online and in real time in traditional lithium-ion battery SOC estimation is solved, significantly improving the accuracy and accuracy of SOC estimation. robustness.

CN112433155BActive Publication Date: 2024-09-10NANJING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910787296.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-26
Publication Date
2024-09-10
Estimated Expiration
2039-08-26

AI Technical Summary

Technical Problem

Traditional lithium-ion battery SOC estimation methods cannot achieve online and real-time estimation of model parameters, resulting in low SOC estimation accuracy and large errors.

Method used

A lithium-ion battery SOC estimation algorithm based on parameter online estimation is used to establish a Thevenin lithium-ion battery model, use the intermittent discharge static method to determine the SOC-OCV relationship, estimate the initial parameters of the battery model offline, and use the extended Kalman filter EKF Carry out online identification of battery model parameters and observe SOC with Luenberger state observer.

Benefits of technology

Online real-time identification of battery model parameters is achieved, reducing SOC estimation errors and improving estimation accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112433155B
    Figure CN112433155B
Patent Text Reader

Abstract

The present invention discloses a lithium-ion battery SOC estimation algorithm based on online parameter estimation, the main steps of which include: establishing a lithium-ion battery model, determining the SOC-OCV relationship using a discharge static method, estimating the initial parameters of the battery model in an offline state, estimating the battery ohmic internal resistance using an extended Kalman filter algorithm EKF in an online state, and observing the SOC value using a Luenberger state observer. The algorithm of the present invention is simple to implement and has strong practicality. By using the Luenberger state observer and the extended Kalman filter algorithm EKF, online parameter estimation can be achieved, thereby obtaining a more stable and accurate SOC estimation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery state of charge estimation, and in particular to a lithium-ion battery SOC estimation algorithm based on online parameter estimation. Background Art

[0002] As the main energy source of electric vehicles, the SOC of power batteries is one of the most important and basic parameters in the energy management system. Only accurate SOC value estimation can make reasonable energy allocation, so as to make more efficient use of limited energy and correctly predict the remaining mileage of the vehicle. The definition of SOC (State of Charge) is the state of charge of the battery, which is used to indicate the remaining power of the battery. Accurate battery state of charge (SOC) is the premise and prerequisite for the management of electric vehicle energy system. The battery is a complex nonlinear system. When used in electric vehicles, it is difficult to obtain accurate noise statistics due to the numerous electronic devices and complex noise interference. In addition, the randomness of the changes in external and internal environmental parameters makes the system mathematical model inaccurate and generates model errors. Therefore, it is necessary to study the anti-interference ability and adaptive ability of battery state of charge estimation to improve the robustness of the estimation and the effectiveness of the battery state of charge.

[0003] Among the currently available SOC estimation methods, the ampere-hour measurement method based on the current integration method is prone to cumulative errors; the open circuit voltage method and electromotive force method based on battery terminal voltage measurement require the battery to remain stationary for a long time and cannot estimate the SOC value in real time; the neural network method based on a large amount of sample data and a neural network model requires a large amount of data samples to provide a reliable training method; the Kalman filtering method based on the battery state space model and recursive equation cannot perform online estimation of model parameters, and the SOC estimation error is large. Summary of the invention

[0004] The purpose of the present invention is to provide a lithium-ion battery SOC estimation algorithm based on online parameter estimation, so as to solve the problems that the traditional lithium-ion battery SOC estimation algorithm cannot realize online real-time estimation of model parameters, has low SOC estimation accuracy and large errors.

[0005] The technical solution to achieve the purpose of the present invention is: a lithium-ion battery SOC estimation algorithm based on online parameter estimation, comprising the following steps:

[0006] Step 1, establishing a Thevenin lithium-ion battery model;

[0007] Step 2: Determine the SOC-OCV relationship using the intermittent discharge static method;

[0008] Step 3: Estimate the initial parameters of the battery model in an offline state;

[0009] Step 4: Use the extended Kalman filter (EKF) to identify the battery model parameters and use the Luenberger state observer to observe the SOC.

[0010] Compared with the prior art, the present invention has the following significant advantages: the present invention uses an extended Kalman filter (EKF) to perform online real-time identification of battery model parameters, and uses a Luenberger state observer to observe SOC, thereby reducing the SOC estimation error compared with a general Kalman filter algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a flow chart of the lithium-ion battery SOC estimation algorithm based on online parameter estimation of the present invention.

[0012] Figure 2 This is a diagram of the second-order Thevenin lithium-ion battery model.

[0013] Figure 3 It is the intermittent discharge current diagram.

[0014] Figure 4 It is the intermittent discharge voltage diagram.

[0015] Figure 5 It is a schematic diagram of the voltage response curve at the end of discharge of a lithium-ion battery.

[0016] Figure 6 This is the result diagram of SOC observation experiment. DETAILED DESCRIPTION

[0017] like Figure 1 As shown, a lithium-ion battery SOC estimation algorithm based on online parameter estimation includes the following steps:

[0018] Step 1, establishing a Thevenin lithium-ion battery model;

[0019] Step 2: Determine the SOC-OCV relationship using the intermittent discharge static method;

[0020] Step 3: Estimate the initial parameters of the battery model in an offline state;

[0021] Step 4: Use the extended Kalman filter (EKF) to identify the battery model parameters and use the Luenberger state observer to observe the SOC.

[0022] Furthermore, the lithium-ion battery model is a second-order Thevenin model.

[0023] Furthermore, the initial parameters of the battery model are calculated offline using the voltage response curve after the intermittent discharge of the battery. The initial parameters include the ohmic internal resistance of the battery, and the resistance and capacitance of the two RC parallel circuits.

[0024] Furthermore, the extended Kalman filter EKF is used to identify the battery model parameters, and the Luenberger state observer is used to observe the SOC; specifically:

[0025] The discrete state equation and output equation of the extended Kalman filter EKF are as follows:

[0026]

[0027] Among them, w k , m k are independent zero-mean Gaussian white noises, R k is the ohmic resistance value at the current moment, R k+1 is the ohmic resistance value at the next moment, V ocv,k+1 (SOC k+1 ) is the open circuit voltage value, V k+1 is the output voltage, U p,k+1 , U s,k+1 are the voltages of the two RC parallel circuits, i k is the current value at the current moment;

[0028] State transfer matrix: F = 1, input matrix: u = i k

[0029] The estimation process of the extended Kalman filter EKF is as follows:

[0030] Step 1, setting the initial values ​​of the state vector R and the state vector estimation error covariance Q;

[0031] Step 2, state prediction matrix:

[0032]

[0033] in, is the state matrix, and F is the state transfer matrix.

[0034] Step 3, transfer of noise covariance matrix:

[0035] P k - =FP k-1 F T +Q

[0036] Among them, P k - is the noise covariance matrix at the current moment, P k-1 is the noise covariance matrix of the previous moment.

[0037] Step 4, calculate the Kalman coefficient:

[0038] K k =Pk - H T inv(HP k - H T +V)

[0039] Among them, K k is the Kalman coefficient, H is the output matrix, and V is the observation noise covariance;

[0040] Step 5, update status:

[0041] V k =V ocv,k (SOC k )-U p,k -U p,k -i k R

[0042]

[0043] Among them, V k is the predicted output voltage at the current moment, U p,k , U s,k are the voltages of the two RC parallel circuits, i k is the output current, R is the ohmic resistance of the battery, is the updated state variable, is the current state variable, y k is the actual output voltage measured.

[0044] Step 6, update of the noise covariance matrix:

[0045] P k =(IK k H)P k -

[0046] Where I is the identity matrix, P k is the updated noise covariance matrix.

[0047] The state equation and output equation of the Luenberger state observer are as follows:

[0048]

[0049] Among them, the state variable x=[U p U S SOC] T , SOC is the battery SOC value, U p , U S are the voltages of the two RC parallel circuits respectively;

[0050] Input quantity u = I, I is the output current;

[0051] State Matrix

[0052] Control matrix B = [1 / C p 1 / C s -1 / Q n ] T , Q n is the battery capacity, R p , C p , R s , C s are the resistance and capacitance values ​​of the two series circuits respectively;

[0053] h(x)=E(soc)-U p -U s , E(soc) is the open circuit voltage, and the output matrix D=R.

[0054] The algorithm of the present invention is further described below in conjunction with the accompanying drawings.

[0055] Example

[0056] Combination Figure 2 , a second-order Thevenin lithium-ion battery model is established, the open-circuit voltage E(t) is used to represent the voltage source, R represents the ohmic resistance of the battery, and a second-order RC loop is used to simulate the polarization process of the battery.

[0057] Combination Figure 3 and Figure 4 , the horizontal axis is time, Figure 3 The ordinate is the discharge current, Figure 4 The vertical axis is the open circuit voltage. The SOC-OCV relationship is determined by the intermittent discharge static method. First, the battery is fully charged to 100% SOC. Secondly, a negative pulse current is used to discharge the battery at every 10% SOC. Then the battery is left to rest for 1 hour to eliminate the polarization reaction. Finally, the average value at rest is calculated to obtain the SOC-OCV curve. The pulse discharge current is set to C / 2, and its discharge time width corresponds to a certain amount of charge (i.e. 10% SOC).

[0058] Figure 5 This is a schematic diagram of the voltage response curve at the end of the discharge of a lithium-ion battery. (V1-V0) is the process in which the voltage drop on the internal ohmic resistance of the battery disappears after the discharge is completed. From this, the ohmic internal resistance of the battery can be obtained:

[0059]

[0060] Wherein, R is the ohmic resistance, I is the output current, V1 is the voltage value when the pulse responds to node 1, and V0 is the voltage value when the pulse responds to node 0.

[0061] The polarization process of the battery is simulated by superimposing two resistance and capacitance links. Figure 2 The time constant of the RC parallel circuit composed of Cs and Rs is small, and the pulse response node V1 to the pulse response node V2 is used to simulate the process of rapid voltage change of the battery when the current suddenly changes. The time constant of the parallel circuit of Cp and Rp is large, and the pulse response node V2 to the pulse response node V3 is used to simulate the process of slow voltage change.

[0062] Assume that the battery is at (t0-t r ) during which it discharges for a period of time and then remains in a static state for the rest of the time. During this process, the RC network voltage is:

[0063]

[0064]

[0065] where t0, t d , t r are the discharge start time, discharge stop time and static stop time respectively, t is the time parameter, R p , C p , R s , C s are the resistance and capacitance values ​​of the two series circuits, U p , U s are the voltages of the two RC parallel circuits respectively.

[0066] Let τ s =R s C s , τ p =R p C sp , is the time constant of the two RC parallel circuits. The voltage change from the pulse response node V1 to the pulse response node V3 is caused by the disappearance of the polarization reaction of the battery. In this process, the voltage output is: Matlib can be used to fit the coefficients of the double exponential term and identify R s , R p , C S , C P The value of .

[0067] according to Figure 2 The functional relationship of the equivalent circuit model is as follows:

[0068]

[0069] Where, E(t) is the open circuit voltage, U(t) is the output voltage, and i is the output current;

[0070] The discrete state equation and output equation of the extended Kalman filter EKF are as follows:

[0071]

[0072] Among them, w k , m k are independent zero-mean Gaussian white noises, R k is the ohmic resistance value at the current moment, R k+1 is the ohmic resistance value at the next moment, V ocv,k+1 (SOC k+1 ) is the open circuit voltage value, V k+1 is the output voltage.

[0073] The coefficient matrices are: state transfer matrix: F = 1, input matrix: u = i k .

[0074] The estimation process of the extended Kalman filter EKF is as follows:

[0075] Step 1, setting the initial values ​​of the state vector R and the state vector estimation error covariance Q;

[0076] Step 2, state prediction matrix:

[0077]

[0078] in, is the state matrix, and F is the state transfer matrix.

[0079] Step 3, transfer of noise covariance matrix:

[0080] P k - =FP k-1 F T +Q

[0081] Among them, P k - is the noise covariance matrix at the current moment, P k-1 is the noise covariance matrix of the previous moment.

[0082] Step 4, calculate the Kalman coefficient:

[0083] K k =P k - H T inv(HP k - H T +V)

[0084] Among them, K kis the Kalman coefficient, H is the output matrix, and V is the observation noise covariance.

[0085] Step 5, update status:

[0086] V k =V ocv,k (SOC k )-U p,k -U p,k -i k R

[0087]

[0088] Among them, V k is the predicted output voltage at the current moment, U p,k , U s,k are the voltages of the two RC parallel circuits, i k is the output current, R is the ohmic resistance of the battery, is the updated state variable, is the current state variable, y k is the actual output voltage measured.

[0089] Step 6, update of the noise covariance matrix:

[0090] P k =(IK k H)P k -

[0091] Where I is the identity matrix, P k is the updated noise covariance matrix.

[0092] The state equation and output equation of the Luenberger state observer are as follows:

[0093]

[0094] Among them, the state variable x=[U p U S SOC] T , SOC is the battery SOC value

[0095] Input u=I, I is the output current

[0096] State Matrix

[0097] Control matrix B = [1 / C p 1 / C s -1 / Q n ] T , Q n is the battery capacity;

[0098] h(x)=E(soc)-U p -U s , E(soc) is the open circuit voltage, and the output matrix D=R.

[0099] The experimental results are shown in the figure Figure 6 As shown, the real SOC and the extended Kalman filter EKF and the lithium-ion battery SOC estimation algorithm based on the Luenberger state observer and EKF of the present invention are combined. The results show that the SOC estimation of the present invention has small deviation and high accuracy.

Claims

1. A lithium-ion battery SOC estimation algorithm based on online parameter estimation, characterized in that: The following steps are involved: Step 1, establish a second-order Thevenin lithium-ion battery model; Step 2: Determine the SOC-OCV relationship using the intermittent discharge static method; Step 3, in an offline state, the initial parameters of the battery model are calculated using the voltage response curve after the intermittent discharge of the battery. The initial parameters include the ohmic internal resistance of the battery, the resistance and capacitance of the two RC parallel circuits; Step 4: Use the extended Kalman filter (EKF) to identify the battery model parameters and use the Luenberger state observer to observe the SOC; The polarization process of the battery is simulated by superimposing two resistance and capacitance links; The battery is at (t0-t r ) during which it discharges for a period of time and then remains in a static state for the rest of the time. During this process, the RC network voltage is: where t0, t d , t r are the discharge start time, discharge stop time and static stop time respectively, t is the time parameter, R p , C p , R s , C s are the resistance and capacitance of the two series circuits respectively, U p , U s are the voltages of the two RC parallel circuits respectively; Let τ s =R s C s ,τ p =R p C sp , is the time constant of the two RC parallel circuits. The voltage change from the pulse response node V1 to the pulse response node V3 is caused by the disappearance of the polarization reaction of the battery. In this process, the voltage output is: Use Matlib to fit the coefficients of the double exponential term and identify R s , R p , C S , C P The value of The functional relationship of the equivalent circuit model is as follows: Where, E(t) is the open circuit voltage, U(t) is the output voltage, and i is the output current; The discrete state equation and output equation of the extended Kalman filter EKF are as follows: Among them, w k ,m k are independent zero-mean Gaussian white noises, R k is the ohmic resistance value at the current moment, R k+1 is the ohmic resistance value at the next moment, V ocv,k+1 (SOC k+1 ) is the open circuit voltage value, V k+1 is the output voltage, U p,k+1 , U s,k+1 are the voltages of the two RC parallel circuits, i k is the current value at the current moment; State transfer matrix: F = 1, input matrix: u = i k ; The estimation process of the extended Kalman filter EKF is as follows: Step 1, setting the initial values ​​of the state vector R and the state vector estimation error covariance Q; Step 2, state prediction matrix: in, is the state matrix, F is the state transfer matrix; Step 3, transfer of noise covariance matrix: P k - =FP k-1 F T +Q Among them, P k - is the noise covariance matrix at the current moment, P k-1 is the noise covariance matrix of the previous moment; Step 4, calculate the Kalman coefficient: K k =P k - H T inv(HP k - H T +V) Among them, K k is the Kalman coefficient, H is the output matrix, and V is the observation noise covariance; Step 5, update status: V k =V ocv,k (SOC k )-U p,k -U s,k -i k R Among them, V k is the predicted output voltage at the current moment, U p,k , U s,k are the voltages of the two RC parallel circuits, i k is the output current, R is the ohmic resistance of the battery, is the updated state variable, is the current state variable, y k is the measured actual output voltage; Step 6, update of the noise covariance matrix: P k =(I-K k H)P k - Where I is the identity matrix, P k is the updated noise covariance matrix; The state equation and output equation of the Luenberger state observer are as follows: Among them, the state variable x=[U p U S SOC] T , SOC is the battery SOC value, U p , U S are the voltages of the two RC parallel circuits respectively; Input quantity u = I, I is the output current; State Matrix Control matrix B = [1 / C p 1 / C s -1 / Q n ] T , Q n is the battery capacity, R p , C p , R s , C s are the resistance and capacitance values ​​of the two series circuits respectively; h(x)=E(soc)-U p -U s , E(soc) is the open circuit voltage, and the output matrix D=R.