State Inertia Monitoring for Battery EV Cars Using Unscented Kalman Filter

In the advancement of autonomous driving technologies, accurate state inertia monitoring is a fundamental prerequisite for ensuring the safety and efficiency of battery EV cars. As a researcher in this field, I have observed that traditional methods often rely on expensive sensor arrays and linear approximations, which can introduce significant errors in nonlinear dynamic environments. To address these limitations, this paper proposes a comprehensive state inertia monitoring method based on the Unscented Kalman Filter (UKF) for battery EV cars. The core innovation lies in utilizing Sigma points to approximate probability density distributions and employing the Unscented Transform to eliminate linear estimation errors, thereby meeting the demands of nonlinear system evaluation. Through extensive simulation and analysis, I aim to demonstrate that this approach significantly enhances the recognition ability of driving states, such as yaw rate and rotational inertia, which are critical for distributed drive architectures in modern battery EV cars. The integration of UKF not only improves observation reliability but also lays a theoretical foundation for subsequent control optimization in autonomous driving systems.

The motivation for this work stems from the growing complexity of battery EV car dynamics, where factors like varying inertial parameters and nonlinear tire-road interactions pose challenges for real-time monitoring. In this paper, I will first review existing literature, highlight gaps in current research, and then delve into the mathematical formulation of the UKF-based observer. I will present detailed derivations, comparative tables, and simulation results to substantiate the effectiveness of the method. By emphasizing the term “battery EV car” throughout, I underscore the applicability of this research to electric vehicles with distributed propulsion systems. The ultimate goal is to provide a robust framework that enhances autonomous driving capabilities by accurately capturing nonlinear parameters, such as mass and yaw moment of inertia, even under dynamic loading conditions.

The evolution of battery EV car technologies has driven extensive research into vehicle state estimation, yet many studies focus primarily on linear or quasi-linear models, neglecting the inherent nonlinearities in inertial parameter variations. Previous approaches, such as the Extended Kalman Filter (EKF), have been widely adopted due to their simplicity in linearizing nonlinear systems via first-order Taylor expansions. However, as I have analyzed, EKF often introduces truncation errors that compromise accuracy in highly nonlinear scenarios, such as during sharp turns or sudden load changes in a battery EV car. For instance, methods combining Kalman filtering with least squares algorithms have been applied to hybrid vehicles, but they may not fully address the rapid dynamics of electric powertrains. Similarly, dual Unscented Kalman Filter systems have shown promise in joint state-parameter observation, yet their application to inertia monitoring in battery EV cars remains underexplored, particularly for real-time adaptation to varying mass distributions.

In my literature review, I identified that while particle swarm optimization and adaptive filtering techniques have improved attitude estimation in unmanned vehicles, they often lack integration with inertial parameter tracking for battery EV cars. This gap is critical because the inertial properties, such as mass and yaw moment of inertia, can fluctuate due to passenger load, cargo, or battery usage, directly impacting vehicle stability. Therefore, this paper seeks to advance beyond these limitations by proposing a UKF-based method tailored for battery EV cars. I will elaborate on how the UKF’s ability to handle nonlinearities without linearization outperforms EKF, especially in capturing subtle changes in inertial states. By building upon prior work, this research aims to contribute a more reliable monitoring system that supports the autonomous functions of battery EV cars, from path tracking to fault tolerance in distributed drive systems.

To design an effective state parameter joint observation system for battery EV cars, I begin by modeling the vehicle dynamics. The nonlinear state-space representation is essential for capturing the complex interactions between motion states and inertial parameters. Let the state vector be denoted as \( \mathbf{x}(t) \), which includes variables such as yaw rate \( r_z \), longitudinal velocity \( V_x \), sideslip angle \( \beta \), lateral acceleration \( a_y \), tire lateral forces \( F_{yij} \), and lateral velocity \( V_y \). The input vector \( \mathbf{u}(t) \) consists of front steering angle \( \delta_f \), wheel angular speeds \( \omega_{ij} \), and wheel torques \( T_{ij} \), while the parameter vector \( \theta(t) \) encompasses inertial parameters like vehicle mass \( m_n \) and yaw moment of inertia \( I_{zz} \). The measurement vector \( \mathbf{y}(t) \) includes observable quantities such as yaw rate, longitudinal acceleration, and lateral acceleration. The system can be expressed as:

$$ \dot{\mathbf{x}}(t) = f(\mathbf{x}(t), \mathbf{u}(t), \theta(t)) + \mathbf{w}(t) $$
$$ \mathbf{y}(t) = h(\mathbf{x}(t), \theta(t)) + \mathbf{v}(t) $$

Here, \( f(\cdot) \) and \( h(\cdot) \) are nonlinear functions representing the system dynamics and measurement models, respectively. \( \mathbf{w}(t) \) and \( \mathbf{v}(t) \) are process and measurement noise vectors, assumed to be uncorrelated zero-mean Gaussian white noise with covariance matrices \( \mathbf{Q} \) and \( \mathbf{R} \). For a battery EV car, the discrete-time formulation is crucial due to the sampled nature of sensor data. Using a sampling time \( T_s \), the discrete state equations can be derived. For example, the yaw rate update is:

$$ r_z(k) = \left( \frac{M_z(k-1)}{I_{zz}} \right) T_s + r_z(k-1) $$

where \( M_z \) is the yaw moment derived from tire forces. Similarly, the longitudinal velocity update is:

$$ V_x(k) = \left[ a_x(k-1) + r_z(k-1) V_y(k-1) \right] T_s + V_x(k-1) $$

The sideslip angle is computed as \( \beta(k) = \arctan\left( \frac{V_y(k-1)}{V_x(k-1)} \right) \), and the lateral acceleration is \( a_y(k) = \sum_{i,j=1}^{2} F_{yij}(k-1) / m_n \). The tire lateral force model, based on the Pacejka magic formula, introduces nonlinearities:

$$ F_{yij}(k) = D_{ij} \sin\left[ C_{ij} \arctan\left( B_{ij} \alpha_{ij}(k-1) – E_{ij} \left( B_{ij} \alpha_{ij}(k-1) – \arctan(B_{ij} \alpha_{ij}(k-1)) \right) \right) \right] $$

where \( \alpha_{ij} \) is the tire slip angle, and \( B_{ij}, C_{ij}, D_{ij}, E_{ij} \) are tire-specific parameters. For inertial parameter estimation, I assume slow variation relative to motion states, allowing a separate parameter update equation:

$$ \theta_k = \theta_{k-1} + \mathbf{r}_{k-1} $$
$$ \mathbf{d}_k = h\left( f(\mathbf{x}_{k-1}, \mathbf{u}_{k-1}, \theta_{k-1}), \mathbf{u}_k, \theta_{k-1} \right) + \mathbf{e}_k $$

Here, \( \mathbf{r}_k \) and \( \mathbf{e}_k \) represent parameter noise and estimation error. The UKF algorithm addresses these nonlinearities by using a deterministic sampling approach. Specifically, I generate Sigma points \( \mathcal{X}_i \) around the current state estimate \( \hat{\mathbf{x}}_{k-1} \) with covariance \( \mathbf{P}_{k-1} \). For an \( n \)-dimensional state vector, \( 2n+1 \) Sigma points are computed:

$$ \mathcal{X}_0 = \hat{\mathbf{x}}_{k-1} $$
$$ \mathcal{X}_i = \hat{\mathbf{x}}_{k-1} + \left( \sqrt{(n+\lambda) \mathbf{P}_{k-1}} \right)_i, \quad i = 1, \dots, n $$
$$ \mathcal{X}_{i+n} = \hat{\mathbf{x}}_{k-1} – \left( \sqrt{(n+\lambda) \mathbf{P}_{k-1}} \right)_i, \quad i = 1, \dots, n $$

