This content is not included in
your SAE MOBILUS subscription, or you are not logged in.
Microprocessor Execution Time and Memory Use for Battery State of Charge Estimation Algorithms
Technical Paper
2022-01-0697
ISSN: 0148-7191, e-ISSN: 2688-3627
Annotation ability available
Sector:
Language:
English
Abstract
Accurate battery state of charge (SOC) estimation is essential for safe and reliable performance of electric vehicles (EVs). Lithium-ion batteries, commonly used for EV applications, have strong time-varying and non-linear behaviour, making SOC estimation challenging. In this paper, a processor in the loop (PIL) platform is used to assess the execution time and memory use of different SOC estimation algorithms. Four different SOC estimation algorithms are presented and benchmarked, including an extended Kalman filter (EKF), EKF with recursive least squares filter (EKF-RLS) feedforward neural network (FNN), and a recurrent neural network with long short-term memory (LSTM). The algorithms are deployed to two different NXP S32Kx microprocessors and executed in real-time to assess the algorithms' computational load. The algorithms are benchmarked in terms of accuracy, execution time, flash memory, and random access memory (RAM) use. In order to ensure the validity of running these models for multiple cells in the pack, the impact of increasing the number of instances to run each algorithm simultaneously is investigated as well. The results show that the four algorithms present a reasonable accuracy, with less than 5% maximum error. For the more power microprocessor tested, the execution time was found to be 0.24 ms, 0.25 ms, 0.14 ms, and 0.71 ms for the EKF, EKF-RLS, FNN, and LSTM respectively. The neural network SOC estimation algorithms were also demonstrated to have lower RAM use than the EKFs, with less than 1 kB RAM required to run one instance of the estimators. Moreover, the FNN SOC estimation algorithm is found to be a promising option with both low execution time and memory use.
Recommended Content
Authors
Citation
Naguib, M., Kollmeyer, P., Vidal, C., Duque, J. et al., "Microprocessor Execution Time and Memory Use for Battery State of Charge Estimation Algorithms," SAE Technical Paper 2022-01-0697, 2022, https://doi.org/10.4271/2022-01-0697.Also In
References
- Kollmeyer , P. , Andreas , H. , and Emadi , A. Li-Ion Battery Model Performance for Automotive Drive Cycles with Current Pulse and EIS Parameterization 2017 IEEE Transportation Electrification Conference and Expo (ITEC) 2017 10.1109/ITEC.2017.7993319
- Naguib , M. , Kollmeyer , P. , and Emadi , A. Lithium-Ion Battery Pack Robust State of Charge Estimation, Cell Inconsistency, and Balancing: Review IEEE Access 9 2021 50570 50582 10.1109/ACCESS.2021.3068776
- Ng , K. , Huang , Y. , Moo , C. and Hsieh , Y. Enhanced Coulomb Counting Method for Estimating State-Of-Charge and State-Of-Health of Lead-Acid Batteries INTELEC 2009 - 31st International Telecommunications Energy Conference , 2009 10.1109/INTLEC.2009.5351796
- Tong , S. , Klein , P. , and Park , J.W. On-Line Optimization of Battery Open Circuit Voltage for Improved State-Of-Charge and State-Of-Health Estimation J. Power Sources 293 2015 416 428 10.1016/j.jpowsour.2015.03.157
- Westerhoff , U. , Kroker , T. , Kurbach , K. , and Kurrat , M. Electrochemical Impedance Spectroscopy Based Estimation of the State of Charge of Lithium-Ion Batteries J. Energy Storage 8 2016 244 256 10.1016/j.est.2016.09.001
- Sepasi , S. , Roose , R. , and Matsuura , M. Extended Kalman Filter with a Fuzzy Method for Accurate Battery Pack State of Charge Estimation Energies 9 2 2015 5217 5233 https://doi.org/10.3390/en8065217
- Chen , Z. , Sun , H. , Dong , G. , Wei , J. et al. Particle Filter-Based State-Of-Charge Estimation and Remaining-Dischargeable-Time Prediction Method for Lithium-Ion Batteries J. Power Sources 414 2019 158 166 10.1016/j.jpowsour.2019.01.012
- Rajakumar , S. and Sinha , U. Estimation Of Lithium-Ion Battery State Of Charge For Electric Vehicles Using A Nonlinear State Observer Energy Storage 414 2021 158 166 10.1002/est2.290
- Vidal , C. , Pawel , M. , Kollmeyer , P. , and Emadi , A. Machine Learning Applied to Electrified Vehicle Battery State of Charge and State of Health Estimation: State-Of-The-Art IEEE Access 8 2020 52796 52814 10.1109/access.2020.2980961
- Dai , H. et al. A Novel Estimation Method for the State of Health of Lithium-Ion Battery Using Prior Knowledge-Based Neural Network and Markov Chain IEEE Transactions on Industrial Electronics 66 10 2018 7706 7716 10.1109/tie.2018.2880703
- Naguib , M. , Vidal , C. , Kollmeyer , P. , Malysz , P. et al. Comparative Study between Equivalent Circuit and Recurrent Neural Network Battery Voltage Models SAE Technical Paper 2021-01-0759 2021 https://doi.org/10.4271/2021-01-0759
- Naguib , M. , Kollmeyer , P. , Vidal , C. , and Emadi , A. Accurate Surface Temperature Estimation of Lithium-Ion Batteries Using Feedforward and Recurrent Artificial Neural Networks 2021 IEEE Transportation Electrification Conference & Expo (ITEC) 2021 10.1109/ITEC51675.2021.9490043
- Wang , Q. , Gu , H. , Ye , M. , Wei , M. et al. State of Charge Estimation for Lithium-Ion Battery Based on NARX Recurrent Neural Network and Moving Window Method IEEE Access 9 2021 83364 83375 10.1109/ACCESS.2021.3086507
- Shrivastava , P. , Kok Soon , T. , Bin Idris , M. , Mekhilef , S. et al. Combined State of Charge and State of Energy Estimation of Lithium-Ion Battery Using Dual Forgetting Factor-Based Adaptive Extended Kalman Filter for Electric Vehicle Applications IEEE Transactions on Vehicular Technology 70 2 2021 1200 1215 10.1109/TVT.2021.3051655
- Barillas , J. , Li , J. , Günther , C. , and Danzer , M. A Comparative Study and Validation of State Estimation Algorithms for Li-Ion Batteries in Battery Management Systems Applied Energy 155 2015 455 462 10.1016/j.apenergy.2015.05.102
- https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/s32k-automotive-mcus:S32K-MCUS
- https://www.pemicro.com/opensda/
- https://www.nxp.com/design/automotive-software-and-tools/nxp-model-based-design-toolbox-mbdt:MBDT
- https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K-How-To/m-p/719984
- Yang , K. , Tang , Y. , and Zhang , Z. Parameter Identification and State-of-Charge Estimation for Lithium-Ion Batteries Using Separated Time Scales and Extended Kalman Filter Energies 14 4 2021 1054 10.3390/en14041054
- Vidal , C. et al. Robust XEV Battery State-of-Charge Estimator Design Using a Feedforward Deep Neural Network SAE Technical Paper 2020-01-1181 2020 10.4271/2020-01-1181
- https://developer.arm.com/ip-products/processors/cortex-m/cortex-m4
- https://developer.arm.com/ip-products/processors/cortex-m/cortex-m7