Open Access Paper
24 May 2022 A ship-motion prediction algorithm based on modified covariance method and neural networks
Author Affiliations +
Proceedings Volume 12260, International Conference on Computer Application and Information Security (ICCAIS 2021); 1226011 (2022) https://doi.org/10.1117/12.2637398
Event: International Conference on Computer Application and Information Security (ICCAIS 2021), 2021, Wuhan, China
Abstract
In order to provide accurate ship-motion prediction for safe seaboard operations, this paper presents a new ship-motion prediction algorithm based on modified covariance (MCOV) method and neural networks. This algorithm firstly uses the MCOV method to analysis spectrums of the ship motion. And then, major spectrums of the ship motion are used to find the ship motion model by using the neural network (NN). Simulation results show that this method can present a confidence performs on ship-motion prediction.

1.

INTRODUCTION

While sailing in the sea, the ship will be affected by wind, waves and other sea conditions, and produce a six-degree-of-freedom swaying motion. These motions can lead a bad influence on the seaboard operations, like the safe navigation of the ship, the take-off and landing of carrier-based aircraft, the ship replenishment activities, etc.1-3. In that case, using the inertial measurement to measure ship motion and achieve 5 to 10 seconds of ship-motion prediction, has great significance for enhancing seaboard operational safety, improving ship motion control effects and ship combat effectiveness4.

The researching ship-motion prediction methods conclude the spectral estimation method, the time series method, the Kalman filter method, etc. Those methods can obtain motion prediction results, but have different shortcomings. For example, the spectral estimation method can analyse and forecast the ship motion by using the perspective of energy superposition5, which is too complex and abstract for using. The time-series method forecasts the ship motion by using the linear autoregressive sequence (AR) or autoregressive moving average model (ARMA)6-8, which needs complex models and the forecasting results are not very good. The Kalman filter method considers the wave excitation as white noise, and the accuracy of the prediction results will be reduced with time growing9, 10.

In order to solve the problem of ship-motion prediction, this paper presents a new ship-motion prediction algorithm based on modified covariance method and neural networks. This method considers the ship motion as a non-stationary random process, and uses the modified covariance method to analyse and decompose the ship motion into different frequencies periodic motions based on the power spectral density. After that, the BP neural network is used to simulate the ship motion model. The simulation experiment results show that this method can provide effective ship-motion prediction results, which are better than autoregressive sequence (AR), neural network (NN) and Wiener filter (Wiener).

2.

SHIP-MOTION MODEL

The ship-motion affected by sea waves mainly includes roll, pitch, yaw, sway, surge and heave. It is a typical stable random process and has strong correlation and periodicity, which can be analysed and descripted by limited sine signal and white noise11.

00204_psisdg12260_1226011_page_1_1.jpg

Among them, y is one kind of the ship motion (roll, pitch, yaw, sway, surge and heave), ωi(i = 1,…,k) is the periodic motion frequency, Ai and φi are the periodic motion amplitude and phase respectively.

3.

SHIP-MOTION PREDICTION ALGORITHM

The process of the ship-motion prediction method based on the modified covariance method and neural network is shown in Figure 1. Firstly, the ship-motion inertial sensors are used to obtain the ship motion data; secondly, the modified covariance method is used to analysis the main periodic frequency of the ship motion; finally, the BP neural network is used to form the ship-motion prediction model, and provide ship-motion prediction data.

Figure 1.

The process of the ship-motion prediction method base on MCOV and NN.

00204_psisdg12260_1226011_page_2_1.jpg

3.1.

Power spectrum analysis

This paper uses the modified covariance method (MCOV) to analyse the power spectrum of the ship motion, and decomposes it into several periodic motions with different frequencies.

As a typical stationary random process, the ship-motion has same statistical characteristics in forward measurement sequences and reverse measurement sequences. The MCOV method uses the total energy of the prediction error, which is the minimum squares sum of the forward prediction error and the backward prediction error12, to estimate the power spectral density of the ship motion.

The total energy of the prediction error is,

00204_psisdg12260_1226011_page_2_2.jpg

