
In
mechanical engineering
Mechanical engineering is the study of physical machines that may involve force and movement. It is an engineering branch that combines engineering physics and mathematics principles with materials science, to design, analyze, manufacture, ...
, the Denavit–Hartenberg parameters (also called DH parameters) are the four
parameter
A parameter (), generally, is any characteristic that can help in defining or classifying a particular system (meaning an event, project, object, situation, etc.). That is, a parameter is an element of a system that is useful, or critical, when ...
s associated with a particular convention for attaching
reference frame
In physics and astronomy, a frame of reference (or reference frame) is an abstract coordinate system whose origin (mathematics), origin, orientation (geometry), orientation, and scale (geometry), scale are specified by a set of reference point ...
s to the links of a spatial
kinematic chain
In mechanical engineering, a kinematic chain is an assembly of rigid bodies connected by joints to provide constrained (or desired) motion that is the mathematical model for a mechanical system. Reuleaux, F., 187''The Kinematics of Machine ...
, or
robot manipulator.
Jacques Denavit and Richard Hartenberg introduced this convention in 1955 in order to standardize the coordinate frames for
spatial linkages.
Richard Paul demonstrated its value for the kinematic analysis of robotic systems in 1981.
While many conventions for attaching reference frames have been developed, the Denavit–Hartenberg convention remains a popular approach.
Denavit–Hartenberg convention
A commonly used convention for selecting
frames of reference
In physics and astronomy, a frame of reference (or reference frame) is an abstract coordinate system whose origin, orientation, and scale are specified by a set of reference points― geometric points whose position is identified both mathem ...
in
robotics
Robotics is an interdisciplinarity, interdisciplinary branch of computer science and engineering. Robotics involves design, construction, operation, and use of robots. The goal of robotics is to design machines that can help and assist human ...
applications is the
Denavit and Hartenberg (D–H) convention which was introduced by
Jacques Denavit
Ancient and noble French family names, Jacques, Jacq, or James are believed to originate from the Middle Ages in the historic northwest Brittany region in France, and have since spread around the world over the centuries. To date, there are ov ...
and
Richard S. Hartenberg. In this convention, coordinate frames are attached to the joints between two links such that one
transformation
Transformation may refer to:
Science and mathematics
In biology and medicine
* Metamorphosis, the biological process of changing physical form after birth or hatching
* Malignant transformation, the process of cells becoming cancerous
* Tran ...
is associated with the joint, , and the second is associated with the link . The coordinate transformations along a serial robot consisting of links form the kinematics equations of the robot,
:
where is the transformation locating the end-link.
In order to determine the coordinate transformations and , the joints connecting the links are modeled as either hinged or sliding joints, each of which have a unique line in space that forms the joint axis and define the relative movement of the two links. A typical serial robot is characterized by a sequence of six lines , one for each joint in the robot. For each sequence of lines and , there is a common normal line . The system of six joint axes and five common normal lines form the kinematic skeleton of the typical six degree of freedom serial robot. Denavit and Hartenberg introduced the convention that z-coordinate axes are assigned to the joint axes and x-coordinate axes are assigned to the common normals .
This convention allows the definition of the movement of links around a common joint axis by the
screw displacement
A screw axis (helical axis or twist axis) is a line that is simultaneously the axis of rotation and the line along which translation of a body occurs. Chasles' theorem shows that each Euclidean displacement in three-dimensional space has a screw ...
,
:
where is the rotation around and is the slide along the -axis—either of the parameters can be constants depending on the structure of the robot. Under this convention the dimensions of each link in the serial chain are defined by the
screw displacement
A screw axis (helical axis or twist axis) is a line that is simultaneously the axis of rotation and the line along which translation of a body occurs. Chasles' theorem shows that each Euclidean displacement in three-dimensional space has a screw ...
around the common normal from the joint to , which is given by
:
where and define the physical dimensions of the link in terms of the angle measured around and distance measured along the X axis.
In summary, the reference frames are laid out as follows:
# the -axis is in the direction of the joint axis
# the -axis is parallel to the
common normal:
(or away from )
If there is no unique common normal (parallel axes), then (below) is a free parameter. The direction of is from to , as shown in the video below.
# the -axis follows from the - and -axis by choosing it to be a
right-handed coordinate system
A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in t ...
.
Four parameters

The following four transformation parameters are known as D–H parameters:.
* : offset along previous to the common normal
* : angle about previous , from old to new
* : length of the common normal (aka , but if using this notation, do not confuse with ). Assuming a revolute joint, this is the radius about previous .
* : angle about common normal, from old axis to new axis
A visualization of D–H parameterization is available
YouTube
There is some choice in frame layout as to whether the previous axis or the next points along the common normal. The latter system allows branching chains more efficiently, as multiple frames can all point away from their common ancestor, but in the alternative layout the ancestor can only point toward one successor. Thus the commonly used notation places each down-chain axis collinear with the common normal, yielding the transformation calculations shown below.
We can note constraints on the relationships between the axes:
* the -axis is perpendicular to both the and axes
* the -axis intersects both and axes
* the origin of joint is at the intersection of and
* completes a right-handed reference frame based on and
Denavit–Hartenberg matrix
It is common to separate a screw displacement into product of a pure translation along a line and a pure rotation about the line,
so that
:
and
:
Using this notation, each link can be described by a
coordinate transformation
In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine the position of the points or other geometric elements on a manifold such as Euclidean space. The order of the coordinates is signi ...
from the concurrent coordinate system to the previous coordinate system.
: