1. Introduction
Energy storage batteries are widely utilized in various fields, including new-energy vehicles, military communications, and aerospace. They have several advantages, including high energy densities, long lifespans, and low self-discharge rates [
1,
2,
3,
4]. However, complex side reactions occur within and outside the battery during repeated charging and discharging cycles, resulting in aging. This results in a decrease in battery capacity and voltage [
5,
6]. Moreover, extensive research has confirmed that the probability of accidents occurring with aged batteries is higher than with new batteries [
7,
8]. The state of health (SOH) of a battery is an important indicator of cycling performance [
9,
10,
11]. The SOH is typically defined as the ratio of the original capacity of a battery to its current capacity. When the capacity of the battery drops to 70–80% of its initial capacity, it is considered that the end of its lifespan has been reached [
12]. In the energy-storage market, aging tests must be conducted under unified standards to evaluate the cyclic performance of different battery products. However, these tests often require significant time. For example, under the test conditions specified in the standard GB/T 36276-2023 [
13], which include 25 °C, constant power full charge and discharge, and 1000 cycles, it usually requires more than half a year for the entire test to be completed by a battery. This significantly extends the time required for a product to enter the market. Accurate and rapid methods for predicting battery life are of great significance for addressing the issue of the prolonged duration of traditional life tests. By reducing the detection time through life prediction, not only can the efficiency of battery evaluation be improved, but the rapid iteration of battery research and development can also be promoted.
Currently, the prediction of the remaining useful life (RUL) of lithium-ion batteries is mainly categorized into two types: model-based prediction methods and data-driven prediction methods [
14]. Model-based prediction methods include empirical [
15], physical, and electrochemical approaches. Capacity fade curves were fitted and predicted by empirical models based on influencing factors such as temperature and state of charge (SOC). Batteries are simplified into equivalent circuits of electronic components such as resistors and capacitors using physical models, with the lifespan predicted through the identification of parameter changes in these components as the battery ages. Aging was simulated using electrochemical models based on the internal reaction mechanisms and material parameters.
Data-driven prediction methods do not require the establishment of concrete models. Instead, machine learning algorithms are used to intelligently learn and capture the correlation between aging features and health status. These methods have been widely studied in recent years owing to their high prediction accuracy and simple modeling processes. Battery-capacity fading is classified as nonlinear time-series data, and recurrent neural networks (RNNs) are considered suitable for predicting unknown sequences [
16]. As a variant of RNN, the gate structure in LSTM networks is effective in addressing the long-term dependency and gradient explosion problems associated with RNNs [
17,
18]. A hybrid model based on deep convolutional neural networks and LSTM with Bayesian optimization (BO-DCNN-LSTM) was proposed for RUL prediction [
19]. The combination of the lightning search algorithm (LSA) with LSTM was proposed by Reza et al. [
20], who utilized the mathematical system sampling (SS) method to identify features and train models, which were verified on the NASA dataset. An LSTM model for predicting the SOH was proposed by Li et al. [
21] based on a joint denoising model of complete ensemble empirical mode decomposition with adaptive noise (CEEDMAN) and SG filtering, and was verified on the CALCE dataset. Xing et al. [
22] designed an interpretable composite health indicator, GPHI, via improved genetic programming. Only two cycles of early discharge voltage curves are required to define mathematical aging features, achieving low computation costs and stable early-life prediction accuracy on the MIT LFP dataset. Hou et al. [
23] developed a physics-enhanced Transformer integrating embedded LSTM and wavelet preprocessing. Physical degradation equations were embedded as consistency loss during training, and selective transfer learning enabled cross-chemistry prediction with outstanding robustness under limited training samples. Wang et al. [
24] put forward a cross-protocol PINN architecture consisting of two sub-networks. Automatic differential physical constraints and monotonic loss guarantee physically reasonable SOH outputs, and the framework achieves outstanding generalization across diverse battery chemistries and charging strategies with minimal prediction error on large-scale tests. Despite the progress of the above Transformer, physics-informed and interpretable prediction methods, most existing approaches demand abundant full-lifecycle cycle data for training and lack targeted optimization for early-stage aging prediction under unified national energy storage test standards, which restricts their practical deployment in commercial scenarios for rapid battery evaluation.
Although numerous studies on the life prediction of energy storage batteries currently exist, the existing research still faces challenges in commercial applications. On the one hand, a large number of input cycles are required in existing research, which includes complex secondary features such as dV/dQ peaks and dQ/dV [
25]. This is feasible for obtaining high-quality data from small-capacity batteries tested in laboratories. However, in commercial testing processes where numerous parallel tests and large battery capacities exist, a vast data volume is often accompanied by noise interference. This complicates the commercialization of existing life prediction methods. On the other hand, models are built by existing research based on the aging test data of multiple batteries of the same model. However, the actual battery testing and evaluation scenario is the opposite and is characterized by a variety of battery models and a small number of batteries for each model. This is in contrast to the existing research. Prediction models built under these restricted conditions lack generalization ability across different battery models, significantly hindering their commercial application and the promotion of life prediction technology.
An RUL prediction method based on multi-feature selection and LSTM neural networks was proposed in response to the conditions of actual energy storage station battery testing and evaluation. The proposed method is not a simple combination of existing techniques, but a mechanism-data co-driven LSTM life prediction framework tailored to large-capacity energy storage batteries, with optimized sliding-window modeling and transfer learning for cross-battery adaptation. This method, which is based on the early aging data of batteries, requires the establishment of only a single model to accurately predict the remaining service life of different battery models under the same testing conditions after feature extraction. Moreover, a transfer learning module was developed to provide highly accurate predictions of the lives of new battery models. The use of only early aging data can significantly shorten the testing time of energy storage batteries, effectively improving the efficiency of energy storage battery testing and evaluation while providing technical support for the commercial application of life prediction technology in this field.
The contributions of this research are summarized as follows:
(1) A life prediction model for energy storage batteries is proposed based on feature selection and LSTM neural networks, utilizing only the early aging data of batteries. The early aging data of batteries from 1 to 150 cycles were taken as input by the model, which achieved a precise prediction of the RUL of batteries with an RMSE of 0.86%. This significantly reduces the actual testing time for energy storage batteries and effectively improves the efficiency of battery testing and evaluation at energy storage stations, thereby providing a rapid solution for battery testing and evaluation in this field. Early-life prediction in this study means that life assessment can be performed using approximately the first 300 cycles of aging data, rather than completing the full 1000-cycle standard test.
(2) Through data analysis, three key aging parameters were selected from 20 aging features of the charge–discharge curve: the 75th percentile of the charging voltage, the 90th percentile of the charging voltage, and SOH. The optimized features, combined with data outlier processing, noise processing, and normalization techniques, were input into the model. The sliding window method was used for training, laying the foundation for the accuracy and stability of the model.
(3) A transfer learning module was developed based on the basic model for fine-tuning and optimization. After transfer learning, the accuracy of life prediction by the model was significantly improved, and its high applicability and generalization ability for different types of energy storage batteries were verified. This provides a practical and technical method for actual energy storage battery testing and evaluation.
2. Methodology
Energy storage batteries are used extensively in various electronic devices, and their performance directly affects their reliability and safety. However, during LIB operation, a series of chemical reactions occur, resulting in material aging and capacity degradation. Predicting the RUL of a battery provides crucial information for maintenance and replacement to ensure safety. Accurate prediction of the RUL allows for the determination of the remaining useful life of the lithium-ion battery, facilitating proactive maintenance and timely replacement. This not only enhances safety but also optimizes resource allocation while minimizing the potential risks of battery failure or malfunction. Capacity is commonly regarded as a health indicator of the battery and is used to quantify the degradation in RUL predictions. In energy storage batteries, analysis typically focuses on the maximum charging or discharging energy instead of capacity. When the energy of the battery decreases to 80% of its initial value, the end-of-life (EOL) threshold is reached. The RUL is defined as the remaining time until the health status of the battery falls below a predetermined failure threshold [
26]. The calculation formula is as follows:
where
NEOL represents the number of cycles when the battery reaches EOL and
NST represents the number of cycles the battery has gone through at the beginning of the battery prediction.
SOH is an important indicator of battery performance. In this study, the SOH of the battery during its i-th cycle is defined as follows:
where
Ei epresents the maximum discharge energy of battery cycle i, and
E0 represents the maximum initial discharge energy of the battery.
2.1. Feature Engineering
For typical 0.5P large-capacity energy storage batteries, approximately 15,000 data points are generated during each charge and discharge cycle. The tested commercial energy storage batteries are LiFePO
4/graphite large-capacity products provided by the China Electric Power Research Institute (Beijing, China) under a national key R&D project. All batteries were cycled following the GB/T 36276 constant-power (0.5P) charge/discharge protocol with 3.65 V upper cut-off voltage and 2.5 V lower cut-off voltage. Two datasets were established under different ambient temperatures: the 25 °C dataset contains 10 batteries covering five rated capacities (320, 153, 290, 29, and 155 Ah), and the 45 °C dataset includes 12 batteries from four rated capacities (280, 314, 314, and 340 Ah). All samples adopt a graphite anode and LiFePO
4 cathode, consistent with mainstream commercial LFP energy storage batteries. Detailed proprietary internal structural parameters (electrode coating loading, separator material, geometric dimensions, etc.) cannot be fully disclosed by the manufacturer; thus, only public commercial specifications and core electrochemical compositions of all tested batteries are reported. The vast amount of data imposes a significant burden on model training, and an excessive number of features results in the overfitting of the prediction model. In addition, some of the extracted features were redundant or irrelevant. Therefore, prior to model training, it is essential to filter out the health features that are highly correlated with battery aging. For example,
Figure 1 illustrates the health features of energy storage batteries tested according to the GB/T 36276-2023 testing standards. Twenty health features were extracted from a complete charge and discharge cycle, including the 10th, 25th, median, 75th, and 90th percentiles of both charging and discharging voltages, range and variance of charging and discharging temperatures, gradient of charging and discharging temperatures, and skewness and variance of the relaxation voltage during charging and discharging. The temperature gradient indicates the rate of temperature change, whereas the skewness of the relaxation voltage reflects the symmetry of the relaxation voltage curve.
The correlation analysis between these 20 features and the SOH is conducted, introducing the Pearson correlation coefficient [
27]
, calculated as follows:
where
represents the average value of
, and
represents the average value of
. The closer the value of
is to 1, the stronger the correlation between the feature and SOH.
Figure 2 shows the correlation results for all features with SOH. The feature with the highest correlation was the 75th percentile of the charging voltage, with a correlation coefficient of 0.82, followed by the 90th percentile of the charging voltage with a correlation coefficient of 0.76.
Figure 3 illustrates the variation in some aging features with SOH, clearly demonstrating how health features change with SOH. Among the voltage feature parameters, the charging process of the energy storage battery cell is more correlated with the battery’s health status than the discharging process, and better reflects the aging information of the battery. Regarding the temperature parameters, the temperature range during charging and discharging was more strongly correlated with the health status of the battery. In this study, the three health features with the highest correlation were selected: the 75th percentile of the charging voltage, the 90th percentile of the charging voltage, and SOH. The step-like variation in Vcha_75 with SOH shown in
Figure 3a,b does not show discrete electrochemical degradation stages. Instead, it results from cycle-wise statistical feature extraction, SOH measurement discretization, and plotting effects, whereas the underlying aging process remains continuous. The selected voltage features still exhibit strong monotonic correlation with SOH, for being suitable for LSTM-based life prediction. Pearson analysis is used only as a second-stage screening tool after mechanism-guided feature definition, while nonlinear degradation dynamics are modeled by the LSTM network. The three selected input features are consistently defined as the 75th percentile of charging voltage, the 90th percentile of charging voltage, and historical SOH. Pearson correlation analysis is employed to screen mechanism-defined candidate features rather than to replace physical feature design. Nonlinear degradation behavior is modeled by the LSTM network.
These two voltage features with the highest correlation coefficients were selected as model inputs. The selection is supported by both empirical data analysis and extensive literature evidence. In the later charging stages, active lithium loss is caused by two mechanisms: lithium-ion intercalation into the negative electrode and SEI (solid electrolyte interphase) layer growth [
28]. The selected parameters are found to be consistent with the underlying electrochemical mechanisms. Additionally, lower correlation coefficients are observed in temperature signals compared to voltage signals. For large-capacity energy storage batteries, this discrepancy is potentially attributed to the delayed response between measured surface temperature and internal temperature, resulting in measurement deviations.
2.2. Input Data Processing
Owing to various factors such as the measurement conditions, significant outliers and noise were present in the original data. Appropriate processing methods must be applied to the dataset to address these anomalies and spurious data fragments while preserving the characteristics of the original data. In this study, the method of replacing outliers with the average of the preceding and following values was used for cases where the outliers were minor points after observing the data types. SG filtering was employed for the data that exhibited abnormal jitter segments. SG filter [
29] is a mathematical tool used for data smoothing. Its core principle involves fitting the data points within a certain length window using a kth-order polynomial and determining the fitting parameters through the least-squares method, thus achieving data smoothing. The advantage of an SG filter is that it removes noise while preserving the shape and width of the data without altering the overall trend.
The parameter selection of the SG filter had a significant impact on the filtering effect. The window length and order of the polynomial (polyorder, denoted as k) are two key parameters. The window length determines the smoothness of the filter; a larger window length results in a more pronounced smoothing effect. The order of the polynomial affects the accuracy of the fitting, with a higher order leading to a fitting closer to the original data; however, an excessively high order may cause overfitting.
In this study, a full testing cycle of 1000 cycles and a feature data length of 1000 were considered. The window sizes of the SG filter were set to 50, 100, 150, and 200, and the polynomial orders were set to 1 and 2. The SOH data were then subjected to SG filtering, and the results are illustrated in
Figure 4.
The filtering process must consider both the degree of smoothing and the similarity of the filtered data to the actual trend. Compared to the original data, the filtered curves were smoother without over-smoothing, which may obscure the true variations in the trend. The optimal combination of parameters was determined to be a window size of 150 and a polynomial order of 1. Window sizes smaller or larger than 150 did not yield satisfactory fitting results. When the polynomial order was set to 2, the filtering results emphasized the local features while neglecting the overall trend.
Gradient descent optimization algorithms rely on neural networks to update the parameters. If the range of feature values varies significantly, the update direction of gradient descent may become unstable, leading to slow training processes or convergence to local optima. If excessively large or small input values are provided to activation functions (such as Sigmoid or Tanh), output values may saturate, leading to vanishing gradients and preventing further learning by the model. Therefore, normalization, which scales all feature values to a consistent range (such as [0, 1] or [−1, 1]), results in a more uniform gradient descent update direction, thereby accelerating the convergence speed of the model and enhancing its stability. In this study, the maximum-minimum normalization method was used to normalize the input data, and the calculation formula is as follows:
After maximum–minimum normalization, the feature data were mapped to the [0, 1] interval.
2.3. Sliding Time Window Method
In time-series analysis, models that can capture patterns and trends evolving over time are necessitated by the dynamic nature of the data. Temporal dependencies present in the data are often overlooked by traditional static analysis methods. In contrast, this issue is addressed by sliding time window methods through the construction of training samples that maintain temporal continuity. In this study, deterministic time-series data is selected as the feature of maximum discharge energy, in which nonlinear changes in the charging and discharging energy of batteries are exhibited as the number of cycles increases. To enhance the understanding and predictive capabilities of the model regarding time-series data, a sliding time window method is proposed for the construction of training samples. A time window is defined as a fixed-length continuous period that is used to capture local dynamic characteristics within a time series. The sliding of the time window is accomplished by moving forward along the time axis with a specified stride. The data within each time window serves as a training sample, ensuring temporal continuity among samples. An adaptive window size approach is employed for the selection of time windows, allowing the window size to be dynamically adjusted based on the intrinsic features of the data to better accommodate different time-series characteristics. The principle of the sliding time window method is illustrated in
Figure 5. The advantage lies in the fact that during training, vector windows are fully input into the model in the form of x–y for comprehensive training. In the prediction phase, only the first vector derived from early aging data needs to be input to predict subsequent sequence changes, and the results are then fed back into the input vector for continuous iteration, thereby achieving the remaining life prediction of the battery. The issue of significant model errors caused by insufficient utilization of limited experimental data is effectively addressed by the sliding window method.
The principle of time window sliding for predicting the RUL of the battery is as follows: Assume that the time window size is , each time window is a training sample, the length of a single battery data is , and the inputs are , , …, and . After model training to obtain the predicted value , add the predicted value to the input, slide the time window one step forward, and then use , , …, and as the input, model output , etc., in a loop until the prediction of . When predicting that the state of the battery is less than 80% after a certain number of loops, we consider that the battery has reached its end of life and then substitute the predicted starting point and the number of loops into formula (2) to obtain the predicted RUL.
For a battery with a data sequence length Ni, when the time window is Nwindow, the number of samples that the battery can provide is Ni − Nwindow. Therefore, the total number of samples was , where i is the length of the feature data sequence for the mth battery. In this study, the impact of the time window size on the model accuracy was investigated by setting the time window sizes to 10, 50, 100, 150, 200, 250, and 300.
The complete step-by-step logic of the sliding window algorithm is shown in detail in
Section 3.2. Set the total length of the feature sequence for a single battery as L, and the window size is set to w = 150.
Training Stage: Each sample takes the continuous cycle interval [t – w + 1, t] as input, with the state of health at cycle t (or the subsequent time step) as the label. The window slides forward by one cycle each time, generating L – w + 1 samples for each battery.
Prediction stage: starting from the first window formed by measured cycles, the model predicts the next SOH. The window then slides forward one cycle at a time. When measured data are unavailable, the predicted SOH is appended to the input sequence for recursive prediction.
5. Conclusions and Discussions
In this study, a method for predicting the lifespan of large-capacity energy storage batteries was proposed based on early battery aging data and transfer learning. This method was validated on other battery datasets, effectively addressing the challenges of reliability and generalizability encountered by current battery life prediction models in practical applications. First, 20 voltage- and temperature-related features were extracted from the charge–discharge curves. The three features with the highest correlation with the SOH were selected as the input features for the model. Subsequently, outliers were addressed by replacing them with mean values. SG filtering was proposed to eliminate the noise caused by measurements, with the optimal set of parameters determined through observation. A sliding window method was then introduced to create training samples, and a lifespan prediction model for energy storage batteries based on LSTM neural networks was developed. Finally, a transfer learning module was created to refine the model using the first 300 cycles of data from the new battery models, thereby enhancing prediction accuracy. The effectiveness of the feature extraction and prediction model was validated using a dataset of energy storage batteries tested in accordance with the Chinese national standard GB/T 36276-2023. The prediction results demonstrated very small overall errors, essentially aligning with the true values. Furthermore, the proposed feature extraction method and prediction model were validated using the MIT dataset, which yielded similarly low prediction errors (RMSE). This demonstrated the high reliability and robustness of the proposed model. Compared with other classic machine learning methods, the proposed LSTM model achieved the highest accuracy, with errors significantly lower than those of the alternative methods. This demonstrates its substantial advantages and reliability in predicting the lifespan of energy storage batteries. This method can decrease the number of battery test cycles and experimental time required for practical battery testing scenarios.
The primary contributions of this work are summarized as follows:
(1) It is demonstrated that the method of extracting and selecting features highly correlated with the SOH from battery charge–discharge curves effectively reduces the amount of input data while maintaining a high level of model prediction accuracy.
(2) A prediction model for the remaining lifespan of batteries was developed based on the LSTM network. The influence of input length on model accuracy was investigated. Considering both prediction accuracy and input data length, an input length of 150 cycles was ultimately chosen. This significantly decreased the experimental time required for practical battery testing and evaluation.
(3) A transfer learning module was created based on the life prediction model. For new types of energy storage batteries not included in the training data, the model was fine-tuned and optimized for adaptability using data from the 151st to 300th cycles. For the energy storage battery set tested in accordance with the Chinese national standard GB/T 36276-2023 at 25 °C (comprising five models and 10 batteries), the prediction error is reduced from 0.86% to 0.18%. This facilitates the precise prediction of the battery lifespan for any model of a large-capacity energy storage battery based on early aging data from the first 300 cycles throughout the complete testing cycle of the Chinese national standard.
(4) The methods and prediction models proposed in this study have wide-ranging application prospects in the field of energy storage battery production and testing. On the one hand, this study can significantly decrease the time required for R&D testing of energy storage batteries. However, it addresses the gap in cycle performance evaluation during random inspections of energy storage power station batteries, providing technical support for quality control and the efficient development of the battery energy storage industry.
Battery cycle life prediction is significantly affected by internal temperature variations and thermal delays. By integrating an optimized internal temperature estimation architecture with adaptive thermal feature extraction, the prediction performance degradation delays can be further reduced, thereby improving the long-term robustness and accuracy of the LSTM-based life prediction system. This work focuses on standardized constant-power aging tests for commercial storage batteries. Future work will draw on state-of-the-art electrothermal coupling models for lithium batteries to achieve more accurate internal battery temperature and refine thermal feature extraction with the validation under highly dynamic frequency regulation or peak-shaving grid profiles.