Deep Koopman Operator-Informed Safety Command Governor for Autonomous Vehicles

Hao Chen, Xiangkun He, Shuo Cheng, Chen Lv

Introduction

Ensuring the lateral stability of autonomous vehicles during aggressive maneuvers remains a significant challenge in automotive engineering. Vehicle dynamics, particularly the interactions between tires and road surfaces, are inherently nonlinear and sensitive to environmental changes. Traditional control strategies often struggle to balance the need for high-fidelity modeling with the strict computational constraints of real-time safety systems. This paper introduces a novel safety framework—the Deep Koopman Operator-informed Safety Command Governor (DK-SCG)—designed to bridge this gap by leveraging deep learning to linearize complex dynamics for efficient, safety-critical control.

The Modeling Dilemma: Accuracy vs. Speed

Modern autonomous vehicles, especially in-wheel motor driven vehicles (IMDVs), require precise control to maintain stability during high-speed turns or on slippery surfaces. Existing approaches typically fall into two categories, both of which have limitations:

  1. Local Linearization: These methods are computationally efficient but often fail to capture the vehicle's behavior during aggressive or non-equilibrium maneuvers.
  2. Nonlinear Models: While accurate, these models are often too computationally intensive to be solved within the millisecond-level windows required for safety-critical optimization.

To address this, the researchers sought a method that provides the accuracy of a nonlinear model with the computational simplicity of a linear one.

The DK-SCG Architecture

The proposed framework consists of three integrated components that transform the nonlinear control problem into a manageable optimization task.

1. Deep Koopman Operator

At the heart of the system is the Koopman operator theory, which posits that any nonlinear system can be represented as a linear system if it is mapped (or "lifted") into a sufficiently high-dimensional space. Unlike traditional methods that require manual selection of lifting functions, the authors utilize Deep Neural Networks (DNNs) to automatically learn the optimal embedding. Three distinct networks are used to identify the embedding functions, the system matrix ($A$), and the input matrix ($B$) directly from vehicle data.

2. Control Barrier Functions (CBF)

To define "safety," the researchers employ Control Barrier Functions. These mathematical constructs define a "safe set" of operating states—such as limits on yaw rate and lateral velocity. The CBF ensures "forward invariance," a property that guarantees if a vehicle begins in a safe state, the controller will prevent it from ever leaving that safe boundary.

3. Safety Command Governor (QP Solver)

Because the Deep Koopman operator provides a linear representation of the vehicle's evolution, the safety constraints derived from the CBF also become linear. This allows the system to use Quadratic Programming (QP) to find the optimal safety intervention. The governor acts with "minimal intervention," only adjusting the driver’s or primary controller’s torque commands when the vehicle is at risk of violating its safety boundaries.

Experimental Validation and Results

The framework was validated using a Hardware-in-the-Loop (HiL) platform featuring dSPACE/SCALEXIO hardware and a Logitech G29 racing wheel for human-in-the-loop testing. The dataset encompassed various road radii (50m to 100m) and friction coefficients ($\mu$) ranging from 0.2 (icy) to 0.85 (dry asphalt).

Superior Predictive Accuracy

The Deep Koopman model demonstrated remarkable precision in predicting vehicle states. It achieved a longitudinal velocity Root Mean Square Error (RMSE) of 0.258 m/s, significantly outperforming standard Multi-Layer Perceptrons (2.082 m/s) and LSTMs (2.152 m/s).

Real-Time Efficiency and Robustness

A critical metric for automotive safety is latency. The DK-SCG achieved an average computational time of just 0.1 ms, making it ideal for high-frequency control loops. Furthermore, the model proved robust to physical uncertainties; when the vehicle's mass was varied by $\pm 150$ kg, the Deep Koopman approach maintained higher accuracy than traditional 7-Degree-of-Freedom physics-based models.

Safety Performance

In HiL testing, the DK-SCG successfully maintained vehicle stability during sharp maneuvers where standard controllers failed. By proactively governing the torque commands, the system kept the vehicle within the predefined safe set even under challenging road conditions.

Conclusion and Future Work

The Deep Koopman Operator-informed Safety Command Governor represents a significant step forward in data-driven safety control. By combining the representational power of deep learning with the rigorous guarantees of Control Barrier Functions, the authors have created a system that is both highly accurate and computationally efficient.

Future research will focus on expanding the model to include 3D dynamics (roll and pitch) to account for suspension effects and weight transfer. Additionally, the researchers plan to integrate external obstacle avoidance and explore online adaptation techniques to handle real-world variables like tire wear and changing weather conditions in real-time.

Summary updated

BibTeX
@inproceedings{chen2024deep,
  author = {Hao Chen and Xiangkun He and Shuo Cheng and Chen Lv},
  title = {{Deep Koopman Operator-Informed Safety Command Governor for Autonomous Vehicles}},
  booktitle = {IEEE/ASME},
  year = {2024},
  doi = {10.1109/tmech.2023.3349052},
}
Figure