Optimal Control for Autonomous Racecar
In autonomous driving, the motion planning subsystem is required to determine a feasible state and control trajectory to navigate the vehicle to perform a specific task. This project implements a model predictive controller (MPC) to perform motion planning for Monash Motorsport’s autonomous racecar to compete in the Formula Student Driverless competition.Overall, a linear time-varying MPC formulation utilising a dynamic bicycle model is proposed, where the vehicle dynamics and path constraints are linearised at each time step, allowing the MPC to be formulated and solved as a quadratic program.An optimal racing line is precomputed offline by solving for a periodic time-optimal trajectory along the entire track, which the MPC then tracks in real time. Through simulated experiments, the proposed MPC is shown to be robust to noise, time delay and modelling error, and successfully outperforms Monash Motorsport’s previous motion planning and control implementations. The MPC is demonstrated to safely achieve speeds of up to 25 m/s while running in real time at 50 Hz.This project was completed as part of my Honours Thesis in 2020, which can be accessed below.
Thesis Paper