Next Article in Journal
Developments in Modeling Techniques for Reliability Design of Aquaculture Cages: A Review
Previous Article in Journal
Study on the Influence of Tip Clearance on Cavitation Performance and Entropy Production of an Axial Flow Pump
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Short-Term Prediction of Ship Roll Motion in Waves Based on Convolutional Neural Network

1
College of Ocean Science and Engineering, Shanghai Maritime University, Shanghai 201306, China
2
Shanghai Frontiers Science Center of “Full Penetration” Far-Reaching Offshore Ocean Energy and Power, Shanghai Maritime University, Shanghai 201306, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2024, 12(1), 102; https://doi.org/10.3390/jmse12010102
Submission received: 7 September 2023 / Revised: 27 December 2023 / Accepted: 30 December 2023 / Published: 4 January 2024
(This article belongs to the Section Ocean Engineering)

Abstract

:
In this study, a short-term prediction method for ship roll motion in waves based on convolutional neural network (CNN) is presented. Firstly, based on the ship roll motion equation, the data for free roll attenuation motion in still water, roll motion in regular waves, and roll motion excited by irregular waves are simulated, respectively. Secondly, the simulation data is normalized and preprocessed, and then the time-sliding window technique is applied to construct the training and testing sample sets. Thirdly, the CNN model is trained by learning from the constructed training sample sets, and the well-trained CNN model is applied to predict the roll motion. To validate the CNN model’s prediction accuracy and effectiveness, a comparison between the forecasted results and the simulation data is conducted. Meanwhile, the predicted results are also compared with that of the long-short-term memory (LSTM) neural network. The research results demonstrate that CNN can effectively achieve accurate prediction of ship roll motion in waves, and its prediction accuracy is the same as that of the LSTM neural network.

1. Introduction

As a ship navigates in open waters, it becomes subject to a range of environmental elements, including winds, waves, and currents. Under certain conditions, a large roll motion will occur, which seriously threatens the navigation safety of the ship. In order to guarantee ship navigation safety at sea, precise anticipation of ships’ nonlinear roll movements is imperative. For this purpose, three kinds of method have been successively put forward [1]. The first kind of prediction method is based on ship hydrodynamics theory. The mathematical model of roll motion is established according to ship hydrodynamics, and the damping coefficients in the mathematical model are obtained by means of model tests or CFD simulations. Hashimoto et al. [2] and Kianejad et al. [3] forecasted the roll motion by the motion model with the obtained damping coefficients. In order to predict the ship roll motion, Kianejad et al. [4] used the CFD method to calculate the damping coefficients; Liu et al. [5] used CFD to predict the parametric roll characteristics; and Chen et al. [6] used the CFD method to establish a numerical model of ship motion coupled with fluid motion.
The second kind of prediction method is based on the time series model. By regression analysis of historical time series data of ship roll motion, time series models of ship roll motion in waves was used to predict ship roll motion. Jiang et al. [7] and Selvaraj et al. [8] used the auto-regressive model (AR model) and auto-regressive integrated moving average model (ARIMA model) to predict ship roll motion, respectively. The third kind of prediction method is the data-driven prediction method based on machine learning techniques. By means of machine learning algorithms, the inherent mechanism of ship roll motion is learned from the collected mass of ship roll motion data, and the nonparametric black-box model of ship roll motion is constructed. For example, Yin et al. [9] and Huang et al. [10] applied the variable structure RBF neural network and wavelet neural network to predict ship roll motion, respectively. Chen et al. [11] applied the support vector machine to identify the mathematical model of ship roll motion in shallow water. Suhermi et al. [12] combined the deep forward neural network and ARIMA model to predict ship roll motion.
In recent years, deep neural networks have been applied to solve pattern recognition, function fitting, etc. Xue et al. [13] applied the convolutional neural network to pattern recognition. Belomestny et al. [14] applied deep neural networks to approximate the nonlinear function and its derivatives simultaneously. Rithani et al. [15] discussed the benefits and drawbacks of various deep neural networks for big data analysis. The most common deep neural networks include deep recurrent neural network (RNN) and convolutional neural network (CNN). In contrast to the traditional RNN, the long-short-term memory (LSTM) neural network, a derivative of RNN, reduces the risk of gradient explosion/disappearance during neural network training. Hochreiter et al. [16] achieved this by incorporating an architecture comprising input gate, forgetting gate, output gate, and state storage unit, which effectively regulates neuron states. In the field of ship motion attitude prediction, machine learning has a stronger ability to extract complex nonlinear features and map them to output, compared with mathematical models and statistical models. Therefore, it was applied to predict ship motion by some researchers. Huang et al. [10] established a ship roll motion prediction model, which fully utilizes the fitting ability of conventional neural networks. Zhang et al. [17], Zhang et al. [18] and Wei et al. [19] conducted prediction studies on ship roll motion by the LSTM neural network, respectively. Jiang et al. [20] applied the LSTM neural network to a non-parametric identification model and prediction of ship maneuvering motion. Wang et al. [21] proposed a ship roll angle prediction method based on bidirectional long short-term memory network and temporal pattern attention mechanism combined deep learning model to improve the accuracy of ship roll angle prediction. Sun et al. [22] combined LSTM and Gauss process regression technology to predict ship roll motion and pitch motion, respectively. However, there is relatively little research using convolutional neural network to predict ship roll motion in waves. Further validation is required to assess the effectiveness and robustness of ship roll motion prediction technology by using deep neural networks.
In this paper, CNN is used to predict ship roll motion in the short term. Firstly, CNN is used to predict the free roll decay motion in still water. Secondly, the roll motion in regular waves is predicted by CNN. Thirdly, the roll motion excited by six different irregular wave spectra are respectively simulated, and then the simulation data are learned by CNN. To demonstrate the prediction effect, the prediction results of CNN are compared with that of the LSTM neural network. Through this study, it can be found that the CNN model can predict complex nonlinear phenomena through reasonable training. In addition, the method is not limited by the physical model and has strong prediction performance.

2. Convolutional Neural Network