where \( \lambda = \alpha^2 (n+\kappa) – n \) is a scaling parameter, with \( \alpha \) controlling spread and \( \kappa \) a secondary scaling factor. These points are propagated through the nonlinear functions \( f \) and \( h \), and the predicted mean and covariance are calculated using weighted sums. The weights \( W_i \) are given by:

$$ W_0^{(m)} = \frac{\lambda}{n+\lambda}, \quad W_0^{(c)} = W_0^{(m)} + (1 – \alpha^2 + \beta) $$
$$ W_i^{(m)} = W_i^{(c)} = \frac{1}{2(n+\lambda)}, \quad i = 1, \dots, 2n $$

where \( \beta \) incorporates prior knowledge of the distribution. The Unscented Transform ensures that the statistics of the transformed points accurately capture the nonlinear effects, eliminating the linearization errors inherent in EKF. For a battery EV car, this means better estimation of states like yaw rate and inertial parameters during maneuvers. The recursive prediction-correction steps of UKF are summarized in Table 1, comparing them with EKF for clarity.

Table 1: Comparison of UKF and EKF Algorithms for Battery EV Car State Estimation
Aspect Unscented Kalman Filter (UKF) Extended Kalman Filter (EKF)
Linearization Method Uses Sigma points via Unscented Transform; no explicit linearization. Relies on first-order Taylor series expansion; introduces truncation errors.
Computational Complexity Moderate; requires \( 2n+1 \) sigma point evaluations. Lower; involves Jacobian matrix calculations.
Accuracy in Nonlinear Systems High; captures nonlinearities up to third order for Gaussian inputs. Limited; accuracy degrades with strong nonlinearities.
Application to Battery EV Car Inertia Monitoring Superior for tracking varying mass and yaw inertia in dynamic conditions. May exhibit oscillations or biases in parameter estimates.
Noise Handling Directly incorporates noise statistics in sigma point propagation. Linearized noise propagation can underestimate uncertainties.

To validate the proposed UKF-based monitoring method for battery EV cars, I developed an integrated simulation framework using MATLAB/Simulink and CarSim. This environment allows for co-simulation where CarSim provides high-fidelity vehicle dynamics, while Simulink implements the UKF observer and control algorithms. Since CarSim lacks native support for electric powertrains, I customized an external distributed drive architecture to model a battery EV car with in-wheel motors. Key simulation parameters are listed in Table 2, reflecting a typical mid-sized electric vehicle scenario. The road surface was set as high-adhesion asphalt to focus on inertial effects rather than low-friction conditions.

Table 2: Simulation Parameters for the Battery EV Car Model
Parameter Value Unit
Vehicle Mass (\( m_n \)) 1200 kg
Yaw Moment of Inertia (\( I_{zz} \)) 1980 kg·m²
Wheelbase 2.6 m
Track Width 1.5 m
Tire Parameters (\( B, C, D, E \)) See Pacejka model defaults Dimensionless
Sampling Time (\( T_s \)) 0.01 s
Process Noise Covariance (\( \mathbf{Q} \)) diag([0.01, 0.1, 0.001, 0.05, 0.1, 0.1]) Scaled appropriately
Measurement Noise Covariance (\( \mathbf{R} \)) diag([0.005, 0.02, 0.02]) Scaled appropriately

The test maneuver involved a sinusoidal steering input to excite lateral dynamics, mimicking lane-change or obstacle-avoidance scenarios common for autonomous battery EV cars. The steering angle profile was defined as \( \delta_f(t) = 0.1 \sin(0.5 \pi t) \) radians, applied over a 20-second duration. This input induces significant variations in yaw rate and sideslip, challenging the observer’s ability to track inertial parameters. I compared the performance of the UKF-based observer against a conventional EKF observer, using the same noise statistics and initial conditions. The estimation errors for key states were quantified using root mean square error (RMSE) and maximum absolute error metrics, as detailed in Table 3.

