Top Banner
What is Kinematic s
54

What is Kinematics. Kinematics studies the motion of bodies.

Dec 13, 2015

Download

Documents

Spencer Allison
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What is Kinematics. Kinematics studies the motion of bodies.

What is Kinematics

Page 2: What is Kinematics. Kinematics studies the motion of bodies.

Kinematics studies the motion of bodies

Page 3: What is Kinematics. Kinematics studies the motion of bodies.

Joints for Robots

Page 4: What is Kinematics. Kinematics studies the motion of bodies.

An Example - The PUMA 560

The PUMA 560 has SIX revolute jointsA revolute joint has ONE degree of freedom ( 1 DOF) that is defined by its angle

1

23

4

There are two more joints on the end effector (the gripper)

Concepts:- Revolute joint- DOF

Page 5: What is Kinematics. Kinematics studies the motion of bodies.

Other basic joints

Spherical Joint3 DOF ( Variables - 1, 2, 3)

Revolute Joint1 DOF ( Variable - )

Prismatic Joint1 DOF (linear) (Variables - d)

Concepts:- Prismatic joint- Spherical joint

Page 6: What is Kinematics. Kinematics studies the motion of bodies.

We are interested in two kinematics topics

Forward Kinematics (angles to position)What you are given: The length of each link

The angle of each joint

What you can find: The position of any point (i.e. it’s (x, y, z) coordinates

Inverse Kinematics (position to angles)What you are given: The length of each link

The position of some point on the robot

What you can find: The angles of each joint needed to obtain that position

Concepts:- Forward Kinematics- Inverse Kinematics

Page 7: What is Kinematics. Kinematics studies the motion of bodies.

Math Review

Page 8: What is Kinematics. Kinematics studies the motion of bodies.

Review of Vectors and

Matrices

Page 9: What is Kinematics. Kinematics studies the motion of bodies.
Page 10: What is Kinematics. Kinematics studies the motion of bodies.
Page 11: What is Kinematics. Kinematics studies the motion of bodies.
Page 12: What is Kinematics. Kinematics studies the motion of bodies.

Dot Product and Unit VectorDot Product: Geometric Representation:

A

cosθBABA

Unit VectorVector in the direction of a chosen vector but whose magnitude is 1.

B

BuB

y

x

a

a

y

x

b

b

Matrix Representation:

yyxxy

x

y

xbaba

b

b

a

aBA

B

BuConcepts:- Dot Product- Unit Vector

Page 13: What is Kinematics. Kinematics studies the motion of bodies.

More on Dot Product

Page 14: What is Kinematics. Kinematics studies the motion of bodies.
Page 15: What is Kinematics. Kinematics studies the motion of bodies.

Review of Matrices

Page 16: What is Kinematics. Kinematics studies the motion of bodies.
Page 17: What is Kinematics. Kinematics studies the motion of bodies.

Quick Matrix Review

Matrix Multiplication:

An (m x n) matrix A and an (n x p) matrix B, can be multiplied since the number of columns of A is equal to the number of rows of B.

Non-Commutative MultiplicationAB is NOT equal to BA

dhcfdgce

bhafbgae

hg

fe

dc

ba

Matrix Addition:

hdgc

fbea

hg

fe

dc

ba

Concepts:- Matrix Multiplication- Matrix Addition

Page 18: What is Kinematics. Kinematics studies the motion of bodies.
Page 19: What is Kinematics. Kinematics studies the motion of bodies.
Page 20: What is Kinematics. Kinematics studies the motion of bodies.
Page 21: What is Kinematics. Kinematics studies the motion of bodies.

Inversion of Matrices

Page 22: What is Kinematics. Kinematics studies the motion of bodies.
Page 23: What is Kinematics. Kinematics studies the motion of bodies.
Page 24: What is Kinematics. Kinematics studies the motion of bodies.

Translation

Page 25: What is Kinematics. Kinematics studies the motion of bodies.

Basic TransformationsMoving Between Coordinate Frames

Translation Along the X-Axis

N

O

X

Y

VNO

VXY

Px

VN

VO

Px = distance between the XY and NO coordinate planes

Y

XXY

V

VV

O

NNO

V

VV

0

PP x

P

(VN,VO)

Notation:

Concepts:- Translation along the X

axis

Page 26: What is Kinematics. Kinematics studies the motion of bodies.

NX

VNO

VXY

PVN

VO

Y O

NO

O

NXXY VPV

VPV

Writing in terms of XYV NOV

Page 27: What is Kinematics. Kinematics studies the motion of bodies.

X

VXY

PXY

N

VNO

VN

VO

O

Y

Translation along the X-Axis and Y-Axis

O

Y

NXNOXY

VP

VPVPV

Y

xXY

P

PP

Concepts:- Translation along the X axis and

Y axis

Page 28: What is Kinematics. Kinematics studies the motion of bodies.

oV

nV

θ)cos(90V

cosθV

sinθV

cosθV

V

VV

NO

NO

NO

NO

NO

NO

O

NNO

NOV

o

n Unit vector along the N-Axis

Unit vector along the O-Axis

Magnitude of the VNO vector

Using Basis VectorsBasis vectors are unit vectors that point along a coordinate axis

N

VNO

VN

VO

O

n

o

Concepts:- Using planar trigonometry to calculate the vector from

projections

Page 29: What is Kinematics. Kinematics studies the motion of bodies.

Rotation

Page 30: What is Kinematics. Kinematics studies the motion of bodies.

Rotation (around the Z-Axis)X

Y

Z

X

Y

N

VN

VO

O

V

VX

VY

Y

XXY

V

VV

O

NNO

V

VV

= Angle of rotation between the XY and NO coordinate axis

Concepts:- Rotation around Z-Axis

We rotate around Z and we have two frames of reference for the same vector

Page 31: What is Kinematics. Kinematics studies the motion of bodies.

X

Y

N

VN

VO

O

V

VX

VY

Unit vector along X-Axis

x

xVcosαVcosαVV NONOXYX

NOXY VV

Can be considered with respect to the XY coordinates or NO coordinates

V

x)oVn(VV ONX (Substituting for VNO using the N and O components of the vector)

)oxVnxVV ONX ()(

))

)

(sinθV(cosθV

90))(cos(θV(cosθVON

ON

Concepts:- Rotation around Z-Axis

Page 32: What is Kinematics. Kinematics studies the motion of bodies.

Similarly….

yVα)cos(90VsinαVV NONONOY

y)oVn(VV ONY

)oy(V)ny(VV ONY

))

)

(cosθV(sinθV

(cosθVθ))(cos(90VON

ON

So….

)) (cosθV(sinθVV ONY )) (sinθV(cosθVV ONX

Y

XXY

V

VV

Written in Matrix Form

O

N

Y

XXY

V

V

cosθsinθ

sinθcosθ

V

VV

Rotation Matrix about the z-axis

Concepts:- Rotation around Z-Axis

Page 33: What is Kinematics. Kinematics studies the motion of bodies.

Rotation together with

translation

Page 34: What is Kinematics. Kinematics studies the motion of bodies.

X1

Y1

N

O

VXY

X0

Y0

VNO

P

O

N

y

x

Y

XXY

V

V

cosθsinθ

sinθcosθ

P

P

V

VV

(VN,VO)

In other words, knowing the coordinates of a point (VN,VO) in some coordinate frame (NO) you can find the position of that point relative to your original coordinate frame (X0Y0).

(Note : Px, Py are relative to the original coordinate frame. Translation followed by rotation is different than rotation followed by translation.)

Translation along P followed by rotation by

Concepts:- Rotation around Z-Axis

Page 35: What is Kinematics. Kinematics studies the motion of bodies.

HOMOGENEOUS REPRESENTATION for robot kinematics

1. One of important representations in robotics2. Putting it all into a Matrix

Page 36: What is Kinematics. Kinematics studies the motion of bodies.

O

N

y

x

Y

XXY

V

V

cosθsinθ

sinθcosθ

P

P

V

VV

HOMOGENEOUS REPRESENTATIONPutting it all into a Matrix

1

V

V

100

0cosθsinθ

0sinθcosθ

1

P

P

1

V

VO

N

y

xY

X

1

V

V

100

Pcosθsinθ

Psinθcosθ

1

V

VO

N

y

xY

X

What we found by doing a translation and a rotation

Padding with 0’s and 1’s

Simplifying into a matrix form

100

Pcosθsinθ

Psinθcosθ

H y

x

Homogenous Matrix for a Translation in XY plane, followed by a Rotation around the z-axis

Concepts:- All transformations can be put into one Matrix Notation.

Page 37: What is Kinematics. Kinematics studies the motion of bodies.

Rotation Matrices

in 3D

Page 38: What is Kinematics. Kinematics studies the motion of bodies.
Page 39: What is Kinematics. Kinematics studies the motion of bodies.
Page 40: What is Kinematics. Kinematics studies the motion of bodies.
Page 41: What is Kinematics. Kinematics studies the motion of bodies.

How to represent a sequence of translations and rotations, a case common in robot arm design?

Page 42: What is Kinematics. Kinematics studies the motion of bodies.

1000

0aon

0aon

0aon

Hzzz

yyy

xxx

Homogeneous Matrices in 3DH is a 4x4 matrix that can describe a translation, rotation, or both in one matrix

Translation without rotation

1000

P100

P010

P001

Hz

y

x

P

Y

X

Z

Y

X

Z

O

N

A

O

N

ARotation without translation

Rotation part: Could be rotation around z-axis, x-axis, y-axis or a combination of the three.

Page 43: What is Kinematics. Kinematics studies the motion of bodies.

1

A

O

N

XY

V

V

V

HV

1

A

O

N

zzzz

yyyy

xxxx

XY

V

V

V

1000

Paon

Paon

Paon

V

Homogeneous Continued…. combining rotation and translation to one matrix

The (n,o,a) position of a point relative to the current coordinate frame you are in.

The rotation and translation part can be combined into a single homogeneous matrix IF and ONLY IF both are relative to the same coordinate frame.

xA

xO

xN

xX PVaVoVnV

Page 44: What is Kinematics. Kinematics studies the motion of bodies.

Finding the Homogeneous MatrixEXAMPLE.

Y

X

Z

J

I

K

N

OA

T

P

A

O

N

W

W

W

A

O

N

W

W

W

K

J

I

W

W

W

Z

Y

X

W

W

W Point relative to theN-O-A frame

Point relative to theX-Y-Z frame

Point relative to theI-J-K frame

A

O

N

kkk

jjj

iii

k

j

i

K

J

I

W

W

W

aon

aon

aon

P

P

P

W

W

W

1

W

W

W

1000

Paon

Paon

Paon

1

W

W

W

A

O

N

kkkk

jjjj

iiii

K

J

I

Different notation for the same thing

Page 45: What is Kinematics. Kinematics studies the motion of bodies.

Y

X

Z

J

I

K

N

OA

TP

A

O

N

W

W

W

k

J

I

zzz

yyy

xxx

z

y

x

Z

Y

X

W

W

W

kji

kji

kji

T

T

T

W

W

W

1

W

W

W

1000

Tkji

Tkji

Tkji

1

W

W

W

K

J

I

zzzz

yyyy

xxxx

Z

Y

X

Substituting for

K

J

I

W

W

W

1

W

W

W

1000

Paon

Paon

Paon

1000

Tkji

Tkji

Tkji

1

W

W

W

A

O

N

kkkk

jjjj

iiii

zzzz

yyyy

xxxx

Z

Y

X

Page 46: What is Kinematics. Kinematics studies the motion of bodies.

1

W

W

W

H

1

W

W

W

A

O

N

Z

Y

X

1000

Paon

Paon

Paon

1000

Tkji

Tkji

Tkji

Hkkkk

jjjj

iiii

zzzz

yyyy

xxxx

Product of the two matrices

Notice that H can also be written as:

1000

0aon

0aon

0aon

1000

P100

P010

P001

1000

0kji

0kji

0kji

1000

T100

T010

T001

Hkkk

jjj

iii

k

j

i

zzz

yyy

xxx

z

y

x

H = (Translation relative to the XYZ frame) * (Rotation relative to the XYZ frame) * (Translation relative to the IJK frame) * (Rotation relative to the IJK frame)

Page 47: What is Kinematics. Kinematics studies the motion of bodies.

The Homogeneous Matrix is a concatenation of numerous translations and rotations

Y

X

Z

J

I

K

N

OA

TP

A

O

N

W

W

W

One more variation on finding H:

H = (Rotate so that the X-axis is aligned with T)

* ( Translate along the new t-axis by || T || (magnitude of T))

* ( Rotate so that the t-axis is aligned with P)

* ( Translate along the p-axis by || P || )

* ( Rotate so that the p-axis is aligned with the O-axis)

1. This method might seem a bit confusing, but it’s actually an easier way to solve our problem given the information we have.

2. Here is an example…

Page 48: What is Kinematics. Kinematics studies the motion of bodies.

Frames of Reference and transformations:

EULER ANGLES

Page 49: What is Kinematics. Kinematics studies the motion of bodies.

Rotation Matrices in 3D - towards homogenous representation

100

0cosθsinθ

0sinθcosθ

R z

cosθ0sinθ

010

sinθ0cosθ

Ry

cosθsinθ0

sinθcosθ0

001

R z

Rotation around the Z-Axis

Rotation around the Y-Axis

Rotation around the X-Axis

Page 50: What is Kinematics. Kinematics studies the motion of bodies.
Page 51: What is Kinematics. Kinematics studies the motion of bodies.
Page 52: What is Kinematics. Kinematics studies the motion of bodies.

The Rotation Matrix (called also Direction Cosine

Matrix)

Page 53: What is Kinematics. Kinematics studies the motion of bodies.
Page 54: What is Kinematics. Kinematics studies the motion of bodies.