Next Article in Journal
Performance Assessment of a Solar-Assisted Desiccant-Based Air Handling Unit Considering Different Scenarios
Previous Article in Journal
Predictive Modeling of a Paradigm Mechanical Cooling Tower: I. Adjoint Sensitivity Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Comparative Study Based on the Least Square Parameter Identification Method for State of Charge Estimation of a LiFePO4 Battery Pack Using Three Model-Based Algorithms for Electric Vehicles

1
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Shenzhen 518055, China
2
Shenzhen College of Advanced Technology, University of Chinese Academy of Sciences, Shenzhen 518055, China
3
Jining Institute of Advanced Technology, Chinese Academy of Sciences, Jining 272000, China
*
Author to whom correspondence should be addressed.
Energies 2016, 9(9), 720; https://doi.org/10.3390/en9090720
Submission received: 13 June 2016 / Revised: 21 August 2016 / Accepted: 26 August 2016 / Published: 8 September 2016

Abstract

:
Battery energy storage management for electric vehicles (EV) and hybrid EV is the most critical and enabling technology since the dawn of electric vehicle commercialization. A battery system is a complex electrochemical phenomenon whose performance degrades with age and the existence of varying material design. Moreover, it is very tedious and computationally very complex to monitor and control the internal state of a battery’s electrochemical systems. For Thevenin battery model we established a state-space model which had the advantage of simplicity and could be easily implemented and then applied the least square method to identify the battery model parameters. However, accurate state of charge (SoC) estimation of a battery, which depends not only on the battery model but also on highly accurate and efficient algorithms, is considered one of the most vital and critical issue for the energy management and power distribution control of EV. In this paper three different estimation methods, i.e., extended Kalman filter (EKF), particle filter (PF) and unscented Kalman Filter (UKF), are presented to estimate the SoC of LiFePO4 batteries for an electric vehicle. Battery’s experimental data, current and voltage, are analyzed to identify the Thevenin equivalent model parameters. Using different open circuit voltages the SoC is estimated and compared with respect to the estimation accuracy and initialization error recovery. The experimental results showed that these online SoC estimation methods in combination with different open circuit voltage-state of charge (OCV-SoC) curves can effectively limit the error, thus guaranteeing the accuracy and robustness.

Graphical Abstract

1. Introduction

A battery management system is an important component of an electric vehicle especially in pure electric vehicles (PEV) where the battery is the only source of power. The battery applications for electric vehicles (EV), hybrid electric vehicle (HEV) and areas where batteries can be used as a primary source of energy have been widespread over the past few years due to the transition of internal combustion engine (ICE)-based automobile industries to EVs and HEVs [1]. Use of renewable electricity resources in EVs and HEVs plays a significant role in the transition towards sustainable transportation [2]. One of the major challenges faced by the current EV industry is the overall driving range, which is much lower compared to the ICE vehicles. Adding to the problem is a lack of a battery management system that can estimate and predict the actual remaining power of a battery i.e., to predict the residual driving range. Therefore preventing EVs from running out of charge or leaving the passengers stranded is the main concern [3].
Thus, better control and management strategies for battery capacity are required in order to safeguard the performance and to extend the battery’s useful life. In order to predict the residual range of the electric vehicle, one of the parameters directly involved in its calculation is state of charge (SoC). SoC describes the battery’s remaining capacity status and is critically important for accurate measurement of EV battery state. SoC will give drivers an indication of available runtime and will also help to avoid some detrimental situations like overcharging or over-discharging which might reduce the useful lifespan of a power battery [4]. Therefore, there is a need for a battery that has high energy density, has a long service life and, most of all, is environmental friendly. Automotive industry nowadays considers Li-ion batteries as the preferred choice over the conventional batteries like Ni-MH, Mi-Cd and lead acid batteries due to its high single cell voltage, high energy density and long service life [4,5]. As opposed to the conventional methods for measuring the remaining gas or fuel in a car, SoC cannot be measured directly with physical sensors because of the battery’s strong non-linear and time-variable system.
Several methods for estimating or measuring SoC have been proposed and reported [6,7,8,9,10,11,12]. Each method has its own pros and cons. SoC estimation methods can mainly be divided into two main categories. The first category includes non-model based techniques that are based on the type of measured or estimated input variable. The discharge test, open circuit voltage (OCV) and ampere hour counting methods all fall under this category. The discharge test method is very time consuming and viable only under laboratory conditions though it is one of the most reliable methods. Contrary to the discharge test method, the OCV-based SoC estimation method is a promising technique that obtains SoC from the battery’s OCV-SoC relationship [2]. The second category deals with different kinds of battery models in combination with several adaptive control algorithms.
Battery models can also be further classified into three main categories i.e., (1) a physical model that is designed for a specific battery factor (e.g., temperature model [13] and cycle life model [14]). However, one specific factor cannot describe the functioning and operation of the whole battery; (2) an electro-chemical model that captures the significant electrochemical processes of a battery through a complex mathematical equation and as a consequence makes the state estimation process difficult [4,15]; (3) an equivalent circuit model (ECM) captures the electrochemical physics of a battery using only electrical components, and generally includes an nth order resistor-capacitor (RC) circuit with a series impedance factor, making it easy to incorporate into the system model of an electric vehicle with more precision and lower computational cost. However, according to [16] higher nth order RC circuit adds more non-linearity to the model, resulting in a more complex ECM.
Several adaptive control algorithms in combination with these battery models are used to estimate the states of a lithium ion battery. Different variants of Kalman filtering techniques are mostly used to estimate the SoC based on different battery models. The extended Kalman filter (EKF) was first used to estimate the SoC by Plett [5] and Xiong et al. [17,18,19] further improved it. However, Plett [20] came up with unscented Kalman filter (UKF) idea to overcome the drawbacks of EKF i.e., the derivation of Jacobian matrix is very trivial making it highly unstable during linearization. However for systems with high non-linearity or with a non-Gaussian model the overall estimation performance of the Kalman filter family decreases drastically. Therefore, a particle filter (PF) as an alternative solution has been presented in order to cope with the highly non-linear/non-Gaussian models. PF is a probability-based estimator that can be utilized for SoC estimation dealing with both the Gaussian and non-Gaussian distributed noise models. PF utilizes the particles (weighted random samples) to approximate the posterior distribution sampled by Monte-Carlo methods [21].
Besides system filtering theory, several other machine learning algorithms have been reported for SoC estimation [22,23,24,25] such as artificial neural networks (ANN), fuzzy logic based estimation and many others. These estimation methods offer good performance but are computationally intensive and may require complex processors that are too expensive to be used in a real-time automotive energy management system. Support vector machine (SVM)-based regression offers an alternative method for SoC estimation. Using the principle of Vapnik-Chervonenkis (VC) dimensional statistical learning theory (SLT) and structural risk minimization theory, SVM builds an optimized network structure with the right balance between the empirical error and VC confidence interval. Thus, it achieves a better generalization performance than ANN [26]. However, the disadvantage is that they are dependent on the quality and quantity of the training data, which makes them computationally very expensive.
This paper adopts the least square method to identify the parameters of the lithium ion equivalent battery model and estimates SoC based on EKF, PF and UKF algorithms. The remainder of the paper is organized as follows. Section 2 discusses the battery model selected for the experiment while Section 3 briefly discusses the use of EKF, the application of Sequential Monte Carlo (SMO), i.e., PF and UKF, for Li ion battery SoC estimation based on the current integral method and the open-circuit voltage method, followed by the results and conclusion in Section 4 and Section 5, respectively.

2. Battery Modeling

A battery model describes the relationship between the battery factors and its running characteristics. There are a lot of definitions found in the literature for SoC. In this paper, we will use the following definition: the SoC of a battery is the ratio of the full capacity to the present maximum available capacity. According to the SoC definition [27] it can be represented by Equation (1):
S t = S 0 1 Q m 0 t η i t d τ
where S t is the present SoC; S 0 is the initial SoC value; i t is the instantaneous load current (as assumed positive and negative for discharging and charging phase respectively) and η is the columbic efficiency, which is determined by the aging of the battery. In this paper we assume η = 1. Q m is the rated columbic capacity that differ from the battery’s rated capacity due to the aging effect. Figure 1 shows the open circuit voltage.
As the algorithm will be implemented into a digital system, transforming Equation (1) into a discrete form gives Equation (2):
S n = S n 1 i n Δ n Q m
where n is the sampling step and Δ n is the sampling period.

2.1. Battery Model

An ECM for Li ion battery with one OCV source and a parallel RC network was selected as shown in Figure 2.
The U ( n ) source, parameterized as a non-linear function of the battery SoC and the OCV, is to describe the open circuit voltage characteristic at different SoC. Time-dependent polarization and diffusion effects of the cell are represented by the parallel ladder.
The state space equation of the battery circuit is presented in Equations (3) and (4).
[ U c ( n + 1 ) SoC ( n + 1 ) ] = [ e ( Δ T R 1 C 1 ) 0 0 1 ] [ U c ( n ) SoC ( n ) ]   +   [ R 1 ( 1 e ( Δ T R 1 C 1 ) ) α Δ T Q m ] I i ( n ) + [ r n v n ]
U ( n ) = F ( SoC ( n ) ) U c ( n ) I i ( n ) R 1 + R ( n )
In the above model, R 1 C 1 is the time constant of the RC network.   T   is the sampling time and   U ocv = F ( SoC ( n ) ) . r n and v n are assumed to be Gaussian noise.

2.2. Least Square Method

