38
22-06-20 handout 3 1 Robot Kinematics Logics of presentation: Kinematics: what Coordinate system: way to describe motion Relation between two coordinate systems

Robot Kinematics

Embed Size (px)

DESCRIPTION

Robot Kinematics. Logics of presentation: Kinematics: what Coordinate system: way to describe motion Relation between two coordinate systems. Robot Kinematics: what. Kinematics: study of the relationship between any two displacement variables in a dynamic system. - PowerPoint PPT Presentation

Citation preview

Page 1: Robot Kinematics

23-04-20 handout 3 1

Robot Kinematics

Logics of presentation:

Kinematics: what

Coordinate system: way to describe motion

Relation between two coordinate systems

Page 2: Robot Kinematics

23-04-20 handout 3 2

Robot Kinematics: what

Kinematics: study of the relationship between any

two displacement variables in a dynamic system.

Robot kinematics: a robot is a dynamic system.

Page 3: Robot Kinematics

23-04-20 handout 3 3

Robot Kinematics: whatA robot consists of a set of servomotors which drive the end-effector. Therefore we have: (a) the motion of the end-effector, and (b) the motion of the servomotors. These two are related.

Given (b) to find (a): forward kinematics (process 1)

Given (a) to find (b): inverse kinematics (process 2)

1 z

1

x

y 2

(b) (a)

Page 4: Robot Kinematics

23-04-20 handout 3 4

Robot Kinematics

Logics of presentation:

Kinematics: what

Coordinate system: way to describe motion

Relation between two coordinate systems

Page 5: Robot Kinematics

23-04-20 handout 3 5

Robot Kinematics: coordinate system

The general principle to describe motion:

Coordinate systems, as it provides a reference upon

which motion of an object can be quantitatively

described.

Page 6: Robot Kinematics

23-04-20 hand ut 3 6

There are two coordinate systems to measure two types of motions (joint level and end-effector level), respectively:

motor or joint coordinate system for joint level motions (see Fig. 2-11).world coordinate system for end effector level motions (see Fig. 2-12).

Robot Kinematics: coordinate system

1

Fig. 2-11

Fig. 2-12

Page 7: Robot Kinematics

23-04-20 handout 3 7

The relationship of the attached coordinate system with

respect to the world coordinate system completely describes

the position and orientation of that body in the world

coordinate system (Fig. 2-13).

Xw

Fig. 2-13

Mi

PYw

Robot Kinematics: coordinate system

Page 8: Robot Kinematics

23-04-20 hand out 3 8

Attached coordinate system (also called local coordinate system, LCS) replaces the object and represents it with respect to the world coordinate system (WCS) or reference coordinate system (RCS)

The motion of the object with respect to the reference coordinate system reduces to the relation between the local coordinate system with respect to the reference coordinate system

Robot Kinematics: coordinate system

Page 9: Robot Kinematics

23-04-20 hand out 3 9

Denote the relation between A and B as Rel (A-B)

Suppose {A} is the LCS of Object A, and {B} is a reference coordinate system,

Note that by defining {A} on an object, we imply that details of the object are defined, with respect to {A} in this case,

Motion of the object (i.e., A) in the reference coordinate system is thus the relation of {A} with respect to {B}.

The above thinking process shows how the motion of an object becomes the relation between two coordinate systems

Robot Kinematics: coordinate system

Page 10: Robot Kinematics

23-04-20 hand out 3 10

As well, how a point P on Object A should be represented with respect to {B}

Page 11: Robot Kinematics

23-04-20 handout 3 11

Robot Kinematics

Logics of presentation:

Kinematics: what

Coordinate system: way to describe motion

Relation between two coordinate systems

Page 12: Robot Kinematics

23-04-20 hand out 3 12

Robot Kinematics: relation between two coordinate systems {A} and {B}

Case 1: two origins are coincident Case 2: two coordinate systems are in parallel

Page 13: Robot Kinematics

23-04-20 hand out 3 13

Remark 1: Motion is also related to velocity and

acceleration. The general idea is that they should be

obtained by the differentiation of the transformation matrix.

Remark 2: coordinate system is also called frame.

Page 14: Robot Kinematics

23-04-20 hand out 3 14

Two origins of the frames are coincident

Page 15: Robot Kinematics

23-04-20 handout 3 15

Unit vectors giving the principal directions of {B} as

When these vectors are written in terms of {A}, we denote

Stack these three together, and call rotation matrix

= (2-1)

^^^

BBB ZYX

^^^

BA

BA

BA ZYX

RAB

^^^

BA

BA

BA ZYX

Page 16: Robot Kinematics

23-04-20 handout 3 16

Equation (2-1) can be further written as

(2-2)

The components in equation (2-2) are simply the projections of

that vector onto the axes of its reference frame. Hence, each

component of equation (2-2) can be within as the dot product

of a pair of unit vectors as

To be given in the classroom

(2-3)To be given in the classroom

Page 17: Robot Kinematics

23-04-20 handout 3 17

RABB with respect to A

