Skip to main content
Log in

Examining the influence of sampling frequency on state-of-charge estimation accuracy using long short-term memory models

  • Original Paper
  • Published:
Electrical Engineering Aims and scope Submit manuscript

Abstract

Lithium-ion batteries’ state-of-charge prediction (SoC) cannot be directly measured due to their chemical structure. Therefore, a prediction can be made using the measurable data of the battery. The limited measurable data (current, voltage, and temperature) and the small changes in charge/discharge curves over time further complicate the prediction process. Recurrent neural network-based deep learning algorithms, capable of making predictions with a small number of input data, have become widely used in this field. Particularly, the use of Long Short-Term Memory (LSTM) has shown successful results in one-dimensional and slowly changing data over time. However, these approaches require high computational power for training and testing processes. The window length of the data used as input is one of the major factors affecting the prediction time. The window length of the data varies depending on the sampling frequency and the length of the lookback period. Reducing the window length to shorten, the prediction time makes feature extraction from the data difficult. In this case, adjusting the sampling frequency and window length properly will improve the prediction accuracy and time. Therefore, this study presents the effects of sampling frequency and window length on the prediction accuracy for LSTM-based deep learning approaches. Prediction results were examined using different metrics such as MAE, MSE, training, and testing time. The study’s results indicate that training and testing times can be shortened when the sampling frequency and window length are properly adjusted.

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

Similar content being viewed by others

Data availability

No datasets were generated or analyzed during the current study.

References

  1. Christensen P et al (2021) Thermal and mechanical abuse of electric vehicle pouch cell modules. Appl Therm Eng 189:116623

    Article  Google Scholar 

  2. How DN, Hannan M, Lipu MH, Ker PJ (2019) State of charge estimation for lithium-ion batteries using model-based and data-driven methods: a review. IEEE Access 7:136116–136136

    Article  Google Scholar 

  3. Nian P, Shuzhi Z, Xiongwen Z (2021) Co-estimation for capacity and state of charge for lithium-ion batteries using improved adaptive extended Kalman filter. J. Energy Storage 40:102559

    Article  Google Scholar 

  4. Ng KS, Moo C-S, Chen Y-P, Hsieh Y-C (2009) Enhanced coulomb counting method for estimating state-of-charge and state-of-health of lithium-ion batteries. Appl Energy 86(9):1506–1511

    Article  Google Scholar 

  5. Mohammadi F (2022) Lithium-ion battery state-of-charge estimation based on an improved coulomb-counting algorithm and uncertainty evaluation. J. Energy Storage 48:104061

    Article  Google Scholar 

  6. Ma L, Hu C, Cheng F (2021) State of charge and state of energy estimation for lithium-ion batteries based on a long short-term memory neural network. J Energy Storage 37:102440

    Article  Google Scholar 

  7. Babaeiyazdi I, Rezaei-Zare A, Shokrzadeh S (2021) State of charge prediction of EV Li-ion batteries using EIS: a machine learning approach. Energy 223:120116

    Article  Google Scholar 

  8. Xing Y, He W, Pecht M, Tsui KL (2014) State of charge estimation of lithium-ion batteries using the open-circuit voltage at various ambient temperatures. Appl Energy 113:106–115

    Article  Google Scholar 

  9. Chen X, Lei H, Xiong R, Shen W, Yang R (2019) A novel approach to reconstruct open circuit voltage for state of charge estimation of lithium ion batteries in electric vehicles. Appl Energy 255:113758

    Article  Google Scholar 

  10. Sundaresan S, Devabattini BC, Kumar P, Pattipati KR, Balasingam B (2022) Tabular open circuit voltage modelling of li-ion batteries for robust soc estimation. Energies 15(23):9142

    Article  Google Scholar 

  11. Ren Z, Du C, Wu Z, Shao J, Deng W (2021) A comparative study of the influence of different open circuit voltage tests on model-based state of charge estimation for lithium-ion batteries. Int J Energy Res 45(9):13692–13711

    Article  Google Scholar 

  12. Jeong Y-M, Cho Y-K, Ahn J-H, Ryu S-H, Lee B-K (2014) Enhanced Coulomb counting method with adaptive SoC reset time for estimating OCV. In: 2014 IEEE energy conversion congress and exposition (ECCE), IEEE, pp 1313–1318

  13. Junior OHA, Sylvestrin GR, Scherer HF (2022) Experimental validation of state of charge estimation by extended Kalman filter and modified Coulomb counting. IEEE Lat Am Trans 20(11):2395–2403

    Article  Google Scholar 

  14. Pan H, Lü Z, Lin W, Li J, Chen L (2017) State of charge estimation of lithium-ion batteries using a grey extended Kalman filter and a novel open-circuit voltage model. Energy 138:764–775

    Article  Google Scholar 

  15. How DN, Hannan MA, Lipu MSH, Sahari KS, 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(5):5565–5574

    Article  Google Scholar 

  16. 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  Google Scholar 

  17. Deng Z, Hu X, Lin X, Che Y, Xu L, Guo W (2020) Data-driven state of charge estimation for lithium-ion battery packs based on Gaussian process regression. Energy 205:118000

    Article  Google Scholar 

  18. Ismail M, Dlyma R, Elrakaybi A, Ahmed R, Habibi S (2017) Battery state of charge estimation using an artificial neural network. In: 2017 IEEE transportation electrification conference and expo (ITEC), IEEE, pp 342–349

  19. Dewalkar SG, Nangrani S (2021) State of charge estimation system for electric vehicle batteries using ANN. In: 2021 international conference on computational intelligence and computing applications (ICCICA), IEEE, pp 1–7

  20. Antón JÁ, Nieto PG, de Cos Juez F, Lasheras FS, Vega MG, Gutiérrez MR (2013) Battery state-of-charge estimator using the SVM technique. Appl Math Modell 37(9):6244–6253

    Article  Google Scholar 

  21. Hansen T, Wang C-J (2005) Support vector based battery state of charge estimator. J Power Sources 141(2):351–358

    Article  Google Scholar 

  22. Xiong R, Sun F, Gong X, Gao C (2014) A data-driven based adaptive state of charge estimator of lithium-ion polymer battery used in electric vehicles. Appl Energy 113:1421–1433

    Article  Google Scholar 

  23. Ipek E, Yilmaz M (2021) A novel method for SoC estimation of Li-ion batteries using a hybrid machinelearning technique. Turk J Electr Eng Comput Sci 29(1):18–31

    Article  Google Scholar 

  24. Sidhu MS, Ronanki D, Williamson S (2019) State of charge estimation of lithium-ion batteries using hybrid machine learning technique. In: IECON 2019–45th annual conference of the IEEE industrial electronics society, vol 1, IEEE, pp 2732–2737

  25. Ee Y-J, Tey K-S, Lim K-S, Shrivastava P, Adnan S, Ahmad H (2021) Lithium-ion battery state of charge (SoC) estimation with non-electrical parameter using uniform fiber Bragg grating (FBG). J Energy Storage 40:102704

    Article  Google Scholar 

  26. Kannan M, Sundareswaran K, Nayak PSR, Simon SP (2023) A combined DNN-NBEATS architecture for state of charge estimation of lithium-ion batteries in electric vehicles. IEEE Trans Veh Technol

  27. Liu Y, He Y, Bian H, Guo W, Zhang X (2022) A review of lithium-ion battery state of charge estimation based on deep learning: directions for improvement and future trends. J Energy Storage 52:104664

    Article  Google Scholar 

  28. Xia B et al (2018) State of charge estimation of lithium-ion batteries using optimized Levenberg-Marquardt wavelet neural network. Energy 153:694–705

    Article  Google Scholar 

  29. Chen X, Shen W, Dai M, Cao Z, Jin J, Kapoor A (2015) Robust adaptive sliding-mode observer using RBF neural network for lithium-ion battery state of charge estimation in electric vehicles. IEEE Trans Veh Technol 65(4):1936–1947

    Article  Google Scholar 

  30. Chaoui H, Ibe-Ekeocha CC, Gualous H (2017) Aging prediction and state of charge estimation of a LiFePO4 battery using input time-delayed neural networks. Electr Power Syst Res 146:189–197

    Article  Google Scholar 

  31. Lipu MSH, Hannan MA, Hussain A, Saad MH, Ayob A, Uddin MN (2019) Extreme learning machine model for state-of-charge estimation of lithium-ion battery using gravitational search algorithm. IEEE Trans Ind Appl 55(4):4225–4234

    Article  Google Scholar 

  32. Liu Y, Gong C, Yang L, Chen Y (2020) DSTP-RNN: a dual-stage two-phase attention-based recurrent neural network for long-term and multivariate time series prediction. Expert Syst Appl 143:113082

    Article  Google Scholar 

  33. Murad A, Pyun J-Y (2017) Deep recurrent neural networks for human activity recognition. Sensors 17(11):2556

    Article  Google Scholar 

  34. Smagulova K, James AP (2019) A survey on LSTM memristive neural network architectures and applications. Eur Phys J Special Topics 228(10):2313–2324

    Article  Google Scholar 

  35. Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780

    Article  Google Scholar 

  36. Chung D-W, Ko J-H, Yoon K-Y (2022) State-of-charge estimation of lithium-ion batteries using LSTM deep learning method. J Electr Eng Technol 17(3):1931–1945

    Article  Google Scholar 

  37. Chemali E, Kollmeyer PJ, Preindl M, Ahmed R, Emadi A (2017) Long short-term memory networks for accurate state-of-charge estimation of Li-ion batteries. IEEE Trans Ind Electron 65(8):6730–6739

    Article  Google Scholar 

  38. Tian J, Xiong R, Shen W (2019) A review on state of health estimation for lithium ion batteries in photovoltaic systems. ETransportation 2:100028

    Article  Google Scholar 

  39. Kollmeyer P. Panasonic 18650PF Li-ion battery data, mendeley data, V1. (accessed)

  40. 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  Google Scholar 

  41. Wang X, Sun Q, Kou X, Ma W, Zhang H, Liu R (2022) Noise immune state of charge estimation of li-ion battery via the extreme learning machine with mixture generalized maximum correntropy criterion. Energy 239:122406

    Article  Google Scholar 

  42. Fan X, Zhang W, Zhang C, Chen A, An F (2022) SoC estimation of Li-ion battery using convolutional neural network with U-Net architecture. Energy 256:124612

    Article  Google Scholar 

  43. Sârbu NA, Petreuş D (2022) State of charge estimation of li-ion batteries using artificial neural networks. In: 2022 45th international spring seminar on electronics technology (ISSE), 2022: IEEE, pp 1–8

  44. Koparanov KA, Georgiev KK, Shterev VA (2020) Lookback period, epochs and hidden states effect on time series prediction using a LSTM based neural network. In: 2020 28th national conference with international participation (TELECOM), IEEE, pp 61–64

  45. Muneeb M (2022) LSTM input timestep optimization using simulated annealing for wind power predictions. PLoS ONE 17(10):e0275649

    Article  Google Scholar 

  46. Kingma DP, Ba J (2014) Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980

  47. Abadi M et al (2016) {TensorFlow}: a system for {Large-Scale} machine learning. In: 12th USENIX symposium on operating systems design and implementation (OSDI 16), pp 265–283

  48. Chen Y, Huang D, Zhu Q, Liu W, Liu C, Xiong N (2017) A new state of charge estimation algorithm for lithium-ion batteries based on the fractional unscented Kalman filter. Energies 10(9):1313

    Article  Google Scholar 

  49. Wu T-H, Moo C-S (2017) State-of-charge estimation with state-of-health calibration for lithium-ion batteries. Energies 10(7):987

    Article  Google Scholar 

  50. Chang AXM, Culurciello E (2017) Hardware accelerators for recurrent neural networks on FPGA. In: 2017 IEEE international symposium on circuits and systems (ISCAS), IEEE, pp 1–4

  51. Silfa F, Dot G, Arnau J-M, Gonzàlez A (2018) E-PUR: an energy-efficient processing unit for recurrent neural networks. In: Proceedings of the 27th international conference on parallel architectures and compilation techniques, pp 1–12

  52. Sze V, Chen Y-H, Yang T-J, Emer JS (2017) Efficient processing of deep neural networks: a tutorial and survey. Proc IEEE 105(12):2295–2329

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

HA wrote the main manuscript. KU prepared figures. HCdesigned algorithms. All authors reviewed the manuscript.

Corresponding author

Correspondence to Hayri Arabaci.

Ethics declarations

Conflict of interest

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

Arabaci, H., Ucar, K. & Cimen, H. Examining the influence of sampling frequency on state-of-charge estimation accuracy using long short-term memory models. Electr Eng (2024). https://doi.org/10.1007/s00202-024-02392-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s00202-024-02392-x

Keywords

Navigation