One of the most widely used method to find or estimate the numerical values of the parameters is least square method [30]. It can also be used to fit a function to a set of data and to characterize the statistical properties of the estimates. The principle of the least square method is as follows: a set of N pairs of observation { Y i , X i } are used to find a function given the value of the dependent (Y) from the values of an independent variable (X). With one variable and a linear function, the prediction is given by Equation (5):
Y ^ = a + b X
In Equation 5, a and b are two free parameters which specify the slope and intercept of the regression line respectively. The least square method defines the estimate of these parameters as the value which minimizes the sum of squares between the measurements and the model. This amounts to minimizing the expression:
ε = i ( Y i Y ^ i ) 2 = i [ Y i ( a + b X i ) ] 2
where ε stands for error which is the quantity to be minimized, and this is achieved using the standard technique property i.e., a quadratic formula reaches its minimum value when its derivatives vanishes. Taking the partial derivative of ε with respect to a and b and setting them to zero gives the following set of equations:
ε a = 2 Na + 2 b X i 2 Y i = 0
ε b = 2 b X i 2 Na + 2 a X i 2 Y i X i = 0
To identify the parameters of the battery pack listed in Table 1 during the discharging process, a constant current pulse is produced, which is constant for sometime, in order to identify the relevant parameters by varying the pulse current as shown in Figure 3.
In this experiment, we obtained the parameters of the Thevenin battery model shown in Figure 2 based on the least square method and the characteristic of the voltage response of the constant pulse-current discharge. Figure 3 is the voltage response process of a 20 A constant pulse-current discharge. The parameter identification process is as follows: when the pulse-current is removed, the bus current   I = 0 , and the terminal voltage of the battery becomes U ( n ) = U ocv + U c ( n )   until the polarized capacitor discharges gradually   U c ( n ) = 0 .
Phase C in Figure 3 shows the slow discharge reaction due to the capacitance C1 of the RC circuit at the end of the discharge process until the voltage returns to normal. The zero input response of the RC circuit is U c ( n ) = U c ( n ) e ( n / τ ) in which   τ   = R 1 C 1   is the time constant. Apply the least square method to obtain   τ .
τ =   R 1 C 1 = [ i   =   1 m n i ] 2 i   =   1 m n i 2 [ m i   =   1 m n i ( ln   u i ) ] i   =   1 m n i i   =   1 m ( ln   u i )
Phase B in Figure 3 consists of two parts. One part is the voltage drop of the terminal voltage which is caused by the pulse-current discharge. The second part is the voltage drop of the RC circuit. Thus we can easily get the voltage drop of the RC circuit   U c ( n ) . The zero-state response of the RC circuit is   U c ( n ) = I R 1 e n τ . By applying the least square method again, we can get the parameters R 1   and C 1 .
R 1 =   e [ 1 m i   =   1 m ( ln u i ) τ m i   =   1 m n i ] I
C 1 =   τ R 1
The ohmic resistance parameter R is obtained from voltage drop difference in phase A of the response process shown in Figure 3.
R =   ( U 1 U 2 ) I
Thus all the parameters of the battery ECM are obtained.

3. Battery SoC Estimation Approach

3.1. Extended Kalman Filter

EKF is a non-linear version of the Kalman filter as the non-linear function is Taylor expanded and the high order terms are ignored. A brief summary of EKF is given below:
Summary of Conventional Non-Linear EKF
Non-linear state-space model
X ¯ n + 1 = F ( X ¯ n , U n ) + r n
Y ¯ n + 1 = G ( X ¯ n , U n ) + v n
Definitions
F ( X ¯ n , U n ) F ( X ¯ ^ n , U n ) + F ( X ¯ n ,   U n ) X ¯ n | X ¯ n = X ¯ ^ n ( X ¯ n X ¯ ^ n )
G ( X ¯ n , U n ) G ( X ¯ ^ n , U n ) + G ( X ¯ n ,   U n ) X ¯ n | X ¯ n = X ¯ ^ n ( X ¯ n X ¯ ^ n )
A ^ n = F ( X ¯ n ,   U n ) X ¯ n | X ¯ n = X ¯ ^ n + , C ^ n = F ( X ¯ n ,   U n ) X ¯ n | X ¯ n = X ¯ ^ n
Initialization
X ¯ ^ 0 + = E [ X ¯ 0 ]
Σ X ¯ ˜ , 0 + = E [ ( X ¯ 0 X ¯ ^ 0 + ) ( X ¯ 0 X ¯ ^ 0 + ) T ]
Computation
State estimate time: X ¯ ^ n = F ( X ¯ ^ n 1 + , U n 1 )
Error covariance time: Σ X ¯ ˜ , n = A ^ n 1 Σ X ¯ ˜ , n 1 + A ^ n 1 T + Σ w
Kalman gain matrix: K n = Σ X ¯ ˜ , n C ^ n T [ C ^ n Σ X ¯ ˜ , n C ^ n T + Σ v ] 1
State estimate measurement: X ¯ ^ n + = X ¯ ^ n + K n [ Y ¯ n G ( X ¯ ^ n , U n ) ]
Error covariance measurement: Σ X ¯ ˜ , n + = ( I K n C ^ k ) Σ X ¯ ˜ , n

3.2. Unscented Kalman Filter

