Recursive Hierarchical Projection (RHP)
- Recursive Hierarchical Projection (RHP) is a matrix-based framework for embedding continuously varying null-space projectors within HQP for redundant robotic control.
- It employs a dynamic priority matrix to interpolate task priorities smoothly, reducing computational overhead during transitions.
- RHP maintains strict accuracy for higher-priority tasks, ensuring minimal error and continuity during rapid task reordering in simulations.
Recursive Hierarchical Projection (RHP) is a matrix-based framework for embedding continuously varying null-space projectors within hierarchical quadratic programming (HQP) formulations, specifically in the context of whole-body control (WBC) with dynamic task priority transitions. RHP enables smooth and computationally efficient rearrangement of task priorities for redundant robotic systems, resolving limitations of classical approaches that induce discontinuities or require increased computational effort during task reordering (Han et al., 2021).
1. Motivation and Conceptual Underpinnings
In conventional HQP for redundant robot WBC, strict task priorities are established by projecting lower-priority tasks into the null-spaces of all higher-priority tasks. Each projection typically takes the form , where is the Jacobian of the higher-priority task. However, when dynamic task scheduling or reordering is required—such as when collision avoidance must supersede position tracking in response to environmental hazards—these fixed projections induce discontinuities unless additional smoothing heuristics, multiple QP solves per control cycle, or manual blending mechanisms are imposed.
RHP addresses this by introducing a recursively constructed, smoothly varying projection matrix at each hierarchical level . These matrices are driven by a "priority matrix" , whose entries encode the degree to which task occupies the degrees of freedom (DOFs) at level . As these priorities are adjusted, the resulting sequence of projectors morph smoothly, permitting continuous task transitions without an increase in computational overhead or loss of accuracy for higher-priority tasks.
2. Mathematical Formulation and Algorithmic Structure
2.1 Hierarchical HQP with Recursive Projectors
Suppose hierarchical levels and 0 (size 1) are given, with initial state estimate 2 and 3. At each level 4 5, RHP-HQP solves
6
subject to inequality and softened equality constraints from all higher (7) levels:
8
The solution update is
9
2.2 Recursive Construction of Projectors
At each 0, let 1 index the set of tasks with changed priorities (i.e., 2), and 3. The process is as follows:
- Build a sorted stack 4 of their Jacobians, ordered by descending 5.
- Extract a row-full-rank subset 6 using Gaussian elimination.
- Perform thin QR decomposition on 7 to extract an orthonormal basis 8 for the row space.
- Form diagonal 9, with entries 0 by active row index.
- Update the projector:
1
Special cases:
- 2 yields 3
- 4 recovers the classical null-space projector case
- 5 lets 6 interpolate continuously, preserving partial task occupation
Scheduling smooth 7 functions directly yields continuous 8 evolution.
3. Priority Transitions and Control Continuity
A key property of RHP is the guarantee of continuity across task transitions. For arbitrary, smoothly time-varying priorities, only 9 QPs are solved per cycle, as in conventional HQP. Each task's transition does not trigger extra QP solves or discontinuous control updates, contrasting with methods relying on piecewise projectors, explicit re-weighting, or state resets.
Comparative Computational Overhead
In simulation (7-DOF arm + 3-DOF waist), RHP-HQP demonstrated no detectable rise in average solve time relative to plain HQP and was within 3–4% of the fastest generalized projector method (GHC). This computational efficiency stems from RHP's reliance on a thin QR plus one small matrix multiplication per level, which is negligible compared to QP solution cost (Han et al., 2021).
4. Task Accuracy and Behavior During Priority Changes
RHP-HQP preserves the strict accuracy of higher-priority tasks during transitions, as each control update projects the residual update only within the (possibly partially-occupied) null-space defined by all higher-priority tasks. Lower-priority solutions are therefore orthogonal, and cannot degrade the accuracy of levels above.
Empirical results showed that:
- On strict hierarchies, RHP-HQP yields maximal hand-orientation error of 0 rad and position error of 1 mm, matching classical HQP and significantly outperforming GHC (which achieved 2 rad and 3 mm, respectively).
- During transitions, maximal hand-orientation errors were 4 rad (RHP-HQP), 5 rad (HQP-swap), and 6 rad (GHC), with RHP-HQP attaining superior accuracy for both strict and swapped targets.
- Integrated position errors and cycle times further confirmed the method's performance consistency across task rearrangements.
5. Simulation Protocols and Representative Applications
The methodology was instantiated on the upper body of the Walker X platform (3-DOF waist, 7-DOF arm) for multi-task WBC involving the following tasks:
| Task (Editor’s term) | Constraint Type | Description |
|---|---|---|
| 7 | Inequality | Torso collision avoidance |
| 8 | Equality | Hand posture (orientation) tracking |
| 9 | Equality | Hand position tracking |
| 0 | Inequality | Arm collision avoidance |
At each control tick:
- The minimum obstacle distance 1 is monitored to schedule 2 and blend between hierarchies.
- RHP projectors 3 are constructed.
- The HQP chain is solved, and the resulting 4 is applied.
Case studies covered strict hierarchies, continuous transitions, and multi-phase rearrangements to simultaneously achieve collision avoidance and compliance. In all cases, RHP-HQP maintained smooth command trajectories, minimal error accumulation, and low computational overhead (averaging 0.053–0.058 ms per cycle).
6. Strengths and Limitations
Advantages
- Enables continuous, unified treatment of hierarchical transitions before, during, and after swaps within a single HQP recursion.
- Requires no increase in QP solves or significant computational expense; achieves runtimes on par with the fastest available methods.
- Strictly preserves accuracy for higher-priority tasks at all levels.
- Modular workflow: priority scheduling 5 RHP matrix construction 6 HQP solve 7 actuation.
Limitations
- RHP projectors in current form are not dynamically consistent and ignore inertia-weighting; ongoing work is required to extend the technique for mass-aware, physically-consistent projection matrices.
- Hardware validation is not yet reported within the cited work.
7. Context and Comparison with Prior Approaches
Prior methods for HQP-based task priority transition (including those using piecewise null-space projectors with explicit interpolation schemes) often required additional QP solves, increased blending computations, or control re-initialization. Such strategies imposed significant CPU overhead or could not strictly guarantee the preservation of higher-priority task accuracy. Single-QP "generalized projector" methods (e.g., GHC) blend tasks in a single optimization but may permit cross-level error contamination. RHP outperforms these in both computational efficiency and strict hierarchical behavior, particularly during rapidly changing priority conditions (Han et al., 2021).