Next Article in Journal
Review of PV Generator as an Input Source for Power Electronic Converters
Previous Article in Journal
Analysis and Experiment of Hot-Spot Temperature Rise of 110 kV Three-Phase Three-Limb Transformer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimating Lithium-Ion Battery State of Charge and Parameters Using a Continuous-Discrete Extended Kalman Filter

1
Institut de Recherche en Energie Electrique de Nantes Atlantique (IREENA), Université de Nantes, Centre de Recherche et de Transfert de Technologie (CRTT), B.P. 406, 37 Bd de l’Université, Saint Nazaire CEDEX 44602, France
2
Department of Electrical Power Engineering, Damascus University, Damascus B.P. 86, Syria
*
Author to whom correspondence should be addressed.
Energies 2017, 10(8), 1075; https://doi.org/10.3390/en10081075
Submission received: 8 June 2017 / Revised: 21 July 2017 / Accepted: 22 July 2017 / Published: 25 July 2017

Abstract

:
A real-time determination of battery parameters is challenging because batteries are non-linear, time-varying systems. The transient behaviour of lithium-ion batteries is modelled by a Thevenin-equivalent circuit with two time constants characterising activation and concentration polarization. An experimental approach is proposed for directly determining battery parameters as a function of physical quantities. The model’s parameters are a function of the state of charge and of the discharge rate. These can be expressed by regression equations in the model to derive a continuous-discrete extended Kalman estimator of the state of charge and of other parameters. This technique is based on numerical integration of the ordinary differential equations to predict the state of the stochastic dynamic system and the corresponding error covariance matrix. Then a standard correction step of the extended Kalman filter (EKF) is applied to increase the accuracy of estimated parameters. Simulations resulting from this proposed estimator model were compared with experimental results under a variety of operating scenarios—analysis of the results demonstrate the accuracy of the estimator for correctly identifying battery parameters.

1. Introduction

The crisis in Syria has deprived many of continuous and permanent access to electrical networks, so daily needs must be met through electrical energy storage, such as lead-acid and lithium-ion batteries. Given their importance, we have investigated means to maximize efficient monitoring, operation and management of battery resources.
To carry out this work, we chose lithium-ion technology. It is currently widely used in Syria to power portable electronics, such as laptop computers charged via solar bags. Moreover, compared with older battery technologies, lithium-ion batteries offer relatively high voltage, high specific energy, high specific power, no memory effect, and low self-discharge rates during storage.
An accurate model of battery dynamics should take into account multiple coefficients, such as open-circuit voltage, discharge rate, power, state of charge (SOC) and temperature.
However, it is difficult to determine or estimate battery parameters, because they are interdependent and vary over time and use. Many battery models are used to represent the battery behaviour. The most commonly used models can be divided into two categories: the electrochemical models and the electrical equivalent circuit models. The electrochemical models utilize a set of coupled non-linear differential equations to describe the pertinent transport, thermodynamic, and kinetic phenomena. The dynamical behaviour of a lithium-ion battery can be simulated correctly using the Warburg diffusion impedance with complex electrical equivalent circuits [1,2,3]. However, estimating the parameters of this sophisticated model usually requires an electrochemical impedance spectrometry (EIS). EIS data are analysed by fitting to a complex electrical equivalent circuit model for different values of the SOC and the temperature.
A big capacitor with series resistance can be selected to calculate dynamic terminal voltage of the battery. Later, a model with two capacitors in parallel was developed consisting of a double layer capacitor, a bulk capacitor, a charge transfer resistance and a terminal resistance [4]. Recently, the dual polarization model has been commonly used [5,6,7,8,9].
There are a lot of SOC estimation methods. The commonly used methods can be generally classified into four categories, namely, the direct discharge method, the Ampere-Hour counting method, the voltage/impedance-based method, and model-based filter methods [8,10,11,12]. The extended Kalman filter (EKF) is widely used for estimating the SOC and other battery parameters related to the SOC [13,14,15].
This paper proposes an experimental approach for identifying battery parameters. An EKF estimator was developed based on the Thevenin equivalent battery circuit. This recursive method can be used in real time to eliminate measurement and process noise. This hybrid approach, which is applied here to a continuous system with discrete measurements, is particularly suitable for battery systems [16,17,18].

2. Dynamical Model of Battery

In order to describe the dynamic behaviour of a battery, we use the Thevenin equivalent circuit (dual polarization) shown in Figure 1 [19,20,21]. This battery equivalent circuit consists of two time constants τ 1 = R 1 C 1 and τ 2 = R 2 C 2 . The constant τ 1   characterizes the activation polarization while the constant τ 2   characterizes the concentration polarization.
The elements of the battery equivalent circuit depicted in Figure 1 are as follows: V o c is the open-circuit voltage, R 0 is the ohmic resistance of the battery's collectors and electrodes, i b a t is the charge/discharge current and U represents the terminal voltage of the battery cell. As shown in Figure 1, the current i b a t flowing through resistance R 0 can be expressed by the following equation:
i b a t = i R 1 + i C 1 = u 1 R 1   + C 1 d u 1 d t
Equation (1) can be rewritten as:
R 1 i b a t = u 1 + R 1 C 1 d u 1 d t
where u 1 is the voltage drop due to activation polarization. Similarly, we can write the following equation in the second circuit R 2 C 2 ,
R 2 i b a t = u 2 + R 2 C 2 d u 2 d t
where u 2 is the voltage drop due to mass transport (concentration polarization).
Therefore, the terminal voltage U of the cell is determined by the open-circuit voltage V o c and the different drops of voltage as given by Equation (4).
U = V o c + u 1 + u 2 + R 0 i b a t

3. Studied Battery and Experimental Device

In order to measure the parameters of the battery, a single cell of Li-ion battery (2.15 Ah, 3.7 V) is used [22]. Appendix A provides detailed parameters of the battery cell. Figure 2 shows a photo of the charge/discharge experimental device which we programmed using LabView.

4. Determining Open-Circuit Voltage as a Function of SOC