For non-linear systems, UKF uses numeric approximations rather than analytic approximations. First UKF chooses a set of sigma (σ) points then the mean and covariance of these points are used to match the priori random variable’s mean and covariance in every estimation step. A weighting constant is assigned to each σ point and the overall sum of all the weighting constants is equal to 1. As a result we get a set of transformed points after passing all the σ points through a non-linear function. Finally, the mean and covariance of the transformed points are used to update the posteriori mean and covariance. One of the major differences between UKF and EKF is the σ point calculation.
The process model is described in Equation (13):
X ¯ n = F ( X ¯ n     1 ,   u n     1 , r n     1 , n 1 )
The state vector X ¯ n = [ U c SoC ] T , is a discrete process. u n   and   r n = [ r UC r SoC ] T   are the control vectors and process noise respectively.
The observation model is described in Equation (14):
Y ¯ n + 1 = G ( X ¯ n ,   u n ,   v n ,   n )
Here v n is the measurement noise. Including the noise in Equation (14) gives us the new state vector presented in Equation (15).
X ¯ = [ U c ,   SoC ,   r UC ,   r SoC ,   r U ] T
The process noise r UC ,   r SoC and measurement noise r U are Gaussian random processes with zero mean.
• Choose σ points
The state vector X ¯ has dimension M = 5, mean x ¯ and covariance P ¯ X , then p + 1 = 2 M + 1 = 11 . σ points with their weight factors are generated using Equation (16):
{ χ s 0 = x ¯ j = 0 χ s j = x ¯ + ( ( M + λ ) P ¯ X ) i j = 1 , 2 , , M χ s j = x ¯ + ( ( M + λ ) P ¯ X ) i M j = M + 1 , , 2 M w 0 ( sm ) = λ M + λ w 0 ( sc ) = λ M + λ + 1 w 2 + β w j ( sm ) = w j ( sc ) = 1 2 ( M + λ ) j = 1 , 2 , , 2 M
( ( M + λ ) P ¯ X ) j     is the ith column of the matrix square root of ( M + λ ) P ¯ X .   w ( sm ) is the weighting and w 0 ( sc ) is the weighting constant of σ point mean and σ point convariance respectively. They are defined as   X ¯ = j   =   0 2 M w j ( sm ) χ s j ,   P ¯ X = j   =   0 2 M w j ( sc ) ( χ s i X ¯ ) ( χ s i X ¯ ) T .   λ   is a scaling factor defined as λ = w 2 ( M + n ) M . The spread of the σ points is represented by w.   β incorporates prior information and β = 2 is the optimal value for the Gaussian ditributions. n is either 0 or 3 − M.
• Initialization step:
X ¯ 0 + = E [ x ¯ 0 ] = [ U c ,   SoC ,   0 ,   0 ,   0 ] T
• State estimate time update step:
P ¯ 0 + = E [ ( χ s 0 X ¯ 0 + ) ( χ s 0 X ¯ 0 + ) T ] = diag ( T , Q , R )
T, Q and R are the variance matrix of the primitive state variable   X ¯ n = [ U c   , SoC ] T , process noise r n = [ r UC , r SoC ] T and the measurement noise v   respectively.
• State estimate time update
Rewrite the σ points through Equation (3). We will get 2M + 1 σ points χ s n , j , i = 0, 1, …, 2M. The mean and convariance of the state vector can be calculated using Equations (19) and (20):
X ¯ n = j   =   0 2 M w j ( sm ) χ s n , j
P ¯ X ¯ , n = j   =   0 2 M w j ( sc ) χ s n , j ( χ s n , j X ¯ n ) ( χ s n , j X ¯ n ) T
• Output estimate
Propagating the σ points through the observation function given in Equation (4) results in Equation (21):
Y ¯ n , j = G ( χ n , j X ¯ , , u n , χ n , j v , + , n )
Then, using Equations (22) and (23) to calculate the mean and convariance of the estimated output:
Y ^ n = j   =   0 2 M w j ( sm ) Y ¯ n , j
P ¯ Y ¯ , n = j   =   0 2 M w j ( sc ) ( Y ¯ n , j Y ^ n ) ( Y ¯ n , j Y ^ n ) T
• Estimator Kalman gain matrix
In order to calculate the Kalman gain, the covariance matrix must be calculated prior to it being used in Equation (24):
P ¯ X ¯ Y ¯ , n = j   =   0 2 M w j ( sc ) Y ¯ n , j ( χ s n , j X ¯ n ) ( Y ¯ n , j Y ^ n ) T
Then:
K n = P ¯ X ¯ Y ¯ , n / P ¯ Y ¯ , n
• State estimate measurement update
Finally, update the state vector using Equations (26) and (27):
X ¯ n + = X ¯ n + K n ( Y ¯ n Y ^ n )
P ¯ X ¯ , n + = P ¯ X ¯ , n K n P ¯ Y ¯ , n K n T

3.3. Particle Filter as a Sequential Monte Carlo Method

For complex battery models with strong non-linearity PF can be utilized to perform the SoC estimation. PF is a Monte Carlo method (SMC) that integrates the Bayesian learning methods with sequential importance sampling (SIS) and re-sampling. PF approximates the posterior by a set of particles associated with weights without any assumption of its form. In Monte Carlo simulation for state estimation, the given state X n will be estimated with the observation   Y n . The given equation can be utilized to approximate the posterior using Equation (28):
p ( X ¯ 0 : n | Y ¯ 1 : n ) = 1 K i   =   1 K δ X ¯ 0 : n i d X ¯ 0 : n
X ¯ 0 : n i (i = 1, 2, …, K) are the random samples drawn from the posterior distribution and estimate Equation (29) can be utilized to approximate any expectations:
E ( Y ¯ n ( X ¯ 0 : n ) ) ¯ =   1 K i   =   1 K G n ( X ¯ 0 : n i )
Without directly sampling from the posterior density function we can sample from the proposal distribution q ( X ¯ 0 : n | Y 1 : n ) [15], and we can derive Equation (30):
E ( Y ¯ n ( X ¯ 0 : n ) ) ¯ =   1 K i   =   1 K G n ( X ¯ 0 : n i ) w n ( X ¯ 0 : n i )
Here w is the normalized importance weight. Normalize the weight for each particle (i.e., sum to total that equals 1) using Equations (31) and (32):
w n ( X ¯ 0 : n i ) = p ( X ¯ 0 : n | Y ¯ 1 : n ) p ( X ¯ 0 : n ) q ( X ¯ 0 : n | Y ¯ 1 : n )
w n i = w n i j   =   1 K w n j
Hence we can approximate the empirical estimate Equation (28) as the following posterior density function in Equation (33):
p ( X ¯ 0 : n | Y ¯ 1 : n ) = 1 K i   =   1 K w n i δ X ¯ 0 : n i d X ¯ 0 : n
Assuming the Markov process for the state we get Equation (34):
w n = w n 1 p ( X ¯ 0 : n | Y ¯ 1 : n ) p ( X ¯ 0 : n ) q ( X ¯ 0 : n | Y ¯ 1 : n )
Hence the optimal choice for the proposal distribution is presented in Equation (35):
q ( X ¯ n | X ¯ n     1 . Y ¯ 1 : n ) = p ( X ¯ n | Y ¯ n     1 )

PF for SoC Estimation

For SoC estimation PF works in two simple steps, i.e., predict and update. According to the previous discussion about PF review, PF-based Li ion battery SoC estimation algorithm is discussed below:
• Initialization.
Select the total number of particles L and generate the initial particles by using Equation (36):
X ¯ 0 i = X ¯ 0 +   N ( X ¯ 0 , σ 2 )   i = ( 1 , 2 , 3 ,   ,   L )
N ( X 0 , σ 2 ) is the Gaussian distribution where X ¯ 0 is the initial guess and σ 2 is the error covariance.
• State prediction.
Propagate the particles X ¯ n     1 i using the system process equation X ¯ 0 i = F ( X ¯ n     1 ,   V n     1 ) +   N ( X ¯ 0 , σ 2 ) to predict a new set of particles.
• Weight calculation and normalization step (importance sampling).
After calculating the particles maximum likelihood using Equation (37), generate the weights according to Equation (38) and then normalize the weights (Equation (39):
m i = exp ( 1 2 r ( Y ¯ n ( X ¯ n i , V n ) ) 2 ) 2 π r
w n i =   w n     1   i m i
w n i = w n i j   =   1 L w n j
• Re-sampling step.
After normalization of the weights, generate random and uniform samples with a residual re-sampling technique.
• Determine output estimate using Equation (40):
X ¯ n = 1 L i = 1 L w n   i X ¯ n   i
X ¯ n is the estimated SoC using PF. Repeat Steps 2–5 for all n = 1, 2, …

4. Experimental Results and Discussion

To validate the performance of EKF, UKF and PF, we used Shenzhen top band LiFePO4 “3470160” cells (Shenzhen TOPBAND, Guangdong, China). The capacity of each single cell is 20 Ah, 3.2 V. The current and voltage information of the battery pack were recorded using a Digatron battery testing system (BTS) that has the capability to perform charge/discharge of multiple cells simultaneously to obtain charge-discharge capacity and energy. A host computer running the battery testing software recorded all the battery data including voltage, current, Ampere-hour (Ah) and temperature etc. Overall voltage and current sensors error were between 0.1% and 0.5% respectively. For noise cancelation, BTSs have a low pass filtering function. Battery SoC experimental data with the given sampled current and voltage was obtained by BTS management module’s designed algorithm shown in Figure 4.
In practical situation a battery’s actual capacity is limited within the range of 90%–10% to protect it from any damage. 17 points from the voltage plateau area (from 2.6 V to 3.3 V) were chosen in order to get the constant current discharge curve of LiFePO4 at 25 °C shown in Figure 1.
From Figure 1 it can be seen that the relationship between SoC and OCV is intrinsically non-linear. In order to describe this non-linear behavior we used 4 different kinds of OCV function [31,32,33] to fit the OCV-SoC curve for SoC estimation given in Table 2. The goodness-of-fit evaluation factors sum of squared error (SSE), R2, adjusted R2 and root mean square error (RMSE) are derived for each OCV function selected for SoC estimation. Table 3 shows the experimental data for the identification of the parameters. All the parameters (Table 4) were obtained from the OCV-SoC curve with their respective goodness of fit shown in Table 5.
In Table 2, “s” represents the SoC of the battery and “a1a4” is the coefficient obtained from the OCV-SoC curves.
Artificial Gaussian noise is added to the current (around 2% of the full range) in order to better evaluate the robustness of the SoC estimator in an environment close to a realistic automotive environment. Figure 5 and Figure 6 show the battery SoC estimation using the EKF, UKF and PF. During the experiments, 200 particles were chosen, but it was observed that the PF algorithm showed the same error even with 1000–2000 particles at the cost of high computational time.
Choosing the right OCV function is the key to better estimating the SoC of the battery. Good estimation results were obtained when a logarithmic, exponential model with a polynomial exponent and high order polynomial functions were used. The overall performance of the logarithmic and high order polynomial functions is much better than that of exponential model with a polynomial OCV function (Figure 7).
The higher the order of the polynomial function the better it fits as can be seen in Figure 5b,c and Figure 6a,c where a 4th order polynomial function produced better estimation results then a 3rd order polynomial function (Table 5). However, the logarithmic function showed good estimation results with PF, but overall, UKF not only better tracked the actual SoC but also produced good estimation results.
During the experiments it was noticed that all the SoC estimation methods, i.e., EKF, UKF and PF, exhibited a large error when the SoC is between 65% and 45%. The smoothness of the OCV-SoC curve is responsible for this estimation error.
In Figure 8a, it can be seen that when incorrect SoC is given, i.e., initial SoC = 0.1, PF was affected the most. Although it started tracking the actual SoC later, it took some time to recover the initialization error. However, UKF proved better than EKF though they also suffered from initialization error recovery as shown in Figure 8b. Although both EKF and UKF were faster in terms of initialization error recovery but PF outperformed EKF when the battery model was affected by Gaussian noise or a higher order battery model is used which will add more non-linearity to the overall system shown in Figure 9.
This experiment showed that both methods can be used as an alternative to the traditional EKF method in overcoming its weakness, i.e., higher order battery models, initialization error recovery and low accuracy. The overall percentage error is listed in Table 6.

5. Conclusions

This paper presents a comparison between three different SoC estimation methods, i.e., EKF, UKF and PF, for a Li ion battery using four different OCV functions at 25 °C. LiFePO4 was selected as the experimental battery and its model parameters were calculated using the least mean square method. PF was introduced in this paper as an alternate to EKF. SoC estimation with four different OCV functions was carried out. UKF in combination with an exponential model with a polynomial exponent performed better. Both EKF and UKF can overcome the initialization error recovery more rapidly than PF, and UKF proved to be more effective and accurate.

Acknowledgments

This work is supported by National Natural Science Foundation of China (Grant No. 61573337).

Author Contributions

Taimoor Zahid and Weimin Li conceived and designed the experiments, Taimoor Zahid performed the experiments and analyzed the data, Weimin Li contributed the experiment platform, Taimoor Zahid and Weimin Li wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chang, W.-Y. State of charge estimation for LiFePO4 battery using artificial neural network. Int. Rev. Electr. Eng. 2012, 7, 5874–5880. [Google Scholar]
  2. Coleman, M.; Lee, C.K.; Zhu, C.; Hurley, W.G. State-of-charge determination from EMF voltage estimation: Using impedance, terminal voltage, and current for lead-acid and lithium-ion batteries. IEEE Trans. Ind. Electron. 2007, 54, 2550–2557. [Google Scholar] [CrossRef]
  3. U.S. Department of Energy National Laboratory. Battery Test Manual for Plug-in Hybrid. Electric Vehicles, September 2010. Available online: https://inldigitallibrary.inl.gov/sti/4655291.pdf (accessed on 16 June 2016).
  4. Chaturvedi, N.A.; Klein, R.; Christensen, J.; Ahmed, J.; Kojic, A. Algorithms for advanced battery-management systems. IEEE Control. Syst. 2010, 30, 49–68. [Google Scholar] [CrossRef]
  5. Plett, G.L. Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 3. State and parameter estimation. J. Power Sources 2004, 134, 277–292. [Google Scholar] [CrossRef]
  6. Chiang, Y.-H.; Sean, W.-Y.; Ke, J.-C. Online estimation of internal resistance and open-circuit voltage of lithium-ion batteries in electric vehicles. J. Power Sources 2011, 196, 3921–3932. [Google Scholar] [CrossRef]
  7. 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]
  8. Hua, Y.; Xu, M.; Li, M.; Ma, C.; Zhao, C. Estimation of state of charge for two types of Lithium-Ion batteries by non-linear predictive filter for electric vehicles. Energies 2015, 8, 3556–3577. [Google Scholar] [CrossRef]
  9. Ng, K.S.; Moo, C.-S.; Chen, Y.-P.; Hsieh, Y.-C. Enhanced coulomb counting method for estimating state-of-charge and state-of-health of lithium-ion batteries. Appl. Energy 2009, 86, 1506–1511. [Google Scholar] [CrossRef]
  10. Schweiger, H.-G.; Obeidi, O.; Komesker, O.; Raschke, A.; Schiemann, M.; Zehner, C.; Gehnen, M.; Keller, M.; Birke, P. Comparison of several methods for determining the internal resistance of lithium ion cells. Sensors 2010, 10, 5604–5625. [Google Scholar] [CrossRef] [PubMed]
  11. Yan, J.; Xu, G.; Qian, H.; Xu, Y. Robust state of charge estimation for hybrid electric vehicles: Framework and algorithms. Energies 2010, 3, 1654–1672. [Google Scholar] [CrossRef]
  12. Zhang, H.; Zhao, L.; Chen, Y. A lossy counting-based state of charge estimation method and its application to electric vehicles. Energies 2015, 8, 13811–13828. [Google Scholar] [CrossRef]
  13. Quanshi, C.; Chengtao, L. Summarization of studies on performance models of batteries for electric vehicle. Automob. Technol. 2005, 3, 1–5. [Google Scholar]
  14. Ning, G.; White, R.E.; Popov, B.N. A generalized cycle life model of rechargeable Li-ion batteries. Electrochim. Acta 2006, 51, 2012–2022. [Google Scholar] [CrossRef]
  15. Xu, J.; Mi, C.C.; Cao, B.; Cao, J. A new method to estimate the state of charge of lithium-ion batteries based on the battery impedance model. J. Power Sources 2013, 233, 277–284. [Google Scholar] [CrossRef]
  16. Einhorn, M.; Conte, F.V.; Kral, C.; Fleig, J. Comparison, selection, and parameterization of electrical battery models for automotive applications. IEEE Trans. Power Electron. 2013, 28, 1429–1437. [Google Scholar] [CrossRef]
  17. 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]
  18. Xiong, R.; Sun, F.; Chen, Z.; He, H. A data-driven multi-scale extended Kalman filtering based parameter and state estimation approach of lithium-ion olymer battery in electric vehicles. Appl. Energy 2014, 113, 463–476. [Google Scholar] [CrossRef]
  19. Xiong, R.; Sun, F.; He, H.; Nguyen, T.D. A data-driven adaptive state of charge and power capability joint estimator of lithium-ion polymer battery used in electric vehicles. Energy 2013, 63, 295–308. [Google Scholar] [CrossRef]
  20. Plett, G.L. Sigma-point Kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 1: Introduction and state estimation. J. Power Sources 2006, 161, 1356–1368. [Google Scholar] [CrossRef]
  21. Gao, M.; Liu, Y.; He, Z. Battery state of charge online estimation based on particle filter. In Proceedings of the 2011 4th International Congress on Image and Signal Processing (CISP), Shanghai, China, 15–17 October 2011; pp. 2233–2236.
  22. Feng, X.; Li, J.; Ouyang, M.; Lu, L.; Li, J.; He, X. Using probability density function to evaluate the state of health of lithium-ion batteries. J. Power Sources 2013, 232, 209–218. [Google Scholar] [CrossRef]
  23. Han, S.-S.; Chen, W.-Z. The algorithm of dynamic battery SoC based on mamdani fuzzy reasoning. In Proceedings of the Fifth International Conference on Fuzzy Systems and Knowledge Discovery (FSKD’08), Jinan, China, 18–20 October 2008; pp. 439–443.
  24. Linda, O.; William, E.J.; Huff, M.; Manic, M.; Gupta, V.; Nance, J.; Hess, H.; Rufus, F.; Thakker, A.; Govar, J. Intelligent neural network implementation for SOCI development of Li/CFx batteries. In Proceedings of the 2nd International Symposium on Resilient Control Systems (ISRCS’09), Idaho Falls, ID, USA, 11–13 August 2009; pp. 57–62.
  25. Zenati, A.; Desprez, P.; Razik, H. Estimation of the SoC and the SOH of Li-ion Batteries, by combining Impedance Measurements with the Fuzzy Logic Inference. In Proceedings of the 36th Annual Conference on IEEE Industrial Electronics Society (IECON 2010), Glendale, AZ, USA, 7–10 November 2010; pp. 1773–1778.
  26. Hansen, T.; Wang, C.-J. Support vector based battery state of charge estimator. J. Power Sources 2005, 141, 351–358. [Google Scholar] [CrossRef]
  27. Hariharan, K.S.; Kumar, V.S. A non-linear equivalent circuit model for lithium ion cells. J. Power Sources 2013, 222, 210–217. [Google Scholar] [CrossRef]
  28. Zhao, L.; Xu, G.; Li, W.; Taimoor, Z.; Song, Z. LiFePO4 battery pack capacity estimation for electric vehicles based on unscented Kalman filter. In Proceedings of the 2013 IEEE International Conference on Information and Automation (ICIA), Yinchuan, China, 26–28 August 2013; pp. 301–305.
  29. Zahid, T.; Xu, G.; Li, W.; Zhao, L.; Xu, K. Performance analysis of particle filter for SoC estimation of LiFePO4 battery pack for electric vehicles. In Proceedings of the 2014 IEEE International Conference on Information and Automation (ICIA), Hulun Buir, China, 28–30 July 2014; pp. 1061–1065.
  30. Abdi, H. The method of least squares. In Encyclopedia of Measurement and Statistics; SAGE Publications Inc.: Thousand Oaks, CA, USA, 2007. [Google Scholar]
  31. Yu, Z.; Huai, R.; Xiao, L. State-of-charge estimation for lithium-ion batteries using a kalman filter based on local linearization. Energies 2015, 8, 7854–7873. [Google Scholar] [CrossRef]
  32. Plett, G.L. Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 2. Modeling and identification. J. Power Sources 2004, 134, 262–276. [Google Scholar] [CrossRef]
  33. Tian, Y.; Chen, C.; Xia, B.; Sun, W.; Xu, Z.; Zheng, W. An adaptive gain non-linear observer for state of charge estimation of lithium-ion batteries in electric vehicles. Energies 2014, 7, 5995–6012. [Google Scholar] [CrossRef]
