Direction-Constrained HQP
- Direction-Constrained HQP is a multi-level optimization framework that incorporates angular constraints to prevent abrupt command redirections in robotics and control systems.
- It decomposes each level into minimum-error and minimum-angle subproblems, enabling a convex blend that satisfies both task precision and directional limits.
- The framework enhances physical human-robot interaction through variable admittance control and efficient eigenvalue-based solvers, ensuring smooth and computationally fast responses.
A direction-constrained hierarchical quadratic program (HQP) is a multi-level optimization framework that explicitly incorporates directional (angular) constraints into the hierarchy of quadratic programs classically used in robotics, control, and signal processing. The direction-constrained HQP prevents undesirable or abrupt command redirections when task or safety constraints become active, particularly in contexts requiring human-robot interaction (pHRI) or physical constraint enforcement. This article surveys the formal structure, solution methods, algorithmic innovations, and application scenarios of direction-constrained HQP with a focus on physical interaction and efficient computational approaches.
1. Standard Hierarchical Quadratic Programming Formulation
HQP is a mechanism for the strict prioritization of multiple, potentially conflicting, equality and inequality task requirements. Task priorities are encoded lexicographically: constraints at higher levels have strictly higher precedence than those below. For prioritized task levels (), the canonical HQP is:
At each level , is the control, , encode the equality-task (with slack for relaxation), and , 0 represent convex inequality-task constraints (e.g., joint limits, collision avoidance). Rather than stacking all levels, HQP typically solves at each 1 a reduced QP that strictly enforces all higher priority equalities:
2
where 3 denotes the aggregation of all higher-level Jacobians.
2. Directional Constraints: Motivation and Formalism
Standard HQP permits the task-space velocity or command 4 to change direction arbitrarily when close to an active inequality constraint. In the context of smooth pHRI or safety-critical robotics, this can lead to "jerky" or unpredictable behavior that violates human intent. To address this, direction-constrained HQP restricts the maximum allowable angle between the actual command 5 and its nominal reference 6 via the constraint:
7
or equivalently,
8
Here, 9 is a user-defined angular threshold: 0 enforces perfect alignment (task scaling), while 1 suppresses the constraint (recovering standard HQP). This form introduces strong nonlinearity due to the normalization, increasing the challenge of direct optimization.
3. Two-Subproblem Decomposition and Solution Procedure
To address the non-convexity induced by the angular constraint, the level-2 problem is decoupled into two parallel subproblems:
- Minimum-Error Problem 3: Minimize 4 over 5 subject to all previously active equalities and present inequalities. The solution, 6, corresponds to classic HQP and yields the smallest task-space error.
- Minimum-Angle Problem 7: Minimize the angle 8 subject to the same constraints. The corresponding solution, 9, finds the closest achievable direction to 0 (not necessarily in magnitude), accounting for actuation and safety limits.
The minimum-angle problem admits a closed-form, scaled solution via projection into the feasible subspace, with scale 1 determined and clamped to the interval compatible with all active inequalities.
After both subproblems are solved with a shared iterative active-set solver on 2, the admissible candidates 3 and 4 are combined via a parameterized convex blend:
5
where 6 is chosen as the smallest parameter such that the angle deviation constraint is exactly met:
7
Tracking error 8 is strictly decreasing in 9, while the directional deviation 0 is monotonic or V-shaped, accommodating precise constraint satisfaction through a 1D search in 1.
4. Variable Admittance Control under Directional Constraints
For physical HRI, the lowest-priority (level 2) task typically involves matching robot motion to human-applied forces via admittance control. The classical second-order admittance controller is:
3
yielding 4 at steady state. However, proximity to active directional or inequality constraints can induce large mismatches between the desired 5 and achieved end-effector velocity 6. The error 7 may become significant.
Dynamic adjustment of the damping matrix 8 is introduced to reduce 9, especially near constraint boundaries:
0
where 1 are positive gains and 2 ensures a minimum damping floor. Increased damping inhibits runaway 3 when the operator pushes into a constraint; decreased damping accelerates response when the operator pulls away. This closed-loop regulation improves intent tracking and reduces interaction delays.
5. Algorithmic Workflow
Each control cycle in direction-constrained HQP proceeds as follows:
- Measure the human-applied force 4; update admittance 5.
- Construct the task hierarchy: t-eq and t-iq constraints for levels 6, and the interaction task at 7 with 8.
- For 9 to 0:
- Initialize the active set 1.
- Iterate:
- Solve 2 to obtain 3.
- Solve 4 to obtain 5.
- Update 6 for violated constraints; recompute null spaces as necessary.
- Prune inactive constraints using KKT conditions on 7.
- Terminate on 8 convergence, merge 9 via convex-blend to 0.
- Update null-space projectors.
- Send 1 to the robot, compute actual 2, update 3, and 4.
This procedure ensures all t-eq and t-iq constraints are satisfied at every priority level, enforces strict bounds on task-space angular deviation, and guarantees smooth, interpretable responses at constraint boundaries.
6. Homogeneous Quadratic Programs with Directional Constraints
A broad family of directionally-constrained quadratic programs can be formulated as:
5
where each 6 encodes quadratic or angular constraints; 7. By Cholesky decomposition, this reduces to:
8
The KKT conditions lead to a minimum-eigenvalue structure, enabling efficient 1D or 2D search (for up to three constraints) rather than full semidefinite relaxation. Subspace constraints and exact angular bounds, e.g., 9, are directly representable in the quadratic form and handled within the same framework by constructing 0 as 1 or suitable projections.
For two constraints, the search reduces to a maximum over three candidate points (associated with boundary and intersection conditions), while three constraints require comparing up to seven candidates. For 2-dimensional variables, the method achieves global optimality at a per-iteration cost of one minimum-eigenvalue computation (3), substantially more efficient than SDR approaches (4) (Gaurav et al., 2013).
7. Application Scenarios and Performance Characteristics
The direction-constrained HQP framework has been extensively evaluated in pHRI scenarios, such as a 7-DOF robotic arm under mixed task and safety constraints. Empirical results demonstrate that:
- Motion smoothness: Directional constraints enforce continuous, human-intuitive corrections, eliminating abrupt velocity jumps when constraints activate [5].
- Task consistency and safety: The two-subproblem split and coordinated active-set solver guarantee all constraints are respected, even under multi-level prioritization.
- Reduced interaction delay: Variable admittance control minimizes velocity mismatches at the constraint boundary, especially during intent reversals.
- Computational efficiency: In MIMO relay design and related signal processing HQCQP instances, eigenvalue-based direction-constrained solvers achieve 16x–720x speedup compared to SDR at 6 accuracy (Gaurav et al., 2013).
These properties make direction-constrained HQP applicable not only to human-robot collaborative control but also to convexified subproblems in communication and estimation.
Summary Table: Key Aspects of Direction-Constrained HQP
| Feature | Standard HQP | Direction-Constrained HQP |
|---|---|---|
| Direction regulation | None; arbitrary | Explicit angle-bound at each task level |
| Subproblem decomposition | Single QP per priority | Minimum-error and minimum-angle subproblems |
| Solution blending | Not applicable | Convex blend enforces angular constraint |
| Human-robot interaction | No specific improvement | Smoother, intention-aligned response |
| Computational requirement | QP per level | Two parallel subproblems + 1D blend |
Enforcing angular constraints within the HQP hierarchy delivers robust, interpretable, and efficient solutions to multi-task motion and control problems where constraint-activated direction changes must remain bounded and comprehensible.