
I approach the state of charge estimation problem for an electric vehicle battery pack as a state estimation problem under unknown-but-bounded uncertainty. In an electric vehicle battery pack, the state of charge is one of the most important internal variables because it directly affects available driving range, charging strategy, safety protection, thermal management, and long-term degradation. However, state of charge cannot be measured directly by ordinary voltage, current, or temperature sensors. It must be inferred from measurable terminal quantities and a suitable electrochemical or equivalent-circuit representation. If the state of charge of an electric vehicle battery pack is overestimated, the vehicle may continue to discharge beyond a safe limit. If it is underestimated, the usable capacity is unnecessarily restricted. Both cases reduce efficiency and can accelerate aging. Therefore, I focus on accurate, robust, and computationally practical state of charge estimation for an electric vehicle battery pack under noise that is unknown but bounded.
The battery management system of an electric vehicle battery pack usually operates with sampled voltage and current data, limited sensor accuracy, temperature variation, and uncertain model parameters. Gaussian assumptions are convenient, but they are not always faithful to real operating conditions. In many practical electric vehicle battery pack applications, the disturbance and measurement errors are better described by intervals or bounded sets rather than by known probability density functions. This motivates my use of set-membership filtering, especially parallelotopic and related polytopic descriptions, for state of charge estimation. I combine parallelotope geometry, particle swarm optimization, particle filtering, and system-level deployment for an electric vehicle battery pack.
Battery model and measurable relationship. I begin with an equivalent-circuit model because it balances physical interpretability, parameter identifiability, and online computational cost for an electric vehicle battery pack. Among common circuits, the first-order resistor-capacitor model is sufficiently rich for normal operating conditions and is much easier to identify than higher-order electrochemical models. I treat the polarization voltage and state of charge as the state variables, the current as the input, and the terminal voltage as the measurement. The state of charge definition is
$$ SOC = \frac{Q}{Q_N}\times 100\%, $$
where Q is the remaining charge and Q_N is the rated capacity of the electric vehicle battery pack. The discrete-time first-order resistor-capacitor model can be written as
$$
\begin{cases}
U_{p,k+1}=e^{-\Delta t/(R_p C_p)}U_{p,k}+\left(1-e^{-\Delta t/(R_p C_p)}\right)R_p I_k+w_{p,k},\\
SOC_{k+1}=SOC_k-\frac{\eta \Delta t}{Q_N}I_k+w_{SOC,k},\\
U_k=OCV(SOC_k)-U_{p,k}-R_0 I_k+v_k,
\end{cases}
$$
where U_{p,k} is the polarization voltage, I_k is the current, R_0 is the ohmic resistance, R_p is the polarization resistance, C_p is the polarization capacitance, \eta is the Coulomb efficiency, \Delta t is the sampling interval, and w_k and v_k are bounded process and measurement uncertainties. For a compact state-space form of an electric vehicle battery pack, I write
$$
\begin{cases}
x_{k+1}=A x_k+B u_k+w_k,\\
y_k=C x_k+v_k,
\end{cases}
$$
where
$$
x_k=
\begin{bmatrix}
U_{p,k}\\
SOC_k
\end{bmatrix},\quad
A=
\begin{bmatrix}
e^{-\Delta t/(R_p C_p)} & 0\\
0 & 1
\end{bmatrix},\quad
B=
\begin{bmatrix}
\left(1-e^{-\Delta t/(R_p C_p)}\right)R_p\\
-\frac{\eta \Delta t}{Q_N}
\end{bmatrix}.
$$
For a linearized observation model around a nominal state of charge operating range, I use
$$
C=
\begin{bmatrix}
-1 & k_{SOC-OCV}
\end{bmatrix},
$$
where k_{SOC-OCV} is the local slope of the open-circuit-voltage versus state-of-charge relationship. For nonlinear estimation, I retain the full nonlinear mapping
$$
OCV(SOC)=5.83 SOC^3-9.27 SOC^2+5.20 SOC+2.943.
$$
I obtained representative parameters through pulse and rest experiments on a lithium-ion cell used as a building block of an electric vehicle battery pack. The model parameters and open-circuit-voltage samples are summarized in the following tables.
| Parameter | Value | Unit |
|---|---|---|
| Nominal voltage | 3.7 | V |
| Rated capacity | 1.5 | Ah |
| Upper cutoff voltage | 4.2 | V |
| Lower cutoff voltage | 1.75 | V |
| Ohmic resistance R0 | 0.0415 | ohm |
| Polarization resistance Rp | 0.03068 | ohm |
| Polarization capacitance Cp | 2372.2 | F |
| SOC (%) | 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| OCV (V) | 2.78 | 3.63 | 3.71 | 3.76 | 3.79 | 3.83 | 3.87 | 3.94 | 4.01 | 4.09 | 4.19 |
Set-membership geometry for an electric vehicle battery pack. I use bounded sets because the uncertainties in an electric vehicle battery pack are often not statistically stationary. A strip space is defined by
$$
S(p,c)=\{\theta: |p^T\theta-c|\le 1\}.
$$
A parallelotope is the intersection of n nonparallel strips:
$$
P=\bigcap_{i=1}^{n}S(p_i,c_i)=\{\theta: \|P(\theta-\theta_c)\|_\infty\le 1\}.
$$
Equivalently, with a generator matrix T,
$$
P(\theta_c,T)=\{\theta:\theta=\theta_c+T\alpha,\ \|\alpha\|_\infty\le 1\}.
$$
The center \theta_c and generator matrix T describe the feasible region of the state of an electric vehicle battery pack. The prediction step is
$$
\hat{\theta}_{c,k+1}=A\theta_{c,k}+B u_k,\qquad
\hat{T}_{k+1}=A T_k.
$$
The measurement update uses the observation strip
$$
S_{k+1}=\{\theta: |y_{k+1}-C\theta|\le V\},
$$
where V is a diagonal matrix formed from measurement-error bounds. The intersection of the predicted parallelotope and the observation strip is the feasible set. Direct intersection can be complex, so I recursively compute a minimum-volume outer parallelotope. This outer parallelotope becomes the state feasible set for the next time instant.
| Symbol | Meaning in my electric vehicle battery pack model |
|---|---|
| x_k | State vector containing polarization voltage and SOC |
| u_k | Current input to the electric vehicle battery pack |
| y_k | Terminal voltage measurement |
| w_k | Bounded process disturbance |
| v_k | Bounded measurement noise |
| P(\theta_c,T) | Parallelotopic feasible state set |
| Z(\theta_c,T) | Zonotopic prediction set |
| S(p,c) | Strip constraint from measurement or linearization |
Particle swarm optimized orthogonal parallelotope filter. The first major estimator I develop is a particle-swarm-optimized orthogonal parallelotope filter. The motivation is that a standard parallelotope update can still be conservative. The feasible set may contain the true state of an electric vehicle battery pack, but its bounds may be wider than necessary. I therefore use a particle swarm to search inside a geometrically compatible orthogonal search space and then reconstruct a tighter orthogonal parallelotope around the evolved particles.
Given a parallelotope P(\theta_{c,k+1},T_{k+1}), I first extract its vertices. The d-th dimension bounds are
$$
\mu_{d,k+1}^{\max}=\max_i Z_{k+1}(d,i),\qquad
\mu_{d,k+1}^{\min}=\min_i Z_{k+1}(d,i).
$$
Then I construct an orthogonal parallelotope with the same component-wise bounds:
$$
\theta^o_{c,k+1}=
\begin{bmatrix}
\frac{\mu_{1,k+1}^{\max}+\mu_{1,k+1}^{\min}}{2}\\
\frac{\mu_{2,k+1}^{\max}+\mu_{2,k+1}^{\min}}{2}\\
\vdots\\
\frac{\mu_{n,k+1}^{\max}+\mu_{n,k+1}^{\min}}{2}
\end{bmatrix},
$$
$$
T^o_{k+1}=\operatorname{diag}
\left\{
\frac{\mu_{1,k+1}^{\max}-\mu_{1,k+1}^{\min}}{2},
\frac{\mu_{2,k+1}^{\max}-\mu_{2,k+1}^{\min}}{2},
\ldots,
\frac{\mu_{n,k+1}^{\max}-\mu_{n,k+1}^{\min}}{2}
\right\}.
$$
This orthogonal parallelotope has the same coordinate-wise bounds as the original parallelotope, but it allows me to sample particles dimension by dimension. For the i-th particle and the d-th dimension, the search constraint is
$$
\mu_{d,k+1}^{\min}\le x_{i,d}\le \mu_{d,k+1}^{\max}.
$$
I initialize particles in this orthogonal search space. Each particle represents a candidate state of charge and polarization voltage for the electric vehicle battery pack. I evaluate particles using a measurement-driven fitness function:
$$
fitness_{i,k+1}=\exp\left[-\left(y_{k+1}-\hat{y}_{i,k+1}\right)^2\right],
$$
where \hat{y}_{i,k+1}=C X_{i,k+1}+\hat{v}_{k+1} and \hat{v}_{k+1} is a sample from the bounded measurement-noise set. The particle velocity and position update are
$$
V_i^{l+1}=\omega V_i^l+c_1 r_1\left(P_i^l-X_i^l\right)+c_2 r_2\left(G^l-X_i^l\right),
$$
$$
X_i^{l+1}=X_i^l+V_i^{l+1}.
$$
If a particle moves outside the orthogonal search space, I project it back using a randomized boundary correction. After the swarm converges near the true state of the electric vehicle battery pack, I collect the particle positions and solve linear programs for the tightest axis-aligned enclosing orthogonal parallelotope:
$$
\beta_d^+=\max e_d^T X,\quad X\in A(k+1),
$$
$$
\beta_d^-=\min e_d^T X,\quad X\in A(k+1).
$$
The center and generator matrix of the optimized orthogonal parallelotope are
$$
\theta^{o,d}_{c,k+1}=\frac{\beta_d^++\beta_d^-}{2},\qquad
T^{o,d}_{k+1}=\frac{\beta_d^+-\beta_d^-}{2}.
$$
The resulting set is
$$
P(\theta^o_{c,k+1},T^o_{k+1})
=
\{\theta:\theta=\theta^o_{c,k+1}+\operatorname{diag}(T^o_{k+1})\alpha,\ \|\alpha\|_\infty\le 1\}.
$$
This estimator is useful for an electric vehicle battery pack because it does not require Gaussian noise and it reduces the conservatism of the standard parallelotope update. The steps are summarized in the following table.
| Step | Operation | Role for electric vehicle battery pack SOC |
|---|---|---|
| 1 | Initialize parallelotope and model parameters | Define initial feasible SOC region |
| 2 | Update prediction parallelotope | Propagate state bounds through battery dynamics |
| 3 | Intersect with measurement strip | Use terminal voltage to shrink feasible SOC set |
| 4 | Build orthogonal particle search space | Enable dimension-wise particle sampling |
| 5 | Evolve particle swarm | Move candidate SOC values toward measured behavior |
| 6 | Solve linear programs | Construct tight orthogonal parallelotope |
| 7 | Output center and bounds | Provide SOC estimate and uncertainty interval |
I compared the particle-swarm-optimized orthogonal parallelotope filter with an ellipsoidal set-membership filter and an orthogonal parallelotope set-membership filter. The ellipsoidal method encloses the true state but often produces a larger feasible region. The standard orthogonal parallelotope method improves accuracy but converges less smoothly in early samples. My method produces a tighter feasible set around the true state of the electric vehicle battery pack. The root-mean-square error comparison is given below.
| Algorithm | SOC RMSE | Relative conservatism | Convergence behavior |
|---|---|---|---|
| Ellipsoidal set-membership filter | High | Large | Stable but loose |
| Orthogonal parallelotope set-membership filter | Medium | Medium | Improved but slower |
| Particle-swarm-optimized orthogonal parallelotope filter | Low | Low | Fast and tight |
Nonlinear electric vehicle battery pack estimation. The linearized observation model is convenient, but the open-circuit-voltage versus state-of-charge relationship of an electric vehicle battery pack is nonlinear. I therefore develop a parallelotope-optimized particle filter. The nonlinear state-space model is
$$
\begin{cases}
x_k=f(x_{k-1},u_{k-1})+w_{k-1},\\
y_k=h(x_k,u_k)+v_k.
\end{cases}
$$
I generate prior particles from the importance density:
$$
x_{k}^{i,-}=f(x_{k-1}^{i,+})+w_{k-1}^{i},\quad i=1,\ldots,N.
$$
Because f is nonlinear, I linearize it around the current estimate. The linearization error is bounded by a parallelotope. If the nonlinear function is a difference-of-convex function, I write each component as
$$
f_i(x)=g_{1,i}(x)-g_{2,i}(x),
$$
and compute the linearization error bounds by
$$
e_{k-1,i}^{\min}=\min_{x\in V_P}\left\{g_{1,i}(x)-g_{2,i}(x)-f_{i,L}(x)\right\},
$$
$$
e_{k-1,i}^{\max}=\max_{x\in V_P}\left\{g_{1,i}(x)-g_{2,i}(x)-f_{i,L}(x)\right\}.
$$
The error set is then represented as
$$
P(\theta_e,\operatorname{diag}(r_e))=
\{\theta:\theta=\theta_e+\operatorname{diag}(r_e)\alpha,\ \|\alpha\|_\infty\le 1\}.
$$
Using the Minkowski sum property, I combine the linearized state set, the linearization error set, and the process-noise set:
$$
Z(\hat{x}_{k|k-1},T_{k|k-1})
=
P(f(\hat{x}_{k-1}),A_k T_{k-1})
\oplus
P(\theta_e,\operatorname{diag}(r_e))
\oplus
P(0,\operatorname{diag}(r_w)).
$$
For diagonal generators, this becomes
$$
P(\theta_1,T_1)\oplus P(\theta_2,T_2)
=
P(\theta_1+\theta_2,T_1+T_2).
$$
The zonotopic prediction set is converted into half-space form:
$$
Hx\le k,\qquad
H=
\begin{bmatrix}
H^+\\
-H^+
\end{bmatrix},\qquad
k=
\begin{bmatrix}
k^+\\
k^-
\end{bmatrix}.
$$
From the half-space representation, I select the minimum-volume outer parallelotope. If several candidate parallelotopes can enclose the zonotope, I choose the one with the smallest volume:
$$
G^*=\arg\min_j 2^n|\det(G_j)|.
$$
The prediction feasible domain is therefore
$$
P(\hat{x}_{k|k-1},\hat{G}_{k|k-1})
=
\{x:x=\hat{x}_{k|k-1}+\hat{G}_{k|k-1}\alpha,\ \|\alpha\|_\infty\le 1\}.
$$
For the update step, I linearize the measurement function and bound its linearization error. The measurement set is
$$
S_k=
\{
x:
|B_k x-(y_k-h(\hat{x}_{k|k-1})+B_k\hat{x}_{k|k-1}-\tau_{o,k})|
\le
\operatorname{diag}(r_o+r_v)
\}.
$$
This set is decomposed into strips:
$$
S_k=\bigcap_{i=1}^{z}S_{k,i}
=
\bigcap_{i=1}^{z}
\{x:|p_{k,i}^T x-c_{k,i}|\le 1\}.
$$
I recursively intersect the predicted parallelotope with each strip and compute a minimum-volume outer parallelotope. The result is the posterior particle feasible domain
$$
P(x_{k|k},G_{k|k})
=
\{x:\|P_k(x-x_{k|k})\|_\infty\le 1\},
$$
where P_k=G_{k|k}^{-1}. I test each prior particle. If
$$
P_k(x_k^{i,-}-x_{k|k})>1,
$$
then the particle lies outside the feasible domain and I set its weight to zero. Otherwise it is retained. To avoid particle depletion, I generate new particles inside the feasible domain by solving a maximum-a-posteriori optimization:
$$
\min_{x_{k,\text{new}}\in P(x_{k|k},G_{k|k})}
-\left(
\log p_{e_k}(x_{k,\text{new}}-x_k)
+
\log p_{v_k}(y_k-h(x_{k,\text{new}}))
\right).
$$
The posterior particle set is formed from retained particles and newly generated particles. The weights are updated by
$$
w_k^i=w_{k-1}^i p(y_k|x_k^{i,+}),
$$
and normalized as
$$
w_k^i=\frac{w_k^i}{\sum_{j=1}^{N}w_k^j}.
$$
The state estimate of the electric vehicle battery pack is
$$
\hat{x}_k=\sum_{i=1}^{N}w_k^i x_k^{i,+}.
$$
The nonlinear estimator therefore combines the geometric rigor of parallelotopes with the flexibility of particle filtering. It maintains particle diversity by mapping outside particles into the feasible domain instead of repeatedly resampling the same high-weight particles. This is particularly important for an electric vehicle battery pack because repeated charging and discharging can create long periods of low observability, and particle impoverishment can bias the state of charge estimate.
| Stage | Formula or Operation | Purpose in electric vehicle battery pack estimation |
|---|---|---|
| Prior sampling | x_k^{i,-}=f(x_{k-1}^{i,+})+w_{k-1}^i | Propagate particles through battery dynamics |
| Linearization error bound | e_{k-1,i}^{min}, e_{k-1,i}^{max} | Account for nonlinear OCV-SOC curve |
| Prediction set | Minkowski sum of state, error, and noise sets | Obtain feasible prior region |
| Minimum outer parallelotope | G^*=\arg\min 2^n|\det(G_j)| | Reduce complexity of polytopic update |
| Measurement update | S_k as intersection of strips | Use terminal voltage to shrink feasible domain |
| Particle screening | P_k(x_k^{i,-}-x_{k|k})>1 | Reject particles inconsistent with bounds |
| MAP particle generation | Minimize negative log posterior | Preserve diversity and improve accuracy |
| Weight update | w_k^i=w_{k-1}^i p(y_k|x_k^{i,+}) | Compute posterior SOC estimate |
I evaluated the nonlinear estimator with several baselines. The extended Kalman filter assumes Gaussian noise and performs poorly when the true uncertainty is unknown but bounded. A maximum-correntropy adaptive extended Kalman filter handles non-Gaussian noise better, but it still relies on a probabilistic model. An ellipsoidal set-membership particle filter uses ellipsoids for particle screening; it improves robustness but remains conservative. A standard particle filter can represent nonlinearity, but it suffers from degeneration and impoverishment. My parallelotope-optimized particle filter produces the lowest root-mean-square error among the tested methods for the electric vehicle battery pack data.
| Algorithm | SOC RMSE | Noise assumption | Particle diversity |
|---|---|---|---|
| Extended Kalman filter | 0.0175 | Gaussian | Not applicable |
| Maximum-correntropy adaptive extended Kalman filter | 0.00526 | Non-Gaussian probabilistic | Not applicable |
| Ellipsoidal set-membership particle filter | 0.00736 | Bounded | Moderate |
| Standard particle filter | 0.00879 | Flexible | Low after resampling |
| Ellipsoidal set-membership particle filter with screening | 0.00480 | Bounded | Moderate |
| Parallelotope-optimized particle filter | 0.00319 | Bounded | High |
Computational behavior. I examine computational complexity because an electric vehicle battery pack controller has limited online computation budget. The parallelotope representation is attractive because matrix operations, strip intersections, and linear programs are simpler than full polytope propagation. The particle swarm stage adds offline-like search cost, but I use a small number of particles and a small number of iterations. The particle filter stage uses the parallelotope feasible domain to reject impossible particles early, which reduces the number of expensive weight evaluations. The following table summarizes the qualitative cost for an electric vehicle battery pack.
| Operation | Dominant Cost | Practical Implication |
|---|---|---|
| Parallelotope prediction | Matrix multiplication | Suitable for real-time implementation |
| Strip intersection | Vector and scalar operations | Low per-measurement cost |
| Linear programming for orthogonal bounds | Small number of variables | Acceptable if solved at a modest rate |
| Particle swarm update | Particle count times iterations | Can be tuned for embedded processors |
| Minimum outer parallelotope | Combination selection over strips | Reduced by recursive update |
| MAP particle regeneration | Constrained optimization per replaced particle | Used only for rejected particles |
System development for production and state of charge estimation. I also translate the estimators into a production management and state of charge estimation system for an electric vehicle battery pack production line. The system follows a browser-server architecture with separate front-end and back-end services. The front end uses Vue, ECharts, and Element-UI to present manufacturing data, process parameters, line states, and state of charge results. The back end uses Java, Spring Boot, and MyBatis, and it communicates through HTTP APIs. The system connects to enterprise data interfaces so that the algorithms receive real battery parameters and test records. This is important because an electric vehicle battery pack is produced through many steps, and the state of charge estimation module must use consistent process and measurement data.
The system has four major modules. The manufacturing activity collection module displays key process states, material inventory, material demand, historical production volume, and qualification rates. The process data module supports fuzzy search by battery identifier and retrieves process parameters such as coating density, winding length, and electrolyte injection volume. The production line management module shows equipment status, equipment runtime, and order scheduling. The state of charge estimation module runs the parallelotope-based algorithms and displays estimated state of charge values for the electric vehicle battery pack. The following table summarizes the functional design.
| Module | Main Function | Data Source | Value for electric vehicle battery pack production |
|---|---|---|---|
| Manufacturing activity collection | Visualize process states, material inventory, production volume, qualification rate | Enterprise HTTP APIs | Improves visibility and coordination |
| Process data | Search battery process parameters and predicted qualification rate | Process database and simulation API | Supports parameter tracing and quality analysis |
| Production line management | Monitor equipment status, runtime, and order scheduling | Equipment APIs and order database | Reduces downtime and improves scheduling |
| SOC estimation | Run parallelotope particle filter algorithms and visualize SOC | Battery test data and model parameters | Provides accurate state estimation for each pack |
In the state of charge estimation module, I use the parameters of the electric vehicle battery pack as inputs: rated voltage, rated capacity, upper and lower cutoff voltages, temperature, current profile, and terminal voltage. The server executes the state estimation algorithm and returns the estimated state of charge, associated bounds, and open-circuit-voltage trend. The visualization uses bar charts and line charts so that operators can compare batches and detect abnormal behavior. Because the state of charge of an electric vehicle battery pack affects safety and range, this module is integrated with the production database rather than treated as a standalone calculator.
| Input to SOC module | Description | Role in estimation |
|---|---|---|
| Battery identifier | Unique code for a batch or pack | Links process history and test data |
| Rated voltage | Nominal pack voltage | Scales model parameters |
| Rated capacity | Available charge capacity | Converts current integral to SOC change |
| Cutoff voltages | Upper and lower safe limits | Constrains feasible SOC range |
| Temperature | Test or operating temperature | Affects resistance and capacity |
| Current | Charge or discharge current | Drives state transition |
| Terminal voltage | Measured pack voltage | Provides measurement update |
Integration of algorithms into the system. I encapsulate the particle-swarm-optimized orthogonal parallelotope filter and the parallelotope-optimized particle filter as backend services. The production system calls these services with battery parameters and measurement sequences. For a linearized operating regime, the first algorithm can provide a fast orthogonal parallelotope estimate. For a strongly nonlinear regime, the second algorithm provides a more accurate particle-based estimate. The system can select the estimator according to operating conditions, or it can run both and compare their feasible intervals. This is useful for an electric vehicle battery pack because different chemistries and load profiles may require different trade-offs between speed and accuracy.
| Condition | Preferred algorithm | Reason |
|---|---|---|
| Mild nonlinearity and high real-time requirement | Particle-swarm-optimized orthogonal parallelotope filter | Low computational cost and tight orthogonal bounds |
| Strong nonlinearity and offline or low-rate analysis | Parallelotope-optimized particle filter | Better handling of OCV-SOC nonlinearity |
| Unknown-but-bounded noise | Both parallelotope methods | No Gaussian assumption required |
| Large model uncertainty | Parallelotope-optimized particle filter | Particle diversity and feasible-domain screening |
| Fast screening of many packs | Particle-swarm-optimized orthogonal parallelotope filter | Simple set representation and fast update |
Experimental observations. I observed that the feasible region shrinks rapidly after current excitation begins. The state of charge dimension becomes more observable when the terminal voltage responds to current. When the electric vehicle battery pack rests, the open-circuit voltage slowly relaxes, and the feasible set can shrink further if the rest period is long enough. The parallelotope methods exploit both current excitation and rest periods. The particle filtering method is especially effective when the open-circuit-voltage curve is steep because small voltage errors can otherwise cause large state of charge errors. The particle feasible domain prevents particles from drifting into physically inconsistent regions.
I also tested initial state of charge errors. With the parallelotope-optimized particle filter, even when the initial state of charge was set far from the true value, the estimate converged to the true trajectory after a short transient. This matters for an electric vehicle battery pack because the initial state of charge may be unknown after storage, maintenance, or partial charging. The feasible-domain constraint and the measurement update together force the particle cloud back toward the true state.
| Scenario | Initial SOC | Observed convergence | Interpretation |
|---|---|---|---|
| Accurate initialization | 1.0 | Fast and stable | Nominal operating case |
| Large initial error | 0.7 | Rapid recovery after excitation | Robustness to unknown initial SOC |
| Rest period after discharge | Varies | Feasible set shrinks slowly | Open-circuit voltage provides information |
| Current pulse excitation | Varies | Feasible set shrinks quickly | Current improves observability |
Comparison with Kalman-type filters. I do not claim that Kalman-type filters are useless. In fact, they are elegant and efficient when noise is Gaussian and the model is well identified. However, for an electric vehicle battery pack, real noise is often bounded but not Gaussian. Measurement outliers, sensor quantization, temperature-dependent resistance, and unmodeled relaxation can violate the Gaussian assumption. Under such conditions, the Kalman filter family can become biased. The set-membership approach provides a different guarantee: the true state remains inside a computed feasible set as long as the noise bounds and model assumptions hold. My contribution is to make that feasible set tighter and to combine it with particle-based nonlinear estimation.
| Property | Kalman-type filter | My parallelotope methods |
|---|---|---|
| Noise model | Usually Gaussian | Unknown but bounded |
| Output | Point estimate and covariance | Feasible set and estimate |
| Guarantee | Probabilistic | Set-membership |
| Nonlinearity | Linearization or sigma points | Particles and bounded linearization error |
| Conservatism | Can be low if assumptions hold | Reduced by orthogonal and particle optimization |
| Application to electric vehicle battery pack | Widely used | Robust when noise bounds are known |
Why parallelotopes instead of ellipsoids. Ellipsoids are smooth and convenient, but their update can be conservative and computationally heavier in repeated intersection. Parallelotopes are aligned with coordinate directions in the orthogonal case, so they are easy to sample and easy to convert into independent intervals. For an electric vehicle battery pack, the state vector is low-dimensional, usually two or three states, so the linear programming step is manageable. The orthogonal parallelotope also makes the particle search space explicit. This is the key reason I use orthogonal parallelotopes for the swarm search and general parallelotopes for the measurement update.
| Set type | Strength | Weakness | Use in my work |
|---|---|---|---|
| Interval | Very simple | Ignores correlations | Not sufficient alone |
| Ellipsoid | Smooth and compact in some directions | Conservative and expensive updates | Used as a comparison baseline |
| Zonotope | Efficient Minkowski sum | Complex intersection | Prediction set generation |
| Parallelotope | Low-dimensional tractable and tight | Requires outer approximation | Core feasible set representation |
| Orthogonal parallelotope | Independent coordinate bounds | May lose correlations | Particle swarm search space |
Parameter sensitivity. I studied how the estimator responds to changes in R0, Rp, Cp, and capacity. The ohmic resistance affects the instantaneous voltage drop, so an error in R0 shifts the terminal voltage prediction. The polarization resistance and capacitance affect the transient response. The capacity directly scales the state of charge change per ampere-hour. The parallelotope method can include parameter uncertainty by enlarging the process-noise set. The particle filter can also treat some parameters as augmented states, but that increases computational cost. In my electric vehicle battery pack experiments, the most important parameter was capacity, followed by R0. I therefore recommend periodic parameter calibration for an electric vehicle battery pack in long-term operation.
| Parameter | Effect on voltage | Effect on SOC estimate | Suggested handling |
|---|---|---|---|
| R0 | Instantaneous voltage drop | Bias during current steps | Online estimation or interval enlargement |
| Rp | Transient recovery shape | Slower polarization correction | Identify from pulse tests |
| Cp | Time constant of relaxation | Affects transient feasible set | Update with temperature |
| Capacity | Indirect through SOC | Direct scaling error | Regular recalibration |
| OCV curve | Measurement mapping | Nonlinear observability | Temperature-dependent lookup table |
Temperature and aging considerations. Although my core experiments were performed at a controlled temperature, an electric vehicle battery pack in real operation experiences temperature gradients and aging. Temperature changes capacity, resistance, and open-circuit-voltage behavior. Aging changes the same parameters and can also change the shape of the open-circuit-voltage curve. I can extend the model by making R0, Rp, Cp, and Q_N functions of temperature and state of health. The parallelotope noise bounds can be enlarged when the temperature is far from the calibration range. The particle filter can then maintain a feasible set that reflects greater uncertainty. This is a practical route for an electric vehicle battery pack because the battery management system already measures temperature and can estimate state of health over time.
$$
R_0(T,SOH)=R_{0,ref}(SOH)\left[1+\alpha_R(T-T_{ref})\right],
$$
$$
Q_N(T,SOH)=Q_{N,ref}(SOH)\left[1+\alpha_Q(T-T_{ref})\right].
$$
I treat these extensions as important future work because they require extensive aging and temperature tests. In the current work, I show that the core parallelotope and particle methods are compatible with such extensions. The noise-bound concept is flexible: if a parameter is uncertain, its effect can be included in the process disturbance set. If the uncertainty is asymmetric, a general parallelotope or union of parallelotopes can represent it.
Deployment lessons. In the production management and state of charge estimation system, I found that data quality is as important as algorithm choice. An electric vehicle battery pack passes through many process steps, and missing or delayed records can produce inconsistent inputs. I therefore designed the system to validate incoming records before estimation. If voltage or current data are missing, the estimator can run in prediction-only mode and enlarge the feasible set. If the temperature is outside the calibrated range, the system can flag the result as low confidence. This practical logic is essential for an electric vehicle battery pack because safety decisions should not rely on unqualified estimates.
| Data issue | Effect on estimation | System response |
|---|---|---|
| Missing terminal voltage | No measurement update | Prediction-only with enlarged bounds |
| Current sensor bias | Cumulative SOC drift | Increase process-noise bound and flag |
| Temperature out of range | Model mismatch | Use conservative parameter bounds |
| Time stamp mismatch | Wrong state transition interval | Reject record or interpolate carefully |
| Outlier voltage sample | Over-tight measurement strip | Robustify strip or discard if inconsistent |
Algorithmic summary. I summarize the two estimators as follows. The particle-swarm-optimized orthogonal parallelotope filter is designed for efficient and tight bounded state estimation. It builds a search space from an existing parallelotope, evolves particles with a measurement-driven fitness, and reconstructs a tighter orthogonal parallelotope using linear programming. The parallelotope-optimized particle filter is designed for nonlinear electric vehicle battery pack estimation. It bounds linearization error with parallelotopes, builds a zonotopic prediction set, converts it into a minimum-volume outer parallelotope, intersects it with measurement strips to define a particle feasible domain, and regenerates particles by a maximum-a-posteriori rule. Both methods avoid Gaussian assumptions and both produce a feasible interval around the state of charge.
| Feature | Particle-swarm-optimized orthogonal parallelotope filter | Parallelotope-optimized particle filter |
|---|---|---|
| Primary target | Tight bounded feasible set | Nonlinear SOC estimation |
| Noise assumption | Unknown but bounded | Unknown but bounded |
| State representation | Orthogonal parallelotope | Parallelotope plus particles |
| Search mechanism | Particle swarm optimization | Particle filtering with feasible-domain screening |
| Measurement use | Fitness function | Strip intersection and MAP regeneration |
| Strength | Fast and compact | Accurate under nonlinearity |
| Application in electric vehicle battery pack | Real-time screening and interval estimation | High-accuracy nonlinear SOC tracking |
Validation and practical value. I validated the methods with current profiles that resemble electric vehicle battery pack operation, including discharge pulses, rest periods, and varying load. The feasible sets contained the true state of charge in all tested cases where the noise bounds were respected. The parallelotope-optimized particle filter achieved lower root-mean-square error than the comparison algorithms. The particle-swarm-optimized orthogonal parallelotope filter achieved a tighter feasible region than the standard orthogonal parallelotope method. These results support the use of bounded-set methods for an electric vehicle battery pack when noise statistics are uncertain.
| Validation aspect | Observation | Conclusion |
|---|---|---|
| Feasible-set containment | True SOC remained inside the computed set | Set-membership guarantee is practical |
| Convergence speed | Rapid shrinking after current excitation | Current signal improves observability |
| Nonlinear tracking | Parallelotope particle filter followed true SOC closely | Nonlinear OCV-SOC handling is effective |
| Initial error | Recovered from incorrect initial SOC | Robust for unknown initial conditions |
| System integration | Algorithms served through backend APIs | Deployable for production management |
Limitations I acknowledge. The first limitation is temperature. My model uses parameters identified at a controlled temperature. A real electric vehicle battery pack experiences wide temperature variation. The second limitation is aging. Capacity fade and resistance growth change the model over the lifetime of an electric vehicle battery pack. The third limitation is computational cost when the particle count or state dimension grows. The fourth limitation is the assumption that noise bounds are known. If the bounds are too small, the true state may be excluded. If they are too large, the feasible set becomes conservative. The fifth limitation is that my system focuses on data visualization and state of charge estimation, while a full battery management system also needs fault diagnosis, thermal control, and state of health estimation.
| Limitation | Impact on electric vehicle battery pack SOC | Possible remedy |
|---|---|---|
| Temperature variation | Model mismatch and bias | Temperature-dependent parameter lookup and adaptive bounds |
| Aging | Capacity and resistance drift | Joint SOC and state-of-health estimation |
| Computational cost | Limits online particle count | Parallel computing, event-triggered updates, reduced-order models |
| Noise-bound uncertainty | Feasible set too tight or too loose | Adaptive bound estimation from data |
| Incomplete BMS functions | Not enough for full pack management | Integrate fault diagnosis and thermal management |
Future extensions I plan. I plan to introduce a temperature-dependent electric vehicle battery pack model and identify parameters at multiple temperatures. I will use a lookup table or polynomial correction for open-circuit voltage and capacity. I will also investigate adaptive noise-bound estimation so that the set-membership filter can adjust to changing sensor quality. For computation, I will explore event-triggered parallelotope updates and parallel particle evaluation. For system development, I will extend the production management platform with state-of-health monitoring, fault diagnosis, and thermal early warning. These extensions will make the state of charge estimation of an electric vehicle battery pack more complete and more reliable.
| Extension | Method | Expected benefit |
|---|---|---|
| Temperature-aware model | Multi-temperature parameter identification | Reduced bias in cold and hot conditions |
| Adaptive bounds | Online residual analysis | Better match to real uncertainty |
| State-of-health joint estimation | Augmented state or dual filter | Compensates capacity fade |
| Fault diagnosis | Set-membership residual checks | Detects sensor and connection faults |
| Thermal warning | Temperature prediction and threshold logic | Improves safety of electric vehicle battery pack |
Concluding perspective. I have presented a unified parallelotopic framework for state of charge estimation of an electric vehicle battery pack under unknown-but-bounded noise. I started from a first-order equivalent-circuit model and identified its parameters through rest and pulse tests. I then introduced parallelotope geometry and set-membership filtering. I developed a particle-swarm-optimized orthogonal parallelotope filter that tightens the feasible set while preserving the low-dimensional structure of an electric vehicle battery pack model. I also developed a parallelotope-optimized particle filter that handles nonlinear open-circuit-voltage behavior, screens particles with a feasible domain, and regenerates particles by a maximum-a-posteriori rule. Finally, I integrated these algorithms into a production management and state of charge estimation system. The resulting methods provide accurate state of charge estimates, explicit uncertainty bounds, and practical deployment value for an electric vehicle battery pack.
From my perspective, the most important insight is that state of charge estimation for an electric vehicle battery pack should not rely on a single assumption about noise. Gaussian filters are efficient when their assumptions hold, but bounded-set filters are more faithful when disturbances are unknown but bounded. Parallelotopes provide a computationally attractive middle ground between simple intervals and complex polytopes. Particles add nonlinear flexibility. When combined, they produce a robust estimator that can be used in real battery management and production systems. I will continue to refine this framework with temperature, aging, and online adaptation so that the state of charge of an electric vehicle battery pack can be estimated with higher confidence over its entire service life.
