A Review of Lithium-Ion Battery Capacity Estimation Methods for Onboard Battery Management Systems: Recent Progress and Perspectives

: With the widespread use of Lithium-ion (Li-ion) batteries in Electric Vehicles (EVs), Hybrid EVs and Renewable Energy Systems (RESs), much attention has been given to Battery Management System (BMSs). By monitoring the terminal voltage, current and temperature, BMS can evaluate the status of the Li-ion batteries and manage the operation of cells in a battery pack, which is fundamental for the high efﬁciency operation of EVs and smart grids. Battery capacity estimation is one of the key functions in the BMS, and battery capacity indicates the maximum storage capability of a battery which is essential for the battery State-of-Charge (SOC) estimation and lifespan management. This paper mainly focusses on a review of capacity estimation methods for BMS in EVs and RES and provides practical and feasible advice for capacity estimation with onboard BMSs. In this work, the mechanisms of Li-ion batteries capacity degradation are analyzed ﬁrst, and then the recent processes for capacity estimation in BMSs are reviewed, including the direct measurement method, analysis-based method, SOC-based method and data-driven method. After a comprehensive review and comparison, the future prospective of onboard capacity estimation is also discussed. This paper aims to help design and choose a suitable capacity estimation method for BMS application, which can beneﬁt the lifespan management of Li-ion batteries in EVs and RESs.


Introduction
On the background of energy crisis and global warming, applications such as renewable energy systems and new energy vehicles (Electric Vehicles (EVs) and Hybrid EVs) have become a necessary way of saving energy and decreasing carbon emission [1,2].As the key component in the power supply of the EVs and Renewable Energy Systems(RESs) [3][4][5], the energy management of the battery pack directly affects its performance in various operation conditions [6,7].Due to its high energy density, long service life, no memory effect, etc. [8,9], the Lithium-ion (Li-ion) battery has become a first choice for EVs and RESs [10].For example, lithium iron phosphate (LFP) has a 90~140 Wh/kg energy density and up to 2000 life cycles, which usually consists of LiFePO 4 cathode and graphite anode.In addition, Li-ion battery chemistries also include lithium Nickel Manganese Cobalt oxide (NMC) and lithium Nickel Cobalt Aluminum oxide (NCA) with a higher energy density (140~250 Wh/kg) [11].Recently, battery manufacturers have also developed new products with relatively superior performance, such as the blade battery (LFP) from BYD which has good thermal safety characteristics through nail penetration tests [12].Thanks to its excellent properties, the scope of Li-ion batteries has also expanded to various areas like robots, Automated Guided Vehicles (AGVs) and consumer electronics.Especially, with the concept of low carbon, Li-ion batteries will play an important role in the future.According to Research and Markets research data in Statista [13], the global lithium-ion battery scales to about 185 GWh in 2020, and the market is expected to grow to 950 GWh in 2026 as shown in Figure 1.
Batteries 2022, 8, x FOR PEER REVIEW 2 of 28 to its excellent properties, the scope of Li-ion batteries has also expanded to various areas like robots, Automated Guided Vehicles (AGVs) and consumer electronics.Especially, with the concept of low carbon, Li-ion batteries will play an important role in the future.
According to Research and Markets research data in Statista [13], the global lithium-ion battery scales to about 185 GWh in 2020, and the market is expected to grow to 950 GWh in 2026 as shown in Figure 1.A typical structure of the Battery Energy Storage System (BESS) is illustrated in Figure 2, which mainly includes battery cells, Battery Management System (BMS), Power Conversion System (PCS), etc.Among all the components, BMS is responsible for the safety operation of the cells in the BESS.The functions of BMS include state estimation, voltage/temperature monitoring and fault diagnosis and warning.One key parameter here is the battery capacity representing the maximum Ah throughput at present.In essence, the battery capacity is the number and energy of the electrons inside the electrodes [14,15].One consensus is that the Li-ion battery capacity will fade with battery degradation, which could be influenced by numerous external factors in operation conditions.Although the degradation of Li-ion battery can be briefly divided into two modes: Loss of Active Materials in electrodes (LAM), and Loss of Lithium Inventory (LLI), it is difficult to distinguish the aging modes in reality.However, the capacity of an Li-ion battery is critical for the energy management decision marking of BMS.For example, the battery State of Charge (SOC) represents current energy left, which is a ratio of the present Ah amount to its capacity [16].It is impossible to obtain an accurate SOC without knowing the battery capacity.Once a precise SOC is received, BMS can choose when to charge or discharge each cell.In order to avoid the overuse of the Li-ion battery, its capacity should also be clearly defined.Otherwise, safety hazards, such as failure and thermal runaway [17,18], may exist when the Li-ion battery reaches its End-Of-Life (EOL) [19].Capacity is also a fundamental index for the secondary use of the Li-ion battery [20,21].In general, the battery capacity is especially important for the lifespan management of the cells by BMS [22,23].A typical structure of the Battery Energy Storage System (BESS) is illustrated in Figure 2, which mainly includes battery cells, Battery Management System (BMS), Power Conversion System (PCS), etc.Among all the components, BMS is responsible for the safety operation of the cells in the BESS.The functions of BMS include state estimation, voltage/temperature monitoring and fault diagnosis and warning.One key parameter here is the battery capacity representing the maximum Ah throughput at present.In essence, the battery capacity is the number and energy of the electrons inside the electrodes [14,15].One consensus is that the Li-ion battery capacity will fade with battery degradation, which could be influenced by numerous external factors in operation conditions.Although the degradation of Li-ion battery can be briefly divided into two modes: Loss of Active Materials in electrodes (LAM), and Loss of Lithium Inventory (LLI), it is difficult to distinguish the aging modes in reality.However, the capacity of an Li-ion battery is critical for the energy management decision marking of BMS.For example, the battery State of Charge (SOC) represents current energy left, which is a ratio of the present Ah amount to its capacity [16].It is impossible to obtain an accurate SOC without knowing the battery capacity.Once a precise SOC is received, BMS can choose when to charge or discharge each cell.In order to avoid the overuse of the Li-ion battery, its capacity should also be clearly defined.Otherwise, safety hazards, such as failure and thermal runaway [17,18], may exist when the Li-ion battery reaches its End-Of-Life (EOL) [19].Capacity is also a fundamental index for the secondary use of the Li-ion battery [20,21].In general, the battery capacity is especially important for the lifespan management of the cells by BMS [22,23].Battery capacity is usually regarded as the indicator of its lifespan, and it is believed to reach its EOL once the battery capacity reaches 80% of its initial value [24].An accurate capacity can improve the accuracy of SOC estimation, thus enabling the users to perform Battery capacity is usually regarded as the indicator of its lifespan, and it is believed to reach its EOL once the battery capacity reaches 80% of its initial value [24].An accurate capacity can improve the accuracy of SOC estimation, thus enabling the users to perform charging operations and battery maintenance prompt.A slightly changed capacity will gradual deteriorate the battery's electrical and thermal characteristics and further lead to other severe safety issues [25].However, a series of barriers hinder an accurately measurement of the Li-ion battery's capacity.One primary fact is the capacity of Liion battery is related to current rate and temperature [26,27] considering the effect of electrode kinetics.Then, it is easy to understand that the Li-ion battery's capacity greatly influences the working conditions of the battery pack, which increase the difficulties of obtaining an accurate battery capacity.Another critical factor is the limitation from BMS, the computing power of the microprocessor is limited due to the cost [28].It can be deduced that onboard implementable battery capacity estimation algorithms are still needed for most EV applications [29,30].One expectation is that the fast development of Internet-of-Things (IoT) and artificial intelligence can improve the capacity estimation techniques for BMS [31,32].
Great efforts have been made to obtain an accurate battery capacity in the literature, as shown in Figure 3.The points shown in the graph are the phrases that appear more than 20 times.The results of the high-frequency word analysis show a strong correlation between the battery capacity and the EVs.After analyzing the results, battery capacity is often used as an additional result for SOC estimation, or as a representation of energy and working efficiency.With the current market expansion and safety requirements, the battery capacity has become extremely important for battery health.From the analysis rules that brighter the node color means a more recent research period, the study of battery capacity has totally become a hot area with the keywords related to battery health all existing in brighter color.In the past, most works related to BMS focused on battery SOC [33,34].With the wide application of EVs and RESs, the battery State-Of-Health (SOH), capacity, safety and Remaining Useful Life (RUL) are becoming the points of discussion.We have to mention that more than 500 articles have been investigated from 2016 to 2021; all related to battery capacity.
However, we also realized that there is a limited number of reviews on capacity estimation, especially for online implementable capacity estimation in BMS.Ref. [35] covers almost all the battery states including SOH, SOC, State-Of-Power (SOP), State-Of-Energy (SOE), etc., and selects the current research hotspots for discussion and evaluation.It is oriented towards the BMS and summaries the features of various states, but the capacity estimation methods are not well addressed.Refs.[30,36] provide a discussion of the classification of existing capacity estimation methods.Although the principles for the classification are different, they both discuss, in detail, the research methods, but [36] is more focused on the model-based method for Li-ion battery SOH estimation, and [30] published in 2015 has not covered any discussions about machine learning based methods.Most of the existing reviews on battery capacity estimation focus on the generalization of existing methods and do not distinguish between their application conditions or scenarios.The current booming market of EVs also requires the practicality of onboard BMS.It is found that there is a lack of a summary of the existing knowledge for onboard capacity estimation.Therefore, this work overviews and compares the current battery capacity estimation methods suitable for onboard BMS.The characteristics of various capacity estimation are reviewed and discussed in this paper.However, we also realized that there is a limited number of reviews on capacity estimation, especially for online implementable capacity estimation in BMS.Ref. [35] covers almost all the battery states including SOH, SOC, State-Of-Power (SOP), State-Of-Energy (SOE), etc., and selects the current research hotspots for discussion and evaluation.It is oriented towards the BMS and summaries the features of various states, but the capacity estimation methods are not well addressed.Ref. [30,36] provide a discussion of the classification of existing capacity estimation methods.Although the principles for the classification are different, they both discuss, in detail, the research methods, but [36] is more focused on the model-based method for Li-ion battery SOH estimation, and [30] published in 2015 has not covered any discussions about machine learning based methods.Most of the existing reviews on battery capacity estimation focus on the generalization of existing methods and do not distinguish between their application conditions or scenarios.The current booming market of EVs also requires the practicality of onboard BMS.It is found that there is a lack of a summary of the existing knowledge for onboard capacity estimation.Therefore, this work overviews and compares the current battery capacity estimation methods suitable for onboard BMS.The characteristics of various capacity estimation are reviewed and discussed in this paper.
The rest of this paper will be structured as follows: Section 2 briefly analyzes the battery degradation mechanisms.Section 3 reviews the existing methods for onboard battery capacity estimation.Discussion and perspectives are expressed in Section 4. Section 5 is the conclusion of this work.The rest of this paper will be structured as follows: Section 2 briefly analyzes the battery degradation mechanisms.Section 3 reviews the existing methods for onboard battery capacity estimation.Discussion and perspectives are expressed in Section 4. Section 5 is the conclusion of this work.

Li-Ion Battery Degradation Mechanism Analysis
An Li-ion battery mainly contains the lithium metal oxide as the cathode, and graphite as the anode material at present.A separator exists between the two electrodes for insulation, which only allows the pass of Li-ions, and the electrons can only exchange through external circuits.Additionally, an electrolyte is also needed to assist the transfer of Li-ion.Thus, it is clear that the Li-ions exchange from the electrodes during battery charging and discharging [37].For EVs, the reduction of the battery capacity results in less energy available, which directly reflects the performance degradation of the battery pack.The capacity loss of the battery is a non-linear process containing complex aging mechanism.However, the aging mechanism of batteries cannot be precisely described, especially for the decay rules of cycle life.To conveniently analyze the battery degradation, recent research usually divides the battery aging into two main forms: calendar aging and cycling aging [38][39][40][41].
Calendar aging refers to the capacity loss during storage, which is mainly influenced by high temperature and SOC [42][43][44].Five aging cases are set in [43] for the calendar aging of 15 Li-ion batteries for a period between 24 and 36 months.The test results clearly prove there is a non-linear battery degradation during calendar aging, and the fading rate of the Li-ion battery is accelerated by increased storage temperature and SOC.Among all the influencing factors, high storage temperature is believed to be the most critical factor for battery calendar degradation [45,46].LLI is the main reason for calendar aging with high temperature [15].However, cycling aging is always accompanied by calendar aging in an actual application, which makes it complicated to clarify the degradation procedure.Cycling aging is the main reason for battery aging in BESS; Belt et al. [47] have tested 107 commercial cells and the results show that the charge-depleting by cycling aging is far more than the calendar one.Cycling aging is closely related to the charging and discharging process of Li-ion batteries.Chemical reactions are essential for the process of Li-ion movement between the electrodes [48].Thus, the investigation of battery cycling aging needs to consider the current rate, Depth of Discharge (DoD) and SOC, etc. [49].During cycling aging, the distribution of the current density, SOC and temperature is not consistent inside the cell as illustrated in [50].The inhomogeneities of distribution in the cathode material will further induce mechanical force to fatigue the electrodes, and thus accelerate the battery cycling degradation.
It is clear that the Li-ion battery degradation is the coupling of multiple factors, as shown in Figure 4.The degradation modes of Li-ion battery are also LAM and LLI as previously described [51].The thickening of a Solid Electrolyte Interface (SEI) and lithium plating in the graphite anode will both consume the lithium inventory, and thus results in the LLI of an Li-ion battery.No chemical reaction is ideal without any losses and generates some extra products.Thus, the reactions during cycling and storage cause the LAM of both cathode and anode.Both LAM and LLI are observed by the incremental capacity and differential voltage curves in LFP, LMO (Lithium Manganese Oxide) and LTO (Lithium Titanium Oxide) batteries according to the results in [52].Inappropriate temperature ranges, overcharging or discharging, and high SOC (>80%) are the external factors which can speed up the battery aging process [53][54][55].Complicated degradation behaviors of the battery make it difficult to clarify all the details in theory.Here, we also illustrate the degradation measurement results of two commercial Liion batteries under calendar aging and cycling aging in Figure 5.With a higher storage temperature, the capacity of a battery in T = 45 • C decreases faster than 30 • C. It is also clear that the Li-ion battery charged with a larger current (2.7 C) degrades faster than with a lower charging C-rate (1.3 C).A Neware battery tester is used to cycle the battery, more details about the cycling aging setting can refer to [56].
Here, we also illustrate the degradation measurement results of two commercial Liion batteries under calendar aging and cycling aging in Figure 5.With a higher storage temperature, the capacity of a battery in T = 45 °C decreases faster than 30 °C.It is also clear that the Li-ion battery charged with a larger current (2.7 C) degrades faster than with a lower charging C-rate (1.3 C).A Neware battery tester is used to cycle the battery, more details about the cycling aging setting can refer to [56].

Review of Capacity Estimation Methods
Considering the complexity of battery degradation, it is still challenging for the BMS to accurately predict the battery capacity onboard.Thus, researchers have made significant efforts to solve this problem.This section will brief introduces the battery capacity estimation methods in the literature.We mainly divide the methods into direct

Review of Capacity Estimation Methods
Considering the complexity of battery degradation, it is still challenging for the BMS to accurately predict the battery capacity onboard.Thus, researchers have made significant efforts to solve this problem.This section will brief introduces the battery capacity estimation methods in the literature.We mainly divide the methods into direct measurement methods, analysis-based methods, SOC-based methods and data-driven methods, whose principle and current processes will be detailed in the following subsection.

