A Risk-aware Spatial-temporal Trajectory Planning Framework for Autonomous Vehicles Using QP-MPC and Dynamic Hazard Fields

Zhen Tian, Zhihao Lin, Dezong Zhao, Christos Anagnostopoulos, Qiyuan Wang, Wenjing Zhao, Xiaodan Wang, Chongfeng WeiarXiv 2025 · DOI

Introduction

Trajectory planning is the "brain" of an autonomous vehicle (AV), responsible for determining the precise path and speed required for safe navigation. However, current planning methods often face significant hurdles: high computational costs that impede real-time reactions, a decoupling of path and speed planning that results in jerky motion, and a binary approach to risk that fails to distinguish between different levels of environmental hazard.

Illustration of a potential collision scenario in interactive driving, highlighting the need for advanced risk-aware planning.

To address these limitations, researchers from the University of Glasgow and Cardiff University have introduced a unified framework that integrates a Dynamic Hazard Field (DHF) directly into a Quadratic Programming-based Model Predictive Control (QP-MPC) optimization. This approach allows AVs to navigate complex, interactive scenarios by balancing safety, efficiency, and passenger comfort in a single, computationally efficient step.

Methodology: A Unified Spatial-Temporal Approach

The proposed framework operates hierarchically to ensure that spatial paths and temporal speed profiles are perfectly synchronized.

The proposed hierarchical framework, showing the integration of interactive risk assessment (DHF), temporal planning (ST Graph), and QP-MPC optimization.

Dynamic Hazard Field (DHF)

Rather than treating obstacles as simple geometric boxes, the DHF quantifies risk as a gradient. It combines static road boundaries with dynamic hazards from surrounding vehicles, accounting for their estimated driving styles (e.g., normal vs. aggressive). This creates a "heat map" of risk, allowing the AV to proactively steer clear of high-hazard areas.

Space-Time (ST) Graph and Smoothness

The planner utilizes an ST graph to identify safe "corridors" over time, ensuring the vehicle avoids not just where an obstacle is currently located, but where it is predicted to be. Candidate trajectories are generated using quintic polynomials, which guarantee continuity in acceleration and jerk, providing a smooth, human-like driving experience.

QP-MPC Optimization

The core innovation lies in embedding the DHF-based risk assessment directly into the cost function of a QP-MPC controller. By treating risk as a cost to be minimized rather than a hard constraint, the AV can make more nuanced decisions—such as giving a wider berth to an aggressive driver even if a tighter path is technically "safe." The controller solves for optimal steering and acceleration while respecting physical limits like tire friction.

Experimental Results

The framework was evaluated in MATLAB 2023b across high-interaction scenarios, including highway lane-changing, overtaking, and intersection crossing. It was benchmarked against six established optimization algorithms, such as Genetic Algorithms (GA) and Particle Swarm Optimization (PSO).

The proposed SQP (Spatial-temporal QP) method significantly outperformed all benchmarks:

  • Smoothness: In overtaking tests, the SQP method achieved a longitudinal jerk of 0.849 $m/s^3$, compared to a jarring 21.551 $m/s^3$ for Differential Evolution (DE).
  • Efficiency: The framework consistently found the most efficient time-to-target while maintaining the lowest average accelerations.
  • Safety: While several benchmark methods resulted in collisions or "stuck" states in complex intersections, the SQP framework successfully navigated the identified collision zones.

Conclusion

By treating risk as a quantifiable gradient and unifying spatial and temporal planning, this framework bridges the gap between theoretical safety and natural driving behavior. Future work will focus on multi-AV cooperation and testing on physical hardware to account for real-world sensor noise and communication delays.

Summary updated

BibTeX
@misc{tian2025risk,
  author = {Zhen Tian and Zhihao Lin and Dezong Zhao and Christos Anagnostopoulos and Qiyuan Wang and Wenjing Zhao and Xiaodan Wang and Chongfeng Wei},
  title = {{A Risk-aware Spatial-temporal Trajectory Planning Framework for Autonomous Vehicles Using QP-MPC and Dynamic Hazard Fields}},
  year = {2025},
  eprint = {2509.00643},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.00643},
}
Figure