A Hybrid CNN–LSTM–Attention Mechanism Model for Anomaly Detection in Lithium-Ion Batteries of Electric Bicycles
To improve the accuracy and stability of anomaly detection in lithium-ion batteries for electric bicycles, in this study, we propose a hybrid deep learning model that integrates a convolutional neural network (CNN), long short-term memory (LSTM) network, and attention mechanism to extract local temporal features, capture long-term dependencies, and adaptively focus on key time segments around anomaly occurrences, respectively, thereby achieving a balance between local and global feature modeling. In terms of data preprocessing, separate feature sets are constructed for charging and discharging conditions, and sliding windows combined with min–max normalization are applied to generate model inputs. The model was trained and validated on large-scale real-world battery operation data. The experimental results demonstrate that the proposed method achieves high detection accuracy and robustness in terms of reconstruction error distribution, alarm rate stability, and Top-K anomaly consistency. The method can effectively identify various types of abnormal operating conditions in unlabeled datasets based on unsupervised learning. This study provides a transferable deep learning solution for enhancing the safety monitoring of electric bicycle batteries.
Authors
- Wen‐Cai Ye (ORCID: https://orcid.org/0000-0002-2810-1001)
- Zhaoyang Sun (ORCID: https://orcid.org/0000-0001-5119-7091)
- Yuan Sui
- Yuxin Mao (ORCID: https://orcid.org/0000-0002-2837-2290)
Institutions
- China National Institute of Standardization (CN)
- Zhejiang Gongshang University (CN)
Publication Details
- Journal
- Batteries
- Published
- 2025-10-20
- DOI
- https://doi.org/10.3390/batteries11100384
- Citations
- 1
- Primary Topic
- Advanced Battery Technologies Research
- Type
- article
- Field-Weighted Citation Impact
- 0.68