Академический Документы
Профессиональный Документы
Культура Документы
Class Schedule
Monday 12.00 - 13.00
Tuesday 10.00 - 11.00
Thursday 10.00 - 11.00
Venue :
DK10
MEK 1
DK5
Dr. Elmi Abu Bakar
Room: 0.68A
Instrumentation, Electronics and Avionics Laboratory
School of Aerospace Engineering
Tel.: 04-5995954/5926 H/p: 016-4939839
Email: meelmi@usm.my
http://elearning.usm.my
Outlines
Kinematics
Preliminary
Worldframe,jointframe,endeffectorframe
RotationMatrix,compositerotationmatrix
HomogeneousMatrix
Directkinematics
DenavitHartenberg Representation
Examples
Inversekinematics
Endeffector
End effector the last coordinate system of figure
Located in joint N.
But usually, we want to specify it in base coordinates.
11/3/2016
Endeffector
Atransformation fromthelinkNtothebase:
11/3/2016
Endeffector
Wecanalsoexpressitas
threerotations (aroundeachofthecoordinateaxes)
followedbyatranslation
Howcanwe
establisha
relationwith
theother
expression?
11/3/2016
Endeffector
Location
Theorigin ofacoordinateframe relativeto
somebasecoordinateframeisspecified
bythetranslation:
z
z
y
x
R
11/3/2016
x
EPC431 Robotics and Automation
Endeffector
Orientation
Any3Dorientation relativetosomebase
coordinateframe canbespecifiedby:
threerotations,onearoundeachofthe
coordinateaxes.
z
z
y
x
y
W
11/3/2016
Endeffector
Orientation
Theserotationsarenamed roll,pitch,yaw
11/3/2016
Endeffector
Orientation
Theyaw transformationcanbeexpressed:
11/3/2016
Endeffector
Orientation
Thepitch transformationcanbeexpressed:
11/3/2016
10
Endeffector
Orientation
The roll transformationcanbeexpressed:
11/3/2016
11
Endeffector
Orientation
Theroll,pitch and yawtransformationis
thenexpressed:
11/3/2016
12
Endeffector
Finally,the transformation fromacoordinate
frame tothebaseframe isexpressed:
translation
11/3/2016
orientation
13
Endeffector
Rememberthatcanbeexpressedasa
4x4matrixwithelementsmij functionsofjoint
parameters1,...,N.
Letsomitthemforreadability:
11/3/2016
14
Endeffector
Asthetwotransformations
anddothesamething:
11/3/2016
15
Endeffector
Weobtaindirectlythetranslationvector:
11/3/2016
16
Endeffector
Wecanobtaintheyawangle:
Because :
arctan is -periodic.
Lets use our function arctan2 to get the right
angle.
11/3/2016
17
Endeffector
Knowingtheyawangle,wecanobtainthe
pitchangle :
Because :
18
Endeffector
Wecanobtaintherollangle:
Because :
19
Endeffector
Letsdefinethestatevector
Forward(Direct) kinematics
Given joint variables
q (q1 , q2 , q3 , q4 , q5 , q6 , qn )
End-effector position and orientation, Formula?
Y ( x, y, z , O, A, T )
11/3/2016
x
EPC431 Robotics and Automation
20
Endeffector
Aspreviouslyshown,
11/3/2016
21
InverseKinematics
Givenadesiredposition(P)&orientation(R)of
theendeffector
z
Findthejointvariableswhichcanbringthe
robotthedesiredconfiguration
q (q1 , q2 , qn )
y
Inverse Kinematics
From Position to Angles
22
11/3/2016
InverseKinematics
Moredifficult
Systematicclosedformsolutionin
generalisnotavailable
Solutionnotunique
Redundantrobot
Elbowup/elbowdown
configuration
Robotdependent
11/3/2016
(x , y)
23
InverseKinematics
Transformation Matrix
nx
n
T y
nz
sx
sy
sz
0
ax
ay
az
0
px
p y
T01T12T23T34T45T56
pz
1
2
3
4
5
6
2.
24
ASimpleExample
Revolute and
Prismatic
Joints
Combined
Finding :
y
arctan( )
x
More Specifically:
(x , y)
y
arctan 2( )
x
1
X
11/3/2016
Finding S:
S (x 2 y 2 )
EPC431 Robotics and Automation
25
InverseKinematicsofaTwoLinkManipulator
(x , y)
Find:
l2
l1
Given: l1, l2 , x , y
1, 2
Redundancy:
A unique solution to this problem
does not exist. Notice, that using the
givens two solutions are possible.
Sometimes no solution is possible.
(x , y)
11/3/2016
26
l2
(x , y)
c 2 a 2 b 2 2ab cos C
2
( x 2 y 2 ) l1 l2 2l1l2 cos(180 2 )
cos(180 2 ) cos( 2 )
l1
x 2 y 2 l1 l2
cos( 2 )
2l1l2
sin B sin C
b
c
sin 1 sin(180 2 )
sin( 2 )
2
2
l2
x y
x 2 y2
1 1
y
arctan 2
x
11/3/2016
x 2 y 2 l12 l2 2
2 arccos
2
l
l
1
2
l sin( )
y
2
1 arcsin 2
arctan 2
x 2 y2
x
27
l2
(x , y)
c 1 cos 1
c 1 2 cos( 2 1 )
(1) x l1 c 1 l 2 c 1 2
l1
(2) y l1 s 1 l 2 sin
(3) 1 2
(1) 2 ( 2) 2 x 2 y 2
1 2
l1 l2 2l1l2 c 2
Only Unknown
x 2 y 2 l12 l2 2
2 arccos
2
l
l
1
2
11/3/2016
Note:
cos(ab) (cosa)(cosb) (sina)(sinb)
28
Note:
x l1 c 1 l 2 c 1 2
l1 c 1 l 2 c 1 c 2 l 2 s 1 s 2
c 1 ( l1 l 2 c 2 ) s 1 ( l 2 s 2 )
y l1 s 1 l 2 sin
1 2
l1 s 1 l 2 s 1 c 2 l 2 s 2 c 1
c 1 ( l 2 s 2 ) s 1 ( l1 l 2 c 2 )
c1
x s1 ( l 2 s 2 )
( l1 l 2 c 2 )
x s1 ( l 2 s 2 )
( l 2 s 2 ) s 1 ( l1 l 2 c 2 )
y
( l1 l 2 c 2 )
1
x l 2 s 2 s 1 ( l1 2 l 2 2 2 l1 l 2 c 2 )
( l1 l 2 c 2 )
s1
y ( l1 l 2 c 2 ) x l 2 s 2
11/3/2016
x2 y2
y ( l1 l 2 c 2 ) x l 2 s 2
1 arcsin
x2 y2
29