Power lithium battery SOC estimation model under variable temperature condition based on EKF algorithm
Technical Field
The invention belongs to the technical field of lithium power battery management systems, and particularly relates to SOC algorithm estimation of a lithium battery, which is a basis for battery charge and discharge management and balance control management.
Background
In a battery management system, accurate estimation of a battery state of charge (SOC) is important not only in that a remaining capacity of a battery can be presented to a user, but also in that it is a basis for battery charge and discharge management and balance control management. SOC is affected by many factors, such as temperature, and the magnitude and direction of current, and its accurate prediction is difficult. Improving the estimation accuracy of the SOC plays a certain role in prolonging the service life of the battery and improving the use feeling of a user.
The current classical battery models are many, and parameters of ideal equivalent models in the models are all invariable, so that the accuracy of the models is low. Therefore, it is necessary to improve a battery model capable of improving the estimation accuracy to study the battery characteristics, so that the existing SOC algorithm model can be improved and optimized by using the battery model, and an algorithm model for SOC estimation with high accuracy is provided.
Disclosure of Invention
Aiming at various problems of the existing battery model, the modified RC Thevenin equivalent battery circuit model which is adaptive to temperature change and can reflect the relation between each parameter and the state of charge (SOC) is provided, the influence of each performance parameter of the battery on the SOC at different temperatures can be effectively simulated and tested, and the battery model has the characteristics of high accuracy, wide application range and the like.
The estimation model of the SOC of the power lithium battery under the condition of variable temperature based on the EKF algorithm comprises a modified RC Thevenin equivalent circuit model for researching the battery characteristics and an SOC algorithm estimation model of the power lithium battery under the condition of comprehensively considering the influences of factors such as temperature, battery shutdown time and the like,
wherein:
the modified RC Thevenin equivalent circuit model for the research on the battery characteristics increases the influence of battery polarization, can reflect the relation between each parameter and the state of charge, can reflect the influence of the internal resistance and the current of the battery on the SOC, and has good dynamic and static characteristics. A controlled voltage source is added to simulate the influence of the charging and discharging current characteristics of the lithium battery on external voltage, and the simulation working condition of the model can be improved. The RC equivalent circuit module meets the precision requirement of the dynamic change process in the battery, effectively describes the corresponding relation between the electromotive force and the terminal voltage of the battery, obtains a simulation equation of the power lithium battery, and estimates the characteristics of the battery more accurately.
For the SOC estimation model of the lithium power battery under the condition of variable temperature, the conventional EKF algorithm is modified, the influence of temperature and battery shutdown time on the SOC of the battery is taken into consideration, the influence of the current on the estimation precision is optimized, and the SOC estimation algorithm model of the lithium power battery adapting to the temperature change is obtained.
The technical scheme of the invention discloses an estimation model of the SOC of a power lithium battery under the condition of variable temperature based on an EKF algorithm, which comprises the traditional EKF algorithm, wherein the SOC obtained by calculating the input quantity from the last algorithm is replaced by the corresponding actual SOC value of the lithium battery at the corresponding temperature, so that the accumulated error of the algorithm is reduced; the battery shutdown factor is included in the influence on the SOC values of the two ends of the lithium battery. The technical scheme of the invention has the following beneficial effects:
1. the characteristic of the battery is studied more thoroughly, and the influence factor is calculated more accurately during SOC estimation;
2. the estimation precision of the SOC of the battery is improved, the cycle service life of the lithium battery is prolonged, and the use experience of a user is improved;
3. the influence of the battery shutdown time and the battery temperature on the battery charging and discharging characteristics is brought into the algorithm, and the accuracy and the practicability of SOC algorithm estimation are improved.
Drawings
FIG. 1 is a flow chart of an algorithm model proposed in this patent
FIG. 2 is a modified RC Thevenin equivalent cell circuit model used in this patent
[ description of symbols ]
Rp is a polarization resistance Cp and is a lithium battery electrode polarization capacitance; rl is the ohmic internal resistance of the battery; uoc is the open circuit voltage of the battery; f (I) is a function of the current I
Detailed Description
In order to make the technical problems and the innovative points to be solved by the present invention clearer, the following detailed description is made with reference to the accompanying drawings.
Aiming at the problem of the existing SOC estimation precision, the algorithm shown in FIG. 1 provides a lithium battery SOC estimation method based on an improved EKF algorithm at variable temperature, firstly, an SOC value is read according to an SOC curve of a lithium battery at different temperatures, then, whether the open-circuit voltage of the battery is in a stable state or not is judged according to the size relation between the shutdown time and the judgment duration, and the SOC value under the comprehensive consideration of two factors is obtained.
For the problem of SOC curve fitting at different temperatures, the battery circuit model adopted by the method is a modified RC Thevenin equivalent model, and is shown in figure 2. The RC equivalent circuit module adopted here is first-order, and along with the increase of series RC module, the equivalent precision can be more accurate, but in practice, the requirement of experimental precision in engineering practice can be satisfied just to first-order model, so this patent adopts first-order RC module. In addition, a controlled source is added to the circuit to simulate the influence of the charge-discharge current characteristics of the lithium battery on an external circuit, and the simulation working condition of the model can be improved. The external voltage UI of the battery can be obtained according to the circuit principle as follows:
UL(t)=Uoc_soc(t)-RLI(t)-Up(t)
F[I(t)]=0.00067[I(t)-3]2+0.0057I(t)-3]-0.0015
wherein, S (t) and S (t +1) are the real-time values of the state of charge of the lithium battery at the time t and t +1, respectively: cNThe rated capacity of the lithium battery; etacIs coulombic efficiency; i (t) is the instantaneous charge-discharge current at time t, positive in the discharged state, otherwise the opposite.
The extended Kalman system space equation is:
wherein a ═ C ═ 1;
d is 0; w (k) is system noise; v (k) is measurement noise
The EKF algorithm filtering comprises the following specific steps:
(1) setting initial value X of covariance matrix of state quantity and state error0And P0Recording the covariance matrix of state quantity and state error at the time k as XkAnd Pk;
(2) The one-step prediction value of the state quantity and the error covariance is as follows:
(3) the correction matrix K is:
K=Pk,k-1CT(CPk,k-1CT+R)
(4) and correcting the one-step predicted value by using the measured value to obtain an estimated value of the previous time, wherein the estimated value is as follows:
and (3) repeating the steps (2) and (3), continuously predicting and correcting the SOC estimated value by the system, continuously updating the SOC estimated value, considering noise and errors, reducing system accumulated errors and inhibiting the influence of the noise to a great extent.
Obtaining an SOC value at the k +1 moment after the integration, obtaining an SOC estimation value at the k +1 moment by adopting an EKF algorithm, compensating the SOC estimation value for correcting the deviation at the moment, obtaining an open-circuit voltage value at the k +1 moment according to the SOC estimation value at the k +1 moment and a filter input value, comparing the open-circuit voltage value with an open-circuit voltage value read out from an initial OCV curve, obtaining an estimation error of the SOC value at the k +1 moment, adding Kalman gain to compensate the open-circuit voltage value, obtaining a corrected SOC value, and outputting the corrected SOC value to obtain a result.