journal article·2026-02-14Open access

A Data-Driven Method Based on Feature Engineering and Physics-Constrained LSTM-EKF for Lithium-Ion Battery SOC Estimation

Yujuan Sun, Shaoyuan You, Fangfang Hu, Jiuyu Du

Batteries· Volume 12· Issue 2

Abstract

Accurate estimation of the State of Charge (SOC) for lithium-ion batteries is a core function of the Battery Management System (BMS). However, LiFePO4 batteries present specific challenges for SOC estimation due to the characteristic plateau in their open-circuit voltage (OCV) versus SOC relationship. Moreover, data-driven estimation approaches often face significant difficulties stemming from measurement noise and interference, the highly nonlinear internal dynamics of the battery, and the time-varying nature of key battery parameters. To address these issues, this paper proposes a Long Short-Term Memory (LSTM) model integrated with feature engineering, physical constraints, and the Extended Kalman Filter (EKF). First, the model’s temporal perception of the historical charge–discharge states of the battery is enhanced through the fusion of temporal voltage information. Second, a post-processing strategy based on physical laws is designed, utilizing the Particle Swarm Optimization (PSO) algorithm to search for optimal correction factors. Finally, the SOC obtained from the previous steps serves as the observation input to EKF filtering, enabling a probabilistically weighted fusion of the data-driven model output and the EKF to improve the model’s dynamic tracking performance. When applied to SOC estimation of LiFePO4 batteries under various operating conditions and temperatures ranging from 0 °C to 50 °C, the proposed model achieves average Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) as low as 0.46% and 0.56%, respectively. These results demonstrate the model’s excellent robustness, adaptability, and dynamic tracking capability. Additionally, the proposed approach only requires derived features from existing input data without the need for additional sensors, and the model exhibits low memory usage, showing considerable potential for practical BMS implementation. Furthermore, this study offers an effective technical pathway for state estimation under a “physical information–data-driven–filter fusion” framework, enabling accurate SOC estimation of lithium-ion batteries across multiple operating scenarios.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Battery Technologies Research · Machine Fault Diagnosis Techniques · Fault Detection and Control Systems

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

Affiliations

School of Mechanical and Energy Engineering, Beijing University of Technology, Beijing 100124, China

Beijing Products Quality Supervision and Inspection Research Institute (National Automotive Quality Inspection and Testing Center), Beijing 101300, China

School of Vehicle and Mobility, Tsinghua University, Beijing 100084, China

References (51)

Show source-provided references
1. The path enabling storage of renewable energy toward carbon neutralization in China10.1016/j.etran.2023.100226 ↗
2. A circular economy approach for the global lithium-ion battery supply chain10.1038/s41586-025-09617-4 ↗
3. A review of battery energy storage systems and advanced battery management system for different applications: Challenges and recommendations10.1016/j.est.2024.111179 ↗
4. A review of deep learning approach to predicting the state of health and state of charge of lithium-ion batteries10.1016/j.jechem.2022.06.049 ↗
5. Lithium-ion battery utilization in various modes of e-transportation10.1016/j.etran.2023.100274 ↗
6. Intelligent algorithms and control strategies for battery management system in electric vehicles: Progress, challenges and future outlook10.1016/j.jclepro.2021.126044 ↗
7. Applications of artificial neural network based battery management systems: A literature review10.1016/j.rser.2023.114262 ↗
8. Will it get there? A deep learning model for predicting next-trip state of charge in Urban Green Freight Delivery with electric vehicles10.1016/j.etran.2024.100372 ↗
9. Lithium-ion battery lifetime extension: A review of derating methods10.1016/j.jpowsour.2023.232805 ↗
10. What drives capacity degradation in utility-scale battery energy storage systems? The impact of operating strategy and temperature in different grid applications10.1016/j.est.2021.103533 ↗
11. Enhanced EV charging algorithm considering data-driven workplace chargers categorization with multiple vehicle types10.1016/j.etran.2024.100326 ↗
12. Real-Time State of Charge-Open Circuit Voltage Curve Construction for Battery State of Charge Estimation10.1109/TVT.2023.3244623 ↗
13. Ultra-high-energy lithium-ion batteries enabled by aligned structured thick electrode design10.1007/s12598-021-01785-2 ↗
14. OCV-SOC-Temperature Relationship Construction and State of Charge Estimation for a Series– Parallel Lithium-Ion Battery Pack10.1109/TITS.2023.3252164 ↗
15. The lithium-ion battery: State of the art and future perspectives10.1016/j.rser.2018.03.002 ↗
16. Long short-term memory networks for accurate state-of-charge estimation of Li-ion batteries10.1109/TIE.2017.2787586 ↗
17. A study on the dependency of the open-circuit voltage on temperature and actual aging state of lithium-ion batteries10.1016/j.jpowsour.2017.01.098 ↗
18. Enhanced coulomb counting method for estimating state-of-charge and state-of-health of lithium-ion batteries10.1016/j.apenergy.2008.11.021 ↗
19. Enhanced SOC Estimation for LFP Batteries: A Synergistic Approach Using Coulomb Counting Reset, Machine Learning, and Relaxation10.1021/acsenergylett.4c03223 ↗
20. A novel method for state of charge estimation of lithium-ion batteries at low-temperatures10.1016/j.apenergy.2024.124514 ↗
21. Influence of different open circuit voltage tests on state of charge online estimation for lithium-ion batteries10.1016/j.apenergy.2016.09.010 ↗
22. State of charge estimation for LiFePO4 batteries joint by PID observer and improved EKF in various OCV ranges10.1016/j.apenergy.2024.124435 ↗
23. An improved coulomb counting method based on non-destructive charge and discharge differentiation for the SOC estimation of NCM lithium-ion battery10.1016/j.est.2023.108917 ↗
24. A novel modeling methodology for hysteresis characteristic and state-of-charge estimation of LiFePO4 batteries10.1016/j.est.2024.113807 ↗
25. A novel pseudo-open-circuit voltage modeling method for accurate state-of-charge estimation of LiFePO4 batteries10.1016/j.apenergy.2023.121406 ↗
26. A simulation study of Li-ion batteries based on a modified P2D model10.1016/j.jpowsour.2024.234376 ↗
27. Investigating re-parametrization of electrochemical model-based battery management using real-world driving data10.1016/j.etran.2023.100231 ↗
28. A comparative study of different equivalent circuit models for estimating state-of-charge of lithium-ion batteries10.1016/j.electacta.2017.10.153 ↗
29. Benchmarking battery management system algorithms—Requirements, scenarios and validation for automotive applications10.1016/j.etran.2024.100355 ↗
30. State-of-charge estimation for onboard LiFePO4 batteries with adaptive state update in specific open-circuit-voltage ranges10.1016/j.apenergy.2023.121581 ↗
31. Data-driven prediction of battery cycle life before capacity degradation10.1038/s41560-019-0356-8 ↗
32. A multi-dimensional residual shrinking network combined with a long short-term memory network for state of charge estimation of Li-ion batteries10.1016/j.est.2022.106263 ↗
33. Advanced data-driven fault diagnosis in lithium-ion battery management systems for electric vehicles: Progress, challenges, and future perspectives10.1016/j.etran.2024.100374 ↗
34. A novel state of charge estimation method for LiFePO4 battery based on combined modeling of physical model and machine learning model10.1016/j.est.2025.115888 ↗
35. Collaborative framework of Transformer and LSTM for enhanced state-of-charge estimation in lithium-ion batteries10.1016/j.energy.2025.135548 ↗
36. A hybrid deep learning model for lithium-ion batteries state of charge estimation based on quantile regression and attention10.1016/j.energy.2024.130834 ↗
37. Improved whale optimization algorithm towards precise state-of-charge estimation of lithium-ion batteries via optimizing LSTM10.1016/j.energy.2024.133185 ↗
38. State of charge estimation for electric vehicles using random forest10.1016/j.geits.2024.100177 ↗
39. Synthetic state of charge estimation for lithium-ion batteries based on long short-term memory network modeling and adaptive H-Infinity filter10.1016/j.energy.2021.120630 ↗
40. A multi-dimensional machine learning framework for accurate and efficient battery state of charge estimation10.1016/j.jpowsour.2024.235417 ↗
41. A syncretic state-of-charge estimator for LiFePO4 batteries leveraging expansion force10.1016/j.est.2022.104559 ↗
42. Battery SOC estimation with physics-constrained BiLSTM under different external pressures and temperatures10.1016/j.est.2025.116205 ↗
43. An improved model combining machine learning and Kalman filtering architecture for state of charge estimation of lithium-ion batteries10.1016/j.geits.2024.100163 ↗
44. A combined method for state-of-charge estimation for lithium-ion batteries using a long short-term memory network and an adaptive cubature Kalman filter10.1016/j.apenergy.2020.114789 ↗
45. A novel hybrid framework for SOC estimation using PatchMixer-LSTM and adaptive UKF10.1016/j.energy.2025.137891 ↗
46. Multi-forword-step state of charge prediction for real-world electric vehicles battery systems using a novel LSTM-GRU hybrid neural network10.1016/j.etran.2024.100322 ↗
47. A method for state-of-charge estimation of lithium-ion batteries based on PSO-LSTM10.1016/j.energy.2021.121236 ↗
48. A method for state-of-charge estimation of LiFePO4 batteries based on a dual-circuit state observer10.1016/j.jpowsour.2015.07.028 ↗
49. A novel multi-model probability battery state of charge estimation approach for electric vehicles using H-infinity algorithm10.1016/j.apenergy.2016.01.010 ↗
50. Physics-informed mamba neural network with potential knowledge for state-of-charge estimation of lithium-ion batteries10.1016/j.est.2025.116546 ↗
51. State-of-charge estimation of lithium-ion batteries using LSTM and UKF10.1016/j.energy.2020.117664 ↗