A Battery State-of-Charge Prediction Method Based on a Hammerstein Model Integrated with a Hippopotamus Optimization Algorithm and Neural Network
Abstract
1. Introduction
- (1)
- For lithium-ion battery state-of-charge prediction under complex operating conditions, a composite architecture integrating neural networks with the Hammerstein model is proposed. This approach suppresses the accumulation of multi-factor errors through a nonlinear dynamic coupling mechanism.
- (2)
- Employing the key-term separation concept, the coupling between parameters of a non-linear portion and a linear portion in the Hammerstein SOC model is separated with minimal parameters and computational effort.
- (3)
- The proposed method demonstrates superior performance across various operating conditions through comparisons with HO-BP-Hammerstein, GWO-BP, and PSO-BP approaches, achieving an average error below 0.74%.
- (4)
- Practical in-vehicle validation: Using hybrid electric vehicle data, the proposed method proves applicable with high stability and accuracy demonstrated through experiments.
2. Complete Algorithm Demonstration
2.1. Hammerstein Model
2.2. Building a BP Neural Network
3. Mathematical Modeling of the HO Algorithm
3.1. Population Initialization
3.2. Phase One: Hippopotamus Position Updates in Rivers or Ponds (Exploration Phase)
3.3. Phase Two: Hippopotamus Defending Against Predators (Exploration Phase)
3.4. Phase Three: Hippopotamus Escapes Predator (Development Phase)
4. HO-BP-Hammerstein Model
4.1. Performance Evaluation and Analysis of the HO Algorithm
4.2. HO-BP-Hammerstein Model Prediction Process
5. Experimental Simulation and Results Processing
5.1. Experimental Data
5.2. Performance Evaluation Metrics
5.3. Verification of SOC Prediction Accuracy Superiority
5.4. Real Vehicle Battery Prediction Simulation
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Wang, H.; Wu, W.; Cui, L.; Zhou, G.; Yang, Y.; Zhang, Q. State of charge prediction for lithium-ion batteries based on multi-process scale encoding and adaptive graph convolution. J. Energy Storage 2025, 113, 115482. [Google Scholar] [CrossRef] [Scilit]
- Shi, H.; Wang, S.; Liang, J.; Takyi-Aninakwa, P.; Yang, X.; Fernandez, C.; Wang, L. Multi-Time Scale Identification of Key Kinetic Processes for Lithium-Ion Batteries Considering Variable Characteristic Frequency. J. Energy Chem. 2023, 82, 521–536. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Zhang, J.; Gao, T.; Lyu, L.; Wang, L.; Shi, W.; Cai, G. Improved LSTM based state of health estimation using random segments of the charging curves for lithium-ion batteries. J. Energy Storage 2023, 74, 109370. [Google Scholar] [CrossRef] [Scilit]
- Dong, J.; Wang, R.; Wang, H.; Hua, S.; Geng, G.; Jiang, Q. Adaptive SOC Estimation of Grid-Level BESS for Multiple Operational Scenarios. J. Energy Storage 2025, 132, 117776. [Google Scholar] [CrossRef] [Scilit]
- He, Y.; Zhu, D.; Wang, Y.; Sun, J.; Mo, L. Non-uniformly sampled data for data-driven analysis of nonlinear singularly perturbed hybrid systems. Nonlinear Dyn. 2025, 113, 14165–14179. [Google Scholar] [CrossRef] [Scilit]
- Meng, J.; Luo, G.; Ricco, M.; Swierczynski, M.; Stroe, D.I.; Teodorescu, R. Overview of lithium-ion battery modeling methods for state-of-charge estimation in electrical vehicles. Appl. Sci. 2018, 8, 659. [Google Scholar] [CrossRef] [Scilit]
- Fang, X.; Xie, L.; Dimarogonas, D.V. Simultaneous distributed localization and formation tracking control via matrix-weighted position constraints. Automatica 2025, 175, 112188. [Google Scholar] [CrossRef] [Scilit]
- Liu, L.; Yan, Z.; Xu, B.; Zhang, P.; Cai, C.; Yang, H. A highly scalable integrated voltage equalizer based on parallel-transformers for high-voltage energy storage systems. IEEE Trans. Ind. Electron. 2023, 71, 595–603. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Tan, Z.; Wang, Y. A Mconv TCN-Informer deep learning model for SOC prediction of lithium-ion batteries. J. Energy Storage 2025, 129, 117092. [Google Scholar] [CrossRef] [Scilit]
- Qu, W.; Chen, G.; Zhang, T. An adaptive noise reduction approach for remaining useful life prediction of lithium-ion batteries. Energies 2022, 15, 7422. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Chen, J.; Fan, Q.; Wang, D. A key-term separation based least square method for Hammerstein SOC estimation model. Sustain. Energy Grids Netw. 2023, 35, 101089. [Google Scholar] [CrossRef] [Scilit]
- Li, F.; Zheng, T.; Cao, Q. Modeling and identification for practical nonlinear process using neural fuzzy network–based Hammerstein system. Trans. Inst. Meas. Control 2023, 45, 2091–2102. [Google Scholar] [CrossRef] [Scilit]
- Li, F.; Yang, Y.; Xia, Y. Identification for nonlinear systems modelled by deep long short-term memory networks based Wiener model. Mech. Syst. Signal Process. 2024, 220, 111631. [Google Scholar] [CrossRef] [Scilit]
- Xiong, R.; Zhang, Y.; He, H.; Zhou, X.; Pecht, M.G. A double-scale, particle-filtering, energy state prediction algorithm for lithium-ion batteries. IEEE Trans. Ind. Electron. 2018, 65, 1526–1538. [Google Scholar] [CrossRef] [Scilit]
- Liu, C.; Ling, J.; Kou, L. Comparison of Performance between GA-BP Neural Network and BP Neural Network. China Health Stat. 2013, 30, 173–176. [Google Scholar]
- Li, Z.; Wang, J.; Guo, C. A new method of BP network optimized based on particle swarm optimization and simulation test. Acta Electron. Sin. 2008, 36, 2224–2228. [Google Scholar]
- Zhang, L.; Gao, T.; Cai, G.; Hai, K.L. Research on electric vehicle charging safety warning model based on back propagation neural network optimized by improved gray wolf algorithm. J. Energy Storage 2022, 49, 104092. [Google Scholar] [CrossRef] [Scilit]
- Zhao, X.; Xu, L. Improved Firefly Algorithm Optimization for Health Status Estimation of Power Lithium ion Batteries Using Backpropagation Neural Network. Energy Storage Sci. Technol. 2023, 12, 934–940. [Google Scholar]
- Wei, X.; She, S.; Rong, W.; Liu, A. Health status prediction of lithium batteries based on cuckoo algorithm optimized BP neural network. Comput. Meas. Control 2021, 29, 65–69. [Google Scholar]
- Ahmad, A.; Senjyu, T.; Ahmed, S.; Uehara, A.; Rahman, M.S.A.; Talaat, M.; Song, D.; Elkholy, M. Resilience-oriented optimization of a green hydrogen backup system with an integrated electric vehicle charging network using the hippopotamus optimization algorithm in semi-urban areas of Pakistan. Energy Convers. Manag. 2026, 350, 120993. [Google Scholar] [CrossRef] [Scilit]
- Saber, A.; De Luca, C.; Pourzangbar, A.; Tondelli, S.; Bell, M.L. Heat wave risk assessment in Bologna using Spatio-temporal artificial intelligence: Leveraging LSTM enhanced by the hippopotamus optimization algorithm. Sustain. Cities Soc. 2025, 131, 106671. [Google Scholar] [CrossRef] [Scilit]
- Geetha, N.; Kavitha, D.; Kumaresan, D. Influence of Electrode Parameters on the Performance Behavior of Lithium-Ion Battery. J. Electrochem. Energy Convers. Storage 2023, 20, 011013. [Google Scholar] [CrossRef] [Scilit]
- Amiri, M.H.; Hashjin, N.M.; Montazeri, M.; Mirjalili, S.; Khodadadi, N. Hippopotamus optimization algorithm: A novel nature-inspired optimization algorithm. Sci. Rep. 2024, 14, 5032. [Google Scholar] [CrossRef] [Scilit]
- Wang, D. Key-term separation based hierarchical gradient approach for NN based Hammerstein battery model. Appl. Math. Lett. 2024, 157, 10920. [Google Scholar] [CrossRef] [Scilit]
- Hou, J.; Wang, H.; Su, H.; Chen, F.; Liu, J. A bias-correction modeling method of Hammerstein–Wiener systems with polynomial nonlinearities using noisy measurements. Mech. Syst. Signal Process. 2024, 213, 111329. [Google Scholar] [CrossRef] [Scilit]
- Hou, J. Parsimonious model based consistent subspace identification of Hammerstein systems under periodic disturbances. Int. J. Control Autom. Syst. 2024, 22, 61–71. [Google Scholar] [CrossRef] [Scilit]
- Ding, F.; Xu, L.; Zhang, X.; Ma, H. Hierarchical gradient-and least-squares-based iterative estimation algorithms for input-nonlinear output-error systems from measurement information by using the over-parameterization. Int. J. Robust Nonlinear Control 2024, 34, 1120–1147. [Google Scholar] [CrossRef] [Scilit]
- Ding, F.; Xu, L.; Zhang, X.; Zhou, Y.; Luan, X. Recursive identification methods for general stochastic systems with colored noises by using the hierarchical identification principle and the filtering identification idea. Annu. Rev. Control 2024, 57, 100942. [Google Scholar] [CrossRef] [Scilit]
- Chen, J.; Huang, B.; Gan, M.; Chen, C.P. A novel reduced-order algorithm for rational models based on Arnoldi process and Krylov subspace. Automatica 2021, 129, 109663. [Google Scholar] [CrossRef] [Scilit]
- Ding, F.; Xu, L.; Zhang, X.; Zhou, Y. Filtered auxiliary model recursive generalized extended parameter estimation methods for Box–Jenkins systems by means of the filtering identification idea. Int. J. Robust Nonlinear Control 2023, 33, 5510–5535. [Google Scholar] [CrossRef] [Scilit]
- Ding, F.; Shao, X.; Xu, L.; Zhang, X.; Xu, H.; Zhou, Y. Filtered generalized iterative parameter identification for equation-error autoregressive models based on the filtering identification idea. Int. J. Adapt. Control Signal Process. 2024, 38, 1363–1385. [Google Scholar] [CrossRef] [Scilit]
- Dasgupta, R. Smooth saturation function-based position and attitude tracking of a quad-rotorcraft avoiding singularity. In Proceedings of the 2019 International Conference on Unmanned Aircraft Systems (ICUAS), Atlanta, GA, USA, 11–14 June 2019; pp. 692–703. [Google Scholar]
- Dai, H.; MacBeth, C. Effects of learning parameters on learning procedure and performance of a BPNN. Neural Netw. 1997, 10, 1505–1521. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bhat, A.Y.; Qayoum, A. Viscosity of CuO nanofluids: Experimental investigation and modelling with FFBP-ANN. Thermochim. Acta 2022, 714, 179267. [Google Scholar] [CrossRef] [Scilit]
- Seo, M.; Goh, T.; Park, M.; Koo, G.; Kim, S.W. Detection of internal short circuit in lithium ion battery using model-based switching model method. Energies 2017, 10, 76. [Google Scholar] [CrossRef] [Scilit]
- Dey, S.; Biron, Z.A.; Tatipamula, S.; Das, N.; Mohon, S.; Ayalew, B.; Pisu, P. Model-based real-time thermal fault diagnosis of Lithium-ion batteries. Control Eng. Pract. 2016, 56, 37–48. [Google Scholar] [CrossRef] [Scilit]
- Lu, X.; Qiu, J.; Lei, G.; Zhu, J. Degradation mode knowledge transfer method for LFP batteries. IEEE Trans. Transp. Electrif. 2022, 9, 1142–1152. [Google Scholar] [CrossRef] [Scilit]