where, 00204_psisdg12260_1226011_page_2_3.jpg and 00204_psisdg12260_1226011_page_2_4.jpg (n) are the forward prediction error and the backward prediction error respectively, which can be calculated by

00204_psisdg12260_1226011_page_2_5.jpg
00204_psisdg12260_1226011_page_2_6.jpg

Obviously when

00204_psisdg12260_1226011_page_2_7.jpg

The total energy of the prediction error ε is the smallest, and the prediction accuracy of the model is highest. From equation (5), we can obtain:

00204_psisdg12260_1226011_page_2_8.jpg

By introducing of the vector 00204_psisdg12260_1226011_page_3_1.jpg, the linear equation (6) can be expressed in the matrix form

00204_psisdg12260_1226011_page_3_2.jpg

where

00204_psisdg12260_1226011_page_3_3.jpg

is p+1 order square matrix, and

00204_psisdg12260_1226011_page_3_4.jpg

After solving the equations (7), we can get 00204_psisdg12260_1226011_page_3_5.jpg · Ep, where Ap is the optimal prediction coefficient under the minimum error criterion.

In order to solve equation (7), Marple proposed an efficient recursive algorithm. The algorithm introduces additional error energy 00204_psisdg12260_1226011_page_3_6.jpg and 00204_psisdg12260_1226011_page_3_7.jpg, to calculate the autoregressive coefficient ak (i = 1,2,…,p) and white noise σ2 13.

After obtaining ak (i = 1,2,…,p) and σ2, the power spectrum of the ship motion can be obtained by the power spectrum density calculation formula, which is:

00204_psisdg12260_1226011_page_3_8.jpg

Taking the calculated power spectrum peak as the main periodic frequency of the ship motion, we can obtain several main periodic motion frequencies in the ship motion.

3.2.

Ship-motion prediction model

Based on the main periodic frequency of the ship motion 00204_psisdg12260_1226011_page_3_9.jpg estimated by the MCOV method, the ship- motion prediction model can be established as follows:

00204_psisdg12260_1226011_page_3_10.jpg

where, 00204_psisdg12260_1226011_page_3_11.jpg is the estimated ship motion, 00204_psisdg12260_1226011_page_3_12.jpg is the periodic motion frequency obtained by the modified covariance method, 00204_psisdg12260_1226011_page_3_13.jpg and 00204_psisdg12260_1226011_page_3_14.jpg are the amplitude and phase of the periodic motion, respectively.

By introducing 00204_psisdg12260_1226011_page_3_15.jpg, we can use the BP neural network (NN) method14, 15 to obtain the ship-motion prediction model parameters 00204_psisdg12260_1226011_page_3_16.jpg, and 00204_psisdg12260_1226011_page_3_17.jpg.

The BP neural network adopts a three-layer neural network structure. The input layer is the ship motion data, which takes one node. The output layer is the non-linear ship-motion prediction model, which also take one node. The hidden layer takes three nodes, to estimate the non-linear mapping from input to output:

00204_psisdg12260_1226011_page_4_1.jpg

where 00204_psisdg12260_1226011_page_4_2.jpg is the input of the BP neural network; G(x) is the unknown nonlinear mapping; f(x) is the activation function; N and M is the number of the input layer nodes and the hidden layer nodes, respectively. In the training of the BP neural networks, Wm and wmj, the weights of the neural network, will be continuously adj usted to minimize.

00204_psisdg12260_1226011_page_4_3.jpg

where l is the number of the training data.

When the neural network training is completed, the ship-motion prediction model 00204_psisdg12260_1226011_page_4_4.jpg can be obtained.

4.

EXPERIMENT ANALYSIS

4.1.

Ship-motion prediction experiment

This paper uses real ship roll motion data to predicate ship roll motion in advance 5 seconds and 10 seconds, respectively. The ship roll motion data is obtained by shipboard inertial navigation measurement (as shown in Figure 2), and the data’s sampling frequency is 10 Hz.

Figure 2.

40 seconds ship roll motion data.

00204_psisdg12260_1226011_page_4_5.jpg