A. Direct Measurement Method
The most straightforward way to receive the battery capacity is to accumulate the charge during its cycling period [57].Direct measurement methods need a full charge or discharge of the battery under a specific condition.Current various standards from International Electrotechnical Commission (IEC) [58], International Organization for Standardization (ISO) [59] and Institute of Electrical and Electronics Engineers Standards Association (IEEE-SA) [60] have been proposed for testing the Li-ion battery capacity in a standard condition.For example, ref. [58] defines a 1/3 I t constant discharging current for EV and 1 I t discharging current for HEV, for the purpose of measuring the battery capacity.As for the capacity measurement in [59], 1 C current is recommended for discharging the high power battery and C/3 is used for measuring high energy battery.It is not difficult to realize that the measured battery capacity may not be the same for different C-rates and temperature settings in those standards.In addition, the test procedure is rather strict compared with the working environment of the battery pack in a real application.[58] needs the battery soaked at a predefined temperature for at least 12 h to ensure thermal stabilization, which requires the cell temperature changes lower than 1 • C in 1 h time interval.The current and voltage measurement accuracy should be less than +/− 1%, and the time is measured less than +/− 0.1% in [59].Thus, it is not practical to always meet the above requirements in a battery application, which limits these test methods to laboratory tests as references.
Another concern is that in reality, the BESS cannot always fully charge or discharge in various load conditions.Direct measurement methods cannot give a result if the battery is partially charged or discharged, which often happens in real cases.To clarify this point, an SOC profile of BESS for primary frequency regulation lasting one week [31] is shown below in Figure 6.Mostly, the SOC of the BESS varies within 40-60%, which confirms the unrealistic implement of direct measurement methods in a real application.It is noted that fully charging or discharging the battery is also quiet time-consuming [61].
compared with the working environment of the battery pack in a real application.[58] needs the battery soaked at a predefined temperature for at least 12 h to ensure thermal stabilization, which requires the cell temperature changes lower than 1 °C in 1 h time interval.The current and voltage measurement accuracy should be less than +/− 1%, and the time is measured less than +/− 0.1% in [59].Thus, it is not practical to always meet the above requirements in a battery application, which limits these test methods to laboratory tests as references.
Another concern is that in reality, the BESS cannot always fully charge or discharge in various load conditions.Direct measurement methods cannot give a result if the battery is partially charged or discharged, which often happens in real cases.To clarify this point, an SOC profile of BESS for primary frequency regulation lasting one week [31] is shown below in Figure 6.Mostly, the SOC of the BESS varies within 40-60%, which confirms the unrealistic implement of direct measurement methods in a real application.It is noted that fully charging or discharging the battery is also quiet time-consuming [61].For convenience, an option is to measure the internal resistance to reflect the battery capacity.The battery internal resistance can be directly measured by applying a current pulse to the battery [62] as shown in Figure 7. Usually, the current pulse lasts a few seconds, and then the internal resistance can be calculated by the following Equation, For convenience, an option is to measure the internal resistance to reflect the battery capacity.The battery internal resistance can be directly measured by applying a current pulse to the battery [62] as shown in Figure 7. Usually, the current pulse lasts a few seconds, and then the internal resistance can be calculated by the following Equation, Batteries 2022, 8, x FOR PEER REVIEW 8 of 28 Unfortunately, the internal resistance is more related to the power fade of the battery, which does not always exhibit a linear relationship with capacity fade.The capacity degradation is related to lithium corrosion at the anode, while the power fade is related to SEI growth and LAM [63].Moreover, the internal resistance measurement is also affected by C-rate, temperature and SOC, and the internal resistance is quite small in the milliohm range [43,64,65].Thus, some uncertainties may exist if only internal resistance is used for calculation.Direct measurement methods are strictly performed by charging and discharging of the battery in laboratories.As for onboard BMS implementation, the practical application requires estimation methods that can be done with limited complexity.
Therefore, more advanced methods are needed to estimate the battery capacity by processing the current, voltage, temperature and mechanical stress.Those existing methods include analysis-based methods, SOC-based methods and data-driven methods, which will be introduced in the following subsections.

B. Analysis-Based Methods
For indirect methods, the voltage, current and temperature can be recorded by sensors, and then used to estimate the capacity.In this work, we mainly introduce five kinds of analysis-based methods with IC (Incremental curve) curve, DV (Differential voltage) curve, DT (Differential thermal) curve, mechanical stress and Electrochemical Impedance Spectroscopy (EIS) as shown Figure 8.At present, more attention is paid to the Li-ion battery capacity.The capacity, which limits the available energy, is the key indicator for State-Of-Health (SOH), which is defined as the ratio of current maximum capacity to its initial Unfortunately, the internal resistance is more related to the power fade of the battery, which does not always exhibit a linear relationship with capacity fade.The capacity degradation is related to lithium corrosion at the anode, while the power fade is related to SEI growth and LAM [63].Moreover, the internal resistance measurement is also affected by C-rate, temperature and SOC, and the internal resistance is quite small in the milliohm range [43,64,65].Thus, some uncertainties may exist if only internal resistance is used for calculation.Direct measurement methods are strictly performed by charging and discharging of the battery in laboratories.As for onboard BMS implementation, the practical application requires estimation methods that can be done with limited complexity.
Therefore, more advanced methods are needed to estimate the battery capacity by processing the current, voltage, temperature and mechanical stress.Those existing methods include analysis-based methods, SOC-based methods and data-driven methods, which will be introduced in the following subsections.

