ArticlePDF Available

Study on SOC Estimation of Li-ion Battery Based on the Comparison of UKF Algorithm and AUKF Algorithm

Authors:

Abstract and Figures

In this study, a state of charge (SOC) estimate technique for lithium-ion batteries is presented using an adaptive traceless Kalman filter (AUKF). First, the battery’s second-order RC equivalent circuit model is created, and its parameters are identified. Next, in contrast to the traceless Kalman filter (UKF) algorithm, which ignores the time-varying characteristics of the system noise when estimating the lithium-ion battery’s state of charge, the AUKF-based SOC estimation method is formed from the perspective of adaptive noise adjustment (SOC). The results of testing the AUKF algorithm in real-world settings demonstrate that it has great estimate accuracy and stability and that its estimation outcomes outperform those of the UKF method.
Content may be subject to copyright.
Journal of Physics: Conference Series
PAPER • OPEN ACCESS
Study on SOC Estimation of Li-ion Battery Based
on the Comparison of UKF Algorithm and AUKF
Algorithm
To cite this article: Yi Guo and Yuhang Chen 2023 J. Phys.: Conf. Ser. 2418 012097
View the article online for updates and enhancements.
You may also like
Unscented Kalman filter (UKF)–based
nonlinear parameter estimation for a
turbulent boundary layer: a data
assimilation framework
Zhao Pan, Yang Zhang, Jonas P R
Gustavsson et al.
-
Nonlinear response of human trunk
musculature explains neuromuscular
stabilization mechanisms in sitting posture
Alireza Noamani, Albert H Vette and
Hossein Rouhani
-
UKF-based MEMS micromirror angle
estimation for LiDAR
Junya Wang, Gaofei Zhang and Zheng
You
-
This content was downloaded from IP address 66.56.78.107 on 14/02/2023 at 13:34
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd
EPEE-2022
Journal of Physics: Conference Series 2418 (2023) 012097
IOP Publishing
doi:10.1088/1742-6596/2418/1/012097
1
Study on SOC Estimation of Li-ion Battery Based on the
Comparison of UKF Algorithm and AUKF Algorithm
Yi Guo1, a*, Yuhang Chen1, b
1Electrical Engineering, Shanghai DianJi University, Shanghai, China
bemail:654367022@qq.com
*Corresponding author: aemail: 216004010202@st.sdju.edu.cn
Abstract: In this study, a state of charge (SOC) estimate technique for lithium-ion batteries is
presented using an adaptive traceless Kalman filter (AUKF). First, the battery’s second-order
RC equivalent circuit model is created, and its parameters are identified. Next, in contrast to the
traceless Kalman filter (UKF) algorithm, which ignores the time-varying characteristics of the
system noise when estimating the lithium-ion battery’s state of charge, the AUKF-based SOC
estimation method is formed from the perspective of adaptive noise adjustment (SOC). The
results of testing the AUKF algorithm in real-world settings demonstrate that it has great estimate
accuracy and stability and that its estimation outcomes outperform those of the UKF method.
1. Introduction
The primary direct measurement methods, data-driven approaches, and adaptive filter-based methods
are used in SOC estimation today. The open-circuit voltage approach and the ampere-time integration
method are both direct measuring techniques. The open-circuit voltage method necessitates leaving the
battery offline for a considerable amount of time, making it difficult to use for online estimation;
however, the ampere-time integration method is highly dependent on the determination of the initial
value of SOC, and the measurement error will gradually become larger [1]. The data-driven approach
establishes a mapping link between SOC and factors like voltage, current, and temperature, which are
quantifiable quantities outside of the battery, using machine learning techniques. For instance, the BP
neural network technique is frequently employed, although it requires a lot of processing and is highly
reliant on the accuracy and dependability of the training. The adaptive filter-based approach may limit
the error buildup during the process and fix errors brought on by the initial SOC value uncertainty, but
it is more dependent on the corresponding circuit’s characteristics.
2. Methodology
2.1 Second-order RC circuit model
SOC estimation is based on the battery model. It has been demonstrated that the comparable circuit
model can be used to estimate battery SOC, which properly reflects the physical and chemical changes
inside the battery and satisfies the needs of the battery management system. For a thorough analysis, the
battery model in Figure 1 is used [2].
EPEE-2022
Journal of Physics: Conference Series 2418 (2023) 012097
IOP Publishing
doi:10.1088/1742-6596/2418/1/012097
2
Figure 1 Second-order RC equivalent circuit model
The open circuit voltage, current, polarization capacitance, ohmic internal resistance, polarization
resistance, and terminal voltage are all shown in the figure as 𝑈

