Ship-Motion Prediction - Algorithms and Simulation Results
Ship-Motion Prediction - Algorithms and Simulation Results
,(((
X X
i
T
i
(1)
i 1
This will yield the n eigenvalues O0 , ..., On1 , and the associated
eigenvectors u 0 ,..., u n 1 . Now we choose P eigenvectors
corresponding to the P smallest eigenvalues and form a
matrix B R Pu N , which can in turn divides into 2 sub matrices,
> B1 , B2 @ ,
with B1 R pu n1 and B2 R
p u N n1
. Here
n1
is
T
2
(2)
T
2
X 2 i | ( B B2 ) B B1 X 1i
(3)
Thus Eq. (3) can be used to perform ship motion prediction. The
dimension of X 2 i will be the length of the prediction window.
The ship motion data was provided by JJMA, Inc. which has
simulation software fully tested and evaluated by experienced
Naval officers. We used the DDG-51 destroyer in all the data files.
The ship is moving at a low speed (10-12 knots), heading 15
degrees against the wave direction; Ship motion status (surge,
sway, heave, roll, pitch, yaw) were sampled at 8Hz rate at sea state
3 which has a wave height of about 10 ft.
To implement the above algorithm, the ship motion data were first
down-sampled to 2 points per second. No information was lost
because the ship moved rather slowly. The data were then
separated into two segments: the first 5000 points of data were
used for MCA training and the rest for testing. During the training,
9
,&$663
the size of the data window was 800 points, and each vector was
obtained by shifting the window by 10 points. So altogether there
were 420 vectors used for training. The minor components were
selected in a sense that their energy added up to no more than 1.5%
of the total energy. For the testing part, 750 past values were
collected for predicting the next 50 points. So this is a 25 second
prediction (longer prediction is also possible with longer training
data and less accuracy). In the next several figures, the predicted
and the real ship motions (surge, sway, heave, roll, pitch, and yaw)
are plotted versus time. Although we predicted 50 points ahead of
time, the plots only show the 40th point (20 seconds ahead) in the
prediction window. The green lines are the real motions; the red
ones are the predicted.
0.15
0.1
0.05
0
-0.05
-0.1
-0.15
100
200
300
400
500
600
1.5
1
Predicted ship motion
Real ship motion
0.5
0
0.5
-0.5
0
-1
-0.5
-1.5
0
100
200
300
400
500
600
-1
100
200
300
400
500
It is seen that the 20th second prediction data using MCA matches
quite well with the real ship motion for all the six degree-offreedom (DOF) in a decoupled manner [3]. It can predict the next
50 points simultaneously, which can be used to improve the
prediction accuracy by using the mean value of several predictions
for the same future point. And within the prediction window (in
this case 50 points), the error keeps at the same level (Table 1), i.e.,
the prediction error for the last point is not necessary worse than
the first point and the prediction error is small.
600
-1
-2
-3
0
100
200
300
400
500
600
Comparative studies
0.2
T1
V (x )
-0.1
T2
V (x )
-0.2
.
.
-0.3
0
100
200
300
400
500
600
.
.
.
.
V (x )
T N2
V(x)
Input layer
Predicted ship motion
Real ship motion
0.5
Output layer
Hidden layer
0.4
0.3
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0
100
200
300
400
500
600
N1
yi wijV v jk xk T vj T wi ,
i = 1,..., N 3 (4)
j 1
k
1
v jk
9
where K is the size of the prediction window and xiT , xi P are the
true and predicted values of ship motion parameters. Second, we
compared the computational complexity and/or computation time
needed for each scheme. Third, the robustness of the two most
accurate methods was compared. That is, the prediction
performance with respect to noise and disturbances.
Predictio
n method
MCA
yk 1
y
A(k ) A(k 1) ge(k ) k 2
(6)
....
yk n
where e( k ) y ( k ) y ( k ) is the prediction error and g is gain
NN
Wiener
Wiener Predictor
x ( n D )
w(l ) x(n l )
(7)
l 0
th
x( n l ) for l =0,1,...,p-1 are the past p data values, w(l ) are the
coefficients of the prediction filter. The Wiener prediction problem
requires that we find the filter coefficients that minimize the meansquare error
[ E{| e(n) |2 } E{| x(n D ) x (n D ) |2 }
(8)
th
where x( n D ) is the true value of the D data point ahead. The
necessary and sufficient condition is the derivative of [ with
respect to w* ( k ) be equal to zero for k=0, 1... p-1, thus we can
form the following Wiener-Hopf equation:
p 1
w(l )r (k l )
x
rx (k D ); k
0,1, ..., p 1
(9)
AR
Modal
order
(past data
number)
40 points
100 points
800 points
40 points
100 points
800 points
40 points
100 points
800 points
40 points
100 points
800 points
RMS
error for
0.5s ahead
(m)
0.1507
0.1245
0.0466
0.1484
0.4437
0.5747
0.0576
0.1050
0.0453
0.0817
0.0604
0.0175
RMS
error for
5s ahead
(m)
0.4419
0.4678
0.0538
0.3303
0.5531
0.5287
0.9026
1.0726
0.1207
0.3843
0.3469
0.1248
RMS error
for
20s ahead
(m)
Impossible
0.7022
0.0540
1.2900
1.0095
0.4724
1.6180
1.7495
0.1412
Impossible
0.5792
0.2743
l 0
(x
RMS
T
i
i 1
xiP )
(10)
9
AR
Wiener
prediction time
(500
predictions)
0.5
Heave [m]
Heave [m]
Offline
training time
0.5
-0.5
-0.5
-1
-1
-1.5
-1.5
-2
50
100
150
200
250
Data points
300
350
400
450
-2
500
50
100
150
200
(AR_0%)
10 points
40 points
10 points
40 points
10 points
40 points
10 points
40 points
40 seconds
40 seconds
1735 seconds
3467 seconds
11.4 seconds
47 seconds
Not required
Not required
1.5
0.09 seconds
0.09 seconds
3.44 seconds
3.68 seconds
1.6 seconds
6.4 seconds
843.3 seconds
1054 seconds
-0.5
-1
-1.5
150
200
250
Data points
300
350
400
450
-2
500
50
100
0.14
0.31
0.55
0.056
0.24
0.51
300
350
400
450
500
0.5
Heave [m]
Heave [m]
250
Data points
0
-0.5
-0.5
-1
-1
-1.5
-1.5
50
100
150
200
250
Data points
300
350
400
450
500
-2
50
100
150
200
250
Data points
300
350
400
450
500
(MCA_20%)
(AR_20%)
200
1.5
c) Robustness comparison
AR model (800
points)
RMS error (m)
150
2
1.5
-2
500
(MCA_10%)
0.5
Noise level
(standard deviation
= peak amplitude
percentage)
0%
10%
20%
(AR_10%)
450
-1
100
400
-0.5
-1.5
50
350
0.5
300
1.5
0.5
-2
250
Data points
(MCA_0%)
Heave [m]
NN
Prediction
length
1.5
Heave [m]
Prediction
method
(800 data
points)
MCA
1.5
[1] C. Kwan et al., Phase 1 final report to the ONR, January, 2003.
[2] S. Haykin, Neural Networks, Prentice Hall, 1989.
[3] J. C. Chung, Z. Bien and Y. S. Kim, A note on ship-motion
prediction based on wave-excitation input estimation, IEEE
J. Oceanic Engineering, vol. 15, pp244 -250, 1990
9