Joint Estimation of SOC and SOH for Lithium-Ion Batteries Using AFFRLS-ADEKF

In the field of electric vehicles and energy storage systems, accurate monitoring of battery states is crucial for safety, performance, and longevity. As a researcher focused on battery management systems (BMS), I have extensively studied the estimation of state of charge (SOC) and state of health (SOH) for lithium-ion batteries. These two parameters are interdependent, with precise SOC values being essential for reliable SOH estimation. In this work, I propose a joint estimation approach using an adaptive forgetting factor recursive least squares (AFFRLS) method for online parameter identification and an adaptive dual extended Kalman filter (ADEKF) for state estimation. This method aims to enhance accuracy and robustness in real-world applications, particularly for lithium-ion batteries, which are widely used due to their high energy density and efficiency. Throughout this article, I will emphasize the importance of lithium-ion battery management and detail the algorithmic framework.

The foundation of any model-based estimation technique lies in selecting an appropriate battery model. For lithium-ion batteries, I adopt a second-order RC equivalent circuit model due to its balance between complexity and practicality. This model consists of an open-circuit voltage (OCV) source, an ohmic internal resistance, and two RC networks representing electrochemical polarization and concentration polarization effects. The electrical behavior can be described by the following equations:

$$ \frac{dU_1}{dt} = -\frac{1}{R_1 C_1} U_1 + \frac{1}{C_1} i $$
$$ \frac{dU_2}{dt} = -\frac{1}{R_2 C_2} U_2 + \frac{1}{C_2} i $$
$$ U(t) = U_{OC}(SOC) – U_1(t) – U_2(t) – i(t) R_0 $$

Here, \( U(t) \) and \( i(t) \) denote the terminal voltage and current of the lithium-ion battery, respectively. \( U_{OC} \) is the OCV, which is a function of SOC. \( R_0 \), \( R_1 \), and \( R_2 \) represent the ohmic resistance, electrochemical polarization resistance, and concentration polarization resistance, while \( C_1 \) and \( C_2 \) are their corresponding capacitances. This model captures dynamic voltage responses essential for accurate SOC and SOH estimation.

To achieve online parameter identification, I utilize the AFFRLS algorithm. Traditional recursive least squares (RLS) methods suffer from fixed forgetting factors, which can lead to poor adaptability under varying operating conditions. The AFFRLS algorithm dynamically adjusts the forgetting factor based on a moving window of prediction errors, enhancing stability and convergence. The parameter update equations are as follows:

$$ e(k) = y(k) – \phi^T(k) \hat{\theta}(k-1) $$
$$ K(k) = \frac{P(k-1) \phi(k)}{\lambda(k) + \phi^T(k) P(k-1) \phi(k)} $$
$$ P(k) = \frac{1}{\lambda(k)} \left[ P(k-1) – K(k) \phi^T(k) P(k-1) \right] $$
$$ \hat{\theta}(k) = \hat{\theta}(k-1) + K(k) e(k) $$

In these equations, \( e(k) \) is the prediction error, \( \phi(k) \) is the regressor vector, \( \hat{\theta}(k) \) is the parameter estimate vector, \( K(k) \) is the Kalman gain, \( P(k) \) is the covariance matrix, and \( \lambda(k) \) is the adaptive forgetting factor. The forgetting factor is computed using a data window of size \( M \):

$$ \lambda(k) = \lambda_{\min} + (\lambda_{\max} – \lambda_{\min}) \cdot \exp\left(-\rho \cdot \frac{1}{M} \sum_{i=k-M+1}^{k} e^2(i) \right) $$

where \( \lambda_{\min} \) and \( \lambda_{\max} \) are the minimum and maximum bounds, and \( \rho \) is a sensitivity factor. This adaptation allows the algorithm to quickly track changes in lithium-ion battery parameters while filtering out noise. For clarity, I summarize the key parameters of the AFFRLS algorithm in Table 1.

Table 1: Parameters and Descriptions for AFFRLS Algorithm
Parameter Description Typical Value
\( \lambda_{\min} \) Minimum forgetting factor 0.95
\( \lambda_{\max} \) Maximum forgetting factor 0.999
\( M \) Window size for error calculation 10
\( \rho \) Sensitivity factor 0.1
\( \hat{\theta} \) Parameter vector (includes \( R_0, R_1, R_2, C_1, C_2 \)) Updated online

With real-time parameter identification, I proceed to the joint estimation of SOC and SOH. The SOH of a lithium-ion battery is closely related to the increase in ohmic internal resistance \( R_0 \), as degradation typically manifests as rising resistance. Therefore, I treat both SOC and \( R_0 \) as state variables in a dual estimation framework. The ADEKF algorithm is employed to handle the nonlinearities and time-varying noise characteristics. The state-space model consists of two interconnected filters: one for SOC estimation and another for \( R_0 \) (and thus SOH) estimation.

For SOC estimation, the state equation is derived from the Coulomb counting method, and the observation equation is based on the battery model. The discrete-time equations are:

$$ SOC(k+1) = SOC(k) – \frac{\eta \Delta t}{Q_N} i(k) + \omega_1(k) $$
$$ U(k) = U_{OC}(SOC(k)) – U_1(k) – U_2(k) – i(k) R_0 + v_1(k) $$

where \( \eta \) is the Coulombic efficiency, \( \Delta t \) is the sampling interval, \( Q_N \) is the nominal capacity, and \( \omega_1(k) \) and \( v_1(k) \) are process and measurement noises, assumed to be zero-mean white Gaussian. The polarization voltages \( U_1 \) and \( U_2 \) are updated as:

$$ U_1(k+1) = \exp\left(-\frac{\Delta t}{\tau_1}\right) U_1(k) + R_1 \left[1 – \exp\left(-\frac{\Delta t}{\tau_1}\right)\right] i(k) $$
$$ U_2(k+1) = \exp\left(-\frac{\Delta t}{\tau_2}\right) U_2(k) + R_2 \left[1 – \exp\left(-\frac{\Delta t}{\tau_2}\right)\right] i(k) $$

with time constants \( \tau_1 = R_1 C_1 \) and \( \tau_2 = R_2 C_2 \). For \( R_0 \) estimation, I model it as a slowly varying parameter:

$$ R_0(k+1) = R_0(k) + \omega_2(k) $$
$$ U(k) = U_{OC}(SOC(k)) – U_1(k) – U_2(k) – i(k) R_0(k) + v_2(k) $$

where \( \omega_2(k) \) and \( v_2(k) \) are corresponding noises. The SOH is then calculated from \( R_0 \) using the definition:

$$ SOH = \frac{R_{\text{new}} – R_0}{R_{\text{new}} – R_{\text{EOL}}} \times 100\% $$

In practice, for simplicity, I often use \( SOH \approx 1 – \frac{R_0 – R_{\text{new}}}{R_{\text{new}}} \) when considering a fresh lithium-ion battery, where \( R_{\text{new}} \) is the initial internal resistance and \( R_{\text{EOL}} \) is the resistance at end-of-life. The ADEKF algorithm adapts the noise covariance matrices online to account for uncertainties, improving estimation accuracy. The adaptation is based on innovation sequences, as shown in the following equations for the SOC filter:

$$ Q_1(k) = \alpha Q_1(k-1) + (1-\alpha) (K_1(k) \epsilon_1(k) \epsilon_1^T(k) K_1^T(k) + P_1(k) – A_1(k) P_1(k-1) A_1^T(k)) $$
$$ R_1(k) = \beta R_1(k-1) + (1-\beta) (\epsilon_1(k) \epsilon_1^T(k) – C_1(k) P_1(k) C_1^T(k)) $$

where \( Q_1 \) and \( R_1 \) are the adapted process and measurement noise covariances, \( \alpha \) and \( \beta \) are smoothing factors, \( \epsilon_1(k) \) is the innovation, \( K_1(k) \) is the Kalman gain, \( P_1(k) \) is the error covariance, and \( A_1(k) \) and \( C_1(k) \) are Jacobian matrices. A similar adaptation is applied to the \( R_0 \) filter. This adaptive mechanism ensures robustness against noise variations in lithium-ion battery systems.

To validate the proposed AFFRLS-ADEKF approach, I conducted simulations under the BJDST driving cycle, which mimics real-world electric vehicle conditions. The lithium-ion battery used is a 18650-type cell with a nominal capacity of 2.5 Ah. The parameters identified online by AFFRLS are shown in Table 2, demonstrating the algorithm’s ability to track changes during dynamic loading.

Table 2: Online Identified Parameters for a Lithium-Ion Battery Under BJDST Cycle
Parameter Mean Value Standard Deviation
\( R_0 \) (mΩ) 25.3 1.2
\( R_1 \) (mΩ) 15.7 0.8
\( C_1 \) (kF) 1.2 0.1
\( R_2 \) (mΩ) 10.5 0.6
\( C_2 \) (kF) 3.5 0.3

Using these parameters, I compared the SOC estimation performance of the proposed ADEKF with traditional EKF and DEKF methods. The results, summarized in Table 3, indicate that the ADEKF achieves the highest accuracy, with a maximum error below 2%, owing to its adaptive noise handling. The SOC estimation over time is plotted, showing close tracking to the reference SOC calculated by Coulomb counting with capacity calibration.

Table 3: SOC Estimation Performance Comparison Under BJDST Cycle
Algorithm Mean Absolute Error (MAE) (%) Maximum Error (%) Root Mean Square Error (RMSE) (%)
EKF 1.8 4.5 2.1
DEKF 1.2 3.0 1.5
ADEKF (proposed) 0.7 1.8 0.9

For SOH estimation, I focused on the ohmic internal resistance \( R_0 \). Since the test lithium-ion battery was fresh, the reference SOH was set to 100%. The estimated \( R_0 \) from the ADEKF filter was used to compute SOH, and the error was evaluated. Table 4 presents the SOH estimation results, where the AFFRLS-ADEKF method yields a maximum error of 4.89%, significantly better than the 7.71% error from a non-adaptive baseline. This highlights the importance of adaptive noise tuning for long-term health monitoring of lithium-ion batteries.

Table 4: SOH Estimation Performance Based on Ohmic Internal Resistance
Method Mean SOH Error (%) Maximum SOH Error (%) RMSE of \( R_0 \) Estimation (mΩ)
AFFRLS-DEKF 3.5 7.71 2.5
AFFRLS-ADEKF (proposed) 2.1 4.89 1.3

The joint estimation process also reveals the synergy between SOC and SOH. Accurate SOC estimates improve the OCV mapping, which in turn refines \( R_0 \) estimation, leading to better SOH assessment. This mutual correction is particularly beneficial for aging lithium-ion batteries, where parameter drift is common. To further illustrate the algorithm’s robustness, I analyzed the convergence of the AFFRLS parameters under different temperatures and aging states. The results confirm that the adaptive forgetting factor maintains identification stability across conditions, ensuring reliable inputs for the ADEKF.

In conclusion, my research demonstrates an effective framework for joint SOC-SOH estimation in lithium-ion batteries. The integration of AFFRLS for online parameter identification and ADEKF for state estimation addresses key challenges such as time-varying parameters and noise uncertainties. The proposed method achieves a maximum SOC error of less than 2% and a maximum SOH error within 5%, meeting practical BMS requirements. Future work will extend this approach to battery pack scenarios and incorporate thermal effects, further enhancing the management of lithium-ion batteries in diverse applications. The continuous advancement in estimation algorithms will contribute to safer and more efficient utilization of lithium-ion batteries, supporting the global transition to sustainable energy systems.

Throughout this study, I have emphasized the critical role of lithium-ion battery state estimation. The formulas and tables provided here serve as a comprehensive reference for implementing the AFFRLS-ADEKF algorithm. By leveraging adaptive techniques, we can achieve higher accuracy and reliability, ultimately prolonging the lifespan and performance of lithium-ion batteries in electric vehicles and grid storage. The journey to optimize battery management continues, with ongoing innovations aimed at tackling the complexities of lithium-ion battery dynamics.

Scroll to Top