Energy Storage Science and Technology ›› 2025, Vol. 14 ›› Issue (10): 3968-3981.doi: 10.19799/j.cnki.2095-4239.2025.0318

• Energy Storage Test: Methods and Evaluation • Previous Articles     Next Articles

Real-time abnormal-battery detection based on the local outlier factor algorithm and the spatiotemporal data features of battery cells

Yiqing LIU1(), Hao WANG2, Lingxia LU1, Haozhan LI2, Minrui YAN1, Miao YU1()   

  1. 1.College of Electrical Engineering, Zhejiang University, Hangzhou 310027, Zhejiang, China
    2.Hangzhou Gold Electronic Equipment Inc. , Hangzhou 310023, Zhejiang, China
  • Received:2025-04-01 Revised:2025-04-29 Online:2025-10-28 Published:2025-10-20
  • Contact: Miao YU E-mail:22360285@zju.edu.cn;zjuyumiao@zju.edu.cn

Abstract:

Battery modules exhibit a complex status in energy storage systems, and the accurate identification of abnormal lithium-ion batteries is crucial for system safety and stability. To resolve the shortcomings of traditional anomaly detection methods, such as their insufficient real-time performance and strong dependence on abnormal samples, an unsupervised anomaly detection method that integrates the local outlier factor (LOF) algorithm with spatiotemporal features of battery-operation data is proposed. This method comprehensively explores inter-cell consistency and data variation to achieve efficient, real-time, accurate abnormal celldetection without the need for pre-training. Specifically, the method involves: designing a Cornish-Fisher expansion-based distribution correction approach to calculate thresholds; utilizing a sliding-window mechanism to segment the continuous data stream from energy storage stations into dynamic data slices, thereby improving responsiveness to sudden anomalies; and applying the LOF algorithm for the local-density analysis of time series data within each window to detect low-density outliers and enable unsupervised anomaly detection. Experimental results on the dataset from 3920 to 3960 reveal that the proposed method accurately detects abnormal cells No. 155 and No. 364. These results are fully consistent with manual labeling, with zero false positives or negatives. Furthermore, the proposed method achieves the shortest average detection time of 0.0106 seconds, outperforming traditional methods, such as K-means clustering, isolation forest, Shannon entropy, and autoencoders, thus underscoring its excellent generalizability and engineering adaptability.

Key words: lithium-ion batteries, anomaly detection, local outlier factor, sliding-window, real-time monitoring

CLC Number: