Motion Planning Architecture for Robots
Motion planning architecture defines the structural frameworks, algorithmic layers, and data flows that enable robots to compute collision-free, kinematically feasible paths from an initial configuration to a goal state. The field spans industrial manipulators, autonomous mobile platforms, surgical systems, and humanoid robots — each imposing distinct constraints on latency, safety certification, and environmental uncertainty. Selecting and validating a motion planning architecture has direct consequences for system certification under standards such as ISO 10218-1 (industrial robot safety) and ISO/TS 15066 (collaborative robot safety), making architectural decisions regulatory decisions as much as engineering ones.
- Definition and scope
- Core mechanics or structure
- Causal relationships or drivers
- Classification boundaries
- Tradeoffs and tensions
- Common misconceptions
- Checklist or steps
- Reference table or matrix
- References
Definition and scope
Motion planning architecture refers to the organized arrangement of computational components, algorithms, data representations, and communication interfaces that collectively solve the problem of moving a robot body or end-effector through space while satisfying a defined set of constraints. The scope encompasses configuration-space (C-space) modeling, obstacle representation, path search, trajectory parameterization, and execution feedback — each handled by distinct software modules that must interoperate under bounded latency.
The planning problem is formally characterized in terms of the robot's configuration space, a concept formalized by Tomás Lozano-Pérez in his 1983 paper "Spatial Planning: A Configuration Space Approach" (IEEE Transactions on Computers). C-space dimensionality equals the robot's degrees of freedom (DOF): a standard 6-DOF industrial arm operates in a 6-dimensional C-space, while a mobile humanoid with arm articulation can exceed 30 DOF, multiplying computational complexity. The broader robotics architecture landscape situates motion planning within a stack that also includes perception, task coordination, and hardware abstraction.
The regulatory scope of motion planning is non-trivial. The functional safety frameworks codified in IEC 61508 and its robotics-specific derivatives require that safety-critical planning outputs — particularly speed, force, and separation distance calculations — be traceable to certified software components at Safety Integrity Level (SIL) 2 or higher in collaborative deployments.
Core mechanics or structure
A complete motion planning architecture typically organizes into four interdependent layers:
1. World Modeling and Environment Representation
The planner requires a queryable model of the environment. Representations include occupancy grids (2D and 3D voxel maps), polygon meshes, signed distance fields (SDFs), and octrees. The Open Motion Planning Library (OMPL), maintained as an open-source reference by Rice University's Kavraki Lab, supports integration with multiple world model formats. MoveIt, the dominant motion planning framework within the ROS architecture ecosystem, wraps OMPL and exposes a Planning Scene interface that maintains collision objects and attached body geometries in real time.
2. Configuration-Space Planning
The core planner searches for a path in C-space. Dominant algorithmic families include:
- Sampling-based planners: Probabilistic Roadmap Method (PRM), Rapidly-exploring Random Tree (RRT), RRT-Connect, and RRT (asymptotically optimal). These handle high-dimensional spaces without explicit obstacle mapping in C-space.
- Grid-based planners: A*, Dijkstra, D* Lite — tractable for low-DOF systems or 2D mobile robots.
- Optimization-based planners*: CHOMP (Covariant Hamiltonian Optimization for Motion Planning) and TrajOpt, which represent paths as continuous functions and optimize over gradient descent. These are sensitive to local minima but produce smooth, dynamically feasible trajectories.
3. Trajectory Parameterization
A geometric path lacks time information. The trajectory layer assigns velocity profiles respecting joint velocity limits, acceleration limits, and jerk bounds. Algorithms such as time-optimal trajectory scaling (TOTP) or the Ruckig library (used in production by Franka Robotics) convert waypoint sequences into time-parameterized trajectories.
4. Execution and Feedback
The robot control systems layer receives the trajectory and executes it through PID, computed torque, or model-predictive control (MPC) loops at update rates typically between 500 Hz and 4 kHz. Feedback from joint encoders and force-torque sensors drives reactive replanning triggers when deviations exceed thresholds.
The sense-plan-act pipeline architecture frames these layers as a sequential loop, though modern implementations parallelize perception and planning to reduce response latency.
Causal relationships or drivers
Several technical and regulatory forces shape how motion planning architectures are designed:
Dimensionality and computational cost: RRT variants scale approximately as O(n log n) in the number of samples n, making them tractable for 7-DOF arms. Grid-based methods scale exponentially with DOF, eliminating their use above roughly 4 DOF without significant state-space decomposition.
Real-time constraints: Industrial robot controllers commonly impose hard deadlines of 1–4 ms per control cycle (real-time operating systems in robotics enforce these deadlines). Planners that cannot return a result within a bounded window must be architecturally isolated in an asynchronous planning thread, with a trajectory buffer feeding the real-time control loop.
Safety certification pressure: ISO 10218-1:2011, published by the International Organization for Standardization (ISO), mandates that industrial robots incorporate speed and separation monitoring. This forces planning architectures to integrate certified speed-scaling modules alongside the primary path planner, creating a two-channel structure: one for nominal planning, one for safety-envelope enforcement.
Dynamic environment density: Warehouse logistics deployments operating under ANSI/ITSDF B56.5 (safety standard for driverless automatic guided industrial vehicles) require motion planners capable of replanning within 200–500 ms when dynamic obstacles appear. Static planners that compute once and execute fail this requirement structurally.
Sensor fusion coupling: Motion planning quality is directly constrained by perception quality. The sensor fusion architecture feeding the world model determines obstacle update latency, directly bounding the minimum safe speed at which a robot may operate near humans under ISO/TS 15066 speed-and-separation monitoring requirements.
Classification boundaries
Motion planning architectures divide along three primary axes:
By planning horizon:
- Global planners compute a complete path from start to goal before execution begins.
- Local planners compute short-horizon trajectories incrementally, often using Dynamic Window Approach (DWA) or Model Predictive Control.
- Hybrid planners use a global planner for coarse routing and a local planner for obstacle avoidance — the dominant architecture in mobile robotics, including the ROS Navigation Stack.
By environment assumption:
- Static environment planners (PRM, A*) assume obstacles do not move during execution.
- Dynamic environment planners (D* Lite, ORCA, velocity obstacle methods) explicitly model moving agents.
- Learned planners use neural network policies (imitation learning, reinforcement learning) trained on environment distributions; these do not assume static environments but lack formal completeness guarantees.
By completeness guarantee:
- Complete planners (exact cell decomposition, PRM with sufficient samples in the limit) guarantee finding a path if one exists.
- Probabilistically complete planners (RRT, PRM) converge to completeness as sample count increases.
- Resolution complete planners (grid-based) are complete at a fixed grid resolution.
- Heuristic planners (potential fields, some RL policies) offer no completeness guarantee.
The reactive vs. deliberative architecture distinction in robotics directly maps to local vs. global planner classification.
Tradeoffs and tensions
Optimality vs. computation time: RRT* is asymptotically optimal but requires more samples — and thus more time — than RRT. In time-critical applications, RRT's suboptimal but fast paths are preferred; post-processing shortcutting algorithms partially recover path quality.
Completeness vs. dynamic adaptability: Complete planners that precompute roadmaps (PRM) are efficient at query time but fail when environments change. Incremental planners adapt but cannot guarantee path quality.
Model fidelity vs. planning speed: High-fidelity collision models (dense meshes) increase collision-check cost, which dominates runtime in sampling-based planners. Simplified convex hull approximations reduce check time but introduce safety margins that may restrict robot workspace unacceptably in tight environments.
Safety isolation vs. integration: Architecturally separating safety monitoring from the planning engine (two-channel design) satisfies IEC 61508 requirements for independence of safety functions but introduces latency at the interface between channels. Tightly integrated safety-aware planners eliminate this latency but complicate certification because the safety function is not structurally independent.
Learned vs. analytical planners: Neural motion planners (e.g., MPinets, MotionBenchMaker benchmarks from CMU) show faster inference on trained environments but produce no formal safety certificates and generalize poorly outside training distributions — a critical gap for safety-critical robotics architecture in surgical or collaborative industrial settings.
These tensions are addressed in depth within the robotics architecture trade-offs reference.
Common misconceptions
Misconception: Path planning and motion planning are synonymous.
Path planning produces a geometric curve in C-space. Motion planning additionally encompasses temporal parameterization, dynamic feasibility, torque limits, and execution feedback. A path plan is a necessary but insufficient output for robot execution.
Misconception: Sampling-based planners are random and therefore unreliable.
RRT and PRM are probabilistically complete: the probability of finding a path approaches 1.0 as sample count increases. In practice, engineering implementations fix computation time budgets, so the planner returns the best path found within the budget — a deterministic operational behavior even though the internal search is stochastic.
Misconception: Higher DOF always increases planning difficulty proportionally.
DOF increases C-space dimensionality, but the difficulty of motion planning depends more on the narrow passage problem — the existence of tight corridors in C-space — than on dimensionality alone. A 7-DOF arm in open space may plan faster than a 3-DOF arm threading a narrow aperture.
Misconception: MoveIt is a motion planner.
MoveIt is a motion planning framework and middleware integration layer for ROS/ROS 2 that calls external planners (OMPL, CHOMP, PILZ Industrial Motion Planner) through a plugin interface. The planning algorithms themselves are separate components.
Checklist or steps
The following discrete phases characterize the operational sequence of a motion planning architecture execution cycle:
- Goal specification receipt — Accept target pose or joint configuration from the task-planning layer (task and mission planning).
- Scene synchronization — Update the collision world model with current sensor data from the perception pipeline.
- Feasibility pre-check — Verify the goal configuration is collision-free and kinematically reachable before invoking the planner.
- Planner invocation — Call the selected planning algorithm with start state, goal state, and constraint set (Cartesian constraints, joint limits, orientation tolerances).
- Path validity check — Verify the returned path is collision-free against the current scene; reject and replan if the environment changed during planning.
- Trajectory parameterization — Apply time-optimal or jerk-limited scaling to convert the geometric path into a timed trajectory.
- Safety-envelope validation — Pass trajectory through the certified speed-and-separation monitoring module; scale speeds if human proximity thresholds are violated (per ISO/TS 15066).
- Trajectory dispatch — Send parameterized trajectory to the real-time control layer.
- Execution monitoring — Track joint state against planned trajectory; trigger replanning if deviation exceeds defined thresholds.
- Completion reporting — Return success or failure status to the task planner with error classification.
Reference table or matrix
| Planner Type | Completeness | Optimality | Typical DOF Range | Dynamic Env. Support | Primary Standard Context |
|---|---|---|---|---|---|
| A* / Dijkstra (grid) | Resolution complete | Optimal at resolution | 2–3 DOF | No (static maps) | ANSI/ITSDF B56.5 mobile AGVs |
| D* Lite | Resolution complete | Optimal at resolution | 2–3 DOF | Yes (incremental replan) | Mobile robot navigation |
| PRM | Probabilistically complete | No (query phase) | 4–12 DOF | No (roadmap fixed) | Industrial arm pre-computation |
| RRT | Probabilistically complete | No | 4–30+ DOF | Limited | General-purpose manipulation |
| RRT* / Informed RRT* | Probabilistically complete | Asymptotically optimal | 4–30+ DOF | Limited | Research / high-quality paths |
| CHOMP / TrajOpt | Heuristic (local opt.) | Local optimum | 4–12 DOF | No | Smooth trajectory generation |
| DWA / MPC (local) | Heuristic | No | 2–3 DOF (velocity space) | Yes | Real-time collision avoidance |
| Neural / Learned | None (no guarantee) | No | Variable | Yes (if trained) | Research; no certified deployment |