Health Estimation and Aging Suppression for Traction Battery Packs Based on Cloud Platform Data

1. Introduction

The global transportation sector is undergoing a fundamental shift toward electrification to reduce fossil-fuel dependency and greenhouse gas emissions. As a core component of electric vehicles (EVs), the traction battery pack—typically composed of lithium-ion cells—provides high energy density, low self-discharge, and long cycle life. However, the complex electrochemical processes inside lithium-ion cells inevitably lead to performance degradation over time. Such degradation may result in capacity fade, impedance rise, and increased safety risks. Therefore, accurate estimation of traction battery pack state-of-health (SOH) is crucial for ensuring safe, reliable, and economical operation of electric vehicles.

Most existing SOH estimation methods are developed and validated under well-controlled laboratory conditions. These conditions usually adopt constant current charging/discharging profiles, stable ambient temperatures, and regular cycling protocols. However, real-world EV operation is far more complicated: the traction battery pack is subjected to varying driving styles, fluctuating traffic conditions, changing weather, and arbitrary charging habits. Consequently, laboratory-oriented algorithms often fail when applied to field-collected vehicle data. This mismatch motivates the development of SOH estimation methods that are robust to real-world operational variability.

Another important aspect is that once the current SOH is known, it is natural to ask how to slow down further degradation. Battery aging can be mitigated by controlling the current throughput and avoiding extreme operating conditions. For an EV in motion, the instantaneous power demand is strongly coupled to the vehicle speed and acceleration profiles. Therefore, optimizing the speed trajectory offers a promising avenue to actively suppress the aging of traction battery packs without hardware modifications. In this work, I address both problems: (1) data-driven SOH estimation using real cloud-platform vehicle data, and (2) a model-based speed trajectory optimization method that minimizes battery capacity loss during driving.

The remainder of this article is organized as follows. Section 2 describes the original data set, its problems, and the preprocessing procedures. Section 3 presents the capacity labeling methodology and feature engineering framework. Section 4 develops three machine-learning models for SOH estimation and analyzes their performance. Section 5 introduces the speed trajectory optimization strategy for battery aging suppression, supported by simulation results. Section 6 summarizes the findings and discusses future directions.

2. Real Vehicle Data Processing and Analysis

2.1 Data set description

The data used in this work were collected from a national road traffic management information platform. Each vehicle record consists of multiple time-series fields, including vehicle identifier, timestamp, vehicle status, charging status, cumulative mileage, battery pack voltage, pack current, battery state-of-charge (SOC), maximum and minimum cell voltages, maximum and minimum cell temperatures, and alarm indicators. The sampling interval of the original records is 10 seconds. For privacy reasons, all vehicle identifiers are anonymous, and the analysis is performed on aggregated statistics.

Several vehicle models are included in the data set, with different battery chemistries: ternary lithium (NCM) and lithium iron phosphate (LFP). For each model, approximately 200 vehicles are monitored over several months. The total amount of data exceeds millions of records. To make the study tractable, I focus on representative vehicles and carefully screen data quality according to the alarm flags.

2.2 Data quality issues

Unlike laboratory measurements, real-world cloud data are noisy, incomplete, and sometimes inconsistent. In the original records, I observed the following issues:

  • Missing values in SOC, voltage, current, or temperature columns.
  • Duplicate records at the same timestamp, especially at mode transitions.
  • Out-of-range values caused by sensor failures or communication errors.
  • SOC sudden jumps, for example from 92% to 100% when the cell voltage reaches the upper cutoff, which is particularly common in LFP batteries.
  • Alarm events related to temperature differences, over-voltage, under-voltage, or isolation faults.

These issues must be resolved before any capacity calculation or feature extraction is attempted. Otherwise, the estimated SOH will be biased or even meaningless.

2.3 Data cleaning and preprocessing

I applied a series of data cleaning techniques to improve the reliability of the data set. For missing values, linear interpolation was used because the 10-s sampling period is short relative to the dynamics of battery signals, except for transitions between different operating modes (charging/discharging/rest). At such transitions, I deleted the invalid records rather than interpolating, because interpolating across different modes would create artificial transients.

Outliers were detected using domain knowledge and statistical thresholds. For instance, the pack current should be zero when the vehicle is parked and the charging cable is disconnected; if not, the record was considered erroneous. Similarly, the reported SOC should be monotonically non-decreasing during a charging event. Any decreasing SOC within a charging event was flagged and the corresponding time window was removed.

Alarm information is crucial for safety. Different alarm flags require different handling strategies. For example, a low SOC alarm is benign and does not call for data removal, while a “cell inconsistency” alarm may indicate either real cell degradation or sensor malfunction. In this work, I chose to discard data segments that contain severe alarms—such as thermal runaway-related alarms or voltage imbalance alarms—because those segments correspond to abnormal operating conditions that are not suitable for routine SOH modeling.

2.4 Segmentation of charging and discharging events

To compute capacity labels and extract meaningful health-related features, I segmented the continuous time-series data into charging and discharging events based on the vehicle status and the charging status flags. The segmentation algorithm for charging events is described by the following flow:

  • Step 1: Identify all records where the vehicle is stationary and the charging cable is connected.
  • Step 2: Check that the pack current is positive and remains positive for at least a few samples.
  • Step 3: Check that the SOC is increasing continuously without a sudden drop larger than 5%.
  • Step 4: Verify that the cumulative mileage remains constant, because vehicle motion during charging would create mixed usage conditions.

Discharging segments were similarly extracted for completeness, but they are not used for capacity labeling due to the highly variable current profile caused by regenerative braking and driver acceleration/deceleration. Instead, I used charge segments because they follow a more regular, typically multi-stage constant-current pattern.

Figure 1 (inserted at the beginning) illustrates the general arrangement of a traction battery pack in an EV, highlighting the significance of battery health management.

2.5 Selection of charging segments for further analysis

After segmenting the data set, I applied additional filters to guarantee the accuracy of capacity calculations. The key parameters are:

Parameter Condition Rationale
Rest time before charging > 4 hours Ensures the battery voltage approaches its open-circuit value; SOC reading is more accurate.
Initial SOC < 30% Selects a low starting point so that the SOC span is sufficiently wide and the battery has been substantially discharged before charging.
Total charging time < 24 hours Avoids long discontinued charging events that accumulate time-related drift errors.
Discharged amount before reaching the target SOC < 20% of rated capacity Limits the disturbance caused by driving the vehicle in between charging intervals; if a user drives while plugged in, the charge segment is not clean.
End SOC = 100% At the upper cutoff voltage, BMS usually reports SOC=100%, which is the most reliable SOC point.

In practice, few charging events reach exactly 100% SOC, so I allowed an end-SOC window around the cutoff condition that corresponds to the inflection where voltage rises sharply. For ternary batteries, the SOC jumps to 100% shortly after the maximum cell voltage reaches the cutoff. For LFP batteries, the flat open-circuit voltage plateau makes SOC estimation more difficult near the end, so I relied on the measured voltage reaching the upper limit and the subsequent SOC reset to 100%.

3. Health State Feature Extraction

3.1 Capacity computation using the inverse ampere-hour counting method

The battery capacity of a traction battery pack is defined as the maximum charge that can be stored when fully charged. In real vehicles, the BMS reports SOC as the ratio of remaining charge to the current maximum capacity. During a charging process, the SOC change is related to the current by:

$$SOC_{end} = SOC_{start} + \frac{1}{Q_{max}} \int_{t_{start}}^{t_{end}} \eta I(t)\,dt$$

where \(I(t)\) is the current (positive for charging), \(\eta\) is the Coulombic efficiency (assumed to be 1 for charging), and \(Q_{max}\) is the actual capacity at the current aging state. Solving for \(Q_{max}\) gives the inverse formula:

$$Q_{max} = \frac{\int_{t_{start}}^{t_{end}} \eta I(t)\,dt}{SOC_{end} – SOC_{start}}$$

For a discrete sampled signal with fixed interval \(\Delta t\), the integral is approximated by the sum:

$$Q_{label} = \frac{\sum_{k=1}^{n} \eta I_k \Delta t}{SOC_{end} – SOC_{start}}$$

where \(n\) is the number of data points in the selected portion of the charge segment. To reduce the influence of SOC errors, I selected the portion where SOC is between 30% and 90%, or equivalently for the corresponding voltage window as described later. Also, I assumed that the capacity does not change significantly within a calendar month, which is a reasonable approximation for moderate degradation rates. Then, among all valid charging events in one month, the maximum computed capacity was selected as the reference capacity for that month. This reference value was used to replace all other capacity estimates within the same month, reducing the noise caused by individual SOC misalignments.

3.2 Outlier detection algorithms

Although the capacity estimation method is based on charging data, some values may still deviate substantially from the true capacity due to undetected sensor errors or incomplete charging records. To eliminate these abnormal values, I applied a combination of the Local Outlier Factor (LOF) algorithm and the Rmoutliers function (based on the 3-sigma rule).

3.2.1 Local Outlier Factor (LOF)

