IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v377y2025ipds0306261924021299.html
   My bibliography  Save this article

Predictive pretrained transformer (PPT) for real-time battery health diagnostics

Author

Listed:
  • Zhao, Jingyuan
  • Wang, Zhenghong
  • Wu, Yuyan
  • Burke, Andrew F.

Abstract

Modeling and forecasting the evolution of battery systems involve complex interactions across physical, chemical, and electrochemical processes, influenced by diverse usage demands and dynamic operational patterns. In this study, we developed a predictive pre-trained Transformer (PPT) model equipped with 1,871,114 parameters that enhance identification of both short-term and long-term patterns in time-series data. This is achieved through the integration of convolutional layers and probabilistic sparse self-attention mechanisms, which collectively enhance prediction accuracy and efficiency in diagnosing battery health. Moreover, the customized hybrid-model fusion supports parallel computing and employs transfer learning, reducing computational costs while enhancing scalability and adaptability. Consequently, this allows for precise real-time health estimations across various battery cycles. We validated this method using a public dataset of 203 commercial lithium iron phosphate (LFP)/graphite batteries charged at rates ranging from 1C to 8C. By using only partial charge data—from an 80 % state of charge to the maximum charging voltage (3.6 V for LFP batteries, 4.2 V for ternary batteries)—and avoiding complex feature engineering, error metrics were achieved below 0.3 % for root mean square error (RMSE), weighted mean absolute percentage error (WMAPE), and mean absolute error (MAE), with an R2 of 98.9 %. The generalization capabilities were further demonstrated across 36 different testing protocols, encompassing 23,480 cycles throughout the entire life cycle, with a total inference time of 9.88 s during the testing phases. Further experiments on 30 nickel cobalt aluminum (NCA) batteries and 36 nickel cobalt manganese (NCM) batteries, across different battery types and operational scenarios, resulted in RMSE, WMAPE, and MAE all below 0.9 %, with R2 values of 94.1 % and 94.4 %, respectively. These findings highlight the potential of our customized deep transfer neural networks to enhance diagnostic accuracy, accelerate training, and improve generalization in real-time applications.

Suggested Citation

  • Zhao, Jingyuan & Wang, Zhenghong & Wu, Yuyan & Burke, Andrew F., 2025. "Predictive pretrained transformer (PPT) for real-time battery health diagnostics," Applied Energy, Elsevier, vol. 377(PD).
  • Handle: RePEc:eee:appene:v:377:y:2025:i:pd:s0306261924021299
    DOI: 10.1016/j.apenergy.2024.124746
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261924021299
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2024.124746?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Zhang, Zhengjie & Cao, Rui & Zheng, Yifan & Zhang, Lisheng & Guang, Haoran & Liu, Xinhua & Gao, Xinlei & Yang, Shichun, 2024. "Online state of health estimation for lithium-ion batteries based on gene expression programming," Energy, Elsevier, vol. 294(C).
    2. Dapai Shi & Jingyuan Zhao & Zhenghong Wang & Heng Zhao & Chika Eze & Junbin Wang & Yubo Lian & Andrew F. Burke, 2023. "Cloud-Based Deep Learning for Co-Estimation of Battery State of Charge and State of Health," Energies, MDPI, vol. 16(9), pages 1-19, April.
    3. Wang, Zengkai & Zeng, Shengkui & Guo, Jianbin & Qin, Taichun, 2019. "State of health estimation of lithium-ion batteries based on the constant voltage charging curve," Energy, Elsevier, vol. 167(C), pages 661-669.
    4. Zhao, Jingyuan & Feng, Xuning & Wang, Junbin & Lian, Yubo & Ouyang, Minggao & Burke, Andrew F., 2023. "Battery fault diagnosis and failure prognosis for electric vehicles using spatio-temporal transformer networks," Applied Energy, Elsevier, vol. 352(C).
    5. Jiangong Zhu & Yixiu Wang & Yuan Huang & R. Bhushan Gopaluni & Yankai Cao & Michael Heere & Martin J. Mühlbauer & Liuda Mereacre & Haifeng Dai & Xinhua Liu & Anatoliy Senyshyn & Xuezhe Wei & Michael K, 2022. "Data-driven capacity estimation of commercial lithium-ion batteries from voltage relaxation," Nature Communications, Nature, vol. 13(1), pages 1-10, December.
    6. Li, Yi & Liu, Kailong & Foley, Aoife M. & Zülke, Alana & Berecibar, Maitane & Nanini-Maury, Elise & Van Mierlo, Joeri & Hoster, Harry E., 2019. "Data-driven health estimation and lifetime prediction of lithium-ion batteries: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 113(C), pages 1-1.
    7. Kristen A. Severson & Peter M. Attia & Norman Jin & Nicholas Perkins & Benben Jiang & Zi Yang & Michael H. Chen & Muratahan Aykol & Patrick K. Herring & Dimitrios Fraggedakis & Martin Z. Bazant & Step, 2019. "Data-driven prediction of battery cycle life before capacity degradation," Nature Energy, Nature, vol. 4(5), pages 383-391, May.
    8. Zhang, Jiangyun & Shao, Dan & Jiang, Liqin & Zhang, Guoqing & Wu, Hongwei & Day, Rodney & Jiang, Wenzhao, 2022. "Advanced thermal management system driven by phase change materials for power lithium-ion batteries: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 159(C).
    9. Peter M. Attia & Aditya Grover & Norman Jin & Kristen A. Severson & Todor M. Markov & Yang-Hung Liao & Michael H. Chen & Bryan Cheong & Nicholas Perkins & Zi Yang & Patrick K. Herring & Muratahan Ayko, 2020. "Closed-loop optimization of fast-charging protocols for batteries with machine learning," Nature, Nature, vol. 578(7795), pages 397-402, February.
    10. Xu, Huanwei & Wu, Lingfeng & Xiong, Shizhe & Li, Wei & Garg, Akhil & Gao, Liang, 2023. "An improved CNN-LSTM model-based state-of-health estimation approach for lithium-ion batteries," Energy, Elsevier, vol. 276(C).
    11. Son, Seho & Jeong, Siheon & Kwak, Eunji & Kim, Jun-hyeong & Oh, Ki-Yong, 2022. "Integrated framework for SOH estimation of lithium-ion batteries using multiphysics features," Energy, Elsevier, vol. 238(PA).
    12. Deng, Yuanwang & Ying, Hejie & E, Jiaqiang & Zhu, Hao & Wei, Kexiang & Chen, Jingwei & Zhang, Feng & Liao, Gaoliang, 2019. "Feature parameter extraction and intelligent estimation of the State-of-Health of lithium-ion batteries," Energy, Elsevier, vol. 176(C), pages 91-102.
    13. Sui, Xin & He, Shan & Vilsen, Søren B. & Meng, Jinhao & Teodorescu, Remus & Stroe, Daniel-Ioan, 2021. "A review of non-probabilistic machine learning-based state of health estimation techniques for Lithium-ion battery," Applied Energy, Elsevier, vol. 300(C).
    14. Berecibar, M. & Gandiaga, I. & Villarreal, I. & Omar, N. & Van Mierlo, J. & Van den Bossche, P., 2016. "Critical review of state of health estimation methods of Li-ion batteries for real applications," Renewable and Sustainable Energy Reviews, Elsevier, vol. 56(C), pages 572-587.
    15. Shen, Sheng & Sadoughi, Mohammadkazem & Li, Meng & Wang, Zhengdao & Hu, Chao, 2020. "Deep convolutional neural networks with ensemble learning and transfer learning for capacity estimation of lithium-ion batteries," Applied Energy, Elsevier, vol. 260(C).
    16. Gu, Xinyu & See, K.W. & Li, Penghua & Shan, Kangheng & Wang, Yunpeng & Zhao, Liang & Lim, Kai Chin & Zhang, Neng, 2023. "A novel state-of-health estimation for the lithium-ion battery using a convolutional neural network and transformer model," Energy, Elsevier, vol. 262(PB).
    17. Zoubin Ghahramani, 2015. "Probabilistic machine learning and artificial intelligence," Nature, Nature, vol. 521(7553), pages 452-459, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Lyu, Guangzheng & Zhang, Heng & Miao, Qiang, 2023. "An interpretable state of health estimation method for lithium-ion batteries based on multi-category and multi-stage features," Energy, Elsevier, vol. 283(C).
    2. Zhu, Yuli & Jiang, Bo & Zhu, Jiangong & Wang, Xueyuan & Wang, Rong & Wei, Xuezhe & Dai, Haifeng, 2023. "Adaptive state of health estimation for lithium-ion batteries using impedance-based timescale information and ensemble learning," Energy, Elsevier, vol. 284(C).
    3. Li, Alan G. & West, Alan C. & Preindl, Matthias, 2022. "Towards unified machine learning characterization of lithium-ion battery degradation across multiple levels: A critical review," Applied Energy, Elsevier, vol. 316(C).
    4. Che, Yunhong & Zheng, Yusheng & Wu, Yue & Sui, Xin & Bharadwaj, Pallavi & Stroe, Daniel-Ioan & Yang, Yalian & Hu, Xiaosong & Teodorescu, Remus, 2022. "Data efficient health prognostic for batteries based on sequential information-driven probabilistic neural network," Applied Energy, Elsevier, vol. 323(C).
    5. Kong, Jin-zhen & Yang, Fangfang & Zhang, Xi & Pan, Ershun & Peng, Zhike & Wang, Dong, 2021. "Voltage-temperature health feature extraction to improve prognostics and health management of lithium-ion batteries," Energy, Elsevier, vol. 223(C).
    6. Sui, Xin & He, Shan & Vilsen, Søren B. & Meng, Jinhao & Teodorescu, Remus & Stroe, Daniel-Ioan, 2021. "A review of non-probabilistic machine learning-based state of health estimation techniques for Lithium-ion battery," Applied Energy, Elsevier, vol. 300(C).
    7. Lin, Chuanping & Xu, Jun & Shi, Mingjie & Mei, Xuesong, 2022. "Constant current charging time based fast state-of-health estimation for lithium-ion batteries," Energy, Elsevier, vol. 247(C).
    8. Zhang, Shuxin & Liu, Zhitao & Su, Hongye, 2023. "State of health estimation for lithium-ion batteries on few-shot learning," Energy, Elsevier, vol. 268(C).
    9. Zhang, Ran & Ji, ChunHui & Zhou, Xing & Liu, Tianyu & Jin, Guang & Pan, Zhengqiang & Liu, Yajie, 2024. "Capacity estimation of lithium-ion batteries with uncertainty quantification based on temporal convolutional network and Gaussian process regression," Energy, Elsevier, vol. 297(C).
    10. Ruan, Haokai & Wei, Zhongbao & Shang, Wentao & Wang, Xuechao & He, Hongwen, 2023. "Artificial Intelligence-based health diagnostic of Lithium-ion battery leveraging transient stage of constant current and constant voltage charging," Applied Energy, Elsevier, vol. 336(C).
    11. Fujin Wang & Zhi Zhai & Zhibin Zhao & Yi Di & Xuefeng Chen, 2024. "Physics-informed neural network for lithium-ion battery degradation stable modeling and prognosis," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    12. Wei, Meng & Ye, Min & Zhang, Chuanwei & Wang, Qiao & Lian, Gaoqi & Xia, Baozhou, 2024. "Integrating mechanism and machine learning based capacity estimation for LiFePO4 batteries under slight overcharge cycling," Energy, Elsevier, vol. 296(C).
    13. Lyu, Guangzheng & Zhang, Heng & Miao, Qiang, 2024. "An adaptive and interpretable SOH estimation method for lithium-ion batteries based-on relaxation voltage cross-scale features and multi-LSTM-RFR2," Energy, Elsevier, vol. 304(C).
    14. Zhao, Jingyuan & Feng, Xuning & Wang, Junbin & Lian, Yubo & Ouyang, Minggao & Burke, Andrew F., 2023. "Battery fault diagnosis and failure prognosis for electric vehicles using spatio-temporal transformer networks," Applied Energy, Elsevier, vol. 352(C).
    15. Gong, Dongliang & Gao, Ying & Kou, Yalin & Wang, Yurang, 2022. "State of health estimation for lithium-ion battery based on energy features," Energy, Elsevier, vol. 257(C).
    16. Lai, Xin & Yi, Wei & Cui, Yifan & Qin, Chao & Han, Xuebing & Sun, Tao & Zhou, Long & Zheng, Yuejiu, 2021. "Capacity estimation of lithium-ion cells by combining model-based and data-driven methods based on a sequential extended Kalman filter," Energy, Elsevier, vol. 216(C).
    17. Lu, Zhenfeng & Fei, Zicheng & Wang, Benfei & Yang, Fangfang, 2024. "A feature fusion-based convolutional neural network for battery state-of-health estimation with mining of partial voltage curve," Energy, Elsevier, vol. 288(C).
    18. Li, Guanzheng & Li, Bin & Li, Chao & Wang, Shuai, 2023. "State-of-health rapid estimation for lithium-ion battery based on an interpretable stacking ensemble model with short-term voltage profiles," Energy, Elsevier, vol. 263(PE).
    19. Li, Yi & Liu, Kailong & Foley, Aoife M. & Zülke, Alana & Berecibar, Maitane & Nanini-Maury, Elise & Van Mierlo, Joeri & Hoster, Harry E., 2019. "Data-driven health estimation and lifetime prediction of lithium-ion batteries: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 113(C), pages 1-1.
    20. Zhang, Yajun & Liu, Yajie & Wang, Jia & Zhang, Tao, 2022. "State-of-health estimation for lithium-ion batteries by combining model-based incremental capacity analysis with support vector regression," Energy, Elsevier, vol. 239(PB).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:appene:v:377:y:2025:i:pd:s0306261924021299. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.