Abstract
The degradation process of lithium-ion batteries is intricately linked to their entire lifecycle as power sources and energy storage devices, encompassing aspects such as performance delivery and cycling utilization. Consequently, the accurate and expedient estimation or prediction of the aging state of lithium-ion batteries has garnered extensive attention. Nonetheless, prevailing research predominantly concentrates on either aging estimation or prediction, neglecting the dynamic fusion of both facets. This paper proposes a hybrid model for capacity aging estimation and prediction based on deep learning, wherein salient features highly pertinent to aging are extracted from charge and discharge relaxation processes. By amalgamating historical capacity decay data, the model dynamically furnishes estimations of the present capacity and forecasts of future capacity for lithium-ion batteries. Our approach is validated against a novel dataset involving charge and discharge cycles at varying rates. Specifically, under a charging condition of 0.25 C, a mean absolute percentage error (MAPE) of 0.29% is achieved. This outcome underscores the model's adeptness in harnessing relaxation processes commonly encountered in the real world and synergizing with historical capacity records within battery management systems (BMS), thereby affording estimations and prognostications of capacity decline with heightened precision.
Lithium-ion batteries exhibit significantly higher energy and power densities compared to traditional lead-acid and alkaline batteries, rendering them indispensable in applications ranging from electric vehicles to the 3C electronics domai
Presently, methodologies for estimating and predicting SoH can be broadly categorized into two classes: model-based methods (primarily encompassing electrochemical models and equivalent circuit models) and data-driven approache
Within the domain of data-driven lithium-ion battery state estimation, a diverse array of methodologies has surfaced, each extracting distinct aging features or adopting varying model structures. Yang et al. have derived four geometric features from CC-CV charging curves and employed Gaussian Process Regression (GPR) for SoH estimation, yielding an approximate RMSE of 6% on a set of randomized charge-discharge test
Predicting the state of lithium-ion batteries through data-driven approaches presents distinct challenges, often proving arduous to concurrently achieve high predictive accuracy and robust generalization capabilities. Zhang et al. have addressed this by employing two methods, namely correlation coefficients and decision trees, to sift initial features from raw charge-discharge dat
Existing research predominantly fixates on a singular aspect of estimating or predicting the degradation state of lithium-ion batteries, failing to effectively unify the two endeavors. On one hand, due to the scarcity of opportunities for electric vehicles to undergo comprehensive SoH capacity calibration in routine operation, historical aging prediction methods struggle to acquire authentic and accurate training data and labels. Conversely, the outcomes of capacity estimation are confined to battery retirement or recycling alerts, without harnessing the full potential of the nonlinear mapping encapsulating electrochemical mechanisms that the estimation models glean from the interplay between aging features and capacity.
This study introduces an integrated model for SoH aging estimation and prediction of lithium-ion batteries, termed the Cerberus model. This innovative framework capitalizes on relaxation voltage curves from charge and discharge processes, in conjunction with historical capacity estimation outcomes. Employing a multi-layered Bidirectional Gated Recurrent Unit (bi-GRU), a unidirectional Long Short-Term Memory (LSTM), and a multi-layer perceptron as the foundational architecture, the Cerberus model employs a sliding window weighted averaging technique to reconcile distinct accuracy requirements during the early and later phases of aging. This strategy ensures a harmonious equilibrium between the precision demands of estimation and prediction while mitigating model complexity. Moreover, the model's requisite training data can be sourced from routine on-board Battery Management System (BMS) records, thus underscoring its high practical utility and marking a substantial stride towards the realization of a comprehensive lithium-ion battery degradation twin model.
The lithium-ion battery aging data utilized in this study are sourced from the publicly available dataset titled Data-driven capacity estimation of commercial lithium-ion batteries from voltage relaxatio
The relaxation process referred to herein denotes the phenomenon occurring after the battery's charge or discharge, during which the internal chemical reaction rate gradually adjusts to attain a new equilibrium state. Furthermore, the diffusion rate of lithium ions evolves since they necessitate time to redistribute themselves to adapt to the altered conditions. In this context, relaxation pertains to the post-charge or post-discharge zero-current quiescent period.
In a complete charging, discharging, and relaxation cycle, the NCA battery undergoes an initial constant current charging to an upper voltage limit of 4.2 V, with current rates ranging from 0.25~1.00 C. Subsequently, it is subjected to constant voltage charging at 4.2 V until the current diminishes to 0.05 C. Following this, a 30 minute quiescent period ensues as a charging relaxation phase. Subsequent to the relaxation period, the NCA battery is discharged at a constant current until reaching 2.65 V, followed by another quiescent period to stabilize voltage, thus constituting the discharging relaxation phase. The capacity calculated during the constant current discharging process is considered as the SoH capacity of the battery for the cycling period. The sampling interval during the charging and discharging processes is set at 2 s, while the sampling interval for the relaxation process is 60 s. A detailed configuration of the dataset is presented in
Cell type | Structure | Nominal capacity/(mAh) | Cutoff voltage/V | Charge/Discharge current rate/C | Test temperature/℃ | Number of cells |
---|---|---|---|---|---|---|
NCA | 18650 | 3 500 | 2.65~4.20 | 0.25/1.00 | 25 | 5 |
0.50/1.00 | 19 | |||||
1.00/1.00 | 9 |
As depicted in

