CSO-AEKF SOC Estimation for Lithium-Ion Cells

In this study, I focus on improving state-of-charge (SOC) estimation for lithium-ion cells because accurate SOC knowledge is essential for safe operation, reliable energy management, and extended service life in battery management systems. A lithium-ion cell is a nonlinear electrochemical device whose available capacity depends on many internal and external factors, including current rate, temperature, aging, and relaxation effects. When SOC is estimated poorly, the battery management system may overcharge or overdischarge the lithium-ion cell, accelerate degradation, or reduce the usable energy window. Therefore, I develop a hybrid method that combines cat swarm optimization (CSO) with an adaptive extended Kalman filter (AEKF). The CSO algorithm identifies the parameters of a second-order RC equivalent circuit model, and the AEKF algorithm estimates SOC from the identified model. I compare the proposed CSO-AEKF method with a genetic algorithm (GA)-AEKF baseline under intermittent charging and intermittent discharging conditions. The results show that the CSO-AEKF method achieves lower relative error, better stability, and stronger robustness for lithium-ion cell SOC estimation.

The main motivation for this work is that traditional SOC estimation methods often suffer from insufficient parameter identification accuracy and poor filtering robustness. Ampere-hour integration is simple but accumulates error over time. Open-circuit voltage (OCV) methods are direct but require long rest periods and are sensitive to hysteresis and relaxation. Kalman-filter-based methods can handle nonlinear dynamics, but their performance depends heavily on the accuracy of the equivalent circuit model and the noise covariance settings. Data-driven methods can avoid explicit model structures, but they require large amounts of training data and may not generalize well to unseen operating conditions. For a lithium-ion cell, a practical SOC estimator must balance model fidelity, computational cost, and robustness against measurement noise. I therefore use a second-order RC equivalent circuit model because it captures both fast and slow polarization dynamics while remaining computationally tractable for online applications.

The proposed method has three main components. First, I establish a second-order RC equivalent circuit model for the lithium-ion cell. Second, I use CSO to identify the model parameters, including ohmic resistance, polarization resistances, and polarization capacitances. Third, I apply AEKF to estimate SOC while adaptively updating the process and measurement noise covariances. The CSO algorithm is inspired by the cooperative and exploratory behavior of cats, and it provides a flexible global search strategy that can handle noisy and incomplete data. The AEKF algorithm improves the standard extended Kalman filter by adjusting noise statistics online, which helps maintain accuracy when the operating conditions change.

The equivalent circuit model I use is shown below. It contains an open-circuit voltage source, an ohmic internal resistance, and two RC branches that represent electrochemical polarization and concentration polarization. The first RC branch captures faster transient behavior, while the second RC branch captures slower relaxation behavior. This structure is well suited to a lithium-ion cell because it can represent both rapid voltage drops and gradual voltage recovery after current pulses. The model also provides a clear state-space form that can be discretized for Kalman filtering.

For the second-order RC equivalent circuit model, I define the open-circuit voltage as \(U_{oc}\), the ohmic internal resistance as \(R_0\), the first polarization resistance and capacitance as \(R_1\) and \(C_1\), and the second polarization resistance and capacitance as \(R_2\) and \(C_2\). The voltages across the two RC branches are \(U_1\) and \(U_2\). The terminal voltage of the lithium-ion cell is \(U\), and the current is \(I\). I adopt the convention that discharge current is positive and charge current is negative. The continuous-time equations of the model are:

$$ \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 = U_{oc} – U_1 – U_2 – R_0 I $$

The SOC dynamics are described by the ampere-hour integration principle. If \(C_n\) is the rated capacity of the lithium-ion cell, \(\eta\) is the Coulombic efficiency, and \(SOC(t_0)\) is the initial SOC, then the SOC at time \(t\) is:

$$ SOC(t) = SOC(t_0) – \frac{1}{C_n}\int_{t_0}^{t} \eta I \, dt $$

To apply the AEKF algorithm, I discretize the model with a sampling period \(T\). The state vector is chosen as:

$$ x_k = \begin{bmatrix} SOC_k \\ U_{1,k} \\ U_{2,k} \end{bmatrix} $$

