You are on page 1of 41

Robot Kinematics

OUTLINES

 Position Analysis
- locations
- orientations
- movements

 Forward Kinematics

 Inverse Kinematics

Industrial Robotics 2
Robots Mechanism

 Multiple Degree of Freedom

- joint variable must be known

 Three Dimensional

 Open Loop Mechanism

Industrial Robotics 3
Matrix Representation z

 A Point in Space
cz

P  axiˆ  by ˆj  cz kˆ
by ax
x y
 A Vector in Space

P  a x iˆ  by ˆj  c z kˆ
x
a x   y
P  by    P   
z
 c z   
w 
- directional vector

Industrial Robotics 4
Representation of a Frame –
Origin at Fixed Reference Frame

z
 A frame can be represented as

n o a a

 nx ox ax 
F  n y oy a y  o

 nz oz a z 
x n y

Representation of a frame at the origin of the


reference frame

Industrial Robotics 5
Representation of a Frame – z

a
At Fixed Reference Frame

P o
 A frame can be represented as
n

 nx ox ax Px 
n oy ay Py  x y
F  y
Representation a frame

 nz oz az Pz  z

  a
0 0 0 1 60°
30°
o
n
Example:
  P
 
F  
 
  x Representation a frame y
 
Industrial Robotics 6
Representation of a Rigid Body
 Represented in Space by attaching a frame onto itself. z

 nx ox ax Px 
n oy ay Py 
Fobject   y
P o

 nz oz az Pz  n

 
0 0 0 1
x Representation an object in space y

In space, a point has 3 D.O.F while a frame has 6 D.O.F.

Therefore to locate a frame in space, we require 6-pieces of info.

However, there are 12 pieces of information given above.

Therefore, there exists 6 constraints. What are these constraints?

Industrial Robotics 7
Representation of a Rigid Body

 Constraints Equations, based on:

- mutual perpendicularity
- unit vector’s length

n a  0
Perpendicular vectors:
n o  0
Dot product between them is zero.
a o  0

n 1
Unit vector has a magnitude
o 1 of 1.
a 1

Industrial Robotics 8
Representation of a Rigid Body

Exercise
Solve for the following missing entities of a matrix representing a frame
in space.

 a 0 e 5
0.707 c f 3
F 
 b d 0 2
 
 0 0 0 1

Industrial Robotics 9
Representation of a Rigid Body

Exercise 1
Solve for the following missing entities of a matrix representing a frame
in space.
 a 0 e 5
0.707 c f 3
F 
 b d 0 2
 
 0 0 0 1

Exercise 2
Solve for the following missing entities of a matrix representing a frame
in space. a 0  1 8 
b 0 0 2
F 
c  1 0 1
 
0 0 0 1

Industrial Robotics 10
Homogeneous Transformation Matrix
a
 Pure Translation z

a
d o
1 0 0 dx 
0 1 0 d y 
n

T  P o

0 0 1 dz  n

 
0 0 0 1
x Pure translation of a frame y

1 0 0 d x   nx ox ax Px   nx ox ax Px  d x 
0 1 0 d y  n y oy ay Py  n y oy ay Py  d y 
Fnew  x 
0 0 1 d z   nz oz az Pz   nz oz az Pz  d z 
     
0 0 0 1 0 0 0 1 0 0 0 1 

Industrial Robotics 11
Homogeneous Transformation Matrix
 Pure Translation - Example

A frame F is moved six units along the x-axis and two units
along the z-axis of the reference frame. Determine the new
location.

0.527  0.574 0.628 5


0.527 0.819 0.439 3
F
 7.66 0 0.643 8
0 0 0 1

Industrial Robotics 12
Homogeneous Transformation Matrix

 Rotational about an Axis

A point in a rotating frame before and after Coordinates of a point relative to the reference
a rotation about the x-axis frame and rotating from the view of the rotating
axis.

Industrial Robotics 13
Homogeneous Transformation Matrix
 Rotational about an Axis

Px  Pn
Py  l1  l2  Po cos   Pa sin  ,
Pz  l3  l4  Po sin   Pa cos 

 Px  1 0 0   Pn 
 P   0 cos - sin   Po 
 y 
 Pz  0 sin cos   Pa 

Cθ 0 Sθ Cθ  Sθ 0
Rot y, θ   0 1 0 Rot z, θ   Sθ Cθ 0
 Sθ 0 Cθ 0 0 1

Industrial Robotics 14
Homogeneous Transformation Matrix

 Combined Transformation

Example 1:

A point in space P(7, 3,2) is attached to the frame n , o , a  .


The following transformations are performed:

1) Rotation of 900 about the z-axis.


2) Followed by a rotation of 900 about the y-axis.
3) Followed by a translation of [4,-3, 7],

Solve for the new coordinates of this point at the conclusions of these
transformations.

Industrial Robotics 15
a1
o2
o1
a2
n1
n2

