· Robotics  · 2 min read

Understanding DH Parameters: A Simple Guide

Denavit-Hartenberg (DH) parameters provide a systematic way to describe robot geometry, linking kinematics, joints, and links for practical robot modeling and control.

Denavit-Hartenberg (DH) parameters provide a systematic way to describe robot geometry, linking kinematics, joints, and links for practical robot modeling and control.

Denavit-Hartenberg (DH) parameters is a standardized framework for modeling the geometry of robot arms.


Manipulator Components and Kinematics

A robot manipulator consists of:

  • Links: Rigid segments connecting joints

  • Joints: Points of motion, either

    • Revolute (rotational) or
    • Prismatic (linear)

Each joint contributes a degree of freedom (DOF). For full 3D control of a robot’s end-effector:

  • 3 DOF for position (x, y, z)
  • 3 DOF for orientation (roll, pitch, yaw)

Robots with fewer than six DOFs are underactuated; more DOFs provide redundancy but increase complexity.

Example: Most industrial arms, like the PUMA 560, have at least 6 DOFs to position and orient the end-effector anywhere in 3D space.


Denavit-Hartenberg (DH) Parameters

DH parameters provide a systematic way to describe the spatial relationship between consecutive links. Each joint is represented by four parameters:

  1. Link length (aa) – distance along the common normal between joint axes
  2. Link twist (α\alpha) – angle between joint axes along the common normal
  3. Link offset (dd) – distance along the joint axis (variable for prismatic joints)
  4. Joint angle (θ\theta) – rotation about the joint axis (variable for revolute joints)

These parameters simplify forward and inverse kinematics.

Tii1=[cosθisinθicosαisinθisinαiaicosθisinθicosθicosαicosθisinαiaisinθi0sinαicosαidi0001]T_i^{i-1} = \begin{bmatrix} \cos\theta_i & -\sin\theta_i \cos\alpha_i & \sin\theta_i \sin\alpha_i & a_i \cos\theta_i \\ \sin\theta_i & \cos\theta_i \cos\alpha_i & -\cos\theta_i \sin\alpha_i & a_i \sin\theta_i \\ 0 & \sin\alpha_i & \cos\alpha_i & d_i \\ 0 & 0 & 0 & 1 \end{bmatrix}

This homogeneous transformation matrix maps frame ii to i1i-1.


Attaching Coordinate Frames

  • Z-axis: aligned with the joint axis
  • X-axis: along the link between joints
  • Y-axis: determined by the right-hand rule

Consistent frame attachment ensures that the DH parameters accurately model the robot geometry.


Examples

PUMA 560 (6-DOF revolute arm):

Joint iiaia_i (m)αi\alpha_i (rad)did_i (m)θi\theta_i (rad)
10π/20.675θ1
20.2600θ2
30.6800θ3

Summary

DH parameters provide a compact, systematic way to model robotic arms, bridging physical construction (links and joints) and mathematical representation (transformation matrices). Mastering DH parameters is essential for:

  • Computing forward kinematics
  • Solving inverse kinematics
  • Programming robot motion
  • Simulating industrial robot behavior

With this framework, both educational and real-world robotic applications can be accurately analyzed and controlled.

Back to Blog

Related Posts

View All Posts »
Understanding FABRIK: A Simple Guide

Understanding FABRIK: A Simple Guide

FABRIK(A Fast Iterative Solver for the Inverse Kinematics Problem) is a heuristic, iterative inverse kinematics solver that avoids complex matrix operations and singularities, providing smooth motion and fast convergence for robotic chains.