Inferensys

Glossary

Denavit-Hartenberg Parameters

Denavit-Hartenberg parameters are a standardized convention for assigning coordinate frames to robotic links and defining the four parameters that describe transformations between consecutive links.
Change management lead guiding AI transformation on laptop, transition roadmaps visible, executive workshop.
ROBOTICS KINEMATICS

What is Denavit-Hartenberg Parameters?

The Denavit-Hartenberg (D-H) parameters are a standardized convention for defining the relative position and orientation of consecutive links in a robotic manipulator or any serial kinematic chain.

Denavit-Hartenberg parameters are four kinematic quantities—link length (a), link twist (α), joint offset (d), and joint angle (θ)—that systematically define a coordinate frame attached to each link. This convention provides a minimal representation for the homogeneous transformation matrix between adjacent links, enabling the unambiguous calculation of a robot's forward kinematics. The method's standardization is critical for modeling, control, and simulation of articulated systems.

The convention exists in two primary forms: the standard (or proximal) D-H parameters and the modified (or distal) D-H parameters, which differ in where the coordinate frame is attached relative to the joint axis. These parameters are foundational for deriving the Jacobian matrix for velocity analysis and are integral to algorithms for inverse kinematics and inverse dynamics, forming the mathematical backbone for robotic simulation and control pipelines.

KINEMATIC CONVENTION

The Four DH Parameters

The Denavit-Hartenberg (DH) convention is a standardized method for assigning coordinate frames to the links of a serial robotic manipulator. It defines four parameters that completely describe the transformation between consecutive links, enabling systematic kinematic analysis.

01

Link Length (aᵢ₋₁)

The link length is the perpendicular distance measured along the common normal from the Zᵢ₋₁ axis to the Zᵢ axis. It represents the shortest distance between the two joint axes.

  • Definition: Distance from Zᵢ₋₁ to Zᵢ along Xᵢ.
  • Physical Meaning: For a rotary joint, it is the length of the physical link connecting the joints. For parallel axes, it is zero.
  • Example: In a simple 2D planar arm, this is the literal length of the link between two revolute joints.
02

Link Twist (αᵢ₋₁)

The link twist is the angle between the Zᵢ₋₁ axis and the Zᵢ axis, measured about the Xᵢ axis using the right-hand rule.

  • Definition: Angle from Zᵢ₋₁ to Zᵢ about Xᵢ.
  • Physical Meaning: It describes the 'twist' or angular offset between the rotational axes of two consecutive joints.
  • Example: In a standard industrial robot, if two adjacent revolute joints have axes that are perpendicular, the link twist is 90 degrees (π/2 radians).
03

Joint Offset (dᵢ)

The joint offset is the distance measured along the Zᵢ₋₁ axis from the origin of frame {i-1} to the intersection point of the Zᵢ₋₁ axis and the common normal (Xᵢ axis).

  • Definition: Distance along Zᵢ₋₁ to the common normal.
  • Physical Meaning: For a prismatic (sliding) joint, this is the variable joint parameter. For a revolute joint, it is a constant offset along the joint axis.
  • Example: In a SCARA robot, this parameter defines the vertical offset between the horizontal arm links.
04

Joint Angle (θᵢ)

The joint angle is the angle between the Xᵢ₋₁ axis and the Xᵢ axis, measured about the Zᵢ₋₁ axis using the right-hand rule.

  • Definition: Angle from Xᵢ₋₁ to Xᵢ about Zᵢ₋₁.
  • Physical Meaning: For a revolute (rotary) joint, this is the variable joint parameter. For a prismatic joint, it is a constant angle.
  • Example: In a simple 1-degree-of-freedom hinge, this angle is the primary control variable for the robot's pose.
05

The Homogeneous Transformation

Each DH parameter is used to construct an elementary transformation matrix. The complete transformation from frame {i-1} to frame {i} is the product of four sequential transformations:

ⁱ⁻¹Tᵢ = Rot(Z, θᵢ) * Trans(Z, dᵢ) * Trans(X, aᵢ₋₁) * Rot(X, αᵢ₋₁)

  • This 4x4 homogeneous transformation matrix contains both the rotation and translation between the two link coordinate frames.
  • The forward kinematics of the entire manipulator is found by chaining these matrices: ⁰T_N = ⁰T₁ * ¹T₂ * ... * ᴺ⁻¹T_N.
06

Standard vs. Modified DH

Two primary conventions exist: Standard (Classic) DH and Modified DH (introduced by Craig). They differ in where the link frame is attached and the order of parameter definitions.

