IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v337y2025ics0360544225042598.html

Anomaly detection for real-world electric vehicle charging data using a convolutional autoencoder with multiscale convolution, attention mechanism, and BiLSTM

Author

Listed:
  • Liu, Zhibin
  • Li, Lei
  • Ding, Xiaoyin
  • Wang, Xia
  • Liu, Zhiheng
  • Wang, Yawen
  • Hu, Changpeng

Abstract

With the rapid expansion of electric vehicle (EV) charging, charging safety has become increasingly critical. Real-world charging data exhibit complex characteristics, including high dimensionality, nonlinearity, and strong volatility, while existing anomaly detection methods remain immature. To improve the detection of anomalies in complex EV charging data, this study proposes a method based on an enhanced convolutional autoencoder (CoAE), MA-BiLSTM-MCoAE. The model builds upon the traditional CoAE by integrating a multi-scale convolutional autoencoder (MCoAE), bidirectional long short-term memory (BiLSTM) networks, and multi-head attention (MA) mechanisms, enabling it to effectively capture the intricate temporal and spatial patterns in charging data. An exponential weighted moving average (EWMA) is then introduced to optimize error processing. Experiments are conducted on real charging data and alarm cases from multiple vehicle types. The results show that, compared with the baseline CoAE model, the mean squared error (MSE) and mean absolute error (MAE) are reduced by 95.85 % and 83.47 %, respectively, the inference time for a single charging session reaches 17.69 ms, and potential over-temperature and voltage anomalies can be detected 8.3 min and 11.55 min in advance. The proposed method provides a novel solution for high-dimensional time-series feature extraction, multi-target collaborative prediction, and noise-suppressed anomaly warning, offering broad prospects for engineering applications.

