Definitionintro
Denavit-Hartenberg convention
Also called DH parameters, Denavit-Hartenberg parameters.
Four parameters per link, two lengths and two angles, that fix frames on a serial chain so that each joint is one transform Rz(theta) Trans_z(d) Trans_x(a) Rx(alpha).
The Denavit-Hartenberg convention is a rule for putting one coordinate frame on each link of a serial robot so that the move from one frame to the next needs only four numbers. Two of them are lengths, and , and two are angles, and . One of the four is the joint value, and the other three are fixed by the shape of the link. A robot is then described by a table with one row per joint, and its forward kinematics is the product of one matrix per row. A general transform between two frames needs six numbers. The convention saves two per link by choosing where each frame goes.
Definition
Frames. Number the links (the base) to and the joints to , so that joint connects link to link . Frame is fixed to link . In the classic convention, used by Denavit and Hartenberg (1955) and by Spong, Hutchinson and Vidyasagar:
- The axis is the axis of joint .
- The axis lies on the common normal of and , and points from to . So is perpendicular to and meets it.
- The origin is where meets , and completes a right-handed frame.
Parameters. With these frames, link has four numbers:
| parameter | meaning |
|---|---|
| link length: the distance from to , along | |
| link twist: the angle from to , about | |
| link offset: the distance from to the foot of on , along | |
| joint angle: the angle from to , about |
For a revolute joint is the joint variable and are constants. For a prismatic joint is the variable.
Link transform. The pose of in is
and the end effector pose is , followed by a fixed tool transform if the tool frame is not .
Why four numbers suffice. Let and be frames such that is perpendicular to and meets it. Then the pose of in has the form above. Proof. Since , in the coordinates of we have for some . The axis is a unit vector perpendicular to , so it is for some , and . These are the columns of . Since the line of meets at a point , and is on that line, for some and , which is the last column of . The two conditions on remove two of the six numbers of a general transform.
Choices that are not unique. If and are parallel, the common normal is not unique and can take any value; the usual choice is . If they meet, and is normal to the plane of the two axes, with a choice of sign. Frame only needs on the first axis, and frame only needs . So two people can write different but correct tables for the same robot.
The modified convention. Craig's textbook puts frame on the axis of joint instead of joint , and uses
with and taken from the previous link. The two conventions give different tables for the same arm, and a table must always say which one it uses. This page uses the classic one, except where it says otherwise.
Examples and non-examples
Planar 2R arm with m, classic convention:
| 1 | 0 | 0 | ||
| 2 | 0 | 0 |
The last column of is . At this is the point . In the modified convention the rows are and , and the tool transform must be added, because frame now sits on the second joint and not at the tip. Both give the same matrix at .
Spatial 3R arm (the anthropomorphic arm of Siciliano et al., Section 2.9, here with a shoulder height of 1 m and links of 1 m):
| (m) | (m) | |||
|---|---|---|---|---|
| 1 | 1 | 0 | ||
| 2 | 0 | 1 | 0 | |
| 3 | 0 | 1 | 0 |
The twist turns the vertical first axis into the horizontal second axis. At , has the rotation and the position . At it is
Check against the product of exponentials. The same arm in product of exponentials form has the home pose equal to at , and the screw axes , (axis through ) and (axis through ). The axes point along because . A script compared the two products at 1000 random joint vectors and found a largest difference of in any entry. For the 2R table above it found .
Non-example: a ball joint as one row. A spherical joint has three freedoms, and one row has one joint variable. The joint must be written as three revolute rows with and twists of , with two massless links in between.
Non-example: a closed chain. A DH table describes a path of joints. A parallel manipulator needs one table per leg and loop closure equations between them.
Related definitions
- Product of exponentials formula: the other standard way to write the forward kinematics. It needs no link frames but uses six numbers per joint and the home pose , against four numbers per joint here.
- Forward kinematics: the problem that the table solves, by the product .
- Kinematic calibration: the DH parameters are not a continuous model near parallel axes. If two nominally parallel axes are tilted by a small angle, the common normal jumps and can change by a large amount. Hayati (1983) showed this and added a rotation about for such joints.
- Pieper criterion: many arms whose inverse kinematics has a closed form have DH tables with and at the wrist, so that three axes meet in a point.
History
Denavit and Hartenberg (1955) proposed the four parameters to describe lower-pair mechanisms by matrices. The notation became the standard for robot arms in the 1970s and 1980s. Craig's textbook made the modified convention common, and many texts on dynamics now use it. Brockett (1984) proposed the product of exponentials as an alternative without link frames.
References
- J. Denavit and R. S. Hartenberg, A kinematic notation for lower-pair mechanisms based on matrices, Journal of Applied Mechanics 22, 1955, pages 215 to 221, the four parameters of each link and the matrix that relates neighboring frames
- Mark W. Spong, Seth Hutchinson and M. Vidyasagar, Robot Modeling and Control, 2nd edition, Wiley, 2020, the chapter on forward kinematics, the Denavit-Hartenberg convention and its existence and uniqueness argument (general locator)
- Bruno Siciliano, Lorenzo Sciavicco, Luigi Villani and Giuseppe Oriolo, Robotics, Modelling, Planning and Control, Springer, 2009, Section 2.8.2, Denavit-Hartenberg Convention, and Section 2.9, kinematics of typical manipulator structures (the anthropomorphic arm)
- Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Appendix C, Denavit-Hartenberg Parameters, with the comparison to the product of exponentials
- John J. Craig, Introduction to Robotics: Mechanics and Control, 3rd edition, Pearson Prentice Hall, 2005, Chapter 3, Manipulator kinematics, the modified convention with alpha and a of the previous link (general locator)
- S. A. Hayati, Robot arm geometric link parameter estimation, Proceedings of the 22nd IEEE Conference on Decision and Control, 1983, pages 1477 to 1483, the failure of the parameters for nearly parallel joint axes
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag CX82KN Edit this page History Report an error Markdown