Picture a 6-DOF arm assembling small electronics. At commissioning, the team wrapped its safety envelope in a Cartesian box: a volume in x, y, z the tool center point could not leave. Validation runs passed. Six weeks into production, the AI planner found a pose that kept the tool center point inside the box while turning the wrist so the tool tip reached past it. The envelope had ignored tool length, and the constraint bound the TCP rather than the full geometry of the attached tool. The cell stopped for reconfiguration. Gaps of this kind are common, and they appear because a Cartesian-only envelope is incomplete for a planner that explores the whole configuration space.
Three Spaces, Three Kinds of Constraint
An envelope for an AI-controlled end-effector has to be written in three coordinate spaces at once: Cartesian, joint, and task. Most teams start with Cartesian and stop there. The tool-length case shows why that fails. Each space captures a different class of constraint, with failure modes the others cannot cover alone.
Cartesian space locates the arm's reference point in the workspace. Joint space describes the kinematic configuration, wherever the tool center point happens to be. Task space describes what the arm is doing, which can narrow an otherwise legal command set to what fits the current phase. A policy needs all three specified and enforced.
Cartesian: Volume and Position
Cartesian constraints define the permitted volume for the tool center point, the tool flange, and, when geometry is known, the whole tool body. The usual form is a set of convex regions: volumes the arm may occupy and forbidden volumes around fixed structures, human workstations, and zone boundaries.
Choosing the reference point matters. If the constraint rides on the tool center point and the tool's geometry changes, as with a gripper that opens and closes and shifts its reach, the rule may need to account for tool state. Proximity margins matter too. An arm moving at the edge of its permitted volume cannot always stop before crossing the boundary once the policy issues a stop. Velocity-dependent approach margins fold stopping distance into the envelope instead of treating the boundary as an instant hard limit.
Joint Space: Range, Velocity, Acceleration
Joint-space constraints come in three kinds: range limits, which configurations are reachable; velocity limits, which transition rates are allowed; and acceleration limits, which force profiles motion produces. Range limits can be tighter than the manufacturer's hardware limits, excluding configurations that are reachable but not safe to run: close to singularities, near workspace edges, or where the swept volume during a move is hard to predict from the planner's current state estimate.
Velocity limits interact with Cartesian bounds and need explicit attention. At some configurations a given joint velocity yields high TCP speed; at others the same joint velocity yields low TCP speed. Around kinematic singularities, where the Jacobian maps joint velocity to TCP velocity poorly, a joint-space velocity limit may not enforce a Cartesian TCP speed limit. Systems whose planner can command the full reachable workspace, singular regions included, need both kinds of velocity limit.
Task Space: Rules for the Current Operation
Task-space constraints carry operational context that neither Cartesian nor joint space captures. During the insertion phase of an assembly, the arm may be allowed higher contact force than during free-space transit, because the force is expected, controlled, and part of the job. A Cartesian-only policy with one force limit everywhere produces nuisance stops during insertion, and operators then ask for higher thresholds that erode the margin in free space, where the limit should be tighter.
Task-state triggers drive these rules. In the approach state one rule set applies; in contact and insert another. Transitions must be detectable from sensor data: contact detection on the force sensor, position-based phase changes, or explicit state output from the planner. AI planners often do not expose a task state variable at all. The policy then has to infer state from what it can observe, and building reliable inference is frequently among the slower parts of commissioning a policy library for an AI-driven arm.
Changing the Envelope at Runtime
Static envelopes, fixed for the whole operation, are the easiest to build and verify. Most deployments begin there and add dynamic adjustment when operations require it. Dynamic adjustment changes the permitted volume or the active rule set on a specific event: a scanner reports a zone intrusion and the permitted volume shrinks away from that side; a product changeover swaps the Product A envelope for Product B; a confirmed-safe maintenance state allows poses normally forbidden.
Transitions deserve their own analysis. Moving from one envelope to another must not leave the arm outside both while it travels, and must not require a motion that violates either envelope to reach a pose the new one permits. Transition paths are a safety problem in themselves, and designs that treat each envelope state in isolation tend to miss them.
Gaps That Survive Commissioning
Post-commissioning reviews across early deployments keep turning up the same four gaps. Tool geometry is missing from Cartesian constraints, as in the example above. Singularity proximity is missing from joint-space limits, so fast moves can reach configurations with poor kinematic conditioning. Task phases lack sensor-detectable transitions, and the wrong rule set runs during part of the task. Velocity-dependent approach margins are absent, so stops occur during deceleration that a well-designed margin would have prevented.
All four can be closed at commissioning. The difficulty is that a test suite built around pre-planned scenarios may never touch the poses or sequences that expose the gap. Thorough validation means exploring the configuration space systematically, boundary conditions and transitions included, rather than replaying only the nominal scenarios in the original test plan.