
UNIVERSIDADE FEDERAL DE SANTA CATARINA (UFSC) 1
Denavit–Hartenberg Convention Resume
Vitor Engers (16105314)
I. DI SCL AIM ER
As a resume, nothing written here was produced by me. All
content was taken from the book Robotics: Modeling, Planning
and Control.
II. R ESUME
Denavit-Hartenberg Convention allows the construction of
the direct kinematics function by composition of the individual
coordinate transformations. Basically describes the position of
an axis of coordinates of a link in relation to the previous link.
The frames can be chosen arbitrarily, as long as they are
attached to the link they refer to and it is convenient to set
some rules:
Figura 1. Denavit-Hartenberg kinematic parameters
Using the Figure 1 as a reference:
1) Number consecutively the joint axes and set the directions
of axes z0, ..., zn−1.
2) Choose Frame 0 by locating the origin on axis z0. Axes
x0and y0are chosen so as to obtain a right-handed frame.
Execute steps from 3 to 5 for i= 1, ..., n −1:
3) Locate the origin Oiat the intersection of ziwith the
minimum distance segment of axes zi−1and zi. If axes
zi−1and ziare parallel and Joint iis revolute, then locate
Oiso that di= 0. If Joint iis prismatic, locate Oiat a
reference position for the Joint range.
4) Choose axis xialong the common normal to axes zi−1
and ziwith direction from Joint ito Joint i+ 1.
5) Choose axis yiso as to obtain a right-handed frame.
6) Choose Frame n; if Joint nis revolute, then align zn
with zn−1, otherwise,if Joint nis prismatic, then choose
znarbitrarily. Axis xnis set according to step 4.
Given a nonunique definition of the link frame in the following
cases:
•For Frame 0, only the direction of axis z0is specified;
•For Frame n, since there is no Joint n+1, znis not
uniquely defined;
•When two consecutive axes are parallel, the common
normal between them is not uniquely define;
•When two consecutive axes intersect, the positive direc-
tion of xiis arbitrary;
•When Joint iis prismatic, only the direction of zi−1is
specified.
7) For i= 1,..., n, form the table of parameters ai,di,αi,vi.
aidistance between Oiand Oi0
dicoordinate of Oi0along zi−1
αiangle between axes zi−1and zi
viangle between axes xi−1and xi
•The parameters aiand αiare always constant and
depend only on the geometry of connection between
consecutive joints.
•The other two parameters, only one is variable depen-
ding on the type of joint. In particular:
–if Joint i is revolute the variable is vi,
–if Joint i is prismatic the variable is di.
8) On the basis of the parameters in 7, compute the homo-
geneous transformation matrices Ai−1
i(qi) for i = 1,...,n
defined below:
Ai−1
i=
cvi
−svi0 0
svicvi0 0
0 0 1 di
0 0 0 1
(1)
Ai−1
i=
1 0 0 ai
0cαi
−sαi0
0sαicαi0
0 0 0 1
(2)
Ai−1
i(qi) = Ai−1
i0Ai0
i=
cvi
−svicαisvisαiaicvi
svicvicαi
−cvisαiaisvi
0sαicαidi
0 0 0 1
(3)
9) Compute the homogeneous transformation T0
n(q) =
A0
1...An1
nthat yields the position and orientation of Frame
n with respect to Frame 0.
10) Given Tb
0and Tn
e, compute the direct kinematics funtion
as Tb
e(q) = Tb
0T0
nTn
ethat yields the position and orien-
tation of the end-effector frame with respect to the base
frame.