The LOF algorithm compares the local density of a point to the local densities of its neighbors. Points whose density is significantly lower than their neighbors are considered outliers. The algorithm proceeds as follows:

  1. Compute the Euclidean distance between every pair of points.
  2. For a point \(p\), find its \(k\)-nearest neighbors and define the \(k\)-distance \(d_k(p)\).
  3. Define the \(k\)-distance neighborhood \(N_k(p)\) as all points within distance \(d_k(p)\).
  4. Define the reachability distance from \(p\) to \(o\) by \(reachdist_k(p,o)=\max\{d_k(o), d(p,o)\}\).
  5. Compute the local reachability density \(lrd_k(p)\) as the inverse of the average reachability distance from \(p\) to points in \(N_k(p)\).
  6. The local outlier factor is then

$$LOF_k(p) = \frac{\sum_{o \in N_k(p)} lrd(o) / |N_k(p)|}{lrd(p)}$$

A LOF value close to 1 indicates that the point has a density comparable to its neighbors, whereas a LOF value significantly greater than 1 signals an outlier.

3.2.2 Rmoutliers and the 3-sigma rule

The Rmoutliers function removes outliers from a vector or matrix by comparing each value with the local median of a moving window or by using a global threshold. In this work, I used the global 3-sigma rule. If the data are approximately normally distributed, about 99.7% of the values lie within \(\mu \pm 3\sigma\), where \(\mu\) is the mean and \(\sigma\) is the standard deviation. Values outside this interval are treated as outliers.

Combining the two algorithms helped to identify both local and global anomalies in the capacity-time series. Figure 2 shows a scatter plot of the label capacity values as a function of cumulative mileage before and after outlier removal. The cleaned data exhibit a more linear declining trend, while some points are removed from the low-capacity tail that could distort the regression model.

3.3 Feature extraction from charging segments

Rather than using the capacity as a direct input to the model (because it is not measured in real time), I extract statistical features from the charging voltage, current, temperature, and SOC profiles. These features must be strongly correlated with the battery health status and robust to incomplete charging behavior.

For each charging event after cleaning, I considered the following base signals:

  • Pack voltage \(V_{pack}(t)\)
  • Pack current \(I(t)\)
  • Maximum cell voltage \(V_{max}(t)\)
  • Minimum cell voltage \(V_{min}(t)\)
  • Maximum cell temperature \(T_{max}(t)\)
  • Minimum cell temperature \(T_{min}(t)\)
  • State of charge \(SOC(t)\)
  • Cumulative mileage \(M(t)\)

For each signal \(x(t)\), I computed the average value and the standard deviation over the selected portion of the charging event. This yields candidate features such as \(V_{pack,avg}\), \(V_{pack,std}\), \(I_{avg}\), \(I_{std}\), \(V_{max,avg}\), \(V_{max,std}\), \(V_{min,avg}\), \(V_{min,std}\), \(T_{max,avg}\), \(T_{max,std}\), \(T_{min,avg}\), \(T_{min,std}\), \(SOC_{avg}\), \(SOC_{std}\), and so on. Additional features include the current cumulative mileage \(M_{avg}\) (which changes little in a single charge but provides a temporal index).

To guarantee that the features are comparable across different vehicles and different charging events, I defined a standardized voltage window for feature extraction. For LFP batteries, the flat plateau region is approximately between 3350 mV and 3500 mV. For ternary NMC batteries, the voltage increases more steeply, and a suitable range is between 3800 mV and 4000 mV. These windows were selected because most charging events pass through them in the data set. By extracting features only from these fixed voltage ranges, I ensured that the length and shape of the extracted feature vectors are consistent across events irrespective of the SOC start point.

3.4 Correlation analysis and feature selection

To form an optimal feature set, I first computed two measures of association between each candidate feature and the label capacity (which is later converted to SOH): the Pearson correlation coefficient and the grey relational grade.

3.4.1 Pearson correlation coefficient

The Pearson coefficient between two vectors \(\mathbf{X}\) and \(\mathbf{Y}\) is defined as:

$$r = \frac{\sum_{i=1}^{n}(X_i-\bar{X})(Y_i-\bar{Y})}{\sqrt{\sum_{i=1}^{n}(X_i-\bar{X})^2}\sqrt{\sum_{i=1}^{n}(Y_i-\bar{Y})^2}}$$

Here, \(X\) represents a candidate feature, and \(Y\) represents the capacity label, both computed over the same set of charging events.

3.4.2 Grey relational analysis

The grey relational grade is a non-parametric measure that captures both linear and nonlinear relationships. First, the sequences are normalized by dividing by their mean:

$$Y_i(k) = \frac{x_i(k)}{\frac{1}{n}\sum_{k=1}^{n}x_i(k)}$$

Then, the grey relational coefficient between the reference sequence \(Y_0\) and the \(i\)-th sequence \(Y_i\) at the \(k\)-th point is:

$$\zeta_i(k) = \frac{\min_i \min_k |Y_0(k)-Y_i(k)| + \rho \max_i \max_k |Y_0(k)-Y_i(k)|}{|Y_0(k)-Y_i(k)| + \rho \max_i \max_k |Y_0(k)-Y_i(k)|}$$

where \(\rho\) is the resolution coefficient, commonly chosen as 0.5. Finally, the average coefficient over all points gives the grey relational grade:

$$\gamma_i = \frac{1}{n}\sum_{k=1}^{n}\zeta_i(k)$$

In my analysis, features with a Pearson absolute value above 0.3 or a grey relational grade above 0.8 were considered strongly correlated with capacity. Furthermore, to avoid redundant information, if two features had a mutual Pearson coefficient above 0.9 or a grey relational grade above 0.9, I retained only one of them. Table 1 lists the features selected for one of the vehicle models, along with their statistical ranges.

Feature name Description Pearson |r| Grey grade
\(M_{avg}\) Cumulative mileage at the beginning of charging 0.82 0.92
\(V_{pack,avg}\) Average pack voltage over the voltage window 0.42 0.84
\(I_{std}\) Standard deviation of charging current 0.38 0.82
\(V_{max,std}\) Standard deviation of maximum cell voltage 0.55 0.88

Interestingly, the most informative features are not simply the average voltage but the variability of current and voltage during the selected window, which reflects the battery’s internal resistance and polarization behavior under current steps.

4. SOH Estimation Based on Machine Learning

4.1 Definition of SOH

In this work, SOH is defined as the ratio of the current maximum available capacity to the rated capacity of the traction battery pack:

$$SOH = \frac{Q_{label}}{Q_{rated}}$$

where \(Q_{rated}\) is the nameplate capacity at the beginning of life. Using the capacity label from Section 3.1, I computed a dimensionless SOH value for each selected charging event.

4.2 Model descriptions

Three popular machine learning regression techniques were adopted to construct the mapping from the selected feature set to SOH:

4.2.1 Multiple Linear Regression (MLR)

The MLR model expresses the response as a linear combination of input features:

$$y = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \cdots + \beta_k x_k + \epsilon$$

where \(\beta_j\) are regression coefficients estimated by minimizing the residual sum of squares. MLR is transparent and easy to interpret, but it is only suitable when the underlying relationship is approximately linear.

4.2.2 Gaussian Process Regression (GPR)

GPR is a non-parametric Bayesian regression method. It places a Gaussian process prior over functions:

$$f(\mathbf{x}) \sim \mathcal{GP}(\mu(\mathbf{x}), k(\mathbf{x},\mathbf{x}’))$$

with a mean function \(\mu(\mathbf{x})\) and a covariance function \(k(\mathbf{x},\mathbf{x}’)\). The observed output is assumed to be the function value plus Gaussian noise: \(y = f(\mathbf{x}) + \epsilon\), \(\epsilon \sim \mathcal{N}(0,\sigma_n^2)\). For a new input \(\mathbf{x}_*\), the joint distribution of the training outputs and the test output is Gaussian, and the predictive mean and variance are derived analytically.

4.2.3 Support Vector Regression (SVR)

SVR aims to find a function \(f(\mathbf{x}) = \omega^T \mathbf{x} + b\) that deviates from the actual targets by at most \(\epsilon\) and is as flat as possible. This is achieved by solving the optimization problem:

$$\min_{\omega,b,\xi_i,\xi_i^*} \frac{1}{2}\|\omega\|^2 + C \sum_{i=1}^{m}(\xi_i + \xi_i^*)$$

subject to:

$$f(\mathbf{x}_i) – y_i \leq \epsilon + \xi_i, \quad y_i – f(\mathbf{x}_i) \leq \epsilon + \xi_i^*, \quad \xi_i,\xi_i^* \ge 0$$

The radial basis function (RBF) kernel was selected in this work:

$$k(\mathbf{x}_i,\mathbf{x}_j) = \exp\!\left(-\frac{\|\mathbf{x}_i-\mathbf{x}_j\|^2}{2\sigma^2}\right)$$

4.3 Evaluation metrics

