Professional Documents
Culture Documents
1. lntroduction:
INvERSp KNqPVTATICS:
Given position and orientation of the tool frame with respect to the
base frame, find the joint variables that achieve the specified
position and orientation of the end-effector.
2-3. SolvabiliS:
Examole:
Given (p,,p,)
that satisff
p* = lr cos 0, + l, cos(0, + 0, )
p, = 1, sin o, + 1, sin(O, + o, )
lp,
tl l
LP, J
Solution:
*= (p. - I, coso,)t * (p, - I, sin orY =\'
3 p,' * p"' *lr' - 2p*lrcosg, - 2prlrsin0, = 1r2
2 2 12 12
+ p*cos0, +prsin0, =# =p (* *)
Two approaches to solving (* *)
Approach 1:
p..
Pr
Example:
The 2 d.o.f. planar arm
Ir=lz l;Fl2
,t.,a
,.t,,' ...''. ...,.
..,/...," .,a .,a',,.,t'.,..t' ..
..r..' ,.1. ,,.
,..' .,, .. .,,, ...'.,,...'........' ..,/, /.' .,
,',,a ,'t "..' .',rt,,.,'
/,r. , ,,"' ...12
,,..,,..,..,..,.'..,..',....|.......,.,..|..,''. ,,.t,. .r,,.t.
/r';'.',.;t.';",;.r,,
,,lr'/.r',""' , ': ".i"..'
1,,
./ tt 'r\:r
t'
' , ,".r.'
i' ,,r" ,,/' a./n/ , "t .,"
/ l,+1, lrlz
Conclusion:
If the position of the e.e. is required to be outside of the readable workspace,
no solution exist. If the position is inside dextrous space, there are infinitely
many solutions. If the position e reachable workspace, there at leasf one
solution
I I l. wt u nt p tE s o LUTtows
Examples:
1 PUMA 560: 8 solutions (Text Page P.118)
2. 3 d.o.f. planar robot : 2 solutions
A.
/\
/l
,/ ,/' B
,,,/ ,1,.,
,r"" ,""
,;-_'-_-' d! ,/
IV.Tvpe oF soLunows
t Closed-form solutions
- I Geometric Method
PUMA 560
Assignment #4
Chapter 4: 1,2,3,9
3. Manipulator Subspace:
{s}
Deftnition:
Remurk:
Workspace of an n d.o.f. manipulator is a subset of the manipulator
subspace.
Example 1:
Note flr=\r=ogff
0 01 0 001 0 001 0
0 1 1
c0 -sQ 0 x
sS c$ 0 v
0 0 1 0 (*)
Where
$:0,+0r+0,
x: I1c1*I2Cp
I The 3 variables (parameters ) $, x, y can be
assigned freely
y:
I
11s1*12S12
_J
Where
Solution:
cl -sl 0 0 100 0
slcl0 0 001 d2
o'p
001 trr= 0 -1
lr -- 0 ; 0 0
0 I
cl -sl 0 0 100 0
s1 c1 0 0 001 d2
orT=o,T.lT
= 0 0 1 0 0 -l 0 0
0 0 1 0 1
cl 0 -sl - Srd,
sl 0 cl crd,
0 -1 0 0
If we define
x=-Srdz , Y=Crdz
then
0 .__x
{x- + Y-
-x 0 -_ v v
Where x, y arefree Wamctcrs
ort (variables)
= x" +y' 11x- + y-
0 -1 0 0
0 0 0
t2
I. Algehraic Apprn*eh:
s$cQ0 v i
Bm
wl = 001 0
/1\
(r, /
tB) i
l-i t0)
?h {11
Note that
cw = c0 (3)
srzr = s0 (4)
X: l,c, +lrcr" (s)
Y: l,s, +lrs' (6)
IJ
t-l -t
X: (1, +lrcrl, -1rsrs,
- = k,cr - hr, (7)
:
! lrsrc, (8)
-, + + lrc, F, = k:c, + k,s,
(1,
where
kr=lr+1.c,
k, = I's,
tI
t, l[*l
k,-il
l-k,
1
!_,,___:, _
k, ll v I
_
k,x + k.y I
,'KzX + ;-
@>- - KrYl
|
cr k,x + kry
AtcneRAlc AppRoecFr:
i. sin0 = a
=+ o=atanz("..Jr-*)
3. sinQ=a,cos$=b 0=atan2(a,b)
= ,,
4. acosO+bsin0=0 0=atan2(a,-b)
=
5. acos0+bsinO=c
=
a\
g=ata{b, a)tatan2(Ja: +b: -
"',")
6. The set of equations
acos0-bsin0 = c
asin0+bcss0=d
=) 0 = atan2(ad- bc, ac + M)
i5
GsoMrrRlc AppnoncH:
til
tJ I
/i ;.-fr
o" (.
Particularly when ai : 0 or
fl'0 o. It can be verv- simple
6:
_\,
16
c2 =a2 +b2-2abcoscr
12
*t +yt =ll *lrt -21,1, cos(l80" - o, )
l-
=lj + lr? + 21,1. eos6.
x'+y'+l,t -lr'
cos r.y - -k
n,l7 4
r-.
:+ sinV=t{i-k'
= V = atan2(sr.y,cry) 0o<V<1800
= 0, = FtV = atan2(y,x)+atan2(sry,cry)
= 0,=9+,y if 0r.0
0,=F-,y if 0rt0
Finally
0: :0 - (0r+02)
l8
slnu-_2u
Let Ll = tall
0 l+ur (*)
-2
.^ 1- ut
COSU =
l+u2
(*) is useful geometric substitutionused often in solving Kinematic
equations. Using these substitutions, transcendental equation are
converted to polynomial equations in"Lt" .
Example:
Solution:
2u
sln U = :------;
-A
Let t+u'
u=tanl
2 = l-u:
cos0 =
i+u2
u- j\
= acos0+bsin0 = u1: *b.
1+u' 1+u' =.
+ a-au'+2bu=e*cu:
) ^,
+ (a+c)u--2bu+(c-a)=0
= u- 61/6'-a'; U
tan- = 1
a 'r9 z.
/---:---:-----:-
t btVb'+a'-c'
2tan-'l
= 0=
L
a+c
A general robot with six d.o.f. does not have a closed form solution
except for certain important special cases.
Pieper's solution to the inverse of the kinematics problem of a six
d.o.f. robot where all joints are rotational and three consecutive axes
intersect at one point. Pieper's work applies to the majority of
commercially available industrial robots.
Assume the last t at one
- The origin of frames 4. 5 and 6
We are given a desired position/orientation.
Ip, ]
il,nt
op I in lv.. l
tl
oT- BrI
^ 5oRG
\p,,
t -w --
.........t-
I
1Jl- 000
6
note that
lnp I [',p
'T-"1=L 'i-" I lrp^i-".]=',r"r
I [, r, .]
,.7
tr itli ^1oRG I
(1)
L 1=:.tL L^_t
Where
I
t-l
u. -l
I d*ca. I
f
From the general formula '-f7-
20
Where
f tre,l1 u, l
[-.oi-"' r a3ca +dosors, +a,
| " doco, l= | , 3cct2s3 - doscrcorc, - dos{rrcu, -U.orl
?l:'l l=:'l
lf,(e,)l
I I
I I la 3scr,2s3 - dosct,rscrrc, + docoreer. - ara"rl
L J L IL
fI
cr8r - sr8z
oPoo*o
It' re' 11
srgl + c1g2
I l=qt.ltlfr(o,) (3')
I I | 'lf,(or)l| = 8r
lrj I
gr =czfr -srfr+a,
g, = srccr,f, + crcd.rfr- su,f, - drsc,
g)=srsorf, +crsc,f, +co,f, -drco, =(f,t, +frcrbo, *frco, +drcc,
where
k, =f,
kz=-fz
k, = f,' +f| +tl +ai +dl+2d2f3
ko=frc0',+drcct
Recall the useful substitution
t-tan'9 zt*9
2
coso= -----z sin0 = (5)
1+ tan'9 I +tan'9
2 2
Case I
If a, = s (e.g. PUMA 500, Yasukawa motormen etc.)
Then (4a) ::> r= kt (6)
.tl v
lkn"*r] Contains onlv one unknown 0. in s. & c" !
Case 2
ifsctt = g
p"=k+= fzfar+drcar, (7)
\., I' bxwn
Case 3
If a# 0 and scrl * 0 then (4a), (4b) +
[+l'*fo.--uo]=r;*r;
\rar /\sor )
(s)
which contains only one unknown 0:. Solve(S) for 0: by using (5).
Having solved for 0: we may solve (a) for fo and solve (3') for 01
(since gl, 92 depend on 02 and 0: only)
- c4s5s6cc[5 - s4c5s6cc[4cc[5
+ s4s6sc[,4scfs
( l0)
- |
Lt t 7r, Trr l
24
Comparing (12) with (11) we see that (0a, 0s, 0e) e the z-y-z
Euler's angles and therefore, the solution to the inverse Euler's
angles problem can be used to find 0+, 0s, 96 immediately.
That is:
t_ \
0, =F =atanZ(/v3, +y3r.yu)
o, = cr = atan 2fb.frr)
' (.sF sF/
o. =y =atanz[rt.-r")
IsF
sB/
Assignment # 5
Chapter 4. 4.6, 4.8, 4.IA
25
*,
l?/
r
D-H TABLE
26
cl -s1 0 0 0 0
Q2 -s2
st c1 0 0 0 0 -1 0
0m
tl = 0 0 1 h tT= s2 v2 0 0
0 0
ca *s3 0 e f
s3 ca 0 0 0
2ry
-rr = 0 0 I 0
1T= :
000 1
tr - {1
tf
ecro2 + ft,o,
r
ctczz ctSz:
Srcz: - SiSz: - ttr es1o2 + fs,e*
0m trT.iT.3-T
4l= Sz: czt 0 h+es, +fs,
*g
In the inverse kinematics , specifications (p", pv, p,) in
F,
-1 \-. CJ
,
0,,O-,63 = 7
27
Solution:
Note that the robot_has only 3 degree of freedom thus only gripper's
position [p" p, p"]r can be specified
P*=ecrc:+fc,cr, (1)
Pr=esrcr+fsrc* (2)
p, =h+esr +fs* (3)
+
pr - l. r ?J*tf Lf rel
Q)2+e)2+(4)2
p"t f pr'*(p"-h)' =e2c12c22 +f'cr'arr'+2efer2erer.+e'sr'er'+f'sr'err' +2efsrzcrc"r+
e'sr'+f"rr' +2efsrs'
=e2 +f2 +2ef(ercr, +srsr.)
= e2 +f2 +2efc,
p,' I p,' t(p, - h)'-(tI' -{tr
%=T =l(
? 0, = atan2(L/t - kt , k;
(3) p, -h=es2 +fs2c, +fcrs,
=
- (e+ fcr)s, + fsrc,
= krsz +krc,
Whefe kr =e+fc.,k, =fs, (known)
then
oz=dtarr2(kt,k) +atan r(W,p, -h')
Inverse Problem:
Tn Y'.1
[v'' yzz
fR =lT, rr, I Solve !n=!n,,r(y,P,o) for u, B, y
fvrr Tzz Yr.-]
Solution i
y^
ify,, * 0, then CB *0 and ranc =#
./'cp
(vrr/ ) ,
r 6s = run-,| f9!l= ,rr'unz(b.Lr)
\cB cB/
[t2tBJ
[See footnote on page 47 of the text book for ATanZ function, i.€.,
ATanZ(2 45o , Atan2(-2, -2) :225o1
,2):
^ti
'"n3_
run}= \'l' t*l
and . rl,.u3 y =ltanz(!:z
(cp'cpl
001
guish two cases as follows
Case L:
Case 2: