Fast Forward Dynamics Algorithm for Robot Arms Using Multi-Processing

Albert Y. Zomaya, Alan S. MorrisWhite 1989

Abstract The computation of the direct dynamics problem (forward dynamics) plays a major role in the real-time computer modelling and simulation of robot manipulators. The efficient and computationally inexpensive solution of this problem facilitates the design of real-time robot simulators. In addition, it allows for a better understanding of the key elements affecting robot operations. This work proposes to solve this problem by employing parallel and distributed processing techniques. First, a parallel implementation of a simplified Lagrange-Euler formulation is used to solve for the dynamics. Second, a resulting system of linear equations is solved using Gaussian-Elimination with simple row interchange. Both algorithms are distributed over a multiple-instruction, multiple-data stream (MIMD) computer architecture.

Introduction

In robotics, "forward dynamics" is the essential process of calculating joint accelerations based on a set of input torques or forces. This capability is fundamental for building accurate simulators where researchers can test control algorithms without risking damage to physical hardware.

University of Sheffield Logo

Historically, the mathematical complexity of robot dynamics has been a significant barrier to real-time simulation. The dynamic equations are highly non-linear and "coupled," meaning movement in one joint affects all others. On the single-processor systems available in the late 1980s, these calculations were often too slow for real-time use. This research, conducted at the University of Sheffield, explores how to overcome these limitations by leveraging the then-emerging power of parallel processing.

Methodology

The researchers developed a parallelized approach to solve the forward dynamics problem using a Multiple-Instruction Multiple-Data (MIMD) architecture. The problem was decomposed into two primary stages:

1. Dynamics Formulation

The study utilized a simplified version of the Lagrange-Euler (LE) formulation. Although LE is traditionally considered computationally "heavy" compared to methods like Newton-Euler, its highly structured nature makes it an excellent candidate for parallelization. The dynamics were broken down into 64 distinct subtasks, covering inertia, Coriolis/centripetal effects, and gravitational forces.

2. Linear Equation Solving

Once the dynamic matrices are established, the system must solve the linear equation $D\ddot{\Theta} = \tau - M$ to determine accelerations. The authors implemented a parallel version of Gaussian Elimination (GE) with row interchange to handle this step efficiently.

Hardware and Implementation

The algorithms were executed on a network of INMOS T800 Transputers. These specialized microcomputers were designed for parallel processing and programmed using Occam, a language based on communicating sequential processes. The study benchmarked these methods using the Stanford Arm, a classic 6-degree-of-freedom (6-DOF) industrial robot design.

Performance and Results

The transition from single-processor to multi-processor configurations yielded dramatic performance improvements for the 6-DOF Stanford Arm:

  • Dynamics Calculation: A single processor required 25.6 ms, whereas a 9-processor network completed the task in just 2.95 ms, representing an 8.6x speedup.
  • Gaussian Elimination: The solving time dropped from 1.22 ms on a single processor to 0.36 ms on a 5-processor network.
  • Total Latency: The combined update time was reduced from approximately 26.8 ms to 3.3 ms, comfortably meeting the requirements for high-fidelity real-time simulation.

Discussion and Architectural Insights

The authors highlighted several critical factors in parallel robotics computing:

  • MIMD Superiority: MIMD architectures were found to be more effective than SIMD (Single-Instruction Multiple-Data) for robotics because they allow different processors to handle diverse types of equations simultaneously.
  • Processor Farm Approach: A master-slave configuration was used to schedule and distribute tasks, maintaining high processor utilization (over 95% in the 9-processor setup).
  • Communication Bottlenecks: The study noted that communication overhead—the time spent transferring data between chips—eventually limits the benefits of adding more processors. Success depends on "task granularity," or breaking equations into independent subtasks that minimize inter-processor communication.

Conclusion and Future Directions

While the specific hardware (Transputers) and language (Occam) used in this 1989 study are now obsolete, the underlying principles of task distribution and parallel dynamics remain highly relevant to modern multi-core and GPU-based computing. Future work suggested by the authors included parallelizing the numerical integration steps (e.g., Runge-Kutta methods) required to translate acceleration into velocity and position for a complete simulator.

White Rose Research Online Banner

Summary updated

BibTeX
@inproceedings{zomaya1989fast,
  author = {Albert Y. Zomaya and Alan S. Morris},
  title = {{Fast Forward Dynamics Algorithm for Robot Arms Using Multi-Processing}},
  booktitle = {White},
  year = {1989},
}
Figure