I used four metrics to quantitatively assess the estimation performance:

  • Mean Squared Error: \(MSE = \frac{1}{n}\sum_{i=1}^{n}(y_i-\hat{y}_i)^2\)
  • Root Mean Squared Error: \(RMSE = \sqrt{MSE}\)
  • Mean Absolute Error: \(MAE = \frac{1}{n}\sum_{i=1}^{n}|y_i-\hat{y}_i|\)
  • Mean Absolute Percentage Error: \(MAPE = \frac{1}{n}\sum_{i=1}^{n}\frac{|y_i-\hat{y}_i|}{|y_i|} \times 100\%\)

4.4 Results for one representative vehicle model (Model A)

For model A, the number of available charging events after data cleaning was around 800. I split the data set into half for training and half for testing. To avoid temporal bias, the training set was taken from the earlier calendar period and the test set from the later calendar period. Table 2 shows the performance of the three models on the test set.

Model MSE (%) RMSE (%) MAE (%) MAPE (%)
GPR 0.09 2.92 1.87 2.08
SVR 0.08 2.77 1.76 1.97
MLR 0.06 2.89 1.93 2.15

All three models achieve test RMSE below 3%. SVR yields the smallest RMSE and MAPE, while MLR gives the smallest MSE but slightly higher MAE and MAPE. The differences are small, indicating that the relationship between the extracted features and SOH is nearly linear. The GPR model, relying on the RBF kernel, is comparable in performance but has a larger RMSE because it is more sensitive to outliers in the real data.

Figure 4.4.1 (not reproduced here) shows the scatter plot between predicted and true SOH for the SVR model. Most points lie close to the 45° line, and the distribution does not show systematic bias throughout the SOH range from 0.85 to 0.95. The error histogram shows that about 90% of the errors are below 5%, which is acceptable for on-board monitoring.

To examine the monotonic decrease of SOH with mileage, Fig. 4.4.2 (not shown) plots the estimated SOH against cumulative mileage. The general declining trend is captured well, although some local fluctuations occur due to the influence of temperature or charging current variation.

4.5 Generalisation to other vehicle models

To verify the universality of the proposed feature extraction and modelling method, I applied the same procedure to four other vehicle models (B, C, D, and E) whose traction battery packs have different capacities, chemistries (NMC and LFP), and nominal voltages. For each model, the feature set was selected independently using the correlation thresholds described in Section 3.4. Table 3 summarises the RMSE, MAPE, and MAE for the three models across these five vehicle types.

Vehicle Metric GPR SVR MLR
A RMSE (%) 2.92 2.77 2.89
MAPE (%) 2.08 1.97 2.15
MAE (%) 1.87 1.76 1.93
B RMSE (%) 4.05 4.09 4.15
MAPE (%) 3.89 3.91 3.98
MAE (%) 3.34 3.36 3.42
C RMSE (%) 2.27 2.03 2.02
MAPE (%) 1.77 1.63 1.61
MAE (%) 1.66 1.53 1.52
D RMSE (%) 4.06 4.22 4.40
MAPE (%) 3.56 3.66 3.93
MAE (%) 2.98 3.05 3.29
E RMSE (%) 4.48 4.58 4.69
MAPE (%) 3.93 3.98 4.28
MAE (%) 3.29 3.35 3.59

For all vehicles, the RMSE remains below 4.7%, and the MAPE is below 4.3%. These values are acceptable for cloud-based SOH monitoring, where the battery capacity label itself has some uncertainty. The results demonstrate that the proposed feature extraction and SOH estimation method can effectively adapt to diverse traction battery pack technologies and usage patterns.

5. Speed Trajectory Optimization to Suppress Traction Battery Pack Aging

5.1 Motivation and modeling framework

After the SOH of a traction battery pack is estimated, an important goal is to reduce the future aging rate. Since the load current is directly controlled by the acceleration and braking commands of the vehicle, I formulated a speed trajectory optimization problem whose objective is the minimization of capacity loss over a finite prediction horizon. The complete modelling framework contains several subsystems:

  • Vehicle longitudinal dynamics
  • Electric machine efficiency and torque model
  • Battery equivalent circuit model
  • Battery capacity fade model

5.2 Vehicle longitudinal dynamics

The vehicle is modelled as a point mass subjected to traction effort and resistance forces. The traction force is transmitted through the drivetrain to the wheels. The resistance includes rolling resistance, grade resistance, and aerodynamic drag:

$$F_{roll} = C_r m g \cos\theta$$

$$F_{grade} = m g \sin\theta$$

$$F_{drag} = \frac{1}{2} A_f C_d \rho_a v^2$$