Fig. 1 | Relaxation process and capacity degradation
In summary, both charge and discharge relaxation voltages exhibit a pronounced correlation with SoH. It has been posited that relaxation voltage curves closely relate to the increase in internal resistance of lithium-ion batteries, primarily stemming from losses in lithium inventory, degradation of active materials, and augmented internal resistance. Given the strong positive correlation between elevated internal resistance and SoH degradation, the selection of relaxation voltage curves as aging features in this study is well-founded.
To enhance the model's robustness for adaptation to diverse operational conditions post-deployment, we employ a dataset comprising 33 NCA battery cells subjected to three distinct charging rate conditions at room temperature for both training and testing. In this study, two partitioning strategies are employed for the division of training and testing datasets: random partitioning and stratified partitioning.
a) Random Partitioning. For the random partitioning approach, relaxation voltage and capacity data across the three operational conditions are pooled, and an 80% subset is randomly designated as the training dataset, while the remaining 20% forms the testing dataset. Given that the relaxation voltage samples exhibit shorter intervals in the 0.25 C charging configuration, and in consideration of real-world vehicle operation, downsampling to a 120 s interval is applied to these samples within the training set. This adjustment ensures uniformity in the length of relaxation process data across all conditions, which are then amalgamated as inputs for model training. To preempt potential issues with gradient explosion during the deep learning process, all input continuous voltage time sequences are normalized, thereby transforming them into z-scores. For evaluating estimation precision, the MAPE is computed on either the testing dataset or the entire combined training and testing dataset.
b) Stratified Sampling Partitioning. Due to the necessity of incorporating the battery's previous aging data for the aging prediction component, random partitioning is unsuitable. Consequently, in the stratified sampling approach, the historical aging capacity of the 33 lithium-ion batteries, representing the three charging scenarios, is employed for partitioning. In alignment with this, an 80% subset is designated as the training dataset, with the remaining 20% assigned to the testing dataset. During joint testing, the corresponding historical SoH windows and the concurrent relaxation voltage curves are synchronized for simultaneous estimation and prediction. The computation of the MAPE ensues as part of this evaluation process.
As depicted in


Fig. 2 | Model structure
a) Extraction of aging features from post-charge relaxation phase: Following the acquisition of complete relaxation voltage curves, uniform downsampling to a 120s per interval is performed. Employing a sliding window technique, voltage time sequences are segmented into windows of 10 samples each (equivalent to 20 min per segment). These windows are incremented by 1 sample, and each window is associated with the discharge capacity label of the respective cycle. The charge time series data is then input into a two-layer bi-GRU. The resultant final hidden state output from this bi-GRU is subsequently connected to a three-layer Multilayer Perceptron (MLP) with layer sizes of 100-50-1. This configuration facilitates the learning of the nonlinear mapping between charge relaxation time sequences and SoH, concurrently serving to compress dimensions.
b) Extraction of aging features from post-discharge relaxation phase: Analogous to the procedures applied during the charge relaxation process, a similar methodology is employed here. However, due to the higher discharge current rates in the discharge process, a lengthier relaxation phase is required as an aging feature. Consequently, the window size is set to encompass 15 samples each (equivalent to 30 min per segment). Similarly, the discharge time series data is input into another two-layer bi-GRU. The ultimate hidden state output from this bi-GRU is then linked to a three-layer MLP with layer sizes of 100-50-1.
c) Prediction of future degradation trajectories from historical aging data: Upon acquiring discharge capacity curves for all 33 batteries, an expanded window approach with a fixed left endpoint is utilized to obtain the complete historical capacity degradation data for each battery. Linear extrapolation is employed for stages with insufficient or poor-quality early-stage aging data, ensuring a minimum of 10 battery cycles. This variable-length time series is input into a two-layer unidirectional LSTM. The ultimate cell state output from this LSTM is then connected to a three-layer MLP with layer sizes of 50-20-1.
A novel formulation of the loss function is introduced in this study to address the amalgamation of aging estimation and testing for lithium-ion batteries. Given the scarcity of historical data pertaining to degradation capacity in the early stages of battery degradation, a greater reliance on aging state information inferred from current relaxation voltage curves becomes imperative. Conversely, as an abundance of aging data becomes available in the advanced stages of degradation, the predictive component of model 'c' can offer more nuanced insights into the battery's distinctive characteristics. Consequently, a sliding window dynamic weighting approach is adopted, whereby distinct confidence factors—designated as α, β, and 1-α-β are dynamically assigned to the three segments of results. As regression problems underpin all three segments, the Mean Squared Error (MSE), a well-established metric within the regression domain, is employed as the loss function. The comprehensive loss function is thus defined as follows:

Fig.3 Estimation and prediction results
As a crucial avenue for reducing greenhouse gas emissions and advancing clean energy, lithium-ion batteries have increasingly assumed pivotal roles in electric vehicles, energy storage systems, and consumer electronics. Consequently, the assessment perspectives and methodologies concerning the aging processes of lithium-ion batteries have become increasingly diverse. In this study, we introduce the Cerberus model, which employs a deep GRU architecture to extract aging-relevant mappings from relaxation voltage time series. Integrating this with aging trends derived from historical capacity data through a sliding window dynamic weighting approach, the Cerberus model unifies the estimation of the current aging state and the prediction of future degradation trajectories in lithium-ion batteries. The Cerberus model is trained and tested on a dataset encompassing 33 NCA-based battery systems. In conditions closely resembling real-world on-road scenarios, particularly at a 0.25 C discharge rate mirroring typical single-cell charge rates, the model achieves a MAPE of under 0.3%. This performance underscores the model's capacity to balance estimation accuracy and robustness. Moreover, the model adeptly capitalizes on the commonplace relaxation processes that occur post-daily charging or battery usage, signifying its wide applicability in real-world contexts. As the demand for sustainable energy solutions grows, the Cerberus model contributes to the evolving landscape of lithium-ion battery aging assessment by providing a comprehensive and integrated approach.
Reference
DENG J,et al. Electric vehicles batteries: requirements and challenges[J]. Joule, 2020, 4(3): 511. [Baidu Scholar]
HARPER G, et al., Recycling lithium-ion batteries from electric vehicles[J]. Nature, 2019, 575(7781): 75. [Baidu Scholar]
PALACÍN M R, DE GUIBERT A.Why do batteries fail?[J] Science, 2016, 351(6273): 1253292. [Baidu Scholar]
HAN X, et al, A review on the key issues of the lithium ion battery degradation among the whole life cycle[J]. eTransportation, 2019, 1: 100005. [Baidu Scholar]
HU X, et al. Battery lifetime prognostics[J]. Joule, 2020, 4(2): 310. [Baidu Scholar]
HU X,et al. State estimation for advanced battery management: key challenges and future trends[J]. Renewable and Sustainable Energy Reviews, 2019, 114: 109334. [Baidu Scholar]
YAO L, et al, A review of lithium-ion battery state of health estimation and prediction methods[J]. World Electric Vehicle Journal, 2021, 12(3): 113. [Baidu Scholar]
BERECIBAR M, et al. Critical review of state of health estimation methods of Li-ion batteries for real applications[J]. Renewable and Sustainable Energy Reviews, 2016, 56: 572. [Baidu Scholar]
WANG X, et al. A review of modeling, acquisition, and application of lithium-ion battery impedance for onboard battery management[J]. E Transportation, 2021, 7: 100093. [Baidu Scholar]
SEAMAN A, DAO T S, MC PHEE J. A survey of mathematics-based equivalent-circuit and electrochemical battery models for hybrid and electric vehicle simulation[J]. Journal of Power Sources, 2014, 256: 410. [Baidu Scholar]
LI Y,et al. Data-driven health estimation and lifetime prediction of lithium-ion batteries: a review[J]. Renewable and Sustainable Energy Reviews, 2019, 113: 109254. [Baidu Scholar]
SEVERSON K A, et al. Data-driven prediction of battery cycle life before capacity degradation[J]. Nature Energy, 2019, 4(5): 383. [Baidu Scholar]
ZHU J, et al. Data-driven capacity estimation of commercial lithium-ion batteries from voltage relaxation[J]. Nature Communications, 2022, 13(1): 2261. [Baidu Scholar]
YANG D, et al. A novel Gaussian process regression model for state-of-health estimation of lithium-ion battery using charging curve[J]. Journal of Power Sources, 2018, 384: 387. [Baidu Scholar]
LYU Z, GAO R, LI X. A partial charging curve-based data-fusion-model method for capacity estimation of Li-Ion battery[J]. Journal of Power Sources, 2021, 483: 229131. [Baidu Scholar]
LI Y, et al. State-of-health estimation of lithium-ion batteries based on semi-supervised transfer component analysis[J]. Applied Energy, 2020, 277: 115504. [Baidu Scholar]
ZHANG Z, et al. State‐of‐health estimation for the lithium‐ion battery based on gradient boosting decision tree with autonomous selection of excellent features[J]. International Journal of Energy Research, 2022, 46(2): 1756. [Baidu Scholar]
YANG D, et al. A neural network based state-of-health estimation of lithium-ion battery in electric vehicles[J]. Energy Procedia, 2017, 105: 2059. [Baidu Scholar]
HONG J, et al. Towards the swift prediction of the remaining useful life of lithium-ion batteries with end-to-end deep learning[J]. Applied Energy, 2020, 278: 115646. [Baidu Scholar]
CHO K, et al. Learning phrase representations using RNN encoder-decoder for statistical machine translation[Z/OL]. arXiv, 2014, arXiv:1406.1078. [Baidu Scholar]
KARPATHY A, et al. Visualizing and understanding recurrent networks[Z/OL]. arXiv, 2015, arXiv:1506.02078. [Baidu Scholar]