Denavit-Hartenberg Parameters for a Three-Link Robot

​
j
1
Revolute
Prismatic
θ
1
5π
32
d
1
1
r
1
0
α
1
π
2
j
2
Revolute
Prismatic
θ
2
π
4
d
2
0
r
2
1
α
2
0
j
3
Revolute
Prismatic
θ
3
-
3π
8
d
3
0
r
3
1
α
3
0
grip
1
The Denavit–Hartenberg (DH) convention for assigning coordinate frames uses four variables to define the reference coordinate frame for each link in a robotic arm. This Demonstration lets you select a three-link combination of revolute (rotating) and prismatic (sliding) joints. You can then vary their DH parameters to create a variety of robot arms in different configurations.

Details

The Denavit–Hartenberg (DH) convention is used to assign coordinate frames to each joint of a robot manipulator in a simplified and consistent fashion[1]. From these parameters, a homogeneous transformation matrix can be defined, which is useful for both forward and inverse kinematics of the manipulator. This homogeneous transformation is the product of four simpler transformations: (1) a rotation
θ
about the
z
axis, (2) a translation
d
along the
z
axis, (3) a translation
r
along the
x
axis, and (4) a rotation
α
about the
x
axis. Joints are either revolute or prismatic. For revolute joints, the variable of movement is
θ
, and for prismatic joints, the variable of movement is
d
. Under the DH convention, coordinate frames are assigned using two rules: (1) The
x
axis of the current frame must be perpendicular to the
z
axis of the previous frame, and (2) the
x
axis of the current frame must intersect the
z
axis of the previous frame.
The homogeneous transformation between two coordinate frames with DH parameters
θ
i
,
d
i
,
r
i
,
α
i
is
A
i
=
rot
z,
θ
i
trans
z,
d
i
trans
x,
r
i
rot
z,
α
i
=
c
θ
i
-
s
θ
i
c
α
i
s
θ
i
s
α
i
r
i
c
θ
i
s
θ
i
c
θ
i
c
α
i
-
c
θ
i
s
α
i
r
i
s
θ
i
0
s
α
i
c
α
i
d
i
0
0
0
1
, where
c
θ
=cosθ
and
s
θ
=sinθ
.
A video showing an animation explaining the assignment of DH parameters may be found at[2].
In this Demonstration, you can vary the four parameters to see the effect each has on the configuration of the robot. The code is modular and can easily be extended for
n
-link robots.
The default settings give a three-link anthropomorphic manipulator arm, so named because the joints map to a waist, shoulder, and elbow rotation:
DHparameter
θ
d
r
α
Joint1
*
θ
1
d
1
0
π/2
Joint2
*
θ
2
0
0
0
Joint3
*
θ
3
0
0
0
(Here * indicates the moving joint variable, other parameters are constant.)
Anthropomorphic manipulator arms are often used in assembly lines for welding, painting, and construction.
The snapshots show, in order:
SCARA arm, the Selective Compliant Articulated Robot for Assembly, has two revolute joints and one prismatic joint:
DHparameter
θ
d
r
α
Joint1
*
θ
1
d
1
0
0
Joint2
*
θ
2
0
r
2
π
Joint3
0
*
d
3
0
0
SCARA arms are often used for pick and place tasks on conveyor belts.
A three-link cylindrical robot, an early robot model with one revolute joint and two prismatic joints:
DHparameter
θ
d
r
α
Joint1
*
θ
1
d
1
0
0
Joint2
0
*
d
2
0
-π/2
Joint3
0
*
d
3
0
0
One reason cylindrical robots were popular is because they have simple inverse kinematics that are specified in cylindrical coordinates.
A three-link planar revolute robot:
DHparameter
θ
d
r
α
Joint1
*
θ
1
0
r
1
0
Joint2
*
θ
2
0
r
2
0
Joint3
*
θ
3
0
r
3
-π/2
Three-link planar robots have a disc-shaped workspace that they can reach. The extra joint enables them to achieve desired angles of the end effector (the robot hand) in a subspace of the reachable workspace. This subspace is called the dexterous workspace.
A spherical wrist:
DHparameter
θ
d
r
α
Joint1
*
θ
1
d
1
0
-π/2
Joint2
*
θ
2
0
0
π/2
Joint3
*
θ
3
d
3
0
0
A spherical wrist can be used to achieve any desired orientation of the end effector. Often a spherical wrist is attached to the end of a three-link robot such as a SCARA, anthropomorphic manipulator, or cylindrical robot. The first three joints are used for position control and the spherical wrist is used for orientation control.

References

[1] M. W. Spong, S. Hutchinson, and M. Vidyasagar, Robot Modeling and Control, Hoboken, NJ: John Wiley & Sons, 2006.
[2] E. Tira–Thompson, prod. Denavit-Hartenberg Reference Frame Layout[Video]. (Jun 15, 2016) www.youtube.com/watch?v=rA9tm0gTln8.

External Links

Forward Kinematics
Inverse Kinematics
Forward and Inverse Kinematics of the SCARA Robot
Inverse Kinematics for a Robot Manipulator with Six Degrees of Freedom
Model of an Industrial Robot Arm
Rotation Matrix (Wolfram MathWorld)
Translation (Wolfram MathWorld)

Permanent Citation

Aaron T. Becker, Mary Burbage
​
​"Denavit-Hartenberg Parameters for a Three-Link Robot"​
​http://demonstrations.wolfram.com/DenavitHartenbergParametersForAThreeLinkRobot/​
​Wolfram Demonstrations Project​
​Published: June 16, 2016