1. Introduction
The LIB with high energy ratio, high cycle life and no memory effect is widely used in ships, automobiles, aerospace, and other industries [
1]. However, in the long-term charging–discharging state, the LIB will be aging. Its available capacity will decrease, performance will degrade, and even potential safety hazards will arise.
Therefore, it is essential to predict the available capacity of an LIB [
2]. In recent years, methods for predicting the available capacity of an LIB have been mainly divided into data-driven methods and model-based methods. The data-driven method is a method to analyze characteristic data and indicate degrees of performance degradation with the help of intelligent algorithms [
3]. A variety of studies in the literature have reported on data-driven methods such as the autoregressive statistical model [
4], neural network [
5,
6], support vector machine [
7], and correlation vector machine [
8] to predict the available capacity of an LIB and obtain relatively accurate prediction results. However, the data-driven method ignores the internal relationships of the physical process. It uses implicit functions to represent the model, which is not conducive to analyzing the physical relationships between data. In addition, the data-driven method requires a large volume of sample data, but the data on the LIB degradation process are difficult to obtain. These two disadvantages hinder the application of data-driven methods.
Unlike the data-driven method, the model-based method combines mathematical functions and filtering technology to predict performance degradation trends. Zhang et al. [
9] proposed a particle filter method based on an exponential degradation model to predict the SOH of LIBs. The method reduced the interference of measurement noise and improved the accuracy of prediction. Su et al. [
10] combined a variety of degradation models. They used interactive multi-model particle filtering to predict the available capacity of LIBs, which improved the fit between the model and the data. Aiming at the low prediction accuracy of standard particle filters, Miao et al. [
11] proposed a combination of a particle filter and unscented Kalman filter to predict the SOH of LIBs. This method effectively improved prediction accuracy by performing unscented Kalman filtering on each particle. On this basis, Zhang et al. used the posterior probability density of an unscented Kalman filter to resample particles, which increased particle diversity [
12]. However, the above methods only consider the law of the long-term capacity degradation of the LIB after multiple charge–discharge cycles. The impacts of electrochemical reactions on short-term capacity degradation during each charge–discharge cycle of an LIB are not taken into account. Considering the influence of the state of charge (SOC) on health state, Ma et al. [
13] performed Kalman filtering and Gauss-Hermite particle filtering on SOC and SOH simultaneously. They used the method of dual time scales to predict the available capacity. Similarly, combining the SOC and SOH, Qiu et al. [
14] proposed a fusion method of extended Kalman filtering and particle filtering to estimate the available capacity jointly. To increase the diversity of particles, the cuckoo algorithm was adopted instead of the standard resampling algorithm. In addition to Kalman filtering and particle filtering, Dong et al. [
15] used a combination of the Brownian motion degradation model and particle filtering to predict the useful capacity of LIB. On this basis, Zhai et al. [
16] proposed a new adaptive Wiener process model, which took into account the sample data collected at different time intervals and combined multiple sample estimation parameters to improve the model’s generalization ability. However, this method only relied on historical data to predict available capacity and did not consider the impact of the current environment on the degradation of LIB. Liu et al. [
17] considered LIB operating temperature and discharge depth factors, established a LIB aging model, and used Gaussian process regression to predict available capacity. These methods presented the predicted results in the form of probability density functions. They took into account the randomness of the degradation process to accurately predict the available capacity of LIB to a certain extent. However, none of the above methods considered the capacity regeneration phenomenon of LIB, which would produce a large available capacity estimation error.
Capacity regeneration refers to the phenomenon that the available capacity of LIB suddenly increases after a complete charge–discharge and a long period of storage [
18]. Capacity regeneration will have a great impact on the available capacity, which is becoming a research hotspot. Wang et al. used the total variation filtering method to detect the capacity regeneration point of historical data [
19]. However, this method could not predict the capacity regeneration point. Xu et al. proposed a method for SOH prediction based on the Wiener process for capacity regeneration [
20,
21], which accurately predicted the LIB capacity regeneration point. However, the premise of this method was to obtain all the calendar time data of the LIB.
Aiming at the impact of capacity regeneration on available capacity estimation and reducing the available capacity prediction error, this article will focus on the following two aspects. Firstly, the degradation process of LIB is divided into the normal degradation stage and capacity regeneration stage, and an MPM for the SOH is established. Then, the particle filter algorithm based on a genetic algorithm is used to modify the prediction results of the model to ensure the accuracy of the available capacity prediction. Finally, this paper will use the LIB dataset provided by NASA Ames Prognostics Center of Excellence to verify the effectiveness of this method.
2. Lithium-Ion Battery State of Health Model
In this paper, the data on No. 5, No. 6, No. 7, and No. 18 batteries in the NASA LIB dataset were selected. The dataset came from a batch of second-generation 18650 size LIB with positive electrode consisting of lithium cobalt oxide (
) and negative electrode of lithiated carbon (
) [
22,
23]. In this dataset, the aging test results were obtained by a set of four LIB operating in three different operating modes (charge, discharge, and impedance) at room temperature. In this process, the LIBs were charged in 1.5 A constant current (CC) mode until the battery voltage reached 4.2 V and were then charged in constant voltage (CV) mode until the charging current dropped to 20 mA. After that, the No. 5, No. 6, No. 7, and No. 18 batteries were discharged at 2 A constant current (CC) level until their battery voltage dropped to 2.7 V, 2.5 V, 2.2 V, and 2.5 V, respectively. The experiment stopped when a battery reached the end of life (EOL) standard.
LIB aging is usually caused by the growth of solid electrolyte interface (SEI) film [
24]. This process will reduce the available capacity of an LIB [
25]. However, in the aging process of an LIB, the available capacity is not monotonously decreasing, but undergoing a process of sudden increase and slow decrease alternately. Therefore, this paper divides the LIB degradation process into a normal degradation stage and a capacity regeneration stage.
The SOH of an LIB is defined as follows.
where
represents the SOH,
represents the current available capacity, and
represents the initial capacity.
Therefore, the capacity degradation rate is expressed as follows.
where
y represents the capacity degradation rate.
In
Figure 1, the abscissa is the number of LIB charge–discharge cycles. The ordinate is the capacity degradation rate. Obviously, the degradation process of an LIB is a combination of multiple curves rather than a complete curve. Assuming that capacity regeneration is eliminated, the degradation process of an LIB can be regarded as several normal degradation stages.
This paper adopts the power function fitting method to establish a mathematical model of the relationship between the number of cycles and the capacity degradation rate in the normal degradation stage.
where
represent degradation parameters and
is the number of cycles after the capacity regeneration stage.
In
Figure 2, the abscissa is the number of charge–discharge cycles. The ordinate is the available capacity value. The bold curve is the capacity regeneration stage, which makes the degradation process of the LIB nonlinear. If this stage is ignored, the modeling accuracy will be reduced, and the available capacity prediction error for the LIB will be increased.
In
Figure 3, the abscissa is the calendar time. The ordinate is the capacity degradation rate. Capacity regeneration is often caused by calendar time exceeding its threshold. [
20] According to this law, a prediction algorithm based on capacity regeneration is proposed. The algorithm is shown in
Figure 4.
represents the number of correlated cycles, represents the capacity degradation rate, represents the calendar time, represents the calendar time threshold of capacity regeneration, represents the calendar time during capacity regeneration stage, and represents the capacity regeneration value.
The relationship between LIB capacity regeneration value and the calendar time is shown in
Figure 5.
In
Figure 5, the abscissa is the calendar time and the ordinate is the regeneration capacity value. Although the capacity regeneration value is positively correlated with calendar time, there is a non-linear relationship between the two. To express the relationship between the two more accurately, we use a power function curve to approximate the relationship between the capacity regeneration value and the calendar time.
where
represents the capacity regeneration value,
represents parameters,
represents the calendar time, and
represents the calendar time threshold of capacity regeneration.
In summary, the model proposed in this paper is as follows:
where
represents the number of correlated cycles,
represents the capacity regeneration parameter,
represents the number of cycles after the capacity regeneration stage,
represents the predicted capacity value, and
represents the systematic error, which obeys a normal distribution with a mean value of 0 and a variance of
.
Because there are some unknown parameters in the normal degradation model and capacity regeneration model, we use the least squares method to estimate these unknown parameters. The least squares method is a mathematical optimization technique that seeks the best parameter matching of data by minimizing the sum of squares of errors. The least squares method parameter estimation is specifically divided into the following two steps.
Step 1: Assuming that the capacity regeneration model is estimated with
capacity regeneration data
. Take the logarithm of the capacity regeneration model and calculate the square difference.
Step 2: Derivation of the function.
Make the derivation result of the above formula equal to 0, and the derivation of
is as follows.
Then, by substituting the obtained parameter into (7), parameter is estimated.
3. Model Modification
Because the LIB degradation model is not completely accurate when estimating the available capacity, we need to combine the measured values and model prediction values to correct the prediction results and thus reduce subsequent estimation errors. The method flow chart is shown in
Figure 6, and the specific method is introduced as follows.
In statistics, particle filtering is called the sequential Monte Carlo method, which combines the Bayesian principle and importance sampling [
26]. It uses sample form instead of function form to describe the probability distribution of nonlinear stochastic systems [
27].
Firstly, the state-space model is established. The state equation is as Equation (5), and the output equation is as follows.
where
represents the number of related cycles,
represents the predicted capacity degradation rate,
obeys a normal distribution with a mean value of 0 and a variance of
, representing the measurement error, and
represents the actual measured capacity degradation rate during
cycles.
The standard particle filter algorithm is shown in the following steps.
Step 1: Initialization.
When , particles are randomly generated from the prior normal distribution , and the corresponding weight is generated for each particle.
Where .
Step 2: Prediction
According to
, a priori estimate
can be derived from (5).
where
.
Step 3: Weight update
The particle weight is calculated by the following formula.
Step 4: Standard resampling
Generate a random number between 0 and 1, and copy the particles according to the particle weight interval. Then, a new weight
is generated for each particle. Finally, the state estimate is obtained based on the particles and their weights.
Standard resampling will lead to particle dilution and reduce the prediction accuracy. This paper proposes a resampling algorithm based on a genetic algorithm to increase the diversity of current particles.
The specific steps of resampling algorithms based on the genetic algorithm are as follows.
Step I: Coding
The particle weight obtained in step 3 is binary coded.
Step II: Selection operator
The selection operation can avoid the loss of good genes and improve the global convergence and computational efficiency. This paper chooses the roulette selection method to generate a random number between 0 and 1. When falls in the particle interval, the particle will be copied as the parent particle.
Step III: Crossover operator
The crossover operation refers to randomly pairing the parent particles. The two particles exchange part of their genes in a single-point or multi-point manner to form two new offspring particles. In this paper, the crossover method is the single point crossover, as shown in
Figure 7. By performing this operation, the search ability of the genetic algorithm can be greatly improved.
Step IV: Mutation operator
The mutation operation can make the gene of the offspring particles mutate with a small probability. According to research, mutation is a type of local random search, which is combined with selection and crossover operators to ensure the effectiveness of genetic algorithms and at the same time ensure the diversity of particles [
28]. The mutation probability
determines the probability of a certain particle participating in the mutation. Once the mutated gene position is determined, these genes will change, and the remaining genes will remain unchanged.
Step V: Decoding
Perform a decimal decoding operation on the parent particle and the child particle to obtain the weight . Finally, the state estimation is obtained based on the particle and its weight, such as Equation (14).
4. Experimental Results and Discussion
Firstly, this article sets the calendar time threshold for capacity regeneration to 9.72 h and the failure of an LIB is defined as a capacity degradation rate of 24%.
Figure 5 shows that when the calendar time of the LIB increases, the capacity regeneration value increases significantly. According to the least squares parameter estimation method, the parameters of the normal degradation model and the capacity regeneration model are estimated, and the results are as follows.
In
Table 1,
are parameters of the normal degradation model, and
are parameters of the capacity regeneration model. According to the estimated parameters, the normal degradation model curve and the capacity regeneration model curve can be obtained, as shown in
Figure 8.
Obviously, in
Figure 8a, the normal degradation model curve is very close to the true value, which reflects the superiority of the model in
Figure 8b, because capacity regeneration is a complex chemical reaction and there are errors in capacity measurement. There is a certain error between the capacity regeneration model and the true value. Using the obtained model parameters and the current calendar time, we can estimate the next capacity degradation rate. In this paper, the data on No. 6, No. 7, and No. 18 batteries were used to identify the parameters of a capacity regeneration model to predict the capacity degradation rate of the No. 5 battery. To verify the superiority of the method, the improved particle filtering method based on an empirical model (EM-IPF) and the particle filtering method based on a multi-stage prediction model (MPM-PF) were compared with the proposed improved particle filtering method based on a multi-stage prediction model (MPM-IPF).
Figure 9 shows three prediction curves. The blue curve represents the EM-IPF method, the black curve the MPM-PF method, and the red curve the MPM-IPF method proposed in this paper. Obviously, the three methods have approximate prediction results. However, the EM-IPF method cannot predict the capacity regeneration stage, so the capacity degradation will not drop suddenly in the capacity regeneration stage. The MPM-PF method can predict the capacity regeneration stage. Still, the prediction error is relatively large due to the low accuracy of the standard particle filter. The MPM-IPF method proposed in this paper has a better tracking and prediction effect with the true value in the normal degradation stage. Additionally, it can predict the true value more accurately during the capacity regeneration stage, which proves the superiority of the proposed prediction method.
To compare the performance of the proposed MPM-PF with other algorithms (such as EM-IPF and MPM-PF), the error results of MPM-PF, EM-IPF, and MPM-PF were compared.
Figure 10 describes the MAE and RMSE results of the above three methods for the capacity prediction error of the No. 5 battery.
Table 2 shows the detailed capacity prediction error results of different prediction methods at 30, 60, and 90 cycles. The three error curves shown in
Figure 10 increase sharply in the capacity regeneration stage due to the deviation between the predicted value and the true value. However, obviously, in the capacity regeneration stage, the MAE and RMSE values of the MPM-IPF method proposed in this paper are significantly smaller than those of the EM-IPF and MPM-PF methods. This demonstrates the prediction accuracy of the MPM-IPF method. Moreover, during the degradation process of an LIB, the MAE and RMSE values of the method proposed in this paper are lower than those of the comparison methods, and neither exceeds 0.6%. Once again, this proves the superiority of the MPM-IPF method.