Physics-informed Machine Learning with Heuristic Feedback Control Layer for Autonomous Vehicle Control.
.
├── DPCModel/ # DPC controller files
├── HFAMPCModel/ # HFAMPC controller files
├── HFRPCModel/ # HFRPC controller files
├── RPCModel/ # RPC controller files
├── simulation/ # Simulation scripts
├── DataSetGeneration/ # Scripts to generate training and testing data
├── results/ # Output results and performance summaries
├── mainLaneChangingSixController.py # Main script for testing all controllers
├── mainNumericalSimulationSingleExample.py # Script for a single example simulation
└── PlotLoss/ # Training loss visualization files
This project implements the following controllers:
- MPC (Model Predictive Control)
- AMPC (Approximate MPC)
- HFAMPC (Heuristic Feedback AMPC)
- DPC (Differentiable Predictive Control)
- RPC (Recurrent Predictive Control)
- HFRPC (Heuristic Feedback RPC)
- Physics-Informed Learning: Combines machine learning with model-based control for enhanced generalization.
- Heuristic Feedback Layer: Improves steady-state error and generalization.
- Performance Comparison: Numerical and graphical analysis of computational efficiency, trajectory accuracy, and generalization capabilities.
To run the project, the following dependencies are required:
- Python 3
- numpy
- pandas
- matplotlib
- torch
- casadi
- CUDA
-
Generate Dataset: Use
DataSetGeneration/
scripts to generate training and testing data. You can also download the dataset using the following link:
Google Drive Dataset -
Train Controllers: Run training scripts in the respective model directories (e.g.,
RPC_train_GPU.py
). -
Run Simulations:
- Single example simulation:
mainNumericalSimulationSingleExample.py
- Multiple controller comparison:
mainLaneChangingSixController.py
- Single example simulation:
-
Visualize Results:
- Training loss:
Training Loss over Epochs.png
.
- Training loss:
- Performance Analysis:
- Performance comparisons are shown in
Lane-Change Instance Within Training Set Boundaries.png
andClosed-loop Numerical Simulation Results.png
.
- Performance comparisons are shown in
- Training Loss:
- Visualized in
Training Loss over Epochs.png
.
- Visualized in
Xianning Li
New York University
Email: [email protected]