Pattern-aware transformer for SOC estimation in IoT-based battery management systems: Toward energy-efficient and interpretable modeling

Accurate estimation of the State of Charge (SOC) is essential for enhancing the efficiency and reliability of Battery Management Systems (BMS) in Internet of Things (IoT) applications. This study introduces the Pattern-Aware Transformer Model (PATM), an interpretable framework for SOC prediction in Float-Nominal (FN), Constant-Current (CC), and Energy Release (ER) scenarios. PATM extends the standard Transformer architecture by incorporating a pattern embedding mechanism that explicitly encodes operating conditions and directs adaptive attention allocation. A feature engineering pipeline that combines mutual information (MI) ranking and principal component analysis (PCA) reduces dimensionality while preserving physically relevant variables. On real-world data, PATM achieves an RMSE of 2.08 × 10 −3 and an R 2 of 0.9998, outperforming the Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) baselines. Compared with single-scenario CC modeling, multi-scenario learning reduces RMSE, MAE, MSE, and MAPE by 54.9%, 80.1%, 79.6%, and 75.9%, respectively. Ablation studies further demonstrate that removing the embedding module increases RMSE by 2.4%, MAE by 17.8%, and MSE by 4.9%, while leaving R 2 nearly unchanged. This indicates that the embedding mechanism enhances cross-scenario robustness and error stability. SHapley Additive exPlanations (SHAP) analysis and attention visualizations reveal the model’s dependence on physically relevant factors, including temperature gradients, voltage fluctuations, and internal resistance. • This study combines MI ranking and PCA for efficient feature selection, preserving interpretability while reducing redundancy. • This study introduces a multi-scenario approach that integrates data from diverse operating phases, enhancing adaptability and accuracy. • This study introduces the Pattern-Aware Transformer Model (PATM), and experimental results show that it outperforms LSTM and GRU across multiple metrics, demonstrating its accuracy and robustness.

Authors

Institutions

Publication Details

Journal
Applied Energy
Published
2026-02-17
DOI
https://doi.org/10.1016/j.apenergy.2026.127507
Primary Topic
Advanced Battery Technologies Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Pattern-aware transformer for SOC estimation in IoT-based battery management systems: Toward energy-efficient and interpretable modeling

Zhen‐Song Chen, Ying Deng, Muhammet Deveci, Jiang Huang et al.
Applied Energy
Advanced Battery Technologies Research
article

Pattern-aware transformer for SOC estimation in IoT-based battery management systems: Toward energy-efficient and interpretable modeling

Zhen‐Song Chen, Ying Deng, Muhammet Deveci, Jiang Huang, Sheng-Hua Xiong
article en

Abstract

Accurate estimation of the State of Charge (SOC) is essential for enhancing the efficiency and reliability of Battery Management Systems (BMS) in Internet of Things (IoT) applications. This study introduces the Pattern-Aware Transformer Model (PATM), an interpretable framework for SOC prediction in Float-Nominal (FN), Constant-Current (CC), and Energy Release (ER) scenarios. PATM extends the standard Transformer architecture by incorporating a pattern embedding mechanism that explicitly encodes operating conditions and directs adaptive attention allocation. A feature engineering pipeline that combines mutual information (MI) ranking and principal component analysis (PCA) reduces dimensionality while preserving physically relevant variables. On real-world data, PATM achieves an RMSE of 2.08 × 10 −3 and an R 2 of 0.9998, outperforming the Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) baselines. Compared with single-scenario CC modeling, multi-scenario learning reduces RMSE, MAE, MSE, and MAPE by 54.9%, 80.1%, 79.6%, and 75.9%, respectively. Ablation studies further demonstrate that removing the embedding module increases RMSE by 2.4%, MAE by 17.8%, and MSE by 4.9%, while leaving R 2 nearly unchanged. This indicates that the embedding mechanism enhances cross-scenario robustness and error stability. SHapley Additive exPlanations (SHAP) analysis and attention visualizations reveal the model’s dependence on physically relevant factors, including temperature gradients, voltage fluctuations, and internal resistance. • This study combines MI ranking and PCA for efficient feature selection, preserving interpretability while reducing redundancy. • This study introduces a multi-scenario approach that integrates data from diverse operating phases, enhancing adaptability and accuracy. • This study introduces the Pattern-Aware Transformer Model (PATM), and experimental results show that it outperforms LSTM and GRU across multiple metrics, demonstrating its accuracy and robustness.

Applied EnergyVol. 410
Naval Academy (TR), Korea University (KR), Wuhan University (CN), Academy of Fine Arts in Katowice (PL), Akademia Śląska (PL), University College London (GB), Civil Aviation Flight University of China (CN), City University of Macau (MO)
Affordable and clean energy
Openalex Percentile: Top 54%
Advanced Battery Technologies Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.