| α Palatino Linotype | Network Scale and Complexity | Performance Impact in SOC Prediction Tasks |
|---|---|---|
| α = 1~3 | The number of neurons is relatively small, and the model structure is simple. | The training speed is fast, but the fitting ability is limited, which may make it difficult to capture complex nonlinear features in dynamic changes, resulting in lower prediction accuracy. |
| α = 4~6 | The number of neurons is moderate, and the model complexity and expression ability are relatively balanced. | The good balance between generalization ability and fitting ability can achieve reliable prediction accuracy under most conventional operating conditions (such as 25 °C FUDS/DST), making it a more universal and robust initial choice. |
| α = 7~10 | There are a large number of neurons, the model structure is complex, and the representation ability is strong. | Having strong nonlinear fitting ability, it can more accurately learn the complex mapping relationship of battery systems under a wide temperature range (0–45 °C) and dynamic load, providing a structural basis for achieving high-precision prediction, as shown in the article. |
| Test Function | F4 | F7 | F8 | F13 |
|---|---|---|---|---|
| HO | 6.1 × 10−261 | 4.6 × 10−5 | −2.1 × 104 | 1.1 × 10−4 |
| GWO | 4.3 × 10−15 | 2.1 × 10−3 | −5.6 × 103 | 0.286 |
| PSO | 4.7 × 10−51 | 6.1 × 10−2 | −3.1 × 103 | 0.064 |
| Battery Specifications | Specification Value |
|---|---|
| Battery Type | INR18650-20R |
| Capacity Rating | 2000 m Ah |
| Battery Materials | LiNiMnCo/Graphite |
| Saturation voltage | 4.2 V |
| Cut-off voltage | 2.5 V |
| Weight | 45 g |
| Diameter Size | 18.33 mm |
| Length | 64.85 mm |
| Temperature | 0 °C | 25 °C | 45 °C | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | R2 | MSE | RMSE | MAE | R2 | MSE | RMSE | MAE | R2 | MSE | RMSE | MAE |
| Hammerstein | 0.976 | 3.7 × 10−5 | 0.615% | 0.469% | 0.938 | 1.2 × 10−4 | 1.121% | 0.481% | 0.963 | 7.3 × 10−5 | 0.856% | 0.739% |
| GWO-BP | 0.947 | 8.4 × 10−5 | 0.916% | 0.654% | 0.909 | 1.8 × 10−4 | 1.349% | 0.623% | 0.921 | 1.6 × 10−4 | 1.263% | 1.105% |
| PSO-BP | 0.898 | 1.6 × 10−4 | 1.269% | 0.983% | 0.909 | 1.8 × 10−4 | 1.353% | 0.789% | 0.924 | 1.5 × 10−4 | 1.235% | 0.979% |
| Temperature | 0 °C | 25 °C | 45 °C | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | R2 | MSE | RMSE | MAE | R2 | MSE | RMSE | MAE | R2 | MSE | RMSE | MAE |
| Hammerstein | 0.986 | 2.4 × 10−5 | 0.485% | 0.368% | 0.968 | 6.7 × 10−5 | 0.816% | 0.569% | 0.971 | 6.1 × 10−5 | 0.784% | 0.604% |
| GWO-BP | 0.941 | 1.0 × 10−4 | 1.001% | 0.83% | 0.919 | 1.7 × 10−4 | 1.302% | 0.99% | 0.961 | 8.2 × 10−5 | 0.905% | 0.771% |
| PSO-BP | 0.978 | 3.8 × 10−5 | 0.613% | 0.5% | 0.925 | 1.6 × 10−4 | 1.248% | 0.497% | 0.921 | 1.7 × 10−4 | 1.295% | 0.947% |
| Method | Average Training Time (s) | Training Conditions |
|---|---|---|
| Hammerstein | 310 ± 15.3 | Iteration: 50 |
| GWO-BP | 178.47 ± 9.8 | Iteration: 30 |
| PSO-BP | 141.47 ± 10.5 | Iteration: 40 |
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. |
© 2026 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.
Share and Cite
Zhang, L.; Yang, B.; Lyu, L.; Che, S.; Li, H.; Wang, W. A Battery State-of-Charge Prediction Method Based on a Hammerstein Model Integrated with a Hippopotamus Optimization Algorithm and Neural Network. Electronics 2026, 15, 698. https://doi.org/10.3390/electronics15030698
Zhang L, Yang B, Lyu L, Che S, Li H, Wang W. A Battery State-of-Charge Prediction Method Based on a Hammerstein Model Integrated with a Hippopotamus Optimization Algorithm and Neural Network. Electronics. 2026; 15(3):698. https://doi.org/10.3390/electronics15030698
Chicago/Turabian StyleZhang, Liang, Bilong Yang, Ling Lyu, Sihan Che, Haoqiang Li, and Weifei Wang. 2026. "A Battery State-of-Charge Prediction Method Based on a Hammerstein Model Integrated with a Hippopotamus Optimization Algorithm and Neural Network" Electronics 15, no. 3: 698. https://doi.org/10.3390/electronics15030698
APA StyleZhang, L., Yang, B., Lyu, L., Che, S., Li, H., & Wang, W. (2026). A Battery State-of-Charge Prediction Method Based on a Hammerstein Model Integrated with a Hippopotamus Optimization Algorithm and Neural Network. Electronics, 15(3), 698. https://doi.org/10.3390/electronics15030698