How A with respect to B ?

To be given in the classroom

Page 18: Robot Kinematics

23-04-20 hand out 3 18

The inspection of equation (2-3) shows that the rows of the

matrix are the column of the matrix ; as such we have

(2-4)

To be given in the classroom

RABBAR

It can be further verified that the transpose of R matrix is its inverse matrix. As such, we have

1B B T AA A BR R R (2-5)

Page 19: Robot Kinematics

23-04-20 hand out 3 19

When frame A and frame B are not at the same location (see Fig. 2-14), we will consider two steps to get the relationship between {A} and {B}:

Step 1: Consider that {A} and {B} are in parallel first. Then, {B} translates to the location which is denoted as

ABORGP : The origin of {B} in Frame {A}

ABORGP

Step 2: Imagine that {A} and {B} are at the same origin but {B} rotates with respect to {A}. The relation between {A} and {B} in this case is: RAB

Page 20: Robot Kinematics

23-04-20 hand out 3 20

},{}{ BORGAA

B PRCRM

So the total relation between {A} and {B} is:

Page 21: Robot Kinematics

23-04-20 hand out 3 21

Fig. 2-14

Page 22: Robot Kinematics

23-04-20 hand out 3 22

Further, if we have three frames, A, B, C, (Fig. 2-15) then we have a chain rule such that (see the figure in the next slide)

},{ CORGAA

C PR =

},{ BORGAA

B PR },{ CORGBB

C PR

Page 23: Robot Kinematics

23-04-20 hand out 3 23

Fig. 2-15

Page 24: Robot Kinematics

23-04-20 hand out 3 24

Point P at different frames

Fig. 2-16 shows that the same point, P, is expressed in two different frames, A and B.

P

Fig. 2-16

Page 25: Robot Kinematics

23-04-20 hand out 3 25

Case 1: Frame A and Frame B are in parallel but at different locations (see Fig. 2-17)

PFig. 2-17

In this case, we have the following relation

Page 26: Robot Kinematics

23-04-20 hand out 3 26

BORGABA PPP (2-7)

in {A} in {B}

Case 2: A and B are at the same location but with different orientations (see Fig. 2-18).

In this case, we have

PRP BAB

A (2-8)

Page 27: Robot Kinematics

23-04-20 hand out 3 27

Fig. 2-18

Page 28: Robot Kinematics

23-04-20 hand out 3 28

We have:

BORGABA

BA PPRP

We can further write equation (2-9) into a frame-like form, namely a kind of mapping

(2-10)

(2-9)

PTP BAB

A

The matrix T has the following form:

See Fig. 2-16, A and B are both at different locations and with different orientations

Page 29: Robot Kinematics

23-04-20 hand out 3 29

1000BORG

AABA

B

PRT

T matrix is a 4 x 4 matrix, and it make the representation of

P in different frames {A} and {B} a bit convenient, i.e.,

equation (2-10).

For example, for Fig. 2-15, {A}, {B}, {C}, {U}, we have for P

in the space:

PTTP BAB

UA

U PTTTP ABA

CB

UC

U

Page 30: Robot Kinematics

23-04-20 hand out 3 30

PTTTP ABA

CB

UC

U Notation helps to verify the correctness of the expression

Page 31: Robot Kinematics

23-04-20 hand out 3 31

Example 1: Fig. 2-19 shows a frame {B} which is rotated

relative to frame {A} about ^

Z

is an axis perpendicular to the sheet plane^

Z

Please find:

(1) Representation of Frame {B} with respect to Frame {A}

(2)

(3) Representation of P with respect to Frame {A}

BP

Page 32: Robot Kinematics

23-04-20 hand out 3 32

Fig. 2-19

10

30o

Page 33: Robot Kinematics

23-04-20 hand out 3 33

Solution:

To be given in the classroom

Page 34: Robot Kinematics

23-04-20 hand out 3 34

(2-11)

Example 2: Fig.2-20 shows a frame {B} which is rotated relative to frame {A} about Z by 30 degrees, and translated 10 units in XA and 5 units in YA. Find

where PA

TBP ]0.0,0.7,0.3[

To be given in the classroom

Page 35: Robot Kinematics

23-04-20 hand out 3 35

XB

XA

YBYA

5

10

30o

P (3, 7, 0)

Fig. 2-20

Page 36: Robot Kinematics

23-04-20 hand out 3 36

To be given in the classroom

Solution:

Page 37: Robot Kinematics

23-04-20 hand out 3 37

Summary

Forward kinematics versus inverse kinematics.

Motion is measured with respect to coordinate system or frame.

Frame is attached with an object.

Every details of the object is with respect to that frame, local frame.

Relation between two frames are represented by a 4 by 4 matrix, T, in general.

Page 38: Robot Kinematics

23-04-20 hand out 3 38

Summary (continued)

When two frames are in the same location, T is expressed by

10000

0

0

RT

ABA

B

When two frames are in parallel but different locations, T is expressed by

1000000

000

000

BORGA

AB

PT