Professional Documents
Culture Documents
The
study
of
dynamics
can
be
divided
into
two
parts:
kinema0cs,
which
treats
only
geometrical
aspects
of
mo0on,
and
kine0cs,
which
is
the
analysis
of
the
forces
causing
the
mo0on
1
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
BODY
!" ! J!!"#
M#" " C!#"# " D!#"# " g!!" " g 0 ! $ " $wind " $ wave #
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
ze
NED
BODY
ECEF/ECI
e t
ECEF/ECI
ye
ye
yi
xi
xe
xe
ECI
{i}:
Earth
centered
iner0al
frame;
non-accelera0ng
frame
(xed
in
space)
in
which
Newtons
laws
of
mo0on
apply.
ECEF
{e}:
Earth-Centered
Earth-Fixed
frame;
origin
is
xed
in
the
center
of
the
Earth
but
the
axes
rotate
rela0ve
to
the
iner0al
frame
ECI.
NED
{n}:
North-East-Down
frame;
dened
rela0ve
to
the
Earths
reference
ellipsoid
(WGS
84).
BODY
{b}:
Body
frame;
moving
coordinate
frame
xed
to
the
vessel.
xb-
longitudinal
axis
(directed
from
a_
to
fore)
yb-
transversal
axis
(directed
to
starboard)
zb-normal
axis
(directed
from
top
to
bo`om)
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
Coordinate-free
vector
!
u " u n1 !
n 1 # u n2 !
n 2 # u n3 !
n3
!
n i !i " 1,2,3" are the unit vectors that define #n$
! in !n"
Coordinate
form
of
u
un ! !u n1 , u n2 ,u n3 " !
4
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
moments
linear and
positions and
"
v (sway)
q (pitch)
yb
r (yaw)
p (roll)
u (surge)
w (heave)
xb
5
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
zb
ECEF
e
!
pb/e
position:
Longitude and
! !3
latitude
z
N
NED
n
pb/n
!
position:
! !3
b
!
v b/n
linear
velocity
Body-fixed
! !3
angular
Body-fixed
!!
6
" nb
, #!
v bb/n
$ bb/n
, %!
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
! S3
p
" bb/n !
m bb
M
N
! !3
moment
! S2
Body-fixed
! !3
velocity
X
f bb
! nb !
(Euler angles)
! en !
"
Attitude
Body-fixed
force:
f bb
mbb
! !3
Rota0on matrix:
RR ! ! R ! R ! I,
Example:
det R ! 1
Since R is orthogonal, R !1 ! R !
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
! to ! Rtofrom! from
! ! a :! S!!"a
!! 3
!2
!3
!! 1
!!2
!1
!1
where
S
!
!S
!
is
a
skew-symmetric
matrix
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
, ! "
!2
!3
where
R 11 ! !1 ! cos !" "21 " cos !
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
!! "
! ! !1, 0, 0" !
!! "
x2
u2
U
u3
v3
R z,! !
s!
c! 0
y3
y2
v2
c! !s! 0
x1
u1
u2
x2
w2
U
w1
c! 0 s!
R y,! !
1 0
z1
z2
!s! 0 c!
1 0
R x,! !
10
0 c! !s!
0 s!
v1
v=v2
w=w0
c!
z0=zb
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
w1
z1
y1
y0=yb
R nb !! nb " !
s!c"
!s"
c"s#
c"c#
11
"!#
!$
!#
"!%
"!$
!%
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
Euler
integra0on
Component form:
12
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
#
#
!"
# R !x,!
0
""
0
# R !x,! R !y,"
0
#"
#
:! T!1
$ !" nb "" nb #
where
T!1
! !! nb " "
!s!
c"
c!s"
T !! " "
!
nb
0 !s" c!c"
T! !!! nb " !
!"
"!#
0 !#
13
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
1 s"t!
c"t!
!s"
c"
0 s"/c! c"/c!
No0ce
that:
1.
Singular
point
at
! ! " 90 o
!
T!1
! !! nb " " T! !! nb "
Component form:
14
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
where
S!! bb/n " !
!r
0 !p
!q p
q
#
"
R nb !$ nb "
0 3!3
v bb/n
0 3!3
T$ !$ nb "
% bb/n
3-parameter
representa0on
! nb ! !!,",#" !
with
singularity
at
! ! " 90 o
Component
form:
N! " u cos ! cos " # v!cos ! sin" sin# ! sin! cos #"
# w!sin! sin# # cos ! cos # sin""
15
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
#
#
! " !!1 , ! 2, ! 3! !
! ! cos
"
2
q!
"
2
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
"1
"2
"3
cos
#
2
! sin
#
2
!Q
" ! ""
1 ! 2!!
2
1
17
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
R nb !q" !1 ! R nb !q" !
!"
!" !
! 1
2
"!
!I3"3 # S!""
# bb/n #
where
!!1 !! 2 !! 3
Tq !q" !
1
2
"
!! 3
!2
!3
"
!! 1
!!2
!1
"
NB!
nonsingular
to
the
price
of
one
more
parameter
1
I
4 3#3
Component
form:
!! " ! 1 !" 1 p # " 2 q # " 3 r"
2
"! 1 " 1 !!p ! " 3 q # " 2 r"
2
"! 2 " 1 !" 3 p # !q ! " 1 r"
2
"! 3 " 1 !!" 2 p # " 1 q # !r"
2
18
#
#
#
#
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
b/n
"
R nb !q"
0 3!3
v bb/n
0 4!3
Tq !q"
$ bb/n
4-parameter
representa0on
q ! !!, " 1, "2, "3 ! !
Nonsingular
but
one
more
ODE
is
needed
Component
form:
N! " u!1 ! 2! 22 ! 2! 23 " # 2v!! 1 ! 2 ! ! 3 "" # 2w!! 1 ! 3 # ! 2 "" #
2! 21
2! 23 "
!
# 2w!! 2 ! 3 ! ! 1 "" #
" 2u!! 1 ! 2 # ! 3 "" # v!1 !
D! " 2u!! 1 ! 3 ! ! 2 "" # 2v!! 2 ! 3 # ! 1 "" # w!1 ! 2! 21 ! 2! 22 " #
19
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
#
#
#
#
20
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
21
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
q! " Tq !q"!bnb #
d
!q! q"
dt
!
2 !1
! q !q"q
! ! 0 (typically 100!
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
x! " !!x
23
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
s!s# ! c!c#s"
s!c"
c!c# ! s#s"s!
!c!s# ! s"s!c#
!s"
c"s#
c"c#
R 11 R 12 R 13
"
R 21 R 22 R 23
R 31 R 32 R 33
! ! atan2!R 32 , R 33 "
R 31
1 ! R 231
# ! atan2!R 21 , R 11 "
where
atan2(y,x)
is
the
4-quadrant
arctangent
of
the
real
parts
of
the
elements
of
x
and
y,
sa0sfying:
24
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
ze
NED
{n}-frame
Longitude:
l
(deg)
La0tude:
m
(deg)
Ellipsoidal
height:
h
(m)
N
E
D
ECEF
{e}-frame
ye
xe
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
! en ! !l, !" ! ! S 2
n
b
p! eb/e ! R en !" en "p! b/e
! R en !" en "R nb !" nb "v b/e
#
cos l ! sin l 0
R en !! en " ! R z,l R y,!!! "2 !
sin l
0
cos l 0
0
26
! sinl sin!
cos l
! sinl cos !
cos !
! sin!
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
27
Ren !! en " ! Ro ! constant
! en ! constant
R en !! en " !
! en ! !l, !" ! ! S 2
! sinl sin!
cos l
! sinl cos !
cos !
! sin!
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
Coordinates
!
e
Satellite
naviga0on
system
measurements
are
given
in
the
ECEF
frame:
pb/e ! !x, y, z"
Not
to
useful
for
the
operator.
Presenta0on
of
terrestrial
posi0on
data
p
eb/e
!
!x,
y,
z"
!
is
therefore
made
in
terms
of
the
ellipsoidal
parameters
longitude
l,
la0tude
m
and
height
h.
Transforma0on:
! en ! !l, !" !
and
height
h
28
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
Comments
re
! 6 378 137 m
rp
! 6 356 752 m
! 0. 0818
N!
Eccentricity of ellipsoid
r 2e
e!
1 ! ! r pe "
!1
#
#
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
30
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
x
y
z
31
N " h sin!
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
xb
xflow
yb
xstab
zb
32
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
! ! ""#
Sideslip
(driT)
angle:
! ! arcsin
U!
! small
v
U
u 2 " v2
"
!!
v
U
Remark:
In
SNAME
(1950)
and
Lewis
(1989)
the
sideslip
angle
for
marine
cra_
is
dened
according
to:
SNAME = -
The
sideslip
deni0on
follows
the
sign
conven0on
used
by
the
aircra_
community,
for
instance
as
in
Nelson
(1998)
and
Stevens
(1992).
This
deni0on
is
more
intui0ve
from
a
guidance
point-of-view
than
SNAME
(1950).
Note
that
the
heading
angle
equals
the
course
angle
(y
=
)
when
the
sway
velocity
v
=
0,
that
is
when
there
is
no
sideslip.
34
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
v stab ! R y,! v b
xflow
xstab
u
v
U
!
R !y,! R !z,!"
v ! U sin "
cos "
cos! 0 sin!
R y,! !
R z,!" ! R !z," !
U!
sin " 0
!sin! 0 cos!
35
zb
or
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
u 2 " v2
ur ! u ! uc
vr ! v ! vc
Ur !
wr ! w ! wc #
Hence,
36
u 2r " v 2r " w 2r
v r ! U r sin!" r "
r
! r ! tan!1 w
ur
" r ! sin!1 v r
Ur
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
1) A
vehicle
moving
on
a
straight
line
in
calm
water
(U > 0 and
v
=
0)
will
have
a
zero
sideslip
angle
= 0
! ! arcsin
v
U
! small
"
!!
v
U
2) As
soon
as
you
start
to
turn,
the
sway
velocity
will
be
non-zero
and
consequently
the
vehicle
will
sideslip,
6=
0
.
This
is
referred
to
as
sideslip
due
to
turning.
3) A
vehicle
is
also
exposed
to
environmental
forces,
which
induces
a
ow
velocity
(wind/current).
This
again
gives
a
second
contribu0on
to
sideslip.
Moreover,
37
vr
Ur
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
xb
xflow
v ! U sin "
Linear
approxima0on:
u ! U, v ! !U, w ! "U
xstab
zb
!flow ! T!U"!
Lecture Notes TTK 4190 Guidance and Control of Vehicles (T. I. Fossen)
T!U" !diag#1,1/U,1/U,1,1,1$