Energies 11 02120 PDF
Energies 11 02120 PDF
Energies 11 02120 PDF
Abstract: State-of-charge (SOC) is one of the most critical parameters in battery management
systems (BMSs). SOC is defined as the percentage of the remaining charge inside a battery to the
full charge, and thus ranges from 0% to 100%. This percentage value provides important
information to manufacturers about the performance of the battery and can help end-users
identify when the battery must be recharged. Inaccurate estimation of the battery SOC may cause
over-charge or over-discharge events with significant implications for system safety and
reliability. Therefore, it is crucial to develop methods for improving the estimation accuracy of
battery SOC. This paper presents an electrochemical model for lithium-ion battery SOC estimation
involving the battery’s internal physical and chemical properties such as lithium concentrations.
To solve the computationally complex solid-phase diffusion partial differential equations (PDEs)
in the model, an efficient method based on projection with optimized basis functions is presented.
Then, a novel moving-window filtering (MWF) algorithm is developed to improve the
convergence rate of the state filters. The results show that the developed electrochemical model
generates 20 times fewer equations compared with finite difference-based methods without losing
accuracy. In addition, the proposed projection-based solution method is three times more efficient
than the conventional state filtering methods such as Kalman filter.
Keywords: lithium-ion battery; state-of-charge (SOC); prognostic and health management (PHM);
projection-based method; moving-window filtering (MWF); reliability
1. Introduction
The size of the market for lithium-ion (Li-ion) batteries has grown considerably in recent years.
According to recent statistics provided by Grand View Research, Inc.
(https://www.grandviewresearch.com/), the global Li-ion battery market is expected to grow at an
average annual rate of 17% and reaches $93.1 billion by 2025. Li-ion batteries are electrochemical
energy storage devices that are used in a variety of applications, ranging from Bluetooth
headphones to mobile phones, laptops, electric vehicles (EVs), and satellites. These batteries consist
of an anode (negative electrode) and a cathode (positive electrode) separated by an ion-conductive,
electronically insulating solution called electrolyte [1]. When the battery is connected to an external
load, the anode supplies a current of electrons that flow through the load and are accepted by the
cathode, while the ions move across the electrolyte from the cathode to the anode because of
Energies 2018, 11, 2120; doi:10.3390/en11082120 www.mdpi.com/journal/energies
Energies 2018, 11, 2120 2 of 24
The remainder of this paper is structured as follows: Section 2 provides an overview of battery
SOC estimation algorithms, including electrochemical models and state filter algorithms. Section 3
develops an electrochemical model to apply for the real-time SOC estimation of Li-ion batteries.
Section 4 proposes an optimized projection-based method to reduce computational complexity of
the PDEs in the model. Section 5 presents an improved state filtering algorithm based on moving-
window strategy to infer SOC estimation. Experimental validations of the simplified
electrochemical model and the moving-window filter are performed in Section 6. Section 7
summarizes the contributions of this study and proposes future research directions.
2. Research Background
only generate n equations. Therefore, simplifying the diffusion PDEs in the solid phase is essential
for providing a real-time capability.
Subramanian et al. [17] developed an efficient solution for the diffusion PDEs by
approximating the solid-phase lithium concentration using even-order monomials. The coefficients
for the polynomials were obtained by volume-averaging of the PDEs and the derivatives of the
PDEs. However, Mayhew et al. [18] found that when using more than three monomials to
approximate the lithium concentration, the volume-averaging technique generated an unstable
reduced-order model (ROM). In another study, Chaturvedi et al. [19] proposed a generalized
projection framework to reduce the PDEs to a set of differential algebraic equations (DAEs).
However, the method did not address the issue on constructing an optimal basis function, which
resulted in generation of numerically unstable equations and led to erroneous results. To the best of
the authors’ knowledge, there is no available literature addressing the construction of an optimal
basis function for the diffusion PDE reduction that is independent of loading conditions.
Inputs: I Outputs: V
Sensor
Sensor
State filter algorithms possess multiple advantages. For example, they can handle noisy
measurements and tolerate the modeling error due to unit-to-unit variations and unmodeled
physics. In this algorithm, the system model is expressed in a state-space form as below:
State function: 𝑥𝑘+1 = 𝑓(𝑥𝑘 , 𝑢𝑘 ) + 𝑤𝑘 (1)
Measurement function: 𝑦𝑘 = ℎ(𝑥𝑘 , 𝑢𝑘 ) + 𝑣𝑘 (2)
where 𝑤𝑘 and 𝑣𝑘 represent process noise and measurement noise, respectively.
The commonly used state filter algorithms include Kalman filter, extended Kalman filter
(EKF), and unscented Kalman filter (UKF). Kalman filter is used for linear systems and is the
optimal filter for Gaussian measurement and Gaussian process noise. For nonlinear systems, EKF
and UKF are mostly used. Battery SOC estimation is a nonlinear problem, because the open circuit
voltage (OCV) of the battery is nonlinear. Corno et al. [20] developed a SOC estimation method
based on EKF and an electrochemical model. Han et al. [21] proposed a method to estimate SOC
using a physics-based single particle model and EKF. Santhanagopalan et al. [22] used UKF and an
electrochemical model to estimate SOC of high-power Li-ion batteries. UKF has been shown to
provide better results compared with EKF. However, conventional Kalman filter-based approaches
converge slowly when initial estimation error is high. Attempts to increase the convergence rate by
Energies 2018, 11, 2120 5 of 24
changing initial covariance values can result in noisy estimations for SOC. Figure 2 shows an
example of using UKF for SOC estimation with an electrochemical model. The initial SOC error is
40%. The UKF can eventually converge to true values. However, it takes around half an hour to
converge. Therefore, the state filter algorithm has to be improved to ensure faster convergence.
Figure 2. Slow convergence of UKF given 40% initial SOC estimation error.
We define an x-axis starting from the negative current collector to the positive current
collector, and an r-axis along the radius direction of the solid electrode particle. The transportation
of the Li-ions in the solid-phase particles can be modeled by a diffusion equation as follows [14]:
∂𝑐𝑠 (𝑥, 𝑟, 𝑡) 1 ∂ ∂𝑐𝑠 (𝑥, 𝑟, 𝑡)
= 2 (𝐷𝑠 𝑟 2 ) (4)
∂𝑡 𝑟 ∂𝑟 ∂𝑟
with boundary conditions and initial conditions given by:
∂𝑐𝑠
| =0 (5)
∂𝑟 𝑟=0
∂𝑐𝑠 1
| = − 𝑗𝑛 (6)
∂𝑟 𝑟=𝑅𝑝 𝐷𝑠
where 𝛼𝑎 and 𝛼𝑐 are transport coefficients, and 𝑖0 is the exchange current density, which is defined
as
𝛼𝑎
𝑖0 (𝑥, 𝑡) = 𝑟𝑒𝑓𝑓 𝑐𝑒 (𝑥, 𝑡)𝛼𝑎 × (𝑐𝑠,𝑚𝑎𝑥 − 𝑐𝑠𝑠 (𝑥, 𝑡)) 𝑐𝑠𝑠 (𝑥, 𝑡)𝛼𝑐 (10)
where css and cs,max represent, respectively, the surface concentration and the maximum possible
concentration in the solid particles of the electrode, and reff is a reaction rate constant. As shown in
Equation (9), the overpotential 𝜂𝑠 determines the rate of electrochemical reactions or flux jn and
varies with time t and location x. The overpotentials are calculated by the solid-phase potential Φ𝑠 ,
electrolyte potential Φ𝑒 , open-circuit potential 𝑈(𝑐𝑠𝑠 (𝑥, 𝑡)), and the flux jn, as follows:
where 𝐹𝑅𝑓 𝑗𝑛 (𝑥, 𝑡) is the potential drop due to the film resistance 𝑅𝑓 at the solid electrolyte interface.
In each electrode, the flux jn is dependent upon the divergence of current density in the electrolyte
ie,, as follows:
∂𝑖𝑒 (𝑥, 𝑡)
= 𝑎𝐹𝑗𝑛 (𝑥, 𝑡) (12)
∂𝑥
where a is the specific interfacial area of the particle. The ie should be zeroes at the current collectors
and should be equal to the applied current density, I, at the separator.
where 𝛽𝑖 is called the test function of the projector. With different test functions, the projection
results are different. This property is useful for constructing different equations to calculate the
time-varying coefficients in Equation (13). In this paper, we design a basis function such that the
first boundary condition at the center of the particle in Equation (5) is fulfilled. An example of such
Energies 2018, 11, 2120 8 of 24
a basis function is the even-order monomials (i.e., 1, r2, r4…). By substituting the approximation to
the boundary condition at the surface of the particle, we obtain the first equation as follows:
∂𝚽 T (𝑥)
𝐷𝑠 ( ∂𝑟
| )∙ 𝐚(𝑡) = −𝑗𝑛 (15)
𝑟=𝑅𝑝
The remaining N – 1 equations are obtained by applying the projection N – 1 times to both
sides of the solid-phase diffusion PDEs using different basis functions 𝛽𝑖 , 𝑖 = 1, … , 𝑁 − 1,
R𝑝
𝜕𝑐𝑠 (𝑟, 𝑡) 1 𝜕 𝜕𝑐𝑠 (𝑟, 𝑡) 𝜕𝑐𝑠 (𝑟, 𝑡)
P𝛽𝑖 ( ) = P𝛽𝑖 ( 2 (𝐷𝑠 𝑟 2 )) ⇒ ∫ 𝑟 2 𝛽𝑖 (𝑟)𝑑𝑟
𝜕𝑡 𝑟 𝜕𝑟 𝜕𝑟 0 𝜕𝑡
R 1 𝜕 𝜕𝑐𝑠 (𝑟,𝑡)
= ∫0 𝑝 𝑟 2 (𝑟2 𝜕𝑟 (𝐷𝑠 𝑟 2 𝜕𝑟
)) 𝛽𝑖 (𝑟)𝑑𝑟 (16)
Integrating by parts for the right-hand side of Equation (16) and applying the boundary
condition in Equations (5) and (6), we have:
𝑅 𝜕𝑐𝑠 (𝑟,𝑡) 𝑅 𝜕𝑐𝑠 (𝑟,𝑡) 𝜕𝛽𝑖 (𝑟)
∫0 𝑝 𝑟 2 𝜕𝑡
𝛽𝑖 (𝑟)𝑑𝑟 = − ∫0 𝑝 𝐷𝑠 𝑟 2 𝜕𝑟 𝜕𝑟
𝑑𝑟 − 𝑅𝑝 2 𝛽𝑖 (𝑅)𝑗𝑛 , i = 1,…,N − 1 (17)
where
𝑅 𝑅 𝜕𝛃(𝑟) 𝜕𝚽 T (𝑟)
𝐌 = [∫0 𝑝 𝑟 2 𝛃(𝑟)𝚽 T (𝑟)𝑑𝑟] ; 𝐀 = [− ∫0 𝑝 𝐷𝑠 𝑟 2 𝜕𝑟 𝜕𝑟
𝑑𝑟]
𝑁−1×𝑁 𝑁−1×𝑁
𝜕𝚽 T (𝑟)
𝐁 = [−𝑅𝑝 2 𝛃(𝑅𝑝 )]𝑁−1×1 ; 𝐄 = [𝐷𝑠 𝜕𝑟
| ] ; 𝐂 = [𝚽 T (𝑅𝑝 )]1×𝑁 (20)
𝑟=𝑅𝑝
1×𝑁
𝑢2
𝑢2 =
Step 2: 𝑢2 = 𝜑2 − Proj𝑢1 (𝜑2 ) ‖𝑢2 ‖
𝑢3
𝑢3 =
Step 3: 𝑢3 = 𝜑3 − Proj𝑢1 (𝜑3 ) − Proj𝑢2 (𝜑3 ) ‖𝑢3 ‖
. . .
. . .
. . .
𝑘−1
𝑢𝑘
Step k: 𝑢𝑘 = 𝜑𝑘 − ∑ Proj𝑢𝑗 (𝜑𝑘 ) 𝑢𝑘 =
‖𝑢𝑘 ‖
𝑗=1
𝐔 = [𝑢1 , 𝑢2 , … , 𝑢𝑁 ]𝑇 (24)
We also choose the same U as the elementary test functions in the projection to satisfy the
orthonormality between the basis and test functions in Equation (21). Then the M, A, B, E, and C
matrices in Equation (20) become:
𝑅 𝑅 𝜕𝐔(𝑟) 𝜕𝐔T (𝑟)
𝐌 = [∫0 𝑝 𝑟 2 𝐔(𝑟)𝐔T (𝑟)𝑑𝑟] ; 𝐀 = [− ∫0 𝑝 𝐷𝑠 𝑟 2 𝜕𝑟 𝜕𝑟
𝑑𝑟]
𝑁−1×𝑁 𝑁−1×𝑁
𝜕𝐔T (𝑟)
𝐁 = [−𝑅𝑝 2 𝐔(𝑅𝑝 )]𝑁−1×1 ; 𝐄 = [𝐷𝑠 𝜕𝑟
| ] ; 𝐂 = [𝐔 T (𝑅𝑝 )]1×𝑁 (25)
𝑟=𝑅𝑝
1×𝑁
The construction of the optimal basis function 𝚿 and test function 𝛽 is accomplished by using a
linear transformation given by:
where V and W are k by N matrices, and N and k are the original and reduced dimensionality with
k ≪ N. To ensure the orthonormality of the 𝚿 and 𝛃, we must have 𝐖 𝐓 𝐕 = 𝑰. The concentration
𝑐𝑠 (𝑟, 𝑡) can then be approximated by:
where:
𝑅
𝐌𝒓 = [𝐖 (∫0 𝑝 𝑟 2 𝐔(𝑟)𝐔T (𝑟)𝑑𝑟) 𝐕 𝑻 ]
𝑘−1×𝑘
𝜕𝐔T (𝑟)
𝐄𝒓 = [(𝐷𝑠 𝜕𝑟
| ) 𝐕𝑻] ; 𝐂𝒓 = [(𝐔 T (𝑅𝑝 )) 𝐕 𝑻 ] (29)
𝑟=𝑅𝑝 1×𝑘
1×𝑘
Therefore, the number of DAEs is further reduced to k.
Suppose the transfer function of the DAEs based on the high-order elementary basis function is
H(s), and the transfer function of the DAEs generated by the low-order optimized basis function is
𝛨𝑟 (𝑠). The objective of the optimization is to find the transform matrices V and W to minimize the
2-norm error between H(s) and Hr(s):
+∞
‖𝐻 − 𝐻𝑟 ‖2 = ∫−∞ |𝐻(𝑖𝜔) − 𝐻𝑟 (𝑖𝜔)|2 𝑑𝜔 . (30)
The Meier–Luenberger condition [23] provides the first-order necessary optimality condition
for the optimization problem in Equation (30), which is stated as follows:
Theorem 1. Let H(s) be the full-order system, and 𝛨𝑟 (𝑠) be the minimizer of ‖𝐻(𝑠) − 𝐻𝑟 (𝑠)‖2 with simple
poles 𝜆̂1 , … , 𝜆̂𝑟 . Then 𝐻(−𝜆̂𝑘 ) = 𝐻𝑟 (−𝜆̂𝑘 ) and 𝐻′ (−𝜆̂𝑘 ) = 𝐻𝑟′ (−𝜆̂𝑘 ) for 𝑖 = 1, … , 𝑟.
To satisfy this necessary condition, we need to interpolate H(s) and its derivative at the mirror
image of the poles of the reduced-order system. For linear stable ODEs, the rational Hermite
interpolation provides a way to determine the W and V matrices to obtain 𝛨𝑟 , and below is its
definition:
Given 𝐻(𝑠) = 𝐂 𝑇 (𝑠𝐈 − 𝐀)−1 𝐁, and r distinct points σ1 , … , σ𝑟 ∈ ℂ, let
𝐌 −𝟏 𝐳 𝐳
𝑸2 ] [−𝑗 ] = 𝑸1 𝐳 − 𝑸2 𝑗𝑛
𝐚 = [ ] [−𝑗 ] = [𝑸1 (33)
𝐄 𝑛 𝑛
Because u1 = 1, the first column and first row of A in Equation (20) are zeros. Therefore, the first
row and first column of 𝐀𝑸1 are zeros, and the ODEs are obtained as follows:
ż 1 (𝑡) 0 𝟎 ̅1
B
[ ̇ ]=[ ] 𝐳(𝑡) + [ ∙ 𝑗 (𝑡)
𝐙𝟐 (𝑡) 𝟎 ̅𝟐
𝐀 ̅ ] 𝑛
𝐁 𝟐
Figure 4. Flowchart of the optimal projection method for solving diffusion PDEs.
(a) (b)
Figure 5. (a) Conventional sequential estimation scheme, (b) moving-window state filter.
The filter gain of the moving-window filter (MWF) is derived based on the maximum
likelihood theory. The derivation of the filter gain assumes: (1) the measurement noise and process
noise are Gaussian distributed with zero mean; (2) the system equations are continuously
differentiable. Let us consider a maximum likelihood estimation problem:
𝑎𝑟𝑔𝑚𝑚𝑎𝑥 𝑃(𝑥𝑇−𝑁+1 |𝑦0 , 𝑦1 , … , 𝑦𝑇 ) (41)
𝑥𝑇−𝑁+1
we have:
−1
𝑥𝑇−𝑁+1 = 𝑥̂𝑇−𝑁+1 + ∏ 𝑇−𝑁+1 𝐶 T (𝑅T + 𝐶 T ∏ 𝑇−𝑁+1 C) (y − H(𝑥̂𝑇−𝑁+1)) (45)
where:
𝒚 = [yT−N+1 , y1 , … , yT ]T (46)
ℎ(𝑥)
ℎ(𝑓(𝑥)
𝑯(𝒙) = ℎ(𝑓(𝑓(𝑥)) (47)
…
[ℎ(𝑓(𝑓(… 𝑓(𝑥)))]𝑁×1
𝜕𝑯(𝑥𝑇−𝑁+1 )
𝐶= , (48)
𝜕𝑥𝑇−𝑁+1
6. Case Studies
In this study, the optimal basis function is constructed from 𝚽(𝑥) = [1, 𝑟 2 , 𝑟 4 , … , 𝑟 20 ]T . First, the
Gram–Schmidt algorithm is applied to 𝚽 to obtain the orthonormal elementary basis and test
functions, 𝐔 = [𝑢1 , 𝑢2 , … , 𝑢𝑁 ]𝑇 . The model parameters, including the diffusion coefficient Ds = 3.9 ×
10–10 cm2/s and particle radius Rp = 12.5 × 10–4 cm, were obtained from [26]. These model parameters
have shown good agreement with experimental data of LixC6\LiyMn2O4 cells in [9].
To compare the developed approach with available methods, the frequency responses of
different methods are calculated, including finite difference (FD), volume averaging (VA),
projection with even-order monomials (P), and our proposed method, i.e., projection with
optimized basis functions (OP). The actual transfer function of the diffusion equation is given by
[27]:
𝑅𝑝 tanh(𝑅𝑝 √𝑠⁄𝐷𝑠 )
𝐻𝑇 (𝑠) = (51)
𝐷𝑠 (tanh(𝑅𝑝 √𝑠⁄𝐷𝑠 ) − 𝑅𝑝 √𝑠⁄𝐷𝑠 )
Figure 7 shows the frequency responses of different methods compared with the true transfer
function. At low frequency (e.g., <10–2 rad/s), all methods well match the true transfer function. As
the frequency increases, we see different performances for different methods. Overall, the FD
method with 500 nodes (FD500) shows the best performance. However, it requires solving 500
equations, which is not feasible for real-time applications. Our proposed projection method with
optimized basis functions (OP) shows the best balance between accuracy and computational burden
among those methods.
Energies 2018, 11, 2120 15 of 24
150
VA3
100
|H(i )| (dB)
VA2
True
True
FD500 FD100
50 FD100 FD500
FD5
OP5 (Proposed) P5 OP5
P5
VA2
VA3
FD5
0
10 -4 10 -2 10 0 10 2 10 4
Freq(rad/sec)
Figure 7. Frequency responses of different methods compared to the true transfer function (FD5:
finite difference with 5 nodes; FD100: finite difference with 100 nodes; FD500: finite difference with
500 nodes; P5: projection with un-optimized basis; OP5: our proposed projection method with
optimized basis; VA2: volume averaging with 2 basis functions; VA3: volume averaging with 3 basis
functions).
As can be seen in Figure 7, OP5 outperforms all other methods except for FD500. For example,
OP5 is better than FD100 in the high-frequency domain, while it only requires solving about 20
times fewer equations compared to FD100. As expected, OP5 also outperforms VA and the
projection with un-optimized basis functions (P5). The VA method developed in [17] performs well
in the low-frequency domain but generates large errors in the high-frequency domain. In addition,
VA3 with 3 basis functions is worse than VA2 with 2 basis functions, although more basis functions
are used in VA3 because the system equations generated by VA become unstable when using high-
order monomials.
More simulations were conducted to illustrate how the error changes with the number of states
(or the convergence rate). Based on this investigation, we can determine how many states are really
necessary. Figure 8 shows a convergence rate comparison of the different methods. The relative
error is calculated by the following equation in the frequency domain:
𝑤 ‖𝐻(𝑖𝜔)
− 𝐻𝑇 (𝑖𝜔)‖2
𝐸𝑟𝑟𝑜𝑟 = ∫ 𝑑𝜔 (52)
0 ‖𝐻𝑇 (𝑖𝜔)‖2
The OP shows an exponential convergence rate, while the finite difference and the projection
with original un-optimized basis present a linear convergence rate. The advantage of the proposed
OP method is obvious. From Figure 8, the accuracy of the proposed OP with three states is similar
to that of the unoptimized basis with 10 states and is two times better than FD with 10 states. With
five states, the OP is almost converged, and there is no need to add more states.
Energies 2018, 11, 2120 16 of 24
100
NP
IRKA
90 FD
Error measure
70
Projection with unoptimized basis
60
40
30
2 3 4 5 6 7 8 9 10
Number of states (equations)
To compare the performance in the time domain, three simulations were conducted with the
time-varying flux jn(t). The first case was a 50 s discharge step followed by a 950 s rest step as
shown in Figure 9. This is to evaluate the algorithms’ performance in slow dynamics and steady-
state simulations. The benchmarking result is obtained by using a FD method with 500 nodes,
which is an accurate solution due to the high number of nodes used. The time-domain outputs
using different methods are calculated and plotted in Figure 10. In the 50 s discharge step, the
results of FD100, P5, and OP5 are on top of that of FD500, meaning they are accurate for slow
dynamics. VA2 and FD5 are less accurate as they show obvious discrepancy from FD500 in the
concentration estimation. In the rest step, after 950 s rest, the system dynamics should set down and
converge to steady state. In this step, most algorithms, including FD500, FD100, P5, OP5, and VA2,
are converged to the same steady-state solution. However, FD5 shows a different steady-state
solution, which can cause issues in actual applications, for example, errors in SOC estimation.
10 -3
12
10
8
Flux ( mole/cm 2 s)
-2
-4
0 100 200 300 400 500 600 700 800 900 1000
Time (s)
Figure 9. 50 s flux and 950 s rest applied to the surface of the particle.
Energies 2018, 11, 2120 17 of 24
4
10
2.65
FD500
FD100
2.6
FD5
OP5 (Proposed)
P5
2.55
VA2
2.5
Concentration( mole/cm3)
2.45
2.4
4
2.35 10
2.6
2.3 2.5
2.4
2.25
2.3
2.2 2.2
0 20 40 60 80
2.15
0 100 200 300 400 500 600 700 800 900 1000
Time(s)
Figure 10. Time domain outputs of different methods for slow dynamics.
The second simulation uses a pulse series with frequency of 5 Hz and duration of 100 s, which
is to evaluate the algorithms’ accuracy in the simulation for fast dynamics. The waveform of the
pulses is shown in Figure 11 (only the first second of data is plotted in order to show the data
clearly).
0.15
0.1
Flux ( mole/cm 2 s)
0.05
The time-domain results and the errors comparing to baseline (FD500) are illustrated in Figure
12.
4 4000
10
2.8
FD100
FD500 FD5
FD100 OP5 (Proposed)
FD5 2000 P5
OP5 (Proposed) VA2
2.6
P5
VA2
0
Concentration( mole/cm3)
2.4
Error( mole/cm3)
-2000
2.2
-4000
2
-6000
1.8
-8000
1.6
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-10000
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time(s)
Time (s)
(a) (b)
Energies 2018, 11, 2120 18 of 24
Figure 12. Time domain outputs of different methods for 5 Hz pulses (a), errors of different methods
compared to FD with 500 nodes (b).
Like the frequency domain results presented in Figure 7, in the high-frequency simulations,
our proposed OP5 shows obvious advantages comparing to P5, VA2, and FD5 as it better matches
the results of FD500. The VA2 and FD5 perform rather poorly and show large swings from the
baseline. The third case is based on federal driving schedule (FDS) to simulate the actual loading
condition of an EV battery. The time-domain current waveform and its Fourier transform are
shown in Figure 13. As can be seen, the main frequency components of FDS are less than 2 Hz. In
Figure 7, the transfer function of FD500 overlaps with the true transfer function for frequencies < 2
Hz. Hence, here we can still use FD500 as a baseline for the comparison.
1 0.3
0.25
0
0.2
-1
Magnitude
I [A]
0.15
-2
0.1
-3
0.05
-4
0 500 1000 1500 2000 2500 3000 3500 4000 0
0 1 2 3 4 5
Time [s] Frequency(Hz)
(a) (b)
Figure 13. Federal driving schedule (FDS) profile (a), Fourier transform of FDS (b).
Figure 14 shows the simulation results of FDS based on different algorithms, and Figure 15
shows the simulation errors. Similar to the previous case, FD100 and OP5 are still the best among all
methods.
Table 2 summarizes the comparison of the root mean square error (RMSE), computational
time, and memory requirements (for the equation storage) of difference algorithms in the
simulation of the FDS. As shown, OP5 has the least RMS error among all algorithms. OP5 reduces
the computational time and memory by over 20 and 200 times, respectively, compared to FD100
and is more accurate. With the same number of states, the proposed OP5 is also much better than
the conventional P5 method, where the RMS error is reduced from 92 to 14.
The simulations above demonstrate that FD100, P5, and the proposed OP5 performs similarly
for low-frequency inputs in terms of accuracy. For high-frequency inputs, our developed method is
superior to FD100 and P5. For applications where the current profile is stationary (e.g., constant
current discharge), either FD100, P5, or OP5 should provide good performance. For dynamical
applications, for instance, EVs, where the current consists of various transients due to starting,
braking, and accelerating, the proposed OP5 method is the best among all the methods investigated
in terms of accuracy and computational efficiency.
To validate the proposed MWF approach, experiments were conducted to collect battery data.
Figure 16 shows the experimental setup. Five LiFePO4 batteries were tested in this research. Arbin
BT 2000 was used to control the battery charging discharge, and the voltage, current, and
temperature data of the battery were collected.
Energies 2018, 11, 2120 20 of 24
Figure 17 shows the current profile used in the test, which is converted from the speed profile
of federal driving schedule (FDS) based on an EV model. This is in order to simulate what the
battery can experience under the actual driving conditions.
2 100
Speed (mph)
0
Current
50
-2
-4
0
0 1000 2000 3000 4000 0 1000 2000 3000 4000
Time (s) Time (s)
(a) (b)
Figure 17. FDS current profile (a), FDS velocity profile (b).
The collected data is used to test the performance of the MWF with the electrochemical model.
The electrochemical model parameters were obtained from [28]. First, we examined the effects of
the window size on the SOC accuracy. Figure 18 shows the results. We can see that the SOC
estimation error reduces with the increasing of window size, especially when the window size
increases from 2 to 4. After 4, there is not much improvement. Hence, in the next paragraphs, we
will use a window size of 4 for the state estimation and compare the results with unscented Kalman
filter (UKF).
15
SOC RMS Error (%)
10
0
0 2 4 6 8 10
Window size
Figure 19 shows the comparison results of Cell #1 to Cell #5. The black line is the actual SOC,
which was obtained by Coulomb counting because we know the initial condition and the sensor is
accurate in the lab. The red line is the MWF, which converges to the true value in less than 2 min.
The UKF result is represented by the blue line. It takes about 30 min for the UKF to converge.
Therefore, the MWF outperforms the UKF and shows consistent improvements over the UKF.
Energies 2018, 11, 2120 21 of 24
(a) (b)
(c) (d)
(e)
Figure 19. SOC estimation comparison of cells 1 to cell 5 (a–e).
Table 3 summarizes the results of all 5 cells. For convergence analysis, only the first few
minutes are important as we want to see which filter converges faster. Therefore, in Table 3, only
the first 10 min of errors were estimated. We can see the MWF’s improvement over the UKF is
significant as the SOC error decreases from >10% to 3%. The computationally efficient
electrochemical model is used here with state filters for SOC estimation. The MWF not only
converges fast, but also demonstrates good capability to handle unit-to-unit variations, because
here the model parameters are learned from Cell #1 and then the same parameter set is applied to
different cells.
Table 3. Summary of SOC estimation results based on electrochemical model and MWF.
Author Contributions: W.H. designed and performed the experiments; F.D. built and wrote the majority of the
manuscript text; M.P. and D.F. reviewed the manuscript and made contributions to its structure.
Funding: The authors from Heriot-Watt University acknowledge the funding of the EPSRC Offshore Robotics
for Certification of Assets hub (https://orcahub.org) (EP/R026173/1).
Abbreviations
cs solid-phase concentration
ce lithium concentration in the electrolyte
𝑐𝑠,𝑚𝑎𝑥 max concentration in the solid phase
𝑐𝑠 (𝑥, 𝑟, 𝑡) solid-phase concentration
cs,max maximum possible concentration in the solid particles of the electrode
css surface concentration in the solid particles of the electrode
De effective diffusion coefficient
Ds diffusion coefficient
𝜀𝑒 volume fraction of the electrolyte
F Faraday’s constant
𝐹𝑅𝑓 𝑗𝑛 (𝑥, 𝑡) potential drop due to the film resistance 𝑅𝑓 at the solid electrolyte interface
jn molar flux
L thickness of the electrode
reff reaction rate constant
R particle radius
Rp radius of the solid-phase particle
𝑡𝑎0 transference number for the anion
𝑣𝑘 measurement noise
𝑤𝑘 process noise
References
1. Taracson, J.; Armand, M. Issues and challenges facing lithium ion batteries. Nature 2001, 414, 359–367.
2. Breitfelder, K.; Messina, D. The Authoritative Dictionary of IEEE Standards Terms, 7th ed.; Institute of
Electrical and Electronics Engineers (IEEE) Press: New York, NY, USA, 2000; ISBN 978-0-7381-2601-2.
3. 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,
doi:10.1016/j.apenergy.2008.11.021.
4. Zhao, L.; Lin, M.; Chen, Y. Least-squares based coulomb counting method and its application for state-of-
charge (soc) estimation in electric vehicles. Int. J. Energy Res. 2016, 40, 1389–1399, doi:10.1002/er.3530.
5. Pop, V.; Bergveld, H.J.; Notten, P.H.L.; Regtien, P.P.L. State-of-the-art of battery state-of-charge
determination. Meas. Sci. Technol. 2005, 16, R93–R110, doi:10.1088/0957-0233/16/12/r01.
6. Xiong, R.; Cao, J.; Yu, Q.; He, H.; Sun, F. Critical review on the battery state of charge estimation methods
for electric vehicles. IEEE Access 2018, 6, 1832–1843.
7. Meng, J.; Luo, G.; Ricco, M.; Swierczynski, M.; Stroe, D.-I.; Teodorescu, R. Overview of lithium-ion battery
modeling methods for state-of-charge estimation in electrical vehicles. Appl. Sci. 2018, 8, 659.
8. Xing, Y.; He, W.; Pecht, M.; Tsui, K.L. State of charge estimation of lithium-ion batteries using the open-
circuit voltage at various ambient temperatures. Appl. Energy 2014, 113, 106–115,
doi:10.1016/j.apenergy.2013.07.008.
9. Xiong, R.; Yu, Q.; Wang, L.Y.; Lin, C. A novel method to obtain the open circuit voltage for the state of
charge of lithium ion batteries in electric vehicles by using H infinity filter. Appl. Energy 2017, 207, 346–
353.
10. 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, doi:10.3390/en4040582.
11. Lee, S.; Kim, J.; Lee, J.; Cho, B.H. State-of-charge and capacity estimation of lithium-ion battery using a
new open-circuit voltage versus state-of-charge. J. Power Sources 2008, 185, 1367–1373,
doi:10.1016/j.jpowsour.2008.08.103.
12. Cho, S.; Jeong, H.; Han, C.; Jin, S.; Lim, J.H.; Oh, J. State-of-charge estimation for lithium-ion batteries
under various operating conditions using an equivalent circuit model. Comput. Chem. Eng. 2012, 41, 1–9,
doi:10.1016/j.compchemeng.2012.02.003.
13. Feng, T.; Yang, L.; Zhao, X.; Zhang, H.; Qiang, J. Online identification of lithium-ion battery parameters
based on an improved equivalent-circuit model and its implementation on battery state-of-power
prediction. J. Power Sources 2015, 281, 192–203, doi:10.1016/j.jpowsour.2015.01.154.
14. Doyle, M.; Newman, J. The use of mathematical modeling in the design of lithium/polymer battery
systems. Electrochim. Acta 1995, 40, 2191–2196, doi:10.1016/0013-4686(95)00162-8.
Energies 2018, 11, 2120 24 of 24
15. Newman, J.; Thomas-Alyea, K.E. Electrochemical Systems, 3rd ed.; John Wiley Press: California, CA, USA,
2004.
16. Ramadesigan, V.; Northrop, P.W.C.; De, S.; Santhanagopalan, S.; Braatz, R.D.; Subramanian, V.R.
Modeling and simulation of lithium-ion batteries from a systems engineering perspective. J. Electrochem.
Soc. 2012, 159, R31–R45, doi:10.1149/2.018203jes.
17. Subramanian, V.R.; Diwakar, V.D.; Tapriyal, D. Efficient macro-micro scale coupled modeling of
batteries. J. Electrochem. Soc. 2005, 152, A2002–A2008.
18. Mayhew, C.; He, W.; Kroener, C.; Klein, R.; Chaturvedi, N.; Kojić, A. Investigation of projection-based
model-reduction techniques for solid-phase diffusion in li-ion batteries. In proceedings of the American
Control Conference, Portland, OR, USA, 4–6 June 2014.
19. Chaturvedi, N.A.; Christensen, J.F.; Klein, R.; Kojic, A. Approximations for partial differential equations
appearing in li-ion battery models. In Proceedings of the ASME Dynamic Systems and Control
Conference, Palo Alto, CA, USA, 21–23 October 2013.
20. Corno, M.; Bhatt, N.; Savaresi, S.M.; Verhaegen, M. Electrochemical model-based state of charge
estimation for Li-ion cells. IEEE Trans. Control Syst. Technol. 2015, 23, 117–127.
21. Han, J.; Kim, D.; Sunwoo, M. State-of-charge estimation of lead-acid batteries using an adaptive extended
kalman filter. J. Power Sources 2009, 188, 606–612, doi:10.1016/j.jpowsour.2008.11.143.
22. Santhanagopalan, S.; White, R.E. State of charge estimation using an unscented filter for high power
lithium ion cells. Int. J. Energy Res. 2009, 34, 152–163, doi:10.1002/er.1655.
23. Meier, L.; Luenberger, D.G. Approximation of linear constant systems. IEEE Trans. Autom. Control 1967,
12, 585–588.
24. Gugercin, S.; Antoulas, A.C.; Beattie, C.A. H2 model reduction for large-scale linear dynamical systems.
SIAM J. Matrix Anal. Applications 2008, 30, 609–638.
25. Lee, P.M. Bayesian Statistics: An Introduction; John Wiley & Sons: West Susses, UK, 2012.
26. Jacobsen, T.; West, K. Diffusion impedance in planar, cylindrical and spherical symmetry. Electrochim.
Acta 1995, 40, 255–262, doi:10.1016/0013-4686(94)e0192-3.
27. He, W. Battery State of Charge Estimation Based on Data-Driven Models with Moving Window Filters
and Physics-Based Models with Efficient Solid-phase Diffusion PDEs Solved by the Optimized Projection
Method. Ph.D. Thesis, University of Maryland, College Park, MD, USA, 2018.
28. Zhang, L.; Wang, L.; Hinds, G.; Lyu, C.; Zheng, J.; Li, J. Multi-objective optimization of lithium-ion
battery model using genetic algorithm approach. J. Power Sources 2014, 270, 367–378,
doi:10.1016/j.jpowsour.2014.07.110.
© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons
Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).