Real-World SoC Estimation for Lithium-Ion Batteries in Electric Buses: Sampling Resolution and Machine Learning Efficiencys

Authors

DOI:

https://doi.org/10.18618/REP.e202626

Keywords:

Battery electric bus, Battery management systems, Embedded systems, Lithium-ion batteries, State of charge estimation.

Abstract

Accurate State of Charge (SoC) estimation is essential for safe and efficient lithium-ion battery operation in electric mobility. Although machine learning methods achieve high predictive capability, many studies rely on laboratory cycling data and overlook deployment constraints such as latency and embedded hardware. This paper presents a deployment-oriented evaluation of data-driven SoC estimation using large-scale operational data from a battery electric bus. The dataset includes more than 4.3 million field measurements of current, voltage, temperature, and SoC collected under realistic driving conditions. Five models are compared: Random Forest, LightGBM, XGBoost, Temporal Convolutional Networks (TCN), and Gated Recurrent Unit (GRU) networks. Models are evaluated across sampling intervals from 30 s to 210 s and multiple training-data fractions, considering accuracy, training time, and inference latency. Results show that temporal resolution strongly affects the accuracy-efficiency trade-off. The best configuration, LightGBM at 180 s using 75 % of training data, achieved a test MAE of 6.338, RMSE of 8.495, and median inference latency of 1.10 ms. Compared with the Random Forest baseline at 30 s, it reduced MAE by 34.4 %, RMSE by 35.6 %, and latency by 97.6 %, supporting efficient real-time battery management system deployment.

Downloads

Download data is not yet available.

Author Biographies

Johanna P. Orellana-Iñiguez, University of Campinas

was born in Cuenca, Ecuador (1993). She received the B.Sc. degree in Chemical Engineering from the Universidad de Cuenca and a professional Master's in Industrial Process Improvement from ESPOL (2023). In 2025, she obtained a Master's degree in Energy Systems Planning from UNICAMP. She is currently pursuing the Ph.D. degree in Electrical Engineering at the School of Electrical and Computer Engineering (FEEC), UNICAMP. Her research focuses on lithium-ion battery degradation, State-of-Charge estimation using machine learning, and data-driven diagnostics for electric mobility, with interests in battery energy storage systems, electrochemical data analysis, power electronics, and sustainable mobility.

Waldyr L. R. Gallo, University of Campinas

is a Full Professor in the Energy Department of the School of Mechanical Engineering at the University of Campinas. He holds both M.Sc. and Ph.D. degrees in Mechanical Engineering. His research focuses on energy systems planning, vehicle propulsion, biofuels, renewable energy integration, and advanced energy storage technologies. His work also includes thermodynamics, with emphasis on internal combustion engines, gas turbines, cogeneration, and energy efficiency in industrial and transportation systems. He collaborates on multidisciplinary projects aimed at developing cleaner and more sustainable energy solutions.

Madson C. de Almeida, University of Campinas

holds a Bachelor’s degree in Electrical Engineering from the Federal University of Minas Gerais (UFMG), a Ph.D. in Electrical Engineering from the University of Campinas (UNICAMP), and completed a postdoctoral fellowship at the University of Manchester, U.K. His research focuses on power and energy systems, including distribution system analysis, state estimation, distributed generation, renewable energy sources, fault location, and electric mobility. He served as Vice-Coordinator of the Technical Committee on Power Systems of the Brazilian Society of Automation (2015–2016). He is currently an Associate Professor in the Department of Systems and Energy (DSE) at the School of Electrical and Computer Engineering, University of Campinas (FEEC/UNICAMP), where he coordinates the Living Laboratory for Electric Mobility in Public Transportation.

References

R. Farheen, K. Fatima, “Integration of Renewable Energy Sources into Modern Power Grids: Challenges and Solutions”, Journal of Electrical Power System Engineering and Technology, vol. 10, no. 2, 2025.

M. A. Mendieta Sarmiento, J. P. Orellana I˜niguez, H. E. Hernandez-Figueroa, O. Probst, L. I. Minchala ´Avila, “Reducing Variability in Wind Power Generation by Combining Slope Control with SOC Feedback”, in 2024 IEEE PES Generation, Transmission and Distribution Latin America Conference and Industrial Exposition (GTDLA), pp. 1–6, 2024, doi:10.1109/GTDLA61236.2024.10913718.

C. Gallego-Castillo, A. Cuerva-Tejero, O. Lopez-Garcia, “A review on the recent history of wind power ramp forecasting”, Renewable and Sustainable Energy Reviews, vol. 52, pp. 1148–1157, 2015, doi:10.1016/j.rser.2015.07.154.