Suggested Citation

  • Liu, Zhibin & Li, Lei & Ding, Xiaoyin & Wang, Xia & Liu, Zhiheng & Wang, Yawen & Hu, Changpeng, 2025. "Anomaly detection for real-world electric vehicle charging data using a convolutional autoencoder with multiscale convolution, attention mechanism, and BiLSTM," Energy, Elsevier, vol. 337(C).
  • Handle: RePEc:eee:energy:v:337:y:2025:i:c:s0360544225042598
    DOI: 10.1016/j.energy.2025.138617
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.energy.2025.138617?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.

    References listed on IDEAS

    as
    1. Xu, Zhiqiang & Zhang, Yujie & Miao, Qiang, 2024. "An attention-based multi-scale temporal convolutional network for remaining useful life prediction," Reliability Engineering and System Safety, Elsevier, vol. 250(C).
    2. Chen, Hansi & Liu, Hang & Chu, Xuening & Liu, Qingxiu & Xue, Deyi, 2021. "Anomaly detection and critical SCADA parameters identification for wind turbines based on LSTM-AE neural network," Renewable Energy, Elsevier, vol. 172(C), pages 829-840.
    3. Jack, Michael W. & Paulsen, Pablo & Xiao, Xun & Parker, Rafferty & Myall, Daniel, 2025. "Estimating the seasonal variation in electricity demand of future electric vehicle fleets," Energy, Elsevier, vol. 333(C).
    4. Li, Kuijie & Chen, Long & Gao, Xinlei & Lu, Yao & Wang, Depeng & Zhang, Weixin & Wu, Weixiong & Han, Xuebing & Cao, Yuan-cheng & Wen, Jinyu & Cheng, Shijie & Ouyang, Minggao, 2024. "Implementing expansion force-based early warning in LiFePO4 batteries with various states of charge under thermal abuse scenarios," Applied Energy, Elsevier, vol. 362(C).
    5. Li, Zongxiang & Li, Liwei & Chen, Jing & Wang, Dongqing, 2024. "A multi-head attention mechanism aided hybrid network for identifying batteries’ state of charge," Energy, Elsevier, vol. 286(C).
    6. Li, Ziyang & Zhang, Xiangwen & Gao, Wei, 2024. "State of health estimation of lithium-ion battery during fast charging process based on BiLSTM-Transformer," Energy, Elsevier, vol. 311(C).
    7. Chen, Zhiwei & Zhao, Weicheng & Lin, Xiaoyong & Han, Yongming & Hu, Xuan & Yuan, Kui & Geng, Zhiqiang, 2024. "Load prediction of integrated energy systems for energy saving and carbon emission based on novel multi-scale fusion convolutional neural network," Energy, Elsevier, vol. 290(C).
    8. Shuhui, Wang & Zhenpo, Wang & Zhaosheng, Zhang & Ximing, Cheng, 2025. "Fault cause inferences of onboard lithium-ion battery thermal runaway using convolutional neural network," Energy, Elsevier, vol. 320(C).
    9. Javazi, Leila & Alinaghian, Mahdi & Khosroshahi, Hossein, 2025. "Evaluating government policies promoting electric vehicles, considering battery technology, energy saving, and charging infrastructure development: A game theoretic approach," Applied Energy, Elsevier, vol. 390(C).
    10. Sun, Rongli & Chen, Junsheng & Li, Benchuan & Piao, Changhao, 2025. "State of health estimation for Lithium-ion batteries based on novel feature extraction and BiGRU-Attention model," Energy, Elsevier, vol. 319(C).
    11. Li, Chun & Shi, Jiarong, 2025. "A novel CNN-LSTM-based forecasting model for household electricity load by merging mode decomposition, self-attention and autoencoder," Energy, Elsevier, vol. 330(C).
    12. Huang, Jianhua & Zhu, Guoqing & Guo, Dongliang & Huang, Jia & Xiao, Peng & Liu, Tong, 2025. "Study on the extreme early warning method of thermal runaway utilizing li-ion battery strain," Applied Energy, Elsevier, vol. 384(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Wang, Zhuoer & Zhu, Xiaowen & Wang, Qingbo & Zhou, Jian & Li, Bijun & Shi, Baohan & Zhang, Chenming, 2025. "MapVC: Map-based deep learning for real-time current prediction in eco-driving electric vehicles," Applied Energy, Elsevier, vol. 396(C).
    2. Wang, Yaxuan & Guo, Shilong & Cui, Yue & Deng, Liang & Zhao, Lei & Li, Junfu & Wang, Zhenbo, 2025. "A comprehensive review of machine learning-based state of health estimation for lithium-ion batteries: data, features, algorithms, and future challenges," Renewable and Sustainable Energy Reviews, Elsevier, vol. 224(C).
    3. Yuan, Zhu & Deng, Zhongwei & He, Yvxin & Ning, Zhansheng & Liu, Jincheng, 2025. "Multi-step prediction of battery state of health based on self-supervised pre-training and transfer learning using the xPatch model," Energy, Elsevier, vol. 341(C).
    4. Wang, Yechen & Zhang, Xiangwen & Chen, Deqi & Yang, Jiangang, 2025. "State of health estimation of lithium-ion batteries based on BKA-FSVR algorithm with feature reconstruction from partial constant current charging interval," Energy, Elsevier, vol. 335(C).
    5. Chen Zhang & Tao Yang, 2023. "Anomaly Detection for Wind Turbines Using Long Short-Term Memory-Based Variational Autoencoder Wasserstein Generation Adversarial Network under Semi-Supervised Training," Energies, MDPI, vol. 16(19), pages 1-18, October.
    6. Camila Correa-Jullian & Sergio Cofre-Martel & Gabriel San Martin & Enrique Lopez Droguett & Gustavo de Novaes Pires Leite & Alexandre Costa, 2022. "Exploring Quantum Machine Learning and Feature Reduction Techniques for Wind Turbine Pitch Fault Detection," Energies, MDPI, vol. 15(8), pages 1-29, April.
    7. Lin, Xueru & Li, Jing & Zhong, Wei & Lin, Xiaojie & Zhang, Hong & Wei, Wei, 2025. "Cross-scale coordinated optimization method for electricity-thermal-hydrogen systems in chemical industrial parks based on long-term and short-term flexibility margin evaluation," Energy, Elsevier, vol. 340(C).
    8. Zhu, Yongchao & Zhu, Caichao & Tan, Jianjun & Tan, Yong & Rao, Lei, 2022. "Anomaly detection and condition monitoring of wind turbine gearbox based on LSTM-FS and transfer learning," Renewable Energy, Elsevier, vol. 189(C), pages 90-103.
    9. Zeqing Yang & Wenbo Zhang & Wei Cui & Lingxiao Gao & Yingshu Chen & Qiang Wei & Libing Liu, 2022. "Abnormal Detection for Running State of Linear Motor Feeding System Based on Deep Neural Networks," Energies, MDPI, vol. 15(15), pages 1-22, August.
    10. Zang, Haixiang & Li, Wenan & Cheng, Lilin & Liu, Jingxuan & Wei, Zhinong & Sun, Guoqiang, 2025. "Short-term multi-site solar irradiance prediction with dynamic-graph-convolution-based spatial-temporal correlation capturing," Renewable Energy, Elsevier, vol. 246(C).
    11. Christian Gück & Cyriana M. A. Roelofs & Stefan Faulstich, 2024. "CARE to Compare: A Real-World Benchmark Dataset for Early Fault Detection in Wind Turbine Data," Data, MDPI, vol. 9(12), pages 1-16, November.
    12. Qian, XiaoYi & Sun, TianHe & Zhang, YuXian & Wang, BaoShi & Awad Gendeel, Mohammed Altayeb, 2023. "Wind turbine fault detection based on spatial-temporal feature and neighbor operation state," Renewable Energy, Elsevier, vol. 219(P1).
    13. Huang, Jianhua & Zhu, Guoqing & Guo, Dongliang & Huang, Jia & Xiao, Peng & Liu, Tong, 2025. "Study on the extreme early warning method of thermal runaway utilizing li-ion battery strain," Applied Energy, Elsevier, vol. 384(C).
    14. Li, Xuan & Zhang, Wei, 2022. "Physics-informed deep learning model in wind turbine response prediction," Renewable Energy, Elsevier, vol. 185(C), pages 932-944.
    15. Huang, Yajun & Fan, Yu & Sun, Le & Shen, Xiongqi & Zhao, Yinquan & Cao, Yang & Wang, Junling & Wang, Zhirong, 2025. "Mechanism of heat transfer suppression and safety evaluation of high-performance aerogel insulation materials in the thermal runaway propagation of lithium-ion batteries," Energy, Elsevier, vol. 334(C).
    16. Ma, Qiuju & Chen, Zhennan & Chen, Jianhua & Sun, Yubo & Chen, Nan & Du, Mengzhen, 2025. "Assist in real-time risk evaluation induced by electrical cabinet fires in nuclear power plants: A dual AI framework employing BiTCN and TCNN," Reliability Engineering and System Safety, Elsevier, vol. 260(C).
    17. Wang, Weicheng & Chen, Jinglong & Zhang, Tianci & Liu, Zijun & Wang, Jun & Zhang, Xinwei & He, Shuilong, 2023. "An asymmetrical graph Siamese network for one-classanomaly detection of engine equipment with multi-source fusion," Reliability Engineering and System Safety, Elsevier, vol. 235(C).
    18. Feng, Chenlong & Liu, Chao & Jiang, Dongxiang, 2023. "Unsupervised anomaly detection using graph neural networks integrated with physical-statistical feature fusion and local-global learning," Renewable Energy, Elsevier, vol. 206(C), pages 309-323.
    19. Xia, Baozhou & Ye, Min & Wei, Meng & Wang, Qiao & Lian, Gaoqi & Li, Yan, 2025. "SOH estimation of lithium-ion batteries with local health indicators in multi-stage fast charging protocols," Energy, Elsevier, vol. 334(C).
    20. Yang, Jiahong & Zhou, Jianghong & Chai, Yi & Chen, Dingliang & Qin, Yi, 2025. "Benchmark transformation neural network for health indicator construction under time-varying speed and its application in machinery prognostics," Reliability Engineering and System Safety, Elsevier, vol. 257(PA).

    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:energy:v:337:y:2025:i:c:s0360544225042598. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.journals.elsevier.com/energy .

    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.