Abstract
Energy storage batteries are essential for stabilizing renewable energy systems and improving power grid efficiency. However, challenges such as capacity degradation, limited data quality, and the need for real-time evaluation highlight the importance of accurate State of Health (SOH) prediction. This study evaluates the effectiveness of Random Forest, Long Short-Term Memory (LSTM), and Bidirectional Long Short-Term Memory (Bi-LSTM) models in predicting SOH across single lithium-ion cells, cells under environmental influence, and battery modules. The Bi-LSTM model achieved a Mean Absolute Error of 0.00668, a Mean Squared Error of 0.0042, and an R2 value of 0.9253 in single-cell prediction. In comparison, the Random Forest model recorded a Mean Absolute Error of 0.0523, a Mean Squared Error of 0.0159 and an R2 of 0.8960, indicating a reduction in error of over 69% and a significant improvement in predictive accuracy. Incorporating physically meaningful features such as discharge time and plateau voltage further enhanced model performance. These results demonstrate the Bi-LSTM model’s strong ability to capture long-term temporal dependencies and its potential for improving intelligent battery health monitoring in real-world energy storage systems.
Similar content being viewed by others
Data availability
The datasets generated and analysed during the current study are not publicly available due the confidentiality of the data used but are available from the corresponding author on reasonable request.
References
Xie, J. & Lu, Y. A retrospective on lithium-ion batteries. Nat. Commun. 11, 2499 (2020).
Mo, R. et al. Tin-graphene tubes as anodes for lithium-ion batteries with high volumetric and gravimetric energy densities. Nat. Commun. 11, 1374 (2020).
Vignesh, S. et al. State of health (SoH) Estimation methods for second life lithium-ion battery—review and challenges. Appl. Energy. 369, 123542 (2024).
Chen, G. et al. State-of-health estimation for lithium-ion batteries based on Kullback–Leibler divergence and a retentive network. Appl. Energy 376, 124266 (2024).
Ng, S. S. Y., Xing, Y. & Tsui, K. L. A Naive Bayes model for robust remaining useful life prediction of lithium-ion battery. Appl. Energy. 118, 114–123 (2014).
Wang, X. et al. State of health estimation for lithium-ion batteries using random forest and gated recurrent unit. J. Energy Storage. 76, 109796 (2024).
Cai, N. et al. A deep learning framework for the joint prediction of the SOH and RUL of lithium-ion batteries based on bimodal images. Energy 302, 131700 (2024).
Gong, Q., Wang, P. & Cheng, Z. An encoder-decoder model based on deep learning for state of health Estimation of lithium-ion battery. J. Energy Storage. 46, 103804 (2022).
Zhang, Y. et al. A deep learning approach to estimate the state of health of lithium-ion batteries under varied and incomplete working conditions. J. Energy Storage. 58, 106323 (2023).
Hou, J. et al. Spatial simulation and prediction of air temperature based on CNN-LSTM. Appl. Artif. Intell. 37, 2166235 (2023).
Zhang, Q. et al. Attention-based spatial-temporal graph transformer for traffic flow forecasting. Neural Comput. Appl. 35, 21827–21839 (2023).
Wang, B. et al. Generalizing aggregation functions in gnns: Building high capacity and robust GNNs via nonlinear aggregation. IEEE Trans. Pattern Anal. Mach. Intell. 45, 13454–13466 (2023).
Cui, S. et al. The correlation between statistical descriptors of heterogeneous materials. Comput. Methods Appl. Mech. Eng. 384, 113948 (2021).
Wang, Y., Yang, H. & He, P. Continuous wavelet analysis of matter clustering using the Gaussian-derived wavelet. Astrophys. J. 934, 77 (2022).
Yang, L. et al. Learning transferred weights from co-occurrence data for heterogeneous transfer learning. IEEE Trans. Neural Netw. Learn. Syst. 27, 2187–2200 (2016).
Zhang, Q. et al. Interpretable CNNs for object classification. IEEE Trans. Industr. Inf. 43, 3416–3431 (2021).
Jin, L., Li, S. & Hu, B. RNN models for dynamic matrix inversion: a control-theoretical perspective. IEEE Trans. Industr. Inf. 14, 189–199 (2018).
Pepe, S. & Ciucci, F. Long-range battery state-of-health and end-of-life prediction with neural networks and feature engineering. Appl. Energy. 350, 121761 (2023).
He, W. et al. Progress in prediction of remaining useful life of hydrogen fuel cells based on deep learning. Renew. Sustain. Energy Rev. 192, 114193 (2024).
Lei Ren, H. et al. A lightweight group Transformer-Based time series reduction network for edge intelligence and its application in industrial RUL prediction. IEEE Trans. Neural Netw. Learn. Syst. 36, 3720–3729 (2025).
Nuhic, A. et al. Health diagnosis and remaining useful life prognostics of lithium-ion batteries using data-driven methods. J. Power Sources. 239, 680–388 (2013).
Ma, S., Hou, X. & Luo, M. Joint prediction of the state of health and remaining useful life for lithium-ion batteries based on wrapper Cascade-Stacking. J. Energy Storage. 112, 115563 (2025).
Feng, H. & Li, N. A multi-feature fusion model based on differential thermal capacity for prediction of the health status of lithium-ion batteries. J. Energy Storage. 72, 108419 (2023).
Sun, J., Fan, C. & Yan, H. SOH Estimation of lithium-ion batteries based on multi-feature deep fusion and XGBoost. Energy 306, 1324229 (2024).
Lin, C. et al. Multi-model ensemble learning for battery state-of-health estimation: recent advances and perspectives. J. Energy Chem. 100, 739–759 (2025).
Yu, J. et al. Online state-of-health prediction of lithium-ion batteries with limited labeled data. Int. J. Energy Res. 20, 1–16 (2020).
Yan, Y. et al. Spatial distribution-based imbalanced undersampling. IEEE Trans. Knowl. Data Eng. 35, 6376–6391 (2023).
Yang, Y. et al. Privacy-preserving cost-sensitive learning. IEEE Trans. Neural Netw. Learn. Syst. 32, 2105–2116 (2021).
Sawada, S. et al. Toward the design of graft-type proton exchange membranes with high proton conductivity and low water uptake: a machine learning study. J. Membr. Sci. 692, 122169 (2024).
Zhang, J., Okin, G. S. & Zhou, B. Assimilating optical satellite remote sensing images and field data to predict surface indicators in the Western U.S.: Assessing error in satellite predictions based on large geographical datasets with the use of machine learning. Remote Sens. Environ. 233, 111382 (2019).
Tian, Y. et al. Dynamic cross-sectional temperature imaging from LAS labeled electrical tomography. IEEE Trans. Instrum. Meas. 14, 4503911 (2024).
Xue, J. et al. Predictive modeling of nitrogen and phosphorus concentrations in rivers using a machine learning framework: a case study in an urban-rural transitional area in Wenzhou China. Sci. Total Environ. 910, 168521 (2024).
Luo, S. et al. Combining hyperspectral imagery and lidar pseudo-waveform for predicting crop LAI, canopy height and above-ground biomass. Ecol. Ind. 102, 801–812 (2019).
Liu, Y. et al. Estimating biomass of winter oilseed rape using vegetation indices and texture metrics derived from UAV multispectral images. Comput. Electron. Agric. 166, 105026 (2019).
Hou, B. & Zhou, Z. Learning with interpretable structure from gated RNN. IEEE Trans. Neural Netw. Learn. Syst. 13, 2267–2279 (2020).
Vural, N. M. et al. Achieving online regression performance of LSTMs with simple RNNs. IEEE Trans. Neural Netw. Learn. Syst. 17, 7632–7643 (2021).
Yu, W., Gonzalez, J. & Li, X. Fast training of deep LSTM networks with guaranteed stability for nonlinear system modeling. Neurocomputing 422, 85–94 (2021).
Sahin, S. O. & Kozat, S. S. Nonuniformly sampled data processing using LSTM networks. IEEE Trans. Neural Netw. Learn. Syst. 30, 1452–1461 (2018).
Kim, J. et al. Transfer learning applying electrochemical degradation indicator combined with long short-term memory network for flexible battery state-of-health Estimation. eTransportation 18, 100293 (2023).
Wu, M. et al. Spatio-temporal difference analysis in climate change topics and sentiment orientation: based on LDA and BiLSTM model. Resourc. Conserv. Recycl. 188, 106697 (2023).
Nadimi, R. & Goto, M. A novel decision support system for enhancing long-term forecast accuracy in virtual power plants using bidirectional long short-term memory networks. Appl. Energy. 382, 125273 (2025).
Xie, W. et al. Variational autoencoder bidirectional long and short-term memory neural network soft-sensor model based on batch training strategy. IEEE Trans. Industr. Inf. 17, 5325–5334 (2020).
Li, K. et al. A novel short-term multi-energy load forecasting method for integrated energy system based on feature separation-fusion technology and improved CNN. Appl. Energy. 351, 121823 (2023).
Joseph, L. P. et al. Short-term wind speed forecasting using an optimized three-phase convolutional neural network fused with bidirectional long short-term memory network model. Appl. Energy. 359, 122624 (2024).
Chien, S-H., Sencer, B. & Ward, R. Accurate prediction of machining cycle times and feedrates with deep neural networks using BiLSTM. J. Manuf. Syst. 68, 680–686 (2023).
Ghimire, S. et al. Explainable deeply-fused Nets electricity demand prediction model: factoring climate predictors for accuracy and deeper insights with probabilistic confidence interval and point-based forecasts. J. Manuf. Syst. 378, 124763 (2025).
Acknowledgements
The authors declare that no external funding or financial support was received for this research.
Author information
Authors and Affiliations
Contributions
Y. Zhang wrote the main manuscript text.X. Bi, S. Wang and B. Tao prepared Figs. 1, 2, 3, 4, 5 and 6. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
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.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Zhang, Y., Bi, X., Wang, S. et al. Machine learning-driven time series analysis for SOH prediction of lithium-ion batteries. Sci Rep (2026). https://doi.org/10.1038/s41598-025-33725-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-025-33725-w


