A New Trajectory Tracking Algorithm for Autonomous Vehicles Based on Model Predictive Control

Zhejun Huang, Huiyun Li, Wenfei Li, Jia Liu, Chao Huang, Zhiheng Yang, Wenqi Fang2021

TL;DR

This paper introduces a novel trajectory tracking algorithm for autonomous vehicles using Model Predictive Control (MPC). By employing the backward Euler integration method for the predictive model and incorporating both acceleration and steer angle as control inputs, the proposed method achieves significantly improved lateral tracking accuracy and robustness compared to traditional forward Euler-based MPC, without a substantial increase in computational cost.

What Problem Does This Paper Address?

Precise trajectory tracking is a cornerstone of autonomous driving, ensuring vehicles can safely and comfortably follow planned paths. Existing methods, such as pure-pursuit and Stanley controllers, are often too simplistic for dynamic scenarios. While Model Predictive Control (MPC) offers a more sophisticated approach by optimizing future control actions based on a predictive model, its real-time implementation for autonomous vehicles faces challenges. A key issue is the accuracy of the predictive model, which is often established using numerical integration methods. The accumulation of errors from these integrations, particularly with the commonly used forward Euler method, can lead to instability or even accidents. Furthermore, many MPC approaches fix the vehicle's speed or cannot dynamically adjust it, limiting their adaptability. This paper aims to address these limitations by proposing an MPC-based trajectory tracking algorithm that enhances predictive model accuracy, allows for dynamic speed adjustment, and maintains real-time performance.

Methods

The core of this paper is a novel Model Predictive Control (MPC) framework for autonomous vehicle trajectory tracking. The key innovations include:

  • Backward Euler Integration: Instead of the standard forward Euler method for discretizing the vehicle's continuous-time dynamics into a predictive model, this paper utilizes the backward Euler method. While requiring slightly more computation per step, the backward Euler method offers superior stability properties and a smaller local truncation error, leading to a more accurate predictive model.
  • Dual Control Inputs: Unlike many MPC controllers that use only steering angle as a control input, this approach incorporates both acceleration and steer angle. This allows the controller to actively adjust the vehicle's longitudinal velocity, making it more adaptable to varying reference trajectories.
  • Structuralized Control Law and Warm-Start: To meet real-time requirements, the control law is "structuralized" by imposing constraints on future control inputs (specifically, $u_{k+1} = \dots = u_{k+N_c}$). This reduces the number of optimization variables. Additionally, a "warm-start" technique is employed, where the solution from the previous time step is used as an initial guess for the current optimization problem, significantly speeding up convergence.
  • Kinematic Bicycle Model: The vehicle dynamics are modeled using a kinematic bicycle model, which is computationally less expensive than dynamic models while still capturing essential non-holonomic constraints for trajectory tracking.

Datasets

Not discussed in the paper. The evaluation is performed using simulated scenarios with predefined trajectories (sinusoidal, circular, and double line change).

Key Insights and Ideas

  • Backward Euler for Stability and Accuracy: The choice of integration method for the predictive model is not trivial. The backward Euler method demonstrably improves lateral tracking accuracy and robustness, especially at higher velocities, by mitigating error accumulation that plagues the forward Euler method.
  • Dynamic Speed Control is Crucial: Allowing the controller to adjust both acceleration and steering angle is vital for robust trajectory tracking, particularly when dealing with varying reference speeds or complex maneuvers. This contrasts with methods that assume constant velocity.
  • Trade-offs in Numerical Methods: While backward Euler offers better accuracy, it does come with a slight computational overhead. However, the paper shows that this overhead is manageable and often outweighed by the accuracy gains, especially when combined with techniques like warm-starting.
  • Real-time MPC is Achievable: By combining structuralized control laws and warm-starting, the authors demonstrate that a sophisticated MPC controller can achieve real-time performance suitable for autonomous driving applications.

Key Results

The proposed MPC controller using the backward Euler method consistently outperformed the forward Euler-based MPC across various scenarios:

  • Lateral Error Reduction: Maximum lateral errors were significantly reduced, by up to 69.09% (sinusoidal path), 78.66% (circular path), and 47.89% (double line change path) compared to the forward Euler method.
  • Robustness to Velocity: The backward Euler method showed a higher threshold velocity for feasible trajectory tracking (e.g., 83 km/h vs. 67.7 km/h for the sinusoidal trajectory), indicating greater robustness at higher speeds.
  • Computational Time: The computation time was comparable, with the backward Euler method sometimes being slightly faster or negligibly slower than the forward Euler method, especially when considering the overall performance gains. The calculation time was consistently below the control period (0.0203 s).
  • Heading Error: While lateral error improved, the heading error was slightly larger with the backward Euler method in some cases, suggesting a potential trade-off.

Limitations and Future Work

  • Model Accuracy: The paper acknowledges that the kinematic bicycle model is a simplification. Future work could explore the use of more complex dynamic models, potentially with advanced integration methods, to further improve accuracy.
  • Disturbance Rejection: While the backward Euler method improves robustness against computation errors, the paper notes that disturbance rejection is another area for improvement.
  • Integration Methods: The authors suggest that exploring other integration methods, such as midpoint or Runge-Kutta methods, could further enhance prediction accuracy and lead to even more effective control.
  • Real-world Validation: The current study is based on simulations. Future work should focus on validating the proposed algorithm on a real autonomous vehicle platform.

Summary updated

BibTeX
@misc{huang2021new,
  author = {Zhejun Huang and Huiyun Li and Wenfei Li and Jia Liu and Chao Huang and Zhiheng Yang and Wenqi Fang},
  title = {{A New Trajectory Tracking Algorithm for Autonomous Vehicles Based on Model Predictive Control}},
  year = {2021},
  doi = {10.3390/s21217165},
}
Figure