Key Differences:

  • Frame Attachment: In Standard DH, frame {i} is attached to link i at the far end of the link. In Modified DH, frame {i} is attached to link i at the near end.
  • Parameter Indexing: The associated parameters (a, α) are indexed differently relative to the link number.
  • Usage: Standard DH is common in older textbooks. Modified DH is often preferred in modern robotics software (e.g., ROS, MATLAB Robotics Toolbox) for its algorithmic simplicity in deriving dynamics.
ROBOTIC KINEMATICS

How DH Parameters Work in Practice

Denavit-Hartenberg (DH) parameters are a standardized convention for assigning coordinate frames to the links of a robotic serial chain and defining the four parameters (link length, link twist, joint offset, joint angle) that describe the transformation between consecutive links.

In practice, engineers first assign a DH coordinate frame to each link of a serial manipulator using a strict set of rules. The four DH parameters—link length (a), link twist (α), joint offset (d), and joint angle (θ)—are then measured or defined for each joint. These parameters are inserted into a standard 4x4 homogeneous transformation matrix, which mathematically describes the position and orientation of one link's frame relative to the previous link's frame. This systematic approach creates a clear kinematic model.

The primary application is forward kinematics, where substituting the current joint angles (for revolute joints) or offsets (for prismatic joints) into the chain of transformation matrices calculates the end-effector's pose. This model is also foundational for inverse kinematics and Jacobian calculations used in velocity control and dynamics. The standardization provided by the DH convention ensures consistency and simplifies the programming of robotic motion across different manipulator designs and simulation environments.

KINEMATIC MODELING

DH Parameters vs. Alternative Conventions

Comparison of the standard Denavit-Hartenberg (DH) convention with other common methods for defining coordinate frames and transformations in serial robotic manipulators.

Feature / ParameterStandard DH (Modified DH)Hayati (S Model)Screw Theory (Exponential Coordinates)Product of Exponentials (PoE)

Primary Reference

Denavit & Hartenberg (1955), Craig (Modified, 1986)

Hayati & Mirmirani (1985)

Murray, Li, Sastry (1994)

Brockett (1984), Park & Bobrow (1994)

Frame Assignment

Frames on joint axes (z_i). Origin at intersection of a_i and z_i, or along common normal.

Frames can be assigned with two parallel joint axes, uses an extra parameter.

No intermediate link frames required. Uses a base frame and joint screws.

Similar to Screw Theory; defines transformations relative to a base frame.

Number of Parameters per Joint

4
5
6

Screw Axis)

6

Screw Axis)

Parameters

Link length (a_i), Link twist (α_i), Joint offset (d_i), Joint angle (θ_i)

a_i, α_i, d_i, β_i (additional rotation about y), θ_i

Screw axis (ω, v), Joint displacement (θ or d)

Screw axis (ξ), Joint displacement (θ or d)

Singularity Handling

Singular at parallel consecutive z-axes (α_i = 0).

Explicitly designed to model parallel/consecutive joints without singularity.

No inherent singularities from parameterization.

No inherent singularities from parameterization.

Modeling Prismatic & Revolute Joints

Homogeneous Transformation Form

A_i = Rot(z,θ_i) * Trans(z,d_i) * Trans(x,a_i) * Rot(x,α_i)

A_i = Rot(z,θ_i) * Trans(z,d_i) * Trans(x,a_i) * Rot(x,α_i) * Rot(y,β_i)

g = exp([ξ]θ) for revolute, or exp([ξ]d) for prismatic.

g = exp([ξ_1]θ_1) * ... * exp([ξ_n]θ_n) * g(0).

Primary Application Context

Classical industrial robotics, textbook kinematics.

Robots with spherical wrists or two consecutive parallel joints.

Modern robotics theory, unified treatment of kinematics/dynamics.

Analytical kinematics, closed-form solutions, Lie group theory.

KINEMATICS

Frequently Asked Questions

Denavit-Hartenberg (DH) parameters are the standard convention for describing the geometry of serial robot manipulators. These FAQs address their definition, application, and role in simulation and robotics.

Denavit-Hartenberg (DH) parameters are a standardized convention for assigning coordinate frames to the links of a serial robotic manipulator and defining the four parameters that describe the transformation between consecutive links. This convention provides a systematic method to derive a robot's forward kinematics, which calculates the position and orientation of the end-effector from given joint angles. The four parameters are: link length (a), the distance along the common normal between joint axes; link twist (α), the angle between joint axes measured about the common normal; joint offset (d), the distance along the joint axis between common normals; and joint angle (θ), the angle between common normals measured about the joint axis. For revolute joints, θ is the variable; for prismatic joints, d is the variable.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.