Abstract
Energy generation, which promotes a nation's economic stability and advancement, is one of the most significant facets of modern society. Recent years have seen significant advancements in energy conversion and storage technology, particularly in mobile gadgets and electric vehicles. Lithium-ion batteries are utilized in energy storage and electric vehicles because of their low self-discharge rates, long cycle life, and high energy density. Therefore, precise evaluations of battery conditions are necessary for safe operation. This study proposes a hybrid model based on the Bidirectional Gated Recurrent Unit (Bi-GRU) with the Giant Trevally Optimizer (GTO) for state of health (SOH) prediction, which will help in improving the predictive accuracy. In the estimation of SOH, some key features of charge-discharge cycle characteristics are used based on the NASA lithium-ion battery dataset. The proposed GTO-Bi-GRU model outperforms Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) models by incorporating the bidirectional learning abilities of Bi-GRU, which captures the complex trend in battery degradation more effectively. Meanwhile, GTO performs the hyperparameter tuning optimally, outperforming classical optimization techniques such as particle swarm optimization (PSO), genetic algorithm (GA), and Cuckoo search algorithm (CS). This comparative study demonstrates that GTO-Bi-GRU achieves the highest prediction accuracy among all with coefficients of determination values of 0.9969, 0.9917, 0.9948, and 0.9882 on B5, B6, B7, and B18 battery cells. These results depict that GTO-Bi-GRU outperforms PSO-Bi-GRU, GA-Bi-GRU, and CS-Bi-GRU by a great margin, hence establishing it as a very effective model for SOH estimation. The results prove that GTO-Bi-GRU is robust enough and scalable for battery health monitoring applications in electric vehicles.
Keywords
Introduction
In today's world, energy is essential as it powers almost all human activities. 1 Transportation, heating, electricity production, and industrial operations are all activities that necessitate energy. 2 Energy sources can be classified as renewable or non-renewable based on their environmental impact and availability. 3 In general, renewable energy sources, including solar, wind, and hydropower, are more sustainable due to their capacity for natural renewal. 4 Nuclear power and non-renewable energies (coal, oil, natural gas, and fossil fuels) are examples of finite resources. 5 Nonrenewable energy sources have an adverse effect on the environment by destroying habitats, polluting the air and water, and releasing greenhouse gases that exacerbate climate change. The crisis surrounding the reduction of Nuclear products and the resulting distress of the urgency in finding pure and renewable energy resources, as well as innovative technologies for energy utilization and storage facilities has been heightened due to global warming.6,7 Some efficient conversion and preservation of energy technologies have emerged in recent years and developed rapidly and extensively in mobile phones, electric cars, and other portable electronics.8,9 Fuel cells, supercapacitors, and lithium-ion batteries are some of these technologies.10–12 Lithium-ion batteries have demonstrated significant benefits such as high energy density, lightweight design, extended cycle life, and minimal self-discharge. 13 Application potential in electric cars has become crucial for reducing environmental pollution. The aging of lithium-ion batteries occurs due to the depletion of active materials in the electrodes and the depletion of lithium reserves during continuous use. 14 It reduces the driving range of electric vehicles, causing range anxiety, and poses safety risks to Electric vehicle drivers (EV). 15 Sufficient power to the battery management system (BMS) is required to ensure the secure operation of electric vehicles. 16 To guarantee the secure operation of electric cars, a precise state of health (SOH) estimate is an essential role of BMS. 17 The SOH is an evaluative metric to assess a battery's service life, indicating its degree of aging and dependability. Nevertheless, the SOH cannot be determined owing to the batteries’ intricate internal degradation mechanism. 18 The selection of novel methodologies for assessing the SOH of batteries is crucial. Currently, experimental analysis, model-based, and data-driven methods comprise the three kinds of SOH anticipation techniques.19–21 Among the experimental methods are open circuit voltage (OCV), coulomb counting, and impedance spectroscopy. Typically, these methods forecast the SOH of the battery in real time by employing a determination system. Furthermore, the model-based methodologies achieve SOH estimation by applying the laws of internal physicochemical reaction and prior knowledge of the life cycle.22,23 For estimating SOH, data-driven methods have been implemented extensively, benefiting from vast quantities of battery data and not requiring preexisting knowledge or model mechanisms. The estimation of battery SOH in data-driven approaches involves the extraction of feature vectors associated with the aging procedure. 21 Voltage characteristics are among the most commonly selected to characterize the deterioration process of a battery. Wu et al. 24 implemented a method based on the differential geometry method for feature variable extraction from the output voltage profile in the course of constant-current charging, followed by the estimation of the battery SOH using a data processing aggregation method. For the SOH of a battery, Yang et al. constructed a Gaussian process regression (GPR) model by employing four battery health features that were extracted. 25 The gray correlation method and a charging curve were employed to investigate the correlation between the features and SOH. Another significant attribute that demonstrates a strong correlation with the battery's SOH is the incremental capacity (IC) curve. 26 Based on the variations in the IC peaks, Weng et al. predicted the SOH of the battery. 27
The single-source feature's limitations were discussed by Dai et al.
28
It is important to note that the chosen model in the Dai et al.
28
study received the IC and voltage characteristics as inputs. A neural network based on prior knowledge was implemented to estimate the SOH of the batteries. Wang et al.
29
implemented thermal differential voltammetry characteristics that incorporated temperature and voltage. Zhang et al.
30
have recently introduced a model fusion approach wherein the selection of the model is determined by various charging conditions. As a standard for choosing models for the estimate of SOH the IC peak was employed; nevertheless, it exhibits dynamic fluctuations according to the number of cycles, and the presence of local extreme points can result in imprecise estimations of the charging condition and impact the selection of models. It is prone to failure when the feature space is high dimensional. Prediction methods that rely on a single model may exhibit limited robustness. Wang et al.
31
combined the voltage and IC features as inputs to the model to circumvent the shortcomings of the single-source technique. The SOH of the batteries was estimated utilizing a neural network based on prior knowledge. Combining the filtering with a surrogate model, Wei et al.
32
presented a data-driven strategy. While advancements have been made to the model's accuracy, its practical applicability was constrained because the updating criteria for model parameters relied on the discrepancy between predicted and actual values. Aging profiles are derived from voltage, and current profiles to provide a more comprehensive description of Battery degradation characteristics. The motivation for applying machine learning (ML) models to SOH prediction in batteries largely emanates from their huge potential currently demonstrated in nonlinear and complex patterns across a wide range of fields.
33
Advanced models in ML are applied to the field of capturing intricate biological processes of metastasis detection, multi-swarm cooperative particle swarm optimization for complex optimization problems, and nonlinear relationships in textual data of sentiment analysis.
34
It will present how far the ML methods can do pattern extraction from datasets that can vary diversely and possess very similar properties as the nonlinear degradations occurring in lithium-ion batteries. These shall henceforth enable fast adaptation to solve SOH problems of current batteries. Drawing inspiration from these works, this study proposes the inclusion of ML models with some new features of their own toward SOH-related research.
35
As machine learning (ML) methods exhibit suboptimal performance Bi-Directional Gated Recurrent Unit (Bi-GRU) is employed for SOH prediction.
36
A Bi-GRU neural network is an augmentation of a Gated recurrent unit (GRU) neural network by the addition of a second layer. At any given time, this two-layer architecture imparts to the output layer all pertinent contextual information regarding the input data.
36
By using the principles of natural selection, these algorithms replicate the greatest levels of efficiency ever witnessed in the natural world. The current work integrated optimization technique, the Giant trevally optimizer (GTO).
37
The gigantic trevally's hunting habits served as the model for the metaheuristic GTO algorithm. The dataset used in this study is NASA's lithium-ion battery dataset, which is described in detail in Section 3.1. This paper's main contributions are as follows:
With the ability to learn features in both directions, the Bi-GRU model was unveiled. The model may more accurately represent the time-series characteristics in the data. Specifically, The Bi-GRU model can forecast more accurately when handling capacity rebound brought by recovering capacity while cycling the battery operations, which improves the predictive model's accuracy and performance. To get the best possible hyperparameter combination for the Bi-GRU model, hyperparameter tuning for the model was carried out using the GTO optimizer, which was introduced as a method of model optimization. The NASA battery dataset is used, focusing on lithium-ion batteries, and characteristics of the charge-discharge cycle are employed to estimate SOH in the research. Performances of SOH prediction by comprehensive comparisons between Bi-GRU, Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Giant Trevally Optimizer-Bidirectional Gated Recurrent Unit (GTO-Bi-GRU), Particle Swarm Optimization-Bidirectional Gated Recurrent Unit (PSO-Bi-GRU), Genetic Algorithm-Bidirectional Gated Recurrent Unit (GA-Bi-GRU), and Cuckoo Search Algorithm Bidirectional Gated Recurrent Unit (CS-Bi-GRU) are implemented. The experimental results confirm that Bi-GRU outperforms LSTM and GRU with the advantage of bidirectional learning for mapping the battery degradation trend more effectively, especially for capacity rebound scenarios. Unlike the very computationally expensive LSTM and GRU, which do not offer bidirectional processing, the Bi-GRU has a more computationally efficient yet accurate solution. Besides, GTO was selected for hyperparameter tuning because it strikes a better balance in exploration-exploitation compared to PSO and GA. Results confirm that the most accurate and robust model is GTO-Bi-GRU, which could be an optimal choice for SOH prediction in battery health monitoring.
The remainder of the paper is divided into the following sections: In Section 2, a background and the SOH is defined theoretically. Section 3 discusses feature extraction and the data set. The research materials and techniques are discussed in Section 3. The results of this study are presented in Section 4. The study's conclusion is given in section 5.
Background
Lithium-ion batteries
Batteries are electrical energy storage devices that may be utilized as a source of power for devices that need electricity to operate. To be more precise, a battery is made up of one or more electrochemical cells that have external connecting terminals. 38 These connections are the positive and negative terminals, which, when a battery is delivering electricity, function as the cathode and anode, respectively. 39 When a battery serves as a power source by being linked to an electrical circuit, a chemical reaction (depending on the kind of battery) induces an electrical current to flow. One subset of the battery family is lithium-ion batteries. Lithium batteries, like many other battery types, are made up of a positive and a negative electrode (cathode, current collectors, an electrolyte, a separator, and an anode. 40 The electrodes are the site of the chemical reaction that produces electrical current either oxidation (loss of electrons) or reduction (gain of electrons) occurs according to whether a battery is charging or draining. Lithium ions (Li+) and free electrons (e-) are released or bound by these chemical reactions. The foundation of rechargeable batteries is this oxidation/reduction duality. 41 Through the electrolyte, which is usually dissolved lithium salt, the lithium ions diffuse throughout the battery, producing a voltage between the terminals that drives the movement of free electrons, or electrical current. The purpose of the final parts, the separators, is to isolate the electrodes to prevent internal battery discharge.
Figure 1 shows a representation of the charging and discharging operations of a lithium-ion battery to more clearly depict the two modes of operation. It shows exactly how electrons go through the wire that connects the terminals and how lithium ions migrate through the separator. Both the electrons and the lithium ions are traveling in distinct directions toward the negative current collector when the battery is charging. In contrast, both particles go in the direction of the positive current collector when the battery is discharging.

Illustrating how lithium-ions and electrons go through a normal lithium-ion battery.
The four main parts of a lithium-ion battery are the separator, cathode, anode, and electrolyte. Consequently, the battery's performance is dependent on the characteristics of these components.
42
The rise in cycling leads to the unavoidable deterioration of lithium-ion batteries, which involves both mechanical and chemical impacts. Deterioration of the cell's structure, such as volume reduction or enlargement induced by the deintercalation and intercalation of lithium ions throughout the charge and discharging procedure, is a significant contributor to power fading. Fractures or fissures may form on both the cathode and anode as a result, thereby diminishing the battery's performance.
43
The charging and discharging process of an electrochemical system can therefore lead to chemical degradations, such as the solid electrolyte interphase (SEI) layer forming on the anode surface and the decomposition of the electrolyte.
44
These irreversible phenomena have the potential to deplete electrolytes and active lithium ions, resulting in a reduction in battery capacity and an increase in resistance. Calendar aging behaviors may also contribute to battery degradation, along with cycling degradation. Unlike cycling aging, calendar aging manifests itself during battery life. It is in rest mode without charging or discharging, and during this period the battery capacity gradually decreases.
45
Batteries undergo extensive calendar deterioration Between their manufacture and actual implementation in a battery system. Calendar aging has been shown to lead to the depletion of the electrode, which contains both lithium and active materials.
46
As a result of the degradation process, certain battery characteristic parameters change, such as the utmost available capacity diminishing and the internal resistance increasing. An indication that a battery has reached its end of life (EOL) is typically the occurrence of twofold internal resistance or a capacity decline of 80% relative to its nominal value.
47
SOH is an important indicator of battery degradation. By detecting SOH, the Remaining Useful Life (RUL) of the battery can be determined, thereby ensuring its dependability and extending its lifespan.
48
It is worth noting that the battery SOH can be employed to gauge the overall degradation level and provide an alert when a replacement is necessary. The ratio of the present state to the original state of the capacity or internal resistance may be used to determine the battery SOH.
49
Dataset description
The database of NASA is derived from the initial dataset utilized in this study. B5, B6, B7, and B18 are manufactured lithium-ion batteries. The NASA battery dataset's charge-discharge cycle (CC-CV) comprises a charging procedure distinguished by constant current and voltage; these attributes are utilized in this investigation. B5, B6, B7, and B18, lithium-ion batteries have a capacity of 18,650, which are the four batteries from the entire dataset selected for this paper. Voltage and capacity are both nominal at 3.7 V and 2 Ah, respectively. The NASA-obtained dataset depicted the battery aging process from inception to decommissioning by including data on charging time, voltage, current, temperature, and other relevant parameters. Figures 2 and 3 illustrate the voltage and current change profiles of the battery throughout an entire charge and discharge cycle.

NASA voltage charging-discharging curves.

NASA current charging-discharging curves.
The NASA battery dataset forms an established, accepted platform for studying aging and degradation in lithium-ion batteries. It encompasses all the data on lithium-ion battery charge-discharge cycles under a controlled laboratory environment, all of which are coupled with explicit voltage, current, capacity, and temperature details. Although comprehensive and available to the public, this dataset is worthwhile in terms of SOH prediction; some restrictions in the dataset are cited here about its practical application in the context of EV batteries. The first limitation is that the data most accurately reflects laboratory testing circumstances, which are quite different from the unpredictable and changing environment that batteries must endure in real-world EV applications. This dataset does not account for variability created by real factors such as charging behaviors, temperature fluctuations, and mechanical stress. Only a portion of the cells has been scrutinized for this research: B5, B6, B7, and B18. Such might not entirely reflect all possible lithium-ion battery chemistries and topologies used within EVs, restricting applicability for a broader purpose within the field of EVs. Despite these limitations, this dataset would provide insight into the battery aging processes, thereby providing an excellent starting point for developing and testing models. Field-tested EV batteries or data representing wide-ranging operating conditions would further provide realistic relevance to results from such an approach. The proposed methodology could then be complemented by strengths derived from the NASA dataset, hence validating its generalizability and practical applicability in various fields.
The NASA battery dataset's charge-discharge cycle is made up of a charging procedure that is described by CC-CV. A constant voltage (CV) discharge process with 1.5 A and less than 2 A. Initially, a current of 1.5 A (0.75C) was utilized to charge the battery until the terminal voltage attained its rated charging voltage of 4.2 V. Following that, CV charging was performed on the battery at a voltage of 4.2 V until the current fell 0.5 A. After the CC-CV charging procedure, the battery will discharge with a constant current of 0 A until the terminal voltage reaches the discharge cut-off voltage associated with the process.
Measured health indicators
Current and voltage are among the measured Health Indicators (HIs) readily obtainable from the BMS. Consequently, battery degeneration may be replicated and explained using HIs that are extracted during the charging and discharging processes.
Voltage-related HIs
Changes in internal physical and chemical processes during storage and operation result in notable variations in the voltage curve during both charging and discharging. Specifically, the capacity decreases during the aging process, while the internal resistance increases. The charging current (CC) decreases as the number of cycles in the voltage curve increases. During the charging phase, two features, named voltage-charging-p1 and voltage-charging-p2, were selected, as illustrated in Figure 4. As shown in Figure 5, the slope during the charging phase increases with each cycle.

The scatters of voltage during the charging period.

The slop scatter of voltage during the charging period.
During the discharging phase, two features were selected named voltage-discharging-p1, and voltage-discharging-p2, which are mentioned in Figure 6. The ascent of the slope during the discharging phase decreases with each cycle, as illustrated in Figure 7.

The scatters of voltage during the discharging period.

The slop scatter of voltage during the charging period.
The deterioration trends of lithium-ion batteries are readily discernible through the analysis of charging and discharging current curves. As the cycle number increases, the charging current shifts to the left. As the cycle goes on, CV mode's duration lengthens while CC mode's drops. Two features were selected during the charging and discharging period named charging-terminal-current-m1, and discharging-terminal-current-m1 mentioned in Figure 8.

The scatter of the charging-discharging current terminal.
As stated in the preceding sections of this study, it is essential to determine the SOH of a battery. Conducting this test reveals that as the number of cycles increases, the SOH decreases. The entire process is illustrated in Figure 9.

The scatter of SOH.
The selected features with the greatest impact on SOH prediction are used as input variables for further training of the model to determine which Health Indicator (HI) has a significant impact. In the data preprocessing phase, redundant or unnecessary data is eliminated following the extraction of the dataset containing information on HI. A sliding method was also used to separate the data into training and test sets to get them ready for additional modeling and analysis. To eliminate the spatial influence of the variable and hasten the agreement of the model, normalize the data. This minimizes training-related inconsistency brought on by varying numerical ranges, expedites model training, and guarantees scaling consistency across various features. Reduce the Root Mean Square Error (RMSE) model assessment metric by optimizing the unoptimized Bi-GRU model using the Cuckoo Search Algorithm (CS) and the GTO. To help the model avoid local optimal solutions and improve model performance, to identify the optimal set of hyperparameters, do a random search in the hyperparameter space. Establish an appropriate set of hyperparameters as the model's starting points, then use the backpropagation technique to continuously modify the Bi-GRU model's internal parameters to reduce the loss function. The study framework is mentioned in Figure 10.

The study framework.
Combining GTO and Bi-GRU to forecast SOH
In this paper, the hyperparameter of the Bi-GRU model has been optimized with the GTO to achieve the best setting toward the most accurate estimation of SOH. This includes the major hyperparameters that GTO will tune in the search for an optimal learning rate, number of layers, and number of hidden units in the Bi-GRU, which define the capability of the model to learn temporal and nonlinear characteristics in battery degradation data. It also provides a loss function that calculates the error of this prediction and grounds the basis for its optimization process during training. The optimization is guided through evaluating the loss functions obtained from the error metrics, RMSE, and Mean Absolute Percentage Error (MAPE).
The GTO acts in three of the most important phases adapted to the SOH estimation tasks.
50
Extensive Search: Area Selection: Attack Phase:
GTO makes the initial Lévy flights over the wide hyperparameter space, which then allows it to dive into that space with depth later. The candidate configuration of the next iteration is determined as:
This step is dedicated to reducing the search around the areas of smaller RMSE and MAPE. The position update will be calculated as:
The last stage will then fine-tune the solution from exploration to exploitation by zooming in on the adjustments of the hyperparameters. The updated position is obtained with the formula:
This is a three-stage process that systematically enables GTO to explore, refine, and fine-tune the hyperparameter configurations toward the optimal setting of Bi-GRU for SOH estimation. The inclusion of GTO guarantees that the Bi-GRU model provides high predictive accuracy while being able to adapt to the nonlinear and temporal dependencies in the dataset of batteries.
Bidirectional Gated Recurrent Unit
A Bi-GRU neural network is an augmentation of a GRU neural network by the addition of a second layer.
51
At any given time, this two-layer architecture imparts all pertinent contextual information regarding the input data to the output layer. The basic idea behind the Bi-GRU neural network is that an input sequence is processed by both a forward and a backward neural network, with the resulting outputs of both networks being aggregated within a single output layer.
51
The Bi-GRU neural network with two layers and time series growth. Particularly, within the Bi-GRU neural network, the output of the hidden layer is computed at each time point from forward to backward in the forward layer, and from backward to forward in the backward layer. At each moment, the output layer presents the output results of the forward and reverse layers, which it normalizes.
Long Short-Term Memory Gated Recurrent Unit
An artificial neural network (ANN) called LSTM can analyze sequential data, such as time series, audio, and text. Processing data with long-term dependencies where the output at a current time step requires knowledge from previous time steps benefits greatly from its use. For long periods, LSTM networks can preserve this information by using memory cells, input gates, output gates, and forget gates. These gates allow selective data storage and retrieval in the network by controlling information flow into and out of memory cells. The input gate controls the flow of data into the memory cell.
52
It was Cho et al.
53
who originally presented the GRU network. RNNs are based on the fundamental idea of determining outputs by considering inputs and the hidden state, which is found by squaring up previous outputs or hidden states. The GRU provides advanced data control in a hidden state with an update gate and a reset gate. Generally speaking, it can identify which data from the past may be removed from the concealed state and which data from the current inputs must be added. In contrast to long short-term memory, which has a cell structure and a unit consisting of three gates, the GRU has fewer parameters.
54
Giant Trevally Optimizer
The GTO technique, which is a metaheuristic algorithm, was inspired by the gigantic trevally's hunting behaviors.
37
Methods employed by the giant trevally to capture prey include patterned foraging, region selection for optimal hunting, and launching from the water. These strategies are implemented in a three-step procedure by the GTO algorithm: extensive search, area selection, and attack. The illustration of GTO is mentioned in Figure 11.
Extensive Search

The illustration of GTO.
To simulate the extensive journeys undertaken by gigantic trevallies in search of sustenance, the GTO method employs a computational model founded on Levy flights, which are a variation of the random stroll. This stage enhances the capability of the algorithm for exploration and assists in circumventing regional optimum. The equation utilized during this stage is visually represented as follows:
Choosing Area Attacking Cuckoo Search Algorithm
The algorithm determines the optimal foraging region in this stage by considering the availability of sustenance within the search space. This behavior is mathematically replicated using the subsequent equation:
The final stage of the algorithm mimics the attack of its victim by the trevally. The trevally's behavior is influenced by light refraction, which also affects its vision. To mimic this manner, the program determines how distorted the image is. V using Snell's equation and then mimicking: Trevally's assault

The framework of GTO.
To elaborate on the CS algorithm, let us examine the reproductive customs of some intriguing cuckoo species. Following this, we will outline the stages and fundamental concepts of the CS algorithm.
Cuckoo breeding behavior Levy flights Cuckoo search A single egg is laid by each cuckoo, which is subsequently deposited in a nest that is selected at random. Nests that are of superior quality will generate eggs (solutions) that are of the utmost quality and transmit them to succeeding generations. A predetermined number of host colonies are available, and the probability that a host will discover an extraterrestrial egg is denoted by
Cuckoos are captivating avian species due to their formidable vocalizations and predatory reproductive strategy. Certain species, such as Anthia cuckoos and Guira cuckoos, employ the strategy of extracting eggs from communal nests occupied by other birds to increase the probability of successful hatching. Many species use mandatory brood parasitism, which is a kind of reproduction whereby they lay their eggs in the nests of various host birds, frequently other species. Nest usurpation, intraspecific brood parasitism, and cooperative reproduction are the three main forms of brood parasitism. There might be a conflict between the intruding cuckoos and some of their hosts. As soon as the host avian discovers that the eggs do not belong to it, it will either abandon the nest and build a new one elsewhere or jettison the foreign eggs. Similar to the New World brood-parasitic Tapera, female parasitic cuckoos often exhibit a high degree of specialization in reproducing the hue and design of the eggs of a limited number of host species. This is owing to the evolutionary nature of certain cuckoo species. Due to the decreased probability of their embryos being abandoned, they are capable of reproductive freedom. Additionally, several species exhibit extraordinary egg-laying timing. Frequently, cuckoo parasites choose nesting sites where the host bird has recently laid eggs. Eggs of the cuckoo typically emerge slightly earlier than the eggs of the host. Upon hatching, the first cuckoo baby exhibits an instinctual behavior wherein it forcibly pushes the host eggs from the nest, thereby increasing the proportion of food provided by the host avian. Additionally, research indicates that cuckoo babies may imitate the calls of their hosts to secure additional feeding opportunities.
Wildlife engages in hunting behavior that is either quasi-random or random. As the likelihood of transitioning to the subsequent location and the animal's current position/state determine the subsequent movement, the foraging route of an animal is essentially a random walk. Its chosen course of action is dictated by an implicit probability that can be mathematically expressed. For example, several studies have demonstrated that the flying characteristics of various insects and animals exhibit the characteristic features of Levy flights. Reynolds and Frye recently conducted research that indicates that fruit flies, scientifically known as Drosophila melanogaster, investigate their surroundings by traversing a series of linear flight paths interspersed with abrupt 90-degree turns. Since then, this behavior has been implemented in optimization and optimal search, yielding promising initial results.
Presently, the three idealized principles listed below are used to succinctly delineate the new CS approach:
Replace a proportion
An instance of a Levy flight occurs when new solutions Particle Swarm Optimization

The illustration of CS.

The framework of CS.
The goal of PSO is to replicate the cooperative behaviors of a school of fish or a flock of birds to get the best possible outcomes. Although the precise position of the food source may not be immediately apparent, the swarm will nonetheless adhere to a set of guidelines to reach it. For the swarm to find the food source, cooperation is essential. In the end, swarms of fish or birds will reach the almost ideal solution simultaneously. These three principles separation, alignment, and cohesiveness allow a bird swarm to effectively traverse the search space and find the correct answer.
55
Genetic Algorithm
To solve optimization and search issues, the genetic algorithm is a computational method that simulates the mechanism of natural selection. A group of possible answers known as individuals is produced using this method. Then, these individuals are subjected to genetic processes like selection, recombination, and mutation to produce new individuals. The evaluation method used in this study is iterative, meaning it is repeated over several generations until a workable answer is found. As a result, GA is widely used in several fields, such as research, engineering, and finance.
56
To assess the model's ability to accurately predict output values from input data, regression models are evaluated using evaluation criteria.
The preciseness of a model is quantified as a percentage under the acronym MAPE. By multiplying the actual value by the total sum of the difference between the predicted and actual values, and subsequently aggregating the resulting percentages, it is determined. The precision of the model is assessed by utilizing this value, and the model is more accurate when the MAPE is lower.
A model's fit to the data is quantified by its Coefficient of Determination (
This study evaluates many algorithms, including Bi-GRU, CS-Bi-GRU, and GTO-Bi-GRU, using NASA battery datasets labeled B5, B6, B7, and B18 batteries. Then the results of these algorithms are carefully analyzed and recorded. The goal is to determine the most accurate and effective way to predict SOH. Among the evaluation criteria used were

Comparing various models across significant metrics (RMSE,

Comparing various models across significant metrics (RMSE,

Comparing various models across significant metrics (RMSE,

Comparing various models across significant metrics (RMSE,
The results of evaluation criteria for various models in 5, 6, 7, and 18 cells.
Evaluation criterion results for various hybrid models in cells 5, 6, 7, and 18.
These results indeed reflect that Bi-GRU tends to outperform the LSTM and GRU models on SOH predictions. This is because all cells produce high values of
GA-Bi-GRU surpasses PSO-Bi-GRU in accuracy, especially for B5 and B7, though GTO-Bi-GRU remains the most precise model by showing the minimum values of RMSE and MAPE. Contrarily, PSO-Bi-GRU represents the lowest predictive accuracy, with higher RMSE values of B6 (3.3295%) and B7 (2.0836%), which indicates poor convergence ability. The superiority of GTO-Bi-GRU in performance is attributed to the effective balancing between exploration and exploitation to provide the optimal hyperparameters of the model. These results validate the main contribution of optimization for enhancing SOH estimation and ascertaining GTO-Bi-GRU as the most reliable and accurate method; hence, this qualifies it to be one of the prominent approaches for battery health monitoring in electric vehicle applications.
Figures 15 to 18 represent the testing performed on cells B5, B6, B7, and B18, where three models are compared: Bi-GRU, CS-Bi-GRU, and GTO-Bi-GRU. The analysis is conducted with three significant metrics—
NASA's battery dataset has been selected because it is one of the most credible and widely accepted datasets in the research fraternity in the study of lithium-ion battery aging and degradation. This dataset contains comprehensive charge/discharge cycles, with minute records of voltage, current, capacity, and temperature, which are very important for model development and validation in predicting the SOH. Although the dataset reflects typical conditions in laboratory testing, it provides a controlled environment for studying key aging mechanisms and serves as a paradigmatic basis for initial studies in this area. Furthermore, being publicly available and well-documented, this dataset allows for reproducibility and benchmarking of the most important parts of any scientific research. Other areas where future research can be built on the knowledge learned from this work include commercial EV systems or on-field operation data. This will offer insight into how the batteries perform under real-world conditions, including wide ranges of charging behavior, dynamic temperature fluctuations, and mechanical stresses occurring in actual vehicle usage. These would minimize the difference between lab-generated datasets like those from NASA and complicated, uncontrollable environmental ones in field operation. Future work will also include integrating multi-source data that covers different chemistries, configurations, and lithium-ion battery use patterns. The resultant models will be able to generalize much better across various EV platforms and usage scenarios. Future studies can develop the predictive accuracy, scalability, and practical relevance of the proposed methodologies for SOH prediction in modern EV battery technologies by combining strengths from controlled laboratory datasets with field-tested data.
The significance of energy in driving human activities is paramount, impacting essential sectors such as transportation, power generation, heating, and industrial operations. However, the distinction between renewable and non-renewable energy sources underscores a clear divide in sustainability and environmental impact. While renewable sources offer the potential for a more environmentally friendly future, the finite nature of non-renewable fuels highlights the urgent need to transition to cleaner alternatives. Recent advancements in energy conversion and storage technologies, particularly in electric vehicles and mobile electronics, have led to significant improvements. Among these breakthroughs, lithium-ion batteries have emerged as leaders due to their high energy density, long lifespan, and potential to reduce environmental pollution.
This study carefully considers the effects of battery aging and internal responses on capacity degradation during charge and discharge cycles. The investigation was based on battery datasets (B5, B6, B7, and B18) provided by NASA. The features analyzed in this study include voltage-charging-p1, voltage-charging-p2, voltage-discharging-p1, voltage-discharging-p2, charging-terminal-current-m1, and discharging-terminal-current-m1, all extracted from voltage and current data. The evaluation criteria results unequivocally demonstrate that Model GTO-Bi-GRU was chosen as the proposed approach in this paper for battery SOH prediction because of its high accuracy and efficient operation. Tables 1 and 2 show that for various testing sets, the RMSE was less than 2.4%, MAPE was less than 0.75%, and
Statements and declarations
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