Let \(T_{em}\) be the electric machine torque, \(i_g\) the gear ratio, \(T_{brake}\) the friction brake torque, and \(r\) the tire radius. The wheel torque balance is:

$$T_{whl} = T_{em} i_g + T_{brake}$$

The resistive torque at the wheel is:

$$T_{res} = r(F_{roll} + F_{grade} + F_{drag})$$

Newton’s second law gives:

$$\frac{d v}{d t} = \frac{T_{whl} – T_{res}}{m r}$$

5.3 Electric machine model

The machine torque is positive in driving mode and negative in regenerative braking mode. The rotational speed of the machine is related to the vehicle speed by:

$$n_m = i_g \frac{30 v}{\pi r}$$

The machine electrical power is expressed as:

$$P_{em}(t) = \begin{cases} \frac{n_m T_{em}}{9550\,\eta(n_m,T_{em})}, & T_{em}>0 \\[4pt] \frac{n_m T_{em}\eta(n_m,T_{em})}{9550}, & T_{em}<0 \end{cases}$$

The efficiency \(\eta\) is obtained from a static efficiency map of a typical traction motor; it depends on both speed and torque. In this optimisation, I used an efficiency map for a 202-kW permanent-magnet synchronous motor.

5.4 Battery equivalent circuit model

The traction battery pack is represented by an open-circuit voltage source \(U_{oc}\) in series with an internal resistance \(R\). The output power of the pack equals the electric machine power loss:

$$P_{em} = U_t I$$

$$U_t = U_{oc} – I R$$

Solving the quadratic equation for the current \(I\) yields:

$$I = \frac{U_{oc} – \sqrt{U_{oc}^2 – 4 R P_{em}}}{2 R}$$

The SOC evolution is described by:

$$\frac{d z}{d t} = -\frac{I}{Q_{rated}}$$

where \(Q_{rated}\) is the rated capacity of the traction battery pack in Coulombs (or Ah, converted to the same unit).

5.5 Battery capacity fade model

Among various aging mechanisms, I adopt a simplified active-material loss model that couples the capacity loss to the SOC and the current magnitude. For a small time interval, the capacity loss is proportional to the depth of SOC change and to the average SOC level:

$$\Delta Q_{AM,i} = \phi(T) Q_{rated} \, |\Delta z_i| \, \frac{z_i+z_{i+1}}{2}$$

where \(\phi(T)\) is a temperature-dependent Arrhenius factor:

$$\phi(T) = k_{AM} \exp\!\left(-\frac{E_{AM}}{R_g T}\right)$$

Here, \(k_{AM}\) is a kinetic constant, \(E_{AM}\) the activation energy, \(R_g\) the universal gas constant, and \(T\) the absolute temperature.

Summing over a prediction horizon of \(N\) discrete steps gives:

$$Q_{AM} = \sum_{i=1}^{N} \Delta Q_{AM,i} = \frac{\phi(T) Q_{rated}}{2}\sum_{i=1}^{N} |z_{i+1}-z_i|\,(z_i+z_{i+1})$$

5.6 State-space formulation

Choose the state vector \(\mathbf{x} = [s, v, z]^T\), where \(s\) is the traveled distance, \(v\) the vehicle speed, and \(z\) the battery SOC. The control input is \(\mathbf{u}=[T_{em},T_{brake}]^T\). The continuous-time state-space equations are:

$$\dot{s} = v$$

$$\dot{v} = \frac{T_{em}i_g+T_{brake}-r(F_{roll}+F_{grade}+F_{drag})}{m r}$$

$$\dot{z} = -\frac{U_{oc}-\sqrt{U_{oc}^2-4 R P_{em}}}{2 R Q_{rated}}$$

Discretizing with time step \(\Delta t\), I obtain:

$$v_{i+1} = v_i + \frac{\Delta t}{m r}\left[T_{em,i}i_g+T_{brake,i}-r\bigl(F_{roll,i}+F_{grade,i}+F_{drag,i}\bigr)\right]$$

$$z_{i+1} = z_i – \frac{\Delta t}{2 R Q_{rated}}\left(U_{oc}-\sqrt{U_{oc}^2-4 R P_{em,i}}\right)$$

The distance traveled during interval \(i\) is approximated by:

$$\Delta s_i = \frac{v_i+v_{i+1}}{2}\Delta t$$

5.7 Optimisation problem

The objective is to find the control sequence that minimizes the total capacity loss over the prediction horizon \(N\):

$$\min_{\mathbf{u}_1,\ldots,\mathbf{u}_N} \quad J = \frac{\phi(T) Q_{rated}}{2}\sum_{i=1}^{N}|z_{i+1}-z_i|\,(z_i+z_{i+1})$$