The input is the current \(u_k = I_k\). The discrete-time state-space representation of the lithium-ion cell model is:

$$ x_{k+1} = A x_k + B u_k + \omega_k $$

$$ y_k = C x_k + D u_k + v_k $$

where \(\omega_k\) is the process noise, \(v_k\) is the measurement noise, \(y_k\) is the terminal voltage, and the matrices are:

$$ A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & e^{-T/\tau_1} & 0 \\ 0 & 0 & e^{-T/\tau_2} \end{bmatrix} $$

$$ B = \begin{bmatrix} -\frac{\eta T}{C_n} \\ R_1(1 – e^{-T/\tau_1}) \\ R_2(1 – e^{-T/\tau_2}) \end{bmatrix} $$

$$ C = \begin{bmatrix} \frac{\partial U_{oc}}{\partial SOC} & -1 & -1 \end{bmatrix} $$

$$ D = -R_0 $$

In these expressions, \(\tau_1 = R_1 C_1\) and \(\tau_2 = R_2 C_2\) are the time constants of the two RC branches. The derivative \(\frac{\partial U_{oc}}{\partial SOC}\) is obtained from the open-circuit voltage versus SOC curve. Because the lithium-ion cell exhibits a nonlinear OCV-SOC relationship, I fit the curve with a ninth-order polynomial. If \(S\) denotes SOC, then the fitted open-circuit voltage is:

$$ U_{oc} = 3060.5 S^9 – 13712.7 S^8 + 25908.7 S^7 – 26861.9 S^6 + 16655.1 S^5 – 6310.9 S^4 + 1434.4 S^3 – 185.1 S^2 + 12.47 S + 2.90 $$

This polynomial captures the flat middle region and the steeper regions near full charge and full discharge. For a lithium-ion cell, the OCV-SOC curve is not linear, and the slope changes significantly with SOC. Therefore, the linearization performed by the extended Kalman filter must use the local slope of this curve at each operating point.

Symbol Description Unit
\(U_{oc}\) Open-circuit voltage of the lithium-ion cell V
\(R_0\) Ohmic internal resistance \(\Omega\)
\(R_1\) Electrochemical polarization resistance \(\Omega\)
\(C_1\) Electrochemical polarization capacitance F
\(R_2\) Concentration polarization resistance \(\Omega\)
\(C_2\) Concentration polarization capacitance F
\(U_1\) Voltage across the first RC branch V
\(U_2\) Voltage across the second RC branch V
\(U\) Terminal voltage of the lithium-ion cell V
\(I\) Current, positive for discharge and negative for charge A
\(SOC\) State of charge —
\(C_n\) Rated capacity Ah
\(\eta\) Coulombic efficiency —
\(T\) Sampling period s

For parameter identification, I define the objective function as the residual sum of squares between the measured terminal voltage and the estimated terminal voltage. If \(U_{meas,k}\) is the measured terminal voltage at sample \(k\), \(U_{est,k}\) is the estimated terminal voltage at sample \(k\), and \(N\) is the number of samples, then the cost function is:

$$ J = \sum_{k=1}^{N} (U_{meas,k} – U_{est,k})^2 $$

The parameter vector to be optimized is:

$$ X = [R_0, R_1, R_2, C_1, C_2] $$

Each cat in the CSO population represents a candidate parameter vector. The position of a cat corresponds to a possible set of \(R_0, R_1, R_2, C_1, C_2\). The cats update their positions and velocities according to individual and social experiences. The velocity and position update equations are:

$$ v_i(t+1) = \omega v_i(t) + c_1 \mathrm{rand}()[p_{best,i} – x_i(t)] + c_2 \mathrm{rand}()[g_{best,i} – x_i(t)] $$

$$ x_i(t+1) = x_i(t) + v_i(t+1) $$

In these equations, \(\omega\) is the inertia weight, \(c_1\) and \(c_2\) are acceleration factors, \(\mathrm{rand}()\) is a random number uniformly distributed between zero and one, \(p_{best,i}\) is the best historical position of cat \(i\), and \(g_{best,i}\) is the best historical position of the entire swarm. I set the inertia weight in the range from 0.5 to 1.5 and the acceleration factors to 2.05. This setting provides a balanced trade-off between global exploration and local exploitation. It also helps the CSO algorithm avoid premature convergence when identifying parameters for a nonlinear lithium-ion cell model.

The CSO algorithm proceeds through several stages. First, I initialize the population of cats with random positions and small velocities. Second, each cat evaluates the objective function at its current position. Third, the cats update their velocities and positions using the individual best and global best positions. Fourth, I apply boundary handling to keep the parameters physically meaningful. For example, resistances and capacitances must remain positive, and the ohmic resistance must remain within a reasonable range. Fifth, I repeat the process until a maximum number of iterations is reached or the objective function converges. Finally, the best position of the swarm gives the identified parameter vector \(X^* = [R_0^*, R_1^*, R_2^*, C_1^*, C_2^*]\).

CSO Parameter Value or Range Role
Population size 30 to 60 Number of candidate parameter vectors
Maximum iterations 100 to 300 Stopping criterion
Inertia weight \(\omega\) 0.5 to 1.5 Balances exploration and exploitation
Acceleration factor \(c_1\) 2.05 Individual learning weight
Acceleration factor \(c_2\) 2.05 Social learning weight
Random function Uniform in [0,1] Adds stochastic search behavior
Objective function Residual sum of squares Measures terminal voltage fitting error

The CSO algorithm identifies the parameters of the second-order RC model at different SOC levels. The identified parameters are summarized in the following table. These values show that the ohmic resistance and polarization parameters vary with SOC, which is expected for a lithium-ion cell. The variation also indicates why a fixed parameter model may not be sufficient for accurate SOC estimation over the full operating range.

SOC \(R_0\) / m\(\Omega\) \(R_1\) / m\(\Omega\) \(C_1\) / kF \(R_2\) / m\(\Omega\) \(C_2\) / kF
0.0 0.933 1.6 17.45 1.2 902.34
0.1 1.100 2.0 14.49 1.1 450.24
0.2 0.933 2.4 17.13 1.3 768.31
0.3 1.100 2.2 14.88 1.2 818.22
0.4 0.929 2.5 10.24 1.5 569.55
0.5 1.100 2.8 9.32 1.9 496.16
0.6 0.929 2.4 12.23 2.3 277.48
0.7 0.775 2.5 10.08 1.2 674.44
0.8 1.200 3.0 13.37 1.0 1143.10
0.9 0.775 1.6 3.66 4.0 617.93
1.0 0.930 9.3 3.35 3.1 152.25

After parameter identification, I use the AEKF algorithm to estimate SOC. The standard extended Kalman filter linearizes the nonlinear lithium-ion cell model around the current state estimate. However, the standard EKF uses fixed noise covariance matrices, which can lead to biased estimates when the actual noise statistics change. The AEKF algorithm addresses this limitation by updating the process noise covariance \(Q\) and the measurement noise covariance \(R\) online. This adaptive mechanism improves robustness against modeling errors and measurement disturbances.

The AEKF algorithm begins with an initial state estimate and an initial error covariance matrix. The prediction step propagates the state and covariance through the linearized model. The update step corrects the predicted state using the measured terminal voltage. The adaptive step estimates the innovation covariance and adjusts \(Q\) and \(R\). The main equations are as follows.

State prediction:

$$ \hat{x}_{k+1}^- = A \hat{x}_k + B u_k $$

Covariance prediction:

$$ P_{k+1}^- = A P_k A^T + Q $$

Kalman gain:

$$ K_{k+1} = P_{k+1}^- C^T (C P_{k+1}^- C^T + R)^{-1} $$

State update:

$$ \hat{x}_{k+1} = \hat{x}_{k+1}^- + K_{k+1}(y_{k+1} – \hat{y}_{k+1}) $$

Covariance update:

$$ P_{k+1} = (I – K_{k+1} C) P_{k+1}^- $$

Innovation:

$$ e_{k+1} = y_{k+1} – \hat{y}_{k+1} $$

Innovation covariance estimate:

$$ F_{k+1} = \frac{1}{M} \sum_{j=k+2-M}^{k+1} e_j e_j^T $$

Measurement noise covariance update:

$$ R_{k+1} = F_{k+1} + C P_{k+1}^- C^T $$

Process noise covariance update:

$$ Q_{k+1} = K_{k+1} F_{k+1} K_{k+1}^T $$

In these equations, \(M\) is the length of the moving window used to estimate the innovation covariance. The window length controls how quickly the filter adapts to changes in noise statistics. If \(M\) is too small, the covariance estimates become noisy. If \(M\) is too large, the filter responds slowly to changes. I select \(M\) empirically to balance stability and adaptability for the lithium-ion cell under intermittent charging and discharging.

AEKF Step Equation Purpose
Initialization \(\hat{x}_0, P_0, Q_0, R_0\) Set initial state, covariance, and noise matrices
State prediction \(\hat{x}_{k+1}^- = A \hat{x}_k + B u_k\) Predict next state
Covariance prediction \(P_{k+1}^- = A P_k A^T + Q\) Predict next error covariance
Kalman gain \(K_{k+1} = P_{k+1}^- C^T (C P_{k+1}^- C^T + R)^{-1}\) Compute optimal gain
State update \(\hat{x}_{k+1} = \hat{x}_{k+1}^- + K_{k+1}(y_{k+1} – \hat{y}_{k+1})\) Correct state estimate
Covariance update \(P_{k+1} = (I – K_{k+1} C) P_{k+1}^-\) Correct error covariance
Innovation \(e_{k+1} = y_{k+1} – \hat{y}_{k+1}\) Measure new information
Adaptive noise update \(F, R, Q\) updates Adjust noise statistics online

To validate the proposed CSO-AEKF method, I set up a simulation and experimental framework using a lithium-ion cell with a rated capacity of 36 Ah and a nominal voltage of 3.2 V. The charge cutoff voltage is 3.7 V, and the discharge cutoff voltage is 2.5 V. The tests are performed at a controlled temperature of 25 °C. I use a battery test system to apply current profiles and record voltage and current data. The sampling period is selected to capture the fast dynamics of the lithium-ion cell while keeping the computational load acceptable for online implementation. The current for the intermittent charging and discharging tests is 12 A.

The intermittent charging condition is designed as follows. I divide the SOC range from 0 to 1.0 into ten intervals with a step of 0.1. In each interval, the lithium-ion cell is charged at 12 A for 20 min until the SOC increases by approximately 0.1. Then the cell rests for 1 h to simulate a pause in operation. This rest period allows the voltage to relax, which is important for observing the slow RC dynamics. The cycle repeats until the SOC reaches 1.0. The intermittent discharging condition uses the same structure but with discharge current instead of charge current. The cell is discharged at 12 A for 20 min, rests for 1 h, and repeats until the SOC reaches 0.

Test Condition Current Pulse Duration Rest Duration SOC Range
Intermittent charging 12 A 20 min 1 h 0 to 1.0
Intermittent discharging 12 A 20 min 1 h 1.0 to 0

The OCV-SOC curve is obtained by charging and discharging the lithium-ion cell at a low current of 1/3 C and allowing it to rest for 1 h before measuring the open-circuit voltage. The resulting curve is nonlinear. Near full charge and full discharge, the slope of the OCV-SOC curve is larger. In the middle SOC region, the curve is flatter. This shape affects the observability of SOC and the linearization accuracy of the extended Kalman filter. The ninth-order polynomial I use provides a smooth approximation of the measured curve and allows the derivative \(\frac{\partial U_{oc}}{\partial SOC}\) to be computed analytically.

For the terminal voltage prediction under intermittent charging, the GA-AEKF baseline keeps the error within about 1.0%, while the CSO-AEKF method keeps the error within about 0.5%. This improvement indicates that the CSO-identified parameters provide a better fit to the lithium-ion cell dynamics during charging pulses and rest periods. The CSO algorithm is able to search the parameter space more effectively than the genetic algorithm, especially when the objective function has multiple local minima. The better parameter identification directly improves the voltage prediction and the subsequent SOC estimate.

