Professional Documents
Culture Documents
Experimental Ship Hydrodynamics - Signal Processing-: Félicien Bonnefoy
Experimental Ship Hydrodynamics - Signal Processing-: Félicien Bonnefoy
-SIGNAL PROCESSING-
XU CHENG
MARTINUS PUTRA WIDJAJA
FLICIEN BONNEFOY
EMSHIP
EUROPEAN MASTERS COURSE
IN INTEGRATED ADVANCED SHIP DESIGN
COLE CENTRALE DE NANTES
2015
List of Contents
INTRODUCTION ................................................................................................................ 3
REGULAR WAVES ............................................................................................................. 3
Time Domain Analysis ...................................................................................................... 3
Preliminary Frequency Analysis ........................................................................................ 4
Frequency Analysis of the steady regime ........................................................................... 5
IRREGULAR WAVES ......................................................................................................... 8
REGULAR WAVES
The three different parts are introduced in order to understand how to analyze the signal.
These three parts are based on a binary file named regular.mat which contain 3 variables :
1. The sampling frequency (f_samp) = 60 Hz
2. The time which stored in vector, (time in seconds)
3. The wave elevation which measured by resistive probe, (wave in meters)
duration and number of data points which is 51.083 s and 3066 data points. By observing the
data inside the time vector, a constant step is observed as dt and this value is 0.0167 s.
Therefore, the relation between dt and the sampling frequency (60 Hz) is
There are two regions observed inside the wave signal by plotting the time and wave as in
figure 1. The low and developing region is called transient region and the harmonic part
commonly known as the steady region. There is a low noise existing at both regions, this
might happen due to electrical noise, etc. From around 6 s, the wave-maker starts to generate
the wave and at around 13th s the steady wave occurs until the end. The wave amplitude is
around 0.32 m and the wave period is around 2 second. Since the noise detected in the
transient region is only between -0.005 to 0.005 m, the influence of the noise is relatively
small compared to the amplitude of the steady wave signal. So this noise will not have a big
effect to the analysis.
The result in figure 2 has a unique shape which creating a symmetric value about the xplane=30 Hz which means both two sides have the same information. So, the frequency can
After zooming in at the main peak, we are able to see one obvious peak where the value is
160 mm at 0.5 Hz. Also a little peak is observed at twice the first's peak frequency which the
value is around 20mm. The frequency which has the highest peak is the frequency of the
wave (1/2second= 0.5 Hz) and the highest amplitude of the FFT results is half of the wave
amplitude (approximate 0.16 m).
The Fourier series command developed by LHEEA and provide Fx (m) and freq (Hz)
[Fx1,freq1]=Fourier(selection1,f_samp);
There is a significant difference between the approaches of FFT function and Fourier
transform from LHEEA on the peak signal as could be observed in figure 4. In the first case,
it has two peak and unsteady signal around the hill of the peak, while by using the Fourier.m
from ECN/LHEEA, better information could be observed due to a steady signal which allow
the main and secondary peak to be seen clearer.
Bonus Question (just present what we understand from studying this example)
For twice of the peak frequency,
here,
. for
In the other hand, the amplitude of the second order Stokes Solution has the following
relation:
From the above Figure 5, it is observed that the amplitude of twice the peak frequency is
around 0.0163m.
We get the Figure 6 via Fourier transform on the whole signal. It is not too easy to understand
this spectrum and the points on the spectrum fluctuate too strong along frequency axis. The
reason is that the original wave signal is an irregular wave in time domain and different
frequencies of the signal have different amplitudes.
In order to analyze the irregular waves, a Fourier transform which had been developed by
ECN could be used as in regular waves. But, as can be seen in figure 7, the result is still
unclear and too fluctuates. Therefore another built in function in Matlab called pwelch.m
should be used in order to estimate the power spectral density which could help to gain the
useful information from the above result. Before using this function, the different lengths of
time segment must be set. In this case, a set of different time segment had been chosen as
follow, (Seg1=7s, Seg2=17s, Seg3=23S and Seg4=37s) to investigate the effect on the results.
For instance, the syntax of first segment, 7 seconds, can be expressed as following:
[S1,freq1] = pwelch (signal, [], [], seg1*f_samp, f_samp);
The final Figure 8 can be obtained after superimposing the above four spectra. As we can see,
there are four different situations of the spectral density distribution and both the longest and
shortest time segments are not good because of the reasons shown in Table 1:
Table 1. The Obvious Comparison of Spectral Density
Problem
7s
short
large
large
less
few information
37s
long
small
small
much
large fluctuation
Based on the figure 8, a qualitative conclusion could be done in terms of the proper selection
of the time segment. Thus the reasonable lengths of the time segments in this situation are the
middle between two values (17-23 seconds). But the 23 seconds of the time segment is the
best one from all the four time lengths, which is marked as blue line in the figure 8.
After developing such kind of graph, a further analysis could be done in order to obtain the
information about the wave such as peak period (Tp), significant wave height (Hs), mean
period (Tm), up-crossing period (Tz), and the analytical (Tp). This could be done as follow,
For each segment length, evaluate following statistical values
10
for each segment. Finally, the different parameters of period are obtained based on these
spectrum moments. The final results are listed in the following Table 2
Table 2. The Statistical Results of Difference Tsegment
Relative
T_seg
Hs
Tm
Tz
Tp
Tp / Tz
7s
0.1033m
1.7392s
1.6435s
2.1247s
1.293
8.89%
17s
0.0952m
1.6828s
1.5818s
2.1223s
1.342
4.91%
23s
0.099 m
1.6946s
1.5972s
2.1129s
1.323
6.42%
37s
0.096 m
1.7089s
1.6033s
2.1694s
1.353
4.06%
Error
The relation between Tp and Tz had been calculated as shown in the above table. The relative
error between the relationship of Tp/Tz in Bretschneider spectrum (1.408) with the calculated
results also shown in the table 2. The lowest relative error is occur for time segment 17 and
37 second, therefore the proper time segment should be located around this range. But for 23
second of time segment has an increase of relative error which means another time segment
should be analyzed except 23 second which has the good correlation with the Bretschneider
11
Bonus Question is already explained in the previous paragraph which is about the accuracy
of the different time segment to obtain the good information from the irregular wave.
CONCLUSION
The parameters required in the Fourier analysis for irregular wave are:
Time segment in second, the length of this parameter should be neither too long nor
too short
The f_samp.
The parameters required for the Fourier analysis in regular wave are:
The time window will be depend on the selection of the t_begin and t_end.
Through this Lab work, we learn a useful tool to link the relation between the input or
measured regular & irregular wave data and the reaction of the ship modal. The operator
between these is called RAO (Response Amplitude Operator)
Here,
Once we know the RAO of the system studied, we will be able to study its response to a
given input or measured wave, or vice versa.
12