Abstract
Accurate monitoring of battery capacity degradation underpins reliable battery operation. Existing methods either estimate the current-cycle maximum capacity via full charge–discharge curves or reconstruct the current full charging curve using local charging segments. Both approaches only characterize current cycle degradation: the former suffers from unavailable full curves in practice and insufficient state description, while the latter cannot predict the aging trend of subsequent cycles. To address the above limitations, this work adopts easily collected post-discharge relaxation voltage as the core input to predict the full voltage–capacity (V-Q) curve of the next charging cycle. An LSTM-CNN hybrid feature embedding module is integrated into a Transformer-based LCformer model to combine temporal dependency modeling and local feature extraction. Furthermore, a novel customized loss function incorporating voltage-interval weighting, a monotonicity constraint, and a smoothness penalty is proposed to improve the plausibility and accuracy of the predicted curves. The proposed method achieves the prediction of a complete charging curve containing rich battery state information for the next cycle, and can provide prospective data support for relevant research based on full charging curves, such as battery state-of-health estimation and lithium plating analysis. Validation on datasets from different laboratories demonstrates that the proposed method achieves a root-mean-square error of less than 0.03 Ah in V-Q curve prediction.
1. Introduction
Lithium-ion batteries are widely used in electric vehicles, energy storage systems, and other fields due to their high energy density, long cycle life, and low self-discharge rate [1]. However, prolonged operation leads to the degradation of the internal structure, resulting in significant performance decay, such as rapid capacity fade and even thermal runaway, which poses severe safety risks [2]. Therefore, accurate performance evaluation is essential to ensure stable operation throughout the battery lifecycle. The charging curve contains unique and high-value aging information, providing an important basis for analyzing the internal state of batteries. It has become a core tool for investigating battery aging characteristics and a research hotspot in the state estimation of lithium-ion batteries [3]. Accurate prediction of the full charging curve enables state-of-charge (SOC) estimation, state-of-health (SOH) evaluation, and remaining useful life prediction, providing critical support for battery management systems [4]. Meanwhile, it facilitates the diagnosis of potential safety risks and improves operational safety [5].
Currently, most research strategies for reconstructing full charging curves rely on partial voltage segments obtained during the current charging cycle to estimate the complete charging curve within the same cycle. Against this background, methods for acquiring battery charging curves can be broadly categorized into three classes: mechanism-based methods, data-driven methods and hybrid fusion methods. Mechanism-based methods start from the internal physicochemical mechanisms of batteries, describe battery aging laws through constructing electrochemical models combined with parameter identification, and then deduce the variation characteristics of charging curves. For example, Bian et al. realized the acquisition of complete charging curves via a voltage reconstruction method based on a first-order RC equivalent circuit model and a polynomial SOC-open circuit voltage (OCV) function [6]. Jayabrata Maity et al. proposed a method fusing incremental capacity curves with equivalent circuit models, constructed a voltage–capacity model with the number of peaks adaptively adjusted with SOH, and successfully reconstructed the complete charging curve [7]. The advantage of such methods lies in the clear physical interpretability of the models, but they generally suffer from high computational complexity and strong dependence on assumptions about battery aging mechanisms. Under the actual complex aging paths, the prediction accuracy and environmental adaptability of the models are often limited.
Data-driven methods do not require the establishment of accurate mechanism models, but directly learn the complex nonlinear mapping relationship between charging curves and input features from historical monitoring data, and have become the mainstream method for charging curve prediction at present. Some studies adopt traditional machine learning algorithms to realize charging curve prediction: for instance, Su et al. completed the prediction of complete charging curves using a small number of charging data segments through feature extraction and multiple linear regression [8]. Mao et al. realized the reconstruction of complete curves based on partial charging curves by using an extreme learning machine optimized by a genetic algorithm and a hill-climbing algorithm [9].
In recent years, deep learning models have been widely applied in this field due to their powerful nonlinear fitting and temporal feature extraction capabilities: Tian et al. took 30 charging curve data points collected within 10 min as input, and constructed a deep neural network (DNN) to achieve accurate estimation of the complete constant-current charging curve [10]. Wang et al. selected charging data in the fixed voltage range of 3.8–3.9 V and adopted a bidirectional long short-term memory (LSTM) neural network to complete the prediction of the battery charging process [11]. Liu et al. introduced a method for reconstructing lithium-ion battery charging voltage curves using a conditional generative adversarial network (cGAN). The voltage data is segmented into measured and missing portions. An adversarial training framework between a generator and a discriminator enables the complete reconstruction of partial charging curves [12]. With the introduction of the attention mechanism, models can accurately focus on the key voltage stages sensitive to capacity fading. Based on this, numerous studies have adopted network structures integrated with attention mechanisms for end-to-end charging curve prediction. For example, Han et al. proposed a Transformer model based on the multi-scale interval attention (MSIA) mechanism to achieve efficient prediction of complete charging curves [13]. Lin et al. designed a novel neural network architecture fused with a channel attention mechanism, and completed the prediction of the complete constant-current charging curve by taking partial charging curve data and external information (ambient temperature, total battery charge) as input [14]. Yang et al. constructed a multi-scale feature-enhanced expert prediction model based on the matrix long short-term memory network, Transformer and Mamba model to realize accurate prediction of multivariate charging curves for electric vehicle battery packs [15]. Beyond their widespread applications in battery state estimation, attention-based mechanisms have also been progressively adopted for battery fault diagnosis. For instance, Zhao et al. proposed an Informer model integrated with incremental training for multi-fault early warning of lithium-ion batteries. Using real-world cloud-sourced vehicle data, the model achieves 60 s ahead prediction of cell voltage to realize pre-alarm for four typical battery faults. The incremental training strategy effectively improves the model adaptability to battery degradation and complex operating conditions [16]. Hybrid fusion methods integrate the strengths of mechanism-driven and data-driven approaches. They adopt mechanism models to provide interpretable frameworks and physical constraints, then combine data-driven strategies for parameter optimization and error compensation to boost accuracy. For instance, Yang et al. constructed a voltage reconstruction model using partial charging curves based on the correlation between half-cell equilibrium potential and full-cell terminal voltage [17].
Notably, the aforementioned studies reconstructing full charging curves based on segmented profiles can only characterize the battery state within the current cycle, and fail to extrapolate the properties of subsequent unseen cycles. Acquiring state information of batteries in future novel cycles is generally unachievable merely through curve reconstruction relying on the current cycle. Research focusing on the prediction of charging curves for the subsequent cycle can effectively compensate for the deficiencies of existing methods in cross-cycle forecasting, enable pre-emptive estimation of future charging characteristics, and thereby provide reliable support for battery state-of-health evaluation, remaining useful life prediction, and charging strategy optimization.
Relaxation voltage is a characteristic electrochemical behavior of lithium-ion batteries, which describes the time-dependent evolution of terminal voltage after the interruption of charging/discharging circuits until the battery reaches a state of thermodynamic equilibrium. This relaxation process can be quantitatively decoupled into two distinct components: an instantaneous voltage response and a slow dynamic evolution [18]. Specifically, the abrupt voltage jump immediately after circuit cutoff is predominantly governed by the ohmic resistance of the battery system. In contrast, the subsequent gradual voltage rise originates from the lithium concentration gradients established within electrode particles during prior charge and discharge operations. Such inhomogeneous lithium distribution drives solid-state diffusion of lithium species in the lattice structure of cathode and anode active materials. As all polarization effects fully decay and dissipate over time, the battery terminal voltage eventually converges to a steady-state open-circuit voltage (OCV) corresponding to the thermodynamic equilibrium state.
In the field of battery state estimation, relaxation voltage has attracted extensive attention due to its convenient collection feature [19]. Recent studies have consistently confirmed that the relaxation voltage collected at specific time nodes exhibits a significant correlation with the battery aging state, and researchers have developed various estimation methods based on this correlation, which can be roughly categorized into data-driven models, physics-informed models, and feature reconstruction-based methods, with respective advantages and limitations. In the realm of data-driven models, numerous studies have focused on optimizing input features and model structures to improve estimation accuracy. For example, Ko et al. employed a Gaussian process regression (GPR) model to simultaneously estimate the open circuit voltage (OCV) and state of health (SOH) of lithium-ion batteries, using only a small amount of relaxation voltage (RV) data (as short as tens of seconds) as input. Their study verified that RV can not only approximate the time-evolving OCV but also is closely related to the battery’s state of charge (SOC) and SOH; additionally, incorporating voltage differences into the input further enhances the accuracy of SOH estimation [20]. Building on similar ideas, Liu et al. proposed a multi-gate mixture-of-experts with CNN-BiLSTM (MMoE-CB) model, which achieves accurate prediction of battery degradation via relaxation voltage differences and can effectively estimate the SOH and OCV of batteries under different depths of discharge (DOD). However, this method still has limitations: the scarcity of data samples in the low SOC range leads to variations in its estimation performance across different SOC levels [21].
To address the issue of feature extraction and model adaptability, some researchers have focused on multi-scale feature construction and attention mechanism integration. Li et al. constructed three types of multi-scale degradation features (point features, statistical features, and cumulative degradation features) based on relaxation voltage, and developed a multi-scale temporal convolutional network (MSTCN) integrated with parameter-free attention to adaptively focus on critical aging information and establish the correlation between extracted features and SOH [22]. Similarly, Lyu et al. proposed an adaptive SOH estimation method based on cross-scale relaxation voltage features and an interpretable Multi-LSTM-RFR2 framework, which involved constructing four-scale degradation features, processing feature time-series with parallel multi-LSTMs, fusing pre-estimations via two-level RFR, and conducting two-dimensional feature importance analysis [23].
Other studies have explored dual-task collaboration, physics-informed integration, and lightweight model design to meet practical application needs. Wan et al. proposed a dual-task collaborative Gaussian process regression (DTC-GPR) framework based on short-term relaxation voltage (RV); taking the 10 min post-charging relaxation voltage sequence and ambient temperature as inputs, the framework enables end-to-end joint estimation of SOH and RUL without manual feature engineering and historical cycle data [24]. Lin et al. proposed a FOECM-based physics-informed machine learning (PIML) method, which extracts electrochemical features from the full-charge relaxation voltage of lithium-ion batteries and integrates a random forest for SOH estimation under diverse temperatures and discharge rates. Validations show an overall average accuracy of 0.84% under full operating conditions, with a 16.2% average improvement over conventional feature-based methods, achieving excellent generalization and computational efficiency [25]. Zheng et al. processed the original relaxation voltage and its gradient features through a dual-stream transfer attention network, realized feature fusion using the self-attention mechanism, and obtained the final SOH estimation value through mapping with a lightweight linear head [26].
In addition to direct estimation methods, some scholars have carried out research on relaxation voltage reconstruction to solve the problem of insufficient data. For instance, Wei et al. proposed a SOH estimation method based on relaxation voltage reconstruction and AM-LSTM: a BOHB-optimized GRU reconstructed complete relaxation curves from 2 min partial data, and effective features filtered by Pearson correlation analysis enabled accurate SOH estimation [27]. Meanwhile, methods based on the equivalent circuit model (ECM) also exist: Feng et al. proposed a battery degradation estimation method based on ECM, which achieves the estimation goal by extracting six ECM-specific features from 10 min relaxation voltage data under varying charging states. However, prior to the deployment of such methods for online applications, reasonable model simplification and efficient parameter identification are required [28]. Existing studies have fully verified the significant effectiveness of relaxation voltage in characterizing battery states, and charging curves, as the core feature reflecting battery states, can provide key information for battery state assessment.
Based on the previous research findings, this work proposes a novel innovation: to mine multi-dimensional battery state features hidden in the relaxation voltage signals after the discharge of the current cycle. By extracting and analyzing such implicit information, the intrinsic correlation between the current-cycle relaxation voltage and the subsequent charging curve is established, thereby achieving accurate prediction of the next-cycle charging profile. To this end, a novel prediction method for lithium-ion battery charging curves is proposed in this study, which integrates relaxation voltage features with an encoder–decoder deep learning architecture. Leveraging a newly developed model termed LCformer, an improved variant of the Transformer, this method enables high-fidelity and end-to-end prediction of the voltage–capacity charging curve for the battery’s next cycle. The overall research framework is shown in Figure 1, and the main research contributions are as follows:
Figure 1.
Voltage–capacity curve prediction and model training. (a) shows the Overall prediction pipeline. The house-shaped box represents the battery cycle data. (Subplot I) illustrates the battery health degradation trend over cycles, with blue points denoting the health state of each cycle and brown points indicating the current cycle state. (Subplot II) displays the charge-discharge voltage-time curves. The purple curve is the current-cycle discharge curve, and the red curve in the brown box represents the current-cycle post-discharge relaxation voltage (Subplot III). The blue dashed curve indicates the next-cycle charging curve (Subplot V). The model predicts the subsequent charging curve using the current-cycle post-discharge relaxation voltage data. (b) details the training modules for (Subplot IV). Taking the current-cycle post-discharge relaxation voltage curve as input, the hybrid LSTM-CNN module performs feature embedding, which are then fed into a Transformer encoder-decoder to predict the next-cycle voltage-capacity curve. Light blue and tan modules denote the encoder side and the decoder side, respectively.
- 1.
- A novel method for predicting the complete charging curve of the next charging cycle using the relaxation voltage data after discharge in the current cycle.
- 2.
- A collaborative feature embedding module integrating LSTM and multi-scale CNN to enhance the feature extraction capability of the native Transformer embedding layer for battery temporal data, thereby providing deep features rich in aging information for the subsequent attention module.
- 3.
- A novel loss function for battery charging curve prediction. By introducing voltage-interval weighting, a monotonicity constraint, and a smoothness penalty, the training process encourages the predicted V-Q curves to be monotone and smooth, thereby improving the plausibility and accuracy of the prediction results.
- 4.
- Validation results on battery datasets sourced from multiple laboratories demonstrate that the proposed method enables high-fidelity prediction of voltage–capacity curves, with the root mean square error (RMSE) of predictions below 0.03 Ah.
2. Method
This study proposes a battery charging curve prediction method based on the LCformer hybrid deep learning model. Taking the short-term relaxation voltage sequence after discharge in the current cycle as input, this method achieves accurate end-to-end prediction of the complete voltage–capacity (V-Q) curve for the constant-current charging phase in the next cycle, with the overall workflow illustrated in Figure 1a. Unlike traditional methods limited to single-value capacity prediction, the proposed method retains the full-dimensional information evolution characteristics of battery aging by directly outputting the complete charging curve, thus providing richer and more direct quantitative evidence for battery state-of-health assessment and internal degradation mechanism analysis. The core of this predictive capability is the in-depth excavation of battery state evolution laws embedded in the relaxation voltage sequence; the LCformer hybrid model leverages its robust feature learning ability to automatically construct and learn the complex nonlinear mapping between these laws and the battery’s subsequent charging behavior.
2.1. Voltage–Capacity Curve Prediction Framework
The LCformer framework synergistically integrates the strengths of LSTM, multi-scale CNN, and Transformer architectures, enabling robust extraction of dynamic temporal patterns, multi-scale local features, and global long-range dependencies from relaxation voltage sequences. The detailed mechanism is depicted in Figure 1b. The input V-sequence is first processed by LSTM to capture temporal evolution trends [29]. It is then fed into a multi-scale CNN with parallel convolutions to extract key local features across different time scales [30], which are fused to form a base feature tensor encoding critical battery state information. This base feature tensor is subsequently input to the Transformer encoder. Equipped with a multi-head sparse attention mechanism, the encoder enables the model to focus on critical segments within the sequence across parallel feature subspaces, effectively capturing both long-range dependencies and strong local correlations. A sparsification strategy filters redundant features, enhancing the model’s ability to represent aging-related information efficiently. The decoder establishes a precise nonlinear mapping between the high-quality aging features (enhanced by the Transformer) and the discrete capacity sequence of the target V-Q curve for the next charging cycle. The final output is a complete, smooth voltage–capacity curve for the subsequent constant-current charging phase. This framework facilitates end-to-end prediction from relaxation voltage to the full charging curve. The incremental capacity curve derived by differentiating the predicted voltage–capacity profiles enables an in-depth elucidation of the intrinsic mechanisms underlying battery performance degradation [31], which is particularly amenable to the modeling and long-term tracking of cell aging evolution [32].
2.2. LCformer-Based V-Q Curve Prediction Model
2.2.1. Input and Output Vector
In the model training phase, the input vector is defined as the short-term relaxation voltage time series collected during the battery rest period immediately after the end of discharge in the current cycle, with its expression given as follows:
where correspond to the relaxation voltage values obtained at the first, second, and subsequent sampling times, respectively, and q denotes the total number of sampling points for the relaxation voltage. In this study, relaxation voltage points were collected at fixed sampling times and intervals: the rest period was initiated immediately after discharge termination, with a sampling interval set to 3 s and a total rest duration of 10 min.
The output vector corresponds to the complete voltage–capacity (V-Q) curve of the constant-current charging phase in the next cycle, which is represented in a discretized form to meet the requirements of end-to-end model prediction. The charging voltage range is . This voltage range is discretized at a fixed voltage step of to generate a discrete voltage point sequence, expressed as:
where and . The output vector corresponds to the cumulative charging capacity sequence for the above voltage sequence, expressed as follows:
where represent the cumulative capacities of the battery obtained during charging from voltage to voltage at each corresponding voltage point. Physically, it represents the integral of electric quantity during the charging process, with the mathematical expression given by:
In the Equation (4), is the constant-current charging current and is the charging time. Through this discretization process, the continuous V-Q curve is converted into a capacity vector, enabling the model to directly learn and predict sequential outputs while preserving the battery aging characteristic information embedded in the V-Q curve.
2.2.2. Feature Embedding
Transformer was initially proposed by Vaswani et al. in 2017 [33]. Relying on its powerful attention mechanism, it can accurately capture global long-range dependencies and achieve high computational efficiency through parallelization. Originally developed as a foundational architecture for natural language processing (NLP), Transformer has been successfully extended to computer vision, speech processing, and other fields, becoming a mainstream framework for cross-modal sequence modeling.
Notably, the word embedding in the vanilla Transformer is designed for discrete, semantically independent tokens, which map each word into a continuous vector via a learnable embedding matrix. However, when directly applying this architecture to the task of charging curve prediction using relaxation voltage sequences in this work, an inherent contradiction between the standard embedding layer and the characteristics of time-series data becomes prominent. Specifically, the relaxation voltage sequence is essentially temporal data with strong time dependence and multi-stage dynamic evolution. The core property of such data lies in the dynamic correlation of physical parameters: the voltage at each time step is tightly coupled with preceding states, and its subsequent trend is dominated by historical evolution rather than being isolated from the temporal dimension.
In particular, the battery relaxation process exhibits distinct stages: the voltage rises rapidly in the early fast-relaxation phase, then gradually slows down and stabilizes as the relaxation duration increases, eventually reaching a dynamic equilibrium with negligible voltage fluctuations. The standard word embedding, which treats inputs as mutually independent discrete tokens, is fundamentally incompatible with these characteristics. It breaks the continuous dynamic correlation between adjacent time steps, fails to encode the historical driving mechanism of voltage evolution, and cannot capture the fast-relaxation and slow-relaxation stages. Consequently, the physical laws and long-range dependencies embedded in the time-series data will be severely lost, which severely degrades the global modeling capability of Transformer.
To adapt to the dynamic temporal characteristics of battery relaxation voltage sequences, this paper proposes a feature embedding module to resolve the mismatch between the discrete-token-oriented standard embedding of Transformer and continuous time-series data. The structure of the module is illustrated in Figure 2. This module synergistically combines long short-term memory (LSTM) and multi-scale 1D convolutional neural networks (CNNs) to capture temporal dynamic evolution patterns and multi-scale local feature correlations, as detailed below.
Figure 2.
Model structure.
The battery relaxation voltage is first fed into a single-layer LSTM with 64 hidden neurons for temporal feature extraction. The LSTM encodes dynamic information of each time step and its historical dependencies through recurrent computation and outputs 64-dimensional feature vectors. To further capture local characteristics of the relaxation voltage, a multi-scale CNN structure is introduced. Three parallel CNN branches with kernel sizes of 25, 49, and 99 are adopted to convolve the LSTM outputs, encode input features, and capture local dependencies. The output features are then concatenated to integrate rich representations from three different scales, facilitating the subsequent global correlation modeling in Transformer.
The vectors processed by the feature embedding module replace the word embeddings in the vanilla Transformer and serve as the input to the encoder for global attention modeling. Compared with the standard embedding layer, the proposed feature embedding module has two core advantages. First, the LSTM preserves the temporal dependencies of the relaxation voltage sequence and avoids destroying the temporal continuity caused by discrete embedding. Second, the multi-scale CNN covers local fluctuation features within different time windows, matching the staged characteristics from fast relaxation to slow relaxation during battery relaxation. Through the synergistic effect of LSTM and multi-scale CNN, the feature embedding module provides the Transformer with informative input features that integrate both temporal dynamics and local correlations, laying a solid foundation for the accurate prediction of charging curves.
2.2.3. Positional Encoding
Although the feature embedding module captures the dynamic temporal dependencies of relaxation voltage via LSTM and extracts local physical correlation features through multi-scale CNN, the output features of this module still lack explicit encoding for the absolute positions of sampling points. Since the Transformer model mainly relies on the self-attention mechanism to process input sequences, it inherently lacks the ability to model positional information of elements within the sequence. Therefore, positional encoding is introduced to inject positional information into the input sequence. Positional encoding is generally a matrix with the same dimension as the input sequence. In this study, the sine-cosine positional encoding scheme is adopted, and its formulation is given as follows:
where denotes the positional encoding at the -th timestep for the even-indexed dimension , and corresponds to the odd-indexed dimension . Here, i is an index for each pair of even-odd dimensions, and is the model dimension.
As indicated in Equations (5) and (6), a vector with the same dimension as the model is generated for each position pos in the input sequence. Each element in this vector is computed using either a sine or cosine function according to its index in the vector. In this manner, a unique encoding is assigned to each position.
2.2.4. Encoder and Decoder
The encoder and decoder constitute the core components of the proposed LCformer framework for charging curve prediction. Their primary objective is to further distill high-quality features with robust aging representation capabilities from the base features output by the feature embedding module, thereby fulfilling the prediction task. The encoder features a multi-layer architecture, where each layer comprises two key sub-modules: a probabilistic sparse attention module and a position-wise feed-forward network (FFN).
The probabilistic sparse attention module enables the model to efficiently focus on critical information within the sequence via random sampling and Top-k selection strategies. This mechanism not only reduces computational complexity but also enhances the model’s capability to handle long sequences. Following the concatenation of outputs from all attention heads, the FFN performs non-linear transformations to augment the model’s expressive capacity. Additionally, each encoder layer integrates layer normalization and residual connections to stabilize training and accelerate convergence.
In the self-attention computation of the encoder, queries, keys, and values are all derived from the same input sequence—namely, the feature sequence processed by LSTM and multi-scale CNN, augmented with positional encoding. Through stacked layers, the encoder progressively extracts high-quality features endowed with strong aging representation capabilities.
In contrast, the decoder incorporates a masked probabilistic sparse self-attention module, succeeded by layer normalization and residual connection. This is then fed into a probabilistic sparse cross-attention module that interacts with the encoder output, facilitating the model’s learning of correspondences between the target voltage sequence and input feature sequence. Subsequent to layer normalization, residual connection, and FFN operation, the layer output serves as the input for the next layer. Ultimately, a fully connected layer outputs the predicted capacity at the current step.
Central to the attention mechanism is the multi-head parallel processing strategy, which enhances feature extraction by learning h linear projection matrices independently. These matrices separately project Q, K, and V into distinct subspaces for parallel attention computation. The transformed tensors are then fed into each attention head for independent aggregation, with each head specializing in capturing different correlation patterns across subspaces. Finally, the outputs of all heads are concatenated and integrated through a unified linear projection layer, yielding the final attention output with rich and comprehensive representation ability.
2.3. Model Training Configuration
2.3.1. Optimizer and Environment Configurator
In the framework proposed in this study, the Adam algorithm is employed as the gradient descent optimizer. This algorithm is well-suited for first-order gradient optimization of stochastic objective functions with low memory requirements, and its detailed update rules are given as follows:
where is the parameter vector at the t-th iteration, is the learning rate set to 0.001, is a small constant to avoid division by zero, set to , and and are updated as follows:
Here, denotes the decay rate of the gradient moving average, and represents the decay rate of the squared gradient moving average, set to 0.9 and 0.999, respectively. and are the bias-corrected values of and , respectively, while indicates the gradient of the loss function—a custom loss function is adopted during the training process to better fit the characteristics of battery relaxation voltage sequences.
After selecting appropriate network hyperparameters and architecture, the training process is initiated. The model is trained for a default of 1000 epochs, with the input being the relaxation voltage sequence after discharge in the current cycle and the output being the voltage–capacity (V-Q) curve of the constant-current charging phase in the next cycle.
Finally, the model with the minimum validation loss during iteration is selected as the final test model, and its prediction performance is evaluated on the test set samples. The model training in this study is developed based on the PyTorch 2.8.0 deep learning framework. To improve computational efficiency, the training task invokes GPU resources via CUDA technology, and all model training and computation operations are ultimately completed on an NVIDIA GeForce GTX 1650 graphics card.
2.3.2. Design of the Custom Loss Function
In the task of lithium-ion battery capacity–voltage curve prediction, mean squared error (MSE) is a widely used loss function. However, this work identifies significant drawbacks in its practical application. As shown in Figure 3 Example of Anomalous Behavior in MSE Loss Function, the horizontal axis represents the charging voltage in volts, and the interval between two adjacent points in the locally magnified view is 5 mV. As can be observed in Figure 3a, the predicted curve trained with the MSE loss shows systematic deviations from the ground-truth curve in several local voltage regions, and exhibits an unphysical trend where the predicted charging capacity first increases and then decreases. In practice, during the constant-current charging stage, the capacity should increase monotonically and cumulatively with rising voltage.
Figure 3.
Abnormal prediction examples of charging curves obtained after training with MSE loss function on NCM batteries at 45 °C from Tongji University. (a) Capacity first increases and then decreases. (b) Overall capacity increases with fluctuations.
We contend that the MSE loss function lacks a mechanism to assign optimization weights corresponding to the electrochemical significance of voltage intervals with varying physical importance. This leads to a tendency to sacrifice the physical consistency of critical local regions, thereby yielding predictions that violate physical rationality.
Notably, even within voltage intervals where the overall capacity shows an upward trend, the predicted curves derived from MSE loss frequently exhibit unreasonable fluctuations. This is not a coincidental phenomenon but stems from the inherent optimization characteristics of the MSE loss function. As illustrated in Figure 3b, within the voltage interval of 3.84 V to 3.86 V, the voltage–capacity curve exhibits pronounced slope variations: a rapid increase from 3.84 V to 3.845 V, a sharp drop to nearly flat between 3.845 V and 3.85 V, and then another rapid ascent from 3.855 V to 3.86 V. Such near-stagnation and abrupt acceleration of capacity growth within an extremely narrow voltage window are difficult to justify from an electrochemical perspective. These anomalous fluctuations essentially reveal the intrinsic limitations of the MSE loss.
Since MSE solely aims to minimize the sum of squared pointwise errors, the model is free to allocate capacity increments across different voltage intervals to better fit discrete true values, without considering the physical plausibility of capacity evolution. In other words, MSE imposes no smoothing constraints on the first- or higher-order derivatives of the predicted function. Hence, the phenomena depicted in Figure 3 are essentially different manifestations of the same underlying issue. Relying solely on MSE for regression prediction readily leads to physically unreasonable capacity accumulation processes.
To improve the accuracy and physical consistency of lithium-ion battery charging curve prediction, this paper proposes an innovative battery-aware loss function. The overall loss function is designed based on four core components, and its mathematical formulation is given as follows:
where denotes the MSE loss, which is responsible for ensuring the numerical accuracy of the prediction results:
The voltage-aware loss term is an innovative component designed specifically for lithium-ion battery characteristics:
The electrochemical behavior of lithium-ion batteries is more complex and more sensitive to state-of-health in high-voltage regions. By assigning higher error weights to these regions, the model can focus on the prediction accuracy of these critical intervals, thereby improving overall performance.
The monotonicity term enforces the practically expected monotone increase in capacity with voltage under constant-current charging. Penalizing decreases suppresses non-monotone fluctuations in the predicted curve.
The smoothness term penalizes abrupt local oscillations by minimizing the second-order difference of the predicted curve, thereby yielding smoother and more regular charging curves.
Here, T denotes the number of time steps (i.e., voltage sampling points) for each sample sequence, represents the predicted value of the i-th sample at the t-th time step, and denotes the corresponding ground truth. is the weight of the voltage-aware loss, set to 1.0. is the weight of the monotonicity constraint, set to 0.1. is the weight of the smoothness constraint, set to 0.05. N denotes the number of battery charging curves in a training batch.
3. Experiments
3.1. Dataset Description
In this study, the proposed method is validated using public datasets from the laboratories of Tongji University and Xi’an Jiaotong University. These datasets are derived from specific test conditions, and the detailed data sources are presented in Table 1.
Table 1.
The overview of the battery datasets.
Regarding the experimental test procedure, it should be noted that each battery cycle consists of a constant-current charging phase, a constant-voltage charging phase, and a constant-current discharging phase. Experiments are conducted under various temperatures and discharge rates. NCA and NCM batteries are tested at 25 °C and 45 °C, respectively, with a charging rate of 0.5C and a discharging rate of 1C. For both NCA and NCM batteries, the cycle duration is 30 min with a sampling interval of 120 s. Representative batteries from the NCA and NCM datasets are illustrated in Figure 4.
Figure 4.
Maximum discharge capacity decline trajectory: (a) Tongji NCM 45 °C; (d) Tongji NCA 45 °C; (g) Xjtu NCM 25 °C. Relaxation voltage curve after discharge: (b) Tongji NCM 45 °C; (e) Tongji NCA 45 °C; (h) Xjtu NCM 25 °C. Charging voltage–capacity curve: (c) Tongji NCM 45 °C; (f) Tongji NCA 45 °C; (i) Xjtu NCM 25 °C.
In this study, batteries tested at 45 °C from the Tongji University dataset are used as an example. A total of 24 cells are randomly selected from the dataset for experimental analysis. At the cycle-level sample dimension, all cycling samples are randomly partitioned into the training set, validation set, and test set following a 6:2:2 splitting ratio.
The root mean square error (RMSE) is adopted in this study to evaluate the model performance. In addition, the error distribution density plot is used to characterize the distribution of prediction errors, so as to comprehensively analyze the accuracy and stability of the model on the test set. The calculation formula is given as follows:
where denotes the ground truth of the capacity value Q in the voltage–capacity curve, is the predicted value of the capacity Q, N is the total number of capacity points Q in the voltage–capacity curve.
3.2. Comparison Experiments of Loss Functions
In this paper, a customized loss function is formulated by incorporating three regularization constraints, namely voltage interval weighting, capacity monotonicity constraint, and curve smoothing. Based on the multi-objective optimization strategy, the proposed loss function can provide precise constraint guidance for the parameter optimization of the established model.
To systematically verify the performance advantages of the proposed loss function, the model architecture presented in this work is used as the baseline framework. Models are trained separately with the standard MSE loss and our custom loss function, while all experimental variables including dataset, network hyperparameters, and training strategies are strictly controlled to be consistent. Quantitative evaluation is conducted from the perspectives of root mean square error (RMSE), error distribution characteristics, and other key dimensions.
To further investigate the mechanism by which the two loss functions influence prediction performance, four batteries were randomly selected for comparative analysis. The evolution curves of RMSE over the full life cycle are presented in Figure 5, where the x-axis denotes the cycle number and the y-axis represents the RMSE of the predicted charging curve, with the unit of Ah. The superiority of the proposed custom loss function is most pronounced for Battery 9 and Battery 23. For Cell 9, especially during the late stage (after 200 cycles), our method consistently maintains a lower RMSE than MSE across the entire cycling process. For Cell 23, our method achieves lower prediction errors than the conventional MSE at most cycling points, except for the initial stage.
Figure 5.
Comparison of the RMSE of charging curves predicted by our proposed loss function and the MSE loss function on four randomly selected cells from the Tongji University NCM battery dataset at 45 °C. (a) cell 8. (b) cell 9. (c) cell 16. (d) cell 23.
For Cell 16, the RMSE curves of both methods overlap closely, indicating that both can reach similar upper-bound performance. However, the MSE-based method exhibits two sharp increases in RMSE during the early and middle stages, whereas our method remains stably fluctuating within a narrow range with a smaller maximum peak. For Cell 8, during the late stage (after approximately 250 cycles), the RMSE values of both methods show a downward trend. Although our method displays a distinct error peak, the overall RMSE is still lower than that of the conventional MSE loss, with a relative reduction of 23.66%.
We summarize the RMSE metrics of all batteries in Table 2. It can be observed that the custom loss function outperforms the traditional MSE loss in 17 out of 24 batteries. This demonstrates that, when dealing with fluctuations and nonlinear stages during capacity degradation, the proposed multi-objective optimization strategy can guide model learning more effectively and improve prediction accuracy.
Table 2.
A comparison of the RMSE for the predicted charging curves using the MSE loss function and our proposed loss function on Tongji University NCM batteries at 45 °C. The best performance values are highlighted in bold.
3.3. Model Comparison Experiments
To systematically evaluate the performance of the proposed model, we conducted comprehensive comparative experiments on public lithium-ion battery datasets.Two mainstream models, namely CNN and LSTM, as well as two representative state-of-the-art models in this field, CNN-LSTM-Attention [36] and Transformer-CNN-BiGRU [37], were selected as benchmarks. Cells 8, 9, 16, and 23 were randomly chosen from the 24 test batteries for in-depth analysis.
3.3.1. Voltage-Capacity Curves Prediction
As observed from the RMSE distribution boxplots in Figure 6, on these four batteries, the box height and median error of the proposed model are the lowest among all compared models, and the range of error distribution and the magnitude of outliers are also the smallest. The proposed model not only achieves the best average prediction accuracy but also exhibits superior stability in error fluctuation over the other models. Specifically, the CNN model suffers from obvious error accumulation due to its difficulty in capturing long-term temporal dependencies, leading to a significantly scattered error distribution on Cells 8 and 9. Restricted by insufficient multi-scale feature representation, the LSTM model yields higher prediction errors than the proposed model on Cells 16 and 23. The CNN-LSTM-Attention model fails to model global temporal dependencies due to the limitation of local attention mechanisms, resulting in slightly higher errors than our model. Constrained by the aging feature extraction ability of the standard embedding layer, the Transformer-CNN-BiGRU model also presents obviously higher error levels than the proposed model. These results fully validate the advantages of the proposed model in feature fusion and temporal modeling.
Figure 6.
Comparison of the RMSE of charging curves predicted by different models on four randomly selected cells from the Tongji University NCM battery dataset at 45 °C. The Roman numerals denote the following models: I (CNN), II (LSTM), III (CNN-LSTM-Attention), IV (Transformer-CNN-BiGRU), and V (Our proposed method). (a) Cell 8; (b) cell 9; (c) cell 16; and (d) cell 23.
The proposed LCformer model leverages LSTM to extract temporal dependencies, a CNN to capture multi-scale local features, and global multi-head sparse attention to model long-range dependencies in parallel. It realizes the deep interactive fusion of multi-scale spatial and temporal features and effectively enhances the representation ability of aging features. The model not only significantly reduces prediction errors but also demonstrates superior accuracy and reliability over mainstream and advanced benchmark models across all battery experiments, verifying the effectiveness and superiority of the proposed architecture for lithium-ion battery state estimation tasks.
As summarized in Table 3, which integrates all experimental results of the 24 test batteries, the proposed model achieves the highest prediction accuracy in the vast majority of batteries: it outperforms the CNN model on 19 batteries, the LSTM model on 21 batteries, the CNN-LSTM-Attention model on 17 batteries, and the Transformer-CNN-BiGRU model on 16 batteries.
Table 3.
Performance comparison of RMSE for charging curve prediction by different models on Tongji University NCM batteries at 45 °C. The best performance values are highlighted in bold.
Figure 7 presents the prediction error density distribution curves over the entire lifecycle for the four batteries (Cells 8, 9, 16, and 23). The horizontal axis represents the magnitude of prediction error in mAh, and the vertical axis indicates the frequency of occurrence. It is evident that our model demonstrates the best performance across all test samples: its error density peak is the highest and exhibits the sharpest concentration near 0 mAh, indicating that the prediction accuracy is significantly superior to benchmark models including CNN, LSTM, CNN-LSTM-Attention, and Transformer-CNN-BiGRU. The error distribution interval of our model is the most compact, largely confined within mAh, while the density in the tail region corresponding to large errors is the lowest, thereby effectively avoiding extreme prediction failures. Moreover, the model consistently maintains the distribution characteristics of a high, narrow peak and a small range across different individual batteries. This fully validates the fundamental effectiveness of the proposed strategy in optimizing the global error distribution and enhancing prediction reliability.
Figure 7.
Predicted results for cell 8 in the Tongji NCM 45 °C test set. (a,b) Predictions of the first and last cycle charging curves versus IC curves. (c,d) Predicted results for all charging curves and IC curves.
The aforementioned results fully validate the significant advantages of the proposed model in predicting complete charging curves. Subsequently, using these predicted curves as inputs, the corresponding IC curves are constructed based on the principle of Incremental Capacity Analysis (ICA). Such IC curves can visually characterize the internal electrochemical reactions and structural phase transitions within the battery, facilitating further qualitative analysis of the complete degradation mechanisms [38]. Mathematically, the IC curve is obtained by differentiating capacity (Q) with respect to voltage (V), as expressed by the following formula:
where is the capacity value (Ah) at the i-th data point, is the voltage value (V) at the i-th data point, is the capacity difference between two adjacent data points, and is the voltage difference between two adjacent data points.
For battery 8 in the test set, the predicted charging profiles for the first and last cycles are shown in Figure 8a,b, while the full-cycle curves are presented in Figure 8c,d. Using only relaxation voltage as input, the proposed framework successfully captures the evolving patterns of charging behavior. This high-fidelity fitting capability provides critical support for in-depth attribution analysis of battery aging.
Figure 8.
Prediction error density distribution comparison of charging curves predicted by different models on four randomly selected cells from the Tongji University NCM battery dataset at 45 °C. (a) Cell 8. (b) Cell 9. (c) Cell 16. (d) Cell 23.
3.3.2. Maximum Capacity Estimation
The results presented in Section 3.3 demonstrate that the proposed method achieves satisfactory prediction performance for the constant-current charging curve. Generally, the maximum capacity of a battery is defined as the capacity obtained after a full charge–discharge cycle, which serves as a critical indicator for evaluating battery aging [39].
Notably, unlike previous methods that rely on manual feature extraction to estimate the maximum battery capacity, the proposed approach enables direct extraction of the maximum capacity from the predicted constant-current charging curve.
Taking the predicted charging curves from the proposed model as an example, Figure 9a–d presents the RMSE results of maximum capacity extracted by different models for the four randomly selected batteries. It can be observed that the error distribution of the proposed framework is relatively narrow, with only a small number of predictions close to 0.03 Ah (0.9% of the rated capacity).
Figure 9.
Comparison of the RMSE for maximum capacity extracted from charging curves predicted by different models on four randomly selected cells from the Tongji University NCM battery dataset at 45 °C. (a) Cell 8. (b) Cell 9. (c) Cell 16. (d) Cell 23. The Roman numerals denote the following models: I (CNN), II (LSTM), III (CNN-LSTM-Attention), IV (Transformer-CNN-BiGRU), and V (our proposed method).
Figure 10 shows the maximum capacity extracted under various cycle numbers for these four batteries. It can clearly be seen that the predicted values for Cells 8, 16, and 23 match almost perfectly with the ground-truth values. Although the prediction for Cell 9 shows a slight deviation, our model still achieves the best performance compared with other competing models. This indicates that the proposed method can accurately estimate the state of health of batteries.
Figure 10.
Illustration of the maximum charging capacity extracted from charging curves predicted by our model on four randomly selected cells from the Tongji University NCM battery dataset at 45 °C. (a) Cell 8. (b) Cell 9. (c) Cell 16. (d) Cell 23.
Table 4 summarizes the performance comparison of different models in predicting the maximum capacity. For 22 out of the 24 batteries, the root mean square error (RMSE) of the maximum charging capacity remains below 0.026 Ah, which corresponds to only 0.74% of the rated capacity. The remaining two batteries exhibit slightly higher errors, yet still below 0.052 Ah, representing 1.5% of the rated capacity.
Table 4.
RMSE comparison of the maximum capacity extracted from charging curves predicted by different models on Tongji University NCM batteries at 45 °C. The best performance values are highlighted in bold.
3.3.3. Correlation Analysis Between Relaxation Voltage and Subsequent Charging Curves
To clarify the characterization effect of post-discharge relaxation voltage signals on subsequent charging behaviors, this section conducts feature correlation analysis based on the well-trained charging curve prediction model. Deep representations corresponding to relaxation voltages in the model’s hidden layers are extracted from the test set to investigate the coupling relationship between this set of features and the V-Q charging curve of the subsequent cycle. The feature visualization results are presented in Figure 11a.
Figure 11.
(a) Correlation coefficients of the top six hidden features extracted from post-discharge relaxation voltage against subsequent cyclic V-Q charging curves of Tongji-NCM cells under 45 °C. (b) Comparison of interval width metrics (PINAW and AIW) between early and late battery degradation stages.
The analysis demonstrates that high-weight features extracted by the model from time-series relaxation voltage signals exhibit a significant correlation with the full charging process of the next cycle. From an electrochemical perspective, the voltage relaxation process serves as a characteristic signature of the battery’s internal state at the end of discharge, involving the decay of Ohmic, charge-transfer, and concentration polarizations [40,41], as well as the redistribution of Li-ions and the relaxation of the electric double layer [42]. Crucially, since the internal Li-ion concentration gradients and electrode potential distributions cannot change abruptly during short-term rest [43], the thermodynamic and kinetic states established after relaxation (e.g., ion transport resistance and interfacial impedance) directly serve as the initial conditions for the subsequent charging cycle [44]. Consequently, aging-induced degradation mechanisms—such as loss of active lithium (LLI) and reduced solid-phase diffusion coefficients—manifest as distinct features in the relaxation curve, which in turn govern the subsequent charging profile [45].
With a correlation coefficient exceeding 0.9, the model’s high-weight features effectively capture these physical couplings, thereby verifying the rationality of adopting post-discharge relaxation voltage as a model input from a feature-learning perspective.
3.4. Stratified Uncertainty Quantification and Reliability Analysis
To validate the reliability of the proposed framework, particularly near the End-of-Life (EOL) stage, a stratified absolute residual conformal prediction method is employed. Unlike conventional pointwise metrics, the non-conformity score is defined as the sample-wise maximum absolute error, naturally yielding a simultaneous confidence band for the entire V-Q curve:
Considering the non-stationary error distribution across the battery lifecycle, the calibration set is stratified into two phases: early-stage (80–90% SOH) and late-stage (70–80% SOH). For finite calibration samples, naive quantile estimation would lead to empirical coverage below the nominal confidence level. Therefore, the quantile calculation strictly follows the canonical split conformal prediction protocol [46], where n denotes the sample size of the calibration set, represents the significance level, and is the confidence level. The finite-sample correction is a theoretically derived deterministic term rather than a tunable hyperparameter, to provably guarantee valid marginal coverage.
Under the nominal 95% confidence level, the proposed method achieves a global Prediction Interval Coverage Probability (PICP) of 0.965. The coverage remains stable across degradation stages, registering 0.9653 for the early stage and 0.9640 for the late stage. The coverage results are consistent with the well-validated theoretical expectations of the canonical conformal prediction framework.
Figure 11b compares the Prediction Interval Normalized Average Width (PINAW) and the absolute interval width (AIW) at the 4.2V cut-off. While the PINAW increases from 0.1357 (early) to 0.1402 (late), reflecting heightened relative uncertainty due to complex aging mechanisms, the absolute interval width at 4.2V remains remarkably stable, at 0.0578 Ah for the early stage and 0.0572 Ah for the late stage. This marginal reduction in absolute width for the late stage aligns with the empirical distribution of maximum residuals in the calibration set, indicating that the data-driven calibration avoids artificially inflating intervals where the empirical error remains bounded. This distinction reveals a critical insight: although the relative uncertainty expands with aging, the model’s absolute predictive error is well-regulated throughout the lifecycle.
3.5. Effects of Battery Types and Operating Temperatures on Model Prediction Performance
The effectiveness of the proposed algorithmic framework has been validated in predicting constant-current charging curves, with its core advantage lying in the requirement of only relaxation voltage time-series data collected after discharge. To further evaluate the robustness of this framework across diverse operating conditions and battery chemistries, we introduce a multi-temperature test set comprising heterogeneous batteries. For each specific condition, model training and validation were conducted independently, with input data uniformly sampled at 201 points at 3 s intervals.
Visualization results for the remaining three scenarios from the Tongji dataset Figure 12a–f indicate that the RMSE for all test subsets remains largely below the 0.04 Ah threshold, predominantly falling within the 0–0.02 Ah range. These results demonstrate that the proposed voltage–capacity curve prediction method based on relaxation-stage data can still maintain favorable prediction accuracy after retraining for different working conditions.
Figure 12.
Boxplots of RMSE for individual cells and corresponding RMSE frequency histograms under different operating temperatures: (a,b) Tongji-NCA 25 °C. (c,d) Tongji-NCA 45 °C. (e,f) Tongji-NCM 25 °C.
3.6. Effects of Fast Charge Rate on Model Prediction Performance
To evaluate the performance of the proposed method on a public high-current fast-charging aging dataset, this study conducts validation using the publicly available dataset from Xi’an Jiaotong University (XJTU). Experiments employ two sets of constant-current fast-charging aging data at 2C and 3C rates, respectively, with the model independently retrained for each rate to align with the dynamic evolution of battery aging characteristics under fast-charging conditions. Notably, the dataset includes only a brief 5 min relaxation period following discharge. Nevertheless, leveraging this limited 5 min relaxation voltage data, the retrained models still achieve accurate and robust predictions of charging curves under both 2C and 3C conditions.
As illustrated in Figure 13, the root mean square error (RMSE) remains below 0.02 Ah for the vast majority of samples, with peak errors of merely 0.04 Ah and 0.05 Ah under 2C and 3C operation, respectively. These results indicate that the proposed method maintains stable prediction accuracy on the XJTU fast-charging datasets used in this study.
Figure 13.
Statistical analysis of prediction RMSE on XJTU-NCM dataset at 25 °C. (a) RMSE dispersion of four batteries under 2C and 3C fast charging conditions; (b) Frequency distribution of all prediction errors in terms of RMSE (Ah).
3.7. Effects of Relaxation Data Length on Model Prediction Performance
Existing studies on estimating battery state of health (SOH) based on relaxation voltage have not reached a unified standard for the rest duration. Some studies model using relaxation data obtained under a 10 min rest duration [47], while others complete evaluation merely using short-term relaxation sequences of 1 min [48]. Although relaxation voltage acquired after a 10 min rest enables high-precision prediction of constant-current charging curves, vehicle-mounted battery management systems (BMSs) are constrained by limited hardware resources including storage space, chip computing power and operating memory. Excessively long relaxation time series will drastically increase the overhead of data storage and model computation.
To address this issue, this paper conducts comparative experiments with multiple gradient rest durations to investigate differences in prediction performance among relaxation voltage time series of varying lengths. The experiments utilize the 45 °C working condition dataset of NCM ternary lithium batteries provided by Tongji University, with a voltage sampling interval of 3 s. Relaxation voltage samples are collected after charging termination with rest durations of 60 s, 180 s, 300 s, 420 s, 540 s and 600 s respectively. The number of time-series sampling points corresponding to the six rest durations are 21, 61, 101, 141, 181 and 201 in sequence, and the prediction results under each working condition are illustrated in Figure 14a.
Figure 14.
Prediction RMSE analysis on the Tongji-NCM dataset at 45 °C. (a) Effect of different voltage relaxation time lengths on charging curve prediction accuracy; (b) ablation comparison between vanilla Transformer embedding and the proposed embedding module.
It can be observed from the figure that the model retains favorable estimation accuracy even when only the 1 min short-term relaxation window (21 sampling points) is adopted. As the rest relaxation duration increases continuously, the prediction performance of constant-current charging curves improves steadily, with the root mean square error (RMSE) reduced to below 0.01 Ah.
3.8. Ablation Experiments
To verify the effectiveness and necessity of the feature embedding module proposed in this study, ablation experiments were conducted by replacing the proposed module with the vanilla Transformer embedding layer for charging curve prediction, enabling a quantitative evaluation of the performance gains attributable to our design.
As illustrated in Figure 14b, adopting the standard Transformer embedding leads to a marked degradation in overall prediction performance. Quantitatively, our proposed embedding reduces the RMSE by 24.6% compared to the standard Transformer embedding. The underlying reason is that the proposed module is specifically tailored to the characteristics of relaxation time-series data: it not only preserves feature correlations across adjacent time steps but also accurately characterizes the differentiated features at various stages of the relaxation process. In contrast, the vanilla Transformer embedding is originally designed for discrete textual semantics and therefore fails to adapt to the continuous, dynamically evolving nature of battery voltage time series.
In summary, the ablation study demonstrates that the proposed feature embedding module effectively bridges the inherent mismatch between vanilla Transformer embeddings and relaxation time-series data, allowing the model to precisely capture the multi-stage evolution law of battery relaxation. Its effectiveness is thus rigorously validated.
4. Discussion and Conclusions
Most existing studies on battery aging monitoring characterize battery degradation behaviors by constructing maximum capacity estimation models. Nevertheless, maximum capacity is merely a one-dimensional scalar indicator, which fails to distinguish multiple internal aging mechanisms of batteries. Furthermore, prevailing mainstream monitoring schemes heavily rely on complete charge–discharge cycle data, leading to high costs in data acquisition. There is an urgent demand for a battery aging monitoring framework that only requires limited cyclic data. To address these issues, this paper proposes a battery aging monitoring method based on the LCformer model.
Different from the conventional monitoring paradigm centered on maximum capacity, the proposed model only collects short-term relaxation voltage segments within 10 min after discharge to accurately predict the full voltage–capacity curve of the subsequent cycle. With the high-precision predicted voltage–capacity curves, the derived incremental capacity curves further facilitate comprehensive diagnosis of battery aging states. Experiments on multiple groups of laboratory battery degradation datasets from diverse sources demonstrate that the root mean square error (RMSE) of capacity prediction of the proposed method remains steadily below 0.03 Ah. The method achieves outstanding prediction accuracy and reliability, and can effectively break through the technical bottlenecks of traditional battery aging monitoring approaches.
Although the method proposed in this paper achieves outstanding monitoring performance, the present study still has certain limitations that can be targeted for optimization in future work. First, all analyses in this paper are carried out using cyclic charge–discharge data of commercial batteries acquired under controlled laboratory conditions. While this ensures that each relaxation process is free from disturbances caused by historical cycling operating conditions, it represents a performance upper bound that may not fully capture the complexity of real-world electric vehicle operation. Specifically, practical scenarios involve unique challenges such as regenerative braking-induced pulse currents, highly dynamic current profiles, irregular testing intervals, and fluctuating state-of-charge windows. These stochastic factors interfere with the effective extraction of characteristic relaxation voltage signatures and alter battery polarization dynamics [49]. Meanwhile, factors including depth of discharge, charge–discharge C-rate, current direction, and battery material systems can all alter battery relaxation properties. Future research will therefore focus on investigating the prediction stability and environmental adaptability of the proposed method under random, unsteady, noise-containing operating conditions, with particular emphasis on incorporating real-world driving datasets and developing targeted data augmentation strategies to bridge the gap between laboratory testing and field deployment.
Nevertheless, the charging curve prediction model developed in this study exhibits prominent limitations in generalization capability, which severely restricts its practical engineering deployment. The established model is highly dependent on the data distribution of the training dataset. Once distribution shifts occur in real-world battery operating conditions, the model requires full-parameter retraining with newly collected scenario-specific data. Consequently, it fails to generalize to unseen operating scenarios directly and lacks zero-shot inference capacity across diverse datasets and working conditions. Future studies may adopt the bi-level optimization-based meta-learning strategy proposed by Shu et al. [50] to address the inherent limitations of conventional transfer learning, including negative transfer risks and insufficient adaptability under few-shot scenarios. This strategy enables rapid and effective model fine-tuning with limited training samples, thereby substantially improving the generalization performance and adaptive capacity of the model across diverse working temperatures, charging currents, and battery cell systems.
Meanwhile, this study only performs prediction on the charging curves of single cells, and its effectiveness has not yet been validated at the battery pack level. Inspired by the cell-to-pack domain-adversarial parallel spatiotemporal transfer learning framework proposed by Shu et al., future work can introduce the domain-adversarial transfer learning paradigm [51]. Without explicitly modeling cell inconsistency, a small number of measured battery-pack samples can be leveraged to realize cross-domain adaptation of the model, so as to transfer the charging-curve prediction capability learned from single cells to practical battery-pack application scenarios.
Finally, the present study is limited to single-cycle prediction and fails to enable long-term battery degradation forecasting that requires refined modeling of cumulative aging mechanisms. Furthermore, the analysis in this work focuses exclusively on the constant-current (CC) charging stage. Although this setup simplifies feature extraction, it excludes the constant-voltage (CV) charging phase, thereby constraining the completeness and generalization capability of the proposed framework. For future research, we will incorporate electrochemical–kinetic equations to capture multiple degradation mechanisms and realize accurate long-term degradation prediction. Additionally, the model will be further extended to accommodate the nonlinear dynamic characteristics of the CV charging stage, aiming to fully characterize the full-life-cycle aging behavior and complete charging profiles of lithium-ion batteries.
Author Contributions
J.G.: Methodology, Conceptualization. S.Q.: Writing review and editing, Writing—original draft, Visualization, Validation, Formal analysis. Y.H.: Supervision, Data curation, Investigation. L.S.: Project administration, Investigation, Funding acquisition. Y.S.: Funding acquisition, Conceptualization, Supervision. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the Project of Liaoning Provincial Department of Education (Research on State Parameter Estimation and Prediction of Energy Storage Lithium-ion Batteries) (grant ID: LJ212410142117) and by the Liaoning Provincial Science and Technology Plan Joint Program (Natural Science Foundation-General Program) (grant ID: 2025-MSLH-528).
Data Availability Statement
The battery datasets supporting this research are publicly available open resources as referenced in the manuscript.
Conflicts of Interest
Authors Linjun Si and Yuanhai Si were employed by the Powerchina Huadong Engineering Corporation (China), Hangzhou, China. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Geng, M.; Su, Y.; Liu, C.; Chen, L.; Huang, X. Interpretable deep learning with uncertainty quantification for lithium-ion battery SOH estimation. Energy 2025, 335, 138027. [Google Scholar] [CrossRef] [Scilit]
- Nie, B.; Dong, Y.; Chang, L.; Zeng, L. Experimental investigation of cycling aging effects on degradation and thermal runaway characteristics of 18650 lithium-ion batteries. J. Energy Storage 2025, 134, 118171. [Google Scholar] [CrossRef] [Scilit]
- Lai, R.; Tian, Y.; Wang, J.; Tian, J.; Li, X.; Tang, Z.; Yu, Q. Battery charging curve prediction via Fourier graph neural network fused prompt features. Energy 2025, 333, 137565. [Google Scholar] [CrossRef] [Scilit]
- Wu, M.; Yue, C.; Zhang, F.; Sun, R.; Tang, J.; Hu, S.; Zhao, N.; Wang, J. State of Health Estimation and Remaining Useful Life Prediction of Lithium-Ion Batteries by Charging Feature Extraction and Ridge Regression. Appl. Sci. 2024, 14, 3153. [Google Scholar] [CrossRef] [Scilit]
- Liao, L.; Hu, X.; Chen, H.; Wang, Z.; Wu, T.; Jiang, J. Quantitative diagnosis of micro-short circuit for lithium-ion batteries considering aging based on incremental capacity curve. J. Energy Storage 2024, 79, 110240. [Google Scholar] [CrossRef] [Scilit]
- Bian, X.; Wei, Z.; He, J.; Yan, F.; Liu, L. A Novel Model-Based Voltage Construction Method for Robust State-of-Health Estimation of Lithium-Ion Batteries. IEEE Trans. Ind. Electron. 2021, 68, 12173–12184. [Google Scholar] [CrossRef] [Scilit]
- Maity, J.; Khanra, M. An improved mathematical model for State of Health estimation of lithium-ion batteries in electric vehicle under fast charging. J. Energy Storage 2025, 114, 115714. [Google Scholar] [CrossRef] [Scilit]
- Su, L.; Zhang, S.; McGaughey, A.J.H.; Reeja-Jayan, B.; Manthiram, A. Battery Charge Curve Prediction via Feature Extraction and Supervised Machine Learning. Adv. Sci. 2023, 10, 2301737. [Google Scholar] [CrossRef] [Scilit]
- Mao, L.; Shentu, B.; Zhao, J.; Wen, J. Online State of Health Estimation for Lithium-Ion Battery Based on Historical Charging Data Assisted Reconstruction of Partial Charging Curve. IEEE Trans. Transp. Electrif. 2025, 11, 6441–6452. [Google Scholar] [CrossRef] [Scilit]
- Tian, J.; Xiong, R.; Shen, W.; Lu, J.; Yang, X. Deep neural network battery charging curve prediction using 30 points collected in 10 min. Joule 2021, 5, 1521–1534. [Google Scholar] [CrossRef] [Scilit]
- Wang, F.; Tang, S.; Han, X.; Yu, C.; Sun, X.; Lu, L.; Ouyang, M. Capacity prediction of lithium-ion batteries with fusing aging information. Energy 2024, 293, 130743. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Gao, Z.; Tian, J.; Li, M.; Pan, T.; Wei, Z.; Zhang, X.; Wang, P. State of health estimation for lithium-ion batteries using attention gated recurrent unit network with partial charging curve reconstruction. J. Energy Storage 2025, 132, 117602. [Google Scholar] [CrossRef] [Scilit]
- Han, Y.; Yan, W.; Yin, M.; Wang, P.; Li, C.; Luo, J.; Wang, C.; Zhang, X. Complete charging-curve prediction and critical states estimation of lithium battery based on improved transformer and partial sampling points. J. Energy Storage 2025, 126, 116936. [Google Scholar] [CrossRef] [Scilit]
- Lin, Y.; Liu, Q.; Chen, Y.; Wang, C.; Wang, J.; Zhao, L. Deep neural network battery charging curve prediction incorporating external information. J. Power Sources 2024, 600, 234189. [Google Scholar] [CrossRef] [Scilit]
- Yang, Y.; Jia, Y. Multivariate charging curve prediction of electric vehicle battery pack via multi-scale features promoted Mamba-Transformer expert. Signal Image Video Process. 2025, 19, 14. [Google Scholar] [CrossRef] [Scilit]
- Zhao, H.; Zhao, W.; Shu, X.; Feng, R.; Hu, B. A multi-fault early warning method for lithium-ion batteries based on incrementally trained informer network. Energy 2026, 358, 141395. [Google Scholar] [CrossRef] [Scilit]
- Yang, S.; Zhang, C.; Jiang, J.; Zhang, W.; Gao, Y.; Zhang, L. A voltage reconstruction model based on partial charging curve for state-of-health estimation of lithium-ion batteries. J. Energy Storage 2021, 35, 102271. [Google Scholar] [CrossRef] [Scilit]
- Bharathraj, S.; Lee, M.; Adiga, S.P.; Mayya, K.S.; Kim, J. Isolation of relaxation times under open-circuit conditions: Toward prognosis of nascent short circuits in Li-ion batteries. iScience 2023, 26, 106636. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Liu, Y.; Ding, L.; Wang, C. Multi-modal interpretable framework for battery SOH estimation based on relaxation voltage under complex operating conditions. J. Energy Storage 2026, 143, 119752. [Google Scholar] [CrossRef] [Scilit]
- Ko, C.; Chen, K. Using tens of seconds of relaxation voltage to estimate open circuit voltage and state of health of lithium ion batteries. Appl. Energy 2024, 357, 122488. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Liu, Y.; Bao, X.; Shen, H. Estimation of battery state of health and open circuit voltage at various depths of discharge based on deep learning and relaxation voltage. Energy 2025, 328, 136555. [Google Scholar] [CrossRef] [Scilit]
- Li, N.; Zhang, H.; Zhong, J.; Miao, Q. SOH Estimation for Battery Energy Storage Systems Based on Multiscale Temporal Convolutional Network and Relaxation Voltage. IEEE Trans. Instrum. Meas. 2025, 74, 3555612. [Google Scholar] [CrossRef] [Scilit]
- Lyu, G.; Zhang, H.; Miao, Q. An adaptive and interpretable SOH estimation method for lithium-ion batteries based-on relaxation voltage cross-scale features and multi-LSTM-RFR2. Energy 2024, 304, 132167. [Google Scholar] [CrossRef] [Scilit]
- Wan, F.; Lin, Y.; Yang, D.; Li, S.; Liu, R.; Zhu, L.; Yin, W.; Chen, W. Prediction of state-of-health and remaining useful life for lithium-ion batteries using short-term relaxation voltage. J. Energy Storage 2025, 129, 117397. [Google Scholar] [CrossRef] [Scilit]
- Lin, C.; Tuo, X.; Wu, L.; Zhang, G.; Lyu, Z.; Zeng, X. Physics-informed machine learning for accurate SOH estimation of lithium-ion batteries considering various temperatures and operating conditions. Energy 2025, 318, 134937. [Google Scholar] [CrossRef] [Scilit]
- Wei, Z.; Wu, M.; Wu, J.; He, Q.; Shen, Z.; Zhao, Y. Relaxation voltage-based dual-stream transfer attention network for state of health estimation of lithium-ion batteries. J. Energy Storage 2026, 145, 119917. [Google Scholar] [CrossRef] [Scilit]
- Wei, L.; Xu, H.; Sun, Y.; Diao, Q.; Tan, X.; Fan, Y.; Liu, H. State of Health Estimation of Lithium-ion Batteries Based on Relaxation Voltage Reconstruction and AM-LSTM Method. IEEE Trans. Transp. Electrif. 2025, 11, 1. [Google Scholar] [CrossRef] [Scilit]
- Feng, X.; Zhang, Y.; Xiong, R.; Tang, A. Estimating battery state of health with 10-min relaxation voltage across various charging states of charge. iEnergy 2023, 2, 308–313. [Google Scholar] [CrossRef] [Scilit]
- Jarraya, I.; Atitallah, S.B.; Alahmed, F.; Abdelkader, M.; Driss, M.; Abdelhadi, F.; Koubaa, A. SOH-KLSTM: A hybrid Kolmogorov-Arnold Network and LSTM model for enhanced Lithium-ion battery Health Monitoring. J. Energy Storage 2025, 122, 116541. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Qin, X.; Chai, M.; Wu, H.; Zhang, F.; Jiang, F.; Wen, C. SOH evaluation and RUL estimation of lithium-ion batteries based on MC-CNN-TimesNet model. Reliab. Eng. Syst. Saf. 2025, 261, 111125. [Google Scholar] [CrossRef] [Scilit]
- Al-Dulaimi, A.A.; Guneser, M.T.; Hameed, A.A. A data-driven approach for diagnosing degradation in lithium-ion batteries using data transformation techniques and a novel deep neural network. Comput. Electr. Eng. 2024, 117, 109313. [Google Scholar] [CrossRef] [Scilit]
- Shu, X.; Shen, J.; Guo, F.; Liu, Y.; Zhang, Y.; Chen, Z.; Zhao, H. Towards real-world battery health intelligence: A review of machine learning advances and challenges in SOH estimation. eTransportation 2025, 26, 100509. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is all you need. arXiv 2017, arXiv:1706.03762. [Google Scholar] [CrossRef] [Scilit]
- Zhu, J.; Wang, Y.; Huang, Y.; Bhushan Gopaluni, R.; Cao, Y.; Heere, M.; Mühlbauer, M.J. Data-driven capacity estimation of commercial lithium-ion batteries from voltage relaxation. Nat. Commun. 2022, 13, 2261. [Google Scholar] [CrossRef] [Scilit]
- Wang, F.; Zhai, Z.; Zhao, Z.; Di, Y.; Chen, X. Physics-informed neural network for lithium-ion battery degradation stable modeling and prognosis. Nat. Commun. 2024, 15, 4332. [Google Scholar] [CrossRef] [Scilit]
- Huang, J.; He, T.; Zhu, W.; Liao, Y.; Zeng, J.; Xu, Q.; Niu, Y. A lithium-ion battery SOH estimation method based on temporal pattern attention mechanism and CNN-LSTM model. Comput. Electr. Eng. 2025, 122, 109930. [Google Scholar] [CrossRef] [Scilit]
- Pang, X.; Yu, P.; Yin, C.; Liu, W.; Zheng, Z. Transformer and bidirectional gated recurrent unit hybrid network with attention mechanisms for lithium-ion battery state-of-health estimation. J. Power Sources 2025, 658, 238370. [Google Scholar] [CrossRef] [Scilit]
- Liu, P.; Wu, Y.; She, C.; Wang, Z.; Zhang, Z. Comparative Study of Incremental Capacity Curve Determination Methods for Lithium-Ion Batteries Considering the Real-World Situation. IEEE Trans. Power Electron. 2022, 37, 12563–12576. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Wang, R.; Li, Q.; Zhou, P.; Li, A.; Cui, P.; Tao, Q.; Shao, Z. Rapid Prediction of Maximum Remaining Capacity in Lithium-Ion Batteries Based on Charging Segment Features and GA_DBO_BPNN. Batteries 2025, 11, 375. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Wang, C. Cycle-Life Characterization of Automotive Lithium-Ion Batteries with LiNiO. J. Electrochem. Soc. 2009, 156, 527–535. [Google Scholar] [CrossRef] [Scilit]
- Tekin, M.; Karamangil, M.I. Development of dual polarization battery model with high accuracy for a lithium-ion battery cell under dynamic driving cycle conditions. Heliyon 2024, 10, e28454. [Google Scholar] [CrossRef] [Scilit]
- Teliz, E.; López-Vázquez, C.; Díaz, V. Degradation study for 18650 NMC batteries at low temperature. Electrochimica Acta 2024, 475, 143540. [Google Scholar] [CrossRef] [Scilit]
- Kirk, T.L.; Please, C.; Chapman, J.S. Physical modelling of the slow voltage relaxation phenomenon in lithium-ion batteries. J. Electrochem. Soc. 2021, 168, 060554. [Google Scholar] [CrossRef] [Scilit]
- Bharathraj, S.; Adiga, S.P.; Mayya, K.S. An exact solution for rest-period voltage relaxation in Li-ion batteries for applications on battery management systems. iScience 2025, 28, 113769. [Google Scholar] [CrossRef] [Scilit]
- Bernardi, D.M.; Go, J.Y. Analysis of pulse and relaxation behavior in lithium-ion batteries. J. Power Sources 2011, 196, 412–427. [Google Scholar] [CrossRef] [Scilit]
- Lei, J.; G’Sell, M.; Rinaldo, A.; Tibshirani, R.J.; Wasserman, L. Distribution-Free Predictive Inference for Regression. J. Am. Stat. Assoc. 2018, 113, 1094–1111. [Google Scholar] [CrossRef] [Scilit]
- Jiang, B.; Zhu, Y.; Zhu, J.; Wei, X.; Dai, H. An adaptive capacity estimation approach for lithium-ion battery using 10-min relaxation voltage within high state of charge range. Energy 2023, 263, 125802. [Google Scholar] [CrossRef] [Scilit]
- Chen, R.; Wang, J.; Feng, X.; Tang, A.; Zhang, Y. Battery state of health estimation using 1-minute post-charge relaxation: Robust to arbitrary cut-off voltages. J. Energy Storage 2026, 161, 121890. [Google Scholar] [CrossRef] [Scilit]
- Fernando, A.; Kuipers, M.; Angenendt, G.; Kairies, K.P.; Dubarry, M. Benchmark dataset for the study of the relaxation of commercial NMC-811 and LFP cells. Cell Rep. Phys. Sci. 2024, 5, 101754. [Google Scholar] [CrossRef] [Scilit]
- Shu, X.; Yang, H.; Chen, Z.; Liu, Y.; Tang, A.; Shen, J. Meta Learning Based State of Health Estimation of Lithium-Ion Batteries with Small Sampling Retraining. IEEE Trans. Ind. Electron. 2026, 73, 2. [Google Scholar] [CrossRef] [Scilit]
- Shu, X.; Yan, H.; Chen, F.; Feng, R.; Zhao, H. Cell-to-pack transfer learning for battery health estimation using domain-adversarial parallel networks. J. Energy Storage 2026, 153, 120930. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.















