Temporal Convolutional Network–Transformer Hybrid Architecture with Hippo Optimization for Lithium Battery SOC Estimation
Abstract
1. Introduction
1.1. Literature Review
1.2. The Contributions of This Paper
2. Materials and Methods
2.1. Hippo Optimization Algorithm
- (1).
- The population size and maximum number of iterations, optimization parameters and their upper and lower bounds are set. The population generation formula is shown in Equation (1):
- (2).
- The wandering and predator-attacking behaviors of hippopotamuses are simulated, representing two different strategies to improve the global search ability of the model. The wandering behavior can be expressed as Equation (2)
- (3).
- Finally, the behavior of the hippopotamus fleeing from a predator is simulated; the use of the random variable s improves the local search ability of the hippopotamus algorithm. The mathematical expression is shown in Equations (6) and (7).
2.2. Method for SOC Estimation
2.2.1. Data Pre-Processing
2.2.2. TCN–Transformer Fusion Model
2.2.3. Model Hyperparameter Optimization
3. Results and Discussion
3.1. Datasets
3.2. Assessment Indicators
3.3. SOC Estimation Results
3.3.1. SOC Estimation Validation
3.3.2. Ablation Comparison
- (1)
- CALCE datasets
- (2)
- Experiment data
3.3.3. Comparison with Other Models
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| SOC | State of Charge |
| BMS | Battery Management System |
| EV | Electric Vehicle |
| ECM | Equivalent Circuit Model |
| EM | Electromotive Force |
| OCV | Open Circuit Voltage |
| RMSE | Root Mean Square Error |
| TCN | Temporal Convolutional Network |
| RNN | Recurrent Neural Network |
| Q | Query |
| HO | Hippopotamus Optimization |
| PSO | Particle Swarm Optimization |
| LSTM | Long Short-Term Memory |
| CNN | Convolutional Neural Network |
| DST | Dynamic Stress Test |
| US06 | US06 Supplemental FTP Driving Schedule |
| BJDST | Beijing Dynamic Stress Test |
| FUDS | Federal Urban Driving Schedule |
| ReLU | Rectified Linear Unit |
References
- Shen, W.; Han, W.; Wallington, T.J.; Winkler, S.L. China electricity generation greenhouse gas emission intensity in 2030: Implications for electric vehicles. Environ. Sci. Technol. 2019, 53, 6063–6072. [Google Scholar] [CrossRef] [PubMed]
- Tong, L.; Li, Y.; Xu, Y.; Fang, J.; Wen, C.; Zheng, Y.; Zhang, H.; Peng, B.; Yang, F.; Zhang, J.; et al. A combined method for state-of-charge estimation for lithium-ion batteries based on IGWO-ASRCKF and ELM under various aging levels. J. Energy Storage 2025, 124, 116843. [Google Scholar] [CrossRef]
- Zhao, Z.; Kou, F.; Pan, Z.; Chen, L.; Luo, X.; Yang, T. High-accuracy state-of-charge fusion estimation of lithium-ion batteries by integrating the Extended Kalman Filter with feature-enhanced Random Forest. J. Energy Storage 2025, 118, 116275. [Google Scholar] [CrossRef]
- Lai, X.; Wang, S.; Ma, S.; Xie, J.; Zheng, Y. Parameter sensitivity analysis and simplification of equivalent circuit model for the state of charge of lithium-ion batteries. Electrochim. Acta 2020, 330, 135239. [Google Scholar] [CrossRef]
- Zhou, K.; Wang, X.; Li, Y. Battery state of charge estimation solution based on optimized Ah counting and online calibration strategy for electric vehicle. Int. J. Low-Carbon Technol. 2024, 19, 1780–1786. [Google Scholar] [CrossRef]
- Mehraj, N.; Mateu, C.; Bastida, H.; Li, Y.; Ding, Y.; Sciacovelli, A.; Cabeza, L.F. Artificial intelligence in state of charge estimation: Pioneering approaches across energy storage systems. Energy 2025, 335, 138166. [Google Scholar] [CrossRef]
- Truchot, C.; Dubarry, M.; Liaw, B.Y. State-of-charge estimation and uncertainty for lithium-ion battery strings. Appl. Energy 2014, 119, 218–227. [Google Scholar] [CrossRef]
- Ofoegbu, E.O. State of charge (SOC) estimation in electric vehicle (EV) battery management systems using ensemble methods and neural networks. J. Energy Storage 2025, 114, 115833. [Google Scholar] [CrossRef]
- Zhang, C.; Jiang, J.; Zhang, L.; Liu, S.; Wang, L.; Loh, P.C. A generalized SOC-OCV model for lithium-ion batteries and the SOC estimation for LNMCO battery. Energies 2016, 9, 900. [Google Scholar] [CrossRef]
- Pakjoo, M.; Piegari, L. Experimental Comparison of Different Techniques for Estimating Li-Ion Open-Circuit Voltage. Batteries 2026, 12, 32. [Google Scholar] [CrossRef]
- Yang, Y.; Zhao, L.; Yu, Q.; Liu, S.; Zhou, G.; Shen, W. State of charge estimation for lithium-ion batteries based on cross-domain transfer learning with feedback mechanism. J. Energy Storage 2023, 70, 108037. [Google Scholar] [CrossRef]
- Ahmed, F.; Abulsaud, K.; Massoud, A.M. On equivalent circuit model-based state-of-charge estimation for lithium-ion batteries in electric vehicles. IEEE Access 2025, 13, 69950–69966. [Google Scholar] [CrossRef]
- Guo, W.; Sun, Z.; Guo, J.; Li, Y.; Vilsen, S.B.; Stroe, D.I. Digital Twin-Assisted Degradation Diagnosis and Quantification of NMC Battery Aging Effects During Fast Charging. Adv. Energy Mater. 2024, 14, 2401644. [Google Scholar] [CrossRef]
- Fan, Y.; Huang, Z.; Li, H.; Bin Kaleem, M.; Zhang, R.; Liu, W. State of charge estimation for lithium-ion batteries with enhanced open-circuit voltage model. Measurement 2025, 251, 117124. [Google Scholar] [CrossRef]
- Huang, C.; Sun, J.; Wang, X. State of charge estimation approach based on physics-data fusion model and adaptive Kalman filter for lithium battery. J. Energy Storage 2026, 141, 119291. [Google Scholar] [CrossRef]
- Zou, R.; Duan, Y.; Wang, Y.; Pang, J.; Liu, F.; Sheikh, S.R. A novel convolutional informer network for deterministic and probabilistic state-of-charge estimation of lithium-ion batteries. J. Energy Storage 2023, 57, 106298. [Google Scholar] [CrossRef]
- Wu, C.; Hu, W.; Meng, J.; Xu, X.; Huang, X.; Cai, L. State-of-charge estimation of lithium-ion batteries based on MCC-AEKF in non-Gaussian noise environment. Energy 2023, 274, 127316. [Google Scholar] [CrossRef]
- Xu, Z.; Wang, J.; Lund, P.D.; Zhang, Y. Co-estimating the state of charge and health of lithium batteries through combining a minimalist electrochemical model and an equivalent circuit model. Energy 2022, 240, 122815. [Google Scholar] [CrossRef]
- Chaoui, H.; Ibe-Ekeocha, C.C. State of charge and state of health estimation for lithium batteries using recurrent neural networks. IEEE Trans. Veh. Technol. 2017, 66, 8773–8783. [Google Scholar] [CrossRef]
- Bobobee, E.D.; Wang, S.; Takyi-Aninakwa, P.; Liu, G.; Koukoyi, E. State of charge estimation of lithium-ion batteries using improved multi-attention long short-term memory extended Kalman filtering model. Eng. Appl. Artif. Intell. 2025, 158, 111526. [Google Scholar] [CrossRef]
- Gao, W.; Zhu, Z.; Qiao, D.; Guo, D.; Lai, X.; Shi, J.; Xu, Z.; Qian, Z.; Han, X.; Zheng, Y. Real-data-driven state of charge estimation for energy storage systems: A gated recurrent unit approach leveraging calibration opportunities. J. Energy Storage 2026, 157, 121632. [Google Scholar] [CrossRef]
- Xi, Z.; Wang, R.; Fu, Y.; Mi, C. Accurate and reliable state of charge estimation of lithium ion batteries using time-delayed recurrent neural networks through the identification of overexcited neurons. Appl. Energy 2022, 305, 117962. [Google Scholar] [CrossRef]
- Zhao, Y.; Li, Y.; Cao, Y.; Wang, Y. Improving lightweight state-of-charge estimation of lithium-ion battery using residual network and gated recurrent neural network. J. Energy Storage 2025, 116, 115934. [Google Scholar] [CrossRef]
- Wang, J.; Ye, Y.; Wu, M.; Zhang, F.; Cao, Y.; Zhang, Z. Time-convolution optimization network for power battery SOC estimation. J. Chongqing Univ. Technol. 2024, 38, 39–46. [Google Scholar] [CrossRef]
- Hu, C.; Cheng, F.; Ma, L.; Li, B. State of charge estimation for lithium-ion batteries based on TCN-LSTM neural networks. J. Electrochem. Soc. 2022, 169, 030544. [Google Scholar] [CrossRef]
- Zhang, W.; Hao, H.; Zhang, Y. State of Charge Estimation of Lithium-Ion Batteries for Electric Aircraft with Swin Transformer. IEEE/CAA J. Autom. Sin. 2025, 12, 645–647. [Google Scholar] [CrossRef]
- Wu, T.; Pan, L.; An, X. A noise cancellation method for the oscillation signal of hydropower units by integrating HO-VMD. J. Hydropower Gener. 2024, 43, 107–115. [Google Scholar] [CrossRef]
- Amiri, M.H.; Mehrabi Hashjin, N.; Montazeri, M.; Mirjalili, S.; Khodadadi, N. Hippopotamus optimization algorithm: A novel nature-inspired optimization algorithm. Sci. Rep. 2024, 14, 5032. [Google Scholar] [CrossRef] [PubMed]
- Wu, L.; Yu, J.; Dai, Y.; Gao, T.; Zhang, J. Photovoltaic Power Generation Forecasting Based on TCN-Transformer Model. In 2024 5th International Conference on Artificial Intelligence and Electromechanical Automation (AIEA); IEEE: New York, NY, USA, 2024; Available online: https://ieeexplore.ieee.org/document/10692906 (accessed on 2 September 2025).
- Farha, Y.A.; Gall, J. Ms-tcn: Multi-stage temporal convolutional network for action segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2019; pp. 3575–3584. Available online: https://ieeexplore.ieee.org/document/8805688 (accessed on 20 December 2025).
- Hewage, P.; Behera, A.; Trovati, M.; Pereira, E.; Ghahremani, M.; Palmieri, F.; Liu, Y. Temporal convolutional neural (TCN) network for an effective weather forecasting using time-series data from the local weather station. Soft Comput. 2020, 24, 16453–16482. [Google Scholar] [CrossRef]
- Xu, G.; Wang, X.; Wu, X.; Leng, X.; Xu, Y. Development of residual learning in deep neural networks for computer vision: A survey. Eng. Appl. Artif. Intell. 2024, 142, 109890. [Google Scholar] [CrossRef]
- Gong, L.; Yu, M.; Jiang, S.; Cutsuridis, V.; Pearson, S. Deep learning based estimation on greenhouse crop yield combined TCN and RNN. Sensors 2021, 21, 4537. [Google Scholar] [CrossRef]
- Vaswani, A. Attention is all you need. arXiv 2017. [Google Scholar] [CrossRef]
- Zou, Y.; Wang, S.; Cao, W.; Hai, N.; Fernandez, C. Enhanced transformer encoder long short-term memory hybrid neural network for multiple temperature state of charge estimation of lithium-ion batteries. J. Power Sources 2025, 632, 236411. [Google Scholar] [CrossRef]
- Hatamizadeh, A.; Kautz, J. Mambavision: A hybrid mamba-transformer vision backbone. In Proceedings of the Computer Vision and Pattern Recognition Conference; IEEE: New York, NY, USA, 2025; pp. 25261–25270. [Google Scholar] [CrossRef]
- Zhu, L.; Wang, X.; Ke, Z.; Zhang, W.; Lau, R. Biformer: Vision transformer with bi-level routing attention. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2023; pp. 10323–10333. [Google Scholar] [CrossRef]
- Yeh, C.; Chen, Y.; Wu, A.; Chen, C.; Viégas, F.; Wattenberg, M. Attentionviz: A global view of transformer attention. IEEE Trans. Vis. Comput. Graph. 2023, 30, 262–272. [Google Scholar] [CrossRef] [PubMed]
- Pecht, M. Battery Data Set; CALCE, CALCE Battery Research Group: Maryland, MD, USA, 2017; Available online: https://calce.umd.edu/battery-data#INR (accessed on 17 November 2025).
- Hou, J.; Xu, J.; Lin, C.; Jiang, D.; Mei, X. State of charge estimation for lithium-ion batteries based on battery model and data-driven fusion method. Energy 2024, 290, 130056. [Google Scholar] [CrossRef]
- Chen, J.; Zhang, Y.; Wu, J.; Cheng, W.; Zhu, Q. SOC estimation for lithium-ion battery using the LSTM-RNN with extended input and constrained output. Energy 2023, 262, 125375. [Google Scholar] [CrossRef]
- Li, S.; Yang, S.; Jiang, Z.; Jiang, W.; Zhu, Z.; Ma, Y. An online state of charge estimation method: Support vector machine battery model fusing a filtering algorithm. Electr. Power Syst. Res. 2026, 253, 112530. [Google Scholar] [CrossRef]
- Yang, M.; Shi, H.; Zhu, Y.; Zou, Y.; Xiong, L.; Huang, Q. A novel polynomial-activated neural network with locally weighted scatterplot smoothing for small-sample state-of-charge estimation in lithium-ion batteries. J. Energy Storage 2026, 149, 120325. [Google Scholar] [CrossRef]
- Zou, Y.; Wang, S.; Hai, N.; Blaabjerg, F.; Fernandez, C.; Cao, W. Enhanced quantile regression long short-term memory hybrid neural network for the state of charge point and interval estimation of lithium-ion batteries. Energy 2025, 332, 137201. [Google Scholar] [CrossRef]
- Hussein, H.M.; Aghmadi, A.; Abdelrahman, M.S.; Rafin, S.M.S.H.; Mohammed, O. A review of battery state of charge estimation and management systems: Models and future prospective. WIREs Energy Environ. 2024, 13, E507. [Google Scholar] [CrossRef]



















| Parameters | Parameter Value |
|---|---|
| filter size | [3, 10] |
| Number of filters | [10, 50] |
| Number of residual blocks | [1, 5] |
| Number of encoder layers | [1, 6] |
| Parameters | Parameter Value | |
|---|---|---|
| HO | Search Agents | 30 |
| Max_iterations | 50 | |
| bound | [−10, 10] | |
| TCN layer | Dilatation factor | 2^(I − 1) |
| feature settings | Current, voltage | |
| numBlocks | 2 | |
| Transformer layer | Maximum position code length | 128 |
| Number of heads of multi-attention mechanisms | 4 | |
| Training parameters | Optimizer | Adam |
| Iterations | 30 | |
| Dropout Layer Discard Rate | 0.1 | |
| Learning Rate | 0.001 |
| Dataset | Battery Capacity (Ah) | Cathode Materials | Upper/Lower Cutoff Voltage (V) | Battery Type |
|---|---|---|---|---|
| CALCE | 2 | LiNiMnCo/Graphite | 4.2/2.5 | Cylindrical Battery |
| Experiment | 3.35 | NCM | 4.2/2.75 | Cylindrical Battery |
| Condition | Temperature | R2 (%) | RMSE (%) | MAE (%) |
|---|---|---|---|---|
| DST | 0 °C | 99.9598 | 0.693 | 0.588 |
| 25 °C | 99.9936 | 0.511 | 0.506 | |
| 45 °C | 99.9613 | 0.594 | 0.488 | |
| US06 | 0 °C | 99.9661 | 0.602 | 0.513 |
| 25 °C | 99.9913 | 0.637 | 0.525 | |
| 45 °C | 99.9796 | 0.556 | 0.541 | |
| FUDS | 0 °C | 99.9657 | 0.665 | 0.532 |
| 25 °C | 99.989 | 0.539 | 0.468 | |
| 45 °C | 99.9801 | 0.637 | 0.528 |
| Condition | Method | R2 (%) | RMSE (%) | MAE (%) |
|---|---|---|---|---|
| US06 | HO–TCN–Transformer | 99.9676 | 0.649 | 0.532 |
| TCN–Transformer | 99.7868 | 1.102 | 0.86 | |
| TCN | 99.629 | 1.402 | 1.209 | |
| FUDS | HO–TCN–Transformer | 99.9763 | 0.525 | 0.491 |
| TCN–Transformer | 99.2105 | 2.16 | 1.74 | |
| TCN | 99.1293 | 2.25 | 1.79 | |
| DST | HO–TCN–Transformer | 99.9898 | 0.532 | 0.493 |
| TCN–Transformer | 99.7662 | 1.107 | 0.91 | |
| TCN | 99.677 | 1.803 | 1.44 |
| Condition | Method | R2 (%) | RMSE (%) | MAE (%) |
|---|---|---|---|---|
| US06 | HO–TCN–Transformer | 99.9898 | 0.594 | 0.525 |
| TCN–Transformer | 99.9314 | 0.556 | 0.415 | |
| TCN | 99.7948 | 0.95 | 0.882 | |
| FUDS | HO–TCN–Transformer | 99.9102 | 0.685 | 0.508 |
| TCN–Transformer | 99.8143 | 1.013 | 0.605 | |
| TCN | 98.7515 | 1.16 | 0.94 |
| Method | Temperature | Errors | Presentation Time |
|---|---|---|---|
| EKF–XGBoost [40] | 25 °C | RMSE = 0.56% (US06) MAE = 0.78% | 2024 |
| LSTM–EKF [20] | 25 °C | RMSE = 0.82% (FUDS) MAE = 0.64% | 2025 |
| EI–LSTM–CO [41] | 25 °C | RMSE = 0.5% (FUDS) MAXE = 2.3% | 2023 |
| AEKF+SVM [42] | Unknown | RMSE = 0.8735% (FUDS) MAE = 0.7614% | 2026 |
| PAN–LS [43] | 25 °C | RMSE = 0.95% (FUDS) MAE = 0.66% | 2026 |
| CNN–QRLSTM–Attention [44] | 25 °C | RMSE = 0.676% (FUDS) MAE = 0.490% | 2025 |
| HO–TCN–Transformer | 25 °C | RMSE = 0.539% (FUDS) MAE = 0.468% (FUDS) | this study |
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. Published by MDPI on behalf of the World Electric Vehicle Association. 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
Wu, L.; Wang, Y.; Xing, L. Temporal Convolutional Network–Transformer Hybrid Architecture with Hippo Optimization for Lithium Battery SOC Estimation. World Electr. Veh. J. 2026, 17, 236. https://doi.org/10.3390/wevj17050236
Wu L, Wang Y, Xing L. Temporal Convolutional Network–Transformer Hybrid Architecture with Hippo Optimization for Lithium Battery SOC Estimation. World Electric Vehicle Journal. 2026; 17(5):236. https://doi.org/10.3390/wevj17050236
Chicago/Turabian StyleWu, Long, Yang Wang, and Likun Xing. 2026. "Temporal Convolutional Network–Transformer Hybrid Architecture with Hippo Optimization for Lithium Battery SOC Estimation" World Electric Vehicle Journal 17, no. 5: 236. https://doi.org/10.3390/wevj17050236
APA StyleWu, L., Wang, Y., & Xing, L. (2026). Temporal Convolutional Network–Transformer Hybrid Architecture with Hippo Optimization for Lithium Battery SOC Estimation. World Electric Vehicle Journal, 17(5), 236. https://doi.org/10.3390/wevj17050236

