Chapter Two Part 2
Chapter Two Part 2
(ECEg5332)
Instructor: Mesfin K.
[email protected]
PART-2–Kinematics
1
Contents
• Link description
• Kinematic chain
• DH convention define link frame,
parameters
• Direct (Froward) kinematics
• Inverse kinematics
• Examples
2
Link Description
• A manipulator consists of a series of rigid bodies
(links) connected by means of kinematic pairs or joints.
• joints: revolute and prismatic joints. each joint 1DOF.
• The links are from 0 (immobile base) to n (free end of
the arm).
3
kinematic chain
• Closed kinematic chain: a sequence of links forms a loop.
• Open kinematic chain: is only one sequence of links chain.
approach
Norma sliding to object
5
DH convention define link Frame
• Denavit-Hartenberg (D-H) representation is a very simple way of
modeling robot links and joints of any configuration.
• Let axis i denotes the axis of the joint connecting link i−1 to link i.
A coordinate system Xi, Yi, Zi is attached to the links.
• Choose axis Zi-1 along the axis of joint i-1.
• Located the origin Oi at the
intersection of the common
normal to Zi−1 and Zi. Also, locate
Oi’ at the intersection of the
common normal with axis zi−1.
• Choose axis Xi along ai with
direction from Joint i to
Jointi+1. if ai=0 the common
normal to axes Zi −1 and Zi.
• Yi axis complete a right handed
frame.
6
Ambiguities in defining DH Frames
• Frame 0, Z0 is specified; X0 axis are arbitrarily.
• Frame n, Since there is no Joint n+1, Zn is not
specified (but Xn has to be normal to axis Zn−1).
Typically, Joint n is revolute, and thus Zn is to be
aligned with the direction of Zn−1.
• When Zn-1 and Zn are parallel, the common normal
between them is not uniquely.
• When Zi and Zi+1 axes intersect:
the positive direction of Xi can be
chosen arbitrary.
7
Link and joint Parameters
Joint angle 𝜽i: the angle of rotation from the Xi-1 axis to the Xi axis
about the Zi-1 axis. It's the joint variable if joint i is rotary.
Joint distance di: the distance from the origin Oi-1 to the intersection
of the Zi-1and Xi axis along the Zi-1 axis. It is the joint variable if
joint i is prismatic.
Link length ai: the distance from the intersection of the Zi-1 and Xi axis
to the origin Oi along the Xi axis.
Link twist angle αi: the angle of rotation from the Zi-1 axis to the Zi
axis about the Xi axis.
8
DH Parameters
In Short
• : A rotation about the z-axis.
• d : The distance on the z-axis.
• a : The length of each common normal (Joint offset).
• : The angle between two successive z-axes (Joint
twist)
9
Homogeneous transformation between successive DH frames
i 1
Ti Tz i Tz di Tx a i Tz i
i 1
Ti Tz i Tz di Tx a i Tz i
10
Froward Kinematics
• The forward kinematics problem for a serial-chain
manipulator is to find the position and orientation of the
end-effector relative to the base.
• Each link has his frame, thus the kinematics problem has
been broken into n sub problems for each transform can be
written as a combination of a translation and a rotation
• The complete transformation matrix of a robot gives the
location and orientation of the end effector with respect
to the base.
n 1
0
n T 10 T 12T n T
• Soln. i)
i αi ai di Θi
1
2
3
12
Example: SCARA robot
Step 1: joint axes
13
Step 5: transformation matrices
14
Example 9: 3R Revolute Joints
Joint 3
Link 1
d2
Link 2
Joint 1 Joint 2
a0 a1
Steps to Froward kinematics model:
• Assign frames
• Find link parameters and the DH table
• Transformation matrices of adjacent joints
• Calculate Froward Kinematics Matrix
• Position of the end effector.
15
Example
Z3
Z0 Z1
Joint 3
Y0 O3 X3
Y1
d2
Joint 1
O0 X0 O1 X1 O2 X2 D-H Link Parameter Table
Joint 2
Link i i ai di i
Y2
1 0 a0 0 0
a0 a1
2 -90 a1 0 1
2
i : rotation angle from Zi-1 to Zi about Xi 3 0 0 d2
19
Inverse Kinematics
• Suppose the final position of the end effector is
known in terms of x, y, z. What would be the
corresponding θ’s to achieve the required position?
This is known as Inverse Kinematics.
• There are two main categories of approaches to this
problem; analytical and Numerical approaches.
21
Solvability and robot workspace
22
Workspace of planar 2R arm
23
A planar 3R arm - Number of inverse solutions
24
Multiplicity of solutions - some examples
25
Example lV
Find the Inverse Kinematics of a Two Link Manipulator shown below
Given: l1, l2 , x , y
Find: θ1, θ2
Redundancy:
A unique solution to this problem does not exist.
Notice, that using the “givens” two solutions are
Two Link Manipulator
possible
Sometimes no solution is possible.
The Geometric approach: Using the Law of Cosines θ1 and θ2 are found:
The Law of Cosines: Referring figure, the Law of Cosines are:
sin C C
sin B
b c B
26
sinB sin C sin1 sin(180 2 ) sin(2 )
b c l2 x2 y2 x2 y2
1 1 arctan 2 y
x
Similarly we can find
C 2 a 2 b 2 2abcosC
(x 2 y 2 ) l 2 l 2 2l l cos(180 ) cos(180 2 ) cos(2 )
1 2 1 2 2
x 2 y 2 l 12 l 22
x y l l
2 2 2 2
2 arccos
cos(2 ) 1 2
2l1l2
2l1l2
Hence, Redundant since θ2 could be in the first or fourth quadrant. Once θ2 is
determined, θ1 also calculatedas;
l sin( ) y
1 arcsin 2 2 arctan2
x2 y2 x
Redundancy caused since 2 has two possible values. 27
The Algebraic Solution: Using the transformation matrix:
x2 y 2 l12 C 12 l 22 C 122 2l1 l2C1 C12 l1 S1 l2 S12 2l1l2 S1 S 12
2 2 2 2
x 2 y 2 l12 l 22 2l l1 2 C1C12 S 1S 12
29
Inverse kinematics of Anthropomorphic Arm
30