The Articulated Body Algorithm (ABA) is the most efficient method for computing forward dynamics of serial kinematic chains. Given joint positions
This is the forward-dynamics counterpart of the Recursive Newton-Euler Algorithm (which solves inverse dynamics). Together, they form the two fundamental
Alternatives like Euler-Lagrange require explicitly forming and inverting the
Given a serial chain of
ABA computes this without ever forming or inverting
ABA has three passes over the kinematic chain:
-
Forward pass (base → tip): Compute link kinematics — angular velocities, linear velocities, and velocity-product accelerations from joint positions and velocities.
-
Backward pass (tip → base): Compute articulated-body inertias
$I^A_i$ and bias wrenches$p^A_i$ for each link. At each step, the joint projection removes one degree of freedom from the spatial inertia, and the remainder is propagated to the parent. -
Forward pass (base → tip): Resolve joint accelerations using the articulated-body quantities. Each joint acceleration
$\ddot{q}_i$ is computed from the projected articulated inertia and the transformed parent acceleration.
Articulated-body inertia starts as the rigid-body spatial inertia of each link, then accumulates child contributions:
where
with
Joint acceleration:
where
| Case | Time | Space | Notes |
|---|---|---|---|
| All | Three linear passes over the chain |
Each pass visits every link exactly once, performing constant-time spatial algebra (3×3 matrix operations) per link.
Consider a 2-link planar arm with unit masses, unit lengths, Y-axis joints, zero velocities, and zero applied torques under gravity
Pass 1 — Forward kinematics: both links at
Pass 2 — Backward pass: starting from link 2, compute the rigid-body inertia, project out the joint DOF, transform to link 1's frame, and accumulate. The articulated inertia at the base now represents the effective inertia of the entire chain.
Pass 3 — Forward pass: at the base, the gravitational acceleration is transformed into the base frame and used to compute
The result: both joints accelerate downward due to gravity, with the base joint carrying the larger moment from the full chain.
-
Singular configurations: When
$D_i \to 0$ , the joint becomes locked. This should not happen for well-formed revolute joint models with positive inertia. -
Numerical precision: The division by
$D_i$ amplifies errors if$D_i$ is small. Usefloat(not fixed-point) for dynamics computations. - Floating-point only: The algorithm involves trigonometric functions, divisions, and large dynamic ranges that are unsuitable for Q15/Q31 fixed-point.
-
Composite Rigid Body Algorithm (CRBA): Computes the mass matrix
$M(q)$ explicitly in$O(n^2)$ . Useful when$M$ itself is needed (e.g., for operational-space control). - Extended ABA: Supports branching chains (trees) by processing children before parents in the backward pass.
-
ABA with friction: Joint friction torques can be added directly to
$\tau$ .
- Real-time simulation of robot arms and multi-body systems
- Model-based control (computed torque, impedance control)
- Forward integration of manipulator dynamics
-
Recursive Newton-Euler: solves the inverse problem (
$q, \dot{q}, \ddot{q} \to \tau$ ). ABA and RNEA are duals:RNEA(q, qDot, ABA(q, qDot, tau)) ≈ tau. -
Euler-Lagrange: equivalent
$O(n^3)$ formulation using the mass matrix. - Gaussian Elimination: used if the mass matrix approach is taken instead.
- Featherstone, R. (2008). Rigid Body Dynamics Algorithms. Springer. Chapter 7.
- Featherstone, R. (1983). "The Calculation of Robot Dynamics Using Articulated-Body Inertias." International Journal of Robotics Research, 2(1), 13–30.