Open Access iconOpen Access

ARTICLE

Hybrid Temporal Convolutional Network-Transformer Model Optimized by Particle Swarm Optimization for State of Charge Estimation of Lithium-Ion Batteries

Xincheng Han1, Hongyan Ma1,2,3,*, Shuo Meng1, Chengzhi Ren1

1 School of Intelligence Science and Technology, Beijing University of Civil Engineering and Architecture, Beijing, 100044, China
2 Institute of Distributed Energy Storage Safety Big Data, Beijing, 100044, China
3 Beijing Key Laboratory of Super Intelligent Technology for Urban Architecture, Beijing University of Civil Engineering and Architecture, Beijing, 100044, China

* Corresponding Author: Hongyan Ma. Email: email

Energy Engineering 2026, 123(4), 23 https://doi.org/10.32604/ee.2025.072906

Abstract

Lithium-ion (Li-ion) batteries stand as the dominant energy storage solution, despite their widespread adoption, precisely determining the state of charge (SOC) continues to pose significant difficulties, with direct implications for battery safety, operational reliability, and overall performance. Current SOC estimation techniques often demonstrate limited accuracy, particularly when confronted with complex operational scenarios and wide temperature variations, where their generalization capacity and dynamic adaptation prove insufficient. To address these shortcomings, this work presents a PSO-TCN-Transformer network model for SOC estimation. This research uses the Particle Swarm Optimization (PSO) method to automatically configure the architectural parameters of the Temporal Convolutional Network (TCN) and Transformer components. This automated optimization enhances the model’s ability to represent the dynamically evolving nature of SOC. Additionally, this integrated framework significantly increases the model’s capacity to capture SOC dynamics in complex operational scenarios. During training and evaluation using a comprehensive dataset that covers complex operating conditions and a broad temperature spanning from −20°C to 40°C, the proposed model achieves a root mean square error (RMSE) of less than 0.6%, a maximum absolute error (MAXE) below 4.0%, and a coefficient of determination (R2) of 99.99%. Additional comparative experiments on data from an energy storage company further verify the model’s superior performance, with an RMSE of 1.18% and an MAXE of 1.95%. The implications of this work extend to the development of optimization strategies and hybrid architectures, providing insights that can be adapted for state estimation across a range of complex dynamic systems.

Keywords

Lithium-ion battery; charge state estimation; PSO algorithm; PSO-TCN-transformer network

Cite This Article

APA Style
Han, X., Ma, H., Meng, S., Ren, C. (2026). Hybrid Temporal Convolutional Network-Transformer Model Optimized by Particle Swarm Optimization for State of Charge Estimation of Lithium-Ion Batteries. Energy Engineering, 123(4), 23. https://doi.org/10.32604/ee.2025.072906
Vancouver Style
Han X, Ma H, Meng S, Ren C. Hybrid Temporal Convolutional Network-Transformer Model Optimized by Particle Swarm Optimization for State of Charge Estimation of Lithium-Ion Batteries. Energ Eng. 2026;123(4):23. https://doi.org/10.32604/ee.2025.072906
IEEE Style
X. Han, H. Ma, S. Meng, and C. Ren, “Hybrid Temporal Convolutional Network-Transformer Model Optimized by Particle Swarm Optimization for State of Charge Estimation of Lithium-Ion Batteries,” Energ. Eng., vol. 123, no. 4, pp. 23, 2026. https://doi.org/10.32604/ee.2025.072906



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 615

    View

  • 106

    Download

  • 0

    Like

Share Link