Lecture4 Robotics
Lecture4 Robotics
Emmanuel Ali(PhD)
1 Degree of Freedom
2 Rigid Body
3 Robot Kinematic
Robot kinematics is the branch of robotics that deals with the study of
the motion of robot manipulators, specifically focusing on their
geometry and how they move without considering the forces and
torques involved. Kinematics involves analyzing the position, velocity,
and acceleration of the robot’s parts (joints and end-effector) in a
coordinate system.
1 0 0 0 1 0 0 0 1 0 0 0
2
0 1 0 l3 0 1 0 0 0 1 0 l3
H3 =
0 0 1 0 0 0 1 d3 = 0 0 1 d3
0 0 0 1 0 0 0 1 0 0 0 1
Thus, multiplying the above matrices results the position and orientation of
the fourth block with respect to the first one
0
H3 =0H1 .1 H2 .2 H3
cos(θ1 + θ2 ) − sin(θ1 + θ2 ) 0 −l3 sin(θ1 + θ2 ) − l2 sin θ1
0
sin(θ1 + θ2 ) cos(θ1 + θ2 ) 0 l3 cos(θ1 + θ2 ) + l2 cos θ1
H3 =
0 0 1 l1 + d3
0 0 0 1
The DH convention includes the following parameters for each joint and link:
Link Length (a): The distance from the center of joint i to the intersection
of the common normal between axis zi and axis zi + 1 with the plane
perpendicular to axis xi . This parameter represents the distance between the
axes of two consecutive joints along their common normal. It specifies how far
the joint’s center is from the next joint.
Link Twist (α): The angle between axis zi and axis zi+1 , measured about
the common normal. This parameter represents the rotation about the
common normal between the axes of two consecutive joints. It defines how
much the current joint twists relative to the next joint
Link Offset (d): The distance along the common normal from joint i to joint
i+1, measured along axis zi + 1. This parameter specifies the displacement
along the common normal between the axes of the current and next joints. It
defines how much the joint is displaced in the direction of the next joint.
Joint Angle (θ): The angle between axis xi and axis xi+1 , measured about
axis zi . This parameter represents the rotation about the axis of the current
joint. It indicates the angle by which the current joint rotates.
The DH parameters are usually associated with joint i and the link
that follows it. By organizing these parameters systematically, the DH
convention allows you to calculate the transformation from one link to
the next in a straightforward manner. The transformation matrix from
link i to link i+1 can be represented as a 4x4 homogeneous
transformation matrix based on these parameters.
The DH transformation matrix, often denoted as Ai , represents the
transformation from link i to link i+1 and is given as:
Hi = Rot(z, θ) ∗ T rans(z, d) ∗ T rans(x, a) ∗ Rot(x, α)
Where:
- Rot(z, θ) is the rotation about the z-axis by angle θ.
- T rans(z, d) is the translation along the z-axis by distance d.
- T rans(x, a) is the translation along the x-axis by distance a.
- Rot(x, α) is the rotation about the x-axis by angle α.
Consider the SCARA robot arm and derive a geometric model of the
robot using Denavit-Hartenberg convention.
Link a α d θ
1 0 0 l1 0
2 l2 0 0 θ1
3 l3 0 0 θ2
4 0 0 d3 0
0
H4 = H0 H1 H2 H3
0
H4 =
1 0 0 0 cos θ1 − sin θ1 0 l2 cos θ1 cos θ2 − sin θ2 0 l3 cos θ2
0 1 0 0 sin θ1 cos θ1 0 l2 sin θ1 sin θ2 cos θ2 0 l3 sin θ2
0 0 1 l1 0 0 1 0 0 0 1 0
0 0 0 1 0 0 0 1 0 0 0
1
cos(θ1 + θ2 ) − sin(θ1 + θ2 ) 0 l3 cos(θ1 + θ2 ) − l2 cos θ1
0
sin(θ1 + θ2 ) cos(θ1 + θ2 ) 0 l3 sin(θ1 + θ2 ) + l2 sin θ1
H4 =
0 0 1 l1 + d3
0 0 0 1
Link a α d θ
1 l1 0 0 θ1
2 l2 0 0 θ2
3 l3 0 0 θ3
cos θ1 − sin θ1 0 l1 cos θ1
sin θ1 cos θ1 0 l1 sin θ1
H1 =
0
0 1 0
0 0 0 1
cos θ2 − sin θ2 0 l2 cos θ2
sin θ2 cos θ2 0 l2 sin θ2
H2 =
0
0 1 0
0 0 0 1
cos θ3 − sin θ3 0 l3 cos θ3
sin θ3 cos θ3 0 l3 sin θ3
H3 =
0
0 1 0
0 0 0 1
0H = H1 H2 H3
3
0H =
3
cos(θ1 + θ2 + θ3 ) − sin(θ1 + θ2 + θ3 ) 0 l3 cos(θ1 + θ2 + θ3 ) + l2 cos(θ1 + θ2 ) + l1 cos θ1
sin(θ1 + θ2 + θ3 ) cos(θ1 + θ2 + θ3 ) 0 l3 sin(θ1 + θ2 + θ3 ) + l2 sin(θ1 + θ2 ) + l1 sin θ1
0 0 1 0
0 0 0 1