Docsity

Robot Arm Dynamics-Advanced Engineering Dynamics-Lecture Handout, Exercises of Engineering Dynamics

Toggle sidebar
bg1
8
Robot
Arm
Dynamics
8.1
Introduction
In
this chapter we examine the way in which three-dimensional dynamics is applied to
a
sys-
tem
of
rigid bodies connected by various
types
of
joints. Initially we shall describe some
typical arrangements
of
robot
arms
together with their end effectors. We shall only be con-
cerned with the overall dynamics and not with the detail. This is a vast subject area
of
which
dynamics is a substantial and vital part.
8.2
Typical arrangements
8.2.1
CARTESIAN CO-ORDINATES
Figure
8.1
shows the arrangement
of
a rectangular robot
arm
where the position
of
the end
effector is located by specifying the
x,
y,
z
co-ordinates. Each joint responds to one co-ordi-
nate, and all joints in this arrangement are sliding joints.
An
end effector is usually a grip-
per or hand-like mechanism; these will be briefly described later.
Fig.
8.1
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29

Partial preview of the text

Download Robot Arm Dynamics-Advanced Engineering Dynamics-Lecture Handout and more Exercises Engineering Dynamics in PDF only on Docsity!

Robot Arm Dynamics

8.1 Introduction

In this chapter we examine the way in which three-dimensionaldynamics is applied to a sys-

tem of rigid bodies connected by various types of joints. Initially we shall describe some

typical arrangements of robot arms together with their end effectors. We shall only be con- cerned with the overall dynamics and not with the detail. This is a vast subject area of which dynamics is a substantial and vital part.

8.2 Typical arrangements

8.2.1 CARTESIAN CO-ORDINATES

Figure 8.1 shows the arrangement of a rectangular robot arm where the position of the end

effector is located by specifying the x, y, z co-ordinates. Each joint responds to one co-ordi- nate, and all joints in this arrangement are sliding joints. An end effector is usually a grip- per or hand-like mechanism; these will be briefly described later.

Fig. 8.

Typical arrangements 195

8.2.2 CYLINDRICAL CO-ORDINATES A typical cylindrical co-ordinate arm is shown in Fig. 8.2. In this case the joints respond to r, 8 and z co-ordinates with the joints being sliding, revolute and sliding respectively,

Fig. 8.

8.2.3 SPHERICAL CO-ORDINATES

As can be seen from Fig. 8.3 this arm is controlled by specifying r, 0 and 0 with the joints

being sliding and two revolute.

Fig. 8.

8.2.4 REVOLUTE ARM A very common layout is shown in Fig. 8.4(a) in which all joints are revolute; this is a ver- satile system and more akin to the human arm.

8.2.5 END EFFECTOR

A simple end effector in the form of a gripper is shown in Fig. 8.5. This example has three degrees of freedom plus a gripping action. The movements at the wrist are often referred to

Kinematics of robot arms 197

as roll, pitch and yaw. It is quite common to find that for some end effectors only roll and

pitch are provided.

8.3 Kinematics of robot arms

In this section we shall first revise and extend the study of the kinematics of a rigid body with particular reference to rotation about a point and change of reference axes. The con- cept of homogeneous transformation matrices will then be introduced so that a systematic

description of arm position and displacement can be made.

The most common task to be performed is: given the path of the end effector, determine

the magnitudes of the joint displacements as functions of time. This is referred to as the inverse kinematic problem and is usually more difficult than the forward problem of calcu- lating the path of the end effector given the joint positions. The obvious exception is the case of the Cartesian system. For one position of a cylindrical system r = \ (x’ + y’) z = z

e = arctanb/x)

r = , (x’ + y’ + z’)

e = arctan [ z / , (x’ +yz) 3 0 = arctan(y/x)

and for a spherical system

For the revolute arm of Fig. 8.4(b)

8, = arctan b/x) Y = \ (x’ + y 2 ) c = , (r‘ + 2’) A = arccos [ (L: + c’ - L:) / (~L,c) 1 B = arcsin [ ( L , / L , ) sinA 3 8, = arctan (ZIT) - B ~ , = A + B

8.3.1 VECTOR-MATRIX REPRESENTATION

A position vectorp (shown in Fig. 8.6) has scalar componentsp,,p, andp, when referred to

the xyz frame. This is written

P = ip, + ip? + kp, which, in matrix form, becomes

198 Robot a m dynamics

Fig. 8.

If we let

(PI = @XP."Pd'

and

(e) = ( i j k l T

then

P = (eIT(p) (8.5)

P = V ) ' ( P? (8.6)

If the same vector is viewed from the set of primed axes as shown in Fig. 8.

Fig. 8.

8.3.2 CO-ORDINATE TRANSFORMATION

Since

P = (e')'(p? = (4'(P) (8.7)

200 Robot arm dynamics

premultiplying equation (8.7) by (e) and noting that (e)(e)’ = [Z], the identity matrix, we

obtain ( p ) = (e)(e’)T(p’).By inspection it is seen that (e)(e’)’ is the transpose of (e’ e

This is also seen from the rule for transposing the product of matrices, that is [(e’)(e) 3 -

From this argument it is apparent that [a]-’ = [a]’, so by definition [a] is an orthogonal

F T ’ 1

(e)(e’IT.

IlWtriX.

8.3.3 FINITE ROTATION

We shall now consider a closely related problem, that of rotating a vector. Consider a vector pI relative to fixed axes X ; I: 2. A further set of axes, U , K W, moves withp, and may be regarded as rigidly fixed top,. If the UWaxes are rotated about the ori- gin then relative to the fixed axes p, moves topz as shown in Fig. 8.9.

Fig. 8. Using the prime to indicate components seen from the UVWaxes we have that initially ( p ; ) = ( p , ). We now look at p2 from the rotated axes U W so that its components ( p i ) = 11c, but because the vector is fixed relative to the UWaxes, ( p i ) = (p,’) = (pl) and thus

( P A = [‘Ql-I(PI 1. If we define the rotation matrix [R] by ( p J = [ R ] ( p l ) then [RI = [a]-’ = [a]’ = (e)(e’)’

ROTATION ABOUT X, Y AND 2 A X E S

In general the rotation matrix is given by

( 1)

[ i. i’ i. j ’ i. k ’ ] [ R ] = j ( T j ’ k ’ ) = ji’ j j ‘ j k ‘ (8.12)

k. i’ k.j ’ k. k‘

So for rotation of the U W a x e s by an angle a about the Xaxis, refemng to Fig. 8.10, and

noting that i = i’ and that j * j ’ = cos(ang1e between the Y axis and the V axis) = cos a, etc.,

the rotation matrix is

Kinematics of a robot arm 201

Fig. 8.

[ R ] , , = 0 cos a -sin a (8.12a) [ 1 s i n a cos a ]

This result should be verified by simple trigonometry. Similarly for a rotation of p about the Y axis cos p 0 sin p

[ - :np : c:sp]

[RI.b:, = (8.13)

and for a rotation of y about the Z axis

cosy -sin y 0

[RI,,= [ si;Y C Y Y :] (8.14)

Note that by inspection

[%U 1 = [Rlx:u = [Rlx.-u (8.15)

That is, the transpose is the same as the inverse which is also the same as rotation by a neg- ative angle.

In this section we shall adopt a simpler notation for rotation matrices, replacing [ R ] , , by [X,a] to mean a rotation of a about the fixed X axis. If a vector with components ( p l ) as seen from the fixed axes is rotated about the Xaxis by an angle a, then the new components are

( P J = [ x a l ( P l ) (8.16)

SUCCESSIVE ROTATIONS ABOUT FIXED AXES

Kinematics of a robot arm 203

Refemng again to Fig. 8.1 1, Step 1: Rotate the axis about the Y axis by p followed by a rotation of y about the Z axis;

tan j 3 = n/l and sin y = m, where 1, m and n are the components of the unit vector n. Note

that in this example y would be numerically negative. Step 2: Rotate by 0 about the Xaxis. Step 3:^ Rotate back. In matrix form

ERI,, = {[Y,-PI [Z,YI) {[x,0I) {[Z,-Yl[Y,Pl) {step 3 1 {step 2) {step 1 1 (8.18) (Remember that [Y,P]-' = [Y,-p].)

Alternative method

A vectorial relationship can be achieved as is shown in Fig. 8.12. Here n is the unit vector

in the direction of the rotation and 0 is the finite angle of rotation. Owing to the rotation the

vector r becomes r'. The vector r generates the surface of a right circular cone; the head of

the vector moves on a circular arc PQ. N is the centre of the circular arc so

n - r = I r I c o s a = O N

and

I n x r l = I r I s i n a = NP = NQ

Note also that the direction of n X r is that of VQ.

Now

r ' = O N + NV + VQ = n(n * r) + [r - n(n. r)] cos 0 + (n x r) sin 0

Fig. 8.

204 Robot ann dynamics

= r cos 0 + n(n - r)(l - cos 0 ) + (n x r) sin (^0) (8.19) If we use the same basis for all vectors then the above vector equation may be written in

matrix form (see Appendix 1 on vector-trix algebra) as

(r)' = (r)cos 0 + (n)(n)T(r)(l - cos 0) + [nix (r)sin 0 (8.20)

where

(n) = (/mnlT (4 = ( v Y z ) T 0 -n m

[nIX= [ -;; ;]

(l, m and n are the components of n referred to the chosen set of axes).

8.3.7 ROTATION ABOUT BODY A X E S

It is very common for rotation to take place about axes which are fixed to the body and not

to axes which are fixed in space. For example, with the end effector, or hand, the axes of

pitch, roll and yaw are fixed with respect to the hand. Let us first consider a simple case of just two successive rotations. In Fig. 8.13 a body with body axes UVW is initially lined up with the fixed XYZ axes. The body is first rotated by a about the Xaxis and then by y about the Z axis. Exactly the same result can be obtained

by a rotation of y about the W axis followed by a rotation of Q about the U axis. This can

best be demonstrated by using a marked box as shown in Fig. 8.13(a). The rotation matrix for the first case is

[RI = [Z,rl[x,aI

The form of a transformation matrix for rotation about the Xaxis is identical to that for rota-

tion by the same angle about the U axis, similarly for the Y and V axes and also the Z and

Waxes. So [Z,y][X,a] must be equivalent to [ W,y][U,a]. Note that the matrix for the second

rotation now -multiplies the matrix for the first rotation rather than =multiplying as it

Fig. 8.13 (a)

206 Robot arm dynamics

For a combined rotation followed by a translation

( P A = [Rl(Pl) + (u) (8.23)

If we now introduce an equation

1 = (o)T(Pl) + 1 (8.24)

(where (0) = (0 0 O)T, a null vector), we may now combine equations (8.23) and (8.24) to

give

or, in abbreviated form,

(P2) = [ T l ( d l ) (8.26)

Here (3) is the 4 X 1 homogeneous vector and [TI is the 4 X 4 homogeneous transfor- mation matrix. In projective geometry the null vector and unity are replaced by variables so that the transformation can also accomplish scaling and perspective, but these features are not required in this application.

For pure rotation (u) = (0) and for a pure translation [R] = [ I ] (the identity matrix). There-

fore if we carry out the translation first (which is simply the vector addition ofp, and u ) and then perform the rotation the combined transformation matrix will be

so the transformed vector is

(P2) = [ R l ( P l ) + [Rl(u) = [ R l ( ( P l ) + (

as would be expected. Note that rotation followed by translation produces a different result.

This is because the rotation is about the origin and not a point fixed on the body.

Figure 8.14 shows a Cartesian co-ordinate robot arm. It is required to express co-ordinates

in UVWaxes in terms of the XYZ axes. This can be achieved by starting with the UVWaxes coincident with the XYZ axes and then moving the axes by a displacement L parallel to the 2 axis, M parallel to the Xaxis and then by N parallel to the Y axis. (The order of events in this case is not important.) Writing this out in full we obtain the overall transformation matrix

TRANSFORMATION MATRIX FOR SIMPLE ROBOT ARM

1 0 0 0 1 O O M 1 0 0 0 1 O O M

O l O N 0 1 0 0 0 1 0 0

[:: : :I[: : : :I[ ," ," : :I_ [ 8 ::I,

This result is equivalent to a single displacement of (M N L)T.

We now consider a spherical co-ordinate arm as shown in Fig. 8.15 again starting with the

two sets of axes in coincidence. First we could translate by d, along the Xaxis, then rotate

Kinematics of a robot arm 207

Fig. 8.

by 0 about the Y axis followed by 8 about the Z axis. The overall transformation matrix is

[Z,~l[Y,0l[d,l

ce -se o o c0 o s0 o l O O d , ce o o 1 0 0 0 1 0 0

I:: ," ; 11 [, : 7 :I[ ," ,"::I

Kinematics of a robot a m (^) 209

Fig. 8.

The parameters which are used to define the link geometry and motion are: 8, is the joint angle from the x , - ~ axis to the x, axis about the z , - ~ axis. A change in 8, indi- cates a rotation of the ith link about the zi-l axis.

d, is the distance from the origin of the (i - 1)th co-ordinate origin to the intersection of

the z , - ~ axis with the x, axis along the z , - ~ axis (Le. Of-l to N,-l). A change in d, indicates a translation of the ith link along the z,- I axis. a, is the offset distance from the intersection of the z , - ~ axis with the x, axis to the origin of

the ith frame along the x, axis (i.e. N,-l Of, the shortest distance between the two joint

axes).

a, is the offset angle from the z , - ~ axis to the z, axis about the x, axis.

As in the simple cases considered previously we wish to perform a transformation of co- ordinates expressed in the ith co-ordinate system to those expressed in the (i - 1)th sys-

tem. We achieve this by first lining up the ith to the (i - 1)th frame and consider the

operations required to return the ith frame to its proper position. This is achieved by the fol- lowing actions:

  1. Rotate by 8, about the z , - ~ axis.
  2. Translate by d, along the z , - ~ axis.
  3. Translate by a, along the x, axis. 4. Rotate by a, about the x, axis.

2 10 Robot ann dynamics

The first two transformations are relative to the current base frame (xy~),-~ while the last two

are relative to the body axes (qz),. Thus the overall transformation matrix is

1 - I [ A I, = [ TJ, - I ,d,l [ TJ,- I ,ell I [ TSE,,a, 1 [TYX,,a,l Note the order of multiplication. This overall transformation matrix is often called the A matrix. In 1 1 1 we have

1 o o o ce, -se, o o l O O a , 1 0 0 0 0 1 0 0 SO, C8, 0 0 0 1 0 0 0 Ca,-Sa, 0

r - l [ A 1 r = [ ",",i:][;," ; :][;;;;I[; 7 :;]

=I 0 0 0 1 I

For a complete robot arm the A matrices for each link can be computed. The complete

Ce, -SB,Ca, SB,Sa, a,Ce,

SO, CB,Ca, -Ce,Sa, a,SB,

0 Sa, Ca, dl

So we may now write

M I - l ) = , - l [ ~ l , (bl)

transformation is

(bo) = ,[All l V 1 2 2 M 3. * * n-I[AIn _(b)_*

8.3.1 1 APPLICATION TO A SIMPLE MANIPULATOR

Figure 8.18 shows a simple manipulator consisting of three links, all with revolute joints, and a gripper. We shall consider the problem in two stages, initially being concerned with the positioning of the end effector and later with its orientation and use. The first task is to assign the axes; this has to be done careklly as it must obey the rules given in the previous section. The first link, a vertical pillar, rotates about the z, axis and the x, axis is chosen, arbitrarily, to be normal to the pin axis at the bottvm of the pillar. The other

two links are pin jointed as shown. The zl axis is the pin axis at the top of the pillar and the

x, axis is normal to the plane containing the z, and zI axes. The z2 and 2 3 axes are both par-

allel to the zI axis. The x2 axis lies along link 2 and the x3 axis is along link 3.

We can now produce a table showing the parameters for each of the three links:

Link 0 d a a 1 8, dl 0 +90' 2 01 0 a 2 0 3 0, 0 a3 0

The three variables are e , , 8, and 8,; all other parameters are constant.

between the x axes.

Notice that a is the shortest distance between the z axes and d is the shortest distance

2 12 Robot arm dynamics

A,, = -cos 8, sin(8, + e,) AI3 = sin 8, A 14 = COS e, [a3 COS(^, + e, ) + Q, COS e, 1 A,, = sin 8, cos(8, + e,)

A,, = -sin 8, sin(8, + 0,) A~~ = COS^^

A24 = sin 8, [a3 COS(^, + e,) + a, cos e,] A31 = sin(0, + e,) A,, = cos(e2 + e,)

A,, = 0 A, = a, sin(0, + e,) + a, sin 8, + dl

41 = 0 A42 = 0

&3 = 0 & = 1

The origin of the (xyz), axes is found from

(bo) = o[A13 ($3)

with (b,) = (0 0 0 l)T,see equation (8.25). Thus

xO = A l 4

YO = A

zo = A In this case these may easily be checked by trigonometry.

8.3.12 THE END EFFECTOR

To demonstrate the kinematic aspects of an end effector we shall consider a simple gripper, as shown in Fig. 8.19. The arrangement here is one of many possibilities; in this one the z axis could be termed the pitch axis, z4 the yaw axis and z5 the roll axis. This is one example of the use of Eulerian angles which were discussed fully in Chapter 4. The parameters for links 4, 5 and 6 are given in the following table:

Link 0 d a a 4 0 4 0 0 4 +90 ' 5 0, 0 0 +90' 6 06 d6 0 0

from which the homogeneous matrices are

Kinematics of a robot arm 2 13

Fig. 8.

ce, o se, a,ce,

3[A]4 = [ i' [ -R" a ,? ]

4[A]s = [ i! -7 g ]

s[A]b = [ T 'i : i6 ]

The overall transformation matrix for the end effector is

ces o se, o

c 8 6 - s o 6 0 0

3 [ 4 6 = 3[AI4 d A I S S[A

The components of &416 are

A , , = cos e, cos Os cos 6 6 + sin 0, sin 0 6 *A , ** = -cos 8 , cos OS sin e6 + sin 8 , cos 6 6 A I 3 = cos 8 , sin 0 6