Embedded Hierarchical MPC for Autonomous Navigation

Dennis Benders, Johannes Köhler, Thijs Niesten, Robert Babuska, Javier Alonso-Mora, Laura Ferranti

TL;DR

This paper introduces a novel Hierarchical Model Predictive Control (HMPC) framework that enables real-time, safe autonomous navigation on resource-constrained embedded hardware. By decoupling planning and tracking into two layers that share the same nonlinear model but run at different frequencies, the authors achieved a 5x increase in planning horizon compared to standard methods, resulting in significantly faster and more stable flight for quadrotors in complex environments.

What Problem Does This Paper Address?

Autonomous robots, like quadrotors, need to move quickly and safely through cluttered spaces. Model Predictive Control (MPC) is a gold standard for this because it handles complex dynamics and obstacle constraints simultaneously. However, MPC is computationally "expensive."

On embedded systems with limited CPU power, engineers usually face a painful trade-off:

  1. Long Horizon, Slow Update: The robot can see far ahead but reacts too slowly to disturbances.
  2. Short Horizon, Fast Update: The robot reacts quickly but is "nearsighted," often getting stuck behind obstacles or failing to find a smooth path.

Standard single-layer MPC (SMPC) forces both tasks into one optimization problem, often leading to sub-optimal performance or even crashes when the hardware can't keep up.

Methods

The authors propose a two-layer HMPC architecture:

  • Planning MPC (PMPC): Runs at a lower frequency (e.g., 2 Hz) with a long prediction horizon. It looks far ahead to find a dynamically feasible, collision-free path toward the goal.
  • Tracking MPC (TMPC): Runs at a high frequency (e.g., 20 Hz) with a short horizon. Its sole job is to precisely follow the reference trajectory provided by the PMPC.

Key Innovations:

  • Nonlinear Co-design: Unlike previous hierarchical methods that use simplified linear models for planning, this framework uses the same nonlinear robot model for both layers.
  • Constraint Tightening: To guarantee safety, the PMPC’s constraints are "tightened" based on the TMPC's known tracking capabilities. If the PMPC finds a plan within these tighter bounds, the TMPC is mathematically guaranteed to be able to track it without hitting obstacles.
  • I-DecompUtil: The authors adapted a convex free-space decomposition method to work iteratively and efficiently on a grid map, ensuring the robot always stays within safe "flight corridors."
HMPC framework overview showing the interaction between offline design, the online PMPC planner, and the high-speed TMPC tracker.

Datasets

The researchers did not use standard external datasets. Instead, they evaluated their system using:

  • Custom Grid Maps: 2D maps (12x12m) with various rectangular obstacle configurations.
  • Gazebo Simulations: Used to test the algorithm against model mismatch (where the simulated physics differs from the controller's internal model).
  • Real-world Lab Experiments: Conducted with a quadrotor equipped with an NVIDIA Jetson Xavier NX embedded computer and tracked by a Vicon motion capture system.

Key Insights and Ideas

  • Decoupling is Power: By separating the "thinking" (planning) from the "acting" (tracking), the PMPC can afford to spend more time finding a clever path around a distant obstacle without starving the TMPC of the high-frequency updates it needs to stay level.
  • The SMPC "Trap": Single-layer MPC often gets stuck in "local minima" (like a corner) because its short horizon doesn't allow it to see that a slightly longer path around the obstacle is actually better.
  • Robustness through Hierarchy: Interestingly, HMPC proved less sensitive to model mismatch than SMPC. Because the planner isn't directly handling high-frequency noise and tracking errors, it produces a smoother reference that is easier for the tracker to handle.
Comparison of SMPC (a) and HMPC (b). HMPC finds a much smoother, more direct path because it can "see" further ahead.

Key Results

The HMPC framework was compared against a baseline SMPC tuned for real-time feasibility on the same hardware:

  • Speed to Goal: In lab experiments, HMPC reached the goal in 8.1 seconds, while SMPC took 35.1 seconds. SMPC struggled significantly to navigate around obstacles due to its short horizon.
  • Planning Horizon: HMPC maintained a 2.5s horizon, whereas SMPC had to be limited to 0.4s to run in real-time.
  • Altitude Stability: HMPC maintained its target altitude within ~10cm. In contrast, SMPC's altitude fluctuated by over a meter as it struggled to balance planning and tracking tasks in a single optimization.
  • Real-time Feasibility: Both PMPC and TMPC execution times remained well below their respective limits (averaging ~38ms and ~24ms on the Jetson Xavier NX).

Limitations and Future Work

  • Static Environments: The current theoretical proofs and experiments focus on static obstacles. Navigating dynamic environments (like moving people) remains a future challenge.
  • Model Mismatch Theory: While HMPC performed well with model mismatch in practice, the formal safety proofs currently assume a perfect model.
  • Sensing Dependency: The system currently relies on external motion capture. The authors aim to move toward onboard sensing (LiDAR or depth cameras) for obstacle detection and 3D constraint generation in outdoor settings.

Reference: Benders, D., et al. "Embedded Hierarchical MPC for Autonomous Navigation." IEEE Transactions on Robotics, 2025. DOI: 10.1109/TRO.2025.3567529

Summary updated

BibTeX
@article{benders2025embedded,
  author = {Dennis Benders and Johannes Köhler and Thijs Niesten and Robert Babuska and Javier Alonso-Mora and Laura Ferranti},
  title = {{Embedded Hierarchical MPC for Autonomous Navigation}},
  journal = {IEEE Trans. Robotics},
  year = {2025},
  url = {https://openreview.net/forum?id=12l25yqbGc},
}
Figure