IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v410y2026ics0306261926001595.html

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

Author

Listed:
  • Deng, Yun-Jia
  • Huang, Jiang
  • Xiong, Sheng-Hua
  • Chen, Zhen-Song
  • Deveci, Muhammet

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 R2 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 R2 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.

Suggested Citation

  • Deng, Yun-Jia & Huang, Jiang & Xiong, Sheng-Hua & Chen, Zhen-Song & Deveci, Muhammet, 2026. "Pattern-aware transformer for SOC estimation in IoT-based battery management systems: Toward energy-efficient and interpretable modeling," Applied Energy, Elsevier, vol. 410(C).
  • Handle: RePEc:eee:appene:v:410:y:2026:i:c:s0306261926001595
    DOI: 10.1016/j.apenergy.2026.127507
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261926001595
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2026.127507?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:appene:v:410:y:2026:i:c:s0306261926001595. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.