B. Analysis-Based Methods
For indirect methods, the voltage, current and temperature can be recorded by sensors, and then used to estimate the capacity.In this work, we mainly introduce five kinds of analysis-based methods with IC (Incremental curve) curve, DV (Differential voltage) curve, DT (Differential thermal) curve, mechanical stress and Electrochemical Impedance Spectroscopy (EIS) as shown Figure 8.At present, more attention is paid to the Li-ion battery capacity.The capacity, which limits the available energy, is the key indicator for State-Of-Health (SOH), which is defined as the ratio of current maximum capacity to its initial capacity [66].
where Q present denotes the current capacity and Q initial is the nominal capacity.Thus, we will not distinguish capacity estimation and SOH estimation in the following explanations.(1) Incremental curve analysis method IC curve analysis method focuses on the variation of capacity with voltage, which is expressed as, In the IC curve, the dQ can be easily obtained by Coulomb counting of the current.Since noise always exists in current and voltage measurements, a filter is usually needed to smooth the IC curve [52,67,68].Usually, a low-pass filter [69], Savitzky-Golay filter [70,71] and Kalman filter [72] have been used to process the IC curve for reducing the noise sensitivity.A two dimensional Luenberger-Gaussian-moving-average filter is designed in [68] to enhance the IC curve extraction.Once a smooth IC curve is obtained, the mechanisms of the Li-ion battery can be analyzed accordingly.The peaks and valleys in the IC curve are related to the voltage plateau of the battery.In [52], the degradations of three peaks in the IC curve are related to LAM and LLI, and the small shift of the IC curve indicates a slight increasement of the battery internal resistance.Then, the shape variation of the IC curve, especially, the peak and valley changes can be used for analyzing the capacity degradation trend and capacity estimation.The analysis procedure of the IC curve is summarized as Figure 8.
Since the insertion and extraction of Li-ions can change the phase transformation of the material in the electrodes, the IC curve is an effective tool to reflect the battery degradation.The LLI and LAM of six LFP batteries are quantitatively analyzed by the IC curve in [73] for the battery health diagnosis, which utilizes the heigh, area, shape and position of the five peaks in the IC curve.A regression model can be then easily established by using the variations of the IC peak.A linear regression model characterized by ordinary least squares is used for battery health estimation in [73].Ref. [74] also uses the IC peak as the feature for battery capacity estimation, which chooses the grey relational analysis as the estimator and the maximum error is claimed less than 4%.Utilizing the IC peak and (1) Incremental curve analysis method IC curve analysis method focuses on the variation of capacity with voltage, which is expressed as, In the IC curve, the dQ can be easily obtained by Coulomb counting of the current.Since noise always exists in current and voltage measurements, a filter is usually needed to smooth the IC curve [52,67,68].Usually, a low-pass filter [69], Savitzky-Golay filter [70,71] and Kalman filter [72] have been used to process the IC curve for reducing the noise sensitivity.A two dimensional Luenberger-Gaussian-moving-average filter is designed in [68] to enhance the IC curve extraction.Once a smooth IC curve is obtained, the mechanisms of the Li-ion battery can be analyzed accordingly.The peaks and valleys in the IC curve are related to the voltage plateau of the battery.In [52], the degradations of three peaks in the IC curve are related to LAM and LLI, and the small shift of the IC curve indicates a slight increasement of the battery internal resistance.Then, the shape variation of the IC curve, especially, the peak and valley changes can be used for analyzing the capacity degradation trend and capacity estimation.The analysis procedure of the IC curve is summarized as Figure 8.
Since the insertion and extraction of Li-ions can change the phase transformation of the material in the electrodes, the IC curve is an effective tool to reflect the battery degradation.The LLI and LAM of six LFP batteries are quantitatively analyzed by the IC curve in [73] for the battery health diagnosis, which utilizes the heigh, area, shape and position of the five peaks in the IC curve.A regression model can be then easily established by using the variations of the IC peak.A linear regression model characterized by ordinary least squares is used for battery health estimation in [73].Ref. [74] also uses the IC peak as the feature for battery capacity estimation, which chooses the grey relational analysis as the estimator and the maximum error is claimed less than 4%.Utilizing the IC peak and the related area, the capacity of the retired battery is also evaluated in [75].A IC curve based mode is proposed in [76] to describe the phase transition behavior of active material of a Li-ion battery, which is used for battery capacity estimation and later verified on LFP, NMC, LTO chemistries.The proposed model has also claimed to reduce noise from sampling and measurements, which is suitable for onboard BMS.
The IC curve mainly extracts the variation of the voltage with Li-ion battery degradation, and thus can be used for aging mechanism analysis.However, a very low current rate is needed to obtain the IC curve for battery diagnosis, such as 1/10 C in [45].Analyzing the battery degradation with IC curve also requires specialized knowledge of the electrochemical reactions inside the battery.
(2) Differential voltage curve analysis method DV curve [77] is quite like IC curve in analysis, which is described as, From Equation ( 4), we understand that the DV curve can also be obtained from the current and voltage measurements during charge or discharge.The basic idea to analyze the degradation of a battery cathode and anode is based on the variation of the DV curve [78].The battery capacity can be also deduced from the trend of the variation in DV curves.Despite the requirement of a smooth filter, some publications also choose DV curve as a tool for capacity estimation.Ref. [79] measures the DV curve of a half-cell, and investigates the DV curves of positive and negative electrodes, respectively.Features of DV curve related to LAM and LLI are used for battery degradation estimation.The DV curve changes of a LTO battery is discussed in [80] to analyze the aging mechanism during a number of 1080 cycling tests.The aging modes of positive and negative electrodes are expressed by the peak and valley of DV curves, which can be further used as the reference for the degradation information extraction from a Li-ion battery.A comparison of IC and DV curves is studied in [52] for the aging mechanism identification of five commercial Li-ion batteries, and experimental results prove the good consistency of IC and DV curve in battery degradation mode analysis.In short, using a DV curve for battery capacity estimation is similar to an IC curve; both utilize the variation of the curve's shape to analyze the aging mechanisms and then extract features as the input of a regression model for capacity estimation.The characteristics of the DV curve can also refer to the IC curve in the previous section.We have to mention that one good advantage of those methods is the use of direct measurements from BMS which is low cost to implement.A common challenge is to deal with the measurement noise in reality [81].
(3) Differential thermal analysis method Considering that the general measurements from BMS contain current, voltage and temperature, the differential thermal voltammetry [82] is chosen to diagnosis the Li-ion battery degradation as, There always is heat generation during the battery operation, which is divided to reversible and irreversible heat.The reversible heat is generated by the entropy change of the electrochemical reaction in electrodes, while irreversible heat is mainly the ohmic resistance heat, polarization heat and the side reactions heat [83].Those thermal characteristics are also charged with battery degradation.Therefore, it is possible to use the temperature variation during charge or discharge as the indictor for battery capacity estimation [67,84,85].Here, we plot the DT curve of the Oxford dataset [86] as shown in Figure 9, which indicates a variation on the peak and valley with the increase of the cycling number.The DT curve of LCO and NCA batteries are analyzed in [85], and the peak and valley of the DT curve can be used for capacity estimation.The position of the peak and valley in the DT curve is selected as the features for a Gaussian Process Regression (GPR)-based data-driven estimator in [87].Both IC and DT curves are analyzed and compared, which shows that the MAE of DT curve is 19.50% less than IC curve on Oxford and NASA dataset [88].Ref. [89] extracts the temperature variation during a 1 C constant current charge process, the time interval of two temperature cooling areas are selected as the feature for capacity estimation on both calendar aging and cycling aging.
Compared with IC and DV curves, the DT curve can be suitable for high current charge or discharge.However, the DT curve is also sensitive to measurement noise.The DT curve can be used for aging mechanisms analysis because it is essential the heat generation during the electrochemical reactions.In addition, the connections of the DT curve to battery aging still need to be investigated.
(4) Mechanical stress analysis method The volume of the particle will change during the charge or discharge of an Li-ion battery.Taking an LFP battery as an example, the LFP particle expands by 6.77% during lithiation [90], while the intercalation of Li-ion in the anode leads to 12% changes in the volume of graphite [15].Thus, it is reasonable to use the mechanical stress for battery performance analysis [91][92][93].
It is proved in [94] that the thickness of the Li-ion battery varies by 54.5 µm after the first discharge and the changes of the thickness is 13.5 µm after ten full cycles for a 60-Ah NMC Li-ion battery.It is clear that the mechanical stress of the Li-ion battery will change both with SOC and battery aging.The swell of a commercial 5-Ah Li-ion battery is investigated in [95], where the relationship between the battery swelling and C-rate, SOC and temperature is analyzed.Especially, the authors claim that the ds/dQ can be used for identifying the phase transition in the negative electrode, and further acts as the tool for aging estimation.Ref. [96] proposes a force-based incremental capacity analysis method for Liion battery capacity fading estimation, which detects the expansion force of a MNC cell from a HEV battery pack.The experimental results have proven that the proposed method is better than IC curve in signal-to-noise ratio.A high relevance of the second derivative of strain and IC curve are found in [97], where the strain of the electrode can be used for the state estimation as IC curve.The results also prove the second derivative of strain is less sensitive to C-rate compared with IC method, which is expected to be more suitable for real battery-based applications.
Although mechanical stress is believed to be an effective way for battery detection, the main limitation is the requirement of a specially designed device for swell measurement such as displacement sensor, pressure sensor, test fixture, etc.In this way, the cost is increased and also its implementation to a battery pack must be carefully considered for not destroying its original design.
(5) EIS analysis method The DT curve of LCO and NCA batteries are analyzed in [85], and the peak and valley of the DT curve can be used for capacity estimation.The position of the peak and valley in the DT curve is selected as the features for a Gaussian Process Regression (GPR)-based datadriven estimator in [87].Both IC and DT curves are analyzed and compared, which shows that the MAE of DT curve is 19.50% less than IC curve on Oxford and NASA dataset [88].
Ref. [89] extracts the temperature variation during a 1 C constant current charge process, the time interval of two temperature cooling areas are selected as the feature for capacity estimation on both calendar aging and cycling aging.
Compared with IC and DV curves, the DT curve can be suitable for high current charge or discharge.However, the DT curve is also sensitive to measurement noise.The DT curve can be used for aging mechanisms analysis because it is essential the heat generation during the electrochemical reactions.In addition, the connections of the DT curve to battery aging still need to be investigated.
(4) Mechanical stress analysis method The volume of the particle will change during the charge or discharge of an Li-ion battery.Taking an LFP battery as an example, the LFP particle expands by 6.77% during lithiation [90], while the intercalation of Li-ion in the anode leads to 12% changes in the volume of graphite [15].Thus, it is reasonable to use the mechanical stress for battery performance analysis [91][92][93].
It is proved in [94] that the thickness of the Li-ion battery varies by 54.5 µm after the first discharge and the changes of the thickness is 13.5 µm after ten full cycles for a 60-Ah NMC Li-ion battery.It is clear that the mechanical stress of the Li-ion battery will change both with SOC and battery aging.The swell of a commercial 5-Ah Li-ion battery is investigated in [95], where the relationship between the battery swelling and C-rate, SOC and temperature is analyzed.Especially, the authors claim that the ds/dQ can be used for identifying the phase transition in the negative electrode, and further acts as the tool for aging estimation.Ref. [96] proposes a force-based incremental capacity analysis method for Li-ion battery capacity fading estimation, which detects the expansion force of a MNC cell from a HEV battery pack.The experimental results have proven that the proposed method is better than IC curve in signal-to-noise ratio.A high relevance of the second derivative of strain and IC curve are found in [97], where the strain of the electrode can be used for the state estimation as IC curve.The results also prove the second derivative of strain is less sensitive to C-rate compared with IC method, which is expected to be more suitable for real battery-based applications.
Although mechanical stress is believed to be an effective way for battery detection, the main limitation is the requirement of a specially designed device for swell measurement such as displacement sensor, pressure sensor, test fixture, etc.In this way, the cost is increased and also its implementation to a battery pack must be carefully considered for not destroying its original design.
(5) EIS analysis method EIS is an effective tool with high sensitivity to the electrochemical reactions inside the Li-ion battery; it has been used for battery modelling [98,99], SOC and temperature estimation [100], and also battery degradation diagnosis [101,102].Generally, EIS is measured in the battery equilibrium state with small current or voltage injection in a frequency range between mHz and kHz [103].The real and imaginary parts of impedance measurement is selected as the input of a Gaussian Process Regression (GPR) model for Li-ion battery capacity and RUL estimation, in which the variation of EIS with battery degradation is shown in Figure 10.The EIS curve turns from blue to red with battery aging.Ref.
[104] combines EIS with ultrasonic time-of-flight analysis to investigate the electrochemical characteristics and structure variation inside a Li-ion battery when the cycle number of a battery increases.Refs.[105,106] extract the parameters of ECM from EIS curve, and then analyze the connections between the parameters and battery aging for estimating the battery capacity.[107] uses S transform to a fast calculation of battery impedance, and the zero-crossing point of real impedance R0 is chosen for battery capacity estimation.EIS is an effective tool with high sensitivity to the electrochemical reactions inside the Li-ion battery; it has been used for battery modelling [98,99], SOC and temperature estimation [100], and also battery degradation diagnosis [101,102].Generally, EIS is measured in the battery equilibrium state with small current or voltage injection in a frequency range between mHz and kHz [103].The real and imaginary parts of impedance measurement is selected as the input of a Gaussian Process Regression (GPR) model for Li-ion battery capacity and RUL estimation, in which the variation of EIS with battery degradation is shown in Figure 10.The EIS curve turns from blue to red with battery aging.Ref.
[104] combines EIS with ultrasonic time-of-flight analysis to investigate the electrochemical characteristics and structure variation inside a Li-ion battery when the cycle number of a battery increases.Refs.[105,106] extract the parameters of ECM from EIS curve, and then analyze the connections between the parameters and battery aging for estimating the battery capacity.[107] uses S transform to a fast calculation of battery impedance, and the zero-crossing point of real impedance R0 is chosen for battery capacity estimation.Battery EIS has a strong potential to reflect the electrochemical reactions in the frequency domain, which is expected to have great potential for onboard BMS application.However, most EIS related battery degradation analysis are based on the commercial electrochemical workstation which is accurate yet expensive.Considering the volume and weight of the electrochemical workstations, they are difficult to be directly used in an EV environment.Therefore, two kinds of solutions have been proposed recently to address the issue of EIS measurement with BMS and machine drive electronics.One method is to combine with the onboard chargers [108] or DC-DC converters [109,110].An onboard charger is integrated with a Dual Active Bridge (DAB) converter for charging and EIS measurement of the battery pack in EV [108].The second method is using low power measurement module in a BMS for small AC signal injection.[111] uses Single-Cell Supervisor (SCS) designed by NXP Semiconductors injecting the AC current to the battery, Battery EIS has a strong potential to reflect the electrochemical reactions in the frequency domain, which is expected to have great potential for onboard BMS application.However, most EIS related battery degradation analysis are based on the commercial electrochemical workstation which is accurate yet expensive.Considering the volume and weight of the electrochemical workstations, they are difficult to be directly used in an EV environment.Therefore, two kinds of solutions have been proposed recently to address the issue of EIS measurement with BMS and machine drive electronics.One method is to combine with the onboard chargers [108] or DC-DC converters [109,110].An onboard charger is integrated with a Dual Active Bridge (DAB) converter for charging and EIS measurement of the battery pack in EV [108].The second method is using low power measurement module in a BMS for small AC signal injection.[111] uses Single-Cell Supervisor (SCS) designed by NXP Semiconductors injecting the AC current to the battery, and the battery impedance can be calculated by measuring the voltage response.However, there are still very limited examples on hardware design of EIS measurement [112] considering the cost of current BMS.Another concern is that the measurement of EIS is easily affected by noise which hinders a reliable usage of EIS on battery capacity estimation.

