2 coordinate systems

5
 Coordinate syste ms_ver01.doc 1 Politecnico d i Tor ino - Dipartimento di Meccanica  Stefano Pastorelli  POSITION and ORIENTATI ON of COORDINATE SYSTEMS Frame of reference 0 : origin O axes x y z unit vectors k  j i  Frame of reference i : origin P axes u v w unit vectors      Position of origin P with respect to the reference frame O-xyz  Position vector  written in terms of its components p  x , p  y ,  p  z : k  p  j  p i  p  p  z  y  x    z  y  x  p  p  p  p 0   Orientation  of the reference frame P-uvw with respect to the reference frame O-xyz Units vectors pointing along axes u, v, w written in terms o f their components: k c  j c i c uz uy ux     k c  j c i c vz vy vx     k c  j c i c wz wy wx     c ux , ... c wz  = direction cosines of the axes u, v, w with respect to the f rame O-xyz conditions: 1   ( 1 2 2 2 uz uy ux c c c ); 1  ; 1   0    ( 0 vz uz vy uy vx ux c c c c c c ); 0   ; 0     Rotation matrix of reference frame i (P-uvw) with respect to the refere nce frame 0 (O-xyz): wz vz uz wy vy uy wx vx ux i c c c c c c c c c  A     0 0 0 0 O y z u v w P x  p  

Upload: mirko-pesce

Post on 13-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

7/27/2019 2 Coordinate Systems

http://slidepdf.com/reader/full/2-coordinate-systems 1/5

 

Coordinate systems_ver01.doc 1

Politecnico di Torino - Dipartimento di Meccanica  Stefano Pastorelli 

POSITION and ORIENTATION of COORDINATE SYSTEMS

Frame of reference 0 : origin O

axes x y z

unit vectors k  ji  

Frame of reference i : origin P

axes u v w

unit vectors      

 Position of origin P with respect to the reference frame O-xyz

 Position vector  written in terms of its components p x, p y, p z :

k  p j pi p p  z  y x    

 z 

 y

 x

 p

 p

 p

 p0

 

 Orientation of the reference frame P-uvw with respect to the reference frame O-xyz

Units vectors pointing along axes u, v, w written in terms of their components:

k c jcic uz uyux      

k c jcic vz vyvx      

k c jcic wz wywx      

cux, ... cwz  = direction cosines of the axes u, v, w with respect to the frame O-xyz

conditions: 1   ( 1222 uz uyux ccc ); 1  ; 1   

0    ( 0 vz uz vyuyvxux cccccc ); 0   ; 0    

 Rotation matrix of reference frame i (P-uvw) with respect to the reference frame 0 (O-xyz):

wz vz uz 

wyvyuy

wxvxux

i

cccccc

ccc

 A      0000

Oy

z

u

vw

P

x

 p 

7/27/2019 2 Coordinate Systems

http://slidepdf.com/reader/full/2-coordinate-systems 2/5

 

Coordinate systems_ver01.doc 2

Politecnico di Torino - Dipartimento di Meccanica  Stefano Pastorelli 

 Orientation of the reference frame O-xyz with respect to the reference frame P-uvw

 Rotation matrix of reference frame 0 (O-xyz) with respect to the reference frame i (P-uvw):

100

0

0

0

0

i

i

wz wywx

vz vyvx

uz uyux

iiii  A A

ccc

ccc

ccc

k  ji A

 

 

 

 

 Position vector of a point R in two different coordinate systems with coincident origins

 position vector of point R in the frame 0 (O-xyz): T  z  y x r r r r  0

 

 position vector of point R in the frame i (P-uvw): T wvu

ir r r r    

k c jcicr k c jcicr k c jcicr r r r r  wz wywxwvz vyvxvuz uyuxuwvu          

r  Ar i

i 00 

r  Ar  ii 0

0  

i A0  = 3  3 transformation matrix of a vector from reference frame i to reference frame 0.

Oy

z

u

vw

P

x

 p 

OPy

z

u

vw

x

R

r  

7/27/2019 2 Coordinate Systems

http://slidepdf.com/reader/full/2-coordinate-systems 3/5

 

Coordinate systems_ver01.doc 3

Politecnico di Torino - Dipartimento di Meccanica  Stefano Pastorelli 

 Position vector of a point R in two different coordinate systems

with homogenous coordinates notation 

 position vector of point R in the frame 0 (O-xyz): T  z  y x r r r r  0

 

 position vector of point R in the frame i (P-uvw): T wvu

ir r r r    

 PROP OR    

r  A  p r i

i 000 

wwz vvz uuz  z  z 

wwyvvyuuy y y

wwxvvxuux x x

r cr cr c pr 

r cr cr c pr 

r cr cr c pr 

 

Homogenous coordinates notation:

110110001

00

w

v

u

i

w

v

u

 z wz vz uz 

 ywyvyuy

 xwxvxux

 z 

 y

 x

 p A

 pccc

 pccc

 pccc

 

r  Ar  i

i  ˆˆ ˆ

00  

i A0   = 4   4 homogeneous transformation matrix; it denotes translation and rotation of

reference frame i with respect to reference frame 0; it transforms a position vector from

reference frame i to reference frame 0.

Oy

z

u

vw

P

x

 p 

R

r i

 

r 0

 

7/27/2019 2 Coordinate Systems

http://slidepdf.com/reader/full/2-coordinate-systems 4/5

 

Coordinate systems_ver01.doc 4

Politecnico di Torino - Dipartimento di Meccanica  Stefano Pastorelli 

 Inverse of the transformation matrixi A0  

i A0 = transformation matrix of reference frame i with respect to reference frame 0 

r  Ar  i

i  ˆˆˆ

00     r  Ar  Ar  i

i

iˆˆˆˆˆ

0

0

010    

0

ˆ Ai = transformation matrix of reference frame 0 with respect to reference frame i 

ii

i  A A A   ˆˆˆ 010

0     

 

10

ˆˆ

000

10

0

i

i

i

i p A A

 A A  

Evaluation of the inverse matrix 10 ˆ i A  from the matrix

i A0 :

10

0

1010

ˆˆ 21

00

100

T T T 

i

ii

U  x X  p A A A  

U  X  Ai   1

0    T 

ii  A A X  010

1     

0 p x Ai   0

2

0      p A p A xT 

ii

00010

2     

O

z

u

vw

P

x

 p 

R

i

 

r 0

 

7/27/2019 2 Coordinate Systems

http://slidepdf.com/reader/full/2-coordinate-systems 5/5

 

Coordinate systems_ver01.doc 5

Politecnico di Torino - Dipartimento di Meccanica  Stefano Pastorelli 

 Composition of homogeneous transformation matrixes in a multiframe system

r  A... A Ar  n

n

nˆˆˆˆˆ

1

2

1

1

00

   

ni

i

i

i

n  A A1

10 ˆˆ