Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-05T22:39:02.377Z Has data issue: false hasContentIssue false

Transformer and self-supervised learning-based state-of-charge prediction method for lithium-ion batteries

Published online by Cambridge University Press:  21 September 2026

Wei Zhang
Affiliation:
Shenyang Aerospace University, China
Letian Niu
Affiliation:
Shenyang Aerospace University, China
Shaojie Yang
Affiliation:
University of California San Diego, USA
Xiang Li*
Affiliation:
Xi’an Jiaotong University , China
*
Corresponding author: Xiang Li; Email: lixiang@xjtu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

The state-of-charge (SOC) estimation of lithium-ion batteries is essential for the performance, safety, and longevity of electric vehicles. While traditional physics-based models face difficulties in predicting SOC under complex conditions, data-driven methods demand large volumes of labeled data, limiting their practical applicability. This paper introduces a Transformer-based SOC estimation method that incorporates a self-supervised learning framework. By combining a masking recovery mechanism with a self-attention mechanism, the approach effectively captures SOC’s long-term dependencies and identifies global patterns under complex operating conditions. Experimental results on the Nissan Leaf and University of Maryland datasets demonstrate significant performance improvements. Compared to traditional deep learning methods, this approach delivers higher prediction accuracy and robustness, offering an innovative solution for efficient SOC estimation in complicated environments.

Information

Type
Research Article
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Figure 1 long description.SOC prediction process diagram of lithium battery.

Figure 1

Figure 2. The structure of the proposed Transformer-based SOC prediction model.

Figure 2

Figure 3. Random mask of raw data.

Figure 3

Figure 4. Figure 4 long description.The multi-head attention mechanism.

Figure 4

Table I. Main battery parameters.Table I long description.

Figure 5

Figure 5. Schematic of battery testing with Nissan Leaf.

Figure 6

Figure 6. Figure 6 long description.Comparison of prediction results from different networks in task T2-1.

Figure 7

Figure 7. Comparison of prediction results from different networks in task T4-2.

Figure 8

Figure 8. Figure 8 long description.Comparison of prediction results from different networks in task T5-4.

Figure 9

Figure 9. RMSE of SOC prediction results under different tasks.

Figure 10

Figure 10. SOC prediction results under BJDST working condition.

Figure 11

Figure 11. Figure 11 long description.SOC prediction results under DST conditions.

Figure 12

Figure 12. SOC prediction results under US06 conditions.

Figure 13

Figure 13. Figure 13 long description.SOC prediction results under FUDS conditions.

Figure 14

Figure 14. RMSE of SOC prediction results under different working conditions.