Denavit - Hartenberg Algorithm

30
KP6513 slide 1 The Denavit-Hartenberg Algorithm Dr. Sallehuddin Mohamed Haris

description

Lecture note from UKM

Transcript of Denavit - Hartenberg Algorithm

Page 1: Denavit - Hartenberg Algorithm

KP6513 slide 1

The Denavit-Hartenberg Algorithm

Dr. Sallehuddin Mohamed Haris

Page 2: Denavit - Hartenberg Algorithm

KP6513 slide 2

Any two neighbouring frames can be brought into coincidence by aprescribed sequence of at most two rotations and two translations.

Page 3: Denavit - Hartenberg Algorithm

KP6513 slide 2

Any two neighbouring frames can be brought into coincidence by aprescribed sequence of at most two rotations and two translations.

The D-H algorithm is a systematic matrix method based onHomogeneous Transformation Matrices to describe the positionand orientation of each link or the tool tip with respect to itsneighbouring link in a static situation.

Page 4: Denavit - Hartenberg Algorithm

KP6513 slide 3

Steps to take when performing the D-H algorithm:

Page 5: Denavit - Hartenberg Algorithm

KP6513 slide 3

Steps to take when performing the D-H algorithm:

1. Assign coordinate frames to all links and the tool tip.

Page 6: Denavit - Hartenberg Algorithm

KP6513 slide 3

Steps to take when performing the D-H algorithm:

1. Assign coordinate frames to all links and the tool tip.

2. Derive 4 × 4 HTM to describe the position and orientation ofeach link or tool tip wrt its neighbouring link.

Page 7: Denavit - Hartenberg Algorithm

KP6513 slide 3

Steps to take when performing the D-H algorithm:

1. Assign coordinate frames to all links and the tool tip.

2. Derive 4 × 4 HTM to describe the position and orientation ofeach link or tool tip wrt its neighbouring link.

3. Use the post-multiplication rule to compute the forwardkinematics.

Page 8: Denavit - Hartenberg Algorithm

KP6513 slide 3

Steps to take when performing the D-H algorithm:

1. Assign coordinate frames to all links and the tool tip.

2. Derive 4 × 4 HTM to describe the position and orientation ofeach link or tool tip wrt its neighbouring link.

3. Use the post-multiplication rule to compute the forwardkinematics.

4. From the forward kinematic equation, determine the positionand orientation of the end effector (tool tip).

Page 9: Denavit - Hartenberg Algorithm

Arm Parameters

KP6513 slide 4

Page 10: Denavit - Hartenberg Algorithm

Arm Parameters

KP6513 slide 4

● Define the robot base as link 0.

Page 11: Denavit - Hartenberg Algorithm

Arm Parameters

KP6513 slide 4

● Define the robot base as link 0.

● Number each link and the end effector consecutively inincreasing order.

Page 12: Denavit - Hartenberg Algorithm

Arm Parameters

KP6513 slide 4

● Define the robot base as link 0.

● Number each link and the end effector consecutively inincreasing order.

● Joint 1 connects link 0 to link 1.

Page 13: Denavit - Hartenberg Algorithm

Arm Parameters

KP6513 slide 4

● Define the robot base as link 0.

● Number each link and the end effector consecutively inincreasing order.

● Joint 1 connects link 0 to link 1.

● Joint i connects link i − 1 to link i.

Page 14: Denavit - Hartenberg Algorithm

Arm Parameters

KP6513 slide 4

● Define the robot base as link 0.

● Number each link and the end effector consecutively inincreasing order.

● Joint 1 connects link 0 to link 1.

● Joint i connects link i − 1 to link i.

● Assign a Cartesian frame xiyizi to each joint.

Page 15: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

Page 16: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

● The zi axis is aligned with the axis of the rotary joint i + 1.

Page 17: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

● The zi axis is aligned with the axis of the rotary joint i + 1.

● The xi axis

Page 18: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

● The zi axis is aligned with the axis of the rotary joint i + 1.

● The xi axis

✦ is normal to both the zi−1 and zi axes.

Page 19: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

● The zi axis is aligned with the axis of the rotary joint i + 1.

● The xi axis

✦ is normal to both the zi−1 and zi axes.

✦ points from the intersection of the zi−1 and xi axes

Page 20: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

● The zi axis is aligned with the axis of the rotary joint i + 1.

● The xi axis

✦ is normal to both the zi−1 and zi axes.

✦ points from the intersection of the zi−1 and xi axes to theintersection of the zi and xi axes.

Page 21: Denavit - Hartenberg Algorithm

Arm Parameter Assignment

KP6513 slide 5

● The zi axis is aligned with the axis of the rotary joint i + 1.

● The xi axis

✦ is normal to both the zi−1 and zi axes.

✦ points from the intersection of the zi−1 and xi axes to theintersection of the zi and xi axes.

● The yi axis is chosen from to form a right-handed xiyizi frame.

Page 22: Denavit - Hartenberg Algorithm

Link Parameters

KP6513 slide 6

Page 23: Denavit - Hartenberg Algorithm

Link Parameters

KP6513 slide 6

● ai (the link length) is the common normal between the zi−1 andzi axes.

Page 24: Denavit - Hartenberg Algorithm

Link Parameters

KP6513 slide 6

● ai (the link length) is the common normal between the zi−1 andzi axes.

● αi (the twist angle) is the rotational angle of the zi−1 axis aboutthe xi axis such that the zi−1 will be parallel to the xi axis afterthe rotation.

Page 25: Denavit - Hartenberg Algorithm

Joint Parameters

KP6513 slide 7

Page 26: Denavit - Hartenberg Algorithm

Joint Parameters

KP6513 slide 7

● θi (the joint angle) is the rotational angle of the xi−1 axis aboutthe zi−1 axis such that the xi−1 axis will be parallel to the xi axisafter the rotation.

Page 27: Denavit - Hartenberg Algorithm

Joint Parameters

KP6513 slide 7

● θi (the joint angle) is the rotational angle of the xi−1 axis aboutthe zi−1 axis such that the xi−1 axis will be parallel to the xi axisafter the rotation.

● d (the joint distance) is the translational distance from oi−1 (theorigin of the xi−1yi−1zi−1 frame) to bi (the intersection of the xi

and zi−1 axes).

Page 28: Denavit - Hartenberg Algorithm

KP6513 slide 8

Arm Parameter Symbol Revolute Joint Prismatic JointJoint angle θ variable constant

Joint distance d constant variableLink length a constant constantTwist angle α constant constant

Page 29: Denavit - Hartenberg Algorithm

HTMs

KP6513 slide 9

Tθi=

cos θi − sin θi 0 0

sin θi cos θi 0 0

0 0 1 0

0 0 0 1

Tdi=

1 0 0 0

0 1 0 0

0 0 1 di

0 0 0 1

Tai=

1 0 0 ai

0 1 0 0

0 0 1 0

0 0 0 1

Tαi=

1 0 0 0

0 cos αi − sin αi 0

0 sin αi cos αi 0

0 0 0 1

Page 30: Denavit - Hartenberg Algorithm

D-H Transformation Matrix

KP6513 slide 10

T i

i−1= Tθi

TdiTai

Tαi

=

Cθi −CαiSθi SαiSθi aCθi

Sθi CαiCθi −SαiCθi aSθi

0 Sαi Cαi di

0 0 0 1