3-d kinematics

36
3-D Kinematics

Upload: kiana

Post on 09-Jan-2016

43 views

Category:

Documents


2 download

DESCRIPTION

3-D Kinematics. Position and Orientation of a Rigid Body. Position and Orientation of a Rigid Body. The position of origin O’ with respect to O-xyz is expressed by the relation. The component of each unit vector are the direction cosines of the axes of frame O’-x’y’z’. Rotation Matrix. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 3-D Kinematics

3-D Kinematics

Page 2: 3-D Kinematics

Position and Orientation of a Rigid BodyPosition and Orientation of a Rigid Body

Page 3: 3-D Kinematics

Position and Orientation of a Rigid BodyPosition and Orientation of a Rigid Body

The component of each unit vector are the direction cosines of the axes of frame O’-x’y’z’

The position of origin O’ with respect to O-xyz is expressed by the relation

Page 4: 3-D Kinematics

Rotation MatrixRotation Matrix

Orientation can be described by rotation matrix

R is orthogonal matrix

Page 5: 3-D Kinematics

Elementary RotationsElementary Rotations

Rotation by an angle about axis z

Page 6: 3-D Kinematics

Elementary RotationsElementary Rotations

Rotation by an angle about axis y

Rotation by an angle about axis x

Page 7: 3-D Kinematics

Representation of a VectorRepresentation of a Vector

Page 8: 3-D Kinematics

Representation of a VectorRepresentation of a Vector

Representation of p w.r.t O-xyz

Representation of p w.r.t O-x’y’z’

Page 9: 3-D Kinematics

Rotation of a VectorRotation of a Vector

Page 10: 3-D Kinematics

Equivalent Geometrical Meaningsof Rotation Matrix

Equivalent Geometrical Meaningsof Rotation Matrix

Page 11: 3-D Kinematics

Composition of Rotation MatricesComposition of Rotation Matrices

Let Rij denote the rotation matrix of Frame i with respect to Frame j

Post-multiplication interpretation

Refer to current frame

Pre-multiplication interpretation

Refer to fixed frame

1112

01

0 nn

iin RRRRR

Page 12: 3-D Kinematics

Euler AnglesEuler Angles

Minimal representation of orientation

Three parameters are sufficient

Euler Angles

Two successive rotations are not made about parallel axes

How many kinds of Euler angles are there?

][

Page 13: 3-D Kinematics

ZYZ AnglesZYZ Angles

The rotation described by ZYZ angles is

Page 14: 3-D Kinematics

ZYZ AnglesZYZ Angles

Page 15: 3-D Kinematics

ZYZ AnglesZYZ Angles

The rotation matrix is

Page 16: 3-D Kinematics

ZYZ AnglesZYZ Angles

Inverse problem: determine the Euler angles corresponding to a given rotation matrix

Solution 1: theta is in the range (0, pi)

Page 17: 3-D Kinematics

ZYZ AnglesZYZ Angles

y=1 x=1;

y=-1 x=1;

y=1 x=-1;

y=-1 x=-1;

Page 18: 3-D Kinematics

ZYZ AnglesZYZ Angles

Solution 1: theta is in the range (0, pi)

Page 19: 3-D Kinematics

ZYZ AnglesZYZ Angles

Solution 1: theta is in the range (0, pi)

Page 20: 3-D Kinematics

ZYZ AnglesZYZ Angles

Solution 2: theta is in the range (-pi, 0)

Page 21: 3-D Kinematics

ZYZ AnglesZYZ Angles

Solution 2: theta is in the range (-pi, 0)

Page 22: 3-D Kinematics

ZYZ AnglesZYZ Angles

Solution 2: theta is in the range (-pi, 0)

Page 23: 3-D Kinematics

ZYZ AnglesZYZ Angles

What will happen if sin(theta) = 0?

Matlab: eul2tr, tr2eul

Page 24: 3-D Kinematics

Roll-Pitch-Yaw AnglesRoll-Pitch-Yaw Angles

Originate from (aero)nautical field

Page 25: 3-D Kinematics

Roll-Pitch-Yaw AnglesRoll-Pitch-Yaw Angles

MATLAB: QUATDEMO

Page 26: 3-D Kinematics

The rotation matrix is

Roll-Pitch-Yaw AnglesRoll-Pitch-Yaw Angles

Page 27: 3-D Kinematics

Inverse problem: determine the Euler angles corresponding to a given rotation matrix

Solution 1: theta is in the range (-pi/2, pi/2)

Roll-Pitch-Yaw AnglesRoll-Pitch-Yaw Angles

Page 28: 3-D Kinematics

Solution 2: theta is in the range (pi/2, 3pi/2)

Roll-Pitch-Yaw AnglesRoll-Pitch-Yaw Angles

Page 29: 3-D Kinematics

What will happen if cos(theta) = 0?

Matlab: rpy2tr, tr2rpy

Roll-Pitch-Yaw AnglesRoll-Pitch-Yaw Angles

Page 30: 3-D Kinematics

Non-minimal representation: four parameters

The unit vector of a rotation axis w.r.t O-xyz

The angle theta about the axis

Matlab: quatdemo

Angle and AxisAngle and Axis

Page 31: 3-D Kinematics

Angle and AxisAngle and Axis

•Align r with z

•Rotate by theta about z

•Realign with the initial direction of r

Attention: always refer to the fixed frame

Page 32: 3-D Kinematics

Angle and AxisAngle and Axis

The resulting rotation matrix is

Page 33: 3-D Kinematics

Angle and AxisAngle and Axis

The inverse problem

Remember: the three component of r is not independent

Page 34: 3-D Kinematics

Angle and AxisAngle and Axis

Problems:

solution is not unique

r is arbitrary when theta = 0

Page 35: 3-D Kinematics

Unit QuaternionUnit Quaternion

Unit quaternion is defined as

Page 36: 3-D Kinematics

Unit QuaternionUnit Quaternion

Inverse problem:

Matlab:quaternion, plot, quaternion.t