Accuracy of the Thevenin circuit relies on diverse conditions, especially the SOC . To estimate the SOC during the charging/discharging of a battery, the Ampere-Hour counting (AHC) technique is used. It is the most common technique for calculating the SOC . The SOC variation during charge/discharge can be calculated as [7,23]:
d d t SOC = η i b a t I 0 Q
where, Q is the initial ampere-hour of battery, I 0 is the current consumed by the parasitic reactions, η is the Coulombic efficiency, which is a function of the current and the temperature. Coulombic efficiency is the ratio of the Ampere-hours removed from a battery during discharge to the Ampere-hours required to restore the initial capacity [24]. Before each discharge test, the battery is fully charged for more than 24 hours with the floating technique. This allows us to neglect the losses due to parasitic reactions [25].
The first parameter in the model shown in Figure 1 is the open-circuit voltage V o c . The V o c is usually measured at various SOC points as the steady-state open circuit terminal voltage. For each SOC point, this measurement can take many days, but in our research, we used a quick measurement technique. To measure V o c at various SOC points, the battery was discharged by injecting successive current pulses. The battery cell was discharged with a pulse current of 0.8 A (0.37 C) from full charge ( SOC = 100 % ) to cut-off voltage ( SOC = 0 % ) [22]. C-rate is the discharge rate of the battery relative to its capacity. This current pulse has 480 s on-time and 600 s off-time. Figure 3 shows the pulse discharge current and the battery terminal voltage. The experimental data was obtained at a room temperature of 25 °C.
It was considered that each pulse current discharged the battery by 10%. The open-circuit voltage V o c was measured at equilibrium potential. The points in Figure 4 show the V o c versus SOC . The relation between the V o c and the SOC is non-linear. The curve is steep at the beginning (for SOC lower than 20%) and then linear [26,27,28].
It is important to include the variation of V o c as a function of SOC in the whole battery model. The experimental value is interpolated by a fitting technique (using software FindGraph). The resulting fitting function is given by:
V O C   ( SOC ) = a v exp ( b v SOC ) + d v exp ( c v SOC )
Table 1 represents the relative fitting errors for battery parameters.

5. Identification of Model Parameters as a Function of SOC

Figure 5 shows the typical voltage response of a battery. The voltage drop may be divided into two parts. The first ( Δ V 1 ) is a vertical straight drop largely dependent on the battery’s ohmic resistance R 0 . It can be estimated by [29]:
R 0 = Δ V 1 i b a t
The second ( Δ V 2 ) is the voltage drop based on resistances R 1 and R 2 . It is experimentally difficult to measure the time constants for activation and concentration separately. Moreover, some simplified hypotheses may lead to important errors. As the experimental results show, resistance R 0 varies slightly with SOC. This concurs with publications [8,29,30] showing that other parameters of the model vary non-linearly versus SOC .
In a single pulse, the value of the current i b a t is either constant or zero. Therefore, the solutions for Equations (2) and (3) will be as follows:
u 1 = i b a t R 1 ( 1 exp ( t / τ 1 ) )
u 2 = i b a t R 2 ( 1 exp ( t / τ 2 ) )
This means that during discharge, each voltage can be represented by an exponential. We suggest using regression analysis to fit the voltage experimental data with two exponentials. Based on the experimental data, a regression analysis is conducted at each SOC separately, and for different pulse currents (0.8, 1.2 and 1.5 A; 0.37, 0.56 and 0.7 C). Through this approach, the elements of the battery equivalent circuit can be determined.
This approach is repeated for each pulse where it is supposed that the elements R 1 , C 1 , R 2 and C 2 are independent of SOC only for the related pulse. Figure 6 represents the values of the resistance R 1 and the capacitance C 1 as a function of SOC for three values of the discharge current.
The resistance R 1 decreases roughly with the increase of SOC . Using fitting, the average value of R 1 can be expressed by an exponential function as follows:
R 1 ( SOC ) = a r 1 + b r 1 exp ( c r 1 SOC )
C 1 ( SOC ) = a c 1 SOC 2 + b c 1 SOC + c c 1
A polynomial is selected to fit the experimental values of the capacitance C 1 .
The values of the resistance R 2 and of the capacitance C 2 as a function of SOC are shown in Figure 7 for different discharge currents. It can be seen where SOC is less than 20%, resistance R 2 is higher.
Similarly, we found that the both parameters R 2 and C 2 can be expressed as:
R 2 ( SOC ) = a r 2 + b r 2 exp ( c r 2 SOC )  
C 2 ( SOC ) = a c 2 SOC 4 + b c 2 SOC 3 + c c 2 SOC 2 + d c 2 SOC + e c 2
where SOC is at or above 30%, variation is low for resistances and high for capacitances.

6. Determining the Battery Coulombic Efficiency

The battery is discharged at various constant currents in the range of 0.6–3 A (0.2–1.4 C). The experimental results are shown in Figure 8. The discharge rate of the battery substantially affects the voltage curve—as it increases, the voltage curve shifts downward significantly. For a high discharge current (3 A), the discharge curve is deformed and the battery capacity decreases markedly.
The battery Coulombic efficiency will decrease as the discharge rate increases, as shown in Figure 8b. There is an approximately linear relationship between the discharge current and the Coulombic efficiency. As can be noticed in Figure 8, the effect of discharge rate on useful battery capacity is clear. It is still lower in Li-ion batteries than in lead acid batteries, however, due to the very fast redox reactions in Li-ion batteries [31].
Since phenomena in battery systems are influenced by temperature, the model adjusts for Coulombic efficiency variation [22,24].

7. Comparison between Simulation and Experimental Results

Using the previous equations, an extended battery model (EBM) was built with the MATLAB/SIMULINK environment. To compare the experimental and simulated results, several tests were carried out using pulse discharge currents. The results are as follows:
  • Pulse discharge current of 0.8 A (presented in Figure 3): Figure 9a shows the comparison between the simulation and the experimental voltages. Figure 9b illustrates the small size of the simulation error, hardly reaching 0.06 V and remaining at less than 1% virtually throughout the test.
  • Pulse discharge current of 1 A (0.47 C) (180 s on-time and 60 s off-time): Figure 10a overlays the simulated voltage and the experimental voltage curves, while Figure 10b illustrates the small error rate.
  • Pulse discharge current of 1.5 A (0.7 C) (480 s on-time and 600 s off-time): The comparison between the simulation and the experimental voltages is represented in Figure 11a. It can be observed in Figure 11b that the error rate, while still low, is slightly higher at this higher pulse discharge current, especially as the battery reaches full discharge.
The previously proposed model was used to simulate the dynamic characteristics of the lithium battery. The model’s relative accuracy was validated across a variety of voltage profiles. As the discharge current increased, however, the EBM error increased slightly. And as the battery approached full discharge, an important error emerged. This error can be explained by the sharp open-circuit voltage drop that slightly influences battery runtime. The proposed EBM model is also compared with the Erdinc model [6] on Figure 9, Figure 10 and Figure 11. These Figures clearly show that since it considers that the battery parameters slightly vary with SOC, the Erdinc model produces simulation results that are farther from the experimental results than the EBM model.
We will now examine additional steps to estimate the parameters of a real battery in real time.

8. Estimating Battery Parameters Using an Extended Kalman Filter

The Ampere Hour counting (AHC) technique used for estimating SOC can be accurate, but it can accumulate errors with time. Its accuracy depends very much on determining initial SOC , and it is subject to measurement noise [32,33]. To improve accuracy, an extended Kalman filter (EKF) is used. It is a nonlinear optimum state estimation method based on a continuous-time model and on discrete-time measurements. A continuous-discrete extended Kalman estimator of the lithium-ion battery is derived from the model previously built to determine the SOC and other parameters of a battery with less error.
u 1 , u 2 , SOC , 1 / τ 1 , 1 / C 1 , 1 / τ 2 , 1 / C 2 and R 0 are chosen as state-variables: x 1 = u 1 , x 2 = u 2 ,   x 3 = SOC , x 4 = 1 / τ 1 , x 5 = 1 / C 1 , x 6 = 1 / τ 2 , x 7 = 1 / C 2 , x 8 = R 0 . We have chosen this set of parameters because it simplifies the extended Kalman filter estimator. From Thevenin circuit equations of Figure 1 and Equation (5) (see Appendix B), we can write the state equations as follows:
x ˙ 1 = x 4 x 1 + x 5 i b a t
x ˙ 2 = x 6 x 2 + x 7 i b a t
x ˙ 3 = η ( i b a t ) 1 Q i b a t
Determination of battery parameters as a function of SOC allows us to develop the extended Kalman filter observer to identify parameters in real-time. The derivation of time equations for the other state-variables is summarised below.
The time equation for x 4 can be developed from Equation (12a).
x ˙ 4 = d x 4 d x 3 x ˙ 3
Equation (12a) can be rewritten replacing x 4 by 1 / τ 1 as:
x ˙ 4 = ( d τ 1 d x 3 ( x 3 ) τ 1 ( x 3 ) 2 ) η i b a t Q = x 4 2 d τ 1 d x 3 ( x 3 ) η i b a t Q
The derivative of the constant τ 1 with respect to x 3 can be calculated as:
d τ 1 d x 3 ( x 3 ) = d R 1 d x 3 ( x 3 ) C 1 ( x 3 ) + R 1 ( x 3 ) d C 1 d x 3 ( x 3 )
Then, Equation (12b) can be rewritten as:
x ˙ 4 = x 4 2 ( d R 1 d x 3 ( x 3 ) 1 x 5 + R 1 ( x 3 ) d C 1 d x 3 ( x 3 ) ) η i b a t Q
The resistance R 1 is replaced as:
R 1 ( x 3 ) = x 5 x 4
Finally, variable x 4 can be expressed as follows:
x ˙ 4 = x 4 2 ( d R 1 d x 3 ( x 3 ) 1 x 5 + x 5 x 4 d C 1 d x 3 ( x 3 ) ) η i b a t Q
Similarly, the time equation for x 5 can developed as follows:
x ˙ 5 = d x 5 d x 3 x ˙ 3 = ( d C 1 d x 3 ( x 3 ) C 1 ( x 3 ) 2 ) η i b a t Q = x 5 2 d C 1 d x 3 ( x 3 ) η i b a t Q
Likewise, we can compute variables x 6 and x 7 in the same manner.
x ˙ 6 = x 6 2 ( d R 2 d x 3 ( x 3 ) 1 x 7 + x 7 x 6 d C 2 d x 3 ( x 3 ) ) η i b a t Q
x ˙ 7 = x 7 2 d C 2 d x 3 ( x 3 ) η i b a t Q
The time derivative of variable x 8 is assumed to be zero.
d x 8 d t = 0
In such a case, we can use a continuous-discrete extended Kalman filter (CD-EKF). The system of interest is a continuous-time dynamic system with discrete-time measurements given by [34,35,36]:
x ˙ = f ( x ( t ) ,   i b a t ( t ) ) + ν ( t )
U ( n T s ) = h ( x ( n T s ) , i b a t ( n T s ) ) + w n
where v ( t ) is the unmeasured “process noise” which is assumed to be a continuous-time Gaussian zero-mean white noise of covariance matrix q ; w n is the measurement noise which is assumed to be a discrete-time Gaussian zero-mean white noise of covariance matrix R ; and x n = x ( n T s ) , where n is the sampling number; and T s is the sampling period. The U and i b a t are the output and input measurements.
The Kalman filter mainly involves two steps: prediction and measurement update. The predicted state x and its covariance matrix P is calculated by solving ordinary differential equations (ODE) in the form Equation (15) [37]:
x ^ ˙ = f ( x ^ ( t ) ,   i b a t ( t ) )
P ˙ ( x ^ ( t ) ) = F ( x ^ ( t ) ) P ( t ) + P ( t ) . F ( x ^ ( t ) ) T + q
The dynamic matrix F (the Jacobian matrix of partial derivatives of function f ) can be computed:
F ( x ^ ( t ) ) = f x ( x ^ ( t ) , i b a t ( t ) ) = [ F 11 0 0 F 14 F 15 0 0 0 0 F 22 0 0 0 F 26 F 27 0 0 0 0 0 0 0 0 0 0 0 F 43 F 44 F 45 0 0 0 0 0 F 53 0 F 55 0 0 0 0 0 F 63 0 0 F 66 F 67 0 0 0 F 73 0 0 0 F 77 0 0 0 0 0 0 0 0 0 ]
where,
F 11 = x 4 , F 14 = x 1 ,   F 15 = i b a t ,   F 22 =   x 6 ,   F 26 = x 2 ,   F 27 =   i b a t
F 43 = x 4 2 ( 2 × x 4 ( d τ 1 d x 3 ( x 3 ) ) 2 d 2 τ 1 d x 3 2 ( x 3 ) ) η i b a t Q
F 44 = 2 × x 4 d τ 1 d x 3 ( x 3 ) η i b a t Q
F 45 = x 4 ( x 4 x 5 2 d R 1 d x 3 ( x 3 ) d C 1 d x 3 ( x 3 ) ) η i b a t Q
F 53 = x 5 2 ( 2 × x 5 ( d C 1 d x 3 ( x 3 ) ) 2 d 2 C 1 d x 3 2 ( x 3 ) ) η i b a t Q
F 55 = 2 × x 5 d C 1 d x 3 ( x 3 ) η i b a t Q
F 63 = x 6 2 ( 2 × x 6 ( d τ 2 d x 3 ( x 3 ) ) 2 d 2 τ 2 d x 3 2 ( x 3 ) ) η i b a t Q
F 66 = 2 × x 6 d τ 2 d x 3 ( x 3 ) η i b a t Q
F 67 = x 6 ( x 6 x 7 2 d R 2 d x 3 ( x 3 ) d C 2 d x 3 ( x 3 ) ) η i b a t Q
F 73 = x 7 2 ( 2 × x 7 ( d C 2 d x 3 ( x 3 ) ) 2 d 2 C 2 d x 3 2 ( x 3 ) ) η i b a t Q
F 77 = 2 × x 7 d C 2 d x 3 ( x 3 ) η i b a t Q
The initial value of error matrix covariance P 0 and q are given by:
P 0 = [ P 110 0 0 0 0 0 0 0 0 P 220 0 0 0 0 0 0 0 0 P 330 0 0 0 0 0 0 0 0 P 440 0 0 0 0 0 0 0 0 P 550 0 0 0 0 0 0 0 0 P 660 0 0 0 0 0 0 0 0 P 770 0 0 0 0 0 0 0 0 P 880 ]           q = [ q 1 0 0 0 0 0 0 0 0 q 2 0 0 0 0 0 0 0 0 q 3 0 0 0 0 0 0 0 0 q 4 0 0 0 0 0 0 0 0 q 5 0 0 0 0 0 0 0 0 q 6 0 0 0 0 0 0 0 0 q 7 0 0 0 0 0 0 0 0 q 8 ]
The values of these matrices are provided in Appendix A. The covariance matrix q was computed through manual testing in MATLAB.
The two Equations (18a) and (18b) are solved simultaneously with the nonlinear ODE solver [38]. Equation (18b) is vectorised. Here, we implanted the filter (CD-EKF) in MATLAB with ODE45 Dormand-Prince variable-step differential equation solver because it implements the Runge-Kutta pair, one of the best methods for treating non-stiff general-form initial value problems for ODE. The integration is done in the interval [ t n 1 , t n ] with the initial conditions: x ^ ( t n 1 ) = x ^ n 1 / n 1 and the error covariance matrix P ( t n 1 ) = P n 1 / n 1 . We compute the predicted estimate state x ^ n / n 1 = x ^ ( t n ) and the error covariance matrix P n / n 1 = P ( t n ) at time t n [37]. Then, we use the standard correction step of the EKF. Additionally, we calculate only the upper triangular part of the error covariance matrix including the main diagonal because of its symmetry. As a result, we have 44 equations (ODE) to solve with 44 unknown variables. Then the standard measurement update is applied at time ( t n = n T s ). The function h deriving the observation equation is given by:
h ( x , i b a t ) = V o c ( x 3 ) + x 1 + x 2 + x 8 i b a t
The observation matrix H can be calculated by:
H ( x ) = h x ( x , i b a t ) = [ 1         1       h 3 ( x 3 )       0       0     0     0       i b a t ]
where,
h 3 ( x 3 ) = V o c x 3 ( x 3 ) = a v b v exp ( b v x 3 ) + c v d v exp ( d v x 3 )
The Kalman gain can be computed as:
K n = P n / n 1 H ( x ^ n / n 1 ) T S n 1
S n = H ( x ^ n / n 1 ) P n / n 1 H ( x ^ n / n 1 ) T + R
where R is the measurement noise covariance. As presented in Reference [39], Auger et al. proposed that the value of covariance R can be set to one ( R = 1 ). The state estimation covariance is updated by:
P n / n = ( 1 K n H ( x ^ n / n 1 ) ) P n / n 1
We use the Kalman gain to update the state estimation:
x ^ n / n = x ^ n / n 1 + K n ( U ( n T s ) h ( x ^ n / n 1 , i ( n T s ) )
Lastly, the process repeats itself.

9. EKF Estimator Results and Discussion

9.1. Validation using the EBM Model

Firstly, we compared the voltage estimated by the EKF with the voltage output of the EBM model, based on the same current. The battery is discharged with a current of 1.2 A (600 s on-time and 600 s off-time) as shown in Figure 12a. This Figure shows the voltages obtained with EKF and EBM. The voltage error is lower than 0.02% as shown in Figure 12b.
Figure 13 compares the battery parameters for the EBM with the EKF-estimated parameters ( u 1 , u 2 ,   SOC , τ 1 , C 1 , τ 2 , C 2 ,   R 1 ,   R 2 and R 0 ). It is observed that the estimator can accurately identify the battery parameters of the model. For Figure 13a,c,d, the output curves obtained with EKF and EBM are virtually identical and so are superimposed in the graphs.
These estimated parameters vary with time due to their variation with SOC . The main observations concern the resistances which do not vary significantly with time. There is some fluctuation in resistance R 0 , but it seems to be low.
These resistances vary slightly for a SOC interval of 30–100%; conversely, capacitances vary considerably with SOC . These hypothetical observations can be confirmed by experimental results.

9.2. Validation using Experimental Signals

To validate the EKF observer, we used the same current profile shown previously in Figure 12a. The battery voltage over time was measured experimentally and compared with the voltage estimated by the CD-EKF estimator. As seen in Figure 14, the voltage with CD-EKF converges with the experimental data, and the error between these voltages is very low (on the order of 2 mV).
Figure 15 shows the variation of parameters with time. The parameters of the EKF estimator are initialized with values slightly different from the true ones. The estimated drop voltages u 1 and u 2 are compared with values obtained using the EBM, as presented in Figure 15a. The first voltage drop is close to the value obtained with the EBM, but the voltage drop u 2 is greater than u 1 , yet it can be influenced by different coefficients, such as temperature. This can lead to errors determining the concentration parameters ( R 2 and C 2 ), particularly at the beginning of discharge.
The values for resistance and the capacitance estimated by CD-EKF are compared with those calculated by theoretical Equations (9) and (10) using the SOC value obtained by the estimator. These results are shown in Figure 15a–d. The temporal change of the estimated parameters matches the calculations closely.
The main difficulties when determining these parameters usually reside at the beginning and the end of discharge. For this CD-EKF estimator, minor errors occur, especially at low SOC . It is found that the relative error of the estimated parameters oscillates around the zero value. Maximum error is presented in Table 2.
The SOC results estimated with EKF and AHC are compared in Figure 15a. The SOC with EKF converges to the value with AHC with error lower than 1% as shown in Figure 16.

10. Conclusions

In this paper, we propose an extended model to simplify the characterisation of battery parameters (state of charge, resistances and capacitances). This lithium-ion battery model relies on iterative measures of voltage and current as well as estimations from a continuous-discrete extended Kalman filter. We employed the pulse discharge method and fitting technique to determine battery parameters and to validate the model experimentally.
The model, established in the MATLAB environment, takes into account the effect of the discharge rate on battery parameters, and simulates the dynamic voltage behaviours of the battery well. It satisfies a trade-off between complexity and precision. However, at the end of discharge, the model becomes less precise because of increasing superposed errors and electrochemical phenomena that may take place at low voltage. For more stable estimates of the state of charge, further research can be performed to determine the time constants.
Although the model adjusts for Coulombic efficiency variation, temperature can have a substantial effect on battery behaviour and needs to be analysed more deeply.
We have developed a CD-EKF estimator based on the battery model we first derived, using an EKF observer to update parameters for ongoing, iterative input to the model. One of the great advantages of using the observer is the ability to recover from incorrect initial conditions.
Experimental results indicate that this revised CD-EKF estimator can accurately determine battery parameters throughout most of the discharge cycle. In further study, we are currently working to apply the developed estimator in real time measurements with another battery.
The estimator uses only a few equations, and should not require significant computing resources. The developed estimator can be used in various applications such as laptops, telephones and electric vehicles. We are also considering using extended Kalman filters to create an online tool for estimating the state of health of batteries online.

Acknowledgments

The authors would like to thank Philip McMullen who helped us writing this article with a more correct English.

Author Contributions

Moustem Wahbeh performed the experiments. Yasser Diab and François Auger developed the observer and programmed it in the MATLAB environment. Yasser Diab carried out and analysed the different results. Yasser Diab, François Auger and Emmanuel Schaeffer wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviation

AHCAmpere-Hour counting
EISElectrochemical impedance spectrometry
EKFExtended Kalman filter
SOCState of charge
EBMExtended battery model
CD-EKFContinuous-discrete extend filter Kalman
ODEOrdinary differential equations

Appendix A

Table A1. Battery nominal parameters.
Table A1. Battery nominal parameters.
ParameterValue
Nominal voltage (V)3.7
Weight (g)44
Capacity (Ah)2.15
Minimum discharge end voltage (V)2.90
Maximum charge voltage (V)4.20
Internal impedance (mΩ) at 1 kHz150
Table A2. Experimental constants.
Table A2. Experimental constants.
ParameterValue
a v 3.60
b v −0.117
c v −0.524
d v −26.3
a r 1 0.046
b r 1 0.077
c r 1 −7.75
a c 1 −8.77
b c 1 −9.36
c c 1 −9.70
a r 2 0.110
b r 2 0.194
c r 2 −120
a c 2 −23.6
b c 2 −24.6
c c 2 −5900
d c 2 7240
e c 2 401
R 0 (Ω)0.257
Table A3. Covariance matrix.
Table A3. Covariance matrix.
ParameterValue
P 110 4 × 10−5
P 220 1.2 × 10−3
P 330 3 × 10−4
P 440 0.8 × 10−4
P 550 0.2 × 10−6
P 660 17 × 10−6
P 770 3.4 × 10−7
P 880 0.104
q 1 1.3 × 10−3
q 2 4.1 × 10−2
q 3 1.55 × 10−3
q 4 2.52 × 10−5
q 5 0.9 × 10−7
q 6 4.4 × 10−7
q 7 1 × 10−9
q 8 0.95 × 10−3

Appendix B

The electrical circuit of the battery, represented in Figure 1, can be expressed by the Equations (A1)–(A3).
d u 1 d t = 1 τ 1 u 1 + 1 C 1 i b a t
d u 2 d t = 1 τ 2 V 2 + 1 C 2 i b a t
d d t SOC = η ( i b a t ) 1 Q i b a t
d τ 1 d x 3 ( x 3 ) = d R 1 d x 3 ( x 3 ) 1 x 5 + x 5 x 4 d C 1 d x 3 ( x 3 )
d 2 τ 1 d x 3 2 ( x 3 ) = d 2 R 1 d x 3 2 ( x 3 ) 1 x 5 + 2 × d R 1 d x 3 ( x 3 ) d C 1 d x 3 ( x 3 ) + x 5 x 4 d 2 C 1 d x 3 2 ( x 3 )
d 2 R 1 d x 3 2 ( x 3 ) =   b r 1 c r 1 2 exp ( c r 1 x 3 )
d 2 C 1 d x 3 2 ( x 3 ) = 2 × a c 1
d τ 2 d x 3 ( x 3 ) = d R 2 d x 3 ( x 3 ) 1 x 7 + x 7 x 6 d C 2 d x 3 ( x 3 )
d 2 τ 2 d x 3 2 ( x 3 ) = d 2 R 2 d x 3 2 ( x 3 ) 1 x 7 + 2 × d R 2 d x 3 ( x 3 ) d C 2 d x 3 ( x 3 ) + x 7 x 6 d 2 C 2 d x 3 2 ( x 3 )
d 2 R 2 d x 3 2 ( x 3 ) =   b r 2 c r 2 2 exp ( c r 2 x 3 )
d 2 C 2 d x 3 2 ( x 3 ) = 12 × a c 2 x 3 2 +   6 × b c 2 x 3 + 2 × c c 2

References

  1. Andre, D.; Meiler, M.; Steiner, K.; Wimmer, C.; Soczka-Guth, T.; Sauer, D.U. Characterization of high-power lithium-ion batteries by electrochemical impedance spectroscopy. I: Experimental investigation. J. Power Sources 2011, 196, 5334–5341. [Google Scholar] [CrossRef]
  2. Andre, D.; Meiler, M.; Steiner, K.; Walz, H.; Soczka-Guth, T.; Sauer, D.U. Characterization of high-power lithium-ion batteries by electrochemical impedance spectroscopy. II: Modelling. J. Power Sources 2011, 196, 5349–5356. [Google Scholar] [CrossRef]
  3. Smith, K.A.; Rahn, C.D.; Wang, C.-Y. Model-based electrochemical estimation and constraint management for pulse operation of lithium ion batteries. IEEE Trans. Control Syst. Technol. 2010, 18, 654–663. [Google Scholar] [CrossRef]
  4. Bhangu, B.S.; Bentley, P.; Stone, D.A.; Bingham, C.M. Nonlinear observers for predicting state-of-charge and state-of-health of lead-acid batteries for hybrid-electric vehicles. IEEE Trans. Veh. Technol. 2005, 54, 783–794. [Google Scholar] [CrossRef]
  5. Subburaj, A.S.; Bayne, S.B. Analysis of dual polarization battery model for grid applications. In Proceedings of the IEEE 36th International Telecommunications Energy Conference (INTELEC), Vancouver, BC, Canada, 28 September–2 October 2014; pp. 1–7. [Google Scholar]
  6. Chen, M.; Rincon-Mora, G.A. Accurate electrical battery model capable of predicting runtime and IV performance. IEEE Trans. Energy Convers. 2006, 21, 504–511. [Google Scholar] [CrossRef]
  7. Piller, S.; Perrin, M.; Jossen, A. Methods for state-of-charge determination and their applications. J. Power Sources 2001, 96, 113–120. [Google Scholar] [CrossRef]
  8. Einhorn, M.; Conte, V.; Kral, C.; Fleig, J. Comparison of electrical battery models using a numerically optimized parameterization method. In Proceedings of the IEEE Vehicle Power and Propulsion Conference (VPPC), Chicago, IL, USA, 6–9 September 2011; pp. 1–7. [Google Scholar]
  9. Spotnitz, R. Simulation of capacity fade in lithium-ion batteries. J. Power Sources 2003, 113, 72–80. [Google Scholar] [CrossRef]
  10. Pop, V.; Bergveld, H.J.; Danilov, D.; Regtien, P.P.; Notten, P.H. Battery Management Systems: Accurate State-of-Charge Indication for Battery-Powered Applications; Springer Science & Business Media: Berlin, Germany, 2008. [Google Scholar]
  11. Xiong, R.; He, H.; Sun, F.; Zhao, K. Online estimation of peak power capability of Li-ion batteries in electric vehicles by a hardware-in-loop approach. Energies 2012, 5, 1455–1469. [Google Scholar] [CrossRef]
  12. Xiong, R.; Gong, X.; Mi, C.C.; Sun, F. A robust state-of-charge estimator for multiple types of lithium-ion batteries using adaptive extended Kalman filter. J. Power Sources 2013, 243, 805–816. [Google Scholar] [CrossRef]
  13. Hu, C.; Youn, B.D.; Chung, J. A multiscale framework with extended Kalman filter for lithium-ion battery SOC and capacity estimation. Appl. Energy 2012, 92, 694–704. [Google Scholar] [CrossRef]
  14. Chen, Z.; Qiu, S.; Masrur, M.A.; Murphey, Y.L. Battery state of charge estimation based on a combined model of Extended Kalman Filter and neural networks. In Proceedings of the 2011 International Joint Conference on Neural Networks (IJCNN), San Jose, CA, USA, 31 July–5 August 2011; pp. 2156–2163. [Google Scholar]
  15. Andre, D.; Nuhic, A.; Soczka-Guth, T.; Sauer, D.U. Comparative study of a structured neural network and an extended Kalman filter for state of health determination of lithium-ion batteries in hybrid electricvehicles. Eng. Appl. Artif. Intell. 2013, 26, 951–961. [Google Scholar] [CrossRef]
  16. Särkkä, S.; Sarmavuori, J. Gaussian filtering and smoothing for continuous-discrete dynamic systems. Signal Process. 2013, 93, 500–510. [Google Scholar] [CrossRef]
  17. Kulikov, G.Y.; Kulikova, M.V. High-order accurate continuous-discrete extended Kalman filter for chemical engineering. Eur. J. Control 2015, 21, 14–26. [Google Scholar] [CrossRef]
  18. Hua, Y.; Xu, M.; Li, M.; Ma, C.; Zhao, C. Estimation of state of charge for two types of Lithium-Ion batteries by nonlinear predictive filter for electric vehicles. Energies 2015, 8, 3556–3577. [Google Scholar] [CrossRef]
  19. Kim, T.; Qiao, W. A hybrid battery model capable of capturing dynamic circuit characteristics and nonlinear capacity effects. IEEE Trans. Energy Convers. 2011, 26, 1172–1180. [Google Scholar] [CrossRef]
  20. Nikolian, A.; Firouz, Y.; Gopalakrishnan, R.; Timmermans, J.M.; Omar, N.; van den Bossche, P.; van Mierlo, J. Lithium ion batteries—Development of advanced electrical equivalent circuit models for nickel manganese cobalt lithium-ion. Energies 2016, 9, 360. [Google Scholar] [CrossRef]
  21. He, H.; Zhang, X.; Xiong, R.; Xu, Y.; Guo, H. Online model-based estimation of state-of-charge and open-circuit voltage of lithium-ion batteries in electric vehicles. Energy 2012, 39, 310–318. [Google Scholar] [CrossRef]
  22. Panasonic DataSheet. Available online: http://www.alldatasheet.com/datasheet-pdf/pdf/219494/PANASONIC/CGR18650CF.html (accessed on 11 May 2017).
  23. He, H.; Xiong, R.; Fan, J. Evaluation of lithium-ion battery equivalent circuit models for state of charge estimation by an experimental approach. Energies 2011, 4, 582–598. [Google Scholar] [CrossRef]
  24. Feng, F.; Lu, R.; Zhu, C. A combined state of charge estimation method for lithium-ion batteries used in a wide ambient temperature range. Energies 2014, 7, 3004–3032. [Google Scholar] [CrossRef]
  25. Garche, J.; Dyer, C.K.; Moseley, P.T.; Ogumi, Z.; Rand, D.A.; Scrosati, B. Encyclopedia of Electrochemical Power Sources; Newnes: Sydney, Australia, 2013. [Google Scholar]
  26. Jiang, J.; Liu, Q.; Zhang, C.; Zhang, W. Evaluation of acceptable charging current of power Li-ion batteries based on polarization characteristics. IEEE Trans. Ind. Electron. 2014, 61, 6844–6851. [Google Scholar] [CrossRef]
  27. Chun, C.Y.; Seo, G.-S.; Yoon, S.H.; Cho, B.-H. State-of-charge estimation for lithium-ion battery pack using reconstructed open-circuit-voltage curve. In Proceedings of the 2014 International Power Electronics Conference (IPEC-Hiroshima 2014-ECCE-ASIA), Hiroshima, Japan, 18–21 May 2014; pp. 2272–2276. [Google Scholar]
  28. Xu, J.; Mi, C.C.; Cao, B.; Deng, J.; Chen, Z.; Li, S. The state of charge estimation of lithium-ion batteries based on a proportional-integral observer. IEEE Trans. Veh. Technol. 2014, 63, 1614–1621. [Google Scholar]
  29. Yao, L.W.; Aziz, J.A. Modeling of Lithium Ion battery with nonlinear transfer resistance. In Proceedings of the IEEE Applied Power Electronics Colloquium (IAPEC), Johor Bahru, Malaysia, 18–19 April 2011; pp. 104–109. [Google Scholar]
  30. Kim, J.H.; Lee, S.J.; Kim, E.S.; Kim, S.K.; Kim, C.H.; Prikler, L. Modeling of battery for EV using EMTP/ATP draw. J. Electr. Eng. Technol. 2014, 9, 98–105. [Google Scholar] [CrossRef]
  31. Diab, Y.; AbouKair, M. Electric Energy Storage; Damascus University: Damascus, Syria, 2014; pp. 131–133. [Google Scholar]
  32. Kim, J.; Shin, J.; Chun, C.; Cho, B.H. Stable configuration of a Li-ion series battery pack based on a screening process for improved voltage/SOC balancing. IEEE Trans. Power Electron. 2012, 27, 411–424. [Google Scholar] [CrossRef]
  33. Charkhgard, M.; Zarif, M.H. Design of adaptive H∞ filter for implementing on state-of-charge estimation based on battery state-of-charge-varying modelling. IET Power Electron. 2015, 8, 1825–1833. [Google Scholar] [CrossRef]
  34. Xiong, R.; He, H.; Sun, F.; Zhao, K. Evaluation on state of charge estimation of batteries with adaptive extended Kalman filter by experiment approach. IEEE Trans. Veh. Technol. 2013, 62, 108–117. [Google Scholar] [CrossRef]
  35. He, H.; Xiong, R.; Zhang, X.; Sun, F.; Fan, J. State-of-charge estimation of the lithium-ion battery using an adaptive extended Kalman filter based on an improved Thevenin model. IEEE Trans. Veh. Technol. 2011, 60, 1461–1469. [Google Scholar]
  36. Zhang, C.P.; Liu, J.Z.; Sharkh, S.M.; Zhang, C.N. Identification of Dynamic Model Parameters for Lithium-Ion Batteries used in Hybrid Electric Vehicles. Available online: https://eprints.soton.ac.uk/73265/1/Identification_of_Dynamic_Model_Parameters_for.pdf (accessed on 24 July 2017).
  37. Kulikov, G.Y.; Kulikova, M.V. Accurate numerical implementation of the continuous-discrete extended Kalman filter. IEEE Trans. Autom. Control 2014, 59, 273–279. [Google Scholar] [CrossRef]
  38. Axelsson, P.; Gustafsson, F. Discrete-time solutions to the continuous-time differential Lyapunov equation with applications to Kalman filtering. IEEE Trans. Autom. Control 2015, 60, 632–643. [Google Scholar] [CrossRef]
  39. Auger, F.; Hilairet, M.; Guerrero, J.M.; Monmasson, E.; Orlowska-Kowalska, T.; Katsura, S. Industrial applications of the Kalman filter: A review. IEEE Trans. Ind. Electron. 2013, 60, 5458–5471. [Google Scholar] [CrossRef]
Figure 1. Thevenin equivalent circuit.
Figure 1. Thevenin equivalent circuit.
Energies 10 01075 g001
Figure 2. Experimental device and user interface (1) battery discharge test (2) step number (3) current step (4) discharge method (5) voltage (6) current (7) state of charge (8) temperature (9) elapsed time (10) edit (11) start (12) exit (13) export.
Figure 2. Experimental device and user interface (1) battery discharge test (2) step number (3) current step (4) discharge method (5) voltage (6) current (7) state of charge (8) temperature (9) elapsed time (10) edit (11) start (12) exit (13) export.
Energies 10 01075 g002
Figure 3. Discharge current and battery terminal voltage.
Figure 3. Discharge current and battery terminal voltage.
Energies 10 01075 g003
Figure 4. Experimental and fitting result of V o c versus state of charge ( SOC ).
Figure 4. Experimental and fitting result of V o c versus state of charge ( SOC ).
Energies 10 01075 g004
Figure 5. Single pulse of voltage response.
Figure 5. Single pulse of voltage response.
Energies 10 01075 g005
Figure 6. Values of activation parameters versus SOC for different discharge currents (a) resistance R 1 (b) capacitance C 1 .
Figure 6. Values of activation parameters versus SOC for different discharge currents (a) resistance R 1 (b) capacitance C 1 .
Energies 10 01075 g006
Figure 7. Values of concentration parameters versus SOC for different discharge currents (a) resistance R 2 (b) capacitance C 2 .
Figure 7. Values of concentration parameters versus SOC for different discharge currents (a) resistance R 2 (b) capacitance C 2 .
Energies 10 01075 g007
Figure 8. Battery capacity at different discharge currents (a) voltage response (b) Coulombic efficiency.
Figure 8. Battery capacity at different discharge currents (a) voltage response (b) Coulombic efficiency.
Energies 10 01075 g008
Figure 9. Simulation and experimental curves for 0.8 A current (a) voltages and current, (b) voltages error.
Figure 9. Simulation and experimental curves for 0.8 A current (a) voltages and current, (b) voltages error.
Energies 10 01075 g009
Figure 10. Simulation and experimental curves for 1A current (a) voltages and current, (b) voltages error.
Figure 10. Simulation and experimental curves for 1A current (a) voltages and current, (b) voltages error.
Energies 10 01075 g010
Figure 11. Simulation and experimental curves for 1.5 A current (a) voltages and current, (b) voltages error.
Figure 11. Simulation and experimental curves for 1.5 A current (a) voltages and current, (b) voltages error.
Energies 10 01075 g011
Figure 12. Extended battery model (EBM) and extended Kalman filter (EKF) voltages for 1.2 A current profile (a) voltages and current, (b) voltage error.
Figure 12. Extended battery model (EBM) and extended Kalman filter (EKF) voltages for 1.2 A current profile (a) voltages and current, (b) voltage error.
Energies 10 01075 g012
Figure 13. Comparison of EBM and EKF results for the 1.2 A current profile (a) plot of u 1 , u 2 and SOC , (b) resistances R 1 , R 2 and R 0 (c) time constants τ 1 and τ 2 (d) capacitances C 1 and C 2 .
Figure 13. Comparison of EBM and EKF results for the 1.2 A current profile (a) plot of u 1 , u 2 and SOC , (b) resistances R 1 , R 2 and R 0 (c) time constants τ 1 and τ 2 (d) capacitances C 1 and C 2 .
Energies 10 01075 g013
Figure 14. Experimental and EKF voltages for the 1.2 A current profile (a) voltages and current, (b) voltage error.
Figure 14. Experimental and EKF voltages for the 1.2 A current profile (a) voltages and current, (b) voltage error.
Energies 10 01075 g014
Figure 15. EKF results for 1.2 A current profile (a) plot of u 1 , u 2 and SOC , (b) resistances R 1 , R 2 and R 0 (c) time constants τ 1 and τ 2 (d) capacitances C 1 and C 2 .
Figure 15. EKF results for 1.2 A current profile (a) plot of u 1 , u 2 and SOC , (b) resistances R 1 , R 2 and R 0 (c) time constants τ 1 and τ 2 (d) capacitances C 1 and C 2 .
Energies 10 01075 g015
Figure 16. SOC estimation error.
Figure 16. SOC estimation error.
Energies 10 01075 g016
Table 1. Fitting error for battery parameters.
Table 1. Fitting error for battery parameters.
ParameterError (Root Mean Square)
Δ R 1 1.5%
Δ C 1 2.0%
Δ R 2 1.3%
Δ C 2 2.3%
Δ V o c 1.2%
Table 2. Maximum relative errors of estimated parameters.
Table 2. Maximum relative errors of estimated parameters.
ParameterError
Δ τ 1 1 %
Δ C 1 0.9 %
Δ τ 2 5 %
Δ C 2 4 %
Δ R 1 5 %
Δ R 2 6 %
Δ R 0 8 %

Share and Cite

MDPI and ACS Style

Diab, Y.; Auger, F.; Schaeffer, E.; Wahbeh, M. Estimating Lithium-Ion Battery State of Charge and Parameters Using a Continuous-Discrete Extended Kalman Filter. Energies 2017, 10, 1075. https://doi.org/10.3390/en10081075

AMA Style

Diab Y, Auger F, Schaeffer E, Wahbeh M. Estimating Lithium-Ion Battery State of Charge and Parameters Using a Continuous-Discrete Extended Kalman Filter. Energies. 2017; 10(8):1075. https://doi.org/10.3390/en10081075

Chicago/Turabian Style

Diab, Yasser, François Auger, Emmanuel Schaeffer, and Moutassem Wahbeh. 2017. "Estimating Lithium-Ion Battery State of Charge and Parameters Using a Continuous-Discrete Extended Kalman Filter" Energies 10, no. 8: 1075. https://doi.org/10.3390/en10081075

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop