journal article·2025-12-03Open access

A Physics-Guided Transformer for Robust State of Charge Estimation in Aging Lithium-Ion Batteries

Xiang Li, Guanru Wu, Fei Chang, Weidong Xia, Shaobin Sun, Yingjun Shen

Batteries· Volume 11· Issue 12

Abstract

Accurate state of charge (SOC) estimation is a critical challenge for battery management systems (BMSs), hindered by the nonlinear electrochemistry of lithium-ion batteries, their sensitivity to temperature, and pervasive measurement noise. Crucially, battery aging significantly degrades estimation accuracy, posing a major hurdle for long-term system dependability. We propose the Physics-Informed Transformer (PI-Transformer), a novel framework that integrates high-fidelity electrochemical constraints from the PyBaMM (Version: 25.10.2) model directly into a Transformer architecture. This approach ensures physical consistency while leveraging the Transformer’s self-attention mechanism to model long-term temporal dependencies. The framework is specifically designed to be robust against the effects of battery aging, incorporating an attention-based noise modeling module to enhance resilience against sensor uncertainty and capacity fade. Evaluated on two public datasets under diverse conditions, including variable temperatures, fast-charging protocols, and multiple stages of battery degradation, the PI-Transformer consistently achieves state-of-the-art performance. It demonstrates exceptional robustness and maintains high accuracy under challenging low-temperature and severely aged battery scenarios, highlighting its strong potential for deployment in real-world ESS applications where aging is a primary concern.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Battery Technologies Research · Advancements in Battery Materials · Advanced Battery Materials and Technologies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

State Grid Nanjing Power Supply Company, Nanjing 221000, China

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Shenzhen 518055, China

Funding

Science and Technology Project of State Grid Corporation of China · Incubation Project of State Grid Jiangsu Electric Power Co., Ltd.

References (36)

Show source-provided references
1. An improved Cauchy robust correction-sage Husa extended Kalman filtering algorithm for high-precision SOC estimation of Lithium-ion batteries in new energy vehicles10.1016/j.est.2024.111552 ↗
2. Early prediction of battery lifetime via a machine learning based framework10.1016/j.energy.2021.120205 ↗
3. Deep learning to estimate lithium-ion battery state of health without additional degradation experiments10.1038/s41467-023-38458-w ↗
4. Unlocking the thermal safety evolution of lithium-ion batteries under shallow over-discharge10.1016/j.jpowsour.2022.230990 ↗
5. An Overview and Comparison of Online Implementable SOC Estimation Methods for Lithium-Ion Battery10.1109/TIA.2017.2775179 ↗
6. A novel SOC-OCV separation and extraction technology suitable for online joint estimation of SOC and SOH in lithium-ion batteries10.1016/j.energy.2025.136246 ↗
7. Prognostics of Lithium-Ion batteries using knowledge-constrained machine learning and Kalman filtering10.1016/j.ress.2022.108944 ↗
8. Electrode ageing estimation and open circuit voltage reconstruction for lithium ion batteries10.1016/j.ensm.2021.02.018 ↗
9. A new model for State-of-Charge (SOC) estimation for high-power Li-ion batteries10.1016/j.apenergy.2012.08.031 ↗
10. An integrated approach for real-time model-based state-of-charge estimation of lithium-ion batteries10.1016/j.jpowsour.2015.02.099 ↗
11. Li, Z., Ni, H., Zhu, W., Ni, B., Chang, J., and Cao, J. (J. Power Electron., 2025). Adaptive SOC-OCV mapping-based joint estimation of SOC and SOH in aging lithium-ion batteries using extended Kalman filtering, J. Power Electron., early view.10.1007/s43236-025-01064-8 ↗
12. Madani, S.S., Ziebert, C., and Marzband, M. (2023). Thermal Behavior Modeling of Lithium-Ion Batteries: A Comprehensive Review. Symmetry, 15.10.3390/sym15081597 ↗
13. Dini, P., and Paolini, D. (2025). Exploiting Artificial Neural Networks for the State of Charge Estimation in EV/HV Battery Systems: A Review. Batteries, 11.10.3390/batteries11030107 ↗
14. Obuli Pranav, D., Babu, P.S., Indragandhi, V., Ashok, B., Vedhanayaki, S., and Kavitha, C. (2024). Enhanced SOC estimation of lithium ion batteries with RealTime data using machine learning algorithms. Sci. Rep., 14.10.1038/s41598-024-66997-9 ↗
15. Sizing and SOC Management of a Smart-Transformer-Based Energy Storage System10.1109/TIE.2017.2784389 ↗
16. An Adaptive Optimization Algorithm in LSTM for SOC Estimation Based on Improved Borges Derivative10.1109/TII.2023.3280340 ↗
17. Deep learning powered rapid lifetime classification of lithium-ion batteries10.1016/j.etran.2023.100286 ↗
18. Transfer learning prediction on lithium-ion battery heat release under thermal runaway condition10.26599/NRE.2024.9120147 ↗
19. Machine learning pipeline for battery state-of-health estimation10.1038/s42256-021-00312-3 ↗
20. A review on data-driven SOC estimation with Li-Ion batteries: Implementation methods & future aspirations10.1016/j.est.2023.108420 ↗
21. The State of Charge Estimating Methods for Battery: A Review
22. A hybrid machine learning framework for joint SOC and SOH estimation of lithium-ion batteries assisted with fiber sensor measurements10.1016/j.apenergy.2022.119787 ↗
23. Hybrid state of charge estimation for lithium-ion battery under dynamic operating conditions10.1016/j.ijepes.2019.02.046 ↗
24. State of Charge Estimation by Joint Approach With Model-Based and Data-Driven Algorithm for Lithium-Ion Battery10.1109/TIM.2022.3199253 ↗
25. Accuracy improvement of SOC estimation in lithium-ion batteries10.1016/j.est.2016.03.003 ↗
26. State-of-Charge Estimation for Li-Ion Batteries: A More Accurate Hybrid Approach10.1109/TEC.2018.2861994 ↗
27. Hybrid Methods Using Neural Network and Kalman Filter for the State of Charge Estimation of Lithium-Ion Battery10.1155/2022/9616124 ↗
28. A comprehensive review on estimation strategies used in hybrid and battery electric vehicles10.1016/j.rser.2014.10.047 ↗
29. Accurate Model Parameter Identification to Boost Precise Aging Prediction of Lithium-Ion Batteries: A Review10.1002/aenm.202301452 ↗
30. A Comprehensive Review on the Characteristics and Modeling of Lithium-Ion Battery Aging10.1109/TTE.2021.3138357 ↗
31. A comprehensive review of hybrid battery state of charge estimation: Exploring physics-aware AI-based approaches10.1016/j.est.2024.113604 ↗
32. Damodaran, V., Paramadayalan, T., Natarajan, D., Kumar C, R., Kanna, P.R., Taler, D., Sobota, T., Taler, J., Szymkiewicz, M., and Ahamed, M.J. (2024). Development of a Fast Running Equivalent Circuit Model with Thermal Predictions for Battery Management Applications. Batteries, 10.10.3390/batteries10060215 ↗
33. Python battery mathematical modelling (PyBaMM)10.5334/jors.309 ↗
34. Physics-Based Battery Model Parametrisation from Impedance Data10.1149/1945-7111/add41b ↗
35. Remaining useful life prediction of lithium-ion batteries based on Monte Carlo Dropout and gated recurrent unit10.1016/j.egyr.2021.05.019 ↗
36. Data-driven prediction of battery cycle life before capacity degradation10.1038/s41560-019-0356-8 ↗