A ship-motion prediction model is established based on 40 seconds ship roll motion data, and predict the ship’s roll angle in advance 5 seconds and 10 seconds. The prediction results are shown in Figures 3 and 4, respectively.

Figure 3.

Roll motion prediction in advance 5 seconds.

00204_psisdg12260_1226011_page_5_1.jpg

Figure 4.

Roll motion prediction in advance 10 seconds.

00204_psisdg12260_1226011_page_5_2.jpg

The experimental results show that, the ship-motion prediction method, which is based on the modified covariance method and neural network, can obtain effective prediction results in the given sea conditions. The deviation between the predicted roll angle and the real roll angle is less than 0.02 degrees.

4.2.

Comparative experiment

In order to better analyse the accuracy of the prediction method, we design four different experiments, by using 20- second and 40-second motion data to predict the ship motion in advance 5 seconds and 10 seconds, respectively. Every experiment will be carried out 50 times. After that, the average error and standard deviation of each experiment’s results will be calculated, and compared with the autoregressive sequence (AR), the neural network (NN) and the Wiener filter (Wiener). The comparison experiments’ results are shown in Tables 1 and 2.

Table 1.

Performance for four prediction methods in advance 5 seconds.

Data sampling timeParameterMCOV+NNARNNWiener
20 secondsThe average error (degree)0.00180.15050.00430.0086
Standard deviation (degree)0.01710.10890.05420.0427
Execution Time (second)0.23690.32050.17991.0837
40 secondsThe average error (degree)0.00300.15780.00350.0166
Standard deviation (degree)0.02410.10860.04050.0481
Execution time (second)0.29690.32150.35801.0786

Table 2.

Performance for four prediction methods in advance 10 seconds.

Data sampling timeParameterMCOV+NNARNNWiener
20 secondsThe average error (degree)0.00590.18380.00760.0160
Standard deviation (degree)0.06470.13490.09440.1103
Execution time (second)0.23270.33600.33700.9940
40 secondsThe average error (degree)0.00600.17290.02560.0182
Standard deviation (degree)0.07350.13580.13450.0820
Execution time (second)0.26880.34090.43371.0263

The comparison results show that, when using 40-second motion data, the average error of the 5-second prediction results is 0.0030°, and the standard deviation is 0.0241°; the average error of the 10-second prediction results is 0.0060°, and the standard deviation is 0.0735°. Meanwhile, this method can obtain better prediction effect when the motion data is less than 40 seconds. The average error of the 5-second prediction results is 0.0018°, the average error of the 10-second prediction results is 0.0059°, and the standard deviations are 0.0171° and 0.0647°, respectively. Except for special indicator (20-second motion data, 5-second execution time), the average error, standard deviation and algorithm execution time of this method are better than AR, NN and Wiener. In that case, this ship-motion prediction method can obtain an effective prediction result in different and complicated sea conditions.

5.

CONCLUSION

The research of the ship-motion prediction has significant effect for the ship’s safe navigation, the take-off and landing of carrier-based aircraft, the ship replenishment activities, and other seaboard operations. In that case, this paper proposes a new ship-motion prediction method based on the modified covariance method and neural network. The method uses the MCOV method to analysis spectrums of the ship motion, and then uses major spectrums of the ship motion to found the ship motion model through the Neural Network (NN). Simulation results show that this method can present a confidence performs on ship-motion prediction, and better adapt to different and complicated sea conditions.

REFERENCES

[1] 

Kim, Y., Nam, B. W., Kim, D. W. and Kim, Y. S., “Study on coupling effects of ship motion and sloshing,” Ocean Engineering, 34 (16), 2176 –2187 (2007). https://doi.org/10.1016/j.oceaneng.2007.03.008 Google Scholar

[2] 

Hou, X. R., Zou, Z. J. and Liu, C., “Nonparametric identification of nonlinear ship roll motion by using the motion response in irregular waves,” Applied Ocean Research, 73 88 –99 (2018). https://doi.org/10.1016/j.apor.2018.02.004 Google Scholar

[3] 