Figure 1. Discharge open circuit voltage state of charge (OCV-SoC) curve of LiFePO4 battery at 25 °C, 10 A constant current [28,29].
Figure 1. Discharge open circuit voltage state of charge (OCV-SoC) curve of LiFePO4 battery at 25 °C, 10 A constant current [28,29].
Energies 09 00720 g001
Figure 2. Battery equivalent circuit model (ECM).
Figure 2. Battery equivalent circuit model (ECM).
Energies 09 00720 g002
Figure 3. The voltage response process of the pulse-current discharge.
Figure 3. The voltage response process of the pulse-current discharge.
Energies 09 00720 g003
Figure 4. (a) Battery test bench (Digatron + batteries); (b) data acquisition system interface; and (c) hybrid pulse power characterization (HPPC) profile.
Figure 4. (a) Battery test bench (Digatron + batteries); (b) data acquisition system interface; and (c) hybrid pulse power characterization (HPPC) profile.
Energies 09 00720 g004
Figure 5. SoC estimation using unscented Kalman filter (UKF) and extended Kalman filter (EKF) using: (a) OCV Function 2; (b) OCV Function 4; (c) OCV Function 3; and (d) OCV Function 1.
Figure 5. SoC estimation using unscented Kalman filter (UKF) and extended Kalman filter (EKF) using: (a) OCV Function 2; (b) OCV Function 4; (c) OCV Function 3; and (d) OCV Function 1.
Energies 09 00720 g005
Figure 6. SoC estimation using particle filter (PF) and EKF using: (a) OCV Function 4; (b) OCV Function 1; (c) OCV Function 3; and (d) OCV Function 2.
Figure 6. SoC estimation using particle filter (PF) and EKF using: (a) OCV Function 4; (b) OCV Function 1; (c) OCV Function 3; and (d) OCV Function 2.
Energies 09 00720 g006
Figure 7. EKF and PF Error: (a) OCV Function 2; and (b) OCV Function 1.
Figure 7. EKF and PF Error: (a) OCV Function 2; and (b) OCV Function 1.
Energies 09 00720 g007
Figure 8. Initialization error recovery test using OCV Function 1: (a) EKF and PF; (b) EKF and UKF.
Figure 8. Initialization error recovery test using OCV Function 1: (a) EKF and PF; (b) EKF and UKF.
Energies 09 00720 g008
Figure 9. EKF, UKF and Sequential Monte Carlo (SMO (PF)) error comparison.
Figure 9. EKF, UKF and Sequential Monte Carlo (SMO (PF)) error comparison.
Energies 09 00720 g009
Table 1. Identified battery model parameters.
Table 1. Identified battery model parameters.
ParameterValueUnit
τ9s
R3mΩ
R13mΩ
C13000F
Table 2. Candidate OCV functions.
Table 2. Candidate OCV functions.
NoDescription
1 U ocv = a 0 + a 1 s + a 2 s + a 3 ln ( s ) + a 4 ln ( 1 s )
2 U ocv = a 0 + a 1 s + a 2 s 2 + a 3 e a 4 ( 1   + s )
3 U ocv = a 0 s 3 + a 1 s 2 + a 2 s + a 3
4 U ocv = a 0 s 4 + a 1 s 3 + a 2 s 2 + a 3 s + a 4
Table 3. Experimental data for identification of parameters for U ocv = F ( SoC ( n ) ) .
Table 3. Experimental data for identification of parameters for U ocv = F ( SoC ( n ) ) .
SoC0.10.150.20.250.30.350.40.450.50.550.60.650.70.750.80.850.9
Uocv2.672.792.882.9633.033.053.063.073.083.093.13.123.143.173.213.25
Table 4. Candidate OCV functions parameters.
Table 4. Candidate OCV functions parameters.
OCV Function a 0 a 1 a 2 a 3 a 4
13.8170.001086−1.1520.4646−0.2309
21.877−0.02616−3.9350.1507−1.799
33.622−6.1223.5522.387-
4−3.35410.33−10.644.7182.296
Table 5. Goodness of fit.
Table 5. Goodness of fit.
OCV Function S S E *R2 **Adjusted R2 R M S E ***
10.00097590.99720.99620.009018
20.00065270.99810.99750.007375
30.0013020.99620.99540.01001
40.00023870.99930.99910.00446
* SSE: sum of squared error; ** R2: the coefficient of determination; *** RMSE: root mean square error.
Table 6. EKF, UKF and PF error comparison.
Table 6. EKF, UKF and PF error comparison.
OCV FunctionEKF (%)UKF (%)PF (%)
13.602.883.45
24.473.254.22
32.742.152.44
42.562.361.88

Share and Cite

MDPI and ACS Style

Zahid, T.; Li, W. A Comparative Study Based on the Least Square Parameter Identification Method for State of Charge Estimation of a LiFePO4 Battery Pack Using Three Model-Based Algorithms for Electric Vehicles. Energies 2016, 9, 720. https://doi.org/10.3390/en9090720

AMA Style

Zahid T, Li W. A Comparative Study Based on the Least Square Parameter Identification Method for State of Charge Estimation of a LiFePO4 Battery Pack Using Three Model-Based Algorithms for Electric Vehicles. Energies. 2016; 9(9):720. https://doi.org/10.3390/en9090720

Chicago/Turabian Style

Zahid, Taimoor, and Weimin Li. 2016. "A Comparative Study Based on the Least Square Parameter Identification Method for State of Charge Estimation of a LiFePO4 Battery Pack Using Three Model-Based Algorithms for Electric Vehicles" Energies 9, no. 9: 720. https://doi.org/10.3390/en9090720

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