DeepBESS: an explainable deep learning framework for battery energy storage system state-of-health prediction and adaptive charging control in renewable energy microgrids

https://doi.org/10.55529/jaimlnn.52.118.127

Authors

  • Raynukaazhakarsamy Professor in Information Technology & Computer Science, Faculty of Computer Science and Engineering Department, KAAF University, Ghana.

Keywords:

State-Of-Health Prediction, Xgboost-ARIMA, SHAP Explainability, Renewable Energy Microgrid, Adaptive, Charging Control, Embedded Systems

Abstract

Renewable energy microgrids can't function without Lithium-ion Battery Energy Storage Systems (BESS), which act as a buffer between load demand on the grid and intermittent renewable energy resources like photovoltaic (PV) systems. The core issues in maximizing the battery life, operational safety and economic viability in these systems include accurate prediction of State-of-Health (SoH) and adaptive charging control. This paper introduces a novel explainable deep learning framework (DeepBESS), which not only applies a Temporal Convolutional Network-Bidirectional Long Short-Term Memory (TCN-BiLSTM) hybrid network to effectively predict SoH status at multiple time horizons but also uses an XGBoost-ARIMA joint optimization module to generate an adaptive charging schedule. A Shapley Additive Explanations (SHAP) interpretability layer is integrated to illustrate SoH predictions at feature-level, and without the need for electrochemical expertise for engineering insights. It is tested on two public datasets -- the NASA Battery Dataset, and the Oxford Battery Degradation Dataset -- with a strict split on the cell level for training, validation and test sets of 70/15/15 per cent respectively. The SoH prediction Root Mean Square Error (RMSE) and the Mean Absolute Error (MAE) of DeepBESS are 0.87% and 0.62% respectively, which is a 31.4% improvement in RMSE compared to a Vanilla Long Short-Term Memory (LSTM) baseline and 12.1% compared to the XGBoost-ARIMA standalone model. The adaptive charging controller is tested by a STM32F429ZI based embedded BESS testbed and extends simulated battery cycle life by 18.3% compared to a conventional Constant Current-Constant Voltage (CC-CV) charge controller, with an embedded real-time estimation of the battery's Health of Charge (SoH) being reached with a latency of 47 milliseconds. The dominant degradation indicators that can be identified using SHAP analysis are the voltage rate dV/dt and discharged capacity Q(t). The proposed solution is highly deployable, interpretable and accurate, and provides a full battery health management solution for next generation renewable energy microgrids. The results show that the temporal deep learning combined with explainability and adaptive control results in significant improvements in the predictive performance as well as the battery operational time.

References

J. Lu, R. Xiong, J. Tian, C. Wang, and F. Sun, 'Deep learning to estimate lithium-ion battery state of health without additional degradation experiments', Nat. Commun, vol. 14, May 2023. doi.org/10.1038/s41467-023-38458-w

A. Mohd, E. Ortjohann, A. Schmelter, N. Hamsic, and D. Morton, "Challenges in integrating distributed energy storage systems into future smart grid," in Proc. IEEE Int. Symp. Ind. Electron., Cambridge, UK, 2008, pp. 1627-1632. doi.org/10.1109/ISIE.2008.4676896

T. Alharbi, M. Umair, and A. Alharbi, "Lithium-ion battery state of health degradation prediction using deep learning approaches," IEEE Access, vol. 13, pp. 13464-13481, 2025 doi.org/10.1109/ACCESS.2025.3530351

G. Xu, J. Xu, and Y. Zhu, "LSTM-based estimation of lithium-ion battery SOH using data characteristics and spatio-temporal attention," PLOS ONE, vol. 19, no. 12, p. e0312856, Dec. 2024 doi.org/10.1371/journal.pone.0312856

N. A. Zainurin, S. A. Anas, and R. S. S. Singh, "Review of battery charging-discharging management controller for renewable energy applications," Eng. Technol. Appl. Sci. Res., vol. 11, no. 4, pp. 7397-7404, Aug. 2021. doi.org/10.48084/etasr.4217

M. Doyle, T. F. Fuller, and J. Newman, "Modeling of galvanostatic charge and discharge of the lithium/polymer/insertion cell," J. Electrochem. Soc., vol. 140, no. 6, pp. 1526-1533, Jun. 1993 doi.org/10.1149/1.2221597

H. He, R. Xiong, and H. Guo, "Online estimation of model parameters and state-of-charge of LiFePO4 batteries in electric vehicles," Appl. Energy, vol. 89, no. 1, pp. 413-420, Jan. 2012 doi.org/10.1016/j.apenergy.2011.08.005

T. Luchumanan and R. S. S. Singh, 'Analysis of multilevel voltage-based coordinating controller for solar-wind energy generator', Eng. Technol. Appl. Sci. Res, vol. 11, no. 6, pp. 7895-7901, Dec. 2021. doi.org/10.48084/etasr.4489

K. Li and X. Chen, 'Machine learning-based lithium battery state of health prediction research', Appl. Sci, vol. 15, no. 2, Jan. 2025. doi.org/10.3390/app15020516

Y. Chen, H. Jiang, and X. Liu, 'State of health estimation for lithium-ion batteries with deep learning approach and direct current internal resistance', Energies, vol. 17, May 2024. doi.org/10.3390/en17112487

R. S. S. Singh, T. Luchumanan, and M. Abbod, 'Multilevel voltage-based coordinating controller modelling', in Microgrid: The Design, The Challenges and The Prospects, Boca Raton, FL, USA: CRC Press, 2021, pp. 255-277. doi.org/10.1201/9781003121626-12

C. Fei, Z. Lu, W. Jiang, and Y. Zhang, "Research on lithium-ion battery state of health prediction based on XGBoost-ARIMA joint optimization," Batteries, vol. 11, no. 3, p. 102, Mar. 2025 doi.org/10.3390/batteries11060207

M. Chen and G. Rincon-Mora, 'Accurate electrical battery model capable of predicting runtime and I- V performance', IEEE Trans. Energy Convers, vol. 21, no. 2, pp. 504-511, June 2006. doi.org/10.1109/TEC.2006.874229

X. Hu, S. Li, and H. Peng, "A comparative study of equivalent circuit models for Li-ion batteries," J. Power Sources, vol. 198, pp. 359-367, Jan. 2012. doi.org/10.1016/j.jpowsour.2011.10.013

W. Jiang, 'Internet traffic matrix prediction with convolutional LSTM neural network', Internet Technol. Lett, vol. 5, no. 2. doi.org/10.1002/itl2.322

P. Fu, L. Chu, J. Li, Z. Guo, J. Hu, and Z. Hou, "State of health prediction of lithium-ion battery based on deep dilated convolution," Sensors, vol. 22, no. 23, p. 9435, Dec. 2022. doi.org/10.3390/s22239435

R. R. Richardson, M. A. Osborne, and D. A. Howey, 'Gaussian process regression for forecasting battery state of health', J. Power Sources, vol. 357, pp. 209-219, July 2017. doi.org/10.1016/j.jpowsour.2017.05.004

G. L. Plett, 'Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs', J. Power Sources, vol. 134, no. 2, pp. 262-292, Aug. 2004. doi.org/10.1016/j.jpowsour.2004.02.032

K. Liu, K. Li, Q. Peng, and C. Zhang, "A brief review on key technologies in the battery management system of electric vehicles," Front. Mech. Eng., vol. 14, no. 1, pp. 47-64, Mar. 2019 doi.org/10.1007/s11465-018-0516-8

S. Park, A. Pozzi, M. Whitmeyer, H. Perez, A. Joe, G. Kim, Y. Choi, D. Raimondo, G.-Y. Tran, and S. Moura, "A deep reinforcement learning framework for fast charging of Li-ion batteries," IEEE Trans. Transp. Electrif., vol. 8, no. 2, pp. 2770-2784, Jun. 2022. doi.org/10.1109/TTE.2022.3140316

A. Dineva, "Evaluation of advances in battery health prediction for electric vehicles from traditional linear filters to latest machine learning approaches," Batteries, vol. 10, no. 10, p. 356, Oct. 2024, doi.org/10.3390/batteries10100356

L. Ciani, C. Garzon-Alfonso, F. Grasso, and G. Patrizi, "Early-stage state-of-health prediction of lithium batteries for wireless sensor networks using LSTM and a single exponential degradation model," Sensors, vol. 25, no. 7, p. 2275, Apr. 2025. doi.org/10.3390/s25072275

Md. M. Alam, Md. H. Rahman, Md. F. Ahmed, M. Z. Chowdhury, and Y. M. Jang, "Deep learning based optimal energy management for photovoltaic and battery energy storage integrated home micro- grid system," Sci. Rep., vol. 12, p. 15173, Sep. 2022 doi.org/10.1038/s41598-022-19147-y

W. Jiang, 'Graph neural networks for routing optimization: Challenges and opportunities', Sustainability, vol. 16, no. 21, Oct. 2024. doi.org/10.3390/su16219239

M. Yao, H. Senoh, T. Sakai, and T. Kiyobayashi, 'Redox active poly(N-vinylcarbazole) for use in rechargeable lithium batteries', J. Power Sources, vol. 202, pp. 364-368, Mar. 2012. doi.org/10.1016/j.jpowsour.2011.11.035

Published

2025-10-23

How to Cite

Raynukaazhakarsamy. (2025). DeepBESS: an explainable deep learning framework for battery energy storage system state-of-health prediction and adaptive charging control in renewable energy microgrids. Journal of Artificial Intelligence, Machine Learning and Neural Network, 5(2), 118–127. https://doi.org/10.55529/jaimlnn.52.118.127