LightBAL: An AI-Based Model for EfficientActive Balancing in Electric Vehicle Battery Management Systems
Khayri Abu Sayf, Main Hammad Nazir, Leshan Uggalla, Abdulla RahilIn this paper, we present LightBAL, an ultra-lightweight deep learning framework for real-time active cell balancing and onboard balancing control in electric vehicle (EV) battery management systems (BMSs). Although active cell balancing can improve battery utilisation and performance, applying deep learning-based balancing control strategies remains prohibitive in typical embeddable BMS platforms because of the computational complexity and inference latency of deep models. In response to this issue, we propose an AI-physics-informed controller that forecasts the voltage difference of a single cell, the SoC variation, and the optimal balancing current based on proportional feedback closed-loop (FCLL) control. The introduced framework exploits wavelet-based adaptive denoising, multi-scale hierarchical feature learning using a cooperative Principal Component Analysis (PCA) and autoencoder feature extraction technique, and a lightweight One-Dimensional Convolutional Neural Network (Conv1D) coupled with Bidirectional Long Short-Term Memory (BiLSTM) (Conv1D-BiLSTM). The implemented lightweight network is further trained by model compression methodologies such as knowledge distillation and 8-bit quantisation-aware training, aiming for efficient deployment on edge devices. Experimental validation on the multivariate battery time-series dataset demonstrates that LightBAL achieves an F1-score of 96.64%, a balancing efficiency of 94.30%, and a Mean Absolute Error (MAE) of 0.0379, outperforming methods based on conventional ANN, LSTM, and CNN. LightBAL without compression takes only 1.26 s to conclude on a PC workstation; the inference latency of the embedded light model is as low as 28.7 ms. In addition, hardware-in-the-loop (HIL) validation on the Raspberry Pi 4 platform indicates that the framework can fulfil real-time inference requirements under normal operating conditions, taking 28.7 ms per balancing process. Simulation shows that the proposed approach significantly decreases cumulative balancing energy loss by 12.4% across several driving cycle conditions.