Sei sulla pagina 1di 61

RIGID MOTIONS AND HOMOGENEOUS TRANSFORMATIONS

Homogeneous transformations : This combine the operations of rotation and


translation into a single matrix multiplication to
derive the forward kinematic equations of rigid
manipulators.

05-02-2015

Kumar Mayank

REPRESENTING POSITIONS
Synthetic approach
One reasons directly about geometric entities (e.g., points or
lines)
Analytic approach
Represents these entities using coordinates or equations, and
reasoning is performed via algebraic manipulations

05-02-2015

Kumar Mayank

Figure: Two coordinate frames, a point p, and


two vectors v1 and v2.
Inferences from synthetic approach
x0 is perpendicular to y0
v1v2 defines a vector that is
perpendicular to the plane containing v1
and v2

05-02-2015

Kumar Mayank

REPRESENTING ROTATIONS
Rotation matrix (rotation in the plane)

where

are the coordinates in frame

05-02-2015

Kumar Mayank

Alternative Approach to represent ROTATIONS


Since dot product of two unit vectors gives the projection of one onto
the other. Therefore
dot product of two unit vectors
====================

05-02-2015

Kumar Mayank

Columns represents the Direction cosines of the coordinate axes


This means that direction of x1 relative to the
frame o0x0y0
To describe the orientation of frame o0x0y0 with respect to the frame o1x1y1

05-02-2015

Kumar Mayank

Prove that are of unit length and mutually


orthogonal (det = 1)
Hence they are also referred to as Special Orthogonal SO(n) group of
order n.

05-02-2015

Kumar Mayank

Rotations in three dimensions

05-02-2015

Kumar Mayank

Rotation about z0 by an angle theta

05-02-2015

Kumar Mayank

Basic Rotation Matrices


From now onwards we will define

as

Prove the following properties of the Basic Rotation Matrices

05-02-2015

Kumar Mayank

10

Basic rotation matrices representing rotations


about the X axes and Y axes respectively

Note: Please note the difference (-sin term) in the column of the Basic
rotation matrix about Y axes
05-02-2015

Kumar Mayank

11

Problem

05-02-2015

Kumar Mayank

12

ROTATIONAL TRANSFORMATIONS
Consider a rigid object S to which a coordinate frame o1x1y1z1 is attached

Let the coordinates of point p with respect to the frame o1x1y1z1 P1


Let the coordinates of

satisfy the equation

To obtain an expression for the coordinates p0 by projecting the point p onto


the coordinate axes of the frame o0x0y0z0

05-02-2015

Kumar Mayank

13

05-02-2015

Kumar Mayank

14

05-02-2015

Kumar Mayank

15

05-02-2015

Kumar Mayank

16

Similarity Transformations
It is the matrix representation of a general linear transformation is transformed from one frame to another
For example, if A is the matrix representation of a given linear transformation in o0x0y0z0 and B is the representation of
the same linear transformation in o1x1y1z1 then A and B are related as

Suppose frames o0x0y0z0 and o1x1y1z1 are related by the rotation(This can be also
analysed in terms of coordinate transformation between frames)

Let B is a rotation about the z0-axis but expressed relative to the frame o1x1y1z1

05-02-2015

Kumar Mayank

17

COMPOSITION
OF
ROTATIONS
Rotation with respect to the current frame

Rotation with respect to the fixed frame

05-02-2015

Kumar Mayank

18

COMPOSITION OF ROTATIONS
Rotation with respect to the current frame

Consider a third coordinate frame o2x2y2z2 related to the frames o0x0y0z0 and o1x1y1z1 by rotational transformations

Where p0, p1, p2 are the represented by coordinates


specified with respect to any of these three frames o0x0y0z0, o1x1y1z1, o2x2y2z2

05-02-2015

Kumar Mayank

19

Example

05-02-2015

Kumar Mayank

Please Note : Rotational transformations do


not commute(multiplication of matrices are not
20
commutative.)

Proof of Rotational transformations do not commute

05-02-2015

Kumar Mayank

21

Problem

05-02-2015

Kumar Mayank

22

Problem

05-02-2015

Kumar Mayank

23

Rotation with respect to the fixed frame


In this case is simply to multiply the successive rotation matrices in the reverse order

05-02-2015

Kumar Mayank

24

Rotation with respect to the fixed frame

05-02-2015

Kumar Mayank

25

Problem

05-02-2015

Kumar Mayank

26

Example of Rotation about Current/Fixed Axes

05-02-2015

Kumar Mayank

27

PARAMETERIZATIONS OF ROTATIONS

Euler angle representation


Roll-pitch-yaw representation
Axis/angle representation.

05-02-2015

Kumar Mayank

28

PARAMETERIZATIONS OF ROTATIONS
Since columns of a rotation matrix are unit vectors

Where rij are the 9 elements in a general rotational transformation R


Also columns of a rotation matrix are mutually orthogonal

These constraints define six independent equations with nine unknowns(9 elements), which implies that there
are three free variables

