Abstract
A nonlinear six degree-of-freedom dynamic model is presented for a marine surface vessel. The formulation closely
follows the current literature on ship modeling. It considers the effects of inertial forces, wave excitations, retardation
forces, nonlinear restoring forces, wind and current loads along with linear viscous damping terms. The capability of the
model is shown through its prediction of the ship response during a turning-circle maneuver. The ship model is used
herein as a test bed to assess the performance of the proposed controller. The present study assumes that the ship is
fully actuated and all state variables of the system are available through measurements. A nonlinear robust controller,
based on the sliding mode methodology, has been designed based on a reduced-order version of the ship model. The
latter accounts only for the surge, sway and yaw motions of the ship. The initial simulation results, generated based on
the reduced-order model of the marine vessel, demonstrate robust performance and good tracking characteristics of the
controller in the presence of structured uncertainties and external disturbances. Furthermore, they illustrate the adverse
effects of the physical limitations of the propulsion system on the controlled response of the ship. Next, the same
controller is implemented on the six degree-of-freedom model of the ship. The simulation results reveal tracking
characteristics of the controller that are similar to those observed in the initial results, in spite of significantly larger
modeling uncertainties.
Keywords
Nonlinear robust controller, ship modeling and control of marine surface vessels, sliding-mode controller
Received: 27 October 2008; accepted: 27 July 2009
*This paper was contributed by Professor Raouf Ibrahim
1. Introduction
The dynamic behavior of marine surface vessels is
highly nonlinear. Moreover, it is signicantly inuenced by environmental disturbances induced by
winds, random sea waves and currents. Therefore,
good track-keeping and course-changing characteristics
of the ship can only be achieved by implementing controllers that are robust to both modeling uncertainties
and external disturbances.
Nonlinear control theory has been extensively used
in both track-keeping and course-changing maneuvers
of marine vessels (Fossen, 2000; Pivano et al., 2007).
802
model-based schemes. As a consequence, these techniques are susceptible to modeling inaccuracies. On the
other hand, the sliding mode methodology (Slotine and
Li, 1991; Khalil, 1996) enables one to design robust controllers without requiring a full knowledge of the systems nonlinearity (Le et al., 2004). The design of
sliding mode controllers is mainly based on knowing
the upper bounds of the modeling inaccuracies. The performance of these controllers tends to be robust to both
structured and unstructured uncertainties.
The focus of the current work is to develop a nonlinear sliding mode controller to yield a robust performance of the ship during track-keeping maneuvers. The
controller is designed based on a reduced-order model
of the ship, which only considers the surge, sway and
yaw motions. The marine surface vessel is assumed to
be fully actuated and all its state variables are available
through direct measurements.
A six degree-of-freedom nonlinear model for a
marine surface vessel is presented in the next section.
It will be used as a test bed to assess the performance of
the proposed controller. The model follows closely the
existing literature on ship modeling (Newman, 1977;
Fossen, 2005; Perez, 2005). Its formulation accounts
for the wave excitation forces, retardation forces, inertial forces, nonlinear restoring forces, wind and current
loads along with linear viscous damping terms. In addition, the physical limitations of the propulsion system
are accounted for in the model formulation of the ship.
The proposed nonlinear robust controller is discussed
in Section 3. The digital simulations are presented in
Section 4. They illustrate the capability of the nonlinear
six degree-of-freedom model in predicting the ship
response during a turning-circle maneuver. Moreover,
they demonstrate a robust tracking characteristic of the
proposed controller in both the reduced- and the fullorder models of the ship, in spite of signicant modeling dierences between the two cases. Furthermore,
the results reveal the adverse eects of the physical
where FX , FY and FZ are the components of the resultant force, F, of all externally applied forces on the
ship along the i , j and k directions, respectively.
o o
o
Moreover, the angular momentum balance around
point o will yield the following three scalar equations
governing the rotational motion of the marine vessel:
803
rG
~
p l)
ol
i0 (r
u )
rge
(su
j0
k0
Body-fixed
ro
r*
z0
ay )
q
(pitch )
v
frame
G
r
(yaw )
w
(heave )
(sw
x0
y0
hX, Y, t
650
X
i1
F jw e t
650
X
p
Xj , !i 2S!i ! cos!i t "i
i1
3
where Ai and "i are the amplitude and the phase angle
of the ith frequency component of the wave height,
respectively. "i is considered to be a random variable
with a uniform distribution
pbetween 0 and 2. Ai is
determined from 2S!i ! where S! is the wave
spectrum. The latter is assumed to be the Modied
Pierson-Moskowitz wave spectrum. It is dened as
(Perez, 2005)
S!
AS BS =!4
e
!5
kX cos Y sin j , !i
j 1, . . . , 6
for
where
is the wave encounter angle.
Moreover, Xj , !i and j , !i are the magnitude
and phase angle of the force transfer function dened
by the ratio of the wave excitation force inuencing the
jth degree-of-freedom of the ship over the wave amplitude. The six force transfer functions are determined
numerically by using a 3-D potential theory software
WAMIT (Lee and Newman, 2004). It should be mentioned that the latter does not account for the eect of
the ship forward speed.
The frequency dependent added mass, akl !, and
wave damping, bkl ! terms are also computed by
using WAMIT (Lee and Newman, 2004) for a frequency range between 0 and 6.5 rad/sec. The impulse
response kkl t in the kth direction due to a unit velocity
impulse in the lth direction can be related to the wave
damping term, bkl !, as follows (Ogilivie, 1964;
Kristiansen et al., 2005)
2
kkl t
Z1
bkl ! bkl 1 cos! t d!
0
804
kkl t _l d
for
k, l 1, . . . , 6
In the current study, the seakeeping problem will be inuenced by the actual motion of the ship through the input
term, which is considered herein to be the perturbation in
the lth velocity component of the ship. Therefore, _l is
dened to be the variations around the moving average
value of the instantaneous lth velocity component of the
ship. The moving average is determined by implementing
a forgetting factor, which puts signicantly heavier
weights on recent than on older data of the ship velocity.
Furthermore, the retardation force, F retardation
, representk
ing the memory eect in the P
kth equation of motion of the
ship can be evaluated from 6l1 ykl .
Next, the buoyancy force and moment are computed
based on the instantaneous submerged volume of the
ship with respect to the sea free-surface. These forcing
functions, which are balanced by the ships own weight,
are determined by integrating over the entire submerged volume of the ship. This is done herein by dening a 3-D mesh that partitions the ship hull into
32000 cubes (see Figure 4). The dimensions of each
cube are selected to be 5, 2 and 0.04 m in the i , j
o o
and k directions, respectively. The computation of the
o
instantaneous submerged volume of the ship involves
the evaluation of a degree of submergence, ,
for each block. i corresponding to the ith block is
dened by
i
Zc h Xic , Yic , t
1
i sat
9
block thickness
2
where Xic , Yic , Zic are the coordinates of the centroid of
the ith block (see Figure 4) and h is the elevation of the sea
free-surface at Xic , Yic . Both the centroid and h
are dened with respect to the inertial frame. The lower
and upper saturation limits are set to 0 and 1, respectively.
Note that i 0 reects the case in which the ith block is
located above the sea free-surface. However, i 1 and
0 5 i 5 1 correspond to total and partial submergence
of the ith block, respectively. The instantaneous submergedP
volume of the ship can now be computed from
Vsub 32000
i1 i Viblock . The coordinates of the center of
buoyancy (CB) are calculated as follows
805
P32000
xCB
i1
P32000
yCB
i1
P32000
zCB
i1
xiblock i Viblock
Vsub
yiblock i Viblock
Vsub
i ziblock i Viblock
Vsub
11
13
q
2
V2pr 0:7npr Dpr
14
15
3
2.5
Righting Arm, GZ [m]
1.5
1
0:7Dpr =2 arctan
0.5
0
0
12
20
40
f [deg]
60
80
100
Vpr
0:7npr Dpr
16
806
17a
17b
fD
Vrud
2Fdeliv
th
V2pr
water Adisk
18
and
M r
rud
oCP
f
rud
19
d xr
fD
Cp
rud
Vrud
V pr
Or
fL
Mrud
io
~
xo
jo
~
s
yo
3. Controller Design
The controller is designed based on a reduced-order
model whose formulation is obtained from equations
(1) and (2) by only retaining the second order dierential equations governing the surge, sway and yaw
motions of the ship. In addition, all terms pertaining
to the heave, pitch and roll motions have been deleted
from the selected
equations.
R
R
R Dening the state vector to
be xT u d, v d, r d, u, v, r, the three second
order dierential equations of motion can be converted
to six rst order state equations that can be expressed in
the following compact form:
x_ f x G x u
20
where f x represents the eects of inertial forces,
gravitational
acceleration, buoyancy forces, wave excitation forces, retardation forces, linear viscous
terms,
wind and current resistive forces. The G63 x matrix
can be expressed as 033 diag g1 , g2 , g3 T .
In the current work, the marine vessel is assumed to
be fully actuated. Its three control variables represent
cont
the propeller thrust, Fcont
th , the side thrust, F th sway , and
the rudder lift force, fL . As a consequence, the control
(20) can now be dened as
hvector, u , in equation
i
cont
Fcont
th , Fth sway , fL . Moreover, all state variables of
the system are assumed to be available through
measurements.
807
i 1, . . . , 3
21
i 1, . . . , 3
22
1d 2
s ei , t i jsi j i 1, . . . , 3
2 dt i
23
50
LD
Y [m]
150
DT
250
350
100
100
200
X [m]
300
808
4
uship
3.5
ud
3
2.5
2
1.5
1
0.5
0
20
40
60
Time [sec]
80
100
Xerror [m]
0.5
0
0
x 10
20
40
60
80
100
deliv
F th
[N]
250
Xd
200
50
Tpr [Nm]
X [m]
100
1
150
50
x 10
1
20
60
40
Time [sec]
x 10
70
80
100
70
80
100
2.3
2.2
20
2
80
60
60
1
0
40
20
100
2.258
2.256
0
1
0
150
50
x 10
50
60
40
60
Time [sec]
100
809
because the same controller was used herein for both
the reduced- and the full-order models of the ship.
Thus, the controller had to perform the same task
with signicantly higher modeling errors in the case
of the full-order model than in the case of the
reduced-order model. Moreover, Figure 15 shows that
the error in the yaw angle remains well within the
4
ud
3.5
u ship
3
2.5
2
1.5
1
0.5
0
0
80
60
40
Time [sec]
20
100
0.5
2
error [rad]
20
x 10
40
60
80
100
0
1
20
40
60
Time [sec]
80
100
Xerror [m]
Y error [m]
0.5
0
0
x 10
20
40
60
80
100
70
80
100
70
80
100
deliv
Fth
[N]
2
250
Xd
200
150
x 10
1
2.26
2.25
1
0
Tpr [Nm]
X [m]
100
50
0
50
x 10
20
40
40
50
60
60
2
x 10
2.6
2.2
100
150
1
0
0
1
20
40
60
Time [sec]
2
0
2
80
20
100
40
50
60
40
60
Time [sec]
Figure 14. Error in the surge position of the ship along with
the deliverable thrust and its corresponding propeller shaft
torque generated based on the full-order model of the ship.
810
0.03
0.02
0.5
0.01
1
0
2
x 10
20
40
60
80
100
q [rad]
Y error [m]
error [rad]
0.01
0
0.02
2
4
0
0.03
20
40
60
Time [sec]
80
100
40
60
Time [sec]
80
100
x 10
0.4
0.2
f [m]
Z [m]
20
0.6
0.2
0.4
0.6
0.8
20
40
60
Time [sec]
80
100
4
0
20
60
40
Time [sec]
80
100
5. Conclusions
A nonlinear six degree-of-freedom dynamic model is
presented herein for the purpose of control of marine
surface vessels. The formulation closely follows the
811
Notation
AT , AL ,
Arud,Adisk,
Dpr ,
H1=3 ,
k, ,
L, Lpp ,
m, I,
p, q, r,
o o
T,
u, v, w,
xG , yG , zG ,
water , air ,
, ,
,
o
References
Abbott IA and Von Doenhoff AE (1958) Theory of Wing
Sections, including a Summary of Airfoil Data. New
York, USA: Doves.
Barr RA, Miller ER, Ankudinov V and Lee FC (1981)
Technical basis for maneuvering performance standards,
U.S. Coast Guard Report CG-8-81, NTIS ADA 11474.
Berge SP, Ohtsu K and Fossen TI (1998) Nonlinear control
of ships minimizing the position tracking errors, in
Proceedings of the International Federation of Automatic
Control (IFAC) Conference on Control Applications in
Marine Systems (CAMS98). 2730 October 1998,
Japan: Fukuoka, pp. 141147.
812
Moreira L, Fossen TI and Guedes Soares C (2007) Path following control system for a tanker ship model. Ocean
Engineering OE-34: 20742085.
Newman JN (1977) Marine Hydrodynamics. Cambridge,
Massachusetts: MIT Press.
Oil Companies International Marine Forum (OCIMF)
(1994). Prediction of Wind and Current Loads on Very
Large Crude Carriers (VLCCs). London: Witherby & Co.
Ogilvie TF (1964) Recent progress toward the understanding
and prediction of ship motion, in The Office of Naval
Research
(ONR)
5th
Symposium
on
Naval
Hydrodynamics. 1012 September 1964, Bergan, Norway.
Perez T (2005) Ship Motion Control. New York: SpringerVerlag.
Pettersen KY and Nijmeijer H (2001) Underactuated ship
tracking control: theory and experiments. International
Journal of Control 74(14): 14351446.
Pivano L, Johansen TA, Smogeli N and Fossen TI (2007)
Nonlinear thrust controller for marine propellers in
four-quadrant operations.
in American Control
Conference, 1113 July 2007, New York, USA.
Roddy RF, Hess DE and Faller WE (2006) Neural network
predictions of the 4-quadrant wageningen b-screw series,
in Fifth International Conference on Computer and IT
Applications in the Maritime Industries, 811 May 2006,
Netherlands: Leiden.
Slotine JJE and Li W (1991) Applied Nonlinear Control.
Englewood Cliffs, NJ, USA: Prentice-Hall.
Society of Naval Architectures and Marine Engineers
(SNAME) (1950). Nomenclature for Treating the Motion
of Submerged Body through a Fluid. New York, NY, 74
Trinity Place, 10006.
Strand JP, Ezal K, Fossen TI and Kokotovic PV (1998)
Nonlinear control of ships: a locally optimal design, in
Preprints of the IFAC NOLCOS98, Enschede, The
Netherlands, pp.732738.
Ueng SK, Lin D and Liu CH (2008) A ship motion simulation system. Virtual Reality 12: 6576.