Prioritized Optimal Control

Andrea Del Prete, Francesco Romano, Lorenzo Natale, Giorgio Metta, Giulio Sandini, Francesco Nori

Introduction

Controlling a humanoid robot is a complex balancing act. Because these robots possess many degrees of freedom (DoFs), they must often perform multiple tasks simultaneously, such as reaching for an object while keeping the torso upright and maintaining center-of-mass stability. Traditionally, engineers have relied on two distinct methods, each with significant drawbacks:

  1. Prioritized (Hierarchical) Control: Tasks are strictly ranked. However, this is typically "instantaneous," meaning the robot only considers the current moment. This lack of foresight can lead the robot into "dead ends," such as kinematic singularities where a high-priority task suddenly becomes impossible.
  2. Optimal Control (e.g., MPC): The robot looks ahead over a time horizon, but multiple tasks are handled by assigning "weights." Tuning these weights is often a "black art"; weights that are too low cause tasks to be ignored, while weights that are too high lead to numerical instability.

This paper introduces Prioritized Optimal Control, a framework that combines the foresight of optimal control with the strict hierarchy of prioritized control, eliminating the need for manual weight tuning.

Methodology

The authors propose an iterative approach that extends iterative LQR (iLQR) and Differential Dynamic Programming (DDP). Instead of solving a single weighted-sum problem, the algorithm solves a cascade of Quadratic Programs (QPs) at each iteration:

  • Primary Task Resolution: The highest-priority task is solved first over the entire time horizon.
  • Nullspace Projection: Subsequent tasks are solved only within the "nullspace" of higher-priority tasks, ensuring lower-priority movements never degrade primary performance.
  • Cost Constraint Linearization: Quadratic approximations of cost functions are used to convert priority requirements into linear constraints.
  • Automated Penalty Tuning: Internal penalty weights are automatically adjusted to ensure the algorithm stays within valid linear approximation regions, guaranteeing stable convergence.

Experimental Evaluation

The algorithm was evaluated using a simulated 11-DoF upper-body humanoid robot based on the CoMan (Compliant huManoid) platform, featuring 4 DoFs per arm and 3 DoFs in the torso. The simulation environment utilized a customized CoMan simulator in Matlab/Simulink.

Simulated 11-DoF humanoid performing prioritized reaching tasks over a 1.1-second horizon.

Key Results and Insights

The proposed method was tested on three conflicting reaching tasks (ordered: Left Hand > Right Hand > Torso).

  • Eliminating the "Weighting Game": The hierarchy handles task importance strictly, removing the need for users to guess relative weights (e.g., is Task A 100x or 1000x more important than Task B?).
  • Solving "Blindness": By optimizing over a 1-second time horizon, the robot can anticipate singularities and adjust its trajectory in advance. In tests, standard instantaneous prioritized controllers became unstable near singularities, while the Prioritized Optimal Control approach remained smooth.
  • Numerical Stability and Efficiency: Compared to classic weighted optimal control, the proposed method achieved high accuracy (0.5 mm error) with significantly fewer iterations (18 vs. 75) and avoided the conditioning issues associated with disparate weights.
Tracking performance of the Prioritized Optimal Control framework, showing smooth convergence to desired X, Y, and Z coordinates.

Conclusion and Future Work

Prioritized Optimal Control offers a robust alternative to traditional weighting methods, providing both strict task adherence and predictive capabilities. However, current limitations include high computational complexity (not yet real-time in Matlab) and a lack of support for inequality constraints (e.g., joint limits) and contact forces. Future work will focus on porting the framework to C++ for real-time applications and extending the mathematical model to handle torque bounds and walking dynamics.

Summary updated

BibTeX
@inproceedings{prete2014prioritized,
  author = {Andrea Del Prete and Francesco Romano and Lorenzo Natale and Giorgio Metta and Giulio Sandini and Francesco Nori},
  title = {{Prioritized Optimal Control}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2014},
  url = {https://openreview.net/forum?id=l2dzNF3JcsZ},
}
Figure