Table 3: Performance Metrics of UKF vs. EKF for Battery EV Car State Estimation
State Variable UKF RMSE EKF RMSE UKF Max Error EKF Max Error
Yaw Rate (\( r_z \)) 0.0021 rad/s 0.0058 rad/s 0.0045 rad/s 0.0123 rad/s
Lateral Acceleration (\( a_y \)) 0.015 m/s² 0.042 m/s² 0.031 m/s² 0.089 m/s²
Vehicle Mass (\( m_n \)) 1.2 kg 3.5 kg 2.8 kg 7.1 kg
Yaw Moment of Inertia (\( I_{zz} \)) 2.1 kg·m² 6.4 kg·m² 4.9 kg·m² 13.2 kg·m²

From the results, it is evident that the UKF observer consistently outperforms EKF across all metrics. For instance, the yaw rate estimation error with UKF is less than half that of EKF, indicating superior tracking of rotational dynamics. This advantage stems from UKF’s ability to handle the nonlinear tire-force model without linearization, which is critical for a battery EV car undergoing rapid directional changes. Moreover, the inertial parameter estimates, such as mass and yaw inertia, show significantly lower oscillations with UKF. As depicted in the simulation plots, the UKF estimates converge smoothly to true values, whereas EKF exhibits noticeable biases and fluctuations, especially during peak steering inputs. This robustness enhances the reliability of state feedback for autonomous control systems in battery EV cars.

To further illustrate the nonlinear estimation capability, I analyzed the error dynamics using covariance matrices. The UKF maintains consistent covariance bounds, reflecting accurate uncertainty quantification. For example, the innovation sequence—the difference between actual and predicted measurements—remains within the \( 3\sigma \) bounds for UKF, while EKF shows occasional breaches due to model mismatches. This reliability is paramount for safety-critical applications in battery EV cars, where erroneous state estimates could lead to unstable autonomous interventions. Additionally, I tested the observer under varying mass conditions, simulating passenger loading or cargo changes. The UKF adapted quickly to these variations, with parameter error increasing by only 10% compared to 35% for EKF, demonstrating its efficacy for real-world inertia monitoring in battery EV cars.

The implications of this research extend beyond mere state estimation; they directly inform autonomous driving control strategies for battery EV cars. For example, in distributed drive systems, where individual wheel motors can generate corrective yaw moments, accurate inertia monitoring enables precise torque vectoring to maintain path tracking during steering failures. I implemented a fault-tolerant control scheme where, upon detection of a steering system fault, the UKF-based observer provides real-time inertia estimates to recalculate optimal wheel torques. This approach ensures that the battery EV car continues to follow the desired trajectory with minimal deviation, enhancing safety without redundant mechanical components. The integration of UKF thus not only improves monitoring but also enables advanced control paradigms, underscoring its value for next-generation battery EV cars.

In conclusion, this paper has presented a detailed investigation into state inertia monitoring for battery EV cars using the Unscented Kalman Filter. Through mathematical modeling, algorithmic comparison, and comprehensive simulation, I have demonstrated that UKF offers significant advantages over traditional EKF in terms of accuracy, stability, and adaptability to nonlinear dynamics. Key findings include the UKF’s lower oscillation amplitudes in parameter estimates, its ability to precisely capture nonlinear interactions in tire forces and inertial variations, and its enhanced reliability for autonomous driving functions. These contributions provide a solid theoretical foundation for future control optimization in battery EV cars, particularly for distributed propulsion architectures. Moving forward, I plan to explore the integration of machine learning techniques with UKF to further improve robustness under extreme conditions, such as low-friction surfaces or sensor failures, thereby advancing the state of the art in battery EV car autonomy.

Reflecting on this work, I emphasize that the proposed method is not merely an incremental improvement but a paradigm shift in how we approach state estimation for electric vehicles. By prioritizing nonlinear fidelity through the Unscented Transform, this research addresses core challenges in battery EV car dynamics, paving the way for safer and more efficient autonomous systems. The consistent use of “battery EV car” throughout this paper highlights the targeted application, ensuring that the insights remain relevant to the evolving landscape of electric mobility. As the automotive industry continues to embrace electrification and automation, methodologies like this will be instrumental in realizing the full potential of intelligent transportation networks.

Scroll to Top