Advanced Science - 2023 - Su
Advanced Science - 2023 - Su
Advanced Science - 2023 - Su
www.advancedscience.com
Adv. Sci. 2023, 10, 2301737 2301737 (1 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
used to estimate SOC, and other energy-related states. For exam- 2.2. Feature Extraction
ple, Feng et al. proposed a support vector machine-based algo-
rithm that can use a partial charging segment (15 min charging) Charge curves were selected for this study because the charging
to predict the battery SOH with less than 2% error for 80% of all protocols are more controllable than discharge protocols to pro-
the cases.[16] Zheng et al. proposed an online capacity estimation vide more consistent input in real-world applications. Three com-
method based on a partial charge curve that can be utilized for monly used unsupervised learning algorithms were applied to
battery lifetime prediction.[17] Duan et al. developed a convolu- extract features from the charge curves, which are principal com-
tional neural network to accurately predict the battery impedance ponent analysis (PCA), non-negative matrix factorization (NMF),
spectroscopy based on limited constant-current charging infor- and Autoencoder (AE). PCA and NMF are techniques that can de-
mation (500 mV voltage window).[18] Recently, Tian et al. further compose a matrix Q into two separated matrices W and H, such
applied a deep neural network to predict the complete charge that it can be written as Equation (1),
curve of a battery based on a small portion of the curve, which can
be further used to estimate the SOC and SOH of the battery.[10] ∑
p
Therefore, the charge curve is important for understanding the Qi𝜇 ≈ (WH)i𝜇 = Wia Ha𝜇 (1)
a=1
status of a battery.
The charge curve of a battery depends on the chemistry of where Q is an n × m matrix that contains all the raw data in-
battery electrodes, the charging current, and the health status of formation. W and H have dimensions of n × p and p × m. The
the battery. As the first two parameters are known and measur- hyperparameter p is the number of features. The p columns of W
able in real applications, quantifying the aging mechanisms, i.e., can be interpreted as the features of charge curves, which will be
health status, of the battery is crucial for accurately predicting used to predict the complete charge curves by a supervised learn-
the charge curve. In this study, we compare the ability of human ing model. p is chosen based on the prediction accuracy of the
experts and machine learning algorithms to quantify the aging validation set for all feature extraction algorithms. Each column
mechanisms of batteries. Unsupervised learning algorithms per- of H contains the weights in a one-to-one correspondence with a
form better in capturing features necessary to quantify the battery basis feature in W.[25]
aging mechanisms, which agrees well with existing studies that To obtain the elements of W and H, an optimization problem
show the advantages of machine learning algorithms for feature with the objective function Q − WHF was solved, where · F is the
extraction and selection.[19,20] These features were further used Frobenius norm. The difference between PCA and NMF lay in
as the inputs for predicting the complete charge curves. Different the constraints on the optimization. In PCA, the columns of W
from the previous study that can only take one continuous charge were orthonormal, and the rows of H were orthogonal, such that
curve segment as the input,[10] our developed methodology can a unique solution was guaranteed.[26] In NMF, the elements of
also take multiple separated segments as the input, which will Q, W, and H were constrained to be non-negative. There is no
largely increase the practical applicability of the method. Finally, unique solution because the problem is non-convex.[27] As such,
we demonstrate the applicability of the developed methodology in we employed an initialization scheme called non-negative double
predicting open-source battery charge curves with different bat- singular value decomposition, which rapidly reduces the approx-
tery chemistries. imation error to a value that is lower than that using a random
initialization.[28] PCA and NMF are performed using the Scikit-
Learn package.[29]
2. Experimental Section Autoencoder is an unsupervised learning method that adopts
neural network architectures for the task of feature learning.[30]
2.1. Data Generation The neural network is constructed with a bottleneck layer that
enforces a compressed representation of the input layer, which
Two datasets were used in this study, including a lab-generated has the same dimension as the output layer. The autoencoder
dataset and an open-access dataset. The lab-generated dataset was with a single hidden layer implemented in this work is shown
collected in CR-2032 type coin cells with LiNiO2 as the cathode in Figure S1 (Supporting Information). This autoencoder is sim-
and Li metal as the anode.[21–23] The coin cells were tested at a ilar to NMF in that the hidden layer contains the weight matrix
C/10 rate three times after assembling, followed by cycling at (H) corresponding to the charge curves in the decoder weight ma-
room temperature with a C/2 charge rate and 1C discharge rate. trix (W),[31] and the product of the two matrices approximates the
The C/2 charge curves of these cells were used for this study, and input charge curve matrix. The autoencoder differs from NMF
a total of 10066 charge curves were selected with a minimum that there is no non-negativity constraint on the decoder weight
charge capacity of 160 mA h g−1 . matrix. It can also be easily extended by adding more fully con-
The open-access dataset was also used to evaluate the de- nected layers or other layer types, such as recurrent neural net-
veloped methodology. A total number of 4522 charge curves works and convolutional neural networks.[31] The autoencoders
were taken from the Center for Advanced Life Cycling En- are implemented using the Pytorch package.[32]
gineering (CALCE) dataset (CS2_3, CS2_8, CS2_9, CS2_21,
CS2_33∼CS2_38) provided by the A. James Clark School of En-
gineering at the University of Maryland.[24] The CALCE dataset 2.3. Charge Curve Prediction
was obtained from batteries with LiCoO2 as the cathode material
with trace elements of manganese, which is different from the Figure 1 shows the workflow of this study. The 10066 charge
LiNiO2 cathode tested in our lab. curves of the LiNiO2 cells were randomly divided into a training
Adv. Sci. 2023, 10, 2301737 2301737 (2 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
Figure 1. The workflow for predicting an entire charge curve of a battery based on a portion of the charge curve. Both a continuous segment and multiple
separated segments can be used as the input. The output charge curve can derive many key states (SOC, SOH, and remaining energy) and even the
aging mechanism of the battery using the dQ dV−1 analysis.
set and a testing set with a ratio of 8 : 2, and 20% of the training set charge curve with n points, the cost function can be defined as
was used as the validation set to determine the hyper-parameters Equation (3),
in the models. Five-fold cross-validation was conducted to avoid
( )2
overfitting. Features were extracted from the training dataset us- ( ) ∑n−1
∑
p
( ) ∑
p
| |
ing PCA, NMF, and AE, from which we obtained the matrix W h, Q0 = Q0 + ΔQi − Wj Vi ⋅ hj +𝜆 |hj | (3)
| |
that contains p columns. Each column in matrix W represents a i=0 j=1 j=1
Adv. Sci. 2023, 10, 2301737 2301737 (3 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
Figure 2. Battery charge curves feature extraction and reconstruction. a) The visualization of all the 10066 charge curves. b) Normalized charge curves
and the averaged normalized charge curve calculated by taking the average of the normalized capacities at different voltages. c) Comparison between
three measured charge curves and the corresponding reconstructed charge curves. d) Distribution of the reconstruction error of all the charge curves.
(( ) )2
curve during the charging process. These separated segments ( ) ∑
n−1
dQ ∑
p
( ) ∑
p
| |
can also be used as the input in the model to predict the entire IC hIC = − WIC,j Vi ⋅ hIC,j +𝜆 |hIC,j | (8)
dV i
| |
charge curve. i=0 j=1 j=1
∑
p
( )
Q0,k + Δ Qi,k = Wj Vi,k ⋅ hj + 𝜀i,k (6)
j=1 3. Results and Discussion
All input segments share the same h but have different start- 3.1. Charge Curve Feature Extraction by Experts
ing capacity Q0,k . This implies that the problem becomes m linear
regressions with the same hyperplanes and different intercepts. Figure 2a displays all the charge curves collected in our lab with
We took the derivative of the input segments with respect to volt- LiNiO2 as the cathode material, and the capacity distribution of
age, which generates the incremental capacity (IC) curves or dQ these curves is shown in Figure S2 (Supporting Information).
dV−1 curves. The dQ dV−1 analysis removes the unknown Q0,k Figure 2b shows the normalized charge curves and the aver-
because the analysis is based on the relative change of capacity. aged normalized curve. A normalized charge curve was calcu-
For this approach to work, we need to create another dataset with lated by dividing its capacity by the maximum charge capacity of
dQ dV−1 curves and perform feature extraction to obtain the dQ the curve. And the average normalized curve was calculated by
dV−1 curve matrix WIC . The ith point on the n total points of the taking the average of the normalized capacity for all the normal-
input can then be written as Equation (7), ized curves at different voltages. This averaged normalized curve
is considered an expert-extracted feature, where the maximum
( )
dQ ∑
p
( ) charge capacity can be correlated to the amount of LiNiO2 active
= WIC,j Vi ⋅ hIC,j + 𝜀IC,i (7) materials.
dV i j=1 To quantify the capability of representing the battery degra-
dation using the expert-extracted feature (averaged normalized
where WIC,j is the jth column of WIC . The cost function can be curve in Figure 2b), we compared the difference between the
defined as Equation (8). reconstructed charge curves and three tested charge curves
Adv. Sci. 2023, 10, 2301737 2301737 (4 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
Figure 3. Battery charge curve feature extraction and reconstruction using unsupervised learning algorithms. a) Visual representation of charge curves
matrix decomposition with two components. b,c) Comparison between three measured charge curves and the corresponding reconstructed charge
curves based on PCA-captured features with b) two components and c) ten components. d) Evolution of the reconstruction errors of all the 10066
charge curves with the number of components in the PCA and NMF. The error bar represents the standard deviation of the errors.
(Figure 2c). The three charge curves were selected to be the ones ticles with a length of around 100 nm.[21] The extraction of Li+
with the maximum capacity (curve 3), the minimum capacity from these primary particles and secondary particles is nonuni-
(curve 1), and the median capacity (curve 2). The reconstructed form. The heterogeneity of the Li+ extraction also depends on the
curve 2 matches well with the measured curve, while there are no- SOC and different aging status, making the reconstruction pro-
ticeable differences between the reconstructed and the measured cess of the actual charge curve even more complicated. There-
data for curve 1 and curve 3. Moreover, Figure 2d summarizes the fore, the features that represent other degradation mechanisms
distribution of the reconstruction errors of all the charge curves of LiNiO2 cells need to be considered and extracted to predict the
calculated from Equation (9), health status of batteries.
√
√ n−1
√1 ∑( )2
Error = √ Qmeasured (i) − Qreconstructed (i) (9) 3.2. Charge Curve Feature Extraction by Machine Learning
n i=0
Unsupervised learning algorithms were further applied to extract
where Qmeasured (i) is the actual capacity value at the sampling point features from the charge curves. Figure 3a shows the decompo-
i, Qreconstructed (i) is the reconstructed capacity value at the sampling sition of all the 10066 charge curves (Q) into two components (p
point i, and n is the total number of sampling points. The average = 2) and the corresponding weights using PCA. The mathemati-
error is 4.7 mA h g−1 with a standard deviation of 2.0 mA h g−1 . cal principle of charge curve matrix decomposition can be found
The averaged normalized curve in Figure 2b represents the in Experimental Section. Component 1 has a similar shape as
characteristic voltage profile of LiNiO2 during delithiation, while the expert-extracted feature shown in Figure 2b, indicating that it
the maximum charge capacity is determined by the amount of represents the characteristic voltage profile of LiNiO2 during de-
LiNiO2 active materials. If the loss of active materials is the only lithiation and the corresponding weight 1 represents the amount
degradation mechanism for the capacity fading of LiNiO2 cells, of active materials. Interestingly, component 2 shows a similar
all the charge curves can then be accurately reconstructed us- shape to the dQ dV−1 analysis of the charge curve, where each
ing the extracted feature (the averaged normalized curve) and phase transition corresponds to a peak in the dQ dV−1 curve.[37]
the corresponding parameter (maximum charge capacity). How- As Li+ diffusion kinetics within LiNiO2 cathode particles follows
ever, there are many other degradation mechanisms, such as the same trend of the dQ dV−1 curve,[23] component 2 may rep-
impedance growth and reaction heterogeneity.[35] The impedance resent the kinetic effect of LiNiO2 during de-lithiation, and the
growth leads to an increased voltage polarization, which shifts corresponding weight 2 represents the kinetic contribution to the
the charge curve upward. Moreover, the impedance of a battery overall charge capacity.
is a function of the SOC,[36] complicating the reconstruction pro- The accuracy of the reconstructed charge curve can be im-
cess of the charge curve. Similarly, the LiNiO2 electrode is com- proved by increasing the number of components in the unsu-
posed of many secondary particles with a diameter of around pervised learning algorithms. Figure 3b,c shows the reconstruc-
12 μm, which is further composed of hundreds of primary par- tion of three charge curves based on the two components (p
Adv. Sci. 2023, 10, 2301737 2301737 (5 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
Figure 4. Charge curve prediction based on PCA-extracted features. a) The average prediction error of the charge curves using the features captured by
PCA. The x axis is the ratio between the voltage window of (Vstart − 3.4 V) and the total voltage window (4.4 V − 3.4 V), and the y axis is ratio between
the voltage window of (Vend − Vstart ) and the total voltage window (4.4 V − 3.4 V). The inset shows the average prediction error across different starting
positions with respect to the input length. b) The best and worst prediction results of the first charge curve and the last charge curve. The locations of
the best and worst predictions are marked in (a). c,) The corresponding best and worst predictions of the dQ dV−1 curves of the two charge curves in
(b).
= 2, Figure 3b) and ten components (p = 10, Figure 3c) using 100% of the charge curve was shown to highlight the prediction
PCA. The three charge curves were selected to be the ones with accuracy. The inset shows the average prediction error with differ-
the maximum capacity (curve 3), the minimum capacity (curve ent input lengths, and the error bars represent the standard devi-
1), and the median capacity (curve 2). Compared to Figure 2d, ation of the errors across different starting positions. The result
which is reconstructed based on only one expert-extracted fea- reveals that the model based on PCA-extracted features generally
ture, Figure 3b shows a much more improved reconstruction ac- has a better prediction performance when the input sequence has
curacy for the three curves, especially for curve 1 and curve 3. The a starting position at 10–25%, which may depend on the investi-
three reconstructed curves overlapped with the measured curves gated cathode and anode materials that determine the shape of
when the number of components is increased to ten (Figure 3c). the charge curve. The maximum relative error is 1.8% (4.0 mA h
Figure 3d further shows the average reconstruction error of all g−1 ) with 40% of input length, regardless of the starting position.
the 10066 charge curves with respect to the number of com- The averaged relative error is only 1.3% (2.8 mA h g−1 ) with 40%
ponents using two different unsupervised algorithms (PCA and of input, and it further reduces to less than 1.0% (2.2 mA h g−1 )
NMF), and the standard deviation of the errors is shown by the when the input goes beyond 50%.
error bar. It needs to be noted that the NMF algorithm does not The averaged prediction errors of all the test data (2013 charge
converge when the number of components is one (p = 1), thus it curves) are further plotted in Figure S3 (Supporting Informa-
starts at p = 2. The result suggests that the reconstruction error tion). The large prediction error at the bottom left corner in
decreases with the number of components in both algorithms. Figure S3 (Supporting Information) is caused by the limited
meaningful input information between 3.4–3.6 V, which feeds
a capacity value of zero into the model. In actual battery appli-
3.3. Charge Curve Prediction Based on a Single Input Segment cations, the amount of input data depends on the charge time,
which is directly related to the capacity rather than the voltage.
The PCA algorithm was first applied to extract features from No zero capacity values will be fed into the model, and the poor
training charge curves to be used for predicting the entire charge prediction performance at the bottom left region can be avoided.
curves. Figure 4 suggests that the model based on PCA-extracted Figure S4 (Supporting Information) shows the evolution of the
features can accurately predict the battery charge curve with the averaged prediction error with respect to the input length. The
limited input information. A total number of 13 components (p = averaged prediction error reaches 6.5 mA h g−1 with only 20%
13) was extracted to achieve a reasonable prediction accuracy on of input length, corresponding to 3.0% of the relative error when
the validation set. Figure 4a shows that the prediction accuracy normalized by the maximum specific capacity of 220 mA h g−1 .
depends on the input data, which can be defined by the start- Moreover, the NMF-extracted features and AE-extracted features
ing voltage (viz., starting position) and the voltage window (viz., can also be used for predicting the entire charge curves, and the
length of the input data). A selected input length from 40% to performance of the model is shown in Figures S5 and Figure S6
Adv. Sci. 2023, 10, 2301737 2301737 (6 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
Figure 5. Charge curve prediction based on multiple separated input segments. a) The prediction error of the model based on AE-extracted features.
The x axis is the number of segments, and the y axis is the total length of the input sequence. b,c) Comparison between measured and predicted dQ
dV−1 curves of b) the first cycle (with the maximum charge capacity) and c) the last cycle (80% of the maximum charge capacity). Two different types of
inputs are examined, which are marked in (a). d) The corresponding charge curves calculated from the dQ dV−1 curves in (b) and (c).
(Supporting Information). Both show high prediction accuracy, 3.4. Charge Curve Prediction with Multiple Separated Input
but slightly worse than the performance of the model based on Segments
the PCA-extracted features. Therefore, no further analysis was
conducted on these two models for the single-segment input. The features extracted by the three unsupervised algorithms can
To visualize the performance of the model based on PCA- also predict the entire battery charge curves using multiple sepa-
extracted features, we show in Figure 4b the prediction of the rated input segments. Among the three algorithms, the AE with
charge curves with the largest charge capacity (equivalent to the one hidden layer containing 20 neurons has the best prediction
first cycle) and 80% of the largest charge capacity (equivalent to performance on the validation set. Figure 5 shows the perfor-
the last cycle), where 40% of the charge curve is chosen as the mance of the model using multiple separated input segments
input. As the prediction accuracy depends on the starting posi- based on AE-extracted features, and Figure S7 (Supporting Infor-
tion, the starting positions of the best and worst predictions are mation) displays the performance of the model based on PCA-
marked in Figure 4b, which displays both the best and the worst extracted features and NMF-extracted features. The segments
prediction results of the charge curve in the first and the last cycle. were randomly selected on a charge curve, and the error is av-
The prediction error of the first cycle is 1.83 mA h g−1 (0.83% rel- eraged throughout all the test data. It needs to be noted that the
ative error) and 3.28 mA h g−1 (1.49% relative error) for the best best feature extraction algorithms depend on the shape of the
and worst prediction, respectively. And the prediction error of the charge curve, which is determined by the materials of the two
last cycle is 1.31 mA h g−1 (0.60%) and 2.99 mA h g−1 (1.36%) for electrodes in a battery. Thus, other feature extraction algorithms
the best and worst predictions, respectively. The small prediction may be applied for batteries with different types of electrodes to
errors suggest an outstanding performance of the model based achieve optimal prediction performance.
on the PCA-extracted features. Figure 5a indicates that the prediction error decreases with the
Moreover, the corresponding dQ dV−1 curves derived from the increase in the number of segments and the total input length in
charge curves are shown in Figure 4c,d. The dQ dV−1 curve has the model. The model achieves high prediction accuracy when
been reported to be a versatile tool for diagnosing battery degra- the number of segments is more than 15, even with a small input
dation mechanisms, such as loss of active materials, impedance length. For example, the prediction error can be as low as 4.1 mA
increase, and lithium plating.[38] A good match among these dQ h g−1 (the relative error is 1.9%) with only 10% of input length
dV−1 curves highlights the significance of the prediction method. when the number of segments reaches 20, which corresponds to
Thus, a full charge curve at a constant current is no longer around 12 min of charge data collected at a C/2 rate. It should be
needed to evaluate the health status of batteries, which is time- mentioned that dQ dV−1 curves were predicted first when apply-
consuming to collect and, in certain cases, unrealistic. Instead, ing the multiple separated input segments, which were then used
a partial charge curve is sufficient to construct the full dQ dV−1 to calculate the charge curves by integrating the dQ dV−1 curves
curve for analyzing the degradation mechanisms of batteries us- on voltage. We also examined the performance of the model by
ing the methodology that we developed here. predicting the charge curves directly from the separated charge
Adv. Sci. 2023, 10, 2301737 2301737 (7 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
Figure 6. Applying the methodology to other battery chemistries. a) Charge curves and normalized charge curves of batteries taken from the Center for
the CALCE dataset. b) Distribution of the charge capacity of all the 4522 charge curves. c) Performance of the model based on PCA-extracted features and
a single input segment. The inset shows the average prediction error across different starting positions. d) The best and worst prediction results of the
first charge curve and last charge curve. The corresponding starting positions are marked in (c). e) Performance of the model based on the PCA-extracted
features and multiple separated input segments. f) Prediction results of the first and last charge curves based on only 5% of the input length and 10
segments. The corresponding input condition is marked in (e).
curve segments, but the prediction accuracy is not as good, as ent from the LiNiO2 cathode that we tested in the lab, and
shown in Figure S8 (Supporting Information). thus shows different shapes of the charge curves, as shown in
Figure 5b,c compares the tested and predicted dQ dV−1 curves Figure 6a. The accurate charge curve prediction of these bat-
with the maximum capacity (Figure 5b, first cycle) and 80% of the teries would illustrate the wide applicability of the developed
maximum capacity (Figure 5c, last cycle). Two types of inputs are methodology.
selected for the model: a total input length of 20% with 10 seg- The batteries from the CALCE dataset show a maximum
ments and a total input length of 10% with 20 segments, which charge capacity of ≈1 Ah and a minimum capacity of 0.6 Ah.
are marked in Figure 5a. Increasing the number of segments is Figure 6a displays all the charge curves with the same charg-
more effective in improving the prediction accuracy than increas- ing rate (C/2) and the corresponding normalized charge curves.
ing the input length. For example, Figure 5a shows the prediction Figure 6b shows the charge capacity distribution of the 4522
error of the model with 10% input and 20 segments (4.0 mA h curves. The decrease in the charge capacity could be attributed to
g−1 ) is smaller than that with 20% input and 10 segments (5.1 mA the loss of active materials, growth of the resistance, and other
h g−1 ). Figure 5b,c further shows that the peak positions and in- mechanisms that can hardly be extracted or quantified by hu-
tensities of the dQ dV−1 curves are accurately predicted by the man experts. The three unsupervised learning algorithms (PCA,
model that uses 20 segments and 10% of input length as the NMF, and AE) were applied to extract features to be fed into the
input. By comparison, there is a slight mismatch of peak in- multiple linear regression model for predicting the health status
tensities at 4.15 V (Figure 5b) and 3.65 V (Figure 5c) between of the battery.
the tested curves and the predicted ones with 10 segments and Figure 6c and Figure S9 (Supporting Information) show the
20% of input length as the input. Such a mismatch can lead to performance of the model for predicting the overall charge curve
over- or under-estimation of the total charge capacity, as shown in using one continuous input segment. Overall, the model based
Figure 5d. on the PCA-extracted features outperforms the model based on
the other algorithms-extracted features in the validate set, which
were further used to predict the entire charge curves of the
3.5. Charge Curve Prediction for Different Batteries CALCE battery. Figure 6c suggests that the prediction error de-
pends on the starting position and the length of the input data.
To evaluate the applicability of the methodology developed in A relatively large error appears in the bottom left corner that cor-
this work, we applied the workflow to open-access battery cy- responds to 0–15% of the starting position, which is also shown
cling data.[24] A total number of 4522 charge curves were taken in Figure S10 (Supporting Information) with a full range of the
from the CALCE dataset. The CALCE dataset was tested from input length from 1% to 100%. This large error is caused by the
batteries with LiCoO2 as the cathode material, which is differ- sharp voltage increase between 3.5 and 3.7 V (Figure 6a). As the
Adv. Sci. 2023, 10, 2301737 2301737 (8 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
input length was defined by the voltage range rather than the 3.6. Moving forward to the Real-World Applications
charge capacity, the starting position at around 3.5 V would lead
to much less meaningful input information compared to that The proposed methodology for predicting battery cycle life in-
started at a higher voltage. To account for this drastic increase cludes two steps: feature extraction and multiple linear regres-
in the voltage region, we avoid this specific region when calculat- sion. Different from the previous literature that treats the data-
ing the average prediction error with respect to the input length, driven method as a “black box”,[8] the feature extraction step cap-
as shown in the inset of Figure 6c. The average prediction error is tures important information about the battery system that re-
less than 0.01 Ah when the input length goes beyond 50%, which flects the degradation mechanisms, such as loss of active mate-
corresponds to a relative error of < 1.0% after being normalized rials, impedance growth, and increase of reaction heterogeneity.
by the maximum capacity of 1 Ah. Moreover, the linear regression step provides the parameters that
Figure 6d displays the prediction of the charge curves with the can be used to predict the health status of the battery, including
largest charge capacity (first cycle) and 80% of the largest charge remaining useful life, SOC, and an entire charge curve. There-
capacity (last cycle). 50% of the charge curve was chosen as the in- fore, the developed methodology has wide application in under-
put, and two different starting positions were selected as marked standing aging mechanisms, predicting health status, and pro-
in Figure 6c to represent the best and worst performances of viding advice to customers to optimize the application of batter-
the model. The good agreement between the prediction curves ies in their devices. However, there are some gaps between this
and the tested curves indicates the outstanding performance of study and the real-world applications of the method in a BMS,
the model. Moreover, the corresponding dQ dV−1 curves derived which warrants further investigation.
from the charge curves also match well between the prediction First, the charge curves in the study were collected at a constant
and the test data (Figure S11, Supporting Information), includ- C-rate (C/2) and at room temperature. But the current and tem-
ing the positions and intensities of all the peaks. perature vary in real-world battery applications. Collecting and
Figure 6e shows the performance of the model with multiple selecting the appropriate information to be used as the input will
separated input segments based on the PCA-extracted features. be an important step to improve the robustness of the model. An
The results show that the prediction accuracy increases with the alternative solution is to develop a more robust model that can
increase in the number of segments and the input length. When take all the information (current, temperature, voltage, capacity,
the number of segments is more than 10, the prediction error is etc.) as the inputs, and neural networks could be a candidate for
close to 0.02 Ah (relative error is 2.0%) with only 5% of the input solving the problem.
length. Figure 6f displays the performance of the model to predict Second, batteries with different types of chemistries (cathodes
the charge curves in the first and the last cycle with 5% of the total and anodes) have been widely used, which leads to different
input length and 10 separated segments. Figure S12 (Supporting shapes of cycling curves. Although we examined two different
Information) further displays the corresponding dQ dV−1 curves batteries and demonstrated the applicability of the methodology
derived from the charge curves. The almost perfect overlap be- in both cases, further evaluation of the model in other battery
tween the predicted curves and the tested curves in both Figure 6f systems is needed. Moreover, the optimal feature extraction algo-
and Figure S12 (Supporting Information) highlights the signifi- rithms may differ from one battery system to another. More al-
cance of the prediction method to diagnose the health status of gorithms should be examined to obtain the model with the best
batteries. prediction performance for a specific battery system.
Last, we investigated the effect of data size and the capability Moreover, it is worth noting that dQ dV−1 curves are gener-
of the model in predicting the maximum capacity (SOH). To eval- ally plotted at low rates (C/10 or below) to investigate the ther-
uate the effect of data size on the performance of the developed modynamical aspects of the battery. The accuracy of the dQ dV−1
methodology, we randomly selected 3000, 1500, and 500 charge analysis also depends on the quality of the measurement data.[38]
curves from the CALCE dataset (4522 in total). Figure S13 (Sup- For example, it is important to ensure environmental consistency
porting Information) compares the prediction accuracy of the during the test (temperatures and contacts), and the sampling
model with different sizes of training datasets when a single seg- rate should be reasonable to ensure enough data points for anal-
ment is used as the input. The result suggests that the size of the ysis and avoid large data files. Best practices for testing have been
dataset has a negligible effect on the performance of the model. introduced in the literature.[39] In our study, the charging rate
It can still accurately predict the entire charge curve even if only was C/2 for the batteries. The prediction accuracy of the dQ dV−1
500 charge curves are used. Figure S14 (Supporting Information) curves is expected to increase with a slower charging rate, which
further indicates that the size of the dataset has little effect on the warrants further investigation.
performance of the model when multiple segments are used as Finally, correlating the algorithms-extracted features with the
the input. These results highlight the robustness of the devel- degradation mechanisms of a battery is an important step to
oped approach in predicting the entire charge curve, which will deepen our understanding of the system. As a battery is a com-
be encouraging for practical applications where a limited dataset plex nonlinear system, the evolution of the electrodes (cathode
is available. Moreover, Figure S15 (Supporting Information) dis- and anode), electrolytes, and the interface between them could
plays a parity plot of the maximum capacity. A single segment lead to a change in the capacity and resistance, which will be
with 40% of the charge curve is used as the input to showcase reflected in the cycling curve. Uncovering the battery degrada-
the capability of SOH prediction. A less than 1% train and test tion mechanisms and quantifying their effect on the shape of the
error indicate the high accuracy of the developed methodology in charge curve could help build physics-informed models to reach
predicting battery SOH. an optimal prediction of battery performance.
Adv. Sci. 2023, 10, 2301737 2301737 (9 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH
21983844, 2023, 26, Downloaded from https://onlinelibrary.wiley.com/doi/10.1002/advs.202301737 by CAPES, Wiley Online Library on [28/09/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.advancedsciencenews.com www.advancedscience.com
4. Conclusion [5] J. Zhang, L. Su, Z. Li, Y. Sun, N. Wu, Batteries 2016, 2, 12.
[6] M. Nizam, H. Maghfiroh, R. A. Rosadi, K. D. Kusumaputri, AIP Conf.
Data-driven methods have a superior ability to capture features in Proc. 2020, 2217, 030157.
cycling curves. The features can be correlated to the aging mech- [7] J. Huang, S. T. Boles, J.-M. Tarascon, Nat. Sustain. 2022, 5, 194.
anism of batteries, such as loss of active materials and growth [8] Y. Li, K. Liu, A. M. Foley, A. Zülke, M. Berecibar, E. Nanini-Maury,
of resistance. Moreover, these features can be combined with a J. Van Mierlo, H. E. Hoster, Renewable Sustainable Energy Rev. 2019,
multiple linear regression model to predict a complete cycling 113, 109254.
[9] A. Farmann, W. Waag, A. Marongiu, D. U. Sauer, J. Power Sources
curve based on a limited portion of it. We demonstrate that a
2015, 281, 114.
single continuous segment and multiple separated segments can [10] J. Tian, R. Xiong, W. Shen, J. Lu, X.-G. Yang, Joule 2021, 5, 1521.
be used as the input to predict the complete cycling curve. The [11] Z. Liu, Z. Li, J. Zhang, L. Su, H. Ge, Energies 2019, 12, 757.
model achieves a 2% prediction error of an entire charge curve [12] X.-G. Yang, Y. Leng, G. Zhang, S. Ge, C.-Y. Wang, J. Power Sources
using only 10% of the curve as the input for the LiNiO2 -based bat- 2017, 360, 28.
teries and achieves the same accuracy with only 5% of the curve [13] L. Lu, X. Han, J. Li, J. Hua, M. Ouyang, J. Power Sources 2013, 226,
as the input for the LiCoO2 -based batteries. The complete charge 272.
curve can be used to evaluate the health status of batteries, which [14] K. A. Severson, P. M. Attia, N. Jin, N. Perkins, B. Jiang, Z. Yang, M.
can not only guide the use of batteries but prevent accidents and H. Chen, M. Aykol, P. K. Herring, D. Fraggedakis, M. Z. Bazant, S. J.
malfunctions. Harris, W. C. Chueh, R. D. Braatz, Nat. Energy 2019, 4, 383.
[15] Y. Zhang, Q. Tang, Y. Zhang, J. Wang, U. Stimming, A. A. Lee, Nat.
Commun. 2020, 11.
[16] X. Feng, C. Weng, X. He, X. Han, L. Lu, D. Ren, M. Ouyang, IEEE Trans.
Supporting Information Veh. Technol. 2019, 68, 8583.
[17] Y. Zheng, C. Qin, X. Lai, X. Han, Y. Xie, Appl. Energy 2019, 251, 113327.
Supporting Information is available from the Wiley Online Library or from
[18] Y. Duan, J. Tian, J. Lu, C. Wang, W. Shen, R. Xiong, Energy Storage
the author.
Mater. 2021, 41, 24.
[19] L. Su, M. Wu, Z. Li, J. Zhang, eTransportation 2021, 10, 100137.
[20] Y. Liu, J.-M. Wu, M. Avdeev, S. Q. Shi, Adv. Theory Simul. 2020, 3,
Acknowledgements 1900215.
[21] L. Su, E. Jo, A. Manthiram, ACS Energy Lett. 2022, 7, 2165.
This work was supported by the Assistant Secretary for Energy Efficiency
[22] L. Su, X. Zhao, M. Yi, H. Charalambous, H. Celio, Y. Liu, A.
and Renewable Energy, Office of Vehicle Technologies of the U.S. Depart-
Manthiram, Adv. Energy Mater. 2022, 12, 2201911.
ment of Energy through the Advanced Battery Materials Research (BMR)
[23] L. Su, K. Jarvis, H. Charalambous, A. Dolocan, A. Manthiram, Adv.
Program (Battery500 Consortium) award number DE-EE0007762. B.R.J.
acknowledges support from the National Science Foundation (NSF) CA- Funct. Mater. 2023, 33, 2213675.
REER Award (CMMI1751605). [24] Open Source Battery Research Data, https://calce.umd.edu/
data#INR.
[25] D. D. Lee, H. S. Seung, Nature 1999, 401, 788.
[26] J. C. Liao, R. Boscolo, Y. Yang, L. M. Tran, C. Sabatti, V. P.
Conflict of Interest Roychowdhury, Proceedings of the National Academy of Sciences –
PNAS 2003, 100, 15522.
The corresponding author (A. M.) is a co-founder of TexPower, Inc., a start-
[27] K. Huang, N. D. Sidiropoulos, A. Swami, IEEE Trans. Acoust., Speech,
up company focusing on cobalt-free cathode materials for lithium-based
batteries. Signal Process. 2013, 62, 211.
[28] C. Boutsidis, E. Gallopoulos, Pattern Recognit 2008, 41, 1350.
[29] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O.
Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, the Journal
Data Availability Statement of machine Learning research 2011, 12, 2825.
[30] I. Goodfellow, Y. Bengio, A. Courville, Deep learning, MIT press, Cam-
The data that support the findings of this study are available from the cor-
bridge, Massachusetts 2016.
responding author upon reasonable request.
[31] P. Smaragdis, S. Venkataramani, In 2017 IEEE International Confer-
ence on Acoustics, Speech and Signal Processing (ICASSP) 2017, 86–
90.
Keywords [32] A. Paszke, S. Gross, S. Chintala, G. Chanan, E. Yang, Z. DeVito, Z.
Lin, A. Desmaison, L. Antiga, A. Lerer, Automatic differentiation in
batteries, charge curves, feature extraction, prediction, machine learning
pytorch 2017.
[33] R. Tibshirani, J R Stat Soc Series B Stat Methodol 1996, 58, 267.
Received: March 16, 2023 [34] S. R. Cikanek, K. E. Bailey, Proceedings of the 2002 American Control
Revised: May 31, 2023 Conference (IEEE Cat. No. CH37301) 2002, 4, 3129–3134.
Published online: July 2, 2023 [35] L. Su, J. L. Weaver, M. Groenenboom, N. Nakamura, E. Rus, P. Anand,
S. K. Jha, J. S. Okasinski, J. A. Dura, B. Reeja-Jayan, ACS Appl. Mater.
Interfaces 2021, 13, 9919.
[36] L. Su, J. Zhang, J. Huang, H. Ge, Z. Li, F. Xie, B. Y. Liaw, J. Power
[1] A. Manthiram, Nat. Commun. 2020, 11, 1550. Sources 2016, 315, 35.
[2] Q. Wang, B. Liu, Y. Shen, J. Wu, Z. Zhao, C. Zhong, W. Hu, Adv. Sci. [37] L. de Biasi, A. Schiele, M. Roca Ayats, G. Garcia, T. Brezesinski, P.
2021, 8, 2101111. Hartmann, J. Janek, ChemSusChem 2019, 12, 2240.
[3] H. Yaghoobnejad Asl, A. Manthiram, Nat. Sustain. 2021, 4, 379. [38] M. Dubarry, D. Anseán, Front. Energy Res. 2022, 10.
[4] T. Model, M. Reichweite, Tesla Model 3, Access October 28, 2022. [39] M. Dubarry, G. Baure, Electronics 2020, 9, 152.
Adv. Sci. 2023, 10, 2301737 2301737 (10 of 10) © 2023 The Authors. Advanced Science published by Wiley-VCH GmbH