linear and angular velocities 2/4 - ucla | bionics...

41
Linear and Angular Velocities 2/4 Instructor: Jacob Rosen Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Upload: others

Post on 13-Mar-2020

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Linear and Angular Velocities 2/4

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 2: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Jacobian Matrix - Calculation Methods

Jacobian Matrix

Differentiation the

Forward Kinematics Eqs. Iterative Propagation

(Velocities or Forces / Torques)

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 3: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Jacobian Matrix - Introduction

• In the field of robotics the Jacobian matrix

describe the relationship between the joint

angle rates ( ) and the translation and

rotation velocities of the end effector ( ).

This relationship is given by:

• In addition to the velocity relationship, we are

also interested in developing a relationship

between the robot joint torques ( ) and the

forces and moments ( ) at the robot end

effector (Static Conditions). This

relationship is given by:

N

x

Jx

F

F

FJT

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 4: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Velocity Propagation – Link / Joint Abstraction

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 5: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Velocity Propagation – Intuitive Explanation

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 6: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Velocity Propagation – Intuitive Explanation

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 7: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Central Topic -

Simultaneous Linear and Rotational Velocity

• Vector Form

• Matrix Form

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV B

A

Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Q

BP

) , , , ,( RVVPfV A

BB

A

BORG

A

Q

B

Q

B

Q

A

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 8: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Linear Velocity

• Linear velocity - The instantaneous rate of change in linear position of a point

relative to some frame.

Q

Q

AP

t

ttPtP

t

tPttPP

dt

dV

Q

A

Q

A

t

Q

A

Q

A

tQ

A

Q

A

)()(lim

)()(lim

00

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 9: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Linear Velocity

• The position of point Q in frame {A} is represented by the linear position vector

• The velocity of a point Q relative to frame {A} is represented by the linear

velocity vector

Qz

A

Qy

A

Qx

A

Qz

A

Qy

A

Qx

A

A

Q

A

P

P

P

P

P

P

dt

dV

Qz

A

Qy

A

Qx

A

Q

A

P

P

P

P

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 10: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Linear Velocity - Rigid Body

• Given: Consider a frame {B} attached

to a rigid body whereas frame {A} is

fixed. The orientation of frame {A}

with respect to frame {B} is not

changing as a function of time

• Problem: describe the motion of of

the vector relative to frame {A}

• Solution: Frame {B} is located

relative to frame {A} by a position

vector and the rotation matrix

(assume that the orientation is not

changing in time ) expressing

both components of the velocity in

terms of frame {A} gives

Q

BP

Q

BP

BORG

AP RA

B

0RA

B

Q

Q

BA

BBORG

A

Q

BA

BORG

A

Q

A VRVVVV )(

0RA

B

0RA

B

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 11: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Linear Velocity – Translation

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 12: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Linear Velocity – Translation

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 13: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Linear & Angular Velocities - Frames

• When describing the velocity (linear or angular) of an object, there are two

important frames that are being used:

– Represented Frame (Reference Frame) :

This is the frame used to represent (express) the object’s velocity.

– Computed Frame

This is the frame in which the velocity is measured (differentiate the position).

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 14: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Frame - Velocity

• As with any vector, a velocity vector may be described in terms of any frame,

and this frame of reference is noted with a leading superscript.

• A velocity vector computed in frame {B} and represented in frame {A} would be

written

Q

BA

Q

BA Pdt

dV )(

Computed

(Measured)

Represented

(Reference Frame)

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 15: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Frame - Linear Velocity

• We can always remove the outer, leading superscript by explicitly including the

rotation matrix which accomplishes the change in the reference frame

• Note that in the general case because may be

time-verging

• If the calculated velocity is written in terms of of the frame of differentiation the

result could be indicated by a single leading superscript.

• In a similar fashion when the angular velocity is expresses and measured as a

vector

Q

A

Q

AA VV )(

C

BA

BC

BA R )(

Q

BA

BQ

BA VRV )(

0RA

B

Q

A

Q

BA

BQ

BA VVRV )( RA

B

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 16: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Frames - Linear Velocity - Example

• Given: The driver of the car maintains a speed of 100 km/h (as shown to the

driver by the car’s speedometer).

• Problem: Express the velocities

in each section of the road A, B, C, D, E, F where {C} - Car frame, and

{W} - World frame

A B

E

D

C

F

{C}

y

x

{W}

y

x

C

CCV C

WWV C

CWV C

WCV

V

Object Frame

Represented

(Reference Frame)

Computed

(Measured)

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 17: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Frames - Linear Velocity - Example

100

0

0

),ˆ(

cs

sc

zRotRA

B

000.1000.0000.0

000.0707.0707.0

000.0707.0707.0

)45,ˆ( ozRot

000.1000.0000.0

000.0707.0707.0

000.0707.0707.0

)45,ˆ( ozRot

100

001

010

)90,ˆ( ozRot

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 18: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Frames - Linear Velocity - Example

• is not time-varying (in this example)

Q

BA

BQ

BA VRV )(

0RA

B

]0[]0[)( IVRV C

CC

CC

CC

C

WC

WC

WC VRV )(

C

W

C

WW

WC

WW VIVRV )(

]0[]0[)( RVRV W

CC

CW

CC

CW

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 19: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Frames - Linear Velocity - Example

Road Section Velocity

C

CCV C

WWV C

CWV C

WCV

A

B

C

D

E

F

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 20: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Linear Velocity - Free Vector

• Linear velocity vectors are insensitive to shifts in origin.

• Consider the following example:

• The velocity of the object in {C} relative to both {A} and {B} is the same, that is

• As long as {A} and {B} remain fixed relative to each other (translational but not

rotational), then the velocity vector remains unchanged (that is, a free vector).

{A} {B}

{C}

C

B

C

A VV

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 21: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Rigid Body

Q

Q

BP

• Given: Consider a frame {B} attached

to a rigid body whereas frame {A} is

fixed. The vector is constant as

view from frame {B}

• Problem: describe the velocity of the

vector representing the the point

Q relative to frame {A}

• Solution: Even though the vector

is constant as view from frame {B} it

is clear that point Q will have a

velocity as seen from frame {A} due

to the rotational velocity

Q

BP

0Q

BV

0Q

BV

Q

BP

Q

BP

B

A 0BORG

AV

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 22: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Rigid Body - Intuitive Approach

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 23: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Rigid Body - Intuitive Approach

• The figure shows to instants of time

as the vector rotates around

This is what an observer in frame {A}

would observe.

• The Magnitude of the differential

change is

• Using a vector cross product we get

B

A

sinQ

A

B

A

Q

A PtP

Q

A

B

A

Q

AQ

A

PVt

P

)(tPQ

A

)( ttPQ

A

sinQ

AP

Q

AP

Q

AP

sinQ

AP

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 24: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Rigid Body - Intuitive Approach

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 25: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Rigid Body - Intuitive Approach

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

• Rotation in 2D

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 26: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Rigid Body - Intuitive Approach

• In the general case, the vector Q may also be changing with respect to the

frame {B}. Adding this component we get.

• Using the rotation matrix to remove the dual-superscript, and since the

description of at any instance is we get

Q

A

B

A

Q

BA

Q

A PVV

Q

BA

BB

A

Q

BA

BQ

A PRVRV

Q

APQ

BA

B PR

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 27: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Angular Velocity

• Angular Velocity: The instantaneous rate of change in the orientation of one

frame relative to another.

Angular Velocity

Linear Velocity

Point - 1D

Plane - 2D / Body - 3D

Plane - 2D / Body - 3D

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 28: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Angular Velocity

• Just as there are many ways to represent orientation (Euler Angles, Roll-Pitch-

Yaw Angles, Rotation Matrices, etc.) there are also many ways to represent the

rate of change in orientation.

• The angular velocity vector is convenient to use because it has an easy to grasp

physical meaning. However, the matrix form is useful when performing

algebraic manipulations.

Angular Velocity

Representation

Angular Velocity

Vector

Angular Velocity

Matrix

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 29: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Angular Velocity - Vector

• Angular Velocity Vector: A vector whose direction is the instantaneous axis of

rotation of one frame relative to another and whose magnitude is the rate of

rotation about that axis.

• The angular velocity vector describes the instantaneous change of

rotation of frame {B} relative to frame {A}

z

y

x

B

A

B

A

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 30: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Angular Velocity - Matrix

• The rotation matrix ( ) defines the orientation of frame {B} relative to frame

{A}. Specifically, the columns of are the unit vectors of {B} represented in

{A}.

• If we look at the derivative of the rotation matrix, the columns will be the velocity

of each unit vector of {B} relative to {A}:

RA

BRA

B

z

B

y

B

x

B

A

A

B PPPR

z

B

y

B

x

B

A

A

B

A

B VVVRdt

dR

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 31: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Definitions - Angular Velocity - Matrix

• The relationship between the rotation matrix and the derivative of the

rotation matrix can be expressed as follows:

• where is defined as the angular velocity matrix

RA

B

RA

B

z

B

y

B

x

B

A

A

Bz

B

y

B

x

B

A

PPPRVVV

0

0

0

xy

xz

yz

A

B R

RA

B

z

y

x

B

A

RRR A

B

A

B

A

B

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 32: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Angular Velocity - Matrix & Vector Forms

Matrix Form Vector Form

Definition

Multiply by Constant

Multiply by Vector

Multiply by Matrix

0

0

0

xy

xz

yz

A

B R

z

y

x

B

A

Rk A

B B

Ak

z

y

x

RA

B

z

y

x

B

A

Ts

t

A

B

s

t RRR B

As

tR

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 33: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Simultaneous Linear and Rotational Velocity -

Vector Versus Matrix Representation

Vector Form Matrix Form

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

)()()( xyyxxzzxyzzy

zyx

zyx PPkPPjPPi

PPP

kji

P

yxxy

zxxz

zyyz

z

y

x

xy

xz

yz

PP

PP

PP

P

P

P

PR

0

0

0

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 34: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Simultaneous Linear and Rotational Velocity

• The final results for the derivative of a vector in a moving frame (linear and

rotation velocities) as seen from a stationary frame

• Vector Form

• Matrix Form

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV B

A

Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Q

BP

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 35: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Changing Frame of Representation - Linear Velocity

• We have already used the homogeneous

transform matrix to compute the location of

position vectors in other frames:

• To compute the relationship between

velocity vectors in different frames, we will

take the derivative:

Q

BA

BQ

A PTP B

A

Q

BA

BQ

A PTdt

dP

dt

d

Q

BA

BQ

BA

BQ

A PTPTP

Q

BP

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 36: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Changing Frame of Representation - Linear Velocity

• Recall that

• so that the derivative is

1000

orgB

AA

BA

B

PRT

000000001000

orgB

AA

B

A

BorgB

AA

BorgB

AA

BA

B

VRRPRPR

dt

dT

Q

BA

BQ

BA

BQ

A PTPTP

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 37: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Changing Frame of Representation - Linear Velocity

• Substitute the previous results into the original equation

we get

• This expression is equivalent to the following three-part expression:

0000

orgB

AA

B

A

BA

B

VRRT

Q

BA

BQ

BA

BQ

A PTPTP

01000100000

Q

B

orgB

AA

BQ

B

orgB

AA

B

A

BQ

A VPRPVRRV

Q

BA

BQ

BA

BQ

A PTPTP

Q

BA

BorgB

A

Q

BA

B

A

BQ

A VRVPRRV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 38: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Changing Frame of Representation - Linear Velocity

• Converting from matrix to vector form yields

Q

BA

BorgB

A

Q

BA

B

A

BQ

A VRVPRRV

Q

BA

BorgB

A

Q

BA

BB

A

Q

A VRVPRV

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 39: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Changing Frame of Representation - Angular Velocity

• We use rotation matrices to represent angular position so that we can compute the

angular position of {C} in {A} if we know the angular position of {C} in {B} and {B} in

{A} by

• To derive the relationship describing how angular velocity propagates between

frames, we will take the derivative

• Substituting the angular velocity matrixes

• we find

RRR B

C

A

B

A

C

RRRRR B

C

A

B

B

C

A

B

A

C

RRRRRRRR B

C

B

C

A

B

B

C

A

B

A

B

A

C

A

C

RRR A

B

A

B

A

B

RRRRRRR B

C

B

C

A

B

A

C

A

B

A

C

A

C

RRR B

C

B

C

B

C RRR A

C

A

C

A

C

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 40: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Changing Frame of Representation - Angular Velocity

• Post-multiplying both sides by ,which for rotation matrices, is equivalent to

• The above equation provides the relationship for changing the frame of

representation of angular velocity matrices.

• The vector form is given by

• To summarize, the angular velocities of frames may be added as long as they

are expressed in the same frame.

TA

B

B

C

A

B

A

B

A

C RRRRR

TA

C R 1RA

C

TA

C

B

C

B

C

A

B

TA

C

A

C

A

B

TA

C

A

C

A

C RRRRRRRRRR

C

BA

BB

A

C

A R

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 41: Linear and Angular Velocities 2/4 - UCLA | Bionics Labbionics.seas.ucla.edu/education/MAE_263D/MAE_263D_C06_V01.pdf · Linear and Angular Velocities 2/4 Instructor: Jacob Rosen

Summary – Changing Frame of Representation

• Linear and Rotational Velocity

– Vector Form

– Matrix Form

• Angular Velocity

– Vector Form

– Matrix Form

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV

B

A

Q

BA

B

A

BQ

BA

BBORG

A

Q

A PRRVRVV

Q

BP

TA

B

B

C

A

B

A

B

A

C RRRRR

C

BA

BB

A

C

A R

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA