fossen2009
fossen2009
forces, which have frequency content at the sum of the wave In low-to-medium sea states, the frequency of oscillations
frequencies, are normally too high to be considered in ship of the linear wave forces do not normally affect the operational
motion control, but these forces can contribute to structural performance of the vessel. Hence, controlling only low-
vibration in the hull. For further details about wave loads frequency motion avoids correcting the motion for every single
and their effects on ship motion, see [4] and [5]. wave, which can result in unacceptable operational conditions
Like waves, wind and current induce forces due to pres- for the propulsion system due to power consumption and
sure variation on the vessel structure. Wind forces have a potential wear of the actuators. Operations that require the
mean component and a random fluctuating component due control of only the low-frequency motion include dynamic
to gusts. In ship motion control, only the mean wind forces positioning, heading autopilots, and thruster-assisted position
are compensated since the frequency of gusts is often outside mooring. Dynamic positioning refers to the use of the propul-
the bandwidth of the vessel response [2]. Current-induced sion system to regulate the horizontal position and heading of
forces affect vessels requiring positioning control and vessels the vessel. In thruster-assisted position mooring, the propul-
at mooring. These forces have low-frequency content. The sion system is used to reduce the mean loading on the mooring
variations of these forces can be induced by changes in the lines. Additional operations that require the control of only the
speed and direction of the current relative to the vessel. low-frequency motion include slow maneuvers that arise, for
Wind, current, and nonlinear wave forces that are of example, from following underwater remotely operated vehi-
interest to ship motion control are referred to as low-frequency cles. Operations that require the control of only the wave-
forces. Figure 2 shows a typical example of observed motion frequency motions include heave compensation for deploying
in marine surface vessels. The motion components derived loads at the sea floor [6] as well as ride control of passenger
from the inducing forces are thus referred to as the low- vessels, where reducing roll and pitch motion helps avoid
frequency motion and wave-frequency motion. Due to the motion sickness [3].
characteristics of ship motion depicted in Figure 2, the The control of only low-frequency motion is achieved by
objective of a ship motion-control system may be to control appropriate filtering of the wave-frequency components
only the low-frequency motion, only the wave-frequency from the position and heading measurements and estimated
motion, or the total motion, that is, the sum of the low- and velocities. This filtering is performed before the signals are
wave-frequency motions [1]–[3]. passed on to the controller as indicated in Figure 1.
Early course-keeping autopilots used a proportional con-
troller with a deadband nonlinearity. The deadband provided
14
an effect similar to wave filtering since it delivered a null con-
trol action until the control signals were large enough to be
12 outside the deadband. The amount of deadband in the auto-
10
pilot could be changed, and this setting was called “weather”
since the size of the deadband was selected by the operator
Heading Angle (°)
the models commonly used to design wave filtering based sway (transverse motion), and yaw (rotation about the verti-
on Kalman filters. For an account of the development of cal axis, also called heading).
these control applications, see “Historical Aspects of Ship The position of the vessel is normally measured by a dif-
Motion-Control Systems Related to Autopilots and ferential GPS, while the heading is measured by a gyro-
Dynamic Positioning.” compass. Additional types of sensors are usually available
to ensure reliability of the positioning system, namely,
MODELS FOR DYNAMIC POSITIONING inertial measurement units, hydro-acoustic position sen-
AND KALMAN FILTER DESIGNS sors, taut wires, and laser sensors. Examples of these sen-
The advent of the global positioning system (GPS) in the sors are illustrated in Figure 3.
1980s opened the possibility for the design of accurate auto-
matic systems for station-keeping (position regulation) and Mathematical Modeling of Vessel Dynamics
low-speed maneuvering of ships and offshore rigs. Vessels for Positioning Control Systems
operating in this mode rely on feedback information from To describe the motion of a ship, two reference frames are
position measurements and heading. These measurements used, a local geographical Earth-fixed frame and a body-
are used in a motion-control system that operates in the fixed frame, which is attached to the vessel. The compo-
three planar degrees of freedom, surge (forward motion), nents of the position-orientation vector h 5 3 n, e, c 4 ^ are
Surface
Reference
System
p (Roll) r (Yaw)
Hydroacoustic
Positioning u (Surge)
System
Taut xb w (Heave)
Wire
zb
FIGURE 3 Examples of sensors for vessel positioning. For reliability,
some vessels have multiple sensors. The surface position reference FIGURE 4 Motion variables for a marine vessel based on the
systems include laser-doppler sensors and radio navigation systems. SNAME convention [32]. The linear velocities in surge, sway, and
As a satellite system, GPS and differential GPS are the most common. heave are expressed in a body-fixed frame. Similarly, the three
For vessels operating at fixed locations, such as oil rigs, it is common components of the angular velocity vector are expressed in the
to use hydroacoustic sensors and taut wires. The latter consist of a same body-fixed frame. These angular velocity components can
weight tied to a wire, where deviations of the desired position of the be related to the time-derivatives of the roll, pitch, and yaw Euler
ship are determined from the length of the wire deployed. angles using a kinematic transformation.
the north-east positions ( n, e ) of the vessel relative to the namely, r, which the rotation rate about the axis perpen-
local geographical frame and the yaw or heading angle c dicular to the horizontal plane.
relative to the north. The components of the velocity vector A model for vessel dynamics can be expressed as
n 5 3 u, v, r 4 ^ are the surge and sway velocities (u, v) and
the yaw rate r. These variables are depicted in Figure 4. The h? 5 R ( c ) n, (1)
#
body-fixed velocities u and v are the time derivatives of ( MRB 1MA ) n 1CRB ( n ) n1d ( Vrc, gc ) 5 tcontrol 1 twind 1 twaves.
the position of the origin of the body-fixed frame relative to (2)
the origin of the local geographical frame expressed in the
body-fixed frame. Similarly, the yaw rate r is a component The kinematic transformation (1) relates the body-fixed
of the angular velocity of the body-fixed frame with respect velocities to the time derivative of the positions in the local
to the local geographical frame expressed in the body-fixed geographical frame. This transformation is given by the
frame. For ship-positioning and heading control, the trans- rotation matrix
lational motion is assumed to be confined to the horizontal
plane, and thus the angular velocity has only one component,
cos c 2sin c 0
R ( c ) 5 £ sin c cos c 0§, R 21 ( c ) 5 R^ ( c ) . (3)
0 0 1
TABLE 1 Summary of ship motion variables used for
dynamic positioning and maneuvering applications.
For further details about kinematic models used in marine
Variable Name Frame Units control systems and transformations, see [10].
n North position Earth fixed m The terms on the right-hand side of (2) represent the vec-
e East position Earth fixed m tors of forces due to control, wind, and waves, respectively.
c Heading or yaw angle rad These forces are directed along the body-fixed directions
u Surge speed Body fixed m/s
v Sway speed Body fixed m/s
xb and yb, and the moment is taken about the vertical axis
r Yaw rate Body fixed rad/s zb, so that t 5 3 X, Y, N 4 T, where X is the surge force, Y is
X Surge force Body fixed N the sway force, and N is the yaw moment. Table 1 summa-
Y Sway force Body fixed N rizes this notation and indicates the reference frames in
N Yaw moment Body fixed N-m which the variables are expressed.
h 5 3 n, e, c 4 T Generalized position
n 5 3 u, v, r 4 T Generalized velocity
The positive-definite, rigid-body mass matrix MRB and
t 5 3 X, Y, N 4 T Generalized force the skew-symmetric Coriolis-centripetal matrix CRB ( n )
are given by
m 0 0 current coefficients CXc ( grc ) , CYc ( grc ) , CNc ( grc ) , [1], [2],
MRB 5 £ 0 m mxg § , that is,
0 mxg Iz
AFc CXc ( grc )
0 0 2m ( xgr 1 v ) 1
d ( Vrc, grc ) 5 rV 2rc £ ALc CYc ( grc ) § , (8)
CRB ( n ) 5 £ 0 0 mu §, (4) 2
ALc L oa CNC ( grc )
m x gr 1 v )
( 2mu 0
where r is the water density, AFc and ALc are frontal and
where xg denotes the longitudinal position of the center of lateral projected areas of the submerged part of the hull,
gravity of the vessel relative to the body-fixed frame. The and Loa is the length of the ship. Typical current coeffi-
Coriolis-centripetal terms appear as a consequence of express- cients for a dynamically positioned vessel are shown in
ing the equations of motion in body-fixed coordinates. This Figure 5. These coefficients are determined experimen-
formulation simplifies the model since, when expressed in tally based on scale models or using computational fluid
the body-fixed frame, the moments of inertia become time dynamic models [2].
invariant and the direction of the actuator forces are simpler Unless the vessel under consideration is the subject of
to describe. When a vessel operates under positioning con- an extensive hydrodynamic analysis and scale-model test-
trol, the velocities are small. Hence, the Coriolis-centripetal ing, the current coefficients CXc ( grc ) , CYc ( grc ) , CNc ( grc ) in
terms CRB ( n ) n in (2) can be ignored for control design. (8) are difficult to estimate with accuracy. In such cases, it is
When a vessel moves in the water, the changes in pres- common practice to simplify the model (8) in terms of a
sure on the hull are proportional to the velocities and accel- linear damping term and a bias term [33] of the form
erations of the vessel relative to the fluid. The coefficients
used to express the pressure-induced forces proportional
to the accelerations are called added-mass coefficients. d ( Vrc, grc ) < Dn 2 R^ ( c ) b, (9)
These forces reflect the change in momentum in the fluid
due to the vessel accelerations. The positive-definite hydro-
dynamic added mass matrix MA is represented by
0.2
2Xu# 0 0
CX
0
MA 5 £ 0 2Yv# 2Yr# § , (5)
−0.2
0 2Yr# 2Nr# 0 50 100 150 200 250 300 350 400
Relative Current Angle (°)
where the added-mass coefficients Xu# , Yv# , Yr# , Yr# , and Nr# 1
depend on the hull shape. Despite the terminology, note
CY
0
that only Xu# and Yv# have mass units.
−1
The term d ( Vrc, gc ) on the left-hand side of (2) repre- 0 50 100 150 200 250 300 350 400
sents the current and damping forces. These nonconser- Relative Current Angle (°)
vative forces, which reflect the transfer of energy from 0.5
the vessel to the fluid, depend on the speed and direc-
CN
0
tion of the current relative to the vessel is given by
−0.5
0 50 100 150 200 250 300 350 400
Vrc 5 "u2rc 1 v2rc 5 " ( u 2 uc ) 2 1 ( v 2 vc ) 2, (6) Relative Current Angle (°)
grc 5 2atan2 ( vrc, urc ) , (7)
FIGURE 5 Current coefficients of an offshore supply vessel deter-
where uc and vc are the components of the current velocity mined using computational fluid dynamics. The current coeffi-
in the vessel body-fixed frame. Thus, the angle of the cur- cients are normalized nondimensional forces in surge CX, sway
CY, and yaw CN. The normalization is based on current speed,
rent grc is defined relative to the bow of the vessel. water density, and the projected area of the vessel below the water
It is common practice to write the current forces in line. These coefficients can also be determined experimentally
surge, sway, and yaw as functions of nondimensional from scale model tests.
where h? p 5 n, (15)
Mn? 1 Dn 5 bp 1 tcontrol 1 twind 1 twaves, (16)
?
bp 5 0, (17)
D11 0 0 b1
D 5 D^ 5 £ 0 D22 D23 § , b 5 £ b2 § . (10)
where bp J R^ ( c ) b. Since (15)–(17) is linear, a linear
0 D32 D33 b3
observer can be used to estimate the velocity n and bias
bp using the force vectors tcontrol, twind, and twaves along
The linear damping term also models the transfer of energy with hp, which is known from the measurement of h
from the vessel to the fluid due to the waves that are gener- through (14).
ated as a consequence of the vessel motion.
Using (9), the simplified vessel model (1)–(2) becomes Wind Force Models
The wind forces and moments can be represented in a sim-
h? 5 R ( c ) n, (11) ilar way to the current forces and moments by means of
Mn? 1 Dn 5 R^ ( c ) b 1 tcontrol 1 twind 1 twaves, (12) nondimensional force coefficients [2], namely,
?
b 5 0, (13)
response to changes in the direction of the wind relative to the hull and H ( jv ) represents the frequency response from
the vessel may result [2]. force to motion [4], [5]. The frequency response function
F ( jv ) , which is known as the force response amplitude
Models for Wave Loads and Wave-Induced Motion operator (RAO) in naval architecture, depends on the shape
As discussed above, wave forces are usually modeled as of the hull and the angle from which the waves approach
the sum of a linear and a nonlinear component, namely, the vessel. The frequency response H ( jv ) , known as the
force-to-motion RAO, depends on the shape of the hull and
twaves 5 tlin
waves 1 twaves.
nlin
(23) the mass distribution. These frequency response functions,
which can be computed using hydrodynamic computer
The linear oscillatory component has the same frequency codes, are the basis of ship motion evaluation [3].
as the wave elevation. The nonlinear component has both The spectrum of the wave-induced motion can be
lower and higher frequency than the wave elevation. The approximated using spectral factorization. That is, (25) can
linear and low-frequency nonlinear wave forces are rele- be approximated by the spectrum of the signal obtained
vant to ship motion control. using a linear filter driven by Gaussian noise w ( t ) with a
The low-frequency nonlinear wave forces are treated as flat spectrum Sww over the frequencies of interest. Then,
an input disturbance and modeled by a bias term (17). That
is, the bias term represents a combination of nonlinear Shwhw ( v ) < |G ( jv ) |2Sww . (26)
wave and current. The linear wave forces, however, are
usually transformed into an equivalent output disturbance. A second-order, noise-driven filter is usually appropriate
With this point of view, the measured position vector can for modeling wave-induced motion [1]–[3], namely,
be represented as
0
Stationarity can be considered for short periods between 20
min and 3 h depending on weather conditions, while −1
0 50 100 150 200 250 300 350 400
Gaussianity depends on the wave height and depth [35]. Relative Wind Angle (°)
The deeper the ocean at the location considered, the higher 0.2
the waves for which Gaussianity can be assumed [34], [35].
CN
0
Under these conditions, the wave elevation is completely
characterized by the wave spectrum Szz ( v ) , which changes −0.2
0 50 100 150 200 250 300 350 400
with the sea state, namely, the dominant amplitudes and Relative Wind Angle (°)
wave periods.
Under a linear response assumption, the wave-induced FIGURE 6 Wind coefficients of an offshore supply vessel deter-
motion spectrum can be represented as mined using computational fluid dynamics. The wind coefficients
are normalized forces in surge CX, sway CY, and yaw CN. The
Shwhw ( v ) 5 |H ( jv ) F ( jv )|2 Szz ( v ) , (25) normalization is done in terms of wind speed, air density, and the
projected area of the vessel above the waterline. These coeffi-
cients are determined experimentally from scale model tests for
where F ( jv ) represents the frequency response function multiple wind directions measured by the wind angle grw relative
from the wave elevation to the pressure-induced forces on to the bow of the ship.
transfer functions can be transformed into a single state- ( p $ 3 ) is the control vector, w 5 3 w^ ^
1 , w2 , w3 4
^ ^
[ R rep-
9
?
j 5 Awj 1 Eww, (28) Aw 0633 0633 0633 0633
hw 5 Cwj, (29) 0336 I333 0333 0333 0
A5 ≥ ¥ , B 5 ≥ 333 ¥ , (38)
0336 0333 0333 0333 0333
where the matrices Aw, Bw, and Cw depend on the chosen 0336 2M21D M21 0333 M21Bu
state-space realization adopted. Since a model for dynamic
positioning has three degrees of freedom (surge, sway, and Ew
yaw), a second-order noise filter approximation yields a 0333
H 5 3 Cw I333 0333 0333 4 , E5 ≥ ¥. (39)
state vector j with six components. The state vector j may I333
or may not have a physical interpretation depending on the M21
particular state-space realization used.
KALMAN FILTER DESIGN FOR
Linear Model for Dynamic Positioning Observer Design SHIP DYNAMIC POSITIONING
By combining the models of the vessel response together The model given in (36) forms the basis of a Kalman filter
with the disturbance models discussed above, we obtain a design. To implement the observer on a computer, the model
model structure of the form needs to be discretized. The discretization has the form
#
j 5 Awj 1 Eww1, (30) x ( k 1 1 ) 5 Fx ( k ) 1 Du ( k ) 1 Gw ( k ) , (40)
?
hp 5 n, (31) y ( k ) 5 Hx ( k ) 1 v ( k ) , (41)
Mn? 1 Dn 5 bp 1 tcontrol 1 twind 1 w2, (32)
?
bp 5 w3, (33) where
y 5 hp 1 Cwj 1 v. (34)
F 5 exp ( Ah ) , (42)
The variables wi, i 5 1, 2, 3, are Gaussian noise vectors, D 5 A21 ( F 2 I ) B, (43)
which represent model uncertainty. Note that no uncertainty G 5 A21 ( F 2 I ) E, (44)
is associated with the kinematic equation (31) since this rela-
tion describes known geometrical aspects of motion. The h is the sampling time, and the equivalent discrete-time
measurement positions (34) are the sum of the wave motion noises w ( k ) and v ( k ) are Gaussian and white with zero
Cwj and the motion hp due to wind forces, current, and con- mean. Appropriate sampling times can be determined from
trol. The measurement vector also contain some noise v. The step responses in the various degrees of freedom of the vessel.
control forces usually have two components As a rule of thumb, the sampling period is chosen to be in the
range of 20–40 samples within the rise time of the force to
t 5 2 t^ wind 1 Buu, (35) velocity response of the fastest degree of freedom. For large
offshore vessels and rigs, the sampling time is normally in
where t^ wind is an estimate of the wind forces implemented the range of 100–500 ms. Small vessels with faster dynamics
by using feedforward compensation and Buu represents may require sampling times as low as 50 ms.
actuator forces. The wind feedforward term, which is pro- To implement a Kalman filter, the parameters of the
portional to the square of the measured wind velocity, model (40), (41) as well as the covariance of the state mea-
depends on the vessel’s projected area in the direction of surement noises in the model are necessary. The mass and
the wind [2]. The vector u is the command to the actuators, damping parameters of the model can be initially estimated
which are assumed to have much faster dynamic response from hydrodynamic computations. Then, an update of the
than the vessel; thus the coefficient Bu represents the map- parameter estimates can be based on data obtained from
ping from the actuator command to the force generated by tests performed in calm water [27]. The structure of the
matrices of the discrete-time model (40), (41). Then, for u^ 5 arg min det a ` ( k, u ) ` ( k, u ) T (48)
u k51
example, standard grey-box, state-space prediction-error
methods can be used to estimate the parameters [12]. with
The measurement noise is usually associated with sen-
sors. After correcting the sensor bias, the covariance s2vi of the e ( k, u ) 5 h^ pw ( k ) 2 Cw ( u ) j^ ( k ) , (49)
measurement noise of the sensor i can be estimated by the j^ ( k 1 1 ) 5 Aw ( u ) j^ ( k ) 1 Lw ( u ) e ( k, u ) , (50)
sample covariance from a data record taken while the vessel
is at port with no motion. Since the noise of different sensors where hpw ( k ) is replaced by the estimate h^ pw ( k ) obtained
is often uncorrelated, the covariance matrix of the vector of from detrending the measured data. Equations (48)–(50)
measurement noise is chosen to be diagonal, that is, comprise a standard prediction error estimation problem
whose solution is related to the maximum likelihood esti-
R 5 diag ( s2v1, s2v2 , c, s2vp ) . mate of the parameter vector u [11], [12].
Once the parameters of the mode are estimated, the
The estimation of the covariance Q of the state noise w in covariance Q ^ P of the innovations can also be estimated
(40) is more complex since it depends on the sea state, the from the sample covarianace of the predictions errors.
heading of the vessel relative to the environmental distur- Then, the Kalman filter can be implemented with the inno-
bances, and how uncertain the model (40), (41) is [3]. This vation wave-frequency model, and thus we can chose
covariance matrix is chosen to be block diagonal, that is, Q1 5 Q ^ P. This choice entails no loss of information.
An alternative to the procedure described above consists
Q 5 diag ( Q1, Q2, Q3 ) . (45) of fixing the damping of the filters (27) to a value in the range
0.01 to 0.1 as suggested in [13] and estimate only the natural
The matrix Q1 [ R333 is the covariance of the noise w1, frequency and noise covariance [13], [14]. This estimation
which drives the noise filter representing linear wave-in- approach is summarized in [1], where recursive least squares
duced motion, Q2 [ R333 is the covariance of the noise w2, is used for parameter estimation. A related approach, also
which represents the uncertainty in the equation of motion, based on recursive least squares, is given in [3].
and Q3 [ R333 is the covariance of the noise w3, which From the procedures discussed above, all the parame-
represents the uncertainty in the bias term that models the ters necessary to implement the Kalman filter for a dynam-
rest of the environmental forces, as indicated in (30)–(33). ically positioned vessel are obtained. The Kalman filter can
The matrices Q2 and Q3 are chosen to be diagonal. The be formulated as follows [16]. The state estimate or correc-
entries of the matrix Q2 are taken as a fraction of the vari- tion is given by
ance of the position measurement noises. The entries of Q3
x^ ( k ) 5 x ( k ) 1 K ( k ) 3 y ( k ) 2 H x ( k ) 4 , (51)
are high values. These choices provide a filter with an
appropriate balance of the uncertainty in various parts of while the state prediction is given by
the model. The covariance Q1 is estimated together with the
parameters of the wave-frequency motion model (27) from x ( k 1 1 ) 5 F x^ ( k ) 1 D u ( k ) . (52)
data measured before and during the operation of the
vessel. The parameters are re-estimated after significant The Kalman gain K ( k ) is computed as
changes in heading or at regular time intervals of 20 min,
which is the time period for which the sea state can be con- K ( k ) 5 P ( k ) HT ( HP ( k ) HT 1 R ) 21, (53)
sidered to be stationary [3], [34], [35]. Since the vessel is in a
positioning control mode, the total motion measured can be where P ( k ) satisfies the recursion
recorded and detrended to obtain an estimate of the wave-
induced motion vector h^ pw ( k ) , or, equivalently, a first-order P ( k ) 5 ( I 2 K ( k ) H ) 21P ( k ) ,
highpass filter can be used [14]. These data can then be used P k 1 1 ) 5 FP ( k ) FT 1 Q.
( (54)
to estimate the parameters of the wave-induced motion
model, for which it is convenient to consider the directly The matrices P ( k ) and P ( k ) are the conditional covari-
parameterized innovations form [12] ances of the estimation errors x ( k ) 2 x^ ( k ) and x ( k ) 2x ( k ) ,
respectively.
j^ ( k 1 1 ) 5 Aw ( u ) j^ ( k ) 1 Lw ( u ) e ( k ) , (46) The algorithm (51)–(54) is a standard Kalman filter.
hpw ( k ) 5 Cw ( u ) j^ ( k ) 1 e ( k ) , (47) The recursive form (54) may not be the best choice for
real-time implementation since numerical issues may be
where u is the vector of parameters to be estimated, and associated with matrix inversion and covariance matrix
e ( k ) is the vector of innovations. The parameter estimation propagation. These errors could result in covariance
can then be formulated as matrices that are not positive semidefinite. To address
Autopilot Design where c is the response due to the control action and low-
For autopilot control design, it is common to design a pro- frequency disturbance and where cw represents the first-
portional-integral-derivative controller with feedforward order wave-induced motion.
from wind and a smooth time-varying reference signal To estimate of c and r, and thus wave filtering, the
cd ( t ) according to model used for a Kalman filter design is given by
# 1
#
tN ( s ) 5 2t^ wind 1 mard 2 rd b
T j w 5 c w, (69)
5 #
tFF cw 5 2v 20 jw 2 2zv 0 cw 1 w1, (70)
#
t c 5 r, (71)
|1K |
2maKpc | #
d r 1 Ki3 c ( t ) dtb, (64) 1 1
8 0 r^ 5 2 r 1 ( twind 1 tN ) 1 b 1 w2, (72)
# T m
tPID b 5 w 3, (73)
where tN is the controller yaw moment and tFF is a feedfor-
#
ward term using the reference signal rd 5 cd. The heading where v 0 and z are the parameters of the filter (27) used to
|
and yaw rate errors are denoted by c 5 c 2 cd and |r 5 r 2 rd, represent the wave-induced yaw motion, b is the bias term,
respectively. The control gains Kp, Kd, and Ki must be chosen and w1, w2, and w3 are Gaussian white noises. The mea-
such that the third-order linear error dynamics surement equation is
y 5 c 1 cw 1 v, (74)
|# 1 |1K c
t
| ( t ) dt 5 0
r 1 a 1 Kd b |
r 1 Kp c i3 (65)
T 0 where v represents zero-mean Gaussian white measure-
ment noise introduced by the sensor. Notice that neither
is asymtotically stable. Notice that the control law (64) the yaw rate r nor the wave states jw and cw are measured.
depends on wind feedforward, where The resulting state-space model is
0.6
0.4
0.2 40
Heading (°)
0 30
−0.2 20
0 50 100 150 200 250
10 Vessel
Time (s)
(b) 0 Desired
−10
Low−Frequency Motion KF Estimate 0 50 100 150 200 250
4 Time (s)
Heading (°)
2 (a)
Rudder Angle (°)
0 15
−2
−4 10
0 50 100 150 200 250 5
Time (s)
(c) 0
Wave−Frequency Motion −5
KF Estimate 0 50 100 150 200 250
Time (s)
(b)
FIGURE 8 Performance of a Kalman filter for heading autopilot for
a mariner cargo ship. (a) shows the true low-frequency heading c
and its Kalman filter estimate c^ . (b) shows the true low-frequency FIGURE 9 Performance of a heading autopilot for a mariner cargo
heading rate r and its Kalman filter estimate r^. (c) shows the ship with a wave filter. (a) shows the time series of the desired
wave-frequency component of the heading cw and its Kalman heading cd and the actual vessel heading c. (b) shows the rudder
filter estimate c^ w. The Kalman filter, which uses measurements of angle d. Because only the low-frequency estimates of the heading
the sum of low- and wave-frequency heading, estimates these angle and rate produced by the Kalman filter are passed to the
states and the rate using a model of the vessel and a model of the controller, the motion of the rudder does not respond to the wave
wave-induced motion. motion, and thus wave filtering is achieved.
(57) is identified with the parameters K 5 0.185 s21 and associated with wave-frequency motion. Once these states
T 5 107.3 s. Based on the time constant, a sampling period are estimated by the Kalman filter, only the low-frequency
of 0.5 s is chosen for the implementation of the Kalman states are used as feedback signals in the controller.
filter. The standard deviation of the noise of the compass In this article, we have described the main components
sensor is 0.5°. From a record of heading motion while the of a ship motion-control system and two particular motion-
rudder is kept constant, the parameters of the first-order, control problems that require wave filtering, namely,
wave-induced motion model are estimated, namely, z 5 dynamic positioning and heading autopilot. Then, we dis-
0.1, v 0 5 1.2 rad/s, and the standard deviation of the noise cussed the models commonly used for vessel response and
driving the filter is sw1 5"300 rad/s. showed how these models are used for Kalman filter
Using the above data, a Kalman filter is designed. Fig- design. We also briefly discussed parameter and noise
ures 8 and 9 show the performance of the Kalman filter. covariance estimation, which are used for filter tuning. To
Figure 8(a) and (b) shows the true low-frequency heading illustrate the performance, a case study based on numerical
angle and rate together with the Kalman filter estimates. simulations for a ship autopilot was considered.
Figure 8(c) shows the first-order, wave-induced heading The material discussed in this article conforms to
angle component and its estimate. Figure 9 shows the per- modern commercially available ship motion-control
formance of the control loop. Figure 9(a) shows the desired systems. Most of the vessels operating in the offshore
and the actual heading angle of the controlled vessel. Figure industry worldwide use Kalman filters for velocity esti-
9(b) depicts the rudder angle. In this figure, we can appreci- mation and wave filtering. Thus, the article provides an
ate the effect of the wave filtering since the rudder angle has up-to-date tutorial and overview of Kalman-filter-based
no motion at the wave frequency. wave filtering.