Method Maximum Terminal Voltage Error under Intermittent Charging Observation
GA-AEKF Within 1.0% Acceptable but less accurate
CSO-AEKF Within 0.5% Better fit to lithium-ion cell dynamics

For SOC estimation under intermittent charging, the GA-AEKF method has an error that does not exceed 0.40%, while the CSO-AEKF method has an error within 0.05%. This is a substantial improvement. The CSO-AEKF method maintains high accuracy across the full SOC range, including the flat middle region where SOC observability is weaker. The adaptive noise update in AEKF also helps the filter adjust to the changing voltage relaxation behavior after each rest period. Because the lithium-ion cell undergoes repeated charge pulses and rests, the polarization voltage changes significantly, and the filter must track these changes without introducing bias.

Method Maximum SOC Error under Intermittent Charging Relative Error
GA-AEKF Below 0.40% 0.40%
CSO-AEKF Below 0.05% 0.05%

For terminal voltage prediction under intermittent discharging, the GA-AEKF method has errors that are distributed around 0.5% for most of the discharge process, but the error increases near the end of discharge and reaches about 1.0%. The CSO-AEKF method keeps the error within 0.5% throughout the entire discharge process, even near the discharge cutoff. This behavior is important for a lithium-ion cell because the end-of-discharge region is where the voltage changes rapidly, and inaccurate prediction can lead to premature cutoff or overdischarge. The improved parameter identification from CSO helps the model capture the increased polarization and resistance effects near low SOC.

Method Maximum Terminal Voltage Error under Intermittent Discharging Observation
GA-AEKF About 1.0% near end of discharge Error increases at low SOC
CSO-AEKF Within 0.5% More stable across SOC range

For SOC estimation under intermittent discharging, the GA-AEKF method shows an error that gradually increases as SOC decreases, reaching about 1.5% near the end of discharge. The CSO-AEKF method maintains an error around 0.1% during most of the discharge process. Near the end of discharge, the error increases but remains below 1.4%. The comparison shows that the CSO-AEKF method is more accurate and more stable than the GA-AEKF method. The improvement is especially noticeable in the low-SOC region, where the lithium-ion cell exhibits stronger nonlinearity and larger parameter variations.

Method SOC Error during Most of Discharge Maximum SOC Error near End of Discharge
GA-AEKF Gradually increases About 1.5%
CSO-AEKF About 0.1% Below 1.4%

The results can be summarized in a comparative table. Under intermittent charging, the CSO-AEKF method achieves a relative SOC error of 0.05%, while the GA-AEKF method achieves 0.40%. Under intermittent discharging, the CSO-AEKF method achieves a relative SOC error of 0.10% for most of the discharge, while the GA-AEKF method grows to about 1.5% near the end. These values demonstrate that the CSO-AEKF method provides better stability and estimation accuracy for the lithium-ion cell.

Condition Metric GA-AEKF CSO-AEKF
Intermittent charging Terminal voltage error Within 1.0% Within 0.5%
Intermittent charging SOC relative error 0.40% 0.05%
Intermittent discharging Terminal voltage error About 1.0% near end Within 0.5%
Intermittent discharging SOC relative error About 1.5% near end 0.10% typical, below 1.4% near end

The superiority of the CSO-AEKF method comes from two sources. First, the CSO algorithm provides a more accurate parameter set for the second-order RC model. The genetic algorithm can also optimize parameters, but it may converge to a local optimum or require more iterations. The CSO algorithm uses a population of cats with individual and social learning, which helps it explore the parameter space more thoroughly. The inertia weight and acceleration factors are chosen to balance exploration and exploitation. As a result, the identified resistances and capacitances better represent the actual lithium-ion cell behavior under intermittent charging and discharging.

Second, the AEKF algorithm adapts the noise covariance matrices online. The standard EKF assumes that the process noise and measurement noise are constant. In practice, the noise statistics of a lithium-ion cell can change with SOC, current rate, temperature, and aging. The AEKF algorithm estimates the innovation covariance over a moving window and updates \(Q\) and \(R\) accordingly. This helps the filter maintain consistency between the model prediction and the measured terminal voltage. When the model error increases, the adaptive mechanism increases the uncertainty and prevents the filter from becoming overconfident in a biased estimate.

I also note that the second-order RC model provides a good balance between accuracy and complexity. A first-order RC model is simpler and computationally cheaper, but it cannot capture both fast and slow polarization dynamics as well. A higher-order model may improve accuracy further, but it increases the number of parameters and the computational burden. For online SOC estimation in a battery management system, the second-order RC model is a practical choice. It represents the lithium-ion cell with enough fidelity to support accurate SOC estimation while remaining suitable for real-time implementation.

The open-circuit voltage curve is a critical part of the model. Because the OCV-SOC relationship is nonlinear, the extended Kalman filter must linearize the output equation at each time step. The ninth-order polynomial I use provides a smooth and differentiable representation of the curve. The derivative \(\frac{\partial U_{oc}}{\partial SOC}\) is used in the observation matrix \(C\). If this derivative is inaccurate, the Kalman gain will be suboptimal, and the SOC estimate may converge slowly or exhibit oscillations. The CSO algorithm helps indirectly by improving the model parameters, but the OCV-SOC curve itself must also be accurate. I obtain this curve through low-current charge and discharge tests followed by long rest periods.

The intermittent charging and discharging profiles are useful for validating SOC estimators because they include both dynamic and static periods. During current pulses, the lithium-ion cell exhibits ohmic drop and polarization. During rest periods, the voltage relaxes and the RC branch voltages decay. A good model must capture both behaviors. The CSO-AEKF method performs well in both phases. During pulses, the terminal voltage prediction remains accurate. During rests, the SOC estimate does not drift significantly. This indicates that the identified parameters and the adaptive filter together provide a robust solution.

One important aspect of the AEKF algorithm is the window length \(M\). The innovation covariance estimate \(F\) is computed from the most recent \(M\) innovations. If \(M\) is too small, \(F\) becomes noisy, and the adaptive updates to \(Q\) and \(R\) may fluctuate. If \(M\) is too large, the filter responds slowly to changes in noise statistics. I choose \(M\) based on the sampling period and the expected rate of change in the operating conditions. For the lithium-ion cell tests in this study, a moderate window length provides stable adaptation without excessive lag.

The process noise covariance \(Q\) represents uncertainty in the state transition model. The measurement noise covariance \(R\) represents uncertainty in the terminal voltage measurement. In the AEKF algorithm, both matrices are updated using the innovation sequence. The update equations are:

$$ Q_{k+1} = K_{k+1} F_{k+1} K_{k+1}^T $$

$$ R_{k+1} = F_{k+1} + C P_{k+1}^- C^T $$

These updates allow the filter to adjust to the actual noise level. When the lithium-ion cell model is accurate, \(F\) is small, and the filter trusts the model more. When the model error increases, \(F\) becomes larger, and the filter increases \(Q\) and \(R\). This adaptive behavior is particularly useful when the lithium-ion cell operates over a wide SOC range, because the model parameters and nonlinearities change with SOC.

The CSO algorithm also has advantages in terms of robustness. The objective function \(J\) is based on the residual sum of squares of terminal voltage. This objective is sensitive to parameter errors, especially when the current profile contains rich excitation. The intermittent charging and discharging profiles provide both pulse and rest periods, which excite the fast and slow dynamics of the lithium-ion cell. The CSO algorithm can search for parameters that minimize the voltage error across the entire profile. Because the algorithm uses a population of solutions, it is less likely to become trapped in a poor local minimum than a single-solution optimizer.

The comparison with GA-AEKF is useful because the genetic algorithm is a well-known global optimization method. However, the GA may require careful tuning of crossover and mutation rates. It may also converge slowly when the parameter space is large. The CSO algorithm has a simpler update structure and can be implemented efficiently. In this study, the CSO-AEKF method achieves better accuracy than the GA-AEKF method under both intermittent charging and intermittent discharging. This suggests that the CSO algorithm is well suited to parameter identification for the second-order RC model of a lithium-ion cell.

