This invention relates generally to lithium-ion batteries, and more generally to estimating a state of charge (SoC) and parameters for the batteries.
Lithium-ion (Li+) batteries have a high energy density, wide temperature range, small size, superior power performance and durability, no memory effect, and no loss of charges when not in use when compared with other batteries. Battery management systems (BMS) can be used to monitor the battery status and regulate charging and discharging processes for real-time battery protection and performance improvement. The BMS can estimate a state of charge (SoC). The SoC is a ratio of the current capacity to the maximum capacity of the battery.
Two conventional SoC estimation methods are voltage translation, and Coulomb counting. Voltage translation directly converts a measured voltage to an estimard SoC. Coulomb counting infers the SoC from open circuit voltage (OCV)-SoC data for instance U.S. Pat. No. 7,443,139, U.S. Pat. No. 6,556,020, U.S. Pat. No. 6,356,083. The estimation requires the battery to be disconnected from a load making the estimation impractical for many applications. Coulomb counting can also be subject to drift due to cumulative integration errors, and noise corruption.
Model-based approaches can improve the estimation accuracy. Equivalent circuit models (ECM), which include virtual voltage source, internal resistance and a RC network to simulate battery dynamics, have been used for SoC estimation. For instance U.S. Pat. No. 8,111,037 discloses a method identifying a state of a battery from the difference (compared to a threshold) between battery voltages at different circumstances. U.S. Pat. No. 7,352,156 uses a linear parametric model to match measured the charge current and the terminal voltage of a second battery to estimate the open-circuit voltage, from which the SoC is inferred on the basis of a pre-stored table. These methods are intuitive and the performance is difficult to analyze. An extended Kalman filter (EKF) can be applied to the ECM to estimate the SoC with approximate dynamic error bounds. The estimation results can be improved using a sigma-point Kalman Filter (SPKF), which has better accuracy and numerical stability. Other nonlinear observer design approaches have also been used to for ECM based nonlinear SoC estimators. For instance, US2013/0006455 discloses a method using adaptive observer to estimate the OCV and parameters of the ECM, then the pre-determined OCV-SoC curve is used to determine the estimation of the SoC. The disclosed method has limitations, such as linearization-based technique is used thus difficult to ensure the quality of the estimation of the SoC.
Another type of battery model is based on electro-chemical principles that describe intercalation and diffusion of the lithium ions, and conservation of charge in the battery. Such electrochemical models ensure that each model parameter retains a proper physical meaning. However, such models have a complex structure based on partial differential equations (PDEs), often necessitating model simplification, or reduction. A linear reduced-order electrochemical model can be used with conventional KF SoC estimation.
An extended KF (EKF) can be implemented based on a nonlinear ordinary differential equation (ODE) model obtained from the PDEs by finite-difference discretization. An unscented Kalman filter (UKF) can be used to avoid model linearization for more accurate SoC estimation. Various of existing estimation approaches suffer from the incapability to estimate the SoC with guaranteed convergence, which means the quality of the estimated SoC is not ensured.
U.S. Pat. No. 8,242,738 describes determining battery parameters of the ECM following active operation of the battery. The parameters are determined by fitting recorded or on-line voltage response to a model function. The model function describes the equivalent circuit voltage response to the load transition using equivalent circuit parameters. The model can be used for SOC correlation, and to improve the accuracy of the prediction of on-line for devices that drain the battery in short high-current pulses.
U.S. Pat. No. 8,207,706 describes a method for estimating the SoC. The method provides measured and estimated cell terminal voltage to a model coefficient updater to update a model coefficient. A multi-layer model determines the SoC for layers of the electrodes.
The embodiments of the invention provide a method for estimating a state of charge (SoC) of a lithium-ion (Li+) battery jointly with unknown battery parameters while the battery is operating.
The embodiments are based on an electrochemical single particle model (SPM). The SoC and parameters are estimated in two stages. During the first stage, partial model parameters are identified from a measured open circuit voltage (OCV)-SoC data by solving a nonlinear optimization problem. During the second stage, the SoC and the rest model parameters are estimated. The second stage can be performed by two embodiments. One embodiment uses an iterated extended Kalman filter (IEKF). The other embodiment uses a nonlinear adaptive estimator which leads to guaranteed stability of the estimation error of the SoC and the model parameters under certain conditions, i.e., the estimated SoC and model parameters convergers to the true SoC and model parameters. Because the nonlinear adaptive estimator design addresses the nonlinearity of the battery model instead of linearization of the battery model which necessarily introduces model mistach and requires a good guess of the initial SoC, the nonlinear adaptive estimator can provide a convergent estimation of the SoC with a large deviation of the initial SoC.
Battery Model
When the battery is charging, the Li+ ions are extracted 120 from the particles at the positive electrode into the electrolyte, driven by a reaction at a solid particle-electrolyte interface, and the particles at the negative electrode absorb the Li+ ions from the electrolyte. This process generates an influx of Li+ ions within the battery, and increases a potential difference between the positive and negative electrodes. When the process is reversed, the battery is discharging.
The chemical reactions at the positive and negative electrodes are, respectively, described by
Single Particle Model
As shown in
General SoC Estimation Method
Model Construction
We construct 310 a model 319 of the Li+ battery. The model is based on a single particle operation of the Li+ battery. The model describes a relationship between the SoC 311, a charge current 312, a discharge current 312, and an output voltage 314.
Off-line Operation
Then, we determine 320 a function 329 expressing a relationship between the SoC and an open circuit voltage. The function is based on measurements of an off-line operation of the Li+ battery. The relationship is based on the off-line measurement of the charge current 321, the discharge current 322, and the open circuit voltage (OSV) 323.
On-line Operation
Lastly, we estimate 330 the SoC. The SoC estimation is based on the model, the function, and measurements of an on-line operation of the Li+ battery of the charge current 331, the discharge current 332, and the output voltage 333.
The steps of the above method, and any other process described herein can be performed in a processor, microprocessor, and the like, connected to a memory and input/output interfaces as known in the art. The processor can be co-located or part of the load. For example, the load is a hand-held device, such as a mobile telephone or computational device powered by the Li+ battery.
First Embodiment Method for Estimating SoC
The method has a recursive structure for sequential implementation of prediction and update steps. The update 635 is iterative.
Before the iterations commence, variables, typically values of the SoC and model parameters at initial time instant used by the method, are initialized 610.
A priori, we predict 630 the SoC and a covariance of an error of the prediction based on the initial values of the SoC and parameters, a measured charge and discharge current, and the battery model.
A posteriori, we estimate 640 the SoC and a covariance of an error of the estimation based on the predicted SoC and the covariance of an error of the prediction, and a measured terminal voltage of the battery, and the battery model.
A termination condition is checked 650, and if true (Y), the iteration stops and outputs 660 the current SoC at time instant k, otherwise iterate 651 at step 640. The termination condition can be a fixed number of iterations i.
On termination of the update procedure, repeat the estimation of the SoC for the next kth time instant at step 630. The details of the method are described below.
Input and Output of the Battery
An input to the battery is a current I(t) with I(t)<0 while charging, and I(t)>0 while discharging. The terminal voltage is a potential difference between the two electrodes 101-102
V(t)=Φs,p(t)−Φs,n(t). (1)
Conservation of Li+ in the Electrode Phase
The migration of Li+ ions inside the particle 102 is caused by a gradient-induced diffusion. From Fick's laws of diffusion,
with the initial and boundary conditions
The molar flux at the electrode/electrolyte interface of the single particle is Jj where j=n and p, respectively,
Electrochemical Kinetics
The molar flux Jj is governed by Butler-Volmer equation
where αa, αc, F, R, T are constant, and ηj(t) is
ηj(t)=Φs,j(t)−Φe,j(t)−U(css,j(t))−FRf,jJj(t).
The Butler-Volmer equation models electrochemical kinetics and the flow of electrical current based on the electrode potential, considering that both a cathodic and an anodic reaction occur on the same electrode.
The electrolyte phase can be represented by a resistor Rc,j in the SPM so that Φc,j can be expressed as Φe, j(t)=Rc,jI(t). Hence, ηj becomes
ηj(t)=Φs,j(t)−U(css,j(t))−F
where
The SPM is composed of Eqns. (1-3), in which I is the input current, cs,j and Φs,j are the variables of the battery status, and V is the output voltage according to our model.
Reduced Complexity Model
Average Li+ Concentration in the Electrode Phase
In the reduced complexity model, an average concentration of Li+ ions in the electrodes the battery present a state of the SoC, i.e., the current capacity of the battery. For an electrode particle, this is
where Ω denotes the sperical volume of the particle. From Eqn. (2),
where εj is a constant coefficient. Depending on the electrode polarity, Eqn. (6) is partitioned into
From Eqns. (7-8), the rate of change of cs,javg is linearly proportional to the input current I. In other words, cs,javg equal to the initial value cs,javg(0) plus integration of I over time. This indicates that the change of SoC depends linearly on the current I as a result of cs,javg indicating the SoC. This particular relationship is novel, and not present in conventional electrochemical battery models.
Terminal Voltage
A function φ is define such that css,j(t)=φ(cs,javg(t)), and Ū=Uoφ, where ‘o’ denotes composition of two functions. Using Eqn. (4), Eqn. (1) becomes
V(t)=Ū(cs,pavg(t))−Ū(cs,navg(t)+ηp(t)−ηn(t)+(
With αa=αc=0.5, it follows from Eqn. (3) that
Thus, V(t) becomes
As such, V(t) has a first part is the open-circuit voltage (OCV) that relies on Ū(cs,javg), and a second part is the direct feedthrough from I to V.
Model Abstraction and Discussion
Eqns. (7-9) concisely characterize the dynamics of the battery. As described above, cs,javg is equivalent to the SoC. The SoC is denoted by a state variable xε[0,1]. The input u and the output y of the model can be defined as u=I and y=V, respectively. Then, the following state-space model can be constructed on the basis of Eqns. (7-9):
where ‘^’ above the variable indicates the first derivative. Eqn. (10a) is discretized over time to
where k represents the kth step of discretization of time which corresponds to certain time instant tk, h(•) is call the first function, and g(•) is called the second function.
In Eqns. (10), α is a positive parameter, h(•), which is the counterpart of the part containing Ū in Eqn. (9), that has the parametric form
h(x)=β0 ln(x+β1)+β2,
where βi,0≦i≦2 are the first set of parameters, and g(•) corresponding to the part involving I in Eqn. (9), expressed as
g(u)=γ0└ sin h−1(γ1u)−sin h−1(γ2u)┘+γ3u,
where γi for i=0, 1, 2, 3, the second set of parameters, are from Eqn. (9).
For SoC estimation, the model in Eqn. (10b) contains parameters α, βi's and γi's. However, accurate values for the parameters are often difficult to obtain when the model is applied to a specific battery, due to practical difficulties.
SoC Estimation
Hence, we use adaptive SoC estimation, which concurrently estimates the SoC and the unknown parameters. To accomplish the task, the following approach is used. As a first step, the OCV h(•) is determined using the SoC-OCV data to identify the parameters βi's. After h(•) is obtained, the state x(k), the parameters α and γi's are estimated concurrently as a second step.
This identification in the first step is typically a nonlinear least squares data fitting problem, which can be solved by numerical methods, such as the Gauss-Newton method. Therefore, the βi's are assumed to be known in the second step. The nonlinear state and parameter estimation problem is described in further detail below.
Adaptive SoC Estimation Based on IEKF
The IEKF is a modified version of the KF and EKF to deal with nonlinearities in the system by iteratively refining the state estimate for the current state at each time instant k.
Model Augmentation
To use the IEKF, we augment 520 the state vector to incorporate both the original state x and the unknown parameters
ξk=[xkαγ0γ1γ2γ3]T.
Variables ξi,k for i=1, 2, . . . , 6 representing the ith component of the vector ξk, and its corresponding variable or parameter are used interchangeably. Thus, Eqn. (10b) can be rewritten as
Application of IEKF
For the augmented battery model in Eqn. (11), the IEKF is applied to estimating ξk. Similar to the KF and EKF, the IEKF includes of two procedures, namely prediction and update, which are implemented recursively.
The prediction formulae of the IEKF are
{circumflex over (ξ)}k|k-1=Fk-1ξk-1|k-1, and
Pk|k-1=Fk-1Pk-1|k-1Fk-1T+Q,
where {circumflex over (ξ)}k|k-1 and {circumflex over (ξ)}k|k are the estimates of ξk given Yk-1 and Yk, respectively, P is the estimation error covariance determined in step 640, and Q>0 is adjustable to reduce the effects of process noise.
The update 635 is iterative, for the ith iteration:
Kk(i)=Pk|k-1Hk(i-1)[Hk(i-1)Pk|k-1Hk(i-1)T+R]−1,
ŷk(i)=
{circumflex over (ξ)}k|k(i)={circumflex over (ξ)}k|k-1+Kk(i)(yk−ŷk(i)),
where R>0, the superscript (i) denotes the iteration number and
The iterations terminate when a termination condition is reached, e.g. i achieves a pre-specified maximum iteration number imax, or when the error between two consecutive iterations is less than a predetermined tolerance level. The associated prediction error covariance is determined 630 as
Pk|k=(I−Kki
Then, the estimate of SoC is {circumflex over (ξ)}l,k and the estimate of the model parameters are {circumflex over (ξ)}i,k2≦i≦6, respectively.
Regarding the SoC estimatiom, the following statements can be made:
Connection with EKF
When imax=1, the IEKF degenerates to the EKF. When imax≧1, the method makes linearization and searching near the current estimate iteratively to determine the best estimate. Thus, the method has enhanced estimation performance when nonlinearities are present.
Feasible Improvements to SoC Estimation
The update procedure 635 of the IEKF is equivalent to applying the Gauss-Newton method for determining the minimum of a mean-square-error cost function. The Gauss-Newton method can be improved, e.g., by the Levenberg-Marquardt algorithm with better convergence properties and numerical stability, to achieve better performance for the SoC estimation.
Potential Alternatives to SoC Estimation
The SoC is a joint state and parameter estimation using state augmentation, and the IEKF. We are motivated by conceptual simplicity, satisfying the SoC estimation performance validated by experimental on-line and off-line measurements and modest computational complexity. However, there are alternatives. State estimation techniques, such as UKF, particle filter and nonlinear Gaussian filter substitute the IEKF, and various methods for joint state and parameter estimation, e.g., expectation-maximization (EM) for nonlinear state estimation, set membership state and parameter estimation for nonlinear differential equations, and Bayesian particle filtering, can also be used.
Nonlinear Adaptive Estimation of the SoC and Parameters
The second embodiment of estimating the SoC and parameters relies on the battery model of equation (10a). Similar to the first embodiment, a two-stage estimation is used:
Stage 1: Because h(•) represents the OCV, h(.) is determined using the SoC-OCV data set, obtained offline, to identify parameters βi.
Stage 2: After h(•) is obtained, the state x or the SoC, and parameters α, γi's are estimated concurrently.
During stage 2, the parameters βi are treated as known and joint state and parameter estimation is performed using a nonlinear adaptive estimator.
The adaptive estimator design requires the model in a standard form as follows
ż=Az+φ(z,u,θ),
y=Cz, (12)
where (A,C) is in Brunovsky observer form, z is the state vector, θ is the unknown parameter vector, u is the input vector, and φ(z,u,θ) has a triangular dependence on z to enable high gain observer design.
Transformation of the Battery Model
The battery model of equation (10a) is clearly not in the form of equation (12) because the output is not a linear function of z. Therefore, a state transformation is needed to put equation (10a) into equation (12). To simplify the transformation and description, we assume g(u) in system equation (10a) has a linear parametrization. Specifically, we consider the following system
{dot over (x)}=αu,
y=β1 log(x+β2)+β3+γ1u, (13)
where x is the SoC of the battery, βi are known parameters, and γ1, α are unknown parameters. The main purpose here is to teach how to design a nonlinear adaptive estimator based on the battery model in equation (10a). The way how to parameterize g(u) is not be limited to the case considered in this invention.
Putting equation (10a) into equation (12) requires the following parameter dependent transformation
ξ(x,u,γ1)=β1 log(x+β2)+β3+γ1u, (14)
where ξ is the new state variable. We have
where x+β2 is a function of y,u,γ1, and is solved as
We rearrange the transformed system and have
{dot over (ξ)}=φ(y,u,γ,α)+γ1{dot over (u)},
y=ξ, (15)
where
The SoC, represented by x, is always positive, also x+β2 is positive when the model according to equation (13) is valid. One can verify that the state transformation (14) is a diffeomorphism over xε+, i.e. the state transformation in equation (14) is well-defined in the domain where the model of equation (13) is physically meaningful.
The transformed system (15) is in the form of equation (12), where
The transformed system (15) is nonlinearly parameterized. Clearly the state ξ, representing the OCV, external current input u, and model parameters γ1, α are bounded in a compact set D.
Nonlinear Adaptive Estimator
We consider the system represent by the following equation
where ρ=[α,γ1]T, {circumflex over (p)}=[{circumflex over (α)},{circumflex over (γ)}1]T, {circumflex over (φ)}=φ({circumflex over (ξ)},{circumflex over (α)},u), and θ is a sufficiently large positive constant. Particularly, we call the dynamics of Υ, P as an auxiliary filter, the dynamics of {circumflex over (ρ)} as a parameter estimator, and the dynamics of {circumflex over (ξ)} as a state estimator.
If the input u is such that for any trajectory of system (16), then Υ(t) are persistently exciting, i.e., there exist δ1, δ2, T>0, for any t≧0, the following inequalities hold
δ1I2≦∫tt+TΥT(t)Υ(t)dτ≦δ2I2, (17)
where I2 is a 2×2 identity matrix. Then, the nonlinear adaptive estimator is designed as system (15), which provides exponentially convergent estimator of the SoC and parameters. If the energy of the signals ∥∂{circumflex over (φ)}/∂{circumflex over (α)}∥, ∥∂{circumflex over (φ)}/∂{circumflex over (γ)}1∥ defined over over period [t, t+7] are nonzero, then the system in equation (16) is persistently excited when these two signals are linearly independent, or
Effect of the Invention
It is well known that Lithiumion battery dynamics are very complicated, and involve numerous micro-scale electrochemical processes. Yet, our SoC estimation is accurate, even in the presence of model errors. This is an advantage because no model is perfect. Although our reduced complexity model expresses the major phenomena during charging and discharging, there still are unmodeled dynamics, including ignored electrochemical effects, uncertainties, noise, etc.
Our battery model modified from Eqn. (10b) is
where dk is a general characterization of the unmodeled, unknown process dynamics. When applied to Eqn. (18), the SoC estimation is considerably tolerant towards dk, which can be accounted for by the following reasons.
Because the parameters α and γi's are adjusted dynamically, the parameters can be adapted to the measurement data to counteract the effects of model mismatch. In this case, the parameter estimates can deviate, but are still sufficiently accurate. The SoC, or xk, is strongly observable compared to the parameters α and γi's. This helps to estimate xk even when a model mismatch exists.
Instead of using a model for SoC estimation of Lithium-ion (Li+) batteries, the embodiments of the invention uses an adaptive estimation method, which combines SoC estimation and parameter identification. The method is based on a reduced complexity model for Li+ batteries derived from a single particle model.
Joint observability and identifiability of the SoC, and the unknown parameters of the model are analyzed to show the advantageous property that the SoC is strongly observable.
Based on the analysis, an IEKF based adaptive SoC estimator method is provided, which is accurate in the presence of model errors.
Prior art estimations typically linearizes of the model, and thus fail to estimate the SoC and parameters accurately, because convergence of the estimation error of the SoC and model parameters is not guaranteed. Our method, which uses a nonlinear adaptive estimator, overcomes these limitations.
Although the invention has been described by way of examples of preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
6356083 | Ying | Mar 2002 | B1 |
6556020 | McCabe et al. | Apr 2003 | B1 |
7352156 | Ashizawa et al. | Apr 2008 | B2 |
7443139 | Mitsui et al. | Oct 2008 | B2 |
8207706 | Ishikawa | Jun 2012 | B2 |
8242738 | Barsukov | Aug 2012 | B2 |
20130006455 | Li | Jan 2013 | A1 |
Entry |
---|
Santhanagopalan S. et al.: “Online Estimation of the State of Charge of a Lithium Ion Cell,” Journal of Power Sources, Elsevier SA, CH, vol. 161, No. 2, Oct. 27, 2006. |
Samadi et al.: “An Electrochemical Model-Based Particle Filter Approach for Lithium-ion Battery Estimation,” Decision and Control (CDC), 2012 IEEE 51st Annual Conference on, IEEE. Dec. 10, 2012, p. 3074-3079. |
Number | Date | Country | |
---|---|---|---|
20140210418 A1 | Jul 2014 | US |