A Hybrid CNN–LSTM–Attention Mechanism Model for Anomaly Detection in Lithium-Ion Batteries of Electric Bicycles
Source abstract
Abstract
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.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Battery Technologies Research · Fault Detection and Control Systems · Anomaly Detection Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
High-Tech Standardization Research Institute, China National Institute of Standardization, Beijing 100191, China
School of Management and E-Business, Zhejiang Gongshang University, Hangzhou 310018, China
Funding
the National Key R&D Program · the Eaglet Program Cultivation Project from Zhejiang Provincial Administration for Market Regulation
References (39)
Show source-provided references
1. A review of lithium-ion battery safety concerns: The issues, strategies, and testing standards10.1016/j.jechem.2020.10.017 ↗
2. Guo, R., Lu, L., Ouyang, M., and Feng, X. (2016). Mechanism of the entire overdischarge process and overdischarge-induced internal short circuit in lithium-ion batteries. Sci. Rep., 6.10.1038/srep30248 ↗
3. Revealing the Impact of High Current Overcharge/Overdischarge on the Thermal Safety of Degraded Li-Ion Batteries10.1155/2023/8571535 ↗
4. Effect of overcharge on the electrochemical and thermal safety behaviors of LiNi0.5Mn0.3Co0.2O2/graphite lithium-ion batteries10.1016/j.est.2021.103829 ↗
5. Yin, T., Jia, L., Li, X., Zheng, L., and Dai, Z. (2022). Effect of High-Rate Cycle Aging and Over-Discharge on NCM811 (LiNi0.8Co0.1Mn0.1O2) Batteries. Energies, 15.10.3390/en15082862 ↗
6. Tran, M.-K., and Fowler, M. (2020). A Review of Lithium-Ion Battery Fault Diagnostic Algorithms: Current Progress and Future Challenges. Algorithms, 13.10.3390/a13030062 ↗
7. Samanta, A., Chowdhuri, S., and Williamson, S.S. (2021). Machine Learning-Based Data-Driven Fault Detection/Diagnosis of Lithium-Ion Battery: A Critical Review. Electronics, 10.10.3390/electronics10111309 ↗
8. Realistic fault detection of li-ion battery via dynamical deep learning10.1038/s41467-023-41226-5 ↗
9. Fan, Y., Huang, Z., Li, H., Yuan, W., Yan, L., Liu, Y., and Chen, Z. (2025). Fault detection for Li-ion batteries of electric vehicles with feature-augmented attentional autoencoder. Sci. Rep., 15.10.1038/s41598-025-03227-w ↗
10. Identification of voltage abnormality in the battery system based on fusion of multiple sparse data observers for real-world electric vehicles10.1016/j.est.2025.115727 ↗
11. Nazim, M.S., Jang, Y.M., and Chung, B. (2024, January 19–22). Machine Learning Based Battery Anomaly Detection Using Empirical Data. Proceedings of the 2024 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Osaka, Japan.10.1109/ICAIIC60209.2024.10463489 ↗
12. Prediction of rare and anomalous minerals using anomaly detection and machine learning techniques10.1016/j.acags.2025.100250 ↗
13. CNN-LSTM based incremental attention mechanism enabled phase-space reconstruction for chaotic time series prediction10.1016/j.jnlest.2024.100256 ↗
14. Chen, H., Wang, K., Zhao, M., Chen, Y., and He, Y. (2025). A CNN-LSTM-attention based seepage pressure prediction method for Earth and rock dams. Sci. Rep., 15.10.1038/s41598-025-96936-1 ↗
15. An Attention-Based ConvLSTM Autoencoder with Dynamic Thresholding for Unsupervised Anomaly Detection in Multivariate Time Series10.3390/make4020015 ↗
16. A Hybrid Technique using CNN LSTM for Speech Emotion Recognition10.35940/ijeat.E1027.069520 ↗
17. Borre, A., Seman, L.O., Camponogara, E., Stefenon, S.F., Mariani, V.C., and Coelho, L.d.S. (2023). Machine Fault Detection Using a Hybrid CNN-LSTM Attention-Based Model. Sensors, 23.10.3390/s23094512 ↗
18. Prediction of Machine Failure in Industry 4.0: A Hybrid CNN-LSTM Framework10.3390/app12094221 ↗
19. A hybrid model based on CNN-LSTM for assessing the risk of increasing claims in insurance companies10.7717/peerj-cs.2830 ↗
20. State of health estimation of lithium-ion battery with automatic feature extraction and self-attention learning mechanism10.1016/j.jpowsour.2022.232466 ↗
21. Ouyang, J., Lin, Z., Hu, L., and Fang, X. (2025). Voltage faults diagnosis for lithium-ion batteries in electric vehicles using optimized graphical neural network. Sci. Rep., 15.10.1038/s41598-025-13188-9 ↗
22. Shi, D., Zhao, J., Wang, Z., Zhao, H., Wang, J., Lian, Y., and Burke, A.F. (2023). Spatial-Temporal Self-Attention Transformer Networks for Battery State of Charge Estimation. Electronics, 12.10.3390/electronics12122598 ↗
23. Hussein, H.M., Esoofally, M., Donekal, A., Rafin, S.M.S.H., and Mohammed, O. (2024). Comparative Study-Based Data-Driven Models for Lithium-Ion Battery State-of-Charge Estimation. Batteries, 10.10.3390/batteries10030089 ↗
24. Convolutional neural networks: An overview and application in radiology10.1007/s13244-018-0639-9 ↗
25. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
26. LSTM: A search space odyssey10.1109/TNNLS.2016.2582924 ↗
27. Madani, S.S., Ziebert, C., Vahdatkhah, P., and Sadrnezhaad, S.K. (2024). Recent Progress of Deep Learning Methods for Health Monitoring of Lithium-Ion Batteries. Batteries, 10.10.3390/batteries10060204 ↗
28. (2018). Secondary Lithium-Ion Cells for the Propulsion of Electric Road Vehicles—Part 1: Performance Testing (Standard No. IEC 62660-1).
29. (2018). Secondary Lithium-Ion Cells for the Propulsion of Electric Road Vehicles—Part 2: RELIABILITY and Abuse Testing (Standard No. IEC 62660-2).
30. (2018). Lithium-Ion Battery for Electric Bicycle (Standard No. GB/T 36972-2018).
31. Lee, J., Wang, L., Jung, H., Lim, B., Kim, D., Liu, J., and Lim, J. (2025). Deep Neural Network with Anomaly Detection for Single-Cycle Battery Lifetime Prediction. Batteries, 11.10.3390/batteries11080288 ↗
32. Goldstein, M., and Uchida, S. (2016). A Comparative Evaluation of Unsupervised Anomaly Detection Algorithms for Multivariate Data. PLoS ONE, 11.10.1371/journal.pone.0152173 ↗
33. Unsupervised anomaly detection in time-series: An extensive evaluation and analysis of state-of-the-art methods10.1016/j.eswa.2024.124922 ↗
34. Two-step residual-error based approach for anomaly detection in engineering systems using variational autoencoders10.1016/j.compeleceng.2022.108065 ↗
35. Lachekhab, F., Benzaoui, M., Tadjer, S.A., Bensmaine, A., and Hamma, H. (2024). LSTM-Autoencoder Deep Learning Model for Anomaly Detection in Electric Motor. Energies, 17.10.3390/en17102340 ↗
36. The Kolmogorov-Smirnov test for goodness of fit10.1080/01621459.1951.10500769 ↗
37. Computational optimal transport: With applications to data science10.1561/2200000073 ↗
38. Étude comparative de la distribution florale dans une portion des Alpes et des Jura
39. The probabilistic basis of Jaccard’s index of similarity10.1093/sysbio/45.3.380 ↗