R. C. de Barros, W. C. S. Amorim, W. do Couto Boaventura, A. F. Cupertino, V. F. Mendes, H. A. Pereira, “Methodology for BESS Design Assisted by Choice Matrix Approach”, Eletrônica de Potência, vol. 29, pp. e202412–e202412, 2024, doi:10.18618/REP.2005.1.019027.

International Energy Agency, “Global Critical Minerals Outlook 2024”, Licence: CC BY 4.0, 2024, URL: https://www.iea.org/reports/global-critical-minerals-outlook-2024.

A. L. Rodrigues, S. R. Seixas, “Battery-electric buses and their implementation barriers: Analysis and prospects for sustainability”, Sustainable Energy Technologies and Assessments, vol. 51, p. 101896, 2022, doi:10.1016/j.seta.2021.101896.

R. Wang, Y. Wu, W. Ke, S. Zhang, B. Zhou, J. Hao, “Can propulsion and fuel diversity for the bus fleet achieve the win–win strategy of energy conservation and environmental protection?”, Applied Energy, vol. 147, pp. 92–103, 2015, doi:10.1016/j.apenergy.2015.01.107.

J.-M. Clairand, P. Guerra-Terán, X. Serrano-Guerrero, M. González- Rodríguez, G. Escrivá-Escrivá, “Electric vehicles for public transportation in power systems: A review of methodologies”, Energies, vol. 12, no. 16, p. 3114, 2019, doi:10.3390/en12163114.

M. Y. Suberu, M. W. Mustafa, N. Bashir, “Energy storage systems for renewable energy power sector integration and mitigation of intermittency”, Renewable and Sustainable Energy Reviews, vol. 35, pp. 499–514, 2014, doi:10.1016/j.rser.2014.04.009.

J. W. Choi, D. Aurbach, “Promise and reality of post-lithium-ion batteries with high energy densities”, Nature reviews materials, vol. 1, no. 4, pp. 1–16, 2016, doi:10.1038/natrevmats.2016.13.

M. Kabir, D. E. Demirocak, “Degradation mechanisms in Li-ion batteries: a state-of-the-art review”, International Journal of Energy Research, vol. 41, no. 14, pp. 1963–1986, 2017, doi:10.1002/er.3762.

N. Ghaeminezhad, Q. Ouyang, J. Wei, Y. Xue, Z. Wang, “Review on state of charge estimation techniques of lithium-ion batteries: A control-oriented approach”, Journal of Energy Storage, vol. 72, p. 108707, 2023, doi:10.1016/j.est.2023.108707.

J. Jaguemont, F. Bardé, “A critical review of lithium-ion battery safety testing and standards”, Applied Thermal Engineering, vol. 231, p. 121014, 2023, doi:10.1016/j.applthermaleng.2023.121014.

C. A. Rufino Júnior, E. Riva Sanseverino, P. Gallo, D. Koch, S. Diel, G. Walter, L. Trilla, V. J. Ferreira, G. B. Pérez, Y. Kotak, et al.,“Towards to battery digital passport: reviewing regulations and standards for second-life batteries”, Batteries, vol. 10, no. 4, p. 115, 2024, doi:10.3390/batteries10040115.

J. S. Edge, S. O’Kane, R. Prosser, N. D. Kirkaldy, A. N. Patel, A. Hales, A. Ghosh, W. Ai, J. Chen, J. Yang, et al., “Lithium ion battery degradation: what you need to know”, Physical Chemistry Chemical Physics, vol. 23, no. 14, pp. 8200–8221, 2021, doi:10.1039/D1CP00359C.

P. Dini, A. Colicelli, S. Saponara, “Review on modeling and soc/soh estimation of batteries for automotive applications”, Batteries, vol. 10, no. 1, p. 34, 2024, doi:10.3390/batteries10010034.

W. Waag, C. Fleischer, D. U. Sauer, “Critical review of the methods for monitoring of lithium-ion batteries in electric and hybrid vehicles”, Journal of Power Sources, vol. 258, pp. 321–339, 2014, doi:10.1016/j.jpowsour.2014.02.064.

A. Haraz, K. Abualsaud, A. Massoud, “State-of-health and state-of-charge estimation in electric vehicles batteries: a survey on machine learning approaches”, IEEE Access, 2024, doi:10.1109/ACCESS.2024.3486989.

