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

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

Upload: others

Post on 17-Jan-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 Lab

Jacobian Matrix - Calculation Methods

Jacobian Matrix

Explicit Derivation

Differentiation the

Forward Kinematics Eqs.

Iterative Propagation

(Velocities or Forces / Torques)

Instructor: Jacob Rosen

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

Velocities

Propagation

Forces / Torques

Propagation

Page 3: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 Lab

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 Lab

Velocity Propagation – Intuitive Explanation

• Show a demo with the stick like frames

• Three Actions

– The origin of frame B moves as a function of time with respect to the origin

of frame A

– Point Q moves with respect to frame B

– Frame B rotates with respect to frame A along an axis defined by

Instructor: Jacob Rosen

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

B

A

Page 6: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 Lab

Central Topic -

Simultaneous Linear and Rotational Velocity

• Vector Form (Method No. 1)

• Matrix Form (Method No. 2)

• Matrix Formulation – Homogeneous

Transformation Form – Method No. 3

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

01000100000

Q

B

orgB

AA

BQ

B

orgB

AA

B

A

BQ

A VPRPVRRV

Page 8: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

• Angular Velocity Representation in

Various Frames

– Vector Form

– Matrix Form

Central Topic -

Changing Frame of Representation – Angular Velocity

B

A

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

Page 9: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Velocity – Derivation Method No. 1 & 2

Vector Form

Matrix Form

Instructor: Jacob Rosen

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

Page 10: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Definitions - Linear Velocity

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

relative to some frame.

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 11: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 12: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 13: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

BORG

AP RA

B

0RA

B

Q

BA

BBORG

A

Q

BA

BORG

A

Q

A VRVVVV )(

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 14: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 15: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Linear Velocity – Translation (No Rotation)

Instructor: Jacob Rosen

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

Page 16: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Linear Velocity – Translation

Instructor: Jacob Rosen

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

Page 17: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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) : e.g. [A]

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

– Computed Frame: e.g. [B]

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 18: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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) - Differentiate with respect to

Represented

(Reference Frame) -– Projected on

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 Lab

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 20: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frame - Linear Velocity

Instructor: Jacob Rosen

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

QV

Object Frame

Represented

(Reference Frame) – Projected on

Computed

(Measured / Differentiate with respect to)

Page 21: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

• 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

Frames - Linear Velocity - Example

AB

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 22: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frames - Linear Velocity - Example

Models of Robot Manipulation - EE 543 - Department of Electrical Engineering - University of Washington

AB

E

D

C

F

Page 23: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

100

001

010

)90,ˆ( ozRot

Page 24: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frames - Linear Velocity - Example

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 Lab

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 26: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frames - Linear Velocity - Example

Road Section Velocity

C

CCV C

WWV C

CWV C

WCV

A

B

C

D

E

F

Instructor: Jacob Rosen

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

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

Page 27: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frames - Linear Velocity - Example

Road Section Velocity

C

CCV C

WWV C

CWV C

WCV

A

B

C

D

E

F

Instructor: Jacob Rosen

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

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

Page 28: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frames - Linear Velocity - Example

Road Section Velocity

C

CCV C

WWV C

CWV C

WCV

A

B

C

D

E

F

Instructor: Jacob Rosen

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

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

Page 29: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Frames - Linear Velocity - Example

Road Section Velocity

C

CCV C

WWV C

CWV C

WCV

A

B

C

D

E

F

Instructor: Jacob Rosen

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

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

Page 30: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

A B

E

D

C

Page 31: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 32: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

Q

BA

BB

A

Q

BA

BBORG

A

Q

A PRVRVV

Page 33: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 34: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 35: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 36: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 37: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 38: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 39: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

VectorAngular 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 40: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 41: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Definitions - Angular Velocity - Matrix

• 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 42: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

B

RA

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 43: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 44: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 45: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 46: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 47: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Velocity – Derivation Method No. 3

Homogeneous Transformation Form

Instructor: Jacob Rosen

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

Page 48: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 49: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 50: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 51: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 52: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Angular Velocity –

Changing Frame of Representation

Instructor: Jacob Rosen

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

Page 53: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

Angular Velocity

• Frame {C} is rotated around frame {B} by

• Frame {B} is rotated around frame {A} by

• Given

• Find

Instructor: Jacob Rosen

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

C

BA

BB

A

C

A R TA

B

B

C

A

B

A

B

A

C RRRRR

C

B

B

A

C

B B

A

C

A

Page 54: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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

C

BA

BB

A

C

A R TA

B

B

C

A

B

A

B

A

C RRRRR

Page 55: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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 56: Linear and Angular Velocities 2/4 - UCLA | Bionics Lab

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