Abstract
This paper addresses the challenge of designing high-performance robot controllers using multiple arithmetic processing units (APUs). By utilizing off-the-shelf components, such as the Motorola MC 68881, the proposed architecture minimizes the need for specialized hardware. Central to this system is a main processor (MPU) that schedules tasks across several APUs. We introduce a new scheduling algorithm, DF/MOHS (Depth First/Minimized Overhead Heuristic Search), which explicitly accounts for interprocessor communication overhead and bus contention. Simulations demonstrate that a configuration of six APUs can complete essential robotic control computations—including inverse dynamics, kinematics, and trajectory planning—in approximately 2.5 milliseconds.
Introduction
The original technical report cover from Purdue University, detailing the research into multiprocessor robot control. Source, p. 2
In the late 1980s, the computational demands of real-time robotic control were a significant barrier to high-performance industrial automation. Controlling a robot arm like the PUMA 560 requires solving complex mathematical models—forward and inverse kinematics, inverse dynamics, and trajectory generation—within a very tight time window.
Single microprocessors of the era lacked the throughput to handle these "Newton-Euler" equations in real-time. While researchers turned to multiprocessor systems, they encountered a new bottleneck: communication overhead. If multiple processors spend excessive time contending for a shared data bus or waiting for data transfers, the benefits of parallelization are lost. This paper presents a hardware-software co-design approach to solve this scheduling problem while accounting for these "hidden" temporal costs.
The DF/MOHS Scheduling Algorithm
The core contribution of this work is the DF/MOHS (Depth First/Minimized Overhead Heuristic Search) algorithm. It is a derivative of the CP/MISF (Critical Path/Most Immediate Successor First) and DF/IHS (Depth First/Initial Heuristic Search) algorithms, but with a crucial enhancement: overhead awareness.
Key features of DF/MOHS include:
- Explicit Overhead Modeling: Unlike previous algorithms that assumed instantaneous data transfer, DF/MOHS treats "data fetch" and "data storage" as discrete tasks with specific time costs.
- Processor Locality: To minimize bus traffic, the algorithm prioritizes assigning a "child" task to the same processor that handled its "parent" task. This keeps data within local registers, bypassing the slower shared bus.
- Contention Management: The algorithm calculates potential delays caused by multiple APUs requesting service from the MPU simultaneously and incorporates these into the final schedule.
- Heuristic Pruning: It utilizes a "lower bound" calculation to efficiently prune the search space, making the discovery of near-optimal schedules computationally feasible.
Benchmarking with the PUMA 560
The authors validated their approach using the computational task graphs of a PUMA 560 industrial robot arm. The control mathematics were decomposed into discrete APU operations:
- Forward Kinematics: 74 operations.
- Inverse Kinematics: 104 operations.
- Inverse Dynamics: Approximately 400 operations (154 steps).
- Trajectory Generation: 255 operations.
These graphs served as the benchmark for testing the algorithm's ability to parallelize complex, interdependent workloads. The study identified that for the PUMA 560, six APUs provided the optimal balance of speedup. Beyond this point, the increased risk of bus contention began to diminish the returns of adding more processing power.
Key Results and Insights
Simulations conducted on a VAX 11/780 yielded several significant findings:
- Real-Time Performance: Using six Motorola MC 68881 APUs, the entire suite of control computations was completed in approximately 2.5 milliseconds.
- Algorithm Superiority: DF/MOHS consistently outperformed the DF/IHS algorithm. In inverse dynamics calculations, DF/MOHS achieved a processing time of 1213µs with six processors, effectively managing the contention delays that hindered older methods.
- The Locality Advantage: A major insight was that minimizing the number of bus transfers is often more impactful than achieving a perfectly balanced workload. Maintaining data "locality" on a single processor is significantly faster than utilizing the shared system bus.
Conclusion and Future Work
This paper provides a foundational look at the "plumbing" of high-performance robotics. It demonstrates that with intelligent scheduling, off-the-shelf microprocessors can meet the rigorous demands of real-time control.
While the study was limited to identical processors and static, offline scheduling, it paved the way for future developments in heterogeneous computing and dynamic task allocation. The authors suggested that future iterations could explore more complex bus architectures or faster, next-generation APUs to further drive down control loop latency.
Summary updated