subject to the following constraints:

  • Traction motor torque limits: \(T_{em,min} \le T_{em,i} \le T_{em,max}\)
  • Friction brake torque is non-positive: \(T_{brake,i}\le0\)
  • Vehicle speed constraints: \(v_{min}\le v_i\le v_{max}\)
  • Acceleration bounds: \(a_{min}\le a_i\le a_{max}\)
  • Safe following distance (in traffic-flow case): \(d_{min}\le d_i\le d_{max}\)
  • SOC bounds: \(0\le z_i\le1\)

Because the objective function is nonconvex due to the absolute value and the coupling of state variables, I applied the Sequential Quadratic Programming (SQP) algorithm via the MATLAB fmincon solver. For real-time implementation, a Model Predictive Control (MPC) framework is employed. At each time step \(k\), the optimizer solves the finite-horizon problem over the next \(N\) points, but only the first computed control action \((T_{em,k},T_{brake,k})\) is applied to the vehicle. Then the horizon shifts one step forward and the process repeats.

Figure (inserted image) already illustrates the traction battery pack of an EV; the speed optimization strategy seeks to reduce the stress on this pack by smoothing the power demand.

5.8 Simulation setup

The EV parameters used in the simulations are listed in Table 4. The simulation time step is \(\Delta t = 1\) s.

Parameter Symbol Value
Vehicle mass \(m\) 1761 kg
Tire radius \(r\) 0.334 m
Open-circuit voltage \(U_{oc}\) 400 V
Battery rated capacity \(Q_{rated}\) 150 Ah
Motor peak power \(P_{max}\) 202 kW
Battery internal resistance \(R\) 0.0745 \(\Omega\)
Frontal area \(A_f\) 2.0 m²
Aerodynamic drag coefficient \(C_d\) 0.3
Rolling resistance coefficient \(C_r\) 0.01
Air density \(\rho_a\) 1.29 kg/m³

5.9 Simulation results for a single vehicle

I first examined a single-vehicle scenario in which the EV travels for 100 s with an average speed of 15 m/s. A baseline “constant-speed” strategy was compared with the proposed MPC-based optimization. The total distance and travel time were kept identical; only the speed profile was allowed to vary. The optimized speed profile oscillates around 15 m/s in a sawtooth-like manner. The SOC decline of the battery is not monotonic because the vehicle experiences small accelerations and decelerations; however, the MPC strategy tends to reduce the depth of discharge and the amount of regenerative charging during deceleration.

Table 5 summarizes the improvement achieved by the proposed strategy.

Strategy Energy consumption relative reduction Battery capacity loss reduction
MPC optimized 9.70% 10.33%

Although the optimized speed trajectory uses slightly more energy during a short acceleration phase at the beginning, it generally achieves lower energy consumption because it avoids unnecessary acceleration and instead coasts or decelerates earlier. More importantly, the capacity loss of the traction battery pack is reduced by more than 10% compared to the constant-speed baseline.

5.10 Simulation results with traffic flow

To validate the strategy under realistic traffic conditions, I used the UDDS (Urban Dynamometer Driving Schedule) speed profile as the leading vehicle motion. Zero-speed periods were removed to avoid a complete stop, because the speed optimisation model in this work does not handle stop-and-go behaviour explicitly. The leading vehicle’s speed profile is shown as a reference. The target (following) vehicle must maintain a safe distance while optimizing its own speed to minimize battery aging.

I compared the target vehicle with the leading vehicle. The following observations were made:

  • The optimized speed curve of the target vehicle is smoother and exhibits fewer sharp accelerations than the leading vehicle. This reduces the amplitude of current peaks drawn from the traction battery pack.
  • The target vehicle tends to brake earlier and uses the friction brake more frequently than the leading vehicle, thus avoiding regenerative charging whenever possible. This reduces the number of micro-cycles of the traction battery pack.
  • The distance between the two vehicles remains within the safe bounds (10–50 m) for all simulation times.

Table 6 reports the target vehicle’s capacity loss and energy consumption for two different prediction horizons, \(N=25\) and \(N=30\), compared with the leading vehicle.

Horizon \(N\) Capacity loss reduction Energy consumption change Solver time per MPC step
25 20.78% +20.48% 0.92 s
30 33.02% +18.80% 0.95 s

The negative sign for energy consumption means that the optimized vehicle consumes more energy than the leading vehicle. This is an expected trade-off: by using friction brakes instead of regenerative braking, some kinetic energy is dissipated as heat rather than recovered, increasing net energy consumption. However, the capacity loss is reduced substantially because the battery is subjected to fewer charge-discharge cycles.

