State of Charge Prediction for Electric Vehicles Based on Integrated Model Architecture
Abstract
1. Introduction
- Based on the actual road driving data of a certain vehicle manufacturer, considering the influence of driving conditions and driving style on the prediction results of SOC, a clustering method based on PCA-GA-K-Means for driving conditions and vehicle driving style was constructed, and energy consumption characteristics related to the prediction results of SOC were established.
- Starting from the construction of model diversity, a Stacking model framework is proposed with RandomForest, CatBoost, XGBoost, and SVR as the base model and ElasticNet as the meta model.
- The accuracy and generalization performance of the model of electric vehicles in different environmental temperatures, different driving styles, and different driving conditions were verified in real open scenarios.
2. Materials and Methods
2.1. Data Sources
2.2. Outlier Treatment
2.3. Build the Remaining Driving Range Field
2.4. Analysis of Influencing Factors
3. Feature Analysis and Selection
3.1. Driving Condition Identification
3.2. Construction of Vehicle Driving Style Features Based on KL-GMM
3.3. Vehicle Energy Consumption Characteristics Considering Driving Style and Driving Conditions
4. Feature Screening and Model Construction
4.1. Feature Extraction Method Based on DII
4.2. Construction of Remaining Driving Range Model Based on Stacking Algorithm
5. Test Verification
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
SOC | State of Charge |
GMM | Gaussian Mixture Model |
EV | Electric Vehicles |
XGBoost | Extreme Gradient Boosting Regression Tree |
LightGBM | Lightweight Gradient Boosting Regression Tree |
RNN | Recurrent Neural Networks |
GPR | Gaussian Process Regression |
EBa | Ensemble Bagging |
EBo | Ensemble Boosting |
ANN | Artificial Neural Network |
SVM | Support Vector Machine |
LR | Linear Regression |
ML | Machine Learning |
BEV | Battery Electric Vehicle |
SOH | State of Health |
RMSRE | Root Mean Square Relative Error |
PCA | Principal Component Analysis |
GA | Genetic Algorithm |
MIC | Maximum Information Coefficient |
BIC | Bayesian Information Criterion |
AIC | Akaike Information Criterion |
DII | Differentiable Information Inequality |
IQR | Interquartile Range |
References
- Tracker, C.A. Decarbonising the Indian Transport Sector Pathways and Policies; Climate Action Tracker: Berlin, Germany, 2020. [Google Scholar]
- Uddin, W. Mobile and Area Sources of Greenhouse Gases and Abatement Strategies. In Handbook of Climate Change Mitigation and Adaptation; Springer International Publishing: Cham, Switzerland, 2022; pp. 743–807. [Google Scholar]
- Ghosh, A. Possibilities and Challenges for the Inclusion of the Electric Vehicle (EV) to Reduce the Carbon Footprint in the Transport Sector: A Review. Energies 2020, 13, 2602. [Google Scholar] [CrossRef]
- Li, S.; Jiang, Z.; Zhu, Z.; Jiang, W.; Ma, Y.; Sang, X.; Yang, S. A Framework of Joint SOC and SOH Estimation for Lithium-Ion Batteries: Using BiLSTM as a Battery Model. J. Power Sources 2025, 635, 236342. [Google Scholar] [CrossRef]
- Pevec, D.; Babic, J.; Carvalho, A.; Ghiassi-Farrokhfal, Y.; Ketter, W.; Podobnik, V. Electric Vehicle Range Anxiety: An Obstacle for the Personal Transportation (R)evolution? In Proceedings of the 2019 4th International Conference on Smart and Sustainable Technologies (SpliTech), Split, Croatia, 18–21 June 2019; pp. 1–8. [Google Scholar]
- Bage, A.N.; Takyi-Aninakwa, P.; Yang, X.; Tu, Q.H. Enhanced Moving-Step Unscented Transformed-Dual Extended Kalman Filter for Accurate SOC Estimation of Lithium-Ion Batteries Considering Temperature Uncertainties. J. Energy Storage 2025, 110, 115340. [Google Scholar] [CrossRef]
- Mei, P.; Karimi, H.R.; Huang, C.; Chen, F.; Yang, S. Remaining Driving Range Prediction for Electric Vehicles: Key Challenges and Outlook. IET Control Theory Appl. 2023, 17, 1875–1893. [Google Scholar] [CrossRef]
- Yavasoglu, H.A.; Tetik, Y.E.; Gokce, K. Implementation of Machine Learning Based Real Time Range Estimation Method without Destination Knowledge for BEVs. Energy 2019, 172, 1179–1186. [Google Scholar] [CrossRef]
- Zhao, L.; Yao, W.; Wang, Y.; Hu, J. Machine Learning-Based Method for Remaining Range Prediction of Electric Vehicles. IEEE Access 2020, 8, 212423–212441. [Google Scholar] [CrossRef]
- Eagon, M.J.; Kindem, D.K.; Panneer Selvam, H.; Northrop, W.H. Neural Network-Based Electric Vehicle Range Prediction for Smart Charging Optimization. J. Dyn. Syst. Meas. Control 2022, 144, 011110. [Google Scholar] [CrossRef]
- Sun, T.; Xu, Y.; Feng, L.; Xu, B.; Chen, D.; Zhang, F.; Han, X.; Zhao, L.; Zheng, Y. A Vehicle-Cloud Collaboration Strategy for Remaining Driving Range Estimation Based on Online Traffic Route Information and Future Operation Condition Prediction. Energy 2022, 248, 123608. [Google Scholar] [CrossRef]
- De Cauwer, C.; Verbeke, W.; Coosemans, T.; Faid, S.; Van Mierlo, J. A Data-Driven Method for Energy Consumption Prediction and Energy-Efficient Routing of Electric Vehicles in Real-World Conditions. Energies 2017, 10, 608. [Google Scholar] [CrossRef]
- Bustos, J.E.G.; Baeza, C.; Schiele, B.B.; Rivera, V.; Masserano, B.; Orchard, M.E.; Burgos-Mellado, C.; Perez, A. A Novel Data-Driven Framework for Driving Range Prognostics in Electric Vehicles. Eng. Appl. Artif. Intell. 2025, 142, 109925. [Google Scholar] [CrossRef]
- Jain, A.; Jha, V.; Alsaif, F.; Ashok, B.; Vairavasundaram, I.; Kavitha, C. Machine Learning Framework Using On-Road Real-Time Data for Battery SoC Level Prediction in Electric Two-Wheelers. J. Energy Storage 2024, 97, 112884. [Google Scholar] [CrossRef]
- Sun, S.; Zhang, J.; Bi, J.; Wang, Y. A Machine Learning Method for Predicting Driving Range of Battery Electric Vehicles. J. Adv. Transp. 2019, 2019, 4109148. [Google Scholar] [CrossRef]
- Zhang, C.; Wang, W.; Chen, Z.; Zhang, J.; Sun, L.; Xi, J. Shareable Driving Style Learning and Analysis with a Hierarchical Latent Model. IEEE Trans. Intell. Transp. Syst. 2024, 25, 11471–11484. [Google Scholar] [CrossRef]
- He, K.; Song, Y.; Xie, H.; Cao, F. Winter Driving Range Optimization of Electric Bus Based on CO2 Thermal Management System and Thermal Energy Cascade Utilization. Energy 2025, 305, 135668. [Google Scholar] [CrossRef]
- Liang, K.; Zhao, Z.; Li, W.; Zhou, J.; Yan, D. Comprehensive Identification of Driving Style Based on Vehicle’s Driving Cycle Recognition. IEEE Trans. Veh. Technol. 2022, 72, 312–326. [Google Scholar] [CrossRef]
- Song, D.; Zhu, B.; Zhao, J.; Han, J.; Chen, Z. Personalized Car-Following Control Based on a Hybrid of Reinforcement Learning and Supervised Learning. IEEE Trans. Intell. Transp. Syst. 2023, 24, 6014–6029. [Google Scholar] [CrossRef]
- Morlock, F.; Rolle, B.; Bauer, M.; Sawodny, O. Forecasts of Electric Vehicle Energy Consumption Based on Characteristic Speed Profiles and Real-Time Traffic Data. IEEE Trans. Veh. Technol. 2019, 69, 1404–1418. [Google Scholar] [CrossRef]
- Wild, R.; Wodaczek, F.; Del Tatto, V.; Cheng, B.; Laio, A. Automatic Feature Selection and Weighting in Molecular Systems Using Differentiable Information Imbalance. Nat. Commun. 2025, 16, 270. [Google Scholar] [CrossRef] [PubMed]
Component | Parameters | Value |
---|---|---|
Battery | Type | Lithium iron phosphate |
Capacity | 31.9 kWh | |
Motor | Peak power | 50 Kw |
Max torque | 125 Nm | |
Vehicle | Weight | 1155 kg |
Drag coefficient | 0.32 | |
Front area | 2.338 m2 |
Order Number | Field Categorization | Field Name | Unit |
---|---|---|---|
1 | Battery data field | Maximum voltage of battery cell | V |
2 | Minimum voltage of battery cell | V | |
3 | Maximum temperature value | °C | |
4 | Minimum temperature value | °C | |
5 | Charged state | ||
6 | SOC | % | |
7 | Total current | A | |
8 | Total voltage | V | |
9 | Traffic data fields | Vehicle identification number | |
10 | Data collection time | ||
11 | Speed of a motor vehicle | km/h | |
12 | Accelerate the pedal stroke value | % | |
13 | Vehicle status | ||
14 | Brake pedal status | ||
15 | Drive motor speed | r/min | |
16 | Current motor torque | N·m | |
17 | Drive motor controller temperature | °C | |
18 | Drive motor temperature | °C | |
19 | Cumulative mileage | km | |
20 | The steering wheel angle | ° | |
21 | Main energy consuming components and environmental data | Air conditioning temperature | °C |
22 | Air conditioning heater relay control command | ||
23 | Air conditioning compressor switch signal | ||
24 | Ambient temperature | °C | |
25 | Environmental pressure values | kPa |
Interpolation Variables | RMSRE Grade | ||
---|---|---|---|
Linear Interpolation | Nearest Neighbor Interpolation | Langevin Difference | |
SOC | 0.0056 | 0.0069 | 0.0109 |
Cumulative mileage | 0.0048 | 0.0076 | 0.0117 |
Ambient temperature | 0.0097 | 0.0112 | 0.0086 |
Maximum temperature value | 0.0082 | 0.0087 | 0.0102 |
Minimum temperature value | 0.0125 | 0.0152 | 0.0197 |
total voltage | 0.0089 | 0.0122 | 0.0079 |
Label | Data Collection Time | Speed | … | SOC | Cumulative Mileage | Remaining Driving Range |
---|---|---|---|---|---|---|
25 | 2024-08-19 06:37:26 | 11.1 | … | 100 | 5518.8 | 308.1 |
25 | 2024-08-19 06:37:28 | 15.3 | … | 100 | 5518.9 | 308.0 |
25 | 2024-08-19 06:37:30 | 22.3 | … | 100 | 5519.0 | 307.9 |
⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
25 | 2024-08-19 10:47:33 | 3.1 | … | 0 | 5734.5 | 0.1 |
25 | 2024-08-19 10:47:35 | 2.1 | … | 0 | 5734.6 | 0 |
Order Number | Parameter Symbols | Characteristic Parameter | Order Number | Parameter Symbols | Characteristic Parameter |
---|---|---|---|---|---|
1 | maximal acceleration | 7 | Speed range 0–20 time ratio | ||
2 | maximum deceleration | 8 | Speed range 20–40 time ratio | ||
3 | Acceleration time ratio | 9 | Speed range 40–60 time ratio | ||
4 | Time reduction ratio | 10 | Speed range 60–80 time ratio | ||
5 | Uniform time ratio | 11 | Speed range 80–120 time ratio | ||
6 | Parking time ratio | 12 | Accelerate the pedal stroke value |
Order Number | Parameter Symbols | Parameter Name | Order Number | Parameter Symbols | Parameter Name |
---|---|---|---|---|---|
1 | Acceleration standard deviation | 5 | Maximum steering wheel corner acceleration | ||
2 | Accelerate pedal stroke standard deviation | 6 | Accelerator pedal acceleration standard deviation | ||
3 | Standard deviation of acceleration change rate | 7 | Acceleration pedal average acceleration | ||
4 | Maximum steering wheel corner acceleration | 8 | Angular acceleration of steering wheel |
Order Number | Operating Conditions–Driving Style | Proportion (%) | Order Number | Operating Conditions–Driving Style | Proportion (%) |
---|---|---|---|---|---|
1 | Urban congestion-peaceful type | 7.77 | 7 | Urban elevated-peaceful type | 12.96 |
2 | Urban congestion-calm type | 10.73 | 8 | Urban elevated-cool type | 13.44 |
3 | Urban congestion-aggressive | 2.54 | 9 | Urban elevated-radical type | 6.17 |
4 | Smooth and peaceful urban traffic | 12.58 | 10 | High speed-peaceful type | 2.07 |
5 | Smooth downtown-calm type | 30.32 | 11 | High speed-calm type | 1.19 |
6 | Smooth downtown-aggressive | 0.02 | 12 | High speed-aggressive type | 0.21 |
Order Number | Operating Conditions–Driving Style | Energy Consumption (kW·h/100 km) | Order Number | Operating Conditions–Driving Style | Energy Consumption (kW·h/100 km) |
---|---|---|---|---|---|
1 | Urban congestion-peaceful type | 16.1 | 7 | Urban elevated-peaceful type | 9.54 |
2 | Urban congestion-calm type | 18.7 | 8 | Urban elevated-cool type | 11.34 |
3 | Urban congestion-aggressive | 21.7 | 9 | Urban elevated-radical type | 13.77 |
4 | Smooth and peaceful urban traffic | 12.43 | 10 | High speed-peaceful type | 15.05 |
5 | Smooth downtown-calm type | 12.74 | 11 | High speed-calm type | 15.59 |
6 | Smooth downtown-aggressive | 13.21 | 12 | High speed-aggressive type | 15.81 |
L1 Regularization | Number of Features | DII Price |
---|---|---|
not have | 20 | 0.007 |
0.0001 | 12 | 0.005 |
0.0002 | 8 | 0.003 |
0.0012 | 3 | 0.009 |
0.0029 | 2 | 0.023 |
0.0023 | 1 | 0.079 |
R2 | RMSRE | |
---|---|---|
XGBoost | 0.9137 | 0.1279 |
CatBoost | 0.9233 | 0.1124 |
RandomForest | 0.8990 | 0.1571 |
SVR | 0.6391 | 0.2820 |
Stacking | 0.9410 | 0.0999 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wei, M.; Liu, Y.; Wang, H.; Yuan, S.; Hu, J. State of Charge Prediction for Electric Vehicles Based on Integrated Model Architecture. Mathematics 2025, 13, 2197. https://doi.org/10.3390/math13132197
Wei M, Liu Y, Wang H, Yuan S, Hu J. State of Charge Prediction for Electric Vehicles Based on Integrated Model Architecture. Mathematics. 2025; 13(13):2197. https://doi.org/10.3390/math13132197
Chicago/Turabian StyleWei, Min, Yuhang Liu, Haojie Wang, Siquan Yuan, and Jie Hu. 2025. "State of Charge Prediction for Electric Vehicles Based on Integrated Model Architecture" Mathematics 13, no. 13: 2197. https://doi.org/10.3390/math13132197
APA StyleWei, M., Liu, Y., Wang, H., Yuan, S., & Hu, J. (2025). State of Charge Prediction for Electric Vehicles Based on Integrated Model Architecture. Mathematics, 13(13), 2197. https://doi.org/10.3390/math13132197