Work

Algorithm and Implementation of Vehicle Trajectory Tracking Based on Vehicle Three-Degree-of-Freedom Dynamics MPC

Year: 2025
Type: article
Abstract: Against Amid the rapid development of autonomous driving tech, trajectory tracking – a key link between decision-making and execution layers – directly impacts autonomous vehicle safety and stability. The traditional 2-DOF vehicle dynamic model used in MPC lacks accuracy and practicality, as it only accounts for basic motion scenarios while ignoring multi-variable coupling and complex constraints. To address this, this paper builds a 3-DOF vehicle dynamic model covering longitudinal displacement, yaw angle, lateral velocity, and yaw rate, better reflecting the coupling of the vehicle’s longitudinal, lateral, and yaw motions. First, the Euler method discretizes the continuous model to establish a discrete state-space expression. Then, an MPC controller is designed: a dual-objective optimization function (combining state weight matrix Q and control weight matrix R) for "trajectory tracking accuracy-control input smoothness" is defined, and physical constraints like front-wheel steering angle and its rate of change are introduced to convert the control problem into a quadratic programming one. Finally, rolling optimization enables dynamic tracking and real-time correction of the reference trajectory.MATLAB simulations (S-shaped reference trajectory, real-vehicle-like parameters: 1573kg mass, 8000N/rad front/rear axle cornering stiffness; key MPC parameters: 20-step prediction horizon, 10-step control horizon, 0.05s sampling time) show high overlap between the proposed model’s actual and reference trajectories. Lateral position tracking error stabilizes between -0.16m and 0.16m (well below the 0.3m autonomous driving safety threshold), and the front-wheel steering angle (control input) is highly smooth, free from traditional control’s "chattering". In short, the 3-DOF MPC trajectory tracking algorithm has good dynamic response and control accuracy, meeting autonomous driving scenario needs.
Author: Zirui Xia
Language: English
Open Access status: hybrid
OpenAlex ID: W4415469632
FWCI:
Cites: 15
Cited by:
Related to: 10