Skip to main content
Log in

State of charge estimation for energy storage lithium-ion batteries based on gated recurrent unit neural network and adaptive Savitzky-Golay filter

  • Research
  • Published:
Ionics Aims and scope Submit manuscript

Abstract

The accurate estimation of lithium-ion battery state of charge (SOC) is the key to ensuring the safe operation of energy storage power plants, which can prevent overcharging or over-discharging of batteries, thus extending the overall service life of energy storage power plants. In this paper, we propose a robust and efficient combined SOC estimation method, GRU-ASG, which combines the gated recurrent unit (GRU) neural network and the adaptive Savitzky-Golay filter (ASG). Firstly, the “many-to-one” structure GRU is used to establish the mapping model between the battery-measured variables (voltage, current, temperature) and SOC, and achieve the SOC initial estimation. Then, the output SOC of the GRU network is smoothed online using the Spielman coefficient–based ASG filtering algorithm proposed in this paper to reduce the fluctuation of SOC. Finally, the accurate and stable estimated SOC is obtained. This paper uses six different operating condition datasets collected from an energy storage plant during the discharge process and uses four of them as training datasets and the remaining two as test datasets. The results show that the proposed method can select the optimal window length online adaptively to smooth the initial estimate of SOC. Moreover, the estimation accuracy of the proposed method is the highest compared to the single GRU network and the GRU network with a combination of other filtering algorithms. In particular, the mean square error (MSE) is less than 0.15% and the mean absolute error (MAE) is less than 3% for the two test sets.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

References

  1. Locatelli G, Palerma E, Mancini M (2015) Assessing the economics of large energy storage plants with an optimisation methodology. Energy 83:15–28

    Article  Google Scholar 

  2. Horiba T, Maeshima T, Matsumura T, Koseki M, Arai J, Muranaka Y (2005) Applications of high power density lithium ion batteries. J Power Sources 146(1-2):107–110

    Article  CAS  Google Scholar 

  3. Waag W, Käbitz S, Sauer U (2013) Experimental investigation of the lithium-ion battery impedance characteristic at various conditions and aging states and its influence on the application. Appl Energy 102:885–897

    Article  CAS  Google Scholar 

  4. Cheng XB, Zhang R, Zhao CZ, Wei F, Zhang JG, Zhang Q (2016) A review of solid electrolyte interphases on lithium metal anode. Adv Sci 3(3):1500213

    Article  Google Scholar 

  5. Ouyang Q, Ma R, Wu Z, Xu G, Wang Z (2020) Adaptive square-root unscented kalman filter-based state-of-charge estimation for lithium-ion batteries with model parameter online identification. Energies 13(18):4968

    Article  CAS  Google Scholar 

  6. Li Z, Xu J, Wang K, Wu P, Li G (2020) FPGA-based real-time simulation for EV station with multiple high-frequency chargers based on C-EMTP algorithm. Prot Control of Mod Power Syst 5(1):1–11

    Article  Google Scholar 

  7. Fleischer C, Waag W, Heyn HM, Sauer DU (2014) On-line adaptive battery impedance parameter and state estimation considering physical principles in reduced order equivalent circuit battery models part 2. Parameter State Estimation J Power Sources 262:457–482

    Article  CAS  Google Scholar 

  8. Xiong R, Zhang Y, Wang J, He H, Peng S, Pecht M (2018) Lithium-ion battery health prognosis based on a real battery management system used in electric vehicles. IEEE Trans Veh Technol 68(5):4110–4121

    Article  Google Scholar 

  9. Chen C, Xiong R, Yang R, Shen W, Sun F (2019) State-of-charge estimation of lithium-ion battery using an improved neural network model and extended Kalman filter. J Clean Prod 234:1153–1164

    Article  Google Scholar 

  10. Hannan MA, Lipu H, Hussain A, Mohamed A (2017) A review of lithium-ion battery state of charge estimation and management system in electric vehicle applications: challenges and recommendations. Renew Sust Energ Rev 78:834–854

    Article  Google Scholar 

  11. Wang Z, Feng G, Zhen D, Gu F, Ball A (2021) A review on online state of charge and state of health estimation for lithium-ion batteries in electric vehicles. Energy Rep 7:5141–5161

    Article  Google Scholar 

  12. Li Z, Huang J, Liaw BY, Zhang J (2017) On state-of-charge determination for lithium-ion batteries. J Power Sources 348:281–301

    Article  CAS  Google Scholar 

  13. Li Q, Li D, Zhao K, Wang L, Wang K (2022) State of health estimation of lithium-ion battery based on improved ant lion optimization and support vector regression. J Energy Storage 50:104215

    Article  Google Scholar 

  14. Li D, Li S, Zhang S, Sun J, Wang L, Wang K (2022) Aging state prediction for supercapacitors based on heuristic kalman filter optimization extreme learning machine. Energy 250:123773

    Article  Google Scholar 

  15. Yi Z, Zhao K, Sun J, Wang L, Wang K, Ma Y (2022) Prediction of the remaining useful life of supercapacitors. Math Probl Eng 2022:1–8

    Google Scholar 

  16. Ouyang T, Xu P, Chen J, Su Z, Huang G, Chen N (2021) A novel state of charge estimation method for lithium-ion batteries based on bias compensation. Energy 226:120348

    Article  Google Scholar 

  17. Barsali S, Ceraolo M, Li J, Lutzemberger G, Scarpelli C (2020) Luenberger observer for lithium battery state-of-charge estimation. In ELECTRIMACS 2019: Selected Papers-Volume 1, pp 655–667

    Google Scholar 

  18. Ma Y, Li B, Xie Y, Chen H (2016) Estimating the state of charge of lithium-ion battery based on sliding mode observer. IFAC-PapersOnLine 49(11):54–61

    Article  Google Scholar 

  19. Zheng L, Zhu J, Wang G, Lu DC, He T (2018) Differential voltage analysis based state of charge estimation methods for lithium-ion batteries using extended Kalman filter and particle filter. Energy 158:1028–1037

    Article  Google Scholar 

  20. Shrivastava P, Soon TK, Idris MYIB, Mekhilef S (2019) Overview of model-based online state-of-charge estimation using Kalman filter family for lithium-ion batteries. Renew Sust Energ Rev 113:109233

    Article  CAS  Google Scholar 

  21. He Z, Li Y, Sun Y, Zhao S, Lin C, Pan C, Wang L (2021) State-of-charge estimation of lithium ion batteries based on adaptive iterative extended Kalman filter. J Energy Storage 39:102593

    Article  Google Scholar 

  22. Chen Z, Fu Y, Mi CC (2012) State of charge estimation of lithium-ion batteries in electric drive vehicles using extended Kalman filtering. IEEE Trans Veh Technol 62(3):1020–1030

    Article  Google Scholar 

  23. Xiong R, Tian J, Shen W, Sun F (2018) A novel fractional order model for state of charge estimation in lithium ion batteries. IEEE Trans Veh Technol 68(5):4130–4139

    Article  Google Scholar 

  24. Peng J, Luo J, He H, Lu B (2019) An improved state of charge estimation method based on cubature Kalman filter for lithium-ion batteries. Appl Energy 253:113520

    Article  Google Scholar 

  25. Zhao X, Kim K, Jung S (2022) State-of-charge estimation using data fusion for vanadium redox flow battery. J Energy Storage 52:104852

    Article  Google Scholar 

  26. Vellingiri MT, Mehedi IM, Palaniswamy T (2022) A novel deep learning-based state-of-charge estimation for renewable energy management system in hybrid electric vehicles. Mathematics 10(2):260

    Article  Google Scholar 

  27. Yavasoglu HA, Tetik YE, Gokce K (2019) Implementation of machine learning based real time range estimation method without destination knowledge for BEVs. Energy 172:1179–1186

    Article  Google Scholar 

  28. Aitio A, Howey DA (2021) Predicting battery end of life from solar off-grid system field data using machine learning. Joule 5:3204–3220

    Article  Google Scholar 

  29. Li K, Zhou P, Lu Y, Han X, Li X, Zheng Y (2020) Battery life estimation based on cloud data for electric vehicles. J Power Sources 468:228192

    Article  CAS  Google Scholar 

  30. Wu B, Widanage WD, Yang S, Liu X (2020) Battery digital twins: perspectives on the fusion of models, data and artificial intelligence for smart battery management systems. Energy AI 1:100016

    Article  Google Scholar 

  31. Tian J, Chen C, Shen W, Sun F, Xiong R (2023) Deep learning framework for lithium-ion battery state of charge estimation: recent advances and future perspectives. Energy Storage Mater 102883

  32. Chemali E, Kollmeyer PJ, Preindl M, Emadi A (2018) State-of-charge estimation of Li-ion batteries using deep neural networks: a machine learning approach. J Power Sources 400:242–255

    Article  CAS  Google Scholar 

  33. How DNT, Hannan MA, Lipu MSH, Sahari KSM, Ker PJ, Muttaqi KM (2020) State-of-charge estimation of Li-ion battery in electric vehicles: a deep neural network approach. IEEE Trans Ind Appl 56:5565–5574

    Article  CAS  Google Scholar 

  34. Hannan MA, How DNT, Hossain Lipu MS, Ker PJ, Dong ZY, Mansur M, Blaabjerg F (2021) SOC estimation of Li-ion batteries with learning rate-optimized deep fully convolutional network. IEEE Trans Power Electron 36:7349–7353

    Article  Google Scholar 

  35. Xi Z, Wang R, Fu Y, Mi C (2022) Accurate and reliable state of charge estimation of lithium ion batteries using time-delayed recurrent neural networks through the identification of overexcited neurons. Appl Energy 305:117962

    Article  CAS  Google Scholar 

  36. Guo S, Ma L (2023) A comparative study of different deep learning algorithms for lithium-ion batteries on state-of-charge estimation. Energy 263:125872

    Article  Google Scholar 

  37. Hannan MA, How DN, Mansor MB, Lipu MSH, Ker PJ, Muttaqi KM (2021) State-of-charge estimation of li-ion battery using gated recurrent unit with one-cycle learning rate policy. IEEE Trans Ind Appl 57(3):2964–2971

    Article  CAS  Google Scholar 

  38. Yang F, Song X, Xu F, Tsui KL (2019) State-of-charge estimation of lithium-ion batteries via long short-term memory network. Ieee Access 7:53792–53799

    Article  Google Scholar 

  39. Bian C, He H, Yang S (2020) Stacked bidirectional long short-term memory networks for state-of-charge estimation of lithium-ion batteries. Energy 191:116538

    Article  Google Scholar 

  40. He W, Williard N, Chen C, Pecht M (2014) State of charge estimation for Li-ion batteries using neural network modeling and unscented Kalman filter-based error cancellation. Int J Electr Power Energy Syst 62:783–791

    Article  Google Scholar 

  41. Yang F, Zhang S, Li W, Miao Q (2020) State-of-charge estimation of lithium-ion batteries using LSTM and UKF. Energy 201:117664

    Article  Google Scholar 

  42. Chen J, Zhang Y, Li W, Cheng W, Zhu Q (2022) State of charge estimation for lithium-ion batteries using gated recurrent unit recurrent neural network and adaptive Kalman filter. J Energy Storage 55:105396

    Article  Google Scholar 

  43. Tian J, Xiong R, Lu J, Chen C, Shen W (2022) Battery state-of-charge estimation amid dynamic usage with physics-informed deep learning. Energy Storage Mater 50:718–729

    Article  Google Scholar 

  44. Tian J, Xiong R, Shen W, Lu J (2021) State-of-charge estimation of LiFePO4 batteries in electric vehicles: a deep-learning enabled approach. Appl Energy 291:116812

    Article  CAS  Google Scholar 

  45. Tian Y, Lai R, Li X, Xiang L, Tian J (2020) A combined method for state-of-charge estimation for lithium-ion batteries using a long short-term memory network and an adaptive cubature Kalman filter. Appl Energy 265:114789

    Article  Google Scholar 

  46. Jiao M, Wang D (2021) The Savitzky-Golay filter based bidirectional long short-term memory network for SOC estimation. Int J Energy Res 45(13):19467–19480

    Article  Google Scholar 

  47. Acharya D, Rani A, Agarwal S, Singh V (2016) Application of adaptive Savitzky–Golay filter for EEG signal processing. Perspect Sci 8:677–679

    Article  Google Scholar 

  48. Savitzky A, Golay MJ (1964) Smoothing and differentiation of data by simplified least squares procedures. Anal Chem 36(8):1627–1639

Download references

Funding

We would like to acknowledge the grant from National Natural Science Foundation of China, Grant number 12171073.

Author information

Authors and Affiliations

Authors

Contributions

Jinbo Lu and Yafeng He, Huishi Liang wrote the main text of the manuscript, and Miangang Li, Zinan Shi, Kui Zhou, Zhidan Li, Xiaoxu Gong, and Guoqiang Yuan made suggestions and revisions to the full text. All authors reviewed the manuscript.

Corresponding author

Correspondence to Huishi Liang.

Ethics declarations

Ethical approval

This study does not involve human and/or animal studies.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lu, J., He, Y., Liang, H. et al. State of charge estimation for energy storage lithium-ion batteries based on gated recurrent unit neural network and adaptive Savitzky-Golay filter. Ionics 30, 297–310 (2024). https://doi.org/10.1007/s11581-023-05252-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11581-023-05252-z

Keywords

Navigation