05-02-2015

Kumar Mayank

29

Euler Angles
Eulers rotation theorem requires successive rotation about three axes such that no two successive
rotations are about the same axis. There are two classes of rotation sequence: Eulerian and
Cardanian, named after Euler and Cardano respectively(All in all there are 12 possibilities)
Eulerian type involves
repetition, but not successive,
of rotations about one particular
axis:

The Cardanian type is characterized


by rotations about all three axes:

XYX
XZX
YXY
YZY
ZXZ
ZYZ

XYZ
XZY
YZX
YXZ
ZXY
ZYX

05-02-2015

The ZYZ sequence

Kumar Mayank

30

Euler Angles
Method of specifying a rotation matrix in terms of three independent quantities

First rotate about the z-axis by the angle Phi .


Next rotate about the current y-axis by the angle Theta.
Finally rotate about the current z-axis Psi by the angle .
05-02-2015

Kumar Mayank

31

Z Y Z-Euler Angle Transformation

05-02-2015

Kumar Mayank

32

Problem:
Where

CASE 1:
First, suppose that not both of r13, r23 are zero

If not both of r13, r23 are zero then

05-02-2015

(property of rotational matrix that det(R)=1)

Kumar Mayank

33

Where

For eqn 2.29

05-02-2015

For eqn 2.30

Kumar Mayank

34

Trigonometry Basics Atan(x,y)


The function = Atan(x, y) computes the arc tangent function, where x and y are the cosine and sine,
respectively, of the angle theta
computes the arc tangent function is defined for all (x,y) not equal to (0,0)
This function uses the signs of x and y to select the appropriate quadrant for the angle .

Note that if both x and y are zero, Atan is undefined

05-02-2015

Kumar Mayank

35

CASE 2:

05-02-2015

Kumar Mayank

36

05-02-2015

Kumar Mayank

37

Roll(x0), Pitch(y0), Yaw(z0) Angles


Yaw about x0 through an angle Psi ,
Pitch about the y0 by an angle theta,
Roll about the z0 by an angle Phi.
As successive rotations are relative to
the fixed frame(Please mind the matrix multiplication,
since w.r.t FIXED FRAME so premultipication done in
this case), the resulting transformation matrix is given by

05-02-2015

Kumar Mayank

38

Axis/Angle Representation
Let

Rotation about an arbitrary axis in space


Method: Define the vector
k along the z-axis
be a unit vector defining an axis in any arbitrary frame. following the rotational
transformation
representing a rotation of angle theta about this K axis.

Rotation about the axis k can be computed using a similarity transformation as


Let

representing a rotation of theta about this axis

05-02-2015

Kumar Mayank

39

Axis/Angle Representation

Given an arbitrary rotation matrix R with components rij , the equivalent angle theta and equivalent axis k are
given by the expressions
where Tr denotes the trace of R
Note: Trace of a matrix = Sum of the
diagonal elements of the matrix.

05-02-2015

Kumar Mayank

40

Prove that if Theta= 0 then R is the identity


matrix and the axis of rotation is undefined.

05-02-2015

Kumar Mayank

41

Problem

05-02-2015

Kumar Mayank

42

Problem

05-02-2015

Kumar Mayank

43

RIGID MOTIONS
A rigid motion is a pure translation together with a pure rotation.

05-02-2015

Kumar Mayank

44

HOMOGENEOUS TRANSFORMATIONS
Rigid motions can be represented in matrix form so that composition of rigid motions can be reduced to matrix
multiplication as was the case for composition of rotations

05-02-2015

Kumar Mayank

45

HOMOGENEOUS TRANSFORMATIONS (Cont.)

05-02-2015

Kumar Mayank

46

Translation and Rotation about the x, y, z-axes


respectively

05-02-2015

Kumar Mayank

47

05-02-2015

Kumar Mayank

48

Problem

05-02-2015

Kumar Mayank

49

05-02-2015

Kumar Mayank

50

Assignment (Last Submission date 10/02/2015)

05-02-2015

Kumar Mayank

51

Quaternion(denoted by letter Q)
Fundamental formula of quaternion algebra

Basic Properties of a Quaternion:


Quaternions are not commutative
They are associative
Quaternion can also be written as a linear combination

multiplication table

05-02-2015

Kumar Mayank

52

Quaternions can also be represented using the


complex (2 * 2) matrices

05-02-2015

Kumar Mayank

53

Quaternions can also be represented using the


complex (4 * 4) matrices

05-02-2015

Kumar Mayank

54

Algebraic operations on Quaternions

05-02-2015

Kumar Mayank

55

Algebraic operations on Quaternions(Cont..)

05-02-2015

Kumar Mayank

56

Problem

05-02-2015

Kumar Mayank

57

05-02-2015

Kumar Mayank

58

05-02-2015

Kumar Mayank

59

05-02-2015

Kumar Mayank

60

05-02-2015

Kumar Mayank

61

Potrebbero piacerti anche