Naaijen, P., van Oosten, K., Roozen, K. and Van’t Veer, R., “Validation of a deterministic wave and ship motion prediction system,” in ASME 2018 37th Inter. Conf. on Ocean, Offshore and Arctic Engineering, (2018). https://doi.org/10.1115/OMAE2018-78037 Google Scholar

[4] 

Li, G. Y., Zhang, H. X., Kawan, B., Wang, H., Osen, O. L. and Styve, A., “Analysis and modeling of sensor data for ship motion prediction,” in OCEANS 2016, (2016). https://doi.org/10.1109/OCEANSAP.2016.7485648 Google Scholar

[5] 

Tannuria, E. A., Sparanoa, J. V., Simosa, A. N. and Da Cruz, J. J., “Estimating directional wave spectrum based on stationary ship motion measurements,” Applied Ocean Research, 25 (5), 243 –261 (2003). https://doi.org/10.1016/j.apor.2004.01.003 Google Scholar

[6] 

Zhao, X., Xu, R. and Kwa, C., “Ship-motion prediction: algorithms and simulation result,” in 2004 IEEE Inter. Conf. on Acoustics, Speech, and Signal Processing, (2004). https://doi.org/10.1109/ICASSP.2004.1327063 Google Scholar

[7] 

Jiang, H., Duan, S. L., Huang, L. M., Han, Y., Yang, H. and Ma, Q. W., “Scale effects in AR model real-time ship motion prediction,” in Ocean Engineering, 203, (2020). https://doi.org/10.1016/j.oceaneng.2020.107202 Google Scholar

[8] 

Yang, X. L., Pota, H. S., Garratt, M. and Ugrinovskii, V., “Ship motion prediction for maritime flight operations,” Proc. of the 17th Inter. Federation of Automatic Control World Cong, 12407 –12412 (2008). Google Scholar

[9] 

Peng, X. Y., Zhang, B. and Rong, L. H., “A robust unscented Kalman filter and its application in estimating dynamic positioning ship motion states,” Journal of Marine Science and Technology, 24 1265 –1279 (2019). https://doi.org/10.1007/s00773-019-00624-5 Google Scholar

[10] 

Chung, J. C., Bien, Z. and Kim, Y. S., “A note on ship-motion prediction based on wave-excitation input estimation,” IEEE Journal of Oceanic Engineering, 15 (3), 244 –250 (1990). https://doi.org/10.1109/48.107153 Google Scholar

[11] 

From, P. J., Gravdahl, J. T., Lillehagen, T. and Abbeel, P., “Motion planning and control of robotic manipulators on seaborne platforms,” Control Engineering Practice, 19 809 –819 (2011). https://doi.org/10.1016/j.conengprac.2011.04.007 Google Scholar

[12] 

Marple, S. L. and Carey, W. M., Journal of the Acoustical Society of America, 86 2043 (1989). https://doi.org/10.1121/1.398548 Google Scholar

[13] 

Marple, L., “A new autoregressive spectrum analysis algorithm,” IEEE Transaction on Acoustics,” Speech, and Signal Processing, 28 (4), 441 –454 (1980). https://doi.org/10.1109/TASSP.1980.1163429 Google Scholar

[14] 

Li, J., Cheng, J. H., Shi, J. Y. and Huang, F., “Brief introduction of back propagation (BP) neural network algorithm and its improvement,” Advances in Computer Science and Information Engineering, 553-558, (2012). Google Scholar

[15] 

Li, G. Y., Kawan, B., Wang, H. and Zhang, H. X., “Neural-network-based modelling and analysis for time series prediction of ship motion,” Ship Technology Research, 64 (1), 30 –39 (2017). https://doi.org/10.1080/09377255.2017.1309786 Google Scholar
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Zhenxing Ding "A ship-motion prediction algorithm based on modified covariance method and neural networks", Proc. SPIE 12260, International Conference on Computer Application and Information Security (ICCAIS 2021), 1226011 (24 May 2022); https://doi.org/10.1117/12.2637398
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Neural networks

Motion models

Motion analysis

Evolutionary algorithms

Autoregressive models

Data modeling

Error analysis

Back to Top