Kalman Filter with Long Short-Term Memory for State of Charge Estimation of Lithium-Ion Battery
Main Article Content
Abstract
The State of Charge (SOC) of the lithium-ion battery plays a vital role in monitoring and optimizing the performance of the battery management system (BMS). Traditional Kalman filter (KF) algorithm requires an accurate understanding of the dynamic model of the system and usually contains unknown statistical noises, which can make the SOC estimation inaccurate. To overcome the problem, this paper proposes a modified Kalman filter, namely Kalman-LSTM, which integrates the Long Short-Term Memory (LSTM) into the KF framework. By incorporating a neural network, the method preserves the data efficiency and interpretability of traditional algorithms while simultaneously learning the dynamic behavior of the system. The accuracy of the Kalman-LSTM method is tested using four datasets: DST, BJDST, FUDS, and US06. The SOC estimation results are then compared with different KF variants, including EKF, UKF, and AKF. The experimental results demonstrate that the proposed model has superior accuracy compared to benchmark models across various working conditions.
Keywords
State of Charge, Kalman filter, neural network.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
https://doi.org/10.1115/1.4049238
[2] S. Wang, Y. Fan, S. Jin, P. Takyi-Aninakwa, and C.Fernandez, Improved anti-noise adaptive long short-term memory neural network modeling for the robust remaining useful life prediction of lithium-ion batteries, Reliability Engineering and System Safety, vol. 230, Feb. 2023, Art. no. 108920. https://doi.org/10.1016/j.ress.2022.108920
[3] M.-K. Tran, M. Mathew, S. Janhunen, S. Panchal,K.Raahemifar, R. Fraser, and M. Fowler, A comprehensive equivalent circuit model for lithium-ion batteries, incorporating the effects of state of health, state of charge, and temperature on model parameters, Journal of Energy Storage, vol. 43, Nov. 2021, Art. no. 103252.
https://doi.org/10.1016/j.est.2021.103252
[4] K. Liu, Y. Gao, C. Zhu, K. Li, M. Fei, C. Peng,X.Zhang, and Q.-L. Han, Electrochemical modeling and parameterization towards control-oriented management of lithium-ion batteries, Control Engineering Practice, vol. 124, Jul. 2022, Art. no. 105176.
https://doi.org/10.1016/j.conengprac.2022.105176
[5] Q. Wang, M. Ye, M. Wei, G. Lian, and C. Wu, Co-estimation of state of charge and capacity for lithium-ion battery based on recurrent neural network and support vector machine, Energy Reports, vol. 7, pp. 7323–7332, Nov. 2021.
https://doi.org/10.1016/j.egyr.2021.10.095
[6] D. Chen, L. Xiao, W. Yan, and Y. Guo, A novel hybrid equivalent circuit model for lithium-ion battery considering nonlinear capacity effects, in 6th International Conference on Advances on Clean Energy Research ICACER 2021 Apr. 15–17, 2021, Barcelona, Spain, Energy Reports, vol. 7, Sep. 2021, pp. 320–329.
https://doi.org/10.1016/j.egyr.2021.06.051
[7] Y.-M. Jeong, Y.-K. Cho, J.-H. Ahn, S.-H. Ryu, and B.-K. Lee, Enhanced coulomb counting method with adaptive soc reset time for estimating ocv, in 2014 IEEE Energy Conversion Congress and Exposition (ECCE), Sep. 14-18, 2014, Pittsburgh, PA, USA, pp. 1313–1318.
https://doi.org/10.1109/ECCE.2014.6953989
[8] S. Tong, M. P. Klein, and J. W. Park, On-line optimization of battery open circuit voltage for improved state-of-charge and state-of-health estimation, Journal of Power Sources, vol. 293, pp. 416-428, Oct. 2015.
https://doi.org/10.1016/j.jpowsour.2015.03.157
[9] J. A. A. Qahouq and Z. Xia, Single-perturbation-cycle online battery impedance spectrum measurement method with closed-loop control of power converter, IEEE Transactions on Industrial Electronics, vol. 64, no. 9, Sep. 2017, pp. 7019-7029.
https://doi.org/10.1109/TIE.2017.2686324
[10] X. Hu, H. Yuan, C. Zou, Z. Li, and L. Zhang, Co-estimation of state of charge and state of health for lithium-ion batteries based on fractional-order calculus, IEEE transactions on vehicular technology, vol. 67, iss. 11, pp. 10319-10329, Nov. 2018.
https://doi.org/10.1109/TVT.2018.2865664
[11] Vu, Nga Thi-Thuy, Nam Phuong Tran, and Nam Hoai Nguyen, Adaptive neuro‐fuzzy inference system based path planning for excavator arm, Journal of Robotics, iss. 1, Dec. 2018, Art. no. 2571243.
https://doi.org/10.1155/2018/2571243
[12] Nguyen, Nam H., and Martin Hagan, Stability analysis of layered digital dynamic networks using dissipativity theory, The 2011 International Joint Conference on Neural Networks, IEEE, 2011.https://doi.org/10.1109/IJCNN.2011.6033428
[13] Y. Wang and Z. Chen, A framework for state-of-charge and remaining discharge time prediction using unscented particle filter, Applied Energy, vol. 260, Feb. 2020, Art.no.114324.https://doi.org/10.1016/j.apenergy.2019.114324
[14] Plett, Gregory L. Battery Management Systems, Volume I: Battery Modeling. Artech House, 2015.
[15] F. Ding, Least squares parameter estimation and multi-innovation least squares methods for linear fitting problems from noisy data, Journal of Computational and Applied Mathematics, vol. 426, Jul. 2023, Art. no. 115107.
https://doi.org/10.1016/j.cam.2023.115107
[16] L. J. Dang, Y. L. Huang, Y. G. Zhang, B. D. Chen, Multi-kernel correntropy based extended Kalman filtering for state-of-charge estimation, ISA Transactions, vol. 129, part B, pp. 271-283, Oct. 2022. https://doi.org/10.1016/j.isatra.2022.02.047
[17] Hochreiter, S., Schmidhuber, J., Long short-term memory, Neural Computation, Nov. 1997, vol. 9, pp. 1735-1780.
https://doi.org/10.1162/neco.1997.9.8.1735