Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Velocities
The Jacobian
Maki K. Habib
Mechanical Engineering Department
School of Sciences and Engineering
The American University in Cairo
maki@ieee.org
1
AUC_MENG 4757 Fall 2014
2
AUC_MENG 4757 Fall 2014
Jacobian
J bi
To study Jacobian, there is a need t0 look at:
Differential motion,
Linear and angular motion,
V l i propagation,
Velocity
i
Explicit form.
3
AUC_MENG 4757 Fall 2014
Differential Motions
Forward Kinematics: Map (Joint space) X (Cartesian space)
X involves the position and the orientation.
orientation so there is a part that discusses the
linear velocity and there is another part that represents the angular velocity
p
corresponding
p
g to a given
g
end-effecter location
The jjoint displacements
were obtained by solving the kinematic equation for the manipulator.
IIn order
d to
t coordinate
di t joint
j i t motions,
ti
we are going
i to
t derive
d i
the differential relationship between the joint displacements
and the end
end-effecter
effecter location,
location and then solve for the
individual joint motions.
X+X
+
X X
The question is: what is X given +? (knowing theta and delta theta)
The answer is:
Th
i
Finding the relation between and X can be achieved
through a linear relationship that connect them.
X is going to be related to by is a matrix called
Jacobian
5
AUC_MENG 4757 Fall 2014
Differential Motion
Forward Kinematics
x
Instantaneous Kinematics
+ x+ x
Relationship: x
x
Involves
l
two things
hi
Linear Velocity
Angular Velocity
6
In addition
addition, another way can be examined in stead of
propagating velocities.
Here,, we are ggoingg to examine the structure of the
kinematics of a robot and its impact on the end-effector
of velocities and that will lead to something really
interesting that we call the explicitly form of the
Jacobian matrix.
Th t is
That
i
we are going to analyze the kinematics, and find-out
that in each of the columns of this matrixes
we are going to have an association with a specific
joint.
That means, if we take the first column, this first column
corresponds to the first joint and its impact on the velocity of
th end-effector
the
d ff t velocities
l iti (linear
(li
and
d angular).
l )
8
AUC_MENG 4757 Fall 2014
10
AUC_MENG 4757 Fall 2014
Differential
off a Frame
Diff
ti l Motions
M ti
F
The differential motions of a frame can be
divided into the following:
g
Differential translations,
translations
Differential rotations,
Differential
Diff
ti l transformation
t
f
ti
(Translations and Rotations)
11
AUC_MENG 4757 Fall 2014
1
0
Trans(dx , dy , dz )
0
0 0 dx
1 0 dy
0 1 dz
0 0 1
12
0 cos
Rot ( x , )
0 sin
0
0
cos
0
Rot ( y , )
sin
cos
sin
Rot ( z , )
0
sin
cos
0
0
0
0 sin
1
0
0 cos
0
0
0
sin
cos
0
0
0 0
0 0
1 0
0 1
13
1 0
0 1
R ( x, x )
Rot
0 x
0 0
1
0
Rot ( y , y )
y
z
Rot ( z , z )
0
0
x
1
0
0 y
1
0
0
1
z
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
15
AUC_MENG 4757 Fall 2014
1 0
0 1
Rot ( x, x ) Rot ( y, y )
0 x
0 0
1
x y
0 1
0 0
0 y
1 0
0
x
1
0
0
1
y
x
0 y
1
0
0
1
0
0
0
0
0
18
AUC_MENG 4757 Fall 2014
1
0
Rot ( y, y ) Rot ( x, x )
y
0
1
0
0 y
1
x y
1
x
0
0 1 0
0 0 1
0 0 x
1 0 0
0
0
0
x
1
0
y 0
x 0
1
19
AUC_MENG 4757 Fall 2014
0
1
0
Rot ( y, y ) Rot ( x, x )
y
0
1
x
0
x y
1
x
0
0 y 0
y 0 1
0
0
x 0
x
1
0
1
0 y x
y 0
x 0
1
1
0
0
0
1
x
0
y 0
x 0
1
20
AUC_MENG 4757 Fall 2014
21
AUC_MENG 4757 Fall 2014
Rot(kr , ) =
0
0
0
1
vers = ( 1 cos ),
22
AUC_MENG 4757 Fall 2014
lim sin d
lim cos 1
li vers 0
lim
1
k d
z
Rot (k , d )
k y d
k z d
1
k x d
0
k y d
k x d
1
0
0
0
1
23
Where
k x d x
k y d y
k z d z
Rot (k , d )
y
0
AUC_MENG 4757 Fall 2014
z
1
y
x
0
0
24
25
AUC_MENG 4757 Fall 2014
1 0
0 1
0 x
0 0
0
x
1
0
0 1
0 0
0 y
1 0
1
z
1 x y z
x y
z
y x z y z x
0
0
0 y
1
0
0
1
y
x
1
0
0 1
0 z
0 0
1 0
z
1
0
0
0 0
0 0
1 0
0 1
0
0
0
26
AUC_MENG 4757 Fall 2014
z
y
z
1
y
x
0
0
0
k
Thus, a differential motion about any general axis
T
29
T andd assume
We denote
W
d t the
th original
i i l frame
f
as
that the change in the frame T as result of a
diff
ti l transformation
t
f
ti is
i expressedd as dT :
differential
After a differential change in the location of the object,
the new location can be found with respect to the
reference frame by pre-multiplying the
transformation matrix by the differential transforms.
New location =
T dT Trans(dx , dy , dz ) Rot ( k , d ) T
30
AUC_MENG 4757 Fall 2014
Trans(dx, dy, dz )
Is a transformation representing a
differential translation of dx, dy
y,, dz
in base coordinate
Rot (k , d )
Is a transformation representing a
d about
diff
differential
ti l rotation
t ti
b ta
vector k also in base coordinate.
dT
Is given by
32
AUC_MENG 4757 Fall 2014
Trans(dx, dy, dz )
Rot
ot (k , d )
Is a transformation representing a
translation of dx, dy
y,, dz with
respect to coordinate frame T
Is a transformation representing a
d about
diff
differential
ti l rotation
t ti
b ta
vector k also respect to coordinate
T .
f
frame
dT
given by
y
is g
dT T
(Trans(dx, dyy, dz ) Rot (k , d ) I )
34
AUC_MENG 4757 Fall 2014
0 0 dx 1
1 0 dy z
0 1 dz y
0 0 1 0
0
z
y
z
0
y
x
0
0
z
1
x
0
y 0 1 0 0 0
x 0 0 1 0 0
1
0 0 0 1 0
1 0 0 0 1
dx
dy
dz
0
35
d d xi d y j d z k
xi y j z k
These two vectors are combined to form a row matrix
known as the differential motion vector (D)).
D dx dy dz x
y z
T
36
represents
current frame)
38
[dT ] [][T ] [T ][ ]
T
[ ] [T ] [][T ]
T
nx
o
[T ]1 x
a x
ny
oy
ay
nz
oz
az
p.n
p.o
p.a
0
T
z
1
T
T
[ ] [T ] [][T ] T
y
0
All elements of
AUC_MENG 4757 Fall 2014
z
y
T z
0
y
T x
z
0
y
x
dx
d
dy
d
dz
dx
T
dy
T
dz
0
T
39
B simplifying
By
i lif i the
th left
l ft side
id off the
th previous
i
equation,
ti we will
ill gett
T
x .n
y .o
z .a
dx n.[( p ) d ]
dy o.[( p ) d ]
dz a.[(
[( p ) d ]
40
Robot
Jacobian
dq1
dq2
dq
3
dq4
dq5
dq6
Joint Coordinates
Coordinate i:
i Revolute
d i Prismatic
Hence, joint
j i coordinate-i
di
i can be
b written
i
as
qi ii i di
with
and
0 Revolute
1 Prismatic
i 1 i
q (q1q1q1.....qn )
AUC_RCSS 501 Spring 2014
44
x1 f1 (q )
Find the relationship between the two that is
x f (q)
2 2
between X and q
. .
X f (q ),
)
.
.
. .
(q )
xm f m (q
and then compute their differentiations
differentiations.
f1
f
q1 ...... 1 qn
q1
qn
f
f
x2 2 q2 ...... 2 qn
q1
qn
Writing it in
x1
.
.
.
xm
.
.
.
.
.
.
fm
f
q1 ...... m qn
q1
qn
xm1 J mn (q)qn1
AUC_RCSS 501 Spring 2014
f1 f1
q q
1
2
x1 f
...
x 2
2
q1
..
.
a matrix
i form
f
..
.. .
.
xm where
f m
q1
T k it with
Take
ith respectt to
t time
ti
xm1 J mn (q )qn1
f1
qn
q1
... ... ... ... q
2
..
..
..
qn
f m
qn
J ij (q )
f i (q )
q j
45
Differential Relationship
Jacobian: Direct Differentiation
Consider a two degree-of-freedom planar robot arm, as shown
in Figure below.
The kinematic equations relating the end-effecter coordinates
andd tto the
th joint
j i t displacements
di l
t 1 and
d 2 are given
i
by
b xe, ye
From
Harry Asada
We
are concernedd with
i h small
ll movements
of the individual joints at the current
position, and
wantt to
t know
k
the
th resultant
lt t motion
ti off
the end-effecter.
This can be obtained by the total derivatives
of the above kinematic equations:
46
where
47
AUC_RCSS 501 Spring 2014
48
AUC_RCSS 501 Spring 2014
Differential Kinematics
Differential Relationships
l1
l2
C123
S
0
123
T
E
0
S123
C123
0
0
1
0
0
1
49
1 1
12
123
1 2 3
Which can be written
1
X
Y J 2
3
Where the Jacobian J is
AUC_MENG 4757 Fall 2014
50
Example:
z
Y
X
r cos
A
P r sin
X f (1 ,......, n )
This corresponds to
x r cos
y r sin
zz
AUC_MENG 4757 Fall 2014
51
Prof. Dr. Maki K. Habib
dx dr cos r sin d
dy dr sin r cosd
dz dz
x r cos
y r sin
zz
r sin
r cos
0
0 dr
0 d
1 dz
dz 0
sin
cos
r
0
0 dx
0 dy
1 dz
52
y/r
y / r2
0
0 dx
0 dyy
1 dz
53
AUC_MENG 4757 Fall 2014
Velocity Relationships
In the field of robotics Jacobian relates
between joint velocities and Cartesian (hand)
velocities:
JACOBIAN matrix J(()
x
X J
y
1
d 2
z
X
1
dt ...
x
N
f ( ,....., )
i n
[ f (1 ,....., n )]
X
i
i
i 1
i n
i i
i 1
AUC_MENG 4757 Fall 2014
Jacobians
Suppose we have a set of equations Yi in terms of a set of
variables xj
55
Prof. Dr. Maki K. Habib
Y J(X)X
56
Y1 f
Y 2
2 x1
..
.
..
.. .
.
Yi
f i
x1
f1
x 2
...
f1
x j
x1
f i
x j
f1
2
f 2
2
f 3
2
f 4
2
f 5
2
f 6
2
f1
3
f 2
3
f 3
3
f 4
3
f 5
3
f 6
3
f1
4
f 2
4
f 3
4
f 4
4
f 5
4
f 6
4
f1
5
f 2
5
f 3
5
f 4
5
f 5
5
f 6
5
f1
6
f 2
1
6
f 3 2
6 3
f 4 4
6
5
f 5
6
6
f 6
6
58
0V
6*1
vector and
is 6
1 vector,
(or X )
is 6*1.
v
0
X
V 0
x
y
z
AUC_MENG 4757 Fall 2014
Prof. Dr. Maki K. Habib
59
61
AUC_MENG 4757 Fall 2014
x1 dx J11
x dy J
2 21
x3 dz J 31
x4 x J 41
x5 y J 51
x6 z J 61
J12
J 22
J 32
J 42
J 52
J 62
J13
J 23
J 33
J 43
J 53
J 63
J14
J 24
J 34
J 44
J 54
J 64
J15
J 25
J 35
J 45
J 55
J 65
J16 1
J 26 2
J 36 3
J 46 4
J 56 5
J 66 6
The first term on the right-hand side of the above equation accounts for
the end-effecter velocity induced by the first joint only, while the second
term represents the
h velocity
l i resulting
l i from
f
the
h second
d joint
j i motion
i only,
l
and so on for other terms.
62
AUC_MENG 4757 Fall 2014
det J 0
64
x1 dx J11
x dy J
2 21
x3 dz
d J 31
x 4 x J 41
x5 y J 51
x6 z J 61
J12
J 22
J13
J 23
J14
J 24
J15
J 25
J 32
J 42
J 52
J 33
J 43
J 53
J 34
J 44
J 54
J 35
J 45
J 55
J 62
J 63
J 64
J 65
J16 1
J 26 2
J 36 3
J 46 4
J 56 5
J 66 6
[T6 D] [T6 J ][ D ]
This means, for the same joint differential motion,
premultiplied with the Jacobian relative to the last frame,
we can get the differential motion relative to the last frame
T6 dx T6 J11
T6 T6
dy J 21
T6 dz T6 J 31
T6 T6
x J 41
T6y T6 J
T T 51
6
6
z J 61
T6
J12
T6
J13
T6
J 22
T6
J 32
T6
J 23
T6
J 33
T6
T6
J 42
T6
T6
J 52
T6
J 62
T6
J14
T6
J15
J 24
T6
J 34
T6
J 25
J 35
J 43
T6
J 44
T6
J 45
T6
J 53
T6
J 54
T6
J 55
T6
J 63
T6
J 64
T6
J 65
T6
J16 d1
T6
J 26 d 2
T6
J 36 d 3
T6
J 46 d 4
T6
J 56 d 5
T6
d
J 66 6
T6
66
Velocity
y and Inverse Velocity
y Kinematics
In order to move the manipulator at constant velocity, or
at any prescribed velocity,
we must know the relationship between
the velocity of the tool and
the joint velocities.
To calculate the velocity, the Jacobian matrix should be
constructed as follows
J J (1)
J ( 2)
...... J ( N 1)
J(N )
67
AUC_MENG 4757 Fall 2014
l 2 S12 l3 S123
l 2C12 l3C123
1
l3 S123
l3C123
1
is a
V J ( )
Lets
L
t expandd the
th product
d t on the
th right.
i ht
Let J(i) be the ith column of the Jacobian. Then ,
J J (1)
J ( 2)
...... J ( N 1)
J(N )
68