,𝐼,𝐶
,𝐶
,𝑅
,𝑅
,𝑅
and 𝑈

,
respectively. The model equation may be obtained by using the existing cell model and looks like this:
𝑈󰇗
𝑈
𝐼
𝑈󰇗
𝑈
𝐼
𝑈

𝑈

𝑈
𝑈
𝐼𝑅
(1)
The SOC expression is: 𝑆𝑂𝐶󰇛𝑡󰇜𝑆𝑂𝐶

, where: T is the sampling time; 𝜂 is the Coulomb
efficiency; 𝐶
is the cell capacity.
2.2 Parameter Identification
The NCR18650B ternary lithium-ion battery, with a rated capacity of 3A.H and a nominal voltage of
3.6V, is the experimental subject of this research. The constant current pulse test is used to determine
the parameters, and the following experimental steps are taken with the thermostat set to 25:
a. Leave the fully charged battery in the thermostat at room temperature for one hour while recording
the battery’s open circuit voltage;
b. Discharge the battery for three minutes at 1 C steady current;
c. After a 2-hour wait, note the battery’s resting voltage;
d. Keep going through steps 2 and 3 until the battery is dead.
The least squares approach is used to fit the voltage and current full cycle and one cycle fluctuation
curves from the CCP experiment to get the discriminative values for each parameter.
𝑈

𝑎
𝑎
ln𝑆𝑂𝐶𝑎
ln󰇛1𝑆𝑂𝐶󰇜

𝑎
𝑆𝑂𝐶 (2)
3. UKF and AUKF algorithms
When calculating SOC, the UKF method assumes the process and measurement noise as constant values,
however when the battery is functioning, the system environment is complicated and changing, and the
noise also has time-varying properties. The AUKF method is provided in this study to lessen the impact
of noise on the calculated SOC. To enhance the algorithm's capacity to estimate the SOC, the Sage-Husa
adaptive algorithm is added to the UKF in the AUKF algorithm [3].
3.1 UKF algorithm
The system’s measurement equation and equation of state are:
𝑥
𝑓󰇛𝑥

,𝑢
󰇜𝑤
𝑦
𝑔󰇛𝑥
,𝑢
󰇜𝑣
(3)
where: 𝑤
~󰇟0,𝑄
󰇠is the measurement noise, and 𝑣
~󰇟0,𝑅
󰇠is the process noise. The UKF functions
as described below:
a. Initialization: 𝑥
,𝑃
b. Calculation of the Sigma point sampling: The variance 𝑃

and 𝑥

at k-1 moments are used to
generate 2n-1 sigma points 𝑥

.
EPEE-2022
Journal of Physics: Conference Series 2418 (2023) 012097
IOP Publishing
doi:10.1088/1742-6596/2418/1/012097
3
𝑥,𝑥 𝑥󰇛𝑛𝜆󰇜𝑃 𝑥󰇛𝑛𝜆󰇜𝑃 (4)
c. Covariance time update and battery status for UKF. One-step predictions of the system state
𝑥𝑘1and the covariance 𝑃
𝑘1 are calculated using the obtained Sigma point set.
󰇱𝑥,𝑘1𝑓𝑥,,𝑢
𝑥𝑘1∑

𝜔󰇛󰇜𝑓𝑥,,𝑢𝑞 (5)
𝑃𝑘1𝑄∑

𝜔󰇛󰇜󰇣𝑥,𝑘1𝑥,𝑘1󰇤󰇣𝑥,𝑘1𝑥,𝑘1󰇤 (6)
d. UKF observational forecasts. A new Sigma point set is generated based on the results of 𝑥𝑘1
and 𝑃𝑘1.
𝑋,𝑘1𝑔𝑥,,𝑢 (7)
e. Determine the UKF's observed projected mean and covariance. By applying the recently acquired
Sigma point set observation predictions, the mean and covariance of the system predictions are
determined. The equations are provided below.
𝑦𝑘1∑

𝜔󰇛󰇜𝑔𝑥,,𝑢𝑟 (8)
𝑃,𝑅∑

𝜔󰇛󰇜󰇣𝜒,𝑘1𝑦𝑘1󰇤 (9)
𝑃,∑

𝜔󰇛󰇜󰇣𝜒,𝑘1𝑥,𝑘1󰇤󰇣𝜒,𝑘1𝑥,𝑘1󰇤 (10)
f. Calculate the gain matrix.
𝑘𝑔𝑃𝑃, (11)
g. Updates on battery condition and covariance measurement in UKF.
󰇱𝑥𝑥𝑘1𝑘𝑔󰇡𝑦𝑦𝑘1󰇢
𝑃𝑃
𝑘1𝑘𝑔𝑃
󰇛𝑘𝑔󰇜 (12)
The SOC value may be extracted from the updated battery status 𝑥 at instant k, allowing for the
SOC estimation to be made.
3.2 AUKF algorithm
The UKF method can estimate the system status in real-time, yet the following issues still exist [4].
Accurate values of the process noise covariance matrix and the measurement noise covariance matrix
are difficult to acquire because the nonlinear system has some uncertainty. Although the RC model’s
correctness is extensively relied upon by UKF, errors may inevitably occur when identifying the resistive
characteristics of the RC model. When the model error is substantial, a large state estimation error is
introduced through the measurement correction link. Unexpected events like variations in the SOC’s
starting value and unusual disruptions in measurement noise frequently occur in actual applications [5].
For these circumstances, the traditional UKF has a limited capacity for adaptation. The Sage-Husa
adaptive method is used in the UKF algorithm to update the 𝑞,𝑄,𝑟,𝑅 noise parameters in real-
time to increase the accuracy of the estimated SOC since the noise of the system model is unknown and
will vary over time. The AUKF algorithm equation is as follows:
a. Determine the process noise's estimated mean and covariance.
𝑞󰇛1𝑑󰇜𝑞𝑑󰇧𝑥∑

𝜔󰇛󰇜𝑓𝑥,,𝑢󰇨
𝑄󰇛1𝑑󰇜𝑄𝑑󰇣𝑘𝑔󰇛𝑦𝑦󰇜󰇛𝑦𝑦󰇜𝑘𝑔𝑃𝑃,𝑃,󰇤 (13)
b. Calculate the measurement noise’s estimated mean and covariance.
EPEE-2022
Journal of Physics: Conference Series 2418 (2023) 012097
IOP Publishing
doi:10.1088/1742-6596/2418/1/012097
4
𝑟

󰇛1𝑑
󰇜𝑟
󰇧𝑦
∑


𝜔
󰇛󰇜
𝑔󰇡𝑥
,
𝑘1,𝑢
󰇢󰇨
𝑅

󰇛1𝑑
󰇜𝑅
𝑑
󰇣󰇛𝑦
𝑦󰇜󰇛𝑦
𝑦󰇜
𝑃
,
𝑃
,
󰇤 (14)
The Simulink simulation of AUKF is shown in Figure 2.
Figure 2 Simulink simulation diagram
4. Experiment and analysis
The thermostat was set to 25°C, and a 3𝐴⋅ℎ, 18650B ternary lithium-ion battery with a nominal voltage
of 3 V was used. The battery’s voltage and current curves were recorded while it was fully charged and
drained under dynamic stress test circumstances [6].
Figure 3 UKF estimated SOC results Figure 4 UKF estimation error
The outcomes and relative mistakes of the UKF method for SOC estimation are displayed in Figures
3 and 4. As can be observed, there are significant estimating errors in the early half of the experimental
phase and the anticipated SOC values do not closely match the real values. This is because the filter is
in a divergent state, at which point a smaller measurement noise covariance is selected, and the UKF
converges at later points, at which point a larger measurement noise covariance is selected. Additionally,
the fitting residuals of the end voltages have large deviations and the initial SOC error is present.
EPEE-2022
Journal of Physics: Conference Series 2418 (2023) 012097
IOP Publishing
doi:10.1088/1742-6596/2418/1/012097
5
Figure 5 AUKF estimated SOC results Figure 6 AUKF estimation error
Figures 5 and 6 display the SOC estimate results and the AUKF algorithm’s relative mistakes. In the
first half of the experiment, it can be seen that there is a similar issue of a poor fit between the predicted
and true values as with the UKF algorithm, but in the second half of the experiment, the predicted values
are closer to the true values than with the UKF algorithm, and the estimation error is also smaller. When
the observed residuals in the process of SOC estimation are bigger than the threshold owing to flaws in
sensor measurement accuracy or the RC model itself, R is set to infinity, and only state prediction
without state correction is carried out at those points [7].
To further verify the effect of different initial values of SOC estimation on the two algorithms, SOC
= 0. 5 was taken and the results were verified using the port voltage to obtain Figure 7 and Figure 8.
Figure 7 End voltage prediction Figure 8 End voltage prediction error
The findings are depicted in the figure, which demonstrates that when using smaller initial values for
SOC estimation, both methods’ convergence times lengthen, and the subsequent coefficient rises. The
UKF method is less robust against the uncertainty of the starting value, as seen by the larger increase in
the subsequent coefficient. Although compared to its original value of 0.8, the AUKF algorithm’s
estimation inaccuracy somewhat rises. The MAE and RMSE estimate errors are still minimal.
5. Conclusion
The general convergence criterion of the filter is introduced into UKF and the method adapts the
measurement noise covariance R, process noise covariance Q, and Kalman gains K by adjustment,
improving the stability and convergence of the filtering algorithm. The AUKF algorithm is used to
estimate SOC using UKF while proposing an AUKF algorithm for the problems of conventional UKF.
Finally, real test results are used for experimental validation. The findings demonstrate that, when
compared to the traditional UKF method, the suggested AUKF algorithm has greater estimation
accuracy, lower following coefficients, and smoother estimation curves under various test settings.
EPEE-2022
Journal of Physics: Conference Series 2418 (2023) 012097
IOP Publishing
doi:10.1088/1742-6596/2418/1/012097
6
References
[1] Ceyong, D., Hongyue, L., (2022) SOC estimation of lithium battery based on improved UKF
algorithm. Green Technology, 14: 247-250.
[2] Qiongrui, H., Ze, C., Jiang, Z., (2022) AUKF-based SOC estimation method for Li-ion batteries.
Automotive Engineering, 44: 1080-1087.
[3] Dongshen, B., Chao, Y., (2022) AUKF algorithm-based SOC estimation for lithium batteries.
Modern machinery, 01: 52-56.
[4] Yuwei, C., Zhongfan, G., Chenao, L., (2021) Battery SOC estimation based on BP-AUKF algorithm
and FFRLS. Power Equipment Management, 09:211-213.
[5] Hao, K., Ming, J., Ke, L., (2015) Improved AUKF Li-ion Battery SOC Estimation Algorithm. Journal
of Nanyang Institute of Technology, 06: 1-5.
[6] Haolong, C., (2021) AUKF-based Li-ion battery charge state estimation for explosion-proof robots.
Automation Applications, 11: 1-4+13.
[7] Haifeng, J., Cong, L., (2021) Simulation study on SOC estimation of power lithium battery.
Computer Simulation, 05: 55-59+228.
... The EKF algorithm approach uses the 1 st -order Taylor series expansion to linearize the non-linear battery state model [6,7]. The Unscented Sigma point Kalman filter (UKF) algorithm statistically iterates the mean and covariance of states using the unscented transform for updating the non-linear battery states [8]. A key limitation of various Kalman filter based models is to tune the process and noise parameters, which ideally must be Gaussian in nature and often challenging to tune with an automated script, making the tuning process subject to hit and trial or experience-based approaches. ...
Preprint
Full-text available
A fixed point Extended Kalman filter (EKF) model is designed and implemented for modest Battery Management System (BMS) for light EV applications. The standard EKF state equations are re-scaled to a higher resolution and converted to a fixed-point decimal word-length. The coulomb counting (CC) and open circuit voltage (OCV) based methods are integrated via a fixed point extended Kalman filter technique. The updated approach can overcome the inaccuracy of CC and the insufficiency of OCV-based methods. Initial state estimation, process and measurement noise co-variances are estimated based on experimental cell data. The algorithm is able to achieve < 500μs of computation time on the fixed-point micro-controller BMS unit. The validation results based on the continuous and multiple drive cycle tests indicate an error of ≤ 2% in State of Charge (SOC) estimation.
... Once the model is determined and the parameters are identified, SOC estimation can be estimated by nonlinear system control methods and filtering techniques. 14,15 The Kalman filters, including the extended Kalman filter (EKF), [16][17][18] unscented Kalman filter (UKF), [19][20][21] and cubature Kalman filter (CKF), 22 have become one of the most effective estimators due to their excellent estimation performance in non-linear systems. The particle filter (PF) [23][24][25][26] and H-infinity filter (HIF) [27][28][29] have higher robustness and estimation accuracy compared to the Kalman filters because they have no strict limitations on noise types. ...
Article
Full-text available
State of charge (SOC) plays a crucial role in battery management systems, which is of paramount importance in the safety of lithium-ion batteries. However, incorrect charging/discharging, electromagnetic interference, electrochemical rebound characteristics of the battery, or battery faults can lead to sudden and unexpected variations in SOC, posing hazards on systems with lithium-ion batteries. To achieve rapid and accurate tracking of such variations, we propose a robust strong tracking filter based on optimal information fusion, which can address the issue of estimation accuracy degradation caused by the over-adjustment of the fading factor in traditional strong tracking filters, while maintaining strong tracking capability for SOC variations. The effectiveness of the proposed method has been demonstrated by discharge experiments and dynamic stress testing.
2022) SOC estimation of lithium battery based on improved UKF algorithm
  • D Ceyong
  • L Hongyue
Ceyong, D., Hongyue, L., (2022) SOC estimation of lithium battery based on improved UKF algorithm. Green Technology, 14: 247-250.
AUKF algorithm-based SOC estimation for lithium batteries
  • Dongshen
Improved AUKF Li-ion Battery SOC Estimation Algorithm
  • Hao
AUKF-based Li-ion battery charge state estimation for explosion-proof robots
  • C Haolong
Haolong, C., (2021) AUKF-based Li-ion battery charge state estimation for explosion-proof robots. Automation Applications, 11: 1-4+13.
AUKF-based SOC estimation method for Li-ion batteries
  • Qiongrui
Battery SOC estimation based on BP-AUKF algorithm and FFRLS
  • Yuwei
Simulation study on SOC estimation of power lithium battery
  • J Haifeng
  • L Cong
Haifeng, J., Cong, L., (2021) Simulation study on SOC estimation of power lithium battery. Computer Simulation, 05: 55-59+228.
AUKF-based SOC estimation method for Li-ion batteries
  • H Qiongrui
  • C Ze
  • Z Jiang
Qiongrui, H., Ze, C., Jiang, Z., (2022) AUKF-based SOC estimation method for Li-ion batteries. Automotive Engineering, 44: 1080-1087.
2022) AUKF algorithm-based SOC estimation for lithium batteries. Modern machinery
  • B Dongshen
  • Y Chao
Dongshen, B., Chao, Y., (2022) AUKF algorithm-based SOC estimation for lithium batteries. Modern machinery, 01: 52-56.
Battery SOC estimation based on BP-AUKF algorithm and FFRLS
  • C Yuwei
  • G Zhongfan
  • L Chenao
Yuwei, C., Zhongfan, G., Chenao, L., (2021) Battery SOC estimation based on BP-AUKF algorithm and FFRLS. Power Equipment Management, 09:211-213.