Convolutional neural network (CNN) is a kind of deep feed-forward neural network, including convolutional computation, and is used especially to process data, similarly to grid structures. By using the gradient descent method, CNN realizes layer-by-layer reverse adjustment of the weight parameters in the network. The prediction accuracy of CNN is improved by iterative training. At present, several deep learning models based on convolutional neural networks, such as AlexNet [23], VGG [24], GoogLeNet [25] and ResNet [26] have been proposed successively and have been widely used in image processing and pattern recognition.
Typically, three types of neuron layers, convolutional layer, pooling layer and fully connected layer, together make up the CNN structure. It extracts data features through multi-level nonlinear modules, connects adjacent nodes of the same level through convolution calculation, and carries out feature extraction step by step from low level to high level, so as to construct complex features with multiple levels of abstraction.
Figure 1a depicts the computational principle of CNN. The convolution kernel of CNN slides on the time series data. Since the data it processes each time is in a time window, instead of the data at a certain moment, CNN can extract the changing relationship of the sequence data reflected in the time dimension. Figure 1b simply shows the convolution operation principle of convolution kernel: the 5 × 5 matrix on the left is the input original data, the 3 × 3 matrix in the middle is the convolution kernel, and on the right is the output data. The convolution kernel is a sliding window that moves with a fixed step from left to right and from top to bottom on the original data. Each element in the convolution kernel has a fixed weight and bias. The operation rule adopted by the convolution calculation in CNN is that the original data is multiplied by the convolution kernel and then added, which is expressed as:
{ y n ( i , j ) = k = 1 k n 1 m = 1 w z = 1 h [ y n 1 k ( s i + m , s j + z ) W n k ( m , z ) ] + b n L n ( w ) = L n 1 ( w ) + 2 p w s + 1 L n ( h ) = L n 1 ( h ) + 2 p h s + 1
where y n i , j is the element whose coordinate is i , j in the output data of the n convolution layer; y n 1 i , j is the element whose coordinate is i , j in the input data of the n − 1 convolution layer; k is the number of channels; w is the width of the convolution kernel; h is the height of the convolution kernel; s is the convolution step; b n is the bias parameter of the n convolution layer; p is the number of fills; L n w is the width of y n i , j ; and L n h is the height of y n i , j .
As mentioned above, the convolution kernel slides on the same layer of data and shares a set of convolution kernel parameters during data feature extraction at each position, meaning that the CNN model features sparse connections and parameter sharing. Compared with the fully connected neural network, the number of parameters of CNN is greatly reduced and the learning rate is accelerated. Moreover, the pooling layer of CNN divides the data into several regions and outputs the maximum or average value of the data in each sub-region. This approach trims the amount of data processing and retains the valuable information, and thus improves the processing efficiency and reduces overfitting. After several operations of the convolution layer and pooling layer, the output of CNN is obtained by the calculation of the fully connected layer.
When applied CNN to predict ship roll motion, the basic steps are as follows (see Figure 2).
Firstly, based on the obtained data sample set, the training sample set and the test sample set were constructed. In this article, the data sample set was obtained by numerical simulation according to ship roll motion equation. Then, the sample set was split into the training sample set and the test sample set according to a ratio of 0.7. The first 70% of the data was the training sample set, and the last 30% of the data was the testing sample set.
Secondly, a convolutional neural network predicted model was established. Therein, the input and output dimensions of the CNN, the hyper-parameters, number of convolutional layers, pooling method, learning rate and activation function, etc., were determined in advance.
Thirdly, use the training sample set to train the established CNN model and evaluate the training result by the learning loss, and determine whether adjustment of the CNN parameters was needed.
Finally, based on the trained model, the test sample set was predicted, and the predicted error was also calculated to evaluate the predicted accuracy.

3. Roll Motion Equation of Ships

According to ship hydrodynamics, the roll motion equation of a ship in waves can be described by a second-order nonlinear differential equation:
( I x x + J x x ) ϕ ¨ + D ( ϕ ˙ ) + R ( ϕ ) = F
where ϕ is the angle of roll (rad); I x x is the roll moment of inertia ( k g · m 2 ) ; J x x is the additional moment of inertia ( k g · m 2 ) ; D ϕ ˙ is roll damping ( N · m ) ; R ϕ is roll restoring moment ( N · m ) ; and F is the wave excitation moment ( N · m ) .
For the purpose of achieving precise prediction of ship roll motion, the key is to accurately determine the damping of roll motion in waves. According to Ikeda’s theory [27], roll damping is mainly composed of friction damping, vortex damping, lift damping, wave damping and bilge keel damping. However, each part is coupled together, and it is difficult to determine each part separately in practice. To predict roll damping, it is usually expanded as a function of roll angular rate:
D ( ϕ ˙ ) = D 1 ϕ ˙ + D 2 | ϕ ˙ | ϕ ˙ + D 3 ϕ ˙ 3 +
where D i ,   i = 1 ,   2 ,   3 ,   are linear or nonlinear damping coefficients. In practical applications, the nonlinear roll damping of ships is commonly represented by combining linear components with quadratic or cubic terms:
D ( ϕ ˙ ) = D 1 ϕ ˙ + D 2 | ϕ ˙ | ϕ ˙ , o r , D ( ϕ ˙ ) = D 1 ϕ ˙ + D 3 ϕ ˙ 3
The restoring moment of ship roll is expressed as an odd function of roll angle:
R ( ϕ ) = R 1 ϕ + R 3 ϕ 3 + R 5 ϕ 5 + = R 2 i 1 ϕ 2 i 1 , i = 1 , 2 , 3 ,
where R 2 i 1 ,   i = 1 ,   2 ,   3 ,   are linear or nonlinear restoring moment coefficients:
By introducing Equations (3) and (5) into Equation (2), the rolling motion equation of a ship in waves can be written:
( I x x + J x x ) ϕ ¨ + D 1 ϕ ˙ + D 2 | ϕ ˙ | ϕ ˙ + D 3 ϕ ˙ 3 + + R 1 ϕ + R 3 ϕ 3 + R 5 ϕ 5 + = F
Perform division on both sides of Equation (6) by I x x + J x x , and the ship roll motion equation can be normalized as:
ϕ ¨ + d 1 ϕ ˙ + d 2 | ϕ ˙ | ϕ ˙ + d 3 ϕ ˙ 3 + + r 1 ϕ + r 3 ϕ 3 + r 5 ϕ 5 + = f
where f = F / I x x + J x x ; d i = D i / I x x + J x x ; a n d   r i = R i / I x x + J x x .
When a ship performs free roll attenuation motion in still water, the wave excitation is zero. The equation describing the free roll decay motion can be formulated as:
ϕ ¨ + d 1 ϕ ˙ + d 2 | ϕ ˙ | ϕ ˙ + d 3 ϕ ˙ 3 + + r 1 ϕ + r 3 ϕ 3 + r 5 ϕ 5 + = 0
When a ship rolls in regular waves, the moment generated by wave excitation can be expressed as:
f = f A cos ( ω e t + β ) = f 1 cos ω e t + f 2 sin ω e t
where f A is the amplitude of wave excitation moment; ω e is the wave encounter frequency of ship roll motion; and β is the phase difference; f 1 = f A cos β ; f 2 = f A sin β .
By substituting Equation (9) into rolling motion Equation (7), the equation depicting the rolling motion of a ship in regular waves can be expressed as:
ϕ ¨ + d 1 ϕ ˙ + d 2 | ϕ ˙ | ϕ ˙ + d 3 ϕ ˙ 3 + + r 1 ϕ + r 3 ϕ 3 + r 5 ϕ 5 + = f 1 cos ω e t + f 2 sin ω e t
As a ship navigates through irregular waves, the wave excitation moment and the roll motion are also irregular. According to the superposition principle, the irregular wave excitation can be interpreted as the cumulative effect of multiple regular wave excitations, characterized by different amplitudes, frequencies and random phases:
f = i = 1 f i , A cos ( ω i t + θ i )
where ω i is the frequency of each component; and θ i is the phase of each component, uniformly distributed in the interval [0, 2π].
By substituting Equation (11) into Equation (7), the equation governing the roll motion of a ship under irregular waves can be formulated as:
ϕ ¨ + d 1 ϕ ˙ + d 2 | ϕ ˙ | ϕ ˙ + d 3 ϕ ˙ 3 + + r 1 ϕ + r 3 ϕ 3 + r 5 ϕ 5 + = i = 1 f i , A cos ( ω i t + θ i )

4. Training Model Setting

In this paper, a new designed ship for marine aquaculture was selected to be analyzed. The full-scaled ship parameters are listed in Table 1. The scale ratio of the ship model used in this study is 1/42.

4.1. Data Preprocessing

For the purpose of validating the applicability and accuracy of the deep neural network model, it is necessary to prepare the data set for training deep neural networks in advance.
In order to obtain the data for ship free roll decay motion in still water, linear and quadratic damping was used. Meanwhile, the linear and cubic restoring moment and the used free roll decay motion equation were rewritten as
ϕ ¨ + d 1 ϕ ˙ + d 2 | ϕ ˙ | ϕ ˙ + r 1 ϕ + r 3 ϕ 3 = 0
The nonlinear damping coefficient and restoring moment coefficient were determined by using ship hydrodynamics in advance. The damping and restoring moment coefficients were d1 = 0.002576, d2 = −0.004437, r1 = 0.3950, r3 = 0.6348. The initial angle was set to 0.262 rad and the time step size was h = 0.05 s, and the fourth-order Runge–Kutta method was used to solve the free roll decay motion equation. The obtained roll motion is shown in Figure 3.
To obtain the roll motion in regular waves, linear and quadratic damping was used, and the linear and cubic restoring moment was used. The wave amplitude was 0.118 m and wave frequency was 0.45 rad/s. The simulated rolling motion is shown in Figure 4.
In order to validate the prediction effect of CNN, the roll motion under six different irregular wave spectrum excitations was simulated, and the simulated roll responses were used to construct the sample set.
The white noise spectrum excitation consists of 70 cosine functions with an amplitude of 0.07 rad/s2 at equal frequency intervals. The frequency range is selected from 2.0 to 5.0 rad/s, which is expressed by the formula:
f = i = 1 70 0.07 cos ( ω i t + θ i )
where ωi is the frequency of each component; and θi is the phase of each component, evenly distributed in the interval (0, 2π).
The roll motion under white noise excitation could be obtained by numerical simulation. The obtained roll motion is given in Figure 5.
Based on ship hydrodynamics, the nonlinear roll motion excited by the irregular waves could be simulated. The significant wave height and spectral peak frequency of the irregular wave were selected as 0.07 m and 3.14 rad/s, respectively. In addition, the irregular wave was represented by the P-M spectrum, JONSWAP spectrum, Neuman spectrum, ITTC spectrum and two parameters spectrum, respectively. Therein, the P-M spectrum excitation consisted of 90 cosine functions, with the frequency range 0.5 to 1.5 rad/s. The JONSWAP spectral excitation was composed of 70 cosine functions with equal frequency interval, and the frequency range was selected from 2.0 to 8.0 rad/s. The Neuman spectrum excitation was composed of 80 cosine functions at equal frequency intervals and the frequency range was selected from 1.5 to 8.0 rad/s. The ITTC spectrum excitation consisted of 70 cosine functions at equal frequency intervals, and the frequency range was selected from 2.3 to 12.2 rad/s. The two parameters spectrum excitation was composed of 90 cosine functions and the frequency range was 0.3 to 2.0 rad/s. The simulated nonlinear roll motion is shown in Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10.
After the data set is prepared, it usually needs to preprocess the data and construct the input and output of CNN. With the aim of expediting neural network convergence and mitigating the impact of diverse data dimensions, the data is normalized by using the maximum and minimum normalization approach:
X i = X i min ( X i ) max ( X i ) min ( X i ) , i = 1 , 2 , , n
where m i n X i , m a x X i represent the maximum and minimum values of the data set; X i is the normalized data; and n indicates the amount of data in the data set.
When training CNN, the output values of CNN should be reverse-normalized according to the following formula:
y ^ i = [ max ( X i ) min ( X i ) ] y ^ i + min ( X i )
where y ^ i is the output value after normalization; and y ^ is the actual output value.
Once the data is normalized, the sample sets for training and testing of CNN are made through the time sliding window. The operation process is shown in Table 2 and Table 3. Therein, X represents the training sample set; T represents the test sample set; t is the length of the time sliding window; and T ^ is the output of the deep neural network.

4.2. Hyper-Parameters Setting

Before CNN is trained by learning from the constructed training sample set, the learning algorithm and hyper-parameters of CNN must be predefined. In this paper, the convolutional neural network model is implemented by using the Keras framework, and the hyper-parameters of the convolutional neural network are selected after several times of debugging (see Table 4). The step length of time window during training is set to 16, i.e., the data of the first 16 steps of the current moment predicts the movement of the current moment and the next 5 steps. To enhance the learning efficiency of the convolutional neural network, the Adam algorithm is adopted in this paper. The initial learning rate was set as 0.001 and, during the training process, the learning rate decay and an early stop mechanism are incorporated to improve the learning efficacy of CNN. In addition, the training set data was learned in batches, i.e., the training data was divided into a batch of data sets, and the learning order of the small batch data sets was disrupted at each time of learning, so that the neural network could fully learn the data characteristics. The size of batch affects the learning speed of the neural network. If the batch size is too large, it loses the significance of grouping the data to learn; and if the batch size is too small, it affects the computational efficiency. After debugging several times, the size of the small batch data set was finally determined as 32.

4.3. Evaluation Criteria

In order to assess the learning and prediction performance of the CNN model, the mean absolute error (MAE), mean square error (MSE), root mean square error (RMSE) and determination coefficient (R2) are adopted as evaluation indexes in this study. The mean absolute error is the average of the absolute discrepancies between the predicted values and the corresponding labels. The mean square error is the average of the squares’ differences between the predicted values and the corresponding label values. The root mean square error is the square root of the mean square error. The closer the first three evaluation indexes are to zero, the better the prediction effect of the CNN model. The determination coefficient is the value obtained by dividing the regression sum of squares by the total sum of squares, and the closer the determination coefficient is to 1, the better the prediction effect of CNN model. According to the definition, the MAE, MSE, RMSE and R2 are calculated respectively by:
{ M A E = i = 1 N | y p i y l i | N , R M S E = i = 1 N ( y p i y l i ) 2 N M S E = i = 1 N ( y p i y l i ) 2 N , R 2 = 1 i = 1 N ( y p i y l i ) 2 i = 1 N ( y p i y l ¯ ) 2
where N is the number of samples; the variable with the subscript p denotes the predicted value; the variable with the subscript l denotes the label of the data set; and y l ¯ denotes the average value of the label.

5. Results and Discussion

In order to validate the applicability and effectiveness of CNN in ship roll motion prediction, it is applied to analyze free roll attenuation motion in still water, roll motion in a regular wave and roll motion in an irregular wave, respectively. Meanwhile, the learning prediction effect of convolutional neural network is compared with that of long short-term memory neural network, which is widely used at present.

5.1. Prediction of Roll Motion in Still Water

In this subsection, CNN is used to model and predict the free roll decay motion of ships in still water. The prediction results of CNN are shown in Figure 11, and a comparison is conducted between the prediction values of CNN and those generated by LSTM neural network. The five-step prediction errors of the two neural networks are shown in Table 5. Table 6 shows the increase of error generated by each additional step in the multi-step forecast.
From Figure 11, it can be concluded that CNN and LSTM can be used for short-term prediction of free roll decay motion in still water. In Table 5, since the data for free roll attenuation at the late stage of movement is infinitely close to 0, the calculated value of the determination coefficient R2 is too large to have practical reference significance, and not given. According to MAE, RMSE and MSE in Table 5, it can be seen that the forecast accuracy of CNN is the same as that of LSTM neural network. The forecast error increase in Table 6 shows that LSTM neural network has a large error increase, i.e., the multi-step forecast effect of CNN is better than that of LSTM neural network.

5.2. Prediction of Roll Motion in Regular Waves

On the basis of the obtained simulation data for the nonlinear roll motion in regular waves, the training set and test set of CNN are constructed according to the format in Table 1 and Table 2. The training set is employed to train CNN, and the training and learning effect is verified by the test set. At the same time, the LSTM neural network is also used to predict the roll motion. The prediction results of the test set by CNN are displayed in Figure 10. Therein, the prediction results of CNN are shown in Figure 12a, and the predicted results of LSTM neural network are shown in Figure 12b. Table 7 and Table 8 present the predicted discrepancies between CNN and LSTM neural networks, along with the incremental changes in forecast errors at each step.
According to the above results, it can be seen that both CNN and LSTM can carry out short-term forecasts of ship roll motion in regular waves, and the forecast error increase for CNN is lower than that for LSTM, i.e., the short-term forecast effect for CNN is better than that for LSTM.

5.3. Prediction of Roll Motion in Irregular Waves

In this subsection, regarding the accuracy and applicability of CNN for prediction of the nonlinear roll motion in irregular waves, this paper applies CNN to analyze the random roll motion data excited by six irregular wave spectra, namely white noise spectrum, P-M spectrum, JONSWAP spectrum, Neumann spectrum, ITTC spectrum and dual parameter spectrum. At the same time, the LSTM neural network is also used to predict the nonlinear roll motion excited by the six irregular wave spectra, and the prediction results are compared with that of CNN.

5.3.1. Predicted Results for Roll Motion under White Noise Excitation

Using CNN and LSTM neural network to predict the nonlinear roll motion excited by the white noise spectrum, the comparison results between CNN and LSTM neural network are shown in Figure 13. Moreover, Table 9 and Table 10 give the predicted errors of CNN and LSTM under white noise spectrum excitation and the error growth of each step in the five-step prediction.
Combining the prediction comparison in Figure 13 and the predicted evaluation indicators given in Table 9 and Table 10, it can be founded that both models performed well under the four evaluations. The indicators of the CNN model under the four evaluations were smaller than those of the LSTM model, which illustrates that the prediction performance of CNN model is better than that of LSTM model. The error increase at each step in the five-step prediction of the CNN model is lower than that of LSTM, indicating that the CNN model has higher accuracy.

5.3.2. Predicted Results of Roll Motion under P-M Spectrum Excitation

The CNN and LSTM neural network was used to predict the nonlinear roll motion excited by the P-M spectrum, and the comparison results between CNN and LSTM neural networks are shown in Figure 14. Moreover, Table 11 and Table 12 demonstrate the predicted errors of CNN and LSTM under P-M spectrum excitation and the error growth of each step in the five-step prediction.
From the prediction results in Figure 14, Table 11 and Table 12, it can be seen that both models performed well under the four evaluations. The MAE, MSE and RMSE evaluation indicators of the CNN model are smaller than those of the LSTM model, and the R2 evaluation index is close to 1, which shows that the CNN model has better prediction performance. The error increase for each step of the CNN is higher than that of the LSTM model. Therefore, the CNN model is more accurate in the short-term prediction of the roll motion excited by the P-M spectrum, and the LSTM model has higher accuracy in the long-term prediction.

5.3.3. Predicted Results of Roll Motion under JONSWAP Spectrum Excitation

Using CNN and LSTM neural network to predict the nonlinear roll motion excited by the JONSWAP spectrum, the comparison results between CNN and LSTM neural networks are shown in Figure 15.
Table 13 and Table 14 give the predicted errors of CNN and LSTM under JONSWAP spectrum excitation and the error growth of each step in the five-step prediction.
From Figure 13, Table 13 and Table 14, it can be seen that both models performed well under the four evaluations. The MAE, MSE and RMSE evaluation indicators of the CNN model are smaller than those of the LSTM model, and there is no hysteresis in the prediction curve of the CNN model, which shows that the CNN model has better prediction performance. However, the CNN model has poor prediction results at wave peaks and troughs, indicating that the performance in complex conditions needs to be further improved.

5.3.4. Predicted Results for Roll Motion under Neuman Spectrum Excitation

Using CNN and LSTM neural networks to predict the nonlinear roll motion excited by the Neuman spectrum, the comparison results between CNN and LSTM neural network are shown in Figure 16. Moreover, the predicted errors for CNN and LSTM under Neuman spectrum excitation and the error growth of each step in the five-step prediction are given in Table 15 and Table 16, respectively.
Combining the prediction results in Figure 16 and evaluation indicators shown in Table 15 and Table 16, it can be discerned that both models performed well under the four evaluations. The MSE, MAE and RMSE evaluation indicators for the CNN model are smaller than those for the LSTM model, which shows that the CNN model has better prediction performance. The error increase in each step of the CNN is lower than that of the LSTM model. Therefore, the CNN model is more accurate in the short-term prediction of the roll motion excited by the Neuman spectrum.

5.3.5. Predicted Results of Roll Motion under ITTC Spectrum Excitation

The nonlinear roll motion excited by the ITTC spectrum was predicted by using CNN and LSTM neural networks, and the comparison results between CNN and LSTM neural network are shown in Figure 17. Table 17 and Table 18 give the forecast errors for CNN and LSTM under ITTC spectrum excitation and the error growth for each step in the five-step prediction.
From Figure 17, Table 17 and Table 18, it can be discerned that the prediction curves of the CNN and LSTM models are close to the real curves and basically consistent with the trend of the real curves. Both models performed well under the four evaluations. The MSE and RMSE evaluation indicators for the CNN model are smaller than those for the LSTM model, which shows that the CNN model has better prediction performance.

5.3.6. Predicted Results of Roll Motion under Double-Parameter Spectrum Excitation

The nonlinear roll motion excited by the double-parameter spectrum was predicted by, respectively, using the CNN and LSTM neural networks, and the comparison results between CNN and LSTM neural networks are shown in Figure 18. Moreover, the predicted errors for CNN and LSTM under double-parameter spectrum excitation and the error growth for each step in the five-step prediction are given in Table 19 and Table 20, respectively. From Figure 18, Table 19 and Table 20, it can be clearly seen that both models performed well under the four evaluations. It can be seen from the evaluation index that the performance of the LSTM model is better than that of the CNN model. The CNN model’s short-term accuracy in predicting the roll motion under double-parameter spectrum excitation is lower than that of the LSTM model, but it can still meet expectations.
Through the above analysis, it can be seen that CNN can achieve accurate prediction of roll motion through learning from the simulation data under external excitation of six irregular spectra, respectively. Moreover, the comparison results demonstrate that CNN has the same prediction precision as that of LSTM neural network. Considering that, in the field of ship motion prediction, irregular waves are mainly approximated by the above six irregular wave spectra, the research results may demonstrate that CNN can be used to predict the nonlinear roll motion in the short term at sea.

6. Conclusions

In this study, CNN is applied to predict the roll motion of ships in the short term. In order to validate the applicability and effectiveness of CNN in the prediction of ship roll motion, free roll decay motion in still water, roll motion in regular waves, and irregular roll motion under excitations of six different wave spectra are predicted, respectively. Meanwhile, the prediction results of CNN are compared with those of LSTM neural network. The comparison results demonstrate that CNN can be applied to predict the roll motion accurately, and it has the same prediction accuracy as that of LSTM neural network. With reasonable training, the model can predict complex nonlinear phenomena. Moreover, this method is not limited by the physical model and has strong prediction performance.
In the present study, only the simulated historical data of ship roll motion is considered as the learning samples set. However, the ship usually suffers from six degree of freedom oscillating motion during navigation, and the measured historical motion data is contaminated by different levels of noise. The efficiency and robustness of the proposed prediction model can be improved by incorporating more useful information. In this paper, the authors focused on the application of CNN to the analysis of ship real multi-freedom measurement data.

Author Contributions

This article was a team effort. Conceptualization, methodology, validation, and investigation, X.H.; investigation and writing original draft, S.X.; funding acquisition, X.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China (Grant No. 52001198).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This work is supported by the National Natural Science Foundation of China under Grant No. 52001198. All individuals included in this section have consented to the acknowledgement.

Conflicts of Interest

The authors declare no conflict of interest.

Glossary

SymbolDescription
wwidth of the convolution kernel
hheight of the convolution kernel
sconvolution step
b n bias parameter of the n convolution layer
pnumber of fills
L n w width of coordinate
L n h height of coordinate
ϕ angle of roll
I x x roll moment of inertia
J x x additional moment of inertia
D ϕ ˙ roll damping
R ϕ roll restoring moment
Fwave excitation moment
R 2 i 1 (i = 1, 2, 3, 4)linear or nonlinear restoring moment coefficients
D i (i = 1, 2, 3, 4)linear or nonlinear damping coefficients
f A amplitude of wave excitation moment
ω e wave encounter frequency of ship roll motion
β phase difference
ω i frequency of each component
θ i phase of each component
ωwave circular frequency
Uaverage wind speed at a height of 19.5m
ω 0 wave frequency
γ spectral peak raising coefficient
S(ω)spectral density function
ggravity acceleration
ζ 2 W / 3 significant wave height
Tobservation average period
X i normalized data
nnumber of data in the data set
y ^ i output value after normalization
y ^ actual output value
X training sample set
T test sample set
t length of the time sliding window
T ^ output of the deep neural network
ppredicted value
llabel of the data set
y l ¯ average value of the label

References

  1. Wang, Y.; Wang, H.; Zhou, B.; Fu, H. Multi-Dimensional Prediction Method Based on Bi-LSTMC for Ship Roll. Ocean Eng. 2021, 242, 110106. [Google Scholar] [CrossRef]
  2. Hashimoto, H.; Omura, T.; Matsuda, A.; Yoneda, S.; Stern, F.; Tahara, Y. Several Remarks on EFD and CFD for Ship Roll Decay. Ocean Eng. 2019, 186, 106082. [Google Scholar] [CrossRef]
  3. Kianejad, S.S.; Enshaei, H.; Duffy, J.; Ansarifard, N. Calculation of Ship Roll Hydrodynamic Coefficients in Regular Beam Waves. Ocean Eng. 2020, 203, 107225. [Google Scholar] [CrossRef]
  4. Kianejad, S.S.; Enshaei, H.; Duffy, J.; Ansarifard, N.; Ranmuthugala, D. Ship Roll Damping Coefficient Prediction Using CFD. Ocean Eng. 2019, 63, 108–122. [Google Scholar] [CrossRef]
  5. Liu, L.W.; Chen, M.X.; Wang, X.Z.; Zhang, Z.G.; Yu, J.W.; Feng, D.K. CFD prediction of full-scale ship parametric roll in head wave. Ocean Eng. 2021, 233, 109180. [Google Scholar] [CrossRef]
  6. Chen, C.; Liu, Y.D.; Zhang, W.; He, Y.P.; Tang, Y.Y. Free roll decay simulation of a polar research vessel with an anti-roll tank based on CFD. Ocean Eng. 2023, 285, 115429. [Google Scholar] [CrossRef]
  7. Jiang, H.; Duan, S.; Huang, L.; Han, Y.; Yang, H.; Ma, Q. Scale Effects in AR Model Real-Time Ship Motion Prediction. Ocean Eng. 2020, 203, 107202. [Google Scholar] [CrossRef]
  8. Selvaraj, J.J.; Arunachalam, V.; Coronado-Franco, K.V.; Romero-Orjuela, L.V.; Ramírez-Yara, Y.N. Time-Series Modeling of Fishery Landings in the Colombian Pacific Ocean Using an ARIMA Model. Reg. Stud. Mar. Sci. 2020, 39, 101477. [Google Scholar] [CrossRef]
  9. Yin, J.-C.; Perakis, A.N.; Wang, N. A Real-Time Ship Roll Motion Prediction Using Wavelet Transform and Variable RBF Network. Ocean Eng. 2018, 160, 10–19. [Google Scholar] [CrossRef]
  10. Huang, B.-G.; Zou, Z.-J.; Ding, W.-W. Online Prediction of Ship Roll Motion Based on a Coarse and Fine Tuning Fixed Grid Wavelet Network. Ocean Eng. 2018, 160, 425–437. [Google Scholar] [CrossRef]
  11. Chen, C.; Ruiz, M.T.; Delefortrie, G.; Mei, T.; Vantorre, M.; Lataire, E. Parameter Estimation for a Ship’s Roll Response Model in Shallow Water Using an Intelligent Machine Learning Method. Ocean Eng. 2019, 191, 106479. [Google Scholar] [CrossRef]
  12. Suhermi, N.; Suhartono; Prastyo, D.D.; Ali, B. Roll Motion Prediction Using a Hybrid Deep Learning and ARIMA Model. Procedia Comput. Sci. 2018, 144, 251–258. [Google Scholar] [CrossRef]
  13. Xue, L.; Wu, H.; Zheng, H.; He, Z. Control Chart Pattern Recognition for Imbalanced Data Based on Multi-Feature Fusion Using Convolutional Neural Network. Comput. Ind. Eng. 2023, 182, 109410. [Google Scholar] [CrossRef]
  14. Belomestny, D.; Naumov, A.; Puchkin, N.; Samsonov, S. Simultaneous Approximation of a Smooth Function and Its Derivatives by Deep Neural Networks with Piecewise-Polynomial Activations. Neural Netw. 2023, 161, 242–253. [Google Scholar] [CrossRef] [PubMed]
  15. Rithani, M.; Kumar, R.P.; Doss, S. A Review on Big Data Based on Deep Neural Network Approaches. Artif. Intell. Rev. 2023, 56, 14765–14801. [Google Scholar] [CrossRef]
  16. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  17. Zhang, T.; Zheng, X.-Q.; Liu, M.-X. Multiscale Attention-Based LSTM for Ship Motion Prediction. Ocean Eng. 2021, 230, 109066. [Google Scholar] [CrossRef]
  18. Zhang, D.; Zhou, X.; Wang, Z.-H.; Peng, Y.; Xie, S.-R. A Data Driven Method for Multi-Step Prediction of Ship Roll Motion in High Sea States. Ocean Eng. 2023, 276, 114230. [Google Scholar] [CrossRef]
  19. Chen, Z.; Zhao, C.; Tu, Y.; Chen, X.; Yang, R. A BiLSTM Hybrid Model for Ship Roll Multi-Step Forecasting Based on Decomposition and Hyperparameter Optimization. Ocean Eng. 2021, 242, 110138. [Google Scholar]
  20. Jiang, Y.; Hou, X.-R.; Wang, X.-G.; Wang, Z.-H.; Yang, Z.-L.; Zou, Z.-J. Identification Modeling and Prediction of Ship Maneuvering Motion Based on LSTM Deep Neural Network. J. Mar. Sci. Technol. 2022, 27, 125–137. [Google Scholar] [CrossRef]
  21. Wang, Y.-C.; Wang, H.; Zou, D.-X.; Fu, H.-X. Ship Roll Prediction Algorithm Based on Bi-LSTM-TPA Combined Model. J. Mar. Sci. Eng. 2021, 9, 387. [Google Scholar] [CrossRef]
  22. Sun, Q.; Tang, Z.; Gao, J.; Zhang, G. Short-Term Ship Motion Attitude Prediction Based on LSTM and GPR. Appl. Ocean Res. 2022, 118, 102927. [Google Scholar] [CrossRef]
  23. Xu, Q.; Yang, Y.; Zhang, C.; Zhang, L. Deep Convolutional Neural Network-Based Autonomous Marine Vehicle Maneuver. Int. J. Fuzzy Syst. 2018, 20, 687–699. [Google Scholar] [CrossRef]
  24. Zhou, J.; Ren, K.; Wan, M.; Cheng, B.; Gu, G.; Chen, Q. An Infrared and Visible Image Fusion Method Based on VGG-19 Network. Optik 2021, 248, 168084. [Google Scholar] [CrossRef]
  25. Ak, A.; Topuz, V.; Midi, I. Motor Imagery EEG Signal Classification Using Image Processing Technique over GoogLeNet Deep Learning Algorithm for Controlling the Robot Manipulator. Biomed. Signal Process. Control 2022, 72, 103295. [Google Scholar] [CrossRef]
  26. Jiang, Y.; Li, Y.; Zhang, H. Hyperspectral Image Classification Based on 3-D Separable ResNet and Transfer Learning. IEEE Geosci. Remote Sens. Lett. 2019, 16, 1949–1953. [Google Scholar] [CrossRef]
  27. Alexandersson, M.; Mao, W.; Ringsberg, J.W. Analysis of Roll Damping Model Scale Data. Ships Offshore Struct. 2021, 16, 85–92. [Google Scholar] [CrossRef]
Figure 1. Convolutional neural network.
Figure 1. Convolutional neural network.
Jmse 12 00102 g001
Figure 2. Brief flow chart of CNN.
Figure 2. Brief flow chart of CNN.
Jmse 12 00102 g002
Figure 3. Free roll decay motion.
Figure 3. Free roll decay motion.
Jmse 12 00102 g003
Figure 4. Roll motion under regular wave conditions.
Figure 4. Roll motion under regular wave conditions.
Jmse 12 00102 g004
Figure 5. White noise spectral roll angle simulation.
Figure 5. White noise spectral roll angle simulation.
Jmse 12 00102 g005
Figure 6. P-M spectral roll angle simulation.
Figure 6. P-M spectral roll angle simulation.
Jmse 12 00102 g006
Figure 7. JONSWAP spectral roll angle simulation.
Figure 7. JONSWAP spectral roll angle simulation.
Jmse 12 00102 g007
Figure 8. Neuman spectral roll angle simulation.
Figure 8. Neuman spectral roll angle simulation.
Jmse 12 00102 g008
Figure 9. ITTC spectral roll angle simulation.
Figure 9. ITTC spectral roll angle simulation.
Jmse 12 00102 g009
Figure 10. Two-parameter spectral roll angle simulation.
Figure 10. Two-parameter spectral roll angle simulation.
Jmse 12 00102 g010
Figure 11. Predicted results for free roll decay motion.
Figure 11. Predicted results for free roll decay motion.
Jmse 12 00102 g011
Figure 12. Predicted results of roll motion in regular waves.
Figure 12. Predicted results of roll motion in regular waves.
Jmse 12 00102 g012
Figure 13. Predicted results of roll motion under white noise excitation.
Figure 13. Predicted results of roll motion under white noise excitation.
Jmse 12 00102 g013
Figure 14. Predicted results of roll motion under P-M spectrum excitation.
Figure 14. Predicted results of roll motion under P-M spectrum excitation.
Jmse 12 00102 g014aJmse 12 00102 g014b
Figure 15. Predicted results of roll motion under JONSWAP spectrum excitation.
Figure 15. Predicted results of roll motion under JONSWAP spectrum excitation.
Jmse 12 00102 g015
Figure 16. Predicted results for roll motion under Neuman spectrum excitation.
Figure 16. Predicted results for roll motion under Neuman spectrum excitation.
Jmse 12 00102 g016aJmse 12 00102 g016b
Figure 17. Predicted results of roll motion under ITTC spectrum excitation.
Figure 17. Predicted results of roll motion under ITTC spectrum excitation.
Jmse 12 00102 g017
Figure 18. Predicted results for roll motion under double-parameter spectrum excitation.
Figure 18. Predicted results for roll motion under double-parameter spectrum excitation.
Jmse 12 00102 g018aJmse 12 00102 g018b
Table 1. Ship information.
Table 1. Ship information.
ParameterValueUnit
Length between perpendiculars250.00m
Breadth43.95m
Depth27.25m
Block coefficient0.85-
Table 2. Training samples set.
Table 2. Training samples set.
SampleFeatureLabel
Sample 1 ( X 1 , X 2 , X 3 , , X t ) X t + 1
Sample 2 ( X 2 , X 3 , X 4 , , X t + 1 ) X t + 2
Sample 3 ( X 3 , X 4 , X 5 , , X t + 2 ) X t + 3
Sample n ( X n , X n + 1 , X n + 2 , , X t + n 1 ) X t + n
Table 3. Testing samples set.
Table 3. Testing samples set.
Step NumberInputOutput
Step number 1 ( T i , T i + 1 , T i + 2 , , T i + t 1 ) T ^ i + t
Step number 2 ( T i + 1 , T i + 2 , , T i + t 1 , T ^ i + t ) T ^ i + t + 1
Step number 3 ( T i + 2 , , T i + t 1 , T ^ i + t , T ^ i + t + 1 ) T ^ i + t + 2
Step number 4 ( T i + 3 , , T ^ i + t , T ^ i + t + 1 , T ^ i + t + 2 ) T ^ i + t + 3
Step number 5 ( T i + 4 , , T ^ i + t + 1 , T ^ i + t + 2 , T ^ i + t + 3 ) T ^ i + t + 4
Table 4. Hyper-parameters of CNN.
Table 4. Hyper-parameters of CNN.
Hyper-ParametersFeatureRegular Wave RollIrregular Wave Roll
Activation functionReLUReRUTanh
Convolution layer number122
Pooling modeMaximum poolingAverage poolingAverage pooling
Convolution kernel size1 × 71 × 71 × 7
Table 5. Predicted errors for free roll decay motion.
Table 5. Predicted errors for free roll decay motion.
MAE (×10−6)RMSE (×10−6)MSE (×10−12)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
12.5724.6532.5724.6536.61821.64--
22.5984.7202.5984.7206.75022.41--
32.6544.8712.6544.8717.04323.72--
42.7355.0822.7355.0827.48325.83--
52.8235.3322.8235.3327.97128.43--
Table 6. Increase in predicted errors for free roll decay motion.
Table 6. Increase in predicted errors for free roll decay motion.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
11.011.441.011.446.6183.56
22.163.192.163.196.7505.85
33.054.333.054.337.0438.90
43.224.923.224.927.48310.07
Table 7. Predicted error of roll motion in regular waves.
Table 7. Predicted error of roll motion in regular waves.
MAE (×10−8)RMSE (×10−7)MSE (×10−14)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
17.0201.4301.0271.8001.0553.2380.9999999610.999999882
27.3501.7421.0652.2041.1354.8600.9999999580.999999822
37.7942.1341.0952.7151.2007.3730.9999999560.999999730
48.1802.6151.1183.3451.2501.1190.9999999540.999999590
58.6113.1821.1624.0881.3501.6710.9999999500.999999388
Table 8. Prediction error increase of roll motion in regular waves.
Table 8. Prediction error increase of roll motion in regular waves.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
14.7021.803.7022.447.5850.09
26.0422.502.8223.195.7351.71
34.9522.532.1023.204.1751.77
45.2721.683.9422.218.0049.33
Table 9. Predicted errors of roll motion under white noise excitation.
Table 9. Predicted errors of roll motion under white noise excitation.
MAE (×10−2)RMSE (×10−2)MSE (×10−4)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
10.2990.3880.3570.4360.1280.1900.9992510690.999495923
20.8561.1640.9891.3280.9781.7630.9942620240.995322706
31.4882.0141.7842.4143.1825.8250.9813302930.984546377
42.1732.9632.6653.6077.10013.010.9583455660.965479822
52.8953.9663.5694.83612.7423.380.9252548100.937962555
Table 10. Prediction error increase of roll motion under white noise excitation.
Table 10. Prediction error increase of roll motion under white noise excitation.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
1186.13200.07176.77204.66665.86827.89
273.8773.0280.4081.78225.36230.40
346.0347.1249.3849.42123.13123.35
433.2333.8533.9234.0779.4479.71
Table 11. Predicted errors of roll motion under P-M spectrum excitation.
Table 11. Predicted errors of roll motion under P-M spectrum excitation.
MAE (×10−2)RMSE (×10−2)MSE (×10−4)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
10.3150.3230.3810.3940.1450.1550.9993513190.999304812
20.8720.8701.0131.0081.0261.0150.9954047450.995453743
31.5031.4911.8121.7913.2843.2060.9852965800.985644504
42.1992.1752.6912.6577.2407.0610.9675855050.968387693
52.9132.8873.5863.55012.8612.600.9424315390.943579568
Table 12. Prediction error increase of roll motion under P-M spectrum excitation.
Table 12. Prediction error increase of roll motion under P-M spectrum excitation.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
1176.74169.05166.16155.84608.07553.57
272.3671.3678.8777.68220.08215.86
346.3145.8648.5148.35120.46120.24
432.4732.7333.2633.6177.6278.44
Table 13. Predicted errors for roll motion under JONSWAP spectrum excitation.
Table 13. Predicted errors for roll motion under JONSWAP spectrum excitation.
MAE (×10−2)RMSE (×10−2)MSE (×10−4)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
10.3890.3910.4330.4380.1870.1920.9995678440.999558655
21.1751.1721.3351.3321.7821.7750.9958844200.995908648
32.0402.0342.4252.4255.8795.8790.9864228010.986448216
42.9832.9913.6243.63513.1413.220.9696653590.969538313
53.9944.0064.8854.90823.8724.090.9448833080.944474978
Table 14. Prediction error increase for roll motion under JONSWAP spectrum excitation.
Table 14. Prediction error increase for roll motion under JONSWAP spectrum excitation.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
1201.98196.16208.60194.46852.43826.89
273.6276.0881.6583.72229.91231.21
346.2349.1449.4451.38123.51124.87
433.8935.3434.8036.0481.6682.22
Table 15. Predicted errors for roll motion under Neuman spectrum excitation.
Table 15. Predicted errors for roll motion under Neuman spectrum excitation.
MAE (×10−2)RMSE (×10−2)MSE (×10−5)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
10.1550.1560.1750.1810.3080.3260.9996088360.999585055
20.4610.4620.5320.5322.8342.8280.9963969820.996403677
30.8100.8140.9710.9779.4309.5450.9880096480.987863093
41.2121.2141.4691.47921.5821.880.9725646650.972178763
51.6321.6431.9922.01239.6740.480.9495575170.948521252
Table 16. Prediction error increase for roll motion under Neuman spectrum excitation.
Table 16. Prediction error increase for roll motion under Neuman spectrum excitation.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
1198.06196.16203.48194.46821.33766.69
275.6276.0882.4583.72232.75237.52
349.6749.1451.2651.38128.84129.23
434.6535.3435.6036.0483.8385.01
Table 17. Predicted errors of roll motion under ITTC spectrum excitation.
Table 17. Predicted errors of roll motion under ITTC spectrum excitation.
MAE (×10−2)RMSE (×10−2)MSE (×10−4)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
10.3930.3980.4430.4480.1960.2010.9993971380.999381032
21.1581.1561.3251.3241.7561.7530.9945928420.994601848
31.9771.9692.3752.3765.6395.6480.9826368770.982609198
42.8852.8793.5283.53212.4512.470.9616706730.961587315
53.8383.8264.7134.72522.2222.330.9315861280.931242631
Table 18. Prediction error increase for roll motion under ITTC spectrum excitation.
Table 18. Prediction error increase for roll motion under ITTC spectrum excitation.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
1194.96190.60199.44195.34796.83772.14
270.7370.3379.2579.46221.13222.19
345.9346.2248.5548.65120.78120.79
433.0332.8933.5933.7878.4779.07
Table 19. Predicted errors for roll motion under double-parameter spectrum excitation.
Table 19. Predicted errors for roll motion under double-parameter spectrum excitation.
MAE (×10−2)RMSE (×10−2)MSE (×10−5)R2
CNNLSTMCNNLSTMCNNLSTMCNNLSTM
10.1450.1440.1660.1620.2740.2620.9996489030.999664904
20.4340.4300.5010.4922.5142.4180.9967844150.996905922
30.7620.7520.9160.9018.3878.1020.9892704670.989631827
41.1241.1101.3771.35918.9518.480.9757600270.976351532
51.5081.4921.8611.84434.6434.000.9556806470.956495798
Table 20. Prediction error increase for roll motion under double-parameter spectrum excitation.
Table 20. Prediction error increase for roll motion under double-parameter spectrum excitation.
MAE (%)RMSE (%)MSE (%)
CNNLSTMCNNLSTMCNNLSTM
1199.72198.40202.60203.89816.18823.25
275.6574.7782.6583.06233.61235.07
347.4547.7050.3650.98125.95128.09
434.1634.4135.1535.6982.8083.98
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hou, X.; Xia, S. Short-Term Prediction of Ship Roll Motion in Waves Based on Convolutional Neural Network. J. Mar. Sci. Eng. 2024, 12, 102. https://doi.org/10.3390/jmse12010102

AMA Style

Hou X, Xia S. Short-Term Prediction of Ship Roll Motion in Waves Based on Convolutional Neural Network. Journal of Marine Science and Engineering. 2024; 12(1):102. https://doi.org/10.3390/jmse12010102

Chicago/Turabian Style

Hou, Xianrui, and Sijun Xia. 2024. "Short-Term Prediction of Ship Roll Motion in Waves Based on Convolutional Neural Network" Journal of Marine Science and Engineering 12, no. 1: 102. https://doi.org/10.3390/jmse12010102

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop