1. Introduction
Lithium-ion batteries have emerged as a primary power source in various industrial sectors, including mobile communication devices, new energy transportation vehicles, and aerospace, due to their high energy density, stability, durability, and affordability [
1,
2]. Over time, the battery’s internal resistance increases, causing a decline in its performance and ultimately compromising the electrical equipment’s safety [
3,
4].
Currently, remaining useful life (RUL) prediction methods for lithium-ion batteries are categorized into two forms: model-driven methods and data-driven methods [
5,
6]. Model-driven methods establish a model based on the battery’s electrochemical mechanism and degradation process to predict its RUL [
7]. Model-based methods are commonly employed to develop battery life degradation models that are rooted in electrochemical mechanisms, enabling more accurate representation of battery’s electrochemical characteristics. Nevertheless, the utilization of these methods is often restricted due to the demand for specialized expertise and battery design parameters, impeding their broader applicability [
8].
With data-driven methods, lithium-ion battery monitoring data can be directly analyzed, identifying battery performance change patterns and predicting its RUL [
9,
10]. Ren et al. [
11] proposed an RUL prediction method for lithium-ion batteries leveraging Auto-CNN-LSTM. Zhang et al. [
12] proposed a deep learning-based method for predicting the RUL of lithium-ion batteries using LSTM and a recurrent neural network (RNN).
Lithium-ion batteries experience problems with capacity recovery during their degradation process. To address this concern, researchers have employed signal processing methodologies to preprocess the battery’s capacity sequence data [
13]. Li et al. [
14] proposed an algorithm based on empirical mode decomposition (EMD) combined with Elman–LSTM for predicting the RUL of lithium-ion batteries. Meng et al. [
15] proposed an algorithm based on complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN) combined with an adaptive neuro-fuzzy inference system (ANFIS) for precise lithium-ion battery capacity prediction. Lyu et al. [
16] proposed a scheme called the VPA model for predicting the RUL of lithium-ion batteries. Their model uses the variational mode decomposition algorithm (VMD) to obtain the trend signals and capacity regeneration signals. Particle filter and autoregressive moving average models are then used to predict the two signals separately, and their predicted results are fused to obtain the overall capacity degradation prediction.
Based on the aforementioned analysis, utilizing a prediction model that utilizes both signal processing algorithms and data-driven methods can effectively improve the prediction accuracy of RUL. By selecting appropriate signal processing algorithms and data-driven methods, it is possible to significantly enhance prediction performance. VMD [
17] can effectively mitigate the problems associated with pattern aliasing and endpoint effects. Additionally, VMD has high decomposition efficiency and is highly resistant to noise. Therefore, in this paper we adopt VMD as the signal processing algorithm to process the capacity attenuation signal of lithium batteries [
18,
19,
20]. Long- and short-term time-series networks (LSTNet) [
21] have recently been widely adopted in diagnostic and predictive scenarios due to its excellent performance.
The effectiveness of VMD decomposition is mainly influenced by two factors, namely, the number of mode components (
K) and the number of penalty factors (
) [
22]. Similarly, the performance of the LSTNet model is significantly affected by its parameter values [
23]. Although the sparrow search algorithm (SSA) is straightforward to implement, it can be prone to becoming stuck in local optima [
24]. Jia et al. [
25] proposed the improved sparrow search algorithm (ISSA), which combines the elite opposition-based learning (EOBL) and Cauchy Gaussian Mutation strategies. The objective of ISSA is to enhance the diversity of sparrow populations and prevent them from becoming trapped in local optima. Qiao et al. [
26] proposed an ISSA with firefly search disturbance by incorporating an iterative strategy from the Firefly algorithm to address the limitations of the original SSA.
In conclusion, this paper proposes a hybrid model for predicting the RUL of lithium-ion batteries by improving the VMD–LSTNet algorithm to accurately capture the phenomenon of rapid increases and decreases in battery capacity and to address problems with insufficient prediction accuracy. The paper’s primary contributions are as follows:
(1) A novel method for predicting the RUL of lithium-ion batteries is proposed. First, the VMD algorithm is enhanced to decompose the measured battery capacity sequence into its trend components and capacity regeneration components. Additionally, trend components are forecast using the LSTNet–Attention model, whereas the LSTNet–Skip model is leveraged for predicting the capacity regeneration components. Lastly, the predicted results of each component are integrated to complete the battery RUL prediction process. The proposed approach addresses the challenge of insufficient accuracy in single models and inability to predict the complete trend of battery degradation.
(2) In order to overcome the limitation of SSA’s susceptibility to local optima, we introduce an enhanced SSA algorithm that optimizes the respective positions of the initial population, producers, and scroungers within the traditional SSA framework.
(3) To enhance the decomposition effectiveness of VMD, we employ the minimum envelope entropy as the fitness function for ISSA. By optimizing the decomposition mode number K and the penalty factor of the VMD algorithm, the subsequent prediction algorithms are able to capture the decomposed components more efficiently, thereby enhancing prediction accuracy.
(4) To address the issue of manual parameter adjustment in LSTNet, we employ ISSA to optimize its hyperparameters. Leveraging the distinct characteristics of the trend components and capacity recovery components, we employ the ISSA–LSTNet–Attention model and the ISSA–LSTNet–Skip model for prediction purposes.
These enhancements enable more accurate prediction of the RUL of lithium-ion batteries and offer more effective tools and methods for battery performance evaluation and maintenance. The validation and in-depth analysis of these innovative contributions will be conducted in subsequent experiments and related research.
3. Construction of ISSA–VMD–LSTNet Model
3.1. Experimental Data
The performance of the proposed algorithm was validated using two lithium-ion battery datasets with distinct electrode materials and discharge environments.
The experimental hardware setup included an AMD 5600X processor, 16 GB of RAM, NVIDIA GTX 1070, Windows 10 operating system, PyCharm 2021 IDE, Python 3.7 programming language, and Keras 2.9.0 library.
3.1.1. Database 1
The first experimental dataset used in this study was obtained from the Center for Advanced Life Cycle Engineering (CALCE) [
32]. Specifically, this study examined CS2_35, CS2_36, CS2_37, and CS2_38, for which the capacity decay curves and the number of cycles during discharge are presented in
Figure 2.
Table 1 lists the detailed specifications of the selected lithium-ion batteries from CALCE.
3.1.2. Database 2
The second experimental dataset used was the NASA lithium battery dataset, which includes the batteries B0005, B0006, B0007, and B0018 as the selected research objects [
33].
Table 2 lists the detailed parameters of the selected NASA lithium battery dataset. It should be noted that the failure threshold of the B0007 battery is set to 1.45 Ah. Concerning the attenuation curve of capacity with the number of cycles during battery discharge, it is shown in
Figure 3.
3.2. Definition of RUL and Evaluation Criteria for Forecasting Methods
The RUL of a battery is defined as the number of remaining usable cycles from the predicted starting point to the end of the battery’s life. When the actual capacity of the battery deteriorates to the failure threshold, the battery’s life is considered to be over.
T is set as the starting cycle position, and
is the number of cycles at the end of the battery’s remaining useful life in the actual state. The RUL of the battery is defined as
where the variable
represents the number of cycles that a battery can run at the conclusion of its remaining useful life period as estimated in advance.
The evaluation of the prediction model is based on four criteria: the root mean square error (RMSE), average absolute error (MAE), absolute correlation coefficient (
), and Nash–Sutcliffe efficiency index (NSE). These evaluation indicators are defined by the following formulas:
where the number of cycles of the battery is represented by
n and the true and predicted values of the capacity sequence are represented by
and
, respectively.
These evaluation criteria are selected to assess the fitting and predictive accuracy of the model’s prediction curve. Specifically, the smaller the values of MAE and RMSE, the closer to 1 the
and NSE value will be, indicating that the model has a higher prediction accuracy [
34].
3.3. ISSA–VMD
In this paper, the ISSA is used to optimize the number of mode components and penalty factors of VMD. The fitness function chosen for ISSA–VMD is the Minimum Envelope Entropy [
35]. This function is represented by the following formula:
where
represents the envelope entropy,
represents the probability distribution sequence,
represents the envelope signal, and
N represents the number of sampling points.
The specific process of the ISSA–VMD method is as follows:
(1) Initialize the fundamental parameters of VMD and ISSA.
(2) The sparrow population is initialized using the TCM and the battery capacity sequence is subject to VMD decomposition, while the envelope entropy is utilized as the fitness function for conducting a global search.
(3) Update the positions of the producers, scroungers, and scouts using Equations (10), (11), and (7).
(4) Continuously execute steps 2 to 3 until the envelope entropy value reaches a minimum, then generate the current parameters .
(5) Use the optimal parameters to carry out VMD decomposition on the battery capacity sequence.
3.4. ISSA–LSTNet
In this paper, the ISSA method is utilized to optimize the key parameters of the convolution module, recurrent module, recurrent skip module, and AR module of the LSTNet–Attention model and LSTNet–Skip model:
where the number of cycles of the battery is represented by
n and the true and predicted values of the capacity sequence are represented by
and
, respectively.
The specific process of the ISSA–LSTNet method is as follows:
(1) Initialize the fundamental parameters for LSTNet–Attention, LSTNet–Skip, and ISSA.
(2) The sparrow population is initialized using the TCM, and the RMSE value serves as the fitness function to perform a global search.
(3) Update the positions of the producers, scroungers, and scouts using Equations (10), (11), and (7).
(4) Repeat steps 2 to 3 until the RMSE value reaches its minimum, then output the model parameters.
(5) Utilize the optimal parameters to forecast the RUL of the battery’s capacity sequence.
3.5. ISSA–VMD–LSTNet Prediction Model
Figure 4 illustrates the architecture of the lithium-ion battery RUL prediction model proposed in this study. The RUL prediction method follows the steps outlined below.
(1) Collect the remaining discharge capacity data of the lithium-ion batteries.
(2) The capacity of the primary battery is decomposed into finite mode components using the ISSA–VMD algorithm. Next, a correlation analysis is conducted between the decomposed mode components and the degradation capacity sequence. The mode components with high correlation coefficients are considered trend components, while those with lower correlation coefficients are considered capacity recovery components.
(3) Train the trend and capacity recovery components separately using the ISSA–LSTNet–Attention model and ISSA–LSTNet–Skip model, respectively.
(4) Equation (
37) enables seamless integration of the prediction results of the ISSA–LSTNet–Attention and ISSA–LSTNet–Skip models for accurate calculation of the RUL of lithium-ion batteries:
where
represents the predicted value of the lithium battery capacity sequence,
represents the predicted value of the trend component,
n represents the total number of decomposed mode components, and
represents the predicted value of the capacity recovery component for the
j-th mode.
5. Conclusions
This paper presents an RUL prediction model for lithium batteries named ISSA–VMD–LSTNet. The findings of this research are as follows:
(1) This article introduces the ISSA, a modification of the SSA, which generates an initial population using TCM and optimizes the positions of discoverers and followers through LF. This addresses the SSA’s susceptibility to fall into local optima.
(2) The effectiveness of VMD decomposition is improved by adopting ISSA to optimize the number of modes and penalty factors of VMD. ISSA–VMD separates battery capacity data into a trend component and capacity recovery component, mitigating the adverse effects of the latter on model prediction.
(3) Optimizing the LSTNet model parameters with ISSA enhances the predictive performance of the model. The decomposed IMFs are predicted using LSTNet–Attention and LSTNet–Skip models, then their prediction results are integrated to eliminate the vulnerability of single model prediction accuracy to interference.
(4) The experimental results demonstrate the significant advantages of the ISSA–VMD–LSTNet model in predicting the RUL of lithium batteries, resulting in a notable enhancement in model accuracy. The proposed model was evaluated using two widely used lithium-ion battery datasets, yielding an RMSE below 2%, MAE below 1.5%, and and NSE exceeding 92%. These findings indicate that the proposed model exhibits superior prediction accuracy and performance compared to other models. Moreover, our research highlights the potential of the ISSA–VMD–LSTNet model to enhance the accuracy and stability of RUL prediction for lithium batteries.
(5) Finally, it is important to acknowledge the limitations of this study. In practical battery production, the RUL of lithium batteries is influenced by health factors, including current, voltage, and temperature. Hence, future experiments should encompass the consideration of multiple health factors and their impact on RUL prediction for lithium batteries. Subsequent research endeavors should focus on advancing and broadening the ISSA–VMD–LSTNet model in order to effectively tackle the challenges encountered in real-world battery operating conditions. Additionally, exploring additional model fusion strategies could further enhance prediction performance and stability.