C. SOC-based method
An SOC-based methods can be divided into SOC indirect estimation and the SOC observer-based method, which is illustrated in Figure 11.SOC indirect estimation calculates the battery capacity through a period of Coulomb counting and SOC variation, which usually estimates the battery in a short time scale online.The SOC observer-based method directly estimates the battery capacity utilizing an observer based on battery Equivalent Circuit Model (ECM) model, which uses only current and voltage as the input, and SOC and capacity can be estimated synchronously.
An SOC-based methods can be divided into SOC indirect estimation and the SOC observer-based method, which is illustrated in Figure 11.SOC indirect estimation calculates the battery capacity through a period of Coulomb counting and SOC variation, which usually estimates the battery in a short time scale online.The SOC observer-based method directly estimates the battery capacity utilizing an observer based on battery Equivalent Circuit Model (ECM) model, which 13ses only current and voltage as the input, and SOC and capacity can be estimated synchronously.(1) SOC indirect estimation SOC indirect method is essentially based on the coulomb counting equations, which is expressed by the following equation, ( ) ( ) where η is the coulomb efficiency, i(t) is the current, and Q is the capacity.From Equation ( 5), the battery capacity can be calculated once the SOC variation is known.
LS is a commonly used method for parameter estimation of a linear model, which offers a mathematical model to fit the experimental data with a minimum residual sum of squares errors [113].According to Equation ( 6), the capacity can be solved by linear regression with SOC and current information.
Weighted Least Squares (WLS) is calculated by considering the weights of the data based on an ordinary LS [114].Based on the linear function structure y = Qx, where y is measurement, and x is an independent variable.In this case, the model can be expressed as  =  − ∆ =  �  as shown in Figure 12a, where Y is the measurement vector and X is the independent variable vector, and the measurement errors ∆ is considered as the weightings.Ref. [115] uses the errors from the observations as the weights to calculate a fitting equation.Capacity is set as a time-varying parameter and then solved by a recursive approximation [116].(1) SOC indirect estimation SOC indirect method is essentially based on the coulomb counting equations, which is expressed by the following equation, where η is the coulomb efficiency, i(t) is the current, and Q is the capacity.From Equation ( 5), the battery capacity can be calculated once the SOC variation is known.
LS is a commonly used method for parameter estimation of a linear model, which offers a mathematical model to fit the experimental data with a minimum residual sum of squares errors [113].According to Equation ( 6), the capacity can be solved by linear regression with SOC and current information.
Weighted Least Squares (WLS) is calculated by considering the weights of the data based on an ordinary LS [114].Based on the linear function structure y = Qx, where y is measurement, and x is an independent variable.In this case, the model can be expressed as Y = y − ∆y = QX as shown in Figure 12a, where Y is the measurement vector and X is the independent variable vector, and the measurement errors ∆y is considered as the weightings.Ref. [115] uses the errors from the observations as the weights to calculate a fitting equation.Capacity is set as a time-varying parameter and then solved by a recursive approximation [116].Ref. [117] proposes a capacity estimation algorithm based on LS methods for PHEV and EVs.With the given current signal, the OCV is calculated by LS and the relationship between SOC and OCV is mapped.Then capacity is obtained by the iteration process.Wei et al. [118] propose an SOC and SOH estimation based on two LS estimators.Under the condition that no pre-determined parameters are necessary, OCV is derived by LS estimator, and then the capacity is converted to linear fitting problem to solve according to the mapping relationship between OCV and SOC.
Total Least Squares (TLS): During the calculation of ordinary LS, it assumes that the input data are accurate, but in actual operation process, the input and output data are both influenced by measurement noise.Presented in terms of data fitting, WLS only accounts for ∆, while Total-Least-Squares (TLS) accounts for both ∆ and ∆.Therefore, TLS is introduced for capacity estimation, considering the disturbances from both input and output [119,120].In this way, the model can be expressed as  =  − ∆ =  �  =  � ( − ∆) in Figure 12b, where ∆ is the measurement errors and ∆ is the input data errors.The TLS problem can be solved by a singular value decomposition of the matrix, but the mul- Ref. [117] proposes a capacity estimation algorithm based on LS methods for PHEV and EVs.With the given current signal, the OCV is calculated by LS and the relationship between SOC and OCV is mapped.Then capacity is obtained by the iteration process.Wei et al. [118] propose an SOC and SOH estimation based on two LS estimators.Under the condition that no pre-determined parameters are necessary, OCV is derived by LS estimator, and then the capacity is converted to linear fitting problem to solve according to the mapping relationship between OCV and SOC.
Total Least Squares (TLS): During the calculation of ordinary LS, it assumes that the input data are accurate, but in actual operation process, the input and output data are both influenced by measurement noise.Presented in terms of data fitting, WLS only accounts for ∆y, while Total-Least-Squares (TLS) accounts for both ∆y and ∆x.Therefore, TLS is introduced for capacity estimation, considering the disturbances from both input and output [119,120].In this way, the model can be expressed as Y = y − ∆y = QX = Q(x − ∆x) in Figure 12b, where ∆y is the measurement errors and ∆x is the input data errors.The TLS problem can be solved by a singular value decomposition of the matrix, but the multiplier of the singular value decomposition of the n × n matrix is 6N 3 [121].After analyzing the calculation of TLS, Rhode et al. [122] find that it is difficult to derive an analytical solution to the matrix and therefore they propose a recursive form to solve the TLS problem and satisfactory estimation results are finally obtained.Ref. [123] uses the constraint Rayleigh quotient as the cost function in the TLS calculation process, which greatly reduces the complexity of the TLS.
(2) SOC observer-based method The SOC observer-based method attempts to estimate the battery capacity according to the SOC estimation results in a dual time scale framework.
As for the SOC observer-based method, the capacity estimation is developed based on ECMs.The ECMs describe the external characteristics of the Li-ion battery using resistance, capacitance, and voltage source as shown in Figure 13 [124].It is believed that the complexity of ECMs is suitable for online BMS applications [125].Depending on different numbers n of the RC networks, which describe the dynamic characteristic including the polarization characteristics and diffusion effects [126], the Rint model (n = 0), Thevenin model (n = 1), and dual-polarization model (n = 2) are proposed, respectively [127].
condition that no pre-determined parameters are necessary, OCV is derived by LS estimator, and then the capacity is converted to linear fitting problem to solve according to the mapping relationship between OCV and SOC.
Total Least Squares (TLS): During the calculation of ordinary LS, it assumes that the input data are accurate, but in actual operation process, the input and output data are both influenced by measurement noise.Presented in terms of data fitting, WLS only accounts for ∆, while Total-Least-Squares (TLS) accounts for both ∆ and ∆.Therefore, TLS is introduced for capacity estimation, considering the disturbances from both input and output [119,120].In this way, the model can be expressed as  =  − ∆ =  �  =  � ( − ∆) in Figure 12b, where ∆ is the measurement errors and ∆ is the input data errors.The TLS problem can be solved by a singular value decomposition of the matrix, but the multiplier of the singular value decomposition of the n × n matrix is 6N 3 [121].After analyzing the calculation of TLS, Rhode et al. [122] find that it is difficult to derive an analytical solution to the matrix and therefore they propose a recursive form to solve the TLS problem and satisfactory estimation results are finally obtained.Ref. [123] uses the constraint Rayleigh quotient as the cost function in the TLS calculation process, which greatly reduces the complexity of the TLS.
(2) SOC observer-based method The SOC observer-based method attempts to estimate the battery capacity according to the SOC estimation results in a dual time scale framework.
As for the SOC observer-based method, the capacity estimation is developed based on ECMs.The ECMs describe the external characteristics of the Li-ion battery using resistance, capacitance, and voltage source as shown in Figure 13 [124].It is believed that the complexity of ECMs is suitable for online BMS applications [125].Depending on different numbers n of the RC networks, which describe the dynamic characteristic including the polarization characteristics and diffusion effects [126], the Rint model (n = 0), Thevenin model (n = 1), and dual-polarization model (n = 2) are proposed, respectively [127].In existing studies, capacity is often considered as one of the parameters to be estimated in parallel with another battery state such as SOC [128].This is also known as joint estimation [129].Based on the coulomb counting Equation (2), SOC estimation and In existing studies, capacity is often considered as one of the parameters to be estimated in parallel with another battery state such as SOC [128].This is also known as joint estimation [129].Based on the coulomb counting Equation (2), SOC estimation and capacity estimation are coupled.In the joint estimation of SOC-SOH, capacity as a dynamic parameter is treated as an extended state of the filter, and then parametric filtering is performed [130,131].For filters, there are two core components, prediction, and correction.Predicting the state from the previous moment and correcting the result based on the observations, the prediction and correction are continuously recursive to complete the estimation of the state.Figure 14 is a schematic diagram of the filtering process using the Kalman filter as an example [132,133].The equations for a stochastic linear discrete system are described as: where x is the state vector, A is the state transfer matrix, u is the state control vector, B is the control variable matrix, y is the measurement vector, H is the transformation matrix from the state vector to the measurement vector, w and v are both noises obeying a Gaussian distribution, and P is the covariance matrix.Extended Kalman Filter (EKF): KF is somehow limited to linear systems [134].In ref. [135], the researcher linearizes the non-linear OCV-SOC curves into seven segments to meet the requirements of KF for a linear system model.However, in the case of long-term battery capacity decrease, as mentioned in Section 1, the degradation process is of much nonlinearity.Thus the improved KF-based EKF is a better choice for achieving battery capacity estimation [136].Ref. [137] proposes a co-estimation of multiple battery states using the correlation of parameters in the state space.Based on the EKF for SOC estimation and cumulative charge, the battery capacity is solved simultaneously.Ref. [138] proposes a dual filter of state and parameter based on EKF to achieve a simultaneous estimation of SOC and SOH.The parametric filtering is used to update the capacity online to improve the accuracy of SOC estimation.
Extended Kalman Filter (EKF): KF is somehow limited to linear systems [134].In ref. [135], the researcher linearizes the non-linear OCV-SOC curves into seven segments to meet the requirements of KF for a linear system model.However, in the case of long-term battery capacity decrease, as mentioned in Section I, the degradation process is of much nonlinearity.Thus the improved KF-based EKF is a better choice for achieving battery capacity estimation [136].Ref. [137] proposes a co-estimation of multiple battery states using the correlation of parameters in the state space.Based on the EKF for SOC estimation and cumulative charge, the battery capacity is solved simultaneously.Ref. [138] proposes a dual filter of state and parameter based on EKF to achieve a simultaneous estimation of SOC and SOH.The parametric filtering is used to update the capacity online to improve the accuracy of SOC estimation.Sigma Point Kalman Filter (SPKF): For those situations where the degree of nonlinearity is higher, SPKF is a better choice.SPKF is an improvement of KF without linearization steps or computing the derivatives [139].The mean and covariance are obtained by a set of weighted points passing through the non-linear function.According to the pattern of choosing the sigma points, SPKF is divided into Unscented Kalman Filter (UKF) [140] and Central Difference Kalman Filter (CDKF) [141].Compared with EKF, SPKF avoids the necessity of complex differential processes and has a better covariance approximation.However, under more frequent current fluctuations conditions, its accuracy and stability still cannot be guaranteed [142].Ref. [143] proposes a UKF-based dual filtering framework based on the coupling of SOC and capacity as shown in the coulomb Equation ( 6).Realtime capacity is updated as recursive filtering of SOC state and capacity parameter proceeds.Ref.
[144] presents a joint estimation for multiple critical states along with an autoregressive equivalent circuit model.The state space-coupling model is solved using UKF which has good dynamic tracking properties for multiple states.Sigma Point Kalman Filter (SPKF): For those situations where the degree of nonlinearity is higher, SPKF is a better choice.SPKF is an improvement of KF without linearization steps or computing the derivatives [139].The mean and covariance are obtained by a set of weighted points passing through the non-linear function.According to the pattern of choosing the sigma points, SPKF is divided into Unscented Kalman Filter (UKF) [140] and Central Difference Kalman Filter (CDKF) [141].Compared with EKF, SPKF avoids the necessity of complex differential processes and has a better covariance approximation.However, under more frequent current fluctuations conditions, its accuracy and stability still cannot be guaranteed [142].Ref. [143] proposes a UKF-based dual filtering framework based on the coupling of SOC and capacity as shown in the coulomb Equation (6).Real-time capacity is updated as recursive filtering of SOC state and capacity parameter proceeds.Ref.
[144] presents a joint estimation for multiple critical states along with an autoregressive equivalent circuit model.The state space-coupling model is solved using UKF which has good dynamic tracking properties for multiple states.
Particle Filter (PF): PF is commonly seen in tracking the capacity in the full lifespan of a battery [145][146][147].By employing the Monte Carlo sampling techniques, PF offers the possibility of dealing with any type of distribution by a proper group of particles or samples approximating the respective probability density functions [148].Ref [149] uses an optimized dynamic single exponential model to describe the degradation of capacity and particle filtering to complete the optimal state solution.The performance of singlestep, multi-step and long-term capacity prediction based on particle filtering is analyzed in detail.
It is noted that the time scales of state and parameters changes are different [150].Typically, the time scale for SOC changes is much smaller.In [151], the time scale of SOC is set as 1s, while capacity is 60s.Thus, the two variables are filtered separately by independent filters.In addition, in the common joint SOC-SOH (denoted by capacity) estimation, the coupled nature of the state space equations requires a high degree of accuracy for both estimators.Otherwise, the cross-interference between the two will become a difficult problem for the joint estimation.i.e., SOC and capacity uncertainties can interfere with each other in the process of information exchange.Ref. [152] proposed the decoupling of parameter identification and state estimation.The capacity identification estimator is fully decoupled from the SOC state estimator.Different time scales are adopted to further improve the accuracy of the results.
As we can find for the SOC-based method, accurate SOC is the important prerequisite for capacity estimation.However, SOC itself is not an easy measurable status for the Li-ion battery, which limits the usage of SOC-based methods in reality.

D. Data-driven method
With the fast development of IoT and artificial intelligence, the daily operation measurement of the battery system is easy to be recorded to a cloud platform which could be further used for cloud to edge estimation.The data-driven approach is characterized by a reliance on a large amount of dataset to make decisions and does not require a specific battery model.In a data-driven approach, a model can be used to map the data as long as a sufficiently representative sample is available, without the need to pre-determine a definitive model in advance.In the case of batteries, the operation measurement that we can collect may contain aging information.The degree of aging can be reflected by certain characteristics during the charging and discharging process, and the data-driven approach constructs an approximate model to match the true aging situation with this information.Figure 15a is a schematic diagram of the data-driven approach application procedure, which mainly includes three processes: data collection & preprocessing, offline training and online estimation.The main purpose of data collection is measuring the voltage, current and temperature during the operation of the battery pack.Then, the data-driven model can be trained offline with high computing power processor, and the trained model is later implemented in a BMS for online estimation.In this type of method, the keys lie in the processing of the data, the extraction of key features and model training, the main data stream of those processes is shown in Figure 15b.
The existing data-driven method is introduced in the following subsections.
Neural Network (NN): The basic NN is a three-layer structure network including an input layer, hidden layer and output layer.The input layer neuron can be regarded as extracting capacity-related features [153].It is critical to choose a suitable indicator.Refs.[154,155] use NN to investigate the battery capacity.From the perspective of feature extraction, the former uses discharge voltage, while the latter adds also the temperature effects.The weight coefficients from the input layer to the hidden layer or from the hidden layer to the output layer need to be obtained after training a large number of samples [105].Ref. [156] chooses to train a generalized regression NN with the battery's constant current charging time to estimate SOH.The instantaneous discharging voltage drop and the amount of Ah-throughout for a certain depth of discharge are captured as features.Ref. [157] uses the Broad Learning System (BLS) to process historical capacity data and generate feature nodes as the input layer of the neural network.This method does not require an in-depth study of the battery aging mechanism, but it also requires at least 25% of the historical capacity data.
Support Vector Machine (SVM): Support Vector Machine (SVM) is another technique.The core is to divide the data set in a hyperplane [158,159] so that the geometric interval between each data point can be maximized in the hyperplane.It can be transformed into an objective function under constraints to solve the optimization problem.Ref. [160] studies the relationship between the electrolyte concentration and voltage with the battery capacity.The non-linear relationship is then fitted by SVM.A Least Squares Support Vector Machine (LSSVM) is used in [161], with charging voltage, discharging current, temperature, and cycle times as inputs, and the residual sum of squares error is selected as the cost function to calculate the capacity retention rate.Ref. [162] uses Particle Swarm Optimization (PSO) to find the suitable hyper-parameters for the SVM kernel function and trains the impedance values as the features to complete the battery SOH estimation.
Bayesian learning method: Bayesian methods solve the posterior information with assumed prior probabilities to infer the unknown parameters [163].There are a variety of data-driven methods that use their associated theory, such as the Relevance Vector Machine (RVM), which provides an output of posterior probabilities based on a Bayesian approach.Compared to SVM, it eliminates the need for model selection, but it often requires more training time.The literature uses empirical modal decomposition for battery capacity data, and sets up a multi-start prediction matrix to train RVM.It reduces the stochastic uncertainty associated with the starting point of a single prediction and parameter settings.GPR is derived from the Bayesian framework [164], and uses the Gaussian process prior knowledge to perform regression analysis on the data.Ref. [165] uses voltage segments in short periods during constant current operation as the input of GPR for capacity estimation.The non-parametric regression properties of the GPR technique allow the estimation to be adapted to the complexity of the data.The existing data-driven method is introduced in the following subsections.Neural Network (NN): The basic NN is a three-layer structure network including an input layer, hidden layer and output layer.The input layer neuron can be regarded as extracting capacity-related features [153].It is critical to choose a suitable indicator.Ref. [154,155] use NN to investigate the battery capacity.From the perspective of feature extraction, the former uses discharge voltage, while the latter adds also the temperature effects.The weight coefficients from the input layer to the hidden layer or from the hidden layer to the output layer need to be obtained after training a large number of samples [105].Ref. [156] chooses to train a generalized regression NN with the battery's constant current charging time to estimate SOH.The instantaneous discharging voltage drop and the amount of Ah-throughout for a certain depth of discharge are captured as features.
Ref. [157] uses the Broad Learning System (BLS) to process historical capacity data and generate feature nodes as the input layer of the neural network.This method does not require an in-depth study of the battery aging mechanism, but it also requires at least 25% of the historical capacity data.
Support Vector Machine (SVM): Support Vector Machine (SVM) is another technique.The core is to divide the data set in a hyperplane [158,159] so that the geometric Deep learning method: Deep learning utilizes multiple hidden layers in the network [32], which can reflect more complex mapping between the features and battery health.Methods, such as Convolutional Neural Network (CNN) [166,167], Recurrent Neural Network (RNN) [168,169] and Long Short-Term Memory (LSTM) [170,171] have been used for battery SOH estimation recently, and have shown promising performance in estimation accuracy.Ref. [167] takes advantage of CNN and Transformers for accurate SOH estimation of Li-ion batteries, which utilizes the attention mechanism to extract more important features from the original measurement.A differential evolution grey wolf optimizer is used in [171] to tune the hyperparameters of LSTM for an accurate battery health estimation.A hybrid of gate recurrent unit and CNN is shown to estimate the Li-ion battery SOH in [172], which utilizes voltage, current and temperature as the input of the network.
The implementation of data-driven methods relies on the validity of the data and a complex training process.The advantage is that the model can be adapted to the data through training, but this also means that a large sampling and training dataset is required to achieve an accurate estimation.

Discussion
From the previous description, there have been a large number of studies on battery capacity estimation.We realize that some methods require specific implementation conditions.This paper discusses current battery capacity estimation methods for online BMS implementation, which are briefly divided into: direct measurement methods, analysisbased methods, SOC-based methods and data-driven methods.Since direct measurement methods are mostly limited to laboratory tests as a reference, the other three kinds of methods are compared with pros and cons in Table 1.Analysis-based methods utilize the electric, thermal and strain characteristics of an Li-ion battery during charge or discharge, which always need a high precise sensor for measurement.The relationship between the analyzed physical quantity and battery degradation is closely related to measurement conditions and the materials of the battery chemistry; such factors limit the usage of the analysis-based method.In addition, professional knowledge is required to use curves for degradation mechanism analysis.IC and DV curves need to measure the voltage and current with high accuracy and low C-rate.All the analysis-based methods should be processed by a specially designed filter for receiving a smooth curve.The DT curve and mechanism strain are affected by various factors, such as the thermal management and structural design of the battery pack.The positions of the thermal and strain sensors in the battery module are still challenging, which limit their current usage in BMS products.Further investigations of the DT curve and mechanical stress are still needed to clarify the variation of the thermal and mechanical characteristics with battery degradation.EIS can detect the electrochemical kinetics inside the Li-ion battery with a small AC signal injection, which can reflect the battery degradation degree by the battery impedances, such as Ohmic resistance, polarization resistance, and SEI film resistance.With a broadband signal injection, the status of Li-ion battery can be analyzed in the frequency domain.Recently, some chips (DNB1168 [173]) have been made for EIS measurement of Li-ion batteries, which push the application of EIS to BMS a promising solution for the next generation BESS.
SOC-based methods rely on an accurate battery model.Although ECMs have been proven to have a good balance of accuracy and complexity, they are still far from been satisfied usage in a BMS.If the battery model is not reliable, the SOC estimation error will later affect the capacity estimation.In addition, the SOC-based methods usually obtain the results by iterations, which consumes the computing resources of BMS hardware.Thus, the application of SOC-based method will increase the cost of BMS.How to improve the computing efficiency and modeling accuracy still needs more further studies.
Data-driven methods treat the Li-ion battery as a black box without the need to deal with the complicated degradation mechanisms of the battery.However, quiet few datadriven models have been used in the current BMS.One reason is that the performance of the data-driven method is closely related to the feature and quality of the measurement dataset.There is a lack of open source datasets from a real BESS application for training the data-driven model.In reality, it is also difficult to obtain a labelled dataset, and measuring all the needed dataset from experimental testbench is costly.Another point is that the data-driven method lacks interpretability, and the credibility of the estimation results may be doubtful for real applications.The training of the data-driven model is closely related to a proper setting of the training procedure, while the training process is also time consuming.However, with the fast development of IoT and AI, data-driven methods will probably play a critical role in the future BMSs.
One key point we have to mention here is the materials of the electrodes might affect the applications of the capacity estimation methods for an application.For example, the NMC and LFP based battery characterize by a different OCV-SOC profile.The flat voltage curve of LFP battery corresponding to SOC may influence the capacity estimation accuracy.Thus, special attentions have to be paid when extracting features from the flat voltage curve or using OCV as the input of the method.IC curve can reflect the phase transitions of the electrodes, and probably can be used for feature extraction instead of a flat voltage curve for LFP battery.
We believe that the future onboard capacity estimation framework will be a hybrid of data-driven methods and other techniques as shown in Figure 16.Analysis-based methods can provide health features for the data-driven model.In this way, using an analysisbased method only needs a data processing procedure, and professional knowledge from the Li-ion battery degradation can be ignored.An SOC-based method can also be running in the BMS terminal, and can later collaborate with data-driven method through a fusion mechanism.

Conclusions
This paper discusses a variety of methods for onboard BMS capacity estimation, which are based on different principles.These methods are divided into four main categories, direct measurement methods, analysis-based methods, SOC-based methods and data-driven methods.With emphasis on the onboard BMS implementable methods, the characteristics of each method are reviewed and discussed.Analysis-based methods with IC/DV/DT curves and mechanical strain are suitable for Li-ion battery degradation mechanism investigation.IC and DV curves are easier to be applied to a BMS application since no more sensor or measurement devices are needed in the battery packs.EIS is a promising solution for onboard BMS usage in the near future with an update of the hardware.SOC-based methods rely on the accuracy of the battery model and the iterative process requires more computing resources from the microprocessor in a BMS.With the development of the cloud-to-edge technique, data-driven methods will play an important role in the next-generation BESS.
From the methods discussed in this work, we hope to have summarized the recent progress in the battery capacity estimation area.In the future, a hybrid of various methods could be a more practical solution for real BMS applications, especially, a combination of data-driven and analysis-based methods.

Figure 2 .
Figure 2. Structure of the battery energy storage system.

Figure 3 .
Figure 3. High-frequency keyword co-occurrence network for battery capacity on Scopus from 2016 to 2021.

Figure 3 .
Figure 3. High-frequency keyword co-occurrence network for battery capacity on Scopus from 2016 to 2021.

Batteries 2022, 8 ,
x FOR PEER REVIEW

Figure 4 .
Figure 4.The effect of factors on the battery capacity degradation.Here, we also illustrate the degradation measurement results o ion batteries under calendar aging and cycling aging in Figure5.W temperature, the capacity of a battery in T = 45 °C decreases faster clear that the Li-ion battery charged with a larger current (2.7 C) deg a lower charging C-rate (1.3 C).A Neware battery tester is used to c details about the cycling aging setting can refer to[56].

Figure 4 .
Figure 4.The effect of factors on the battery capacity degradation.

Figure 5 .
Figure 5. Li-ion battery degradation.(a) 36.9Ah Li-ion batteries stored at SOC = 100% in thermostat (T = 35 °C, T = 45 °C), the capacities are measured every four weeks; (b) 1.5 Ah NMC based 18,650 Li-ion batteries are charged with 1.3 C and 2.7 C, and discharged by 5 C. The capacities are measured every 20 cycles.

Figure 5 .
Figure 5. Li-ion battery degradation.(a) 36.9Ah Li-ion batteries stored at SOC = 100% in thermostat (T = 35 • C, T = 45 • C), the capacities are measured every four weeks; (b) 1.5 Ah NMC based 18,650 Liion batteries are charged with 1.3 C and 2.7 C, and discharged by 5 C. The capacities are measured every 20 cycles.

Figure 6 .
Figure 6.SOC profile of BESS for the primary frequency regulation of grid.

Figure 6 .
Figure 6.SOC profile of BESS for the primary frequency regulation of grid.

Figure 7 .
Figure 7.The DC internal resistance measurement for Li-ion battery.

Figure 7 .
Figure 7.The DC internal resistance measurement for Li-ion battery.

Figure 9 .
Figure 9. DT curve of the Li-ion battery cell in Oxford dataset.

Figure 9 .
Figure 9. DT curve of the Li-ion battery cell in Oxford dataset.

Figure 10 .
Figure 10.The variation of EIS with Li-ion battery degradation with data from [101].

Figure 10 .
Figure 10.The variation of EIS with Li-ion battery degradation with data from [101].

Figure 12 .
Figure 12.Data errors on two LS-based method.

Figure 12 .
Figure 12.Data errors on two LS-based method.

Batteries 2022, 8 ,
x FOR PEER REVIEW 17 of 28 (a) Algorithm application procedure (b) Schematic diagram of the calculation process

Figure 15 .
Figure 15.The basic process of the data-driven approach.

Figure 15 .
Figure 15.The basic process of the data-driven approach.

Figure 16 .
Figure 16.The prospective of future onboard capacity estimation framework.

Table 1 .
A comparison of capacity estimation methods.