The proposed method also has limitations. The tests are performed at 25 °C, and temperature effects are not included in the model. In reality, the parameters of a lithium-ion cell vary with temperature. The ohmic resistance increases at low temperature, and the polarization dynamics change as well. The OCV-SOC curve also depends on temperature, although the dependence may be weaker than the resistance dependence. If the battery management system must operate over a wide temperature range, the model parameters should be identified as functions of temperature, or the AEKF should include temperature as an additional state or input. Future work should incorporate temperature into the parameter identification and SOC estimation framework.

Another limitation is that the model parameters are identified at discrete SOC points and then interpolated. This approach works well when the SOC grid is sufficiently fine. However, if the SOC changes rapidly, the interpolation may introduce small errors. A possible improvement is to use a continuous parameter model, such as a polynomial or neural network, that maps SOC and temperature to the equivalent circuit parameters. The CSO algorithm could then optimize the coefficients of this mapping. This would allow the parameters to vary smoothly with operating conditions and could improve accuracy further.

The computational cost of the proposed method is also a consideration. The CSO algorithm is an offline or semi-online optimization step. Once the parameters are identified, the AEKF algorithm runs online with a fixed model structure. The AEKF algorithm requires matrix operations at each time step, but the state dimension is only three, so the computational load is modest. This makes the method suitable for real-time implementation in a battery management system. If the parameters need to be updated online, a recursive identification method could be combined with the AEKF, but that would increase computational complexity.

The results of this study support the conclusion that the CSO-AEKF method is an effective approach for SOC estimation of a lithium-ion cell. The method combines a second-order RC equivalent circuit model, CSO-based parameter identification, and AEKF-based state estimation. The CSO algorithm provides accurate model parameters, and the AEKF algorithm provides robust state estimation with adaptive noise updates. Under intermittent charging, the relative SOC error is 0.05%. Under intermittent discharging, the relative SOC error is 0.10% for most of the discharge and remains below 1.4% near the end. These values are better than those obtained with the GA-AEKF baseline.

In summary, I have developed and validated a CSO-AEKF method for SOC estimation of a lithium-ion cell. The method uses a second-order RC model to represent the lithium-ion cell dynamics, CSO to identify the model parameters, and AEKF to estimate SOC with online noise adaptation. The experimental results show improved accuracy and stability compared with a GA-AEKF baseline. The proposed method is suitable for battery management systems that require reliable SOC estimation under dynamic and intermittent operating conditions. Future work will focus on incorporating temperature effects, aging effects, and online parameter updating to further improve the robustness of SOC estimation for lithium-ion cells.

Contribution Description
Model Second-order RC equivalent circuit for a lithium-ion cell
Parameter identification CSO algorithm minimizing terminal voltage residual sum of squares
State estimation AEKF with adaptive process and measurement noise covariance
Validation Intermittent charging and discharging tests at 25 °C
Comparison CSO-AEKF outperforms GA-AEKF in SOC accuracy and stability
Future work Temperature, aging, and online parameter adaptation

The equations and tables presented in this work provide a complete description of the proposed method. The model equations describe the electrical behavior of the lithium-ion cell. The CSO equations describe the parameter optimization process. The AEKF equations describe the SOC estimation process. The tables summarize the model parameters, algorithm settings, test conditions, and error results. Together, these elements show that the CSO-AEKF method is a practical and accurate solution for SOC estimation of a lithium-ion cell. The method can be implemented in a battery management system to improve energy utilization, prevent overcharge and overdischarge, and extend the service life of the lithium-ion cell.

I conclude that the CSO-AEKF method provides a strong framework for SOC estimation. By combining a physically meaningful equivalent circuit model with a global optimization algorithm and an adaptive Kalman filter, the method achieves high accuracy under challenging operating conditions. The use of CSO improves parameter identification, and the use of AEKF improves filtering robustness. The comparison with GA-AEKF confirms the advantages of the proposed approach. For future lithium-ion cell management systems, the CSO-AEKF method offers a promising path toward more reliable and accurate SOC estimation.

Scroll to Top