Drag Racing Project

Project Overview

This project involved designing a Nonlinear Model Predictive Control (NMPC) system to maximize the distance traveled by a car in the positive x-direction within a fixed time interval. The task required maintaining stability, staying close to the centerline, and avoiding a predefined obstacle.

Key Objectives

Car Dynamics

The car's motion was modeled using dynamics equations that accounted for rear and front tire forces, vehicle position, and orientation in world coordinates. These dynamics were discretized using first-order Euler integration for computational efficiency.

Modified Tire Model

A modified tire model was introduced to prevent force saturation at high slip angles, which improves optimization during control. This adjustment enhanced the car's ability to make precise and stable maneuvers.

Nonlinear Model Predictive Control

The NMPC system calculated an optimal trajectory by balancing multiple objectives, including maximizing traction force, minimizing lateral deviation, and avoiding obstacles. Auxiliary variables were introduced to enforce tire force and friction constraints, ensuring the car's control inputs adhered to physical limits.

Outcomes

Future Work

Conclusion

This project demonstrated the potential of NMPC in handling complex vehicle dynamics and constraints. By integrating advanced control strategies, it lays the groundwork for applications in high-performance and autonomous driving systems.