V. Chandran, C. K. Patil, A. Karthick, D. Ganeshaperumal, R. Rahim, A. Ghosh, “State of charge estimation of lithium-ion battery for electricvehicles using machine learning algorithms”, World Electric Vehicle Journal, vol. 12, no. 1, p. 38, 2021, doi:10.3390/wevj12010038.

J. P. Rivera-Barrera, N. Mu˜noz-Galeano, H. O. Sarmiento-Maldonado, “SoC estimation for lithium-ion batteries: Review and future challenges”, Electronics, vol. 6, no. 4, p. 102, 2017, doi:10.3390/electronics6040102.

J. Urquizo, P. Singh, “A review of health estimation methods for Lithium-ion batteries in Electric Vehicles and their relevance for Battery Energy Storage Systems”, Journal of Energy Storage, vol. 73, p. 109194, 2023, doi:10.1016/j.est.2023.109194.

C. Vidal, P. Malysz, P. Kollmeyer, A. Emadi, “Machine learning applied to electrified vehicle battery state of charge and state of health estimation: State-of-the-art”, Ieee Access, vol. 8, pp. 52796–52814, 2020, doi:10.1109/ACCESS.2020.2980961.

Z. Deng, X. Hu, X. Lin, Y. Che, L. Xu, W. Guo, “Data-driven state of charge estimation for lithium-ion battery packs based on Gaussian process regression”, Energy, vol. 205, p. 118000, 2020, doi:10.1016/j.energy.2020.118000.

E. Chemali, P. J. Kollmeyer, M. Preindl, R. Ahmed, A. Emadi, “Long short-term memory networks for accurate state-of-charge estimation of Li-ion batteries”, IEEE Transactions on Industrial Electronics, vol. 65, no. 8, pp. 6730–6739, 2017, doi:10.1109/TIE.2017.2787586.

P. Khumprom, N. Yodo, “A data-driven predictive prognostic model for lithium-ion batteries based on a deep learning algorithm”, Energies, vol. 12, no. 4, p. 660, 2019, doi:10.3390/en12040660.

P. Reshma, V. J. Manohar, “Collaborative evaluation of SoC, SoP and SoH of lithium-ion battery in an electric bus through improved remora optimization algorithm and dual adaptive Kalman filtering algorithm”, Journal of Energy Storage, vol. 68, p. 107573, 2023, doi:10.1016/j.est.2023.107573.

A. Di Martino, S. Volturno, M. Longo, W. Yaici, D. Zaninelli, “Machine Learning-Based SoC and RUL Estimation Applied to an Electric Bus Fleet”, in 2025 IEEE International Conference on Vehicular Electronics and Safety (ICVES), pp. 329–334, 2025, doi:10.1109/ICVES65691.2025.11376570.

D. N. How, M. A. Hannan, M. S. H. Lipu, K. S. Sahari, P. J. Ker, K. M. Muttaqi, “State-of-charge estimation of li-ion battery in electric vehicles: A deep neural network approach”, IEEE Transactions on Industry Applications, vol. 56, no. 5, pp. 5565–5574, 2020, doi:10.1109/TIA.2020.3004294.

P. S. Babu, I. V, A. B, V. S, K. C, “Enhanced SOC estimation of lithium ion batteries with RealTime data using machine learning algorithms”, Scientific Reports, vol. 14, no. 1, p. 16036, 2024, doi:10.1038/s41598-024-66997-9.

J. P. Orellana-I˜niguez, W. L. Gallo, M. C. De Almeida, “Real-World Evaluation of Machine Learning Techniques for State of Charge Estimation in Electric Bus Batteries”, in 2025 Brazilian Power Electronics Conference (COBEP), pp. 1–6, 2025, doi:10.1109/COBEP66423.2025.11231456.

L. F. Ugarte, D. N. Sarmiento, F. T. Mariotto, E. Lacusta, M. C. de Almeida, “Living lab for electric mobility in the public transportation system of the university of campinas”, in 2019 IEEE PES Innovative Smart Grid Technologies Conference-Latin America (ISGT Latin America), pp. 1–6, 2019, doi:10.1109/ISGT-LA.2019.8895442.

Downloads

Published

2026-08-24

How to Cite

[1]
J. P. Orellana-Iñiguez, W. L. R. Gallo, and M. C. de Almeida, “Real-World SoC Estimation for Lithium-Ion Batteries in Electric Buses: Sampling Resolution and Machine Learning Efficiencys”, Eletrônica de Potência, vol. 31, p. e202626, Aug. 2026.

Issue

Section

Original Papers