원시데이터 수집 시스템
선정목록으로

Intelligent Battery Management System for Electric Vehicles: AI-Driven Voltage Cell Prediction Using GRU and K-Means Clustering

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Narawit Pahaisuk — School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok, Thailand
  2. Supavee Pourbunthidkul — School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok, Thailand
  3. Pattarapong Phasukkit — School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok, Thailand
  4. Nongluck Houngkamhang — Department of Nanoscience and Nanotechnology, School of Integrated Innovative Technology, King Mongkut’s Institute of Technology Ladkrabang, Bangkok, Thailand
DOI
10.1109/access.2025.3611488
저널
IEEE Access
발행년도
2025
발행기관
Institute of Electrical and Electronics Engineers
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2025.3611488
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4414322251

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The advancement of Electric Vehicles (EVs) requires intelligent Battery Management Systems (BMS) for accurate voltage prediction, ensuring battery reliability, longevity, and efficiency. Traditional BMS architectures rely on rule-based monitoring, which lacks predictive capabilities for early fault detection and proactive maintenance. This study presents an AI-driven BMS framework, integrating K-Means clustering and Gated Recurrent Unit (GRU) networks to enhance real-time voltage forecasting. Unlike conventional approaches that focus solely on clustering or deep learning, this research combines both methodologies to create a robust predictive system. K-Means clustering segments battery voltage data into operational groups, improving predictive accuracy by organizing similar voltage behaviors. GRU networks then capture sequential voltage dependencies, enabling precise voltage fluctuation predictions. Experimental validation was conducted using voltage data from 120 lithium-ion battery cells, recorded at 20 km/h under three load conditions (Load 0, Load 10, and Load 20) over a 5-minute duration. The findings demonstrate that K-Means clustering effectively categorizes battery voltage states, while GRU-based forecasting achieves high accuracy, reinforcing the practicality of AI-powered predictive maintenance. This study advances AI-driven BMS frameworks by demonstrating the integration of clustering and deep learning for voltage prediction, providing a foundation for real-time battery diagnostics and predictive analytics.

본문 72,416자

본문 펼치기
Received 10 August 2025, accepted 16 September 2025, date of publication 18 September 2025, date of current version 24 September 2025. _Digital Object Identifier 10.1109/ACCESS.2025.3611488_ # Intelligent Battery Management System for Electric Vehicles: AI-Driven Voltage Cell Prediction Using GRU and K-Means Clustering NARAWIT PAHAISUK 1, SUPAVEE POURBUNTHIDKUL 1, PATTARAPONG PHASUKKIT 1, (Member, IEEE), AND NONGLUCK HOUNGKAMHANG2 1School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand 2Department of Nanoscience and Nanotechnology, School of Integrated Innovative Technology, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand Corresponding author: Pattarapong Phasukkit (pattarapong.ph@kmitl.ac.th) ABSTRACT The advancement of Electric Vehicles (EVs) requires intelligent Battery Management Systems (BMS) for accurate voltage prediction, ensuring battery reliability, longevity, and efficiency. Traditional BMS architectures rely on rule-based monitoring, which lacks predictive capabilities for early fault detection and proactive maintenance. This study presents an AI-driven BMS framework, integrating K-Means clustering and Gated Recurrent Unit (GRU) networks to enhance real-time voltage forecasting. Unlike conventional approaches that focus solely on clustering or deep learning, this research combines both methodologies to create a robust predictive system. K-Means clustering segments battery voltage data into operational groups, improving predictive accuracy by organizing similar voltage behaviors. GRU networks then capture sequential voltage dependencies, enabling precise voltage fluctuation predictions. Experimental validation was conducted using voltage data from 120 lithium-ion battery cells, recorded at 20 km/h under three load conditions (Load 0, Load 10, and Load 20) over a 5-minute duration. The findings demonstrate that K-Means clustering effectively categorizes battery voltage states, while GRU-based forecasting achieves high accuracy, reinforcing the practicality of AI-powered predictive maintenance. This study advances AI-driven BMS frameworks by demonstrating the integration of clustering and deep learning for voltage prediction, providing a foundation for real-time battery diagnostics and predictive analytics. INDEX TERMS Battery management system, electrical vehicle, k-means clustering, gated recurrent unit, voltage prediction. I. INTRODUCTION The Electric Vehicle (EV) market has experienced significant growth in recent years, driven by the global transition toward sustainable transportation. EV sales continue to rise, supported by advancements in battery technology, increasing consumer adoption, favorable government policies, and investments from the automotive industry. As the demand for EVs grows, ensuring battery efficiency, longevity, and reliability has become a key area of research and development. Battery performance directly impacts vehicle range, charging efficiency, and overall sustainability, making Battery Man The associate editor coordinating the review of this manuscript and approving it for publication was Yu-Da Lin . agement Systems (BMS) essential for monitoring and maintaining battery health. The integration of Artificial Intelligence (AI) in BMS has significantly enhanced battery health monitoring, performance optimization, and predictive maintenance. Traditional methods for predicting battery states, such as electrochemical models and empirical approaches, often suffer from intensive resource requirements and lack flexibility under real-world driving conditions [1]. In contrast, AI-driven approaches, particularly deep learning and clustering techniques, have introduced new opportunities for improving battery state estimation and predictive diagnostics. Recent studies have further expanded the application of artificial neural networks (ANNs) in energy storage systems. For example, Ref. [2] provided a comprehensive review of ANN-based approaches for battery health management, highlighting the role of deep learning in tracking degradation, SoH estimation, and failure prediction in lithium-ion batteries. Similarly, [3] analyzed the factors that influence energy efficiency and long-term aging, identifying patterns that can inform predictive modeling frameworks. Extending these ideas to system-level control, Ref. [4] proposed a neural network architecture for robot-oriented battery management, demonstrating how deep models can enhance task-specific energy planning and BMS adaptability. Machine learning and deep learning models systematically analyze sensor data and historical trends to predict battery performance, assess degradation, and optimize charging strategies [5]. By leveraging AI-driven predictive models for cell voltage forecasting, State-of-Charge (SoC) estimation, and Stateof-Health (SoH) assessment, researchers can develop more efficient and reliable battery management methodologies. These advancements support the broader goal of enhancing EV efficiency, minimizing degradation risks, and ensuring sustainable energy solutions for the future of electric mobility. Recurrent Neural Networks (RNNs) are widely used for time-series prediction but suffer from the vanishing gradient problem, limiting their ability to capture long-term dependencies. To address this, Long Short-Term Memory (LSTM) networks were introduced, incorporating four gating mechanisms to regulate information retention and flow. While effective, LSTMs require high computational power and memory, making them less suitable for real-time battery voltage forecasting in EVs. To overcome these inefficiencies, the Gated Recurrent Unit (GRU) was introduced, offering a lightweight alternative to LSTM by utilizing only two gates. Despite its simplified architecture, GRU retains long-term dependencies in sequential data while reducing computational overhead, making it well-suited for real-time battery state prediction and energy management in EV BMS [6], [7], [8]. Moreover, GRU has demonstrated high precision in modeling nonlinear battery behavior and temporal dependencies. When optimized using techniques such as Nadam and AdaMax, GRU models reduce training time and improve prediction accuracy [9]. In parallel, clustering techniques like K-Means enhance battery state classification by grouping cells based on voltage behavior, aging patterns, and operational similarities, improving battery health monitoring and failure detection [10]. Ref. [11] emphasized the role of forecasting models in improving battery management efficiency. Following this approach, the study also applies K-Means clustering to classify battery cells based on voltage trends, optimizing battery pack balancing and predictive maintenance strategies. As AI-driven methodologies continue to shape BMS development, their contributions to improving efficiency, reliability, and durability in EV battery systems become increasingly evident. Previous studies [12] and [13] have reinforced the role of AI in refining SoC estimation accuracy and memory optimization for embedded BMS controllers. By addressing challenges related to adaptability, robustness, and data-driven diagnostics, this research advances AI-driven battery assessment methodologies, supporting the broader goal of efficient energy management in electric mobility. Recent advances in deep learning and clustering techniques have significantly improved SoC and SoH estimation, along with battery cell voltage prediction, making AI-driven BMS solutions highly effective for EV applications. These studies reinforce the trend toward integrated, AI-driven BMS frameworks and motivate the exploration of hybrid methods that combine temporal modeling GRU with unsupervised learning K-Means for enhanced interpretability and predictive performance. Ref. [14] proposed a GRU-RNN-based framework that proficiently estimates SoC in lithium-ion batteries utilizing observable variables such as voltage, current, and temperature, thus obviating the necessity for internal battery parameters. In a similar vein, the effectiveness of AI-driven methodologies in enhancing battery state predictions, thereby reinforcing the adaptability of deep learning models within battery management contexts [15], [16]. Beyond the scope of SoC estimation, GRU networks have also been investigated for the prediction of battery SoH. Ref. [17] employed GRU networks in conjunction with principal component analysis (PCA) to enhance SoH estimation for lithium-ion batteries, particularly within the domains of electric vehicles and portable electronics. Their investigation demonstrated that GRU models could proficiently capture degradation patterns, rendering them exceptionally suitable for long-term battery health monitoring. Further advanced GRU-based SoH estimation, accentuating the model’s capability to learn temporal dependencies in battery data, consequently enhancing prediction accuracy and reliability [18]. In addition to deep learning approaches, clustering methodologies such as K-Means have been extensively utilized in the classification of battery states. The study in Ref. [19] introduced an optimized bisecting K-Means clustering strategy combined with a rapid pulse test, thereby diminishing feature generation time for decommissioned lithium-ion batteries. Their investigation revealed that the K-Means++ algorithm effectively classified battery cells based on voltage behavior and aging characteristics, thereby improving battery pack management and predictive maintenance strategies. As noted in the research [16], the hybrid model approach significantly refines BMS efficiency. This hybrid methodology not only facilitates improved battery state classification but also enables real-time adaptability, assuring more precise forecasting of voltage fluctuations and degradation trends. As EV battery systems continue to develop, the integration of deep learning and clustering algorithms is anticipated to optimize battery performance, prolong lifespan, and enhance energy efficiency. Despite these advancements, challenges persist in guaranteeing model robustness and adaptability across various battery types and conditions. Ongoing research endeavors are directed toward the development of generalized AI models capable of accommodating diverse battery chemistries. Furthermore, the implementation of AI-based BMS on embedded systems encounters challenges related to computational efficiency and hardware constraints, necessitating further inquiry into model quantization and lightweight AI architecture. Through the amalgamation of GRU models and K-Means clustering, AI-driven BMS solutions persist in advancing battery state estimation, classification, and predictive capabilities. These advancements contribute to the progression of electric mobility, energy storage technologies, and sustainable battery solutions. This academic inquiry is centered on the development of a predictive model that leverages AI to forecast battery voltage in EVs, utilizing empirical data sourced from an Electrical Vehicle (MGEP EV). Instead of integrating AI within a real-time BMS, this investigation emphasizes the examination of archived voltage data to discern patterns in battery dynamics and variations in cell performance. An indepth comprehension of these voltage variations is essential for effective battery diagnostics, enhancement of operational efficiency, and the early identification of potential failures. The primary objective is to create a predictive model based on GRU that proficiently predicts cell voltage trajectories, adeptly capturing the temporal dependencies that characterize battery performance. Furthermore, K-Means clustering methodologies will be utilized to systematically categorize battery cells into discrete operational states, differentiating among stable, moderately degraded, and suboptimal cells based on their voltage behaviors. This strategy promotes the early detection of anomalies, thereby facilitating proactive maintenance interventions and alleviating the risks linked to battery deterioration. By employing AI-based voltage prediction and clustering techniques, this research significantly propels the domain of battery state assessment and predictive diagnostics, ultimately enhancing the establishment of more efficient and dependable battery health monitoring systems specifically designed for EV applications. II. MATERIALS AND METHODS _A._ _MATERIALS_ 1) BMS SPECIFICATIONS BMS in this study integrates two bq76PL455A (Texas Instruments Inc., Dallas, TX, USA.) chips as Figure 1, high-performance 16-cell battery monitors from Texas Instruments, designed for precise voltage sensing, passive balancing, and robust data communication. This dual-chip configuration enhances monitoring accuracy and redundancy, ensuring reliable voltage prediction for battery health assessment. The bq76PL455A system features 14-bit Analog-toDigital Converters (ADCs) with internal references, enabling high-accuracy voltage measurements. It samples data at 0.5second intervals, capturing real-time battery dynamics. The high-speed data acquisition system converts all monitored cell voltages within 2.4 ms (nominal conditions), ensuring rapid and precise voltage tracking. Additionally, the BMS includes eight auxiliary (AUX) inputs per chip, supporting temperature and sensor monitoring within an input voltage range of 0 V to 5 V. This expanded monitoring capability ensures comprehensive data collection, enhancing model accuracy for K-Means clustering and GRU-based voltage prediction. Table 1 tabulates the key specifications of the system. FIGURE 1. Battery management module for cell voltage level logging. TABLE 1. Key specifications relevant to voltage prediction. 2) ELECTRIC VEHICLE SPECIFICATIONS The vehicle used in this study is the MG EP as shown in Figure 2, a fully electric station wagon, serving as the test platform for battery performance monitoring and voltage prediction experiments. Specifications of the MG EP are shown in Table 2. The MG EP is powered by a lithium-ion battery with a total battery capacity of 50.3 kWh and an electric motor that delivers 160 HP. This high-capacity battery system makes the MG EP a suitable candidate for battery performance analysis and real-time voltage monitoring using the developed AI-based approach. The battery pack consists of 120 cells, organized into 12 modules, with 10 cells per module. Figure 3a illustrates the overall battery pack structure, depicting the arrangement of modules and cells. This layout is essential for voltage monitoring and prediction, supporting the AI-driven voltage prediction model in this study. The modular design of the battery pack ensures scalability, efficient energy management, and high-power delivery while maintaining thermal stability and longevity, making it an ideal platform for AI-driven battery voltage prediction. Figure 3b provides an inside view of the battery pack, illustrating the structural arrangement of the lithium-ion system, including its modules and individual battery cells. FIGURE 2. The physical model of the MG EP electric vehicle. TABLE 2. Units for magnetic properties. FIGURE 3. Structure of electrical vehicle battery: (a) Overall model of MG EP battery; (b) Battery module and battery cell configuration. 3) DYNAMOMETER SPECIFICATIONS The Dynocom 2WD 6000 series is a high-performance dynamometer designed for accurate vehicle testing, performance evaluation, and diagnostics. It is widely used for chassis dynamometer testing of front-wheel drive (FWD) and rear-wheel drive (RWD) vehicles. The system is engineered to deliver precise torque and power measurements, supporting research applications in EV powertrain analysis and BMS performance validation. Specifications of Dynamometer are shown in Table 3. The Dynocom 2WD 6000 series dynamometer is essential for simulating real-world driving conditions in battery performance analysis. Its high-speed, high-torque, TABLE 3. Specifications of Dynocom 2WD 6000 series. and load-handling capabilities enable accurate and controlled EV battery module testing, supporting the development of AI-enhanced BMS strategies for optimized electric mobility. Overall physical station of Dynocom 2WD 6000 series dynamometer is illustrated in Figure 4a, Additionally, Figure 4b presents the Dynocom GUI interface, used for performance monitoring and data acquisition during stationary testing, ensuring precise voltage tracking and predictive analysis on the Dynocom 2WD 6000 series dynamometer. FIGURE 4. Overall of dynamometer system: (a) Dynocom 2WD 6000 dynamometer drive test station; (b) Dynocom 2WD 6000 series GUI and equipment. _B._ _K-MEANS CLUSTERING FOR BATTERY CELL_ _CLASSIFICATION_ Accurate voltage monitoring is crucial for AI-driven BMS in EVs. This study employs K-Means clustering to classify battery voltage states, enabling a structured analysis of voltage fluctuations under varying load conditions. By integrating K-Means clustering with GRU-based forecasting, key voltage transition points are identified, improving fault detection and predictive maintenance. As a widely used unsupervised learning method, K-Means surpasses fixed threshold approaches by segmenting voltage patterns for more precise battery state classification. Recent advancements, including graph-based clustering and adaptive K-Means optimization, have further enhanced its efficiency in complex datasets [20], [21], [22], [23]. By deploying K-Means clustering for voltage-based range classification, the proposed approach adopts a data-driven paradigm to segment battery states based on real-time voltage behavior, allowing for more precise monitoring and management of battery performance. By identifying crucial voltage transition points, the model enables early failure detection and fault isolation, reducing the risk of unexpected battery degradation. This optimizes the adaptability of BMS, improving energy efficiency and ensuring safer battery operation. Additionally, the integration of K-Means clustering in AI-driven voltage prediction helps classify battery cells into distinct operational states, optimizing predictive maintenance and prolonging battery lifespan. To execute this approach, comprehensive battery voltage data is collected from BMS logs, capturing cell-level fluctuations across different operational loads. The K-Means algorithm is then applied to this high-dimensional dataset, with the optimal number of clusters determined using the Elbow Method. The fundamental equations governing K-Means clustering in this study are as follows, the cluster assignment equation in the K-Means algorithm determines the optimal cluster for each data point by assigning it to the nearest centroid. This process ensures that each data point belongs to the cluster with the minimum Euclidean distance to its centroid. The cluster assignment equation is given by Equation (1). Where _ci_ represents the assigned cluster for data point _xi_ . _j_ represents the centroid of cluster _j_ . context, lower WCSS values are indicative of clusters that are more distinctly defined. _xi_ ∈ _Cj_ �� _xi_ - _µj_ ��2 (4) _WCSS_ = - _k_ _j_ =1 _ci_ = _argminj_ �� _xi_ - _µj_ ��2 (1) The centroid update equation in the K-Means clustering algorithm ensures that each cluster centroid is recalculated based on the mean position of all data points assigned to that cluster. This iterative update process refines the cluster assignments and improves convergence toward optimal cluster centroids. The centroid update equation is given by Equation (2). Where _Cj_ is the set of data points belonging to cluster _j_ . �� _Cj_ �� represents the number of data points in cluster _j_ . <u>1</u> _µi_ = <u>�</u> _Cj_ <u>�</u> _xi_ ∈ _Cj_ <sup>_xi_</sup> (2) The objective function for K-Means optimization is designed to minimize the variance within clusters by reducing the squared distance between each data point and its assigned cluster centroid. This function ensures that data points within the same cluster are as close as possible to their respective centroids while maximizing the separation between different clusters. The objective function is mathematically expressed as Equation (3). Where _J_ is the objective function to be minimized. _n_ is the total number of voltage data points. _k_ is the number of clusters. _wij_ = 1 if data point i belongs to cluster _j_, otherwise _wij_ = 0. - _k_ _j_ =1 <sup>_wij_</sup> Following K-Means clustering, each voltage cluster is modeled separately using a cluster-specific GRU prediction model, improving forecasting accuracy by tailoring predictions to specific battery voltage conditions. For each voltage cluster _Cj_, the GRU-based model is trained as Equation (5). Where _fj_ ( _X_ ) represents the GRU-based voltage prediction model for cluster _j_ . _Wj_ and _Bj_ are the learned parameters specific to that cluster. _fj_ ( _X_ ) = _Wj_ - _X_ + _Bj_ (5) For a new voltage data point, the nearest cluster centroid _j_ is identified, and the corresponding cluster model is applied Equation (6). Where _Y_ <sup>ˆ</sup> _j_ represents the predicted voltage value for the assigned cluster. _Y_ ˆ _j_ = _f j_ ( _X_ ) = _Wj_ - _X_ + _Bj_ (6) _C._ _GRU-BASED VOLTAGE PREDICTION MODEL_ Recurrent Neural Networks (RNNs) are extensively employed in the domain of time-series forecasting; however, they frequently encounter challenges associated with the vanishing gradient phenomenon, which constrains their capacity to effectively capture long-term dependencies within sequential datasets. In response to this limitation, Long Short Term Memory (LSTM) networks were developed, integrating gating mechanisms to modulate the retention and flow of information. Although LSTMs demonstrate efficacy, their substantial computational demands and memory requirements render them less viable for real-time applications constrained by resources. In order to mitigate these inefficiencies, the GRU was proposed as a more streamlined alternative to LSTMs. In contrast to LSTMs, which utilize four distinct gates, GRUs incorporate only two gating mechanisms including the update gate ( _zt_ ) and the reset gate ( _rt_ ). The update gate is responsible for determining the extent to which historical information should be preserved, whereas the reset gate governs the degree to which prior data should be discarded. This simplified architecture enables GRUs to adeptly capture long-term dependencies while simultaneously alleviating computational burdens. The mathematical representations of the GRU gates are Equation (7) and Equation (8). The hidden state computation is given by Equation (9) [21]. _zt_ = _σ_ ( _Wzst_ −1 + _Uzxt_ + _bz_ ) (7) where _zt_ is the output of the update gate, controlling the retention of past information. _σ_ represents the sigmoid activation function, which scales values between 0 and 1. _Wz_ and _Uz_ are weight matrices that process hidden states and input data, respectively. _st_ −1 is the previous hidden state, representing _J_ = - _n_ _i_ =1 �� _xi_ - _µj_ ��2 (3) The Within-Cluster Sum of Squares (WCSS) represents an important metric utilized in the evaluation of cluster compactness within the K-Means algorithm framework. This metric quantifies the variance associated with each cluster by computing the aggregate of squared distances that exist between each individual data point and its corresponding assigned cluster centroid. A reduced WCSS value signifies clusters that are more closely aggregated, thereby indicating a superior segmentation of the dataset. The mathematical representation of WCSS is articulated in Equation (4). In this past information. _xt_ is the current input at time step _t_ . _bz_ is the bias term. _rt_ = _σ_ ( _Wr_ _st_ −1 + _Ur_ _xt_ + _br_ ) (8) where _rt_ determines how much past information should be discarded before computing the new hidden state. _Wr_ and _Ur_ are weight matrices. _br_ is the bias term. _ht_ = _(_ 1 − _zt_ _)_ - _st_ −1 + _zt_ - _tanh_ ( _rt_ - _Whst_ −1 + _Uhxt_ ) (9) To ensure that the input voltage values are within a bounded range, the dataset is normalized using Min-Max Scaling, which transforms the data into a range between 0 and 1, preserving relative patterns in the voltage fluctuations. The Min-Max scaling transformation is defined as Equation (10). This normalization prevents large variations in raw voltage values from distorting the learning process, allowing the GRU model to converge efficiently and maintain stable predictions. The GRU model is structured to effectively capture short-term fluctuations and long-term dependencies in battery voltage variations. Architecture follows a sequential learning process, incorporating key activation functions for improved learning dynamics. _<u>X</u>_ - _<u>Xmin</u>_ _Xscaled_ = _Xmax_ - _Xmin_ (10) tanh activation function to stabilize learning and L2 regularization ( _λ_ = 0.0005) to prevent overfitting and mitigate vanishing gradient issues. To further enhance generalization, a dropout layer applies a 20% dropout rate, randomly deactivating neurons during training to reduce over-reliance on specific patterns. This ensures the model remains robust across different voltage conditions. The output layer generates multi-dimensional predictions, forecasting voltage trends across all monitored battery cells. This structure supports real-time voltage tracking and predictive maintenance, contributing to efficient battery management and improved energy optimization in electric vehicles. Figure 5 illustrates the overall GRU model architecture, as described in the previous section. The architecture consists of an input layer receiving clustered voltage data, stacked GRU layers for sequential learning, a dropout layer for regularization, and an output layer generating multi-cell voltage predictions. FIGURE 5. Gated Recurrent Unit (GRU)-based voltage prediction model architecture. The combination of K-Means clustering with GRU-based voltage prediction enhances AI-driven BMS by improving real-time monitoring, anomaly detection, and predictive maintenance. Figure 6 illustrates the overall data flow, where raw voltage data is clustered and refined through GRU-based forecasting to ensure precise voltage predictions throughout the experiment. The GRU-based voltage prediction model, combined with K-Means clustering, improves battery voltage forecasting by leveraging structured voltage segmentation and sequential dependencies in voltage fluctuations. K-Means clustering groups battery cells based on distinct voltage patterns, reducing noise and improving feature extraction, while the GRU model captures both short-term variations and long-term trends for more accurate predictions. This hybrid K-MeansGRU approach integrates structured voltage segmentation with deep learning-based forecasting, enabling an AI-driven real-time voltage monitoring system for battery health assessment and predictive maintenance. _E._ _GRU-BASED VOLTAGE PREDICTION MODEL_ _EVALUATION_ To quantify prediction errors and guide model optimization, the loss function used is Mean Squared Error (MSE) [24]. This function calculates the average squared difference where _Xscaled_ represents the normalized voltage value. _X_ is the original voltage reading from the battery cell. _Xmin_ and _Xmax_ denote the minimum and maximum voltage values observed in the dataset. The core element of the model is formed by Gated Recurrent Unit (GRU) layers, which proficiently analyze sequential voltage data while maintaining long-term dependencies. The tanh function efficiently confines input values within the range of −1 to 1, thereby enabling the network to discern essential patterns while diminishing the probability of excessive activation saturation. This particular activation function contributes to the stabilization of gradients, rendering it especially suitable for time-series forecasting where fluctuations in battery voltage must be represented with precision. From a mathematical perspective, the tanh activation function is articulated as specified in Equation (11). _tanh_ ( _x_ ) = <sup>_<u>ex</u>_</sup> <sup>−</sup> <sup>_<u>e</u>_</sup> <sup>−</sup> <sup>_x_</sup> (11) _e_ <sup>_x_</sup> + _e_ <sup>−</sup> <sup>_x_</sup> where _tanh_ ( _x_ ) maps the input to a bounded range between −1 and 1, ensuring smooth weight updates during training. _D._ _MODEL ARCHITECTURE_ The GRU model architecture is designed to process time-series voltage data efficiently, capturing long-term dependencies for accurate forecasting. It begins with an input layer that receives sequential voltage readings from a clustered and normalized dataset, ensuring structured and reliable data input. At the core of the model, two stacked GRU layers with 256 units each extract temporal patterns while preserving important long-term dependencies. These layers use the FIGURE 6. Overall K-mean and GRU voltage prediction framework. between predicted and actual voltage values, penalizing large deviations and promoting precise learning. The MSE function is defined as Equation (12). The model’s performance is assessed using Mean Absolute Error (MAE) as Equation (13). Emphasizes larger deviations, penalizing significant voltage prediction errors. Helping in fine-tuning model parameters to minimize forecasting discrepancies. Lower MSE suggests that the model performs well in predicting voltage trends. The coefficient of determination, or R <sup>2</sup> -score, evaluates the model’s ability to explain variance in voltage trends as Equation (14). _MSE_ = <sup><u>1</u></sup> _n_ - _n_ _i_ =1 <sup>(</sup> <sup>_yi_</sup> <sup>−ˆ</sup> <sup>_yi_</sup> <sup>)2</sup> (12) where _yi_ is the actual battery voltage at time step _i_ . _y_ ˆ _i_ is the actual battery voltage at time step _i_ . _n_ is the total number of voltage observations. _MAE_ = <sup><u>1</u></sup> _n_ - _n_ _i_ =1 <sup>|</sup> <sup>_yi_</sup> <sup>−ˆ</sup> <sup>_yi_</sup> <sup>|2</sup> (13) designed to capture battery dynamics under various sustained power-draw scenarios. Using a Dynocom 2WD 6000 series chassis dynamometer, the MG EP test vehicle operated at a constant speed of 20 km/h. The dynamometer applied three continuous friction loads—Load 0, Load 10, and Load 20— to simulate varying levels of operational stress. For each load condition, voltage data was logged from 10 cells within a single battery module for a duration of 5 minutes. The bq76PL455A-based BMS captured these readings at a sampling interval of 0.5 seconds, generating a comprehensive time-series dataset for analysis. The experimental setup consists of an EV positioned on a dynamometer, where different load friction levels are applied to simulate real-world driving conditions. This setup allows controlled testing of battery performance under varying operational stresses. A computer system manages the dynamometer, ensuring precise adjustments to the applied load. As the vehicle operates, the BMS module continuously monitors and collects voltage data from individual battery cells. The recorded voltage levels are then transferred in real time via USB protocol to a laptop-based logging and monitoring system. This system acts as a data acquisition hub, capturing detailed information on battery performance for further analysis. Once the voltage data is collected, it is processed using advanced K-means and GRU techniques. The K-Means clustering algorithm is applied to categorize battery cells into different operational states based on their voltage behavior, distinguishing between stable and deteriorating cells. Following this clustering, the GRU regression model is used to predict future voltage levels, leveraging historical trends to enhance forecasting accuracy. The final output of this process is a precision-predicted voltage level, visually represented through battery charge indicators. As Figure 7, this setup allows for continuous voltage monitoring, enabling subsequent data analysis and AI-driven prediction. The following sections provide a detailed breakdown of each component, starting with the BMS. Each test condition (Load 0, Load 10, Load 20) was conducted continuously for a duration of 5 minutes without intervening charge cycles. The battery pack was not fully recharged between tests, as the objective was to simulate a progressive discharge scenario representative of real-world EV operation. The State of Charge (SoC) at the start of each test remained within a high range, typically between 80% and 70%, as verified through system-level logs. This approach helped maintain stable voltage characteristics while avoiding the nonlinearities commonly observed at lower SoC levels. Due to the short 5-minute discharge duration and the high initial SoC range, SoC drift remained limited, supporting consistent voltage behavior across tests. Additionally, as the vehicle remained stationary on a chassis dynamometer throughout all testing sessions, mechanical vibration was negligible and not considered a significant factor in the analysis. The total dataset comprised approximately 10,000 real voltage samples, collected at 0.5-second intervals from 10 battery cells within Module 3 of the MG EP EV battery pack. These samples _R_ <sup>2</sup> = <sup>_<u>Var</u>_</sup> <sup><u>(</u></sup> <sup>_<u>Ytrue</u>_</sup> <sup><u>) −</u></sup> <sup>_<u>MSE</u>_</sup> (14) _Var_ ( _Ytrue_ ) where _Var_ ( _Ytrue_ ) is the variance of actual battery voltage values. _R_ <sup>2</sup> = 1 Model explains all voltage variance perfectly. _R_ <sup>2</sup> = 0 Model does not explain variance, indicating poor prediction. III. EXPERIMENTAL SETUP AND DATA ANALYSIS _A._ _DATA ACQUISITION AND TEST CONDITIONS_ The dataset for this study was captured from experiments conducted at the automotive research facility of Saraburi Polytechnic College. Data collection took place over a one-week period in September 2024 to ensure consistent baseline conditions. All tests were performed within a climate-controlled laboratory to minimize the impact of external variables. The ambient temperature was maintained at a stable 25 <sup>◦</sup> C ± 2 ◦C, and relative humidity was kept at 50% ± 5%. A cooling fan was strategically placed to maintain optimal battery and motor temperatures during operation, preventing overheating and ensuring voltage reading stability. The experiment was were recorded over three load conditions and structured as timestamped voltage readings across all 10 cells, which were subsequently used for clustering and GRU-based prediction modeling. FIGURE 7. A method of cell voltage data logging system architecture and data flow. 1) BATTERY MANAGEMENT SYSTEM INTEGRATION A custom BMS is deployed for real-time voltage monitoring and data logging, ensuring precise tracking of battery performance during testing. The system consists of six BMS units, each monitoring two battery modules, covering the entire 120-cell lithium-ion battery system of the EV. Each unit integrates dual bq76PL455A chips, providing high-accuracy voltage sensing and efficient passive balancing across monitored cells. The BMS integration process involves battery pack modification to facilitate monitoring. The battery pack is first removed from the MG EP electric vehicle, granting access to module 3 for BMS installation. Dedicated voltage sensing channels are established to ensure accurate and reliable voltage readings during operation. Once the BMS units are installed and configured, test data logging is performed using the bq76PL455_GUI software version 1.0.0.18 that provides an overview of battery performance as Figure 8, which records real-time voltage fluctuations every 0.5 seconds under load 0, load 10, and load 20 conditions. Following data collection, the battery pack is reassembled and reinstalled, with high-voltage connections restored to prepare the system for drive testing. Figure 9 illustrates the BMS integration process, covering battery removal, channel setup, data logging, and reinstallation, ensuring a structured and repeatable methodology for AI-driven voltage prediction and analysis. 2) DYNO STATION SETUP AND DRIVE TEST CONFIGURATION To ensure accurate and reproducible voltage data acquisition, the drive test is conducted on a controlled dynamometer station using the Dynocom 2WD 6000 series chassis dynamometer. This setup allows precise regulation of speed and load, ensuring consistent voltage measurements across FIGURE 8. Testing real-time monitoring and logging with bq76PL455_GUI. FIGURE 9. Battery management system integration process: (a) Battery pack removal process; (b) Integration of BMS sensor; (c) Laptop setup for data logging; (d) Reassemble for drive test. varying experimental conditions. The test vehicle is positioned on the roller assembly, ensuring stable traction and controlled environmental parameters. For safety and measurement precision, a safety harness secures the vehicle, preventing unintended movements that could affect data integrity. A cooling fan is strategically placed to maintain optimal battery and motor temperatures, preventing overheating and ensuring stable voltage readings. Real-time voltage monitoring is performed using a laptop interfaced with six BMS modules, running the bq76PL455_GUI software, which logs voltage fluctuations every 0.5 seconds. The system is configured to continuously track voltage variations from module 3 under three distinct load conditions as load 0, load 10, and load 20). Additionally, a laser-based RPM measurement system synchronizes speed variations with voltage readings, ensuring precise data correlation. Figure 10 illustrates the dynamometer station configuration, including BMS integration, laptop monitoring, safety harness installation, FIGURE 10. Drive test setup and voltage data collection process: (a) Drive test equipment setup; (b) Safety harness setup; (c) Ventilation setup; (d) RPM measurement setup. cooling fan placement, and laser RPM measurement setup. This structured experimental design ensures high-accuracy data acquisition, forming the foundation for K-Means clustering and GRU-based voltage prediction modeling. _B._ _DATA ANALYSIS_ 1) PREPROCESSING OF VOLTAGE DATA To ensure the accuracy and consistency of voltage predictions, the collected raw voltage data undergoes a structured preprocessing phase before analysis. This process refines the dataset, eliminates inconsistencies, and prepares it for K-Means clustering and GRU-based predictive modeling. Anomalous voltage readings caused by transient fluctuations, sensor inaccuracies, or external disturbances are identified and removed through outlier detection techniques to ensure data integrity. The dataset is divided into fixed timeseries windows, capturing voltage fluctuations over a defined period. This step ensures that both K-Means clustering and GRU-based forecasting effectively recognize voltage trends. Figure 11 presents the raw voltage dataset, including timestamps, elapsed time intervals, and voltage readings from Cell 1 to Cell 10, providing a comprehensive overview of voltage behavior under different load conditions. To address data imbalance, synthetic voltage samples were generated exclusively for Cluster 2, which contained the fewest time steps among the three operational clusters. We implemented a modified Temporal Synthetic Minority Oversampling Technique (T-SMOTE) as described in Ref. [25], which performs linear interpolation between temporally adjacent real samples. To improve diversity while maintaining realism, small Gaussian noise ( _σ_ = 0.002V) was added to the interpolated vectors. A total of 371 synthetic samples were created using voltage readings from Cell 1 to Cell 10, scaled back to the original voltage range and assigned the appropriate cluster and mean load values. Statistical validation was performed using Mean Squared Error (MSE), R <sup>2</sup> score, and Kernel Density Estimates (KDE). Across all ten cells, R <sup>2</sup> scores ranged from 0.89 to 0.91, and MSE values remained low (approximately 4.05 × 10 <sup>−6</sup> ), confirming that the synthetic samples closely resembled the voltage behavior of the original data. As shown in Figure 12, the KDE plots demonstrate strong alignment in distributional shape and density between the synthetic and real datasets, further affirming the validity of the augmented dataset for training the GRU-based voltage prediction models. 2) K-MEANS CLUSTERING INITIAL APPROACH Figure 13 illustrates the Elbow Method, a widely used technique in cluster analysis for determining the optimal number of clusters (K) within the dataset. This method plots the Within-Cluster Sum of Squares (WCSS) against the number of clusters, identifying the elbow point where adding further clusters yields diminishing returns in variance reduction ensuring an optimal balance between model complexity and segmentation accuracy. For this study, WCSS values were computed for k = 1 to 10, decreasing sharply from 2199.03 at k = 1 to 40.86 at k = 3, after which the decline flattened significantly (e.g., 24.87 at k = 4, 19.90 at k = 5). The KneeLocator algorithm was applied to objectively identify this inflection point, confirming k = 3 as the optimal number of clusters. The resulting cluster proportions were Cluster 0 - 40.36%, Cluster 1 - 29.49%, and Cluster 2 - 30.15%, based on the number of time steps used for clustering. To further evaluate clustering quality, the silhouette score was calculated, yielding a value of 0.8805, which indicates excellent intra-cluster cohesion and inter-cluster separation. This structured segmentation forms a robust foundation for training cluster-specific GRU models, enhancing prediction accuracy, interpretability, and enabling early detection of performance degradation in the AI-driven BMS framework. 3) GRU-BASED VOLTAGE PREDICTION APPLIED The GRU-based voltage prediction model, integrated with K-Means clustering, enhances forecasting accuracy by leveraging organized segmentation and sequential learning. Before training the GRU model, the voltage dataset undergoes systematic preprocessing to enhance stability, convergence, and generalization across different battery operating conditions. The preprocessing phase consists of three steps. First, clusterbased data selection, to ensure accurate learning, voltage behavior is first segmented using K-Means clustering, and only Cluster 0 data is used for GRU training. Second is feature selection, the dataset includes voltage readings from all monitored cells (Cell 1 to Cell 10), ensuring structured input representation. Lastly, min-max normalization where voltage values are scaled between 0 and 1 using minmax scaling, maintaining consistency across voltage ranges and stabilizing training. To enable sequential learning, the dataset is transformed into fixed-length time-series windows using a sliding window method. A 30-time step window is used to create input-output pairs, capturing both short-term FIGURE 11. The raw voltage captured by Battery Management Systems (BMS) module for analyzing. FIGURE 12. Kernel density estimate (KDE) comparison of real vs. synthetic voltage distributions for Cell 1 using modified T-SMOTE. Cell 1 was selected as a representative case; similar distribution alignment was observed for all other cells. FIGURE 13. The application of the Elbow Method yielded K = 3. fluctuations and long-term voltage trends. Data is split into 70% training and 30% testing subsets, ensuring a balanced distribution of voltage variations. The GRU model is then trained specifically on cluster 0 data, capturing both short-term variations and longterm dependencies in voltage fluctuations through a structured sliding-window approach. The architecture consists of stacked GRU layers optimized with L2 regularization and dropout techniques to prevent overfitting, ensuring generalization across different battery conditions. Model training is fine-tuned using MSE as the loss function, an Adam optimizer for adaptive learning, and an early stopping mechanism to prevent unnecessary computation. The training process balances efficiency and accuracy, refining predictions through sequential dependencies while reducing noise. _C._ _MODEL TRAINING AND OPTIMIZATION_ The GRU-based voltage prediction models were developed using TensorFlow 2.14.1 and Python 3.11 and trained on a workstation equipped with an Intel Core i5-10300H CPU and an NVIDIA GTX 1650 Ti GPU. Separate models were trained for each cluster (Cluster 0, Cluster 1, and Cluster 2) to capture cluster-specific voltage characteristics more effectively. The model input consisted of a 30-step sliding time window, with each step containing 10 voltage readings corresponding to Cell 1 through Cell 10. The GRU network architecture included two stacked GRU layers, each composed of 256 units and employing the tanh activation function. To enhance generalization and prevent overfitting, a 20% dropout rate and L2 regularization ( _λ_ = 0.001) were applied. The model was trained using the Adam optimizer with a learning rate of 0.0005 and Mean Squared Error (MSE) as the loss function. A batch size of 32 and a maximum of 1000 epochs were used, with early stopping based on validation loss (patience = 50 epochs). On average, training each cluster-specific model required approximately 3 to 5 minutes on the given hardware. A summary of all training configurations is provided in Table 4 TABLE 4. GRU model configuration summary. The GRU architecture included two sequential layers with 256 units and tanh activation, each followed by L2 regularization ( _λ_ = 0.001) and a dropout layer of 20%. Hyperparameters were selected through empirical grid search across multiple configurations. The regularization strength was chosen after benchmarking _λ_ ∈ {0.0001, 0.0005, 0.001, 0.005} with _λ_ = 0.001 consistently yielding the most stable generalization performance across all clusters. This value is consistent with common practice in regularized recurrent neural networks. Training was conducted with a maximum of 1000 epochs, a batch size of 32, and a sliding window of 30 time steps. Early stopping with a patience of 50 epochs was applied based on validation loss to avoid overfitting and premature termination. These settings were applied consistently across all clusters (Cluster 0, 1, and 2) to ensure fairness and robustness in model evaluation. In addition to performance metrics (MAE, MSE, and R <sup>2</sup> ), each model’s training and validation loss curves were plotted to monitor convergence behavior. The loss trajectories showed smooth decline patterns, and early stopping reliably converged to near-optimal points, confirming effective training across all clusters. IV. RESULTS AND DISCUSSION This section presents the outcomes of the K-Means clustering and GRU-based voltage prediction model applied to EV battery voltage monitoring. The analysis evaluates the clustering effectiveness in grouping battery cells based on voltage behavior and assesses the GRU model’s predictive performance across these clusters. The discussion highlights the impact of clustering on voltage forecasting accuracy, identifying performance trends, and providing insights into the applicability of AI-driven BMS for real-time voltage prediction and anomaly detection. _A._ _CLUSTER-SPECIFIC PERFORMANCE_ From the clustered results, K-Means clustering effectively segments battery cells into distinct operational states, enabling precise voltage prediction and enhancing predictive maintenance. This structured approach improves forecasting accuracy by differentiating stable and deteriorating battery cells, aligning with Ref. [26], where an improved K-Means algorithm optimized lithium battery classification using impedance spectrum features. Additionally, Ref. [27], [28] demonstrated its role in EV load prediction, reinforcing its effectiveness in structuring diverse operational behaviors. The findings Ref. [29] further confirm that K-Means clustering improves SoC estimation, supporting our results that clustering improves predictive accuracy and optimizes battery health monitoring. FIGURE 14. PCA plot of clustered data by K-means approach method. _B._ _MODEL PERFORMANCE METRICS ANALYSIS_ The GRU-based voltage prediction model demonstrated high accuracy across different battery clusters, with Cluster 2 achieving the best performance (R <sup>2</sup> = 0.9587, MAE = 0.0222), while Cluster 0 exhibited higher voltage fluctuations and greater error rates (R <sup>2</sup> = 0.9423, MAE = 0.0243). These results confirm that clustering improves prediction accuracy by structuring input data more effectively, allowing the GRU model to capture distinct operational characteristics of battery cells and improve voltage forecasting stability. Our findings align with studies that emphasize the role of clustering in battery health monitoring and predictive modeling, such as Ref. [30], who demonstrated its effectiveness in large-scale battery management. Furthermore, Refs. [31] and [32] validated the benefits of hybrid clustering-deep learning models in improving forecasting performance, reinforcing our approach. The segmentation of battery cells before prediction contributes to more precise anomaly detection, optimized energy efficiency, and proactive maintenance strategies, making our method a robust solution for intelligent battery management in EV applications. This updated study retrained GRU models independently across all clusters, ensuring fair and unbiased evaluation. This also addressed potential model leakage and improved predictive reliability. To evaluate the prediction accuracy of the GRU model across each cluster, three standard regression metrics were used: Mean Absolute Error (MAE), Mean Squared Error (MSE), and the R <sup>2</sup> score. MAE quantifies the average absolute difference between predicted and actual voltage values, providing a straightforward measure of typical prediction error. MSE, by squaring the errors, penalizes larger deviations more heavily and is sensitive to outliers, offering insights into model stability. The R <sup>2</sup> score measures how well the predicted values explain the variance in the actual voltage data, with values approaching 1.0 indicating strong predictive alignment. Collectively, these metrics offer a comprehensive assessment of the model’s accuracy, robustness, and generalization performance in the context of electric vehicle battery health monitoring. TABLE 5. The performance metrics of the GRU model across different clusters. Figure 15 illustrates the predicted vs. actual voltage of cluster 0 behavior for all 10 battery cells. The solid lines represent the predicted voltage values, while the dashed lines indicate the actual recorded voltage levels. The model captures fluctuations in voltage trends effectively, showing a high degree of overlap between actual and predicted values. The periodic peaks and dips suggest the impact of external driving conditions, such as variations in speed and load and Figure 16 shows the scatter plot for Cluster 0, visualizing the actual vs. predicted voltage values. The dotted black line represents the ideal prediction scenario where all predictions perfectly align with actual values (y = x). The clustered distribution of points around this line indicates a strong correlation, confirming that the GRU model successfully tracks voltage trends with minimal deviation. Figure 17 represents the voltage prediction plot for Cluster 1 and exhibits slightly higher variations between predicted and actual values compared to Cluster 0. The solid predicted voltage lines still closely follow the actual values, but FIGURE 15. Cluster 0 time-series prediction plot between actual and predicted voltage level all cells. FIGURE 16. Cluster 0 scatter plot between actual and predicted voltage levels all cells. occasional deviations are noticeable. This behavior indicates that cells in Cluster 1 experience moderate degradation, making voltage forecasting more complex due to additional noise in the dataset. Figure 18 illustrates the scatter plot for Cluster 1 shows a tighter clustering of predicted values around the ideal prediction line (y = x), though with slightly increased dispersion compared to Cluster 0. This suggests that the GRU model remains effective but encounters minor challenges when predicting voltage fluctuations for cells experiencing moderate degradation. FIGURE 17. Cluster 1 time-series prediction plot between actual and predicted voltage level all cells. Figure 19 represents the voltage trends for Cluster 2 indicate greater fluctuations in the actual voltage readings, likely due to increased degradation in battery cells. The GRU model still captures the overall trend effectively but exhibits slightly higher prediction errors compared to Clusters 0 and 1. These deviations are expected, as the model must account for more pronounced voltage variations caused by cell aging or operational inconsistencies. For Figure 20 shows the scatter plot for Cluster 2, which illustrates a wider spread of data points around the ideal prediction line. Although most predictions remain within an acceptable error margin, the increased dispersion reflects the challenges of accurately predicting FIGURE 18. Cluster 1 scatter plot between actual and predicted voltage level all cells. voltage trends in underperforming cells. This suggests that further refinement, such as using additional input features or adaptive learning rates, may enhance prediction accuracy for severely degraded battery cells. FIGURE 19. Cluster 2 time-series prediction plot between actual and predicted voltage level all cells. FIGURE 20. Cluster 2 scatter plot between actual and predicted voltage level all cells. _C._ _BASELINE MODEL COMPARISON_ To evaluate the predictive capability of the proposed GRU-based voltage forecasting model, two baseline architectures Long Short-Term Memory (LSTM) and Simple RNN were implemented under identical conditions. All models used two recurrent layers with 256 units, tanh activation, 20% dropout, and L2 regularization ( _λ_ = 0.001). The Adam optimizer (learning rate = 0.0005) and mean squared error (MSE) loss function were used. Early stopping with patience of 50 epochs was applied to avoid overfitting. Each model was trained independently on each cluster (Cluster 0, 1, and 2) to ensure unbiased evaluation. As shown in Table 6, the GRU model consistently outperformed both LSTM and Simple RNN across all metrics, achieving the highest R <sup>2</sup> scores and strong generalization. LSTM achieved competitive performance but required longer training time. Simple RNN, while computationally efficient, lacked the gating mechanisms necessary for capturing long-term dependencies, resulting in lower accuracy. These findings affirm that GRU offers the best balance of predictive performance and real-time deployment for embedded BMS applications in EVs. TABLE 6. Model result comparison. _D._ _LIMITATIONS AND FUTURE WORK_ K-Means clustering was applied due to its simplicity and effectiveness in capturing voltage trend variations without requiring assumptions about data distribution. Alternative clustering techniques, such as hierarchical clustering and DBSCAN, were considered but ultimately not adopted due to their higher computational costs and greater sensitivity to noise in dynamic battery environments. DBSCAN-based approaches, although capable of detecting arbitrarily shaped clusters [33], are less robust under fluctuating voltage patterns and temporal noise common in EV datasets. Similarly, the GRU architecture was selected over LSTM because of its reduced computational complexity and faster convergence, making it more suitable for real-time battery diagnostics. Although the proposed GRU-based voltage prediction model demonstrates strong performance under controlled laboratory conditions, its applicability to real-world electric vehicle scenarios remains to be validated. The current dataset is limited to drive cycles conducted at a constant speed of 20 km/h on a dynamometer under three fixed load conditions. Furthermore, the model was trained exclusively on voltage measurements from Cell 1 to Cell 10, without incorporating additional parameters such as current, temperature, or stateof-charge (SoC). As a result, critical real-world factors—such as variable driving speeds, ambient temperature fluctuations, regenerative braking, and thermal drift—are not captured in this version of the model. Future work will focus on acquiring more diverse operating data from dynamic driving conditions and integrating multi-sensor inputs to evaluate model robustness under practical EV usage scenarios. Additionally, the model’s ability to generalize across different battery chemistries, formats, and aging states has not yet been assessed. This study was conducted using a single lithium-ion battery pack from one EV platform. To enhance robustness, future studies will incorporate datasets spanning multiple battery types, chemistries, and long-term cycling profiles, enabling evaluation under varied health states and operational stressors. _E._ _INFERENCE TIME AND REAL-TIME SUITABILITY_ To evaluate the real-time deployment potential of the proposed model, we measured the forward-pass inference latency using a single input sequence (batch size = 1). The GRU model achieved an average inference time of 57.55 milliseconds per prediction on an Intel Core i5-10300H CPU with NVIDIA GTX 1650 Ti GPU. According to Xiong et al. [34], Battery Management Systems in EVs typically operate at sampling frequencies between 1 Hz and 10 Hz, corresponding to update intervals from 1000 ms to 100 ms. The measured inference time is well within this range, confirming that the model satisfies real-time computational constraints and is suitable for integration into embedded BMS platforms. V. CONCLUSION This study presents an AI-driven BMS for EVs by integrating K-Means clustering and GRU networks for voltage prediction and health monitoring. By segmenting battery cells into three clusters, the framework enhances predictive accuracy and maintenance strategies. Experimental validation using 120 lithium-ion battery cells from an MG EP EV at 20 km/h under three load conditions demonstrated the effectiveness of clustering in improving voltage forecasting, with the GRU model achieving an R <sup>2</sup> score of 0.9587. Cluster 2 achieved the highest accuracy, whereas Cluster 0 exhibited greater voltage fluctuations, reinforcing the importance of data segmentation before prediction. A baseline comparison with Simple RNN and LSTM confirmed the suitability of GRU for real-time voltage prediction, as GRU achieved higher R <sup>2</sup> scores across all clusters while maintaining lower architectural complexity and training time. This design enables sensor-driven BMS deployment for real-time anomaly detection, proactive fault identification, and optimized battery health monitoring, contributing to battery longevity, energy efficiency, and EV safety. Supported by quantitative inference benchmarks and BMS sampling criteria established in the literature [34], the proposed GRU-based architecture demonstrates computational efficiency suitable for real-time deployment in embedded EV battery management systems. These findings are also consistent with recent advancements in AI-assisted energy storage diagnostics and task-centric battery management frameworks [2], [3], [4], further supporting the relevance of our approach. However, the current model has only been validated under controlled laboratory conditions using fixed-speed dynamometer testing. To ensure generalizability, future work will include on-road testing across diverse driving behaviors, environmental conditions, and battery chemistries. Incorporating hybrid deep learning architectures (e.g., GRU-CNN, Transformers) and multi-sensor inputs (e.g., temperature, current, SoC) may further enhance predictive robustness. Real-world validation and cloud-based BMS integration will be critical to ensure the scalability, adaptability, and long-term impact of this framework on EV battery diagnostics and fleet management. ACKNOWLEDGMENT The authors extend their profound gratitude to BURNLAB with the Electronics Department, School of Engineering, King Mongkut’s Institute Technology Ladkrabang (KMITL), and the Saraburi Polytechnic College, for their invaluable support and collaboration throughout this research. They used language correction resources, such as Grammarly and Gemini 2.5 Pro to enhance the clarity of the manuscript. REFERENCES [1] J. Wang, J. Meng, Q. Peng, T. Liu, X. Zeng, G. Chen, and Y. Li, ‘‘Lithium-ion battery state-of-charge estimation using electrochemical model with sensitive parameters adjustment,’’ _Batteries_, vol. 9, no. 3, p. 180, Mar. 2023. [2] Y. Zou, Z. Lin, D. Li, and Z. Liu, ‘‘Advancements in artificial neural networks for health management of energy storage lithium-ion batteries: A comprehensive review,’’ _J._ _Energy_ _Storage_, vol. 73, Dec. 2023, [Art. no. 109069, doi: 10.1016/j.est.2023.109069.](http://dx.doi.org/10.1016/j.est.2023.109069) [3] Z. Lin, D. Li, and Y. Zou, ‘‘Energy efficiency of lithium-ion batteries: Influential factors and long-term degradation,’’ _J. Energy Storage_, vol. 74, [Dec. 2023, Art. no. 109386, doi: 10.1016/j.est.2023.109386.](http://dx.doi.org/10.1016/j.est.2023.109386) [4] Z. Lin, Z. Huang, S. Yang, C. Wu, S. Fang, Z. Liu, M. Yang, Z. Xie, D. Li, and Y. Zou, ‘‘Survey on task-centric robot battery management: A neural network framework,’’ _J._ _Power_ _Sources_, vol. 610, Aug. 2024, [Art. no. 234674, doi: 10.1016/j.jpowsour.2024.234674.](http://dx.doi.org/10.1016/j.jpowsour.2024.234674) [5] M. S. H. Lipu, M. S. Miah, T. Jamal, T. Rahman, S. Ansari, M. S. Rahman, R. H. Ashique, A. S. M. Shihavuddin, and M. N. Shakib, ‘‘Artificial intelligence approaches for advanced battery management system in electric vehicle applications: A statistical analysis towards future research opportunities,’’ _Vehicles_, vol. 6, no. 1, pp. 22–70, Dec. 2024. [6] Z. Zhang, Z. Dong, H. Lin, Z. He, M. Wang, Y. He, X. Gao, and M. Gao, ‘‘An improved bidirectional gated recurrent unit method for accurate stateof-charge estimation,’’ _IEEE Access_, vol. 9, pp. 11252–11263, 2021. [7] Z. Hou, L. Chu, Z. Guo, J. Hu, J. Jiang, J. Yang, Z. Chen, and Y. Zhang, ‘‘A learning-and-tube-based robust model predictive control strategy for plug-in hybrid electric vehicle,’’ _IEEE Trans. Intell. Vehicles_, vol. 9, no. 1, pp. 579–592, Jan. 2024. [8] A. K. Venkitaraman and V. S. R. Kosuru, ‘‘Hybrid deep learning mecha nism for charging control and management of electric vehicles,’’ _Eur._ _J._ _Electr. Eng. Comput. Sci._, vol. 7, no. 1, pp. 38–46, Jan. 2023. [9] B. Xiao, Y. Liu, and B. Xiao, ‘‘Accurate state-of-charge estimation approach for lithium-ion batteries by gated recurrent unit with ensemble optimizer,’’ _IEEE Access_, vol. 7, pp. 54192–54202, 2019. [10] Z. Xu, J. Wang, P. D. Lund, Q. Fan, T. Dong, Y. Liang, and J. Hong, ‘‘A novel clustering algorithm for grouping and cascade utilization of retired Li-ion batteries,’’ _J. Energy Storage_, vol. 29, Jun. 2020, Art. no. 101303. [11] F. Kashefinishabouri, N. Bouguila, and Z. Patterson, ‘‘Sustainable energy management system for IoT solutions using multivariate and multi-step battery state of charge forecasting,’’ in _Proc. 13th Int. Conf. Smart Cities_ _Green ICT Syst._, Angers, France, May 2024, pp. 1–6. [12] A. Manoharan, K. M. Begum, and V. R. Aparow, ‘‘Parallel recurrent artifi cial neural networks for electric vehicle battery state of health estimation,’’ in _Proc. 17th Int. Conf. Control, Autom., Robot. Vis. (ICARCV)_, Dec. 2022, pp. 590–595. [13] Y. Mazzi, H. Sassi, A. Gaga, and F. Errahimi, ‘‘State of charge estimation of an electric vehicle’s battery using tiny neural network embedded on small microcontroller units,’’ _Int. J. Energy Res._, vol. 46, pp. 8102–8119, Dec. 2022. [14] C. Li, F. Xiao, and Y. Fan, ‘‘An approach to state of charge estimation of lithium-ion batteries based on recurrent neural networks with gated recurrent unit,’’ _Energies_, vol. 12, no. 9, p. 1592, Apr. 2019. [15] W. Duan, C. Song, S. Peng, F. Xiao, Y. Shao, and S. Song, ‘‘An improved gated recurrent unit network model for state-of-charge estimation of lithium-ion battery,’’ _Energies_, vol. 13, no. 23, p. 6366, Dec. 2020. [16] S. Cui and I. Joe, ‘‘A dynamic spatial–temporal attention-based GRU model with healthy features for state-of-health estimation of lithium-ion batteries,’’ _IEEE_ _Access_, vol. 9, pp. 27374–27388, 2021. [17] P. Ramani, R. Vaghela, Y. Popat, H. Patel, J. Sarda, and A. Patel, ‘‘Lithium-ion battery health prediction using a GRU model with protective characteristic,’’ in _Proc._ _Int._ _Conf._ _Model.,_ _Simul._ _Intell._ _Comput._ _(MoSI-_ _Com)_, Dec. 2023, pp. 1–6. [18] L. Ungurean, M. V. Micea, and G. Carstoiu, ‘‘Online state of health prediction method for lithium-ion batteries, based on gated recurrent unit neural networks,’’ _Int._ _J._ _Energy_ _Res._, vol. 44, no. 8, pp. 6767–6777, Jun. 2020. [19] Z. Zhou, A. Ran, S. Chen, X. Zhang, G. Wei, B. Li, F. Kang, X. Zhou, and H. Sun, ‘‘A fast screening framework for second-life batteries based on an improved bisecting K-means algorithm combined with fast pulse test,’’ _J._ _Energy Storage_, vol. 31, Oct. 2020, Art. no. 101739. [20] D. G. Sánchez, A. Tabares, L. T. Faria, J. C. Rivera, and J. F. Franco, ‘‘A clustering approach for the optimal siting of recharging stations in the electric vehicle routing problem with time windows,’’ _Energies_, vol. 15, no. 7, p. 2372, Mar. 2022. [21] K. Kim, G. Kim, J. Yoo, J. Heo, J. Cho, S. Ryu, and J. Kim, ‘‘Data-driven clustering analysis for representative electric vehicle charging profile in South Korea,’’ _Sensors_, vol. 24, no. 21, p. 6800, Oct. 2024. [22] S. Lu, X. Feng, G. Lin, J. Wang, and Q. Xu, ‘‘Non-intrusive load moni toring and controllability evaluation of electric vehicle charging stations based on K-means clustering optimization deep learning,’’ _World Electric_ _Vehicle J._, vol. 13, no. 11, p. 198, Oct. 2022. [23] W. Xiao, J. Wu, Z. Guo, W. Huang, and Z. Liu, ‘‘EV aggregation modeling based on improved K-means,’’ in _Proc._ _5th_ _Int._ _Conf._ _Inf._ _Sci.,_ _Electr.,_ _Autom. Eng. (ISEAE)_, Wuhan, China, Aug. 2023, p. 45. [24] P. Phasukkit, ‘‘Futuristic AI: Innovations, in-depth techniques, and cross disciplinary applications,’’ King Mongkut’s Inst. Technol. Ladkrabang, Bangkok, Thailand, Tech. Rep., 2024. [25] P. Zhao, C. Luo, B. Qiao, L. Wang, S. Rajmohan, Q. Lin, and D. Zhang, ‘‘T-SMOTE: Temporal-oriented synthetic minority oversampling technique for imbalanced time series classification,’’ in _Proc. Thirty-First Int._ _Joint Conf. Artif. Intell._, Vienna, Austria, Jul. 2022, pp. 2406–2412. [26] Q. Zhang, J. Tian, Z. Yan, X. Li, and T. Pan, ‘‘Classification of lithium-ion batteries based on impedance spectrum features and an improved K-means algorithm,’’ _Batteries_, vol. 9, no. 10, p. 491, Sep. 2023. [27] L. Guo, P. Shi, Y. Zhang, Z. Cao, Z. Liu, and B. Feng, ‘‘Short-term EV charging load forecasting based on GA-GRU model,’’ in _Proc._ _3rd_ _Asia_ _Energy_ _Electr._ _Eng._ _Symp._ _(AEEES)_, Chengdu, China, Mar. 2021, pp. 679–683. [28] R. Shang and Y. Ma, ‘‘Electric vehicle charging load forecasting based on K-means++-GRU-KSVR,’’ _World_ _Electric_ _Vehicle_ _J._, vol. 15, no. 12, p. 582, Dec. 2024. [29] M. T. Ordás, D. Y. M. del Blanco, J. Aveleira-Mata, F. Zayas-Gato, E. Jove, J.-L. Casteleiro-Roca, H. Quintián, J. Luis Calvo-Rolle, and H. Alaiz-Moreton, ‘‘Clustering techniques performance comparison for predicting the battery state of charge: A hybrid model approach,’’ _Log. J._ _IGPL_, vol. 32, no. 4, pp. 712–725, Jul. 2024. [30] S. N. Haider, Q. Zhao, and X. Li, ‘‘Cluster-based prediction for batteries in data centers,’’ _Energies_, vol. 13, no. 5, p. 1085, Mar. 2020. [31] L. Liu, C. Li, X. Li, and Q. Ge, ‘‘State of energy estimation of electric vehicle based on GRU-RNN,’’ in _Proc._ _37th_ _Youth_ _Academic_ _Annu._ _Conf._ _Chin._ _Assoc._ _Autom._ _(YAC)_, Nanjing, China, Nov. 2022, pp. 115–120. [32] R. Nagashree and K. Gowda, ‘‘Electric vehicle charging state predictions through hybrid deep learning: A review,’’ _GSC Adv. Res. Rev._, vol. 15, no. 1, pp. 076–080, 2023. [33] Y. Lv, T. Ma, M. Tang, J. Cao, Y. Tian, A. Al-Dhelaan, and M. Al Rodhaan, ‘‘An efficient and scalable density-based clustering algorithm for datasets with complex structures,’’ _Neurocomputing_, vol. 171, pp. 9–22, Jan. 2016. [34] R. Xiong, J. Cao, Q. Yu, H. He, and F. Sun, ‘‘Critical review on the battery state of charge estimation methods for electric vehicles,’’ _IEEE_ _Access_, [vol. 6, pp. 1832–1843, 2018, doi: 10.1109/ACCESS.2017.2780258.](http://dx.doi.org/10.1109/ACCESS.2017.2780258) NARAWIT PAHAISUK received the Diploma degree in aircraft technology, with a focus on aviation electronics and the bachelor’s degree in aviation electronics engineering from the Civil Aviation Training Centre, in 2018 and 2021, respectively. He is currently pursuing the master’s degree in electrical and computer engineering with the King Mongkut’s Institute of Technology Ladkrabang. Since 2024, he has been a Flight Simulator Maintenance Technician with the Airbus Asia Training Centre, Singapore. His research focuses on developing an intelligent battery management system for electric vehicles. This work involves using a combination of K-means clustering and GRU neural networks for real-time voltage cell prediction, with the goal of improving battery health monitoring and overall system efficiency. SUPAVEE POURBUNTHIDKUL received the Diploma degree in aircraft technology, with a specialization in aviation electronics and the bachelor’s degree in avionics engineering from the Civil Aviation Training Centre, in 2018 and 2021, respectively. She is currently pursuing the Master of Engineering degree in electrical and computer engineering with the King Mongkut’s Institute of Technology Ladkrabang. As a Research Assistant, she is actively involved in projects related to EV battery management systems (BMS) and electrophysiology arrhythmia classification. Her research interests include sensor systems, embedded electronics, and real-time data acquisition, with a focus on their applications in energy management and biomedical monitoring. PATTARAPONG PHASUKKIT (Member, IEEE) received the B.Eng. degree in telecommunication engineering, the M.Eng. degree in telecommunication, and the Ph.D. degree in electrical engineering from the King Mongkut’s Institute of Technology Ladkrabang, in 2001, 2004, and 2009, respectively. He is currently an Associate Professor with the Department of Electronic Engineering, Faculty of Engineering, King Mongkut’s Institute of Technology Ladkrabang. He is also a Consultant for AI and IoT systems in industrial settings. His research interests include signal processing, medical applications of AI, advanced AI development, biomedical engineering, and contactless human sensors. NONGLUCK HOUNGKAMHANG received the B.Sc. degree (Hons.) in chemistry from Naresuan University, Thailand, in 2006, and the Ph.D. degree in materials science and engineering from Mahidol University, Thailand, in 2012. From 2012 to 2013, she was a Research Associate for a joint project between NECTEC, Rachanukul Hospital, and Mahidol University. In 2014, she began her career with the College of Nanotechnology, King Mongkut’s Institute of Technology Ladkrabang (KMITL), as a Lecturer. She has since held several positions, including an Assistant Professor and an Associate Professor with the College of Materials Innovation and Technology. As of April 2025, she is an Associate Professor with the Department of Nanoscience and Nanotechnology, School of Integrated Innovative Technology (SIITec), KMITL. Her research interests include biosensors, protein/DNA chips, surface chemistry, and medical diagnostic devices and kits.

섹션 본문

섹션 본문이 없습니다.

참고문헌 33건

  1. Lithium-Ion Battery State-of-Charge Estimation Using Electrochemical Model with Sensitive Parameters Adjustment Batteries · Multidisciplinary Digital Publishing Institute · 2023 10.3390/batteries9030180
  2. Advancements in Artificial Neural Networks for health management of energy storage lithium-ion batteries: A comprehensive review Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.109069
  3. Energy efficiency of lithium-ion batteries: Influential factors and long-term degradation Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.109386
  4. Survey on task-centric robot battery management: A neural network framework Journal of Power Sources · Elsevier BV · 2024 10.1016/j.jpowsour.2024.234674
  5. Artificial Intelligence Approaches for Advanced Battery Management System in Electric Vehicle Applications: A Statistical Analysis towards Future Research Opportunities Vehicles · Multidisciplinary Digital Publishing Institute · 2023 10.3390/vehicles6010002
  6. An Improved Bidirectional Gated Recurrent Unit Method for Accurate State-of-Charge Estimation IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3049944
  7. A Learning-and-Tube-Based Robust Model Predictive Control Strategy for Plug-In Hybrid Electric Vehicle IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2023 10.1109/tiv.2023.3331268
  8. Hybrid Deep Learning Mechanism for Charging Control and Management of Electric Vehicles European Journal of Electrical Engineering and Computer Science · European Open Science Publishing · 2023 10.24018/ejece.2023.7.1.485
  9. Accurate State-of-Charge Estimation Approach for Lithium-Ion Batteries by Gated Recurrent Unit With Ensemble Optimizer IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2913078
  10. A novel clustering algorithm for grouping and cascade utilization of retired Li-ion batteries Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.101303
  11. Sustainable Energy Management System for AIoT Solutions Using Multivariate and Multi-Step Battery State of Charge Forecasting 2024 10.5220/0012624800003714
  12. Parallel Recurrent Artificial Neural Networks for Electric Vehicle Battery State of Health Estimation 2022 17th International Conference on Control, Automation, Robotics and Vision (ICARCV) · 2022 10.1109/icarcv57592.2022.10004263
  13. State of charge estimation of an electric vehicle's battery using tiny neural network embedded on small microcontroller units International Journal of Energy Research · Wiley · 2022 10.1002/er.7713
  14. An Approach to State of Charge Estimation of Lithium-Ion Batteries Based on Recurrent Neural Networks with Gated Recurrent Unit Energies · Multidisciplinary Digital Publishing Institute · 2019 10.3390/en12091592
  15. An Improved Gated Recurrent Unit Network Model for State-of-Charge Estimation of Lithium-Ion Battery Energies · Multidisciplinary Digital Publishing Institute · 2020 10.3390/en13236366
  16. A Dynamic Spatial-Temporal Attention-Based GRU Model With Healthy Features for State-of-Health Estimation of Lithium-Ion Batteries IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3058018
  17. Lithium-Ion Battery Health Prediction Using a GRU Model with Protective Characteristic 2023 10.1109/mosicom59118.2023.10458820
  18. Online state of health prediction method for <scp>lithium‐ion</scp> batteries, based on gated recurrent unit neural networks International Journal of Energy Research · Wiley · 2020 10.1002/er.5413
  19. A fast screening framework for second-life batteries based on an improved bisecting K-means algorithm combined with fast pulse test Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.101739
  20. A Clustering Approach for the Optimal Siting of Recharging Stations in the Electric Vehicle Routing Problem with Time Windows Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15072372
  21. Data-Driven Clustering Analysis for Representative Electric Vehicle Charging Profile in South Korea Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24216800
  22. Non-Intrusive Load Monitoring and Controllability Evaluation of Electric Vehicle Charging Stations Based on K-Means Clustering Optimization Deep Learning World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2022 10.3390/wevj13110198
  23. EV aggregation modeling based on improved K-means 4th International Conference on Information Science, Electrical, and Automation Engineering (ISEAE 2022) · 2023 10.1117/12.2689418
  24. T-SMOTE: Temporal-oriented Synthetic Minority Oversampling Technique for Imbalanced Time Series Classification Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence · 2022 10.24963/ijcai.2022/334
  25. Classification of Lithium-Ion Batteries Based on Impedance Spectrum Features and an Improved K-Means Algorithm Batteries · Multidisciplinary Digital Publishing Institute · 2023 10.3390/batteries9100491
  26. Short-term EV Charging Load Forecasting Based on GA-GRU Model 2021 3rd Asia Energy and Electrical Engineering Symposium (AEEES) · 2021 10.1109/aeees51875.2021.9403141
  27. Electric Vehicle Charging Load Forecasting Based on K-Means++-GRU-KSVR World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2024 10.3390/wevj15120582
  28. Clustering techniques performance comparison for predicting the battery state of charge: A hybrid model approach Logic Journal of IGPL · Oxford University Press · 2024 10.1093/jigpal/jzae021
  29. Cluster-Based Prediction for Batteries in Data Centers Energies · Multidisciplinary Digital Publishing Institute · 2020 10.3390/en13051085
  30. State of Energy Estimation of Electric Vehicle Based on GRU-RNN 2022 37th Youth Academic Annual Conference of Chinese Association of Automation (YAC) · 2022 10.1109/yac57282.2022.10023893
  31. Electric vehicle charging state predictions through hybrid deep learning: A review GSC Advanced Research and Reviews · 2023 10.30574/gscarr.2023.15.1.0116
  32. An efficient and scalable density-based clustering algorithm for datasets with complex structures Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.05.109
  33. Critical Review on the Battery State of Charge Estimation Methods for Electric Vehicles IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2780258