I further studied \(N=35\) and \(N=40\). The capacity loss reduction becomes 34.01% and 34.12%, respectively, but the solver time grows to 1.05 s and 1.36 s per step, exceeding the 1-s sampling interval. Therefore, \(N=30\) offers the best balance between aging reduction and real-time feasibility.

5.11 Sensitivity analysis of prediction horizon

The capacity loss and energy consumption for different horizons are summarised in Table 7.

\(N\) Capacity loss of target vehicle (Ah) Energy consumption of target vehicle (kWh) Solver time (s)
25 2.8991×10⁻⁵ 1.1874×10⁻² 0.92
30 2.4510×10⁻⁵ 1.1628×10⁻² 0.95
35 2.4150×10⁻⁵ 1.1516×10⁻² 1.05
40 2.4110×10⁻⁵ 1.1498×10⁻² 1.36

From this sensitivity analysis, it is clear that beyond \(N=30\), the additional aging reduction is marginal, while the computational burden increases rapidly. This validates the choice of \(N=30\) as a practical MPC horizon.

6. Discussion and Future Research

The combination of a cloud-based SOH estimation framework and an online speed optimization strategy provides a comprehensive solution for extending the service life of traction battery packs in electric vehicles. The proposed data-driven SOH estimator relies on features extracted from standard charging events, which are already available in telematics platforms. No additional high-precision laboratory equipment is needed, making the method highly scalable to large vehicle fleets.

Nevertheless, some limitations remain. The capacity labeling method assumes that the SOC reported by the BMS is reasonably accurate after a sufficient rest period. This assumption may not always hold, particularly for LFP batteries whose flat OCV-SOC curve makes SOC estimation difficult. Future work could incorporate battery-specific SOC correction algorithms or fuse data from multiple charge segments to improve label accuracy.

For the speed optimization part, the current model neglects detailed traffic signal timing, road grade, and the effect of cabin heating/cooling on battery load. The friction braking strategy increases energy consumption by more than 18%, which is not acceptable in many real-world applications. Therefore, a Pareto optimization that weighs both energy consumption and battery capacity loss would be more practical. Moreover, the battery aging model is an empirical low-order model; a more detailed electrochemical model could capture the aging trajectory more precisely but would increase computational cost.

Future studies should explore continuous learning for SOH estimation, where the model is updated as new charging data arrives. For speed optimization, cooperative driving with V2X (vehicle-to-everything) communication could further improve outcomes because the controller can anticipate green-light windows and avoid unnecessary accelerations and decelerations, simultaneously reducing energy waste and battery aging.

7. Conclusion

In this article, I presented a comprehensive investigation of traction battery pack health estimation and aging suppression using real cloud-platform data and dynamic vehicle speed optimization. The main contributions are summarized as follows:

  1. A data cleaning and preprocessing pipeline was developed to handle the specific issues of real fleet data, including missing values, outliers, alarm events, and mode transitions.
  2. An inverse ampere-hour integration method was used to derive capacity labels from selected charging events. Two complementary outlier detection algorithms were employed to improve the quality of the labels.
  3. A feature engineering framework was proposed based on statistical features (average and standard deviation) of voltage, current, and temperature over a standardized voltage window. Correlation analysis using Pearson coefficients and grey relational grades yielded an optimal feature set with high relevance to SOH and low mutual redundancy.
  4. Three machine-learning models—MLR, GPR, and SVR—were trained to map the selected features to SOH. The methods were validated on five different vehicle models, achieving RMSE values between 2.02% and 4.69% and MAPE values below 4.3%. The results demonstrate the strong generalisation capability of the proposed method.
  5. To suppress further battery degradation, a speed trajectory optimization strategy was designed based on a battery aging model, vehicle longitudinal dynamics, an electric machine model, and a battery equivalent circuit model. An MPC framework was used to solve the finite-horizon optimal control problem in real time.
  6. Simulation results showed that the proposed speed optimization reduces battery capacity loss by 10.33% compared with constant-speed driving in a single-vehicle scenario. In a traffic-following scenario using the UDDS profile, a capacity loss reduction of up to 33.02% was achieved with a horizon of \(N=30\), while maintaining a computation time below the sampling interval.

Overall, this work demonstrates that real vehicle cloud data can be effectively exploited for accurate SOH estimation, and that informed speed planning can actively slow down the aging of traction battery packs. The proposed methods provide a valuable foundation for next-generation battery health management systems in intelligent electric vehicles.

Scroll to Top