1st translation 2nd translation

3rd translation

Industrial Robotics 16
Homogeneous Transformation Matrix

 Combined Transformation

Example 2:

A point in space P(7,3,2) is attached to the frame n , o , a .


The following transformations are performed:

1) A translation of [4, -3, 7],


2) Followed by a rotation of 900 about the y-axis
3) Rotation of 900 about the z-axis.

Solve for the new coordinates of this point at the conclusions of these
transformations.

Industrial Robotics 17
1st translation 2nd translation

3rd translation

Industrial Robotics 18
Transformation Relative to the Rotating Frame

Consider that the point is now subjected to similar transformation but


relative to the current moving frame.

1) Rotation of 90° about the a-axis.


2) Followed by a translation of [4, -3, 7] along axes n,o,a respectively.
3) Followed by a rotation of 900 about the o-axis.

- Construct the equations describing these motions.

- Solve for the new coordinates of this point at the conclusions


of these transformations.

Industrial Robotics 19
a2

o2
a1

n2
o1

n1

1st translation 2nd translation

o3

a3
n3

3rd translation

Industrial Robotics 20
Transformation Relative to the Rotating Frame

Consider that the point is now subjected to similar transformation but


relative to the current moving frame.

1) Followed by a rotation of 900 about the o-axis


2) Followed by a translation of [4, -3, 7] along axes n,o,a respectively.
3) Rotation of 90° about the a-axis..

- Construct the equations describing these motions.

- Solve for the new coordinates of this point at the conclusions


of these transformations.

Industrial Robotics 21
1st translation 2nd translation

3rd translation

Industrial Robotics 22
Transformation Relative to the Rotating Frame

A frame underwent the followings series of transformations:

i. Rotated 600 about the x-axis.


ii. Translated about the current a-axis by 3 cm.
iii. Rotated about the z-axis by 450..
iv. Translated about the current o-axis by 5 cm.

a) Construct the equations describing these motions.


b) Solve for the final position of a point initially at P(1,4,3), attached
to the frame relative to the reference frame.

Industrial Robotics 23
Inverse of Transformation Matrices

Therefore we need to get


the inverses of these
matrices!

Robotics and Automation 24


Inverse of Transformation Matrices

Example:

Solve for the inverse of the matrix representing Rot(x,50°)

1 0 0 0  
0 0.643  0.766  
0
  Rot x ,50    
1
Rot x ,50   ;
0 0.766 0.643 0   
   
0 0 0 1  

Industrial Robotics 25
Inverse of Transformation Matrices

Industrial Robotics 26
Inverse of Transformation Matrices

Industrial Robotics 27
FORWARD & INVERSE KINEMATICS

• Forward Kinematics

• Inverse Kinematics

Industrial Robotics 28
FORWARD & INVERSE KINEMATICS

• Forward Kinematics (angle to position)

• Inverse Kinematics (position to angle)

Industrial Robotics 29
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Position

 Cartesian Coordinates

 Cylindrical Coordinates

 Spherical Coordinates

 Articulated Coordinates

Industrial Robotics 30
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Position

 Cartesian Coordinates

Industrial Robotics 31
FORWARD & INVERSE KINEMATICS
Forward and Inverse Kinematic Eqns. for Position

 Cylindrical Coordinates

Industrial Robotics 32
FORWARD & INVERSE KINEMATICS
Forward and Inverse Kinematic Eqns. for Position

 Cylindrical Coordinates – Example

We desire to place the origin of the hand frame of a cylindrical


robot at [5,4,3]T. Calculate the joint variables of the robot.

Industrial Robotics 33
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Position

 Spherical Coordinates

Industrial Robotics 34
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Position

 Spherical Coordinates - Example

We desire to place the origin of the hand frame of a spherical


robot at [5,2,8]T. Calculate the joint variables of the robot.

Industrial Robotics 35
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Orientation

 Roll, Pitch, Yaw Angle (RPY)

 Euler Angles

 Articulated Joints

Industrial Robotics 36
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Orientation


 Roll, Pitch, Yaw Angle (RPY)

Industrial Robotics 37
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Orientation


 Roll, Pitch, Yaw Angle (RPY)

Industrial Robotics 38
FORWARD & INVERSE KINEMATICS
Forward and Inverse Kinematic Eqns. for Orientation
 Roll, Pitch, Yaw Angle (RPY) – Inverse Kinematics

Industrial Robotics 39
FORWARD & INVERSE KINEMATICS
Forward and Inverse Kinematic Eqns. for Orientation
 Roll, Pitch, Yaw Angle (RPY) – Example 2.16

Industrial Robotics 40
FORWARD & INVERSE KINEMATICS

Forward and Inverse Kinematic Eqns. for Orientation


 Roll, Pitch, Yaw Angle (RPY) – Example 2.17

Industrial Robotics 41

You might also like