I focus on the core state-awareness problem of an electric vehicle battery pack: how to estimate state of charge (SOC) and predict remaining useful life (RUL) with high accuracy when the pack operates under real dynamic currents, variable temperatures, and long-term aging. In an electric vehicle battery pack, SOC supports energy management, driving-range estimation, and overcharge or over-discharge protection, while RUL supports maintenance planning, replacement decisions, and second-life utilization. Because both quantities are hidden states that cannot be measured directly, I build my work around model-based filtering, data-driven residual learning, multi-scale signal decomposition, and attention-enhanced recurrent networks. The overall goal is to make SOC and RUL prediction reliable for an electric vehicle battery pack rather than only for idealized constant-current laboratory tests.

The motivation is straightforward. An electric vehicle battery pack experiences rapid current pulses, regenerative braking, acceleration, low-temperature impedance growth, high-temperature side reactions, and cell-to-cell inconsistency. These effects make fixed-parameter models and single-scale predictors fragile. I therefore design a combined SOC estimation framework and a combined RUL prediction framework, and I validate both with dynamic cycling data, multi-temperature data, public aging data, and laboratory aging data.
SOC and RUL Definitions
I use the capacity-based SOC definition as the main reference:
$$
SOC(t)=\frac{C_{\text{now}}(t)}{C_{\text{max}}}
$$
where \(C_{\text{now}}(t)\) is the remaining usable capacity at time \(t\), and \(C_{\text{max}}\) is the present maximum usable capacity. For an electric vehicle battery pack, \(C_{\text{max}}\) changes with aging, temperature, and load history. I also consider the discharged-charge form:
$$
SOC(t)=1-\frac{Q_{\text{dis}}(t)}{Q_{\text{max}}}
$$
and the current-integration form:
$$
SOC(t)=SOC(t_0)-\frac{1}{C_n}\int_{t_0}^{t} I(\tau)\,d\tau
$$
These definitions are mathematically simple but operationally difficult because current measurement bias, capacity fade, temperature dependence, and model mismatch are unavoidable in an electric vehicle battery pack. RUL is defined as the number of cycles remaining before the cell or pack reaches an end-of-life threshold:
$$
RUL=N_{\text{EOL}}-N_{\text{now}}
$$
where \(N_{\text{EOL}}\) is the cycle index at the failure threshold, and \(N_{\text{now}}\) is the current cycle index. I use a capacity-fade threshold of 80% of rated capacity for aging evaluation. In an electric vehicle battery pack, RUL is not only a health index but also a safety and economic index.
Experimental Platform and Dataset Construction
I built a battery test platform consisting of a multi-channel battery tester, a programmable thermal chamber, and host software for real-time control and data logging. The platform records voltage, current, capacity, power, time, and temperature at high sampling frequency. I use commercial 18650 ternary lithium cells as the main experimental objects because this chemistry is widely used in electric vehicle battery pack applications. The main cell parameters are summarized in Table 1.
| Parameter | Cell Type A | Cell Type B |
|---|---|---|
| Nominal capacity | 3.4 Ah | 2.0 Ah |
| Nominal voltage | 3.7 V | 3.7 V |
| Charge cutoff voltage | 4.2 V | 4.2 V |
| Discharge cutoff voltage | 2.75 V | 2.75 V |
| Charge cutoff current | 0.02 C | 0.02 C |
| Maximum discharge current | 10 A | 8 A |
| Operating temperature | -20 to 60 °C | -20 to 55 °C |
For SOC estimation, I designed dynamic condition tests including Federal Urban Driving Schedule (FUDS), Dynamic Stress Test (DST), Worldwide Harmonized Light Vehicles Test Procedure (WLTP), and US06. I repeated these tests at 0 °C, 25 °C, and 40 °C to represent cold, normal, and hot environments for an electric vehicle battery pack. The test matrix is shown in Table 2.
| Test Dimension | Conditions | Purpose |
|---|---|---|
| Dynamic cycles | FUDS, DST, WLTP, US06 | Represent urban, stress, light-duty, and aggressive driving |
| Temperatures | 0 °C, 25 °C, 40 °C | Represent cold, normal, and hot operation |
| SOC datasets | 12 groups | Validate dynamic SOC estimation |
| Charging protocol | CCCV | Ensure repeatable initial state |
| Discharge protocol | Dynamic load to cutoff | Simulate electric vehicle battery pack demand |
For RUL prediction, I constructed two aging datasets. Dataset A is a public lithium-ion aging dataset with three cells labeled B5, B6, and B7. Dataset B is my laboratory-measured aging dataset, including rated-current cycling and FUDS dynamic cycling. The rated-current aging test contains 210 cycles, and the FUDS dynamic aging test contains 130 cycles. Table 3 summarizes the RUL datasets.
| Dataset | Cell / Condition | Cycles | Failure Threshold |
|---|---|---|---|
| Dataset A | B5 | 168 | 80% of rated capacity |
| Dataset A | B6 | 168 | 80% of rated capacity |
| Dataset A | B7 | 168 | 80% of rated capacity |
| Dataset B | Rated current discharge | 210 | 80% of rated capacity |
| Dataset B | FUDS dynamic discharge | 130 | 80% of rated capacity |
SOC Estimation Framework
I use a second-order Thévenin equivalent circuit model as the physical foundation. For an electric vehicle battery pack, a second-order RC model provides a good compromise between physical interpretability and computational cost. The terminal voltage is:
$$
U_t=OCV(SOC)-I R_0-U_{RC1}-U_{RC2}
$$
The two RC branches obey:
$$
\frac{dU_{RC1}}{dt}=-\frac{1}{R_1 C_1}U_{RC1}+\frac{1}{C_1}I
$$
$$
\frac{dU_{RC2}}{dt}=-\frac{1}{R_2 C_2}U_{RC2}+\frac{1}{C_2}I
$$
The SOC dynamics are:
$$
\dot{SOC}=-\frac{\eta I}{Q_n}
$$
where \(\eta\) is Coulombic efficiency and \(Q_n\) is nominal capacity. I define the state vector as:
$$
x=\begin{bmatrix} SOC & U_{RC1} & U_{RC2} \end{bmatrix}^{T}
$$
The discrete nonlinear state-space form is:
$$
x_{k+1}=f(x_k,u_k)+w_k
$$
$$
y_k=h(x_k,u_k)+v_k
$$
where \(u_k=I_k\), \(y_k=U_{t,k}\), and \(w_k\) and \(v_k\) are process and measurement noise. I use polynomial fitting to represent \(OCV(SOC)\). This model is the baseline for all subsequent SOC filters.
UKF Baseline Estimation
I select the unscented Kalman filter (UKF) for baseline estimation because it avoids explicit Jacobian linearization and captures second-order nonlinear effects. For an \(n\)-dimensional state, I generate \(2n+1\) sigma points:
$$
\chi_0=\hat{x}
$$
$$
\chi_i=\hat{x}+\sqrt{(n+\lambda)P}, \quad i=1,\dots,n
$$
$$
\chi_{i+n}=\hat{x}-\sqrt{(n+\lambda)P}, \quad i=1,\dots,n
$$
with:
$$
\lambda=\alpha^2(n+\kappa)-n
$$
The predicted mean and covariance are:
$$
\hat{x}_{k+1|k}=\sum_{i=0}^{2n} W_i^{(m)} \chi_{i,k+1|k}
$$
$$
P_{k+1|k}=\sum_{i=0}^{2n} W_i^{(c)} (\chi_{i,k+1|k}-\hat{x}_{k+1|k})(\chi_{i,k+1|k}-\hat{x}_{k+1|k})^T+Q
$$
The measurement update uses:
$$
K_k=P_{xy}P_{yy}^{-1}
$$
$$
\hat{x}_{k|k}=\hat{x}_{k|k-1}+K_k(y_k-\hat{y}_{k|k-1})
$$
$$
P_{k|k}=P_{k|k-1}-K_kP_{yy}K_k^T
$$
Although UKF gives a stable baseline, its performance degrades when noise statistics are time-varying. In an electric vehicle battery pack, noise statistics change with temperature, current rate, SOC region, and aging. Therefore, I introduce two optimization branches: adaptive dual extended Kalman filtering (DEKF) and multiple model adaptive estimation (MMAE).
Adaptive DEKF Branch
The DEKF branch updates process noise covariance \(Q\) and measurement noise covariance \(R\) by using innovation statistics. The update laws are:
$$
Q_{t+1}=(1-\gamma_Q)Q_t+\gamma_Q e_t e_t^T
$$
$$
R_{t+1}=(1-\gamma_R)R_t+\gamma_R(\tilde{y}_t \tilde{y}_t^T)
$$
where \(e_t\) is the state prediction error, \(\tilde{y}_t\) is the innovation, and \(\gamma_Q\) and \(\gamma_R\) are adaptation weights. This branch suppresses model mismatch when the load profile changes abruptly. For an electric vehicle battery pack, adaptive DEKF is attractive because it preserves a physical state-space structure while allowing noise parameters to follow operating conditions.
MMAE Branch
The MMAE branch runs multiple UKF filters in parallel. Each filter corresponds to a different noise-statistics hypothesis. The likelihood of model \(M_i\) is computed from the innovation, and the model weight is updated as:
$$
\mu_i(k)=\frac{p(y_k|M_i)\mu_i(k-1)}{\sum_{j=1}^{N}p(y_k|M_j)\mu_j(k-1)}
$$
The fused SOC estimate is:
$$
\hat{x}(k)=\sum_{i=1}^{N}\mu_i(k)\hat{x}_i(k)
$$
with:
$$
\sum_{i=1}^{N}\mu_i(k)=1
$$
This branch provides robust estimation when a single noise model is invalid. In an electric vehicle battery pack, the MMAE structure is useful because driving behavior and thermal states are not stationary.
GRU Residual Correction
After filtering, I train a gated recurrent unit (GRU) network to predict the residual between the filtered SOC and the reference SOC. The corrected SOC is:
$$
SOC_{\text{final}}(t)=SOC_{\text{filter}}(t)+f_{\text{GRU}}(X_t)
$$
The input feature set is:
$$
X_t=\begin{bmatrix} V_t & I_t & T_t & SOC_{\text{filter}}(t) & \Delta V_t & \Delta I_t & Cycle_t \end{bmatrix}
$$
The GRU uses an update gate and a reset gate:
$$
z_t=\sigma(W_z x_t+U_z h_{t-1}+b_z)
$$
$$
r_t=\sigma(W_r x_t+U_r h_{t-1}+b_r)
$$
$$
\tilde{h}_t=\tanh(W_h x_t+U_h(r_t\odot h_{t-1})+b_h)
$$
$$
h_t=(1-z_t)\odot h_{t-1}+z_t\odot \tilde{h}_t
$$
The training target is:
$$
\text{Target}=SOC_{\text{ref}}(t)-SOC_{\text{filter}}(t)
$$
I use a sliding window of 10 to 20 time steps. The training configuration is listed in Table 4.
| Item | Value |
|---|---|
| Optimizer | Adam |
| Learning rate | 1e-3 |
| Batch size | 64 |
| Loss | Mean squared error |
| Epochs | 100 |
| Hidden units | 128 |
SOC Evaluation Metrics
I use four metrics:
$$
RMSE=\sqrt{\frac{1}{N}\sum_{i=1}^{N}(y_i-\hat{y}_i)^2}
$$
$$
MAE=\frac{1}{N}\sum_{i=1}^{N}|y_i-\hat{y}_i|
$$
$$
MAPE=\frac{100}{N}\sum_{i=1}^{N}\left|\frac{y_i-\hat{y}_i}{y_i+\epsilon}\right|
$$
$$
R^2=1-\frac{\sum_{i=1}^{N}(y_i-\hat{y}_i)^2}{\sum_{i=1}^{N}(y_i-\bar{y})^2}
$$
Here \(y_i\) is the reference SOC, \(\hat{y}_i\) is the estimated SOC, and \(\epsilon\) avoids division by zero. An accurate SOC estimator for an electric vehicle battery pack should have low RMSE, low MAE, low MAPE, and \(R^2\) close to one.
SOC Model Configurations and Results
I compare five configurations:
| Label | Model | Role |
|---|---|---|
| G0 | ECM-UKF | Baseline |
| G1 | UKF-DEKF | Adaptive noise branch |
| G2 | UKF-MMAE | Multi-model robust branch |
| G3 | UKF-DEKF-GRU | Adaptive filtering plus residual correction |
| G4 | UKF-MMAE-GRU | Multi-model filtering plus residual correction |
Table 5 reports the SOC results at 25 °C for four dynamic cycles. The GRU-corrected models clearly outperform the pure filtering models. For FUDS, G3 reduces RMSE from 8.31% to 0.67% and increases \(R^2\) from 0.9233 to 0.9992. For DST, G3 reaches RMSE of 0.3753% and \(R^2\) of 0.9998. For WLTP, G3 and G4 both maintain \(R^2\) at 0.9996. For US06, G3 reaches RMSE of 0.6085% and \(R^2\) of 0.9996.
| Cycle | Model | MAE (%) | RMSE (%) | MAPE (%) | R2 |
|---|---|---|---|---|---|
| FUDS | G0 | 8.1324 | 8.9563 | 10.9645 | 0.9158 |
| FUDS | G1 | 7.4854 | 8.3115 | 9.7632 | 0.9233 |
| FUDS | G2 | 7.1873 | 7.9774 | 10.5436 | 0.9393 |
| FUDS | G3 | 0.5996 | 0.6745 | 1.1634 | 0.9992 |
| FUDS | G4 | 0.8902 | 0.9669 | 1.3258 | 0.9989 |
| DST | G0 | 5.9562 | 6.1258 | 15.8579 | 0.9567 |
| DST | G1 | 5.1053 | 5.5840 | 15.4636 | 0.9642 |
| DST | G2 | 4.9039 | 5.3426 | 14.8736 | 0.9672 |
| DST | G3 | 0.2623 | 0.3753 | 1.3255 | 0.9998 |
| DST | G4 | 0.4676 | 0.4995 | 1.7894 | 0.9997 |
| WLTP | G0 | 7.8542 | 8.2537 | 19.2458 | 0.9258 |
| WLTP | G1 | 7.0540 | 7.5992 | 18.9424 | 0.9377 |
| WLTP | G2 | 7.0131 | 7.5515 | 18.7826 | 0.9385 |
| WLTP | G3 | 0.5107 | 0.5932 | 1.3207 | 0.9996 |
| WLTP | G4 | 0.5156 | 0.5655 | 1.3797 | 0.9996 |
| US06 | G0 | 0.9847 | 1.5627 | 6.2573 | 0.9927 |
| US06 | G1 | 0.9567 | 1.2038 | 5.5188 | 0.9983 |
| US06 | G2 | 0.9505 | 1.1887 | 4.7632 | 0.9983 |
| US06 | G3 | 0.4540 | 0.6085 | 1.4351 | 0.9996 |
| US06 | G4 | 0.4982 | 0.6263 | 2.5816 | 0.9995 |
I further test the SOC framework at 0 °C, 25 °C, and 40 °C. Temperature is a major disturbance for an electric vehicle battery pack because low temperature increases polarization and high temperature accelerates side reactions. Table 6 summarizes the multi-temperature results for the two best models, G3 and G4. Across all combinations, RMSE remains below 1%, and \(R^2\) remains above 0.9989. At 0 °C in WLTP, G4 reaches MAE of 0.0908%, RMSE of 0.1151%, and \(R^2\) of 0.9999. At 40 °C in DST, G4 reaches RMSE of 0.2855%. These results show that GRU residual correction successfully compensates temperature-induced model bias.
| Cycle | Model | Temperature | MAE (%) | RMSE (%) | MAPE (%) | R2 |
|---|---|---|---|---|---|---|
| FUDS | G3 | 0 °C | 0.5854 | 0.6571 | 2.1038 | 0.9995 |
| FUDS | G3 | 25 °C | 0.5996 | 0.6745 | 1.1634 | 0.9989 |
| FUDS | G3 | 40 °C | 0.5635 | 0.6475 | 3.4509 | 0.9995 |
| FUDS | G4 | 0 °C | 0.8152 | 0.8673 | 2.5553 | 0.9991 |
| FUDS | G4 | 25 °C | 0.8902 | 0.9669 | 1.3258 | 0.9989 |
| FUDS | G4 | 40 °C | 0.6864 | 0.7474 | 2.1542 | 0.9993 |
| DST | G3 | 0 °C | 0.3316 | 0.4770 | 0.9850 | 0.9997 |
| DST | G3 | 25 °C | 0.2623 | 0.3753 | 1.3255 | 0.9998 |
| DST | G3 | 40 °C | 0.3997 | 0.5474 | 2.0052 | 0.9996 |
| DST | G4 | 0 °C | 0.4681 | 0.5054 | 1.3716 | 0.9997 |
| DST | G4 | 25 °C | 0.4676 | 0.4995 | 1.7894 | 0.9997 |
| DST | G4 | 40 °C | 0.2585 | 0.2855 | 1.5410 | 0.9998 |
| WLTP | G3 | 0 °C | 0.1091 | 0.1575 | 0.2122 | 0.9999 |
| WLTP | G3 | 25 °C | 0.5107 | 0.5932 | 1.3207 | 0.9996 |
| WLTP | G3 | 40 °C | 0.5302 | 0.5951 | 1.8595 | 0.9996 |
| WLTP | G4 | 0 °C | 0.0908 | 0.1151 | 0.1718 | 0.9999 |
| WLTP | G4 | 25 °C | 0.5156 | 0.5655 | 1.3797 | 0.9996 |
| WLTP | G4 | 40 °C | 0.5302 | 0.5951 | 1.8595 | 0.9996 |
| US06 | G3 | 0 °C | 0.2932 | 0.3549 | 0.9973 | 0.9998 |
| US06 | G3 | 25 °C | 0.4540 | 0.6085 | 1.4351 | 0.9996 |
| US06 | G3 | 40 °C | 0.5033 | 0.6664 | 1.6687 | 0.9995 |
| US06 | G4 | 0 °C | 0.3193 | 0.3630 | 1.2032 | 0.9998 |
| US06 | G4 | 25 °C | 0.4982 | 0.6263 | 2.5816 | 0.9995 |
| US06 | G4 | 40 °C | 0.4893 | 0.6239 | 2.4627 | 0.9995 |
I also compare my SOC models with several published-style alternatives under the same DST condition at 25 °C. Table 7 shows that G3 and G4 achieve lower MAE and RMSE than a particle-swarm optimized CNN-LSTM, an improved optimization TCN-LSTM, an adaptive forgetting factor recursive least squares AUKF, a singular-value-decomposition UKF-EKF, and an LSTM-Transformer hybrid. This comparison supports the effectiveness of the filtering-plus-residual-correction design for an electric vehicle battery pack.
| Model | MAE (%) | RMSE (%) |
|---|---|---|
| G3, my model | 0.2623 | 0.3753 |
| G4, my model | 0.4676 | 0.4995 |
| PSO-CNN-LSTM | 0.52 | 0.73 |
| IMOA-TCN-LSTM | 0.613 | 0.698 |
| IAFFRLS-AUKF | 0.5144 | 0.6152 |
| SVDUKF-EKF | 0.87 | 0.99 |
| LSTM-Transformer | 0.49 | 0.58 |
RUL Prediction Framework
For RUL prediction, I extract five health indicators from discharge data. They combine local dynamic response and global statistical accumulation. The definitions are given in Table 8.
| Feature | Name | Physical Meaning |
|---|---|---|
| HI1 | Voltage change from 3.8 V to 1000 s | Voltage decay trend during aging |
| HI2 | Time from 3.6 V to 3.2 V | Capacity fade speed |
| HI3 | Discharge capacity integral | Direct capacity degradation |
| HI4 | Average discharge voltage | Voltage plateau and reaction consistency |
| HI5 | Discharge energy integral | Energy delivery capability |
I use Spearman rank correlation to evaluate monotonic relationships between each health indicator and RUL:
$$
\rho=\frac{\sum_{i=1}^{n}(P_i-\bar{P})(Q_i-\bar{Q})}{\sqrt{\sum_{i=1}^{n}(P_i-\bar{P})^2}\sqrt{\sum_{i=1}^{n}(Q_i-\bar{Q})^2}}
$$
where \(P_i\) and \(Q_i\) are ranks. Table 9 shows that all five indicators are strongly correlated with RUL. HI3 has the highest correlation for B5, and HI4 performs very well for B6 and B7. This confirms that the feature set captures multiple degradation mechanisms inside an electric vehicle battery pack.
| Health Indicator | B5 Spearman | B6 Spearman | B7 Spearman |
|---|---|---|---|
| HI1 | 0.9927 | 0.9955 | 0.9971 |
| HI2 | 0.9904 | 0.9982 | 0.9941 |
| HI3 | 0.9994 | 0.9967 | 0.9950 |
| HI4 | 0.9746 | 0.9992 | 0.9982 |
| HI5 | 0.9932 | 0.9983 | 0.9543 |
KPCA-Based Integrated Health Index
I use kernel principal component analysis (KPCA) to fuse the five health indicators into an integrated health index (IHI). KPCA maps the original features into a high-dimensional feature space through a kernel function:
$$
K(x_i,x_j)=\langle \Phi(x_i),\Phi(x_j)\rangle
$$
I choose the radial basis function kernel:
$$
K(x_i,x_j)=\exp\left(-\gamma \|x_i-x_j\|^2\right)
$$
where:
$$
\gamma=\frac{1}{n_{\text{features}}}
$$
I normalize all features to \([0,1]\) before KPCA. The first principal component has a variance contribution close to 100%, so I use it as IHI. Table 10 shows that IHI has a high Spearman correlation with RUL for all three cells. This means IHI is a compact but reliable health representation for an electric vehicle battery pack.
| Cell | Spearman Correlation between IHI and RUL |
|---|---|
| B5 | 0.9927 |
| B6 | 0.9854 |
| B7 | 0.9946 |
VMD Multi-Scale Decomposition
Battery aging data often contain local capacity recovery, sudden drops, and measurement noise. I apply variational mode decomposition (VMD) to IHI to separate the global trend from local fluctuations. VMD solves a constrained variational problem:
$$
\min_{\{u_k\},\{\omega_k\}}\sum_{k=1}^{K}\left\|\partial_t\left[\left(\delta(t)+\frac{j}{\pi t}\right)*u_k(t)\right]e^{-j\omega_k t}\right\|_2^2
$$
subject to:
$$
\sum_{k=1}^{K}u_k(t)=f(t)
$$
I set the mode number \(K=3\), the penalty factor \(\alpha=2000\), and the convergence tolerance to \(1e-6\). The three modes have distinct roles:
| Mode | Role in Aging Signal | Use in Prediction |
|---|---|---|
| IMF1 | Global degradation trend | Selected as model input |
| IMF2 | Local capacity recovery and short-term fluctuation | Analyzed but not used as main input |
| IMF3 | High-frequency noise | Suppressed |
Table 11 reports the Spearman correlation between each VMD component and RUL. IMF1 is highly correlated with RUL, while IMF2 and IMF3 are weakly correlated. Therefore, I use IMF1 as the prediction input. This step is important for an electric vehicle battery pack because it prevents local fluctuations from being mistaken as long-term degradation.
| Cell | Component | Spearman Correlation |
|---|---|---|
| B5 | IMF1 | 0.9985 |
| B5 | IMF2 | 0.0486 |
| B5 | IMF3 | 0.0642 |
| B6 | IMF1 | 0.9846 |
| B6 | IMF2 | 0.0875 |
| B6 | IMF3 | 0.0468 |
| B7 | IMF1 | 0.9962 |
| B7 | IMF2 | 0.0532 |
| B7 | IMF3 | 0.0463 |
D-BiLSTM-A Prediction Model
I build a Dropout-BiLSTM-Attention model. A bidirectional long short-term memory network uses past and future context, which is useful when the degradation trend has both slow drift and abrupt changes. The LSTM gates are:
$$
i_t=\sigma(W_i[h_{t-1},x_t]+b_i)
$$
$$
f_t=\sigma(W_f[h_{t-1},x_t]+b_f)
$$
$$
o_t=\sigma(W_o[h_{t-1},x_t]+b_o)
$$
$$
\tilde{C}_t=\tanh(W_C[h_{t-1},x_t]+b_C)
$$
$$
C_t=f_t\odot C_{t-1}+i_t\odot \tilde{C}_t
$$
$$
h_t=o_t\odot \tanh(C_t)
$$
The BiLSTM output is:
$$
h_t^{\text{BiLSTM}}=[h_t^{\text{forward}},h_t^{\text{backward}}]
$$
I add dropout to reduce overfitting:
$$
z_i\sim \text{Bernoulli}(1-p)
$$
$$
y=x\odot z
$$
At test time, the output is scaled as:
$$
y_{\text{test}}=\frac{y}{1-p}
$$
I use attention to assign larger weights to important degradation steps:
$$
e_{ij}=\frac{Q_i K_j^T}{\sqrt{d_k}}
$$
$$
\alpha_{ij}=\frac{\exp(e_{ij})}{\sum_{k=1}^{n}\exp(e_{ik})}
$$
$$
C_i=\sum_{j=1}^{n}\alpha_{ij}V_j
$$
The overall RUL prediction pipeline is: extraction of HI1 to HI5, KPCA fusion to IHI, VMD decomposition of IHI, selection of IMF1, and D-BiLSTM-A prediction. This pipeline is designed for an electric vehicle battery pack because it combines physical health indicators with deep temporal modeling.
RUL Results on Dataset A
I compare three models: M1 is BiLSTM, M2 is BiLSTM-Attention, and M3 is my Dropout-BiLSTM-Attention model. I use the first 30% of cycles for training and the remaining 70% for testing. Table 12 summarizes the ablation results. M3 achieves the lowest MAE and RMSE and the highest \(R^2\) on all three cells. For B5, M3 reaches MAE of 1.58%, RMSE of 1.65%, and \(R^2\) of 0.9815. For B6, M3 reaches MAE of 0.97%, RMSE of 1.26%, and \(R^2\) of 0.9935. For B7, M3 reaches MAE of 1.10%, RMSE of 1.62%, and \(R^2\) of 0.9865.
| Cell | Model | MAE (%) | RMSE (%) | R2 |
|---|---|---|---|---|
| B5 | M1 | 1.97 | 2.34 | 0.9286 |
| B5 | M2 | 1.79 | 2.04 | 0.9449 |
| B5 | M3 | 1.58 | 1.65 | 0.9815 |
| B6 | M1 | 1.63 | 1.97 | 0.9642 |
| B6 | M2 | 1.16 | 1.74 | 0.9837 |
| B6 | M3 | 0.97 | 1.26 | 0.9935 |
| B7 | M1 | 1.86 | 2.24 | 0.9398 |
| B7 | M2 | 1.62 | 1.84 | 0.9636 |
| B7 | M3 | 1.10 | 1.62 | 0.9865 |
RUL Results on Dataset B Rated Current Cycling
I further validate the model on laboratory aging data under rated-current discharge. Table 13 shows that M3 reaches MAE of 0.56%, RMSE of 1.03%, and \(R^2\) of 0.9954. Compared with M1, the RMSE is reduced by about 73.4%. The model captures the slow degradation stage and the accelerated degradation stage. This is important for an electric vehicle battery pack because replacement decisions depend on the transition from gradual to rapid aging.
| Model | MAE (%) | RMSE (%) | R2 |
|---|---|---|---|
| M1 | 2.16 | 3.87 | 0.9128 |
| M2 | 1.68 | 2.03 | 0.9763 |
| M3 | 0.56 | 1.03 | 0.9954 |
RUL Results on Dataset B FUDS Dynamic Cycling
I test the same model on FUDS dynamic aging data. The load is non-stationary, and the degradation signal contains more local fluctuations. Table 14 shows that M3 still reaches MAE of 1.28%, RMSE of 1.56%, and \(R^2\) of 0.9905. Compared with M1, the RMSE is reduced by about 76.4%. Compared with M2, the RMSE is reduced by about 48.7%. The model does not show obvious error accumulation or trend drift, which indicates strong adaptability to dynamic operation of an electric vehicle battery pack.
| Model | MAE (%) | RMSE (%) | R2 |
|---|---|---|---|
| M1 | 4.92 | 6.61 | 0.8928 |
| M2 | 2.34 | 3.04 | 0.9773 |
| M3 | 1.28 | 1.56 | 0.9905 |
Cross-Condition RUL Summary
Table 15 summarizes the RUL performance across public data, rated-current aging, and FUDS dynamic aging. The prediction accuracy remains high in all cases. The worst-case RMSE is still only 1.65%, and the best-case RMSE is 1.03%. This consistency supports the generalization ability of the D-BiLSTM-A framework for an electric vehicle battery pack.
| Battery / Condition | MAE (%) | RMSE (%) | R2 |
|---|---|---|---|
| Ternary 18650, rated current | 0.56 | 1.03 | 0.9954 |
| Ternary 18650, FUDS | 1.28 | 1.56 | 0.9905 |
| B5 | 1.58 | 1.65 | 0.9815 |
| B6 | 0.97 | 1.26 | 0.9935 |
| B7 | 1.10 | 1.62 | 0.9865 |
Discussion
The SOC results show that a single UKF baseline is not sufficient for an electric vehicle battery pack under dynamic load and wide temperature. The DEKF branch improves noise adaptation, and the MMAE branch improves robustness through multi-model weighting. However, the largest improvement comes from the GRU residual correction. This occurs because the filter provides a stable physical prior, while the GRU learns nonlinear residual patterns that are difficult to represent with fixed equations. The best overall SOC accuracy is obtained by G3, and G4 provides a competitive alternative with stronger multi-model robustness.
The RUL results show that a single health indicator is not sufficient to represent capacity fade. Voltage-based features, capacity-based features, and energy-based features provide complementary information. KPCA fuses these features into a compact IHI without losing the main nonlinear degradation structure. VMD then separates the global degradation trend from local fluctuation and noise. The D-BiLSTM-A model uses bidirectional context and attention weighting to track both slow drift and sudden changes. This is especially relevant for an electric vehicle battery pack, where aging is affected by driving cycles, temperature, and charging habits.
I also note several practical implications. First, the SOC framework can be integrated into a battery management system because it combines an interpretable equivalent circuit model with a lightweight GRU corrector. Second, the RUL framework can support predictive maintenance and second-life screening because it produces accurate remaining cycle estimates under both rated and dynamic conditions. Third, the use of multiple dynamic cycles and multiple temperatures makes the validation closer to real operation of an electric vehicle battery pack than constant-current tests alone.
Conclusion
I studied SOC estimation and RUL prediction for lithium-ion power batteries under dynamic working conditions. For SOC, I built an ECM-UKF baseline, added adaptive DEKF and MMAE branches, and used GRU residual correction to compensate nonlinear filtering errors. Across FUDS, DST, WLTP, and US06 at 0 °C, 25 °C, and 40 °C, the corrected models achieved \(R^2\) above 0.99, with MAE from 0.11% to 0.60% and RMSE from 0.16% to 0.67% in the best configurations. For RUL, I extracted five health indicators, fused them with KPCA into IHI, decomposed IHI with VMD, selected IMF1, and used a Dropout-BiLSTM-Attention model for prediction. On public aging data, RMSE remained around 1.5% and MAE reached as low as 0.9%. On laboratory data, the model achieved MAE of 0.56%, RMSE of 1.03%, and \(R^2\) of 0.9954 under rated current, and MAE of 1.28%, RMSE of 1.56%, and \(R^2\) of 0.9905 under FUDS. These results indicate that my combined model-driven and data-driven methods can provide accurate, robust, and generalizable state awareness for an electric vehicle battery pack.
In future work, I plan to extend the validation to larger pack-level systems with cell inconsistency, wider temperature ranges, and more aggressive fast-charging profiles. I also plan to investigate online updating and incremental learning so that the SOC and RUL models can adapt to new aging patterns after deployment in an electric vehicle battery pack. Finally, I will optimize the model structure and computation cost for embedded battery management platforms, aiming to bring the proposed methods closer to real-time engineering application.
