arXiv:2609.00669cs.ROSep 2026

Manuscript Offprint

arXiv:2609.00669

Behavior--Realization Separation for Constrained Physical Human--Robot Interaction

Yongyan Cao

Yongyan Cao

Abstract—Physical human-robot interaction software often couples desired-behavior specification with constrained realization; we treat these as separate layers. A behavior layer supplies a desired contact-port acceleration akid=fθ(ek,e˙k,Fh,k)a_k^{\text{id}} = f_\theta(e_k, \dot{e}_k, F_{h,k}). A realization layer converts it into constrained robot commands and reports total desired-versus-realized acceleration error instead of hiding it in saturation. A same-objective unconstrained counterfactual separates regularization from constraint intervention, while plant data expose model error. This paper implements a receding-horizon quadratic program realizing memoryless affine behaviors. Changing the behavior modifies objective coefficients through (Cθ,Gθ)(C_\theta, G_\theta) while the robot-command variable and feasible set remain unchanged. A planar study instantiated impedance and admittance; the same running layer accepts an impedance-admittance-impedance reassignment without reconstruction, under its existing rate limit. On a torque-controlled 7-DOF Franka FR3 in MuJoCo, the runtime freezes task-space dynamics per solve and enforces torque feasibility across its horizon. Under a sustained 20 N push, it holds a slack-relaxed workspace boundary to within approximately 0.1–0.2 mm, versus 4.4 cm (impedance) and 4.7 cm (admittance) overshoot from instantaneous clipping. A derated actuator budget then activates the torque constraint: horizon-wide enforcement keeps its frozen-model plan feasible to 2.1×10−42.1 \times 10^{-4} N·m, whereas a first-step-only ablation plans up to 11.329 N·m beyond budget; on the executed nonlinear plant, where both share the same local-model error, the gap is smaller but still favors horizon-wide enforcement (0.161 vs. 0.380 N·m). These results are a focused proof of behavior-realization separation, not a new MPC or safety-filter principle (scope in Section VI-E).

Index Terms—Physical human-robot interaction, behavior-realization separation, robot-control architecture, predictive realization, model predictive control, impedance control, admittance control.

I. INTRODUCTION

Interaction behavior should specify only desired interaction dynamics; physical feasibility should be realized independently by the robot.

A pHRI software stack has two conceptually different responsibilities:

  1. specify the desired interaction behavior; and

  2. realize that behavior through commands compatible with the physical robot.

Architectural hypothesis. We argue for a general software-engineering principle, stated above, and for a specific reason it should hold: desired interaction behavior is a statement in interaction-state space — position error, velocity error, and human force — while physical feasibility is a statement in robot-constraint space — joint torque, joint limits, and

workspace geometry. These are different mathematical objects with different natural variables, so a representation that mixes them (as a fixed impedance or PD law does) couples two things that do not have to be coupled. Separating them into a behavior layer and a realization layer connected by an explicit interface is therefore not only a convenient software boundary but a decomposition along the actual variables each responsibility depends on. This is an architectural claim, not merely an empirical one: it also implies that a behavior specification can be authored, tested, and replaced independently of the robot, and that feasibility logic can be verified once and reused across every behavior that respects the interface (Section VII argues this directly). This paper tests the principle with one executable desired-acceleration interface, developed and validated only for its memoryless affine subclass (Sections III-B–VI); that affine QP realization layer is one instance supporting the general claim, not the claim itself, and its success does not establish that every possible behavior representation can use the same runtime unchanged.

Conventional impedance control combines behavior specification and command realization in one mass-spring-damper feedback law. Variable-impedance methods add adaptation, and model-predictive variants can optimize impedance parameters or jointly plan motion and compliance. Those formulations are useful, but changing the behavior representation generally changes the controller that interprets it.

A concrete consequence of that coupling is actuator saturation. A conventional impedance or PD law computes joint torque directly from the interaction error, τ=J⊤(−Kde−Dde˙)+τff\tau = J^\top (-K_d e - D_d \dot{e}) + \tau_{\text{ff}}, where τff\tau_{\text{ff}} includes gravity/Coriolis compensation and, on a redundant arm, orientation-hold and null-space terms. Neither term reasons about the actuator limit. A stiff impedance, large interaction force, or unfavorable configuration can therefore drive the command past τmax\tau_{\text{max}}, and clipping silently changes the delivered acceleration.

The architecture studied here assigns this conflict to a realization layer. Its current predictive implementation constrains the total frozen-model torque — feedforward, orientation, null-space, and interaction terms — at every prediction step (Section VI-A). Any deviation from the behavior specification appears in the total realization residual; a counterfactual audit distinguishes constraint intervention from secondary-objective and model terms. Because the manipulator prediction is frozen at each solve, this remains a local-model mechanism rather than a global nonlinear-plant guarantee.

We study a different decomposition:

The behavior layer expresses intent without choosing a robot command. The realization runtime handles feasibility,

Y. Cao is with Voryx Robotics LLC, San Jose, CA 95136, USA (e-mail: yongyancao@gmail.com).

Behavior specification separated from constrained realization

Figure

Fig. 1. Behavior and realization as separate layers. The behavior layer (dashed) supplies aida^{\mathrm{id}}; the realization runtime (blue) converts it into a constrained command and reports rk=a−aidr_k = a - a^{\mathrm{id}}; the audit in (18) separates its causes.

constraint enforcement, and command optimization without deciding what stiffness, damping, or force-response semantics should mean. The runtime reports total behavior error and a constraint-intervention diagnostic rather than conflating the two.

The current executable instance. For memoryless affine behavior models, the predictive runtime retains one decision variable, feasible set, and objective template; the desired behavioral acceleration enters through (Cθ,Gθ)(C_\theta, G_\theta). Section IV states this limited structural property formally, and Section III-B implements impedance and admittance. Nonlinear or stateful specifications may require different prediction machinery and are not instances of the present QP by assertion.

This separation changes the scientific question. Instead of asking whether a particular MPC formulation produces compliant tracking, we ask:

How should robot-control software separate desired interaction behavior from its constrained physical realization, and how should unavoidable intervention be exposed?

The contributions are:

  • a behavior-realization architecture that assigns behavior semantics and physical command feasibility to separate software layers;
  • a precise desired-acceleration interface, a total realization residual, and a same-objective constrained/unconstrained audit that makes constraint intervention separately observable;
  • one predictive realization runtime for the memoryless affine subclass, with a fixed robot-command variable and feasible set across impedance and admittance behavior layers;
  • reproducible planar and FR3 simulations showing online behavior-layer replacement, anticipatory state-constraint handling, and manipulator-level realization under command and torque limits.

We do not claim that architectural separation in the abstract, impedance behavior in MPC, or constrained interaction control is new. Task-space inverse dynamics, whole-body QPs, reference governors, and hierarchical robot controllers already separate related responsibilities, while model predictive impedance and interaction controllers provide important integrated formulations. The narrower contribution is the four-part combination of (i) an interaction law evaluated along predicted states and exchanged at an acceleration-level contract, (ii) one fixed robot-command runtime across generators, (iii) a same-objective constrained/unconstrained counterfactual that decomposes the realization residual, and (iv) live generator substitution without rebuilding runtime state. The executable evidence covers two affine behaviors.

References (20)