1. Introduction
As circumstances like global warming, the release of greenhouse gases, and the consumption of fossil fuels receive escalating attention [
1,
2], the utilization of electricity and other new energy sources has gradually emerged as a key solution to alleviating environmental pollution. Following several decades of development, new energy vehicles and hybrid aerospace vehicles have gradually come to the forefront of public awareness. In these domains, power batteries [
3], as a core component of new energy vehicles, are crucial for ensuring the thermal safety and electrochemical performance necessary for the safe operation of vehicles. Furthermore, research suggests that hybrid technology can not only enhance aircraft performance, but also reduce dependence on fossil fuels and lower aircraft weight [
4,
5]. With the continuous progress of battery technology, energy density is gradually escalating, making future battery technologies a promising solution to tackle the fossil fuel crisis and environmental problems in the aerospace field.
Batteries, serving as a crucial component for the storage of electrical energy, directly exert an influence on the efficient and safe operation of spacecraft and new energy vehicles. Among the various types of batteries used in these applications, lithium-ion batteries [
6] stand out for their superior energy density, extended lifespan, and rapid charging abilities, which greatly improve the stability of spacecraft and new energy vehicles. Nevertheless, with the augmentation of charge–discharge cycles, the battery’s capacity gradually deteriorates as a result of irreversible damage to the internal electrode materials. Once the battery reaches its end-of-life (EOL) capacity threshold [
7], replacement becomes requisite. The number of cycles a battery undergoes from its initial state to end-of-life significantly influences its operational longevity. Therefore, investigating the lifespan of batteries is essential for improving their reliability.
Current studies focused on predicting the RUL of lithium-ion batteries primarily employ two approaches: model-based methods and data-driven methods [
8]. Model-based approaches focus on analyzing the internal structure of lithium-ion batteries and constructing equivalent models that capture the chemical properties of the materials [
9,
10]. The main prediction techniques include mechanism-based models, empirical models [
11], and equivalent circuit models. For example, Hu et al. [
12] proposed a moving average estimation model grounded in electrochemical mechanisms, considering factors such as accuracy, computational intensity, prediction horizon, and fault tolerance. Guha et al. [
13] employed a fractional-order equivalent circuit combined with a particle filter to estimate the RUL. This approach enabled real-time analysis of the electrochemical impedance spectrum, and provided accurate predictions of the RUL. However, this approach is computationally intensive. Qiao et al. [
14] developed a highly accurate prediction method that combines data-driven techniques with advanced machine learning models for estimating the RUL. Despite its precision, this method is complex to implement, and EMD’s end effects can compromise prediction accuracy. Thus, model-based methods face challenges in providing accurate RUL predictions due to the complex physical and chemical changes occurring within lithium-ion batteries and the significant impact of external environmental factors. This complexity underscores an inherent limitation of model-based approaches [
15].
The primary data-driven approach involves utilizing neural networks to learn the nonlinear characteristics of the original capacity data from lithium-ion batteries to achieve accurate predictions. Rouhi et al. [
16] proposed a method for predicting the RUL utilizing the gated recurrent unit (GRU) model. While the GRU model performs effectively in predicting the remaining useful life of lithium-ion batteries, its prediction accuracy can be constrained by the need to manually set the model’s hyperparameters. To address this, Sedighimanesh M et al. [
17] proposed a composite deep learning model was proposed that integrates CNN, LSTM, and GRU with the PSO algorithm. This approach utilizes PSO to optimize the hyperparameters of the composite model.
The capacity of a lithium-ion battery is a critical indicator of its lifespan. Due to the influence of internal chemical reactions and environmental factors during daily use, lithium-ion batteries may exhibit capacity regeneration phenomena [
18]. This results in noisy original capacity data, which significantly impacts the accuracy of RUL predictions. Liu et al. [
19] employed the Variational Modal Decomposition (VMD) algorithm to address the effects of capacity regeneration, and used a GRU model for RUL estimation. However, VMD decomposition does not fully eliminate the influence of this noise. Cheng et al. [
20] developed a hybrid model that integrates empirical mode decomposition (EMD) with a long short-term memory (LSTM) neural network to estimate the state of health (SOH) and predict the RUL of lithium-ion batteries. While the EMD algorithm can mitigate the effects of capacity regeneration, it is still prone to mode aliasing. To address this issue, Zhang et al. [
21] applied the CEEMDAN algorithm to process the original data, overcoming mode aliasing and the difficulty of removing white noise inherent in EMD, thus achieving more accurate RUL predictions. Additionally, Tang et al. [
22] proposed a bidirectional GRU model for RUL estimation. This network effectively captures battery capacity information in both forward and backward directions, leading to improved RUL estimation accuracy across various types of batteries.
In summary, the CEEMDAN algorithm effectively decomposes raw capacity data from lithium-ion batteries and removes associated noise. The GRU model is particularly effective at capturing extended dependencies in sequential data. The improved GRU-based network, incorporating bidirectional GRU (BiGRU), enhances the ability to capture long-term dependencies in both forward and backward directions. To improve model accuracy impacted by manually set hyperparameters, the PSO algorithm was utilized for hyperparameter optimization. This study proposes a novel approach for predicting the remaining useful life of lithium-ion batteries, termed CEEMDAN-PSO-BiGRU, which integrates CEEMDAN, PSO, and BiGRU. Experimental results from various test groups in an existing dataset demonstrate that the proposed model exceeds the performance of other models, showcasing excellent feasibility and effectiveness.
2. Related Theories
2.1. Sequence Decomposition
CEEMDAN, short for “Complete Ensemble Empirical Mode Decomposition with Adaptive Noise”, is a time-frequency domain analysis approach based on adaptive signal decomposition. CEEMDAN can decompose the original sequence into several Intrinsic Mode Functions (IMFs) and residual components. Unlike the EEMD [
23] algorithm, which adds white noise to the original sequence to induce modal aliasing, CEEMDAN adds IMF components to the raw sequence instead of directly adding white noise. This approach resolves the issue that the white noise in EEMD is difficult to remove after being transferred. Consequently, the CEEMDAN algorithm has superior completeness, adaptability, and decomposition efficiency. The calculation principle is as follows:
- 1.
Adding Gaussian white noise
to the original signal
X(
t),
is obtained, where
denotes the standard deviation of Gaussian white noise, specifically
- 2.
Perform EMD decomposition of
and calculate the mean value of the first intrinsic mode function (IMF) to obtain the first mode
,
- 3.
Calculate the residual generated from the first decomposition
,
- 4.
Add noise
to the residual
to create a new signal. Perform EMD decomposition on this new signal to obtain the second IMF, and then calculate its average to derive the second mode
,
- 5.
Calculate the value of the residual generated from the second decomposition,
- 6.
Repeat steps 4 and 5 to obtain the kth mode
and the
kth residual
. If the termination condition is met at this point, then
The original signal can finally be expressed as
2.2. Particle Swarm Optimization
The Particle Swarm Optimization (PSO) algorithm [
24,
25], introduced by Kennedy and Eberhart in 1995, is inspired by the flocking behavior of birds, fish, and other animals searching for food in groups. The PSO algorithm offers several advantages. Firstly, unlike gradient-based algorithms that heavily depend on the initial positions of particles in the solution space, PSO’s performance is less sensitive to the initial positions. Secondly, PSO does not require the gradient of the objective function to be defined across the entire solution space. Lastly, previous studies [
26,
27] have shown that PSO has relatively simple code, and is efficient in finding suboptimal or global optimal solutions. Therefore, this study uses the PSO to optimize the hyperparameters of the BiGRU model for predicting the RUL. The calculation steps are as follows:
Generation of the particle swarm: randomly initialize a set of particles within the defined search space, with each particle representing a possible solution.
Initialization of velocity: assign a random initial velocity to each particle.
Initial position: ascertain the initial position of each particle.
Initialization of individual best solution: the initial position of each particle is designated as its current individual best solution.
Initialization of global best solution: choose the current best solution among all individual best solutions as the global best solution.
- 2.
Iterative update: Perform the following operations for each particle, repeating the iterations multiple times until the termination condition is met:
Update the velocity of the particle, which determines the direction and step size of the particle’s movement in the next iteration. The velocity update formula is:
where
represents the velocity of particle
i at iteration
;
represents the velocity of particle
i at iteration
i;
represents the inertia weight;
represent the acceleration factors;
are random numbers within the range
; pBest represents the historical best position of particle
i; gBest represents the global historical best position; and
represents the position of particle
i at iteration
i.
Calculate the new position of the particle based on the updated velocity:
where
represents the position of particle
i at iteration
;
represents the position of particle
i at iteration
i; and
represents the velocity of particle
i at iteration
. An update schematic is shown in
Figure 1.
Assess the fitness of each particle at its new position. The fitness function typically represents the goal of the optimization problem, indicating the quality of the potential solution.
Update pBest and gBest.
- 1.
Update pBest: if the current fitness value of a particle surpasses its previous best, adjust the particle’s pBest accordingly;
- 2.
Update gBest: if a particle’s current fitness value exceeds the global best, adjust the gBest accordingly;
- 3.
Termination condition: The algorithm concludes either when the maximum number of iterations is reached or when the gBest meets the specified accuracy requirements. The gBest is then considered the optimal solution to the problem.
- 3.
Output results.
The final output is the gBest along with the corresponding optimal fitness value.
2.3. Bidirectional Gated Recurrent Unit
The Gated Recurrent Unit (GRU) [
28] is a variant of the Long Short-Term Memory (LSTM) network [
29]. Given the strong temporal correlations in lithium-ion battery performance, selecting an appropriate time series prediction model is essential. While Recurrent Neural Networks (RNNs) can capture nonlinear relationships in time series data, they face issues such as vanishing or exploding gradients due to their time dependency. LSTM networks address these issues with their specialized architecture, which includes an input gate, a forget gate, an output gate, and a cell state, allowing for effective long-term memory retention. However, this complexity results in lengthy training times. In contrast, the GRU simplifies the LSTM structure by primarily using a reset gate and an update gate. This simplification improves training efficiency while preserving prediction accuracy. A schematic diagram of a GRU unit is illustrated in
Figure 2. The mathematical formulas for GRU are as follows:
where
and
represent reset gate and update gate, respectively.
and
represent the candidate hidden state and the update hidden state, respectively.
,
and
W, respectively, represent the weight parameters of the GRU model.
is the sigmoid activation function. ⊙ represents the dot product operation.
As shown in
Figure 2, in the traditional GRU model, information state propagation occurs only from the past to the future. Given that predicting the RUL of lithium-ion batteries relies heavily on time series information, this paper employs two GRU models with opposite propagation directions to form a Bidirectional GRU (BiGRU) model [
30]. This approach facilitates the extraction of temporal information from both forward and backward directions. The structure of the BiGRU model is shown in
Figure 3.
2.4. The Proposed Model
Building on the strengths of the aforementioned components, we propose an integrated RUL prediction model, named CEEMDAN-PSO-BiGRU. The process involves the following steps:
- 1.
Feature extraction: the CEEMDAN algorithm is employed to extract feature components from the original capacity sequence;
- 2.
Hyperparameter optimization: the PSO algorithm is used to perform hyperparameter tuning for the BiGRU model;
- 3.
Model training: the optimized BiGRU model is then trained using the extracted components;
- 4.
RUL estimation: the trained BiGRU model is then utilized to precisely estimate the RUL of lithium-ion batteries.
A schematic diagram of the prediction process is show in
Figure 4. The steps involved are as follows.
First, preprocess the original data by checking for missing values. If any are found, fill them with the average of the preceding and following values to ensure the dataset is complete.
Next, the CEEMDAN algorithm is applied to decompose the processed capacity data into IMFs of various frequencies.
Then, standardize the obtained components by normalizing the data to a range of (0, 1) to facilitate neural network processing.
Following this, use the PSO algorithm to identify the optimal hyperparameters for the model. Train the model for each component separately using the optimal number of GRU units and learning rate parameters determined by the PSO optimization. An early stopping strategy is employed to prevent overfitting.
Finally, develop a comprehensive RUL prediction model that integrates the predictions from each component and the residual component to produce the final RUL estimate.
5. Conclusions
This paper introduces a lithium-ion battery RUL prediction approach that integrates CEEMDAN decomposition, the PSO optimization algorithm, and the BiGRU model. CEEMDAN is utilized to decompose the original capacity data, effectively mitigating the capacity regeneration phenomenon. The critical hyperparameters of the BiGRU model are then optimized using the PSO algorithm, which significantly improves the model’s prediction accuracy and generalization capability. The main conclusions of this paper can be summarized as follows:
- 1.
This approach takes the capacitance regeneration phenomenon into account and utilizes the CEEMDAN algorithm to decompose the processed capacity data into IMFs of various frequencies. In comparison with other methods, the prediction results of the combined model exhibit lower RMSE and error. Consequently, the application of decomposition algorithms is conducive to enhancing the prediction performance.
- 2.
The PSO algorithm optimizes the key hyperparameters of the BiGRU. The experimental results show that using the PSO algorithm can reduce MAE and RMSE, thereby improving the prediction accuracy of the model.
- 3.
BiGRU can capture the complex long-term and short-term dependencies in time series, enhance the model’s sensitivity to changes in battery life trends, can deal with the nonlinear and non-stationary problems in lithium battery RUL prediction more effectively, and has high application value and practical feasibility. The method proposed in this paper offers new ideas and technical routes for lithium battery RUL prediction and has broad promotion prospects in practical applications such as battery management systems.
In summary, this study investigated the application of the CEEMDAN-PSO-BiGRU algorithm for predicting the RUL of batteries, and found that this approach significantly enhances prediction accuracy. To further strengthen the integrity of this research, future studies should explore specific real-world applications of this predictive technology. For instance, in energy storage systems, this technology can optimize energy management and improve system efficiency; in the electric vehicle sector, precise battery state predictions can extend driving range and enhance user experience; and in battery management systems, this approach can facilitate more effective charge and discharge strategies, ensuring safety and prolonging battery life. These applications not only underscore the practical relevance of the predictive technology, but also offer a promising outlook for its widespread adoption across various industries.