A ship propeller speed prediction method based on STFT periodic energy peak
By analyzing the propeller noise signal through STFT, extracting the periodic energy peak characteristics and analyzing the correlation with the propeller speed, it solves the propeller speed prediction error caused by noise interference in the existing technology, improves the identification accuracy, and provides a new method for ship speed identification. .
Patent Information
- Application Number
- CN202210211410.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-04
AI Technical Summary
Existing propeller speed prediction technology is susceptible to interference from other noise signals, leading to incorrect judgments.
The short-time Fourier transform (STFT) is used to analyze the propeller noise signal, extract the periodic energy peak characteristics, and conduct correlation analysis with the propeller speed to establish the correlation between the average period time and the speed, which is used to predict the propeller speed.
Through the STFT periodic energy peak method, low-frequency noise interference is avoided, the accuracy of propeller speed identification is improved, and a new method is provided for ship speed identification.
Smart Images

Figure CN114580479B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of ship speed identification, and in particular relates to a ship propeller speed prediction method based on STFT periodic energy peak. Background Art
[0002] Propeller noise is one of the three major noise sources of ships. The unstable hydrodynamic load generated by the rotation of the propeller in the water reacts on the propeller, resulting in noise when the non-uniform water flow passes through the propeller. The noise here is divided into cavitation noise and non-cavitation noise.
[0003] Since the critical speed of the originally designed propeller was relatively low, the propeller's cavitation noise was severe. With the innovation of propeller design concepts and the improvement of design levels, the propeller's cavitation performance has been improved, and the propeller's cavitation-free noise has gradually attracted the attention of researchers.
[0004] The low-frequency noise of a ship's non-cavitation propeller is composed of two parts: line spectrum noise and broadband noise. The line spectrum noise is mainly due to the propeller working in the non-uniform flow field at the stern. When the propeller blades rotate periodically, they will interact with the non-uniform flow field to produce unsteady lift pulsation, thereby radiating periodic discrete spectrum noise. The low-frequency broadband noise of the propeller is mainly due to the propeller working in the turbulent field at the stern. The interaction between turbulence and blades produces random lift pulsation, thereby radiating low-frequency broadband noise.
[0005] The traditional method of propeller speed prediction is to perform Fourier transform based on the propeller wake noise signal, which has rich low-frequency line spectrum information and can infer the propeller speed based on the propeller shaft frequency, blade frequency and other information. However, in the measured signal, this method is easily interfered by other noise signals, so that its low-frequency line spectrum contains a lot of invalid information, resulting in misjudgment. The propeller speed prediction of the periodic energy peak of STFT can avoid the interference of low-frequency noise signals, especially the characteristics of the medium and high frequency bands are particularly obvious, which provides a new method for the identification of ship speed. Summary of the invention
[0006] 1. Technical problem to be solved by the invention
[0007] Based on the problem that the existing propeller speed prediction technology is easily interfered by other noise signals and causes misjudgment, the present invention provides a ship propeller speed prediction method based on STFT periodic energy peak. The present invention uses signal processing technology to perform STFT analysis on the propeller noise signal, extracts the periodic energy peak characteristics, and uses these characteristics to perform correlation analysis with the propeller speed to obtain a method that can accurately predict the propeller speed.
[0008] 2. Technical solution
[0009] In order to achieve the above object, the technical solution provided by the present invention is:
[0010] A ship propeller speed prediction method based on STFT periodic energy peak of the present invention comprises the following steps:
[0011] Step 1: Perform STFT processing on the propeller noise signal, and determine the window function and window length by comparing and analyzing the characteristic quantities in the spectrum diagram;
[0012] Step 2: Using the window function and window length parameters obtained in step 1, perform STFT processing on the propeller noise signal to obtain time-frequency spectrum information;
[0013] Step 3: extract the time-frequency characteristics of the propeller noise signal, and count the time nodes of the periodic energy peaks appearing in the time-frequency graph;
[0014] Step 4: Using the energy peak time node obtained in step 3, the cycle time is obtained by using the difference average method, and a correlation analysis is performed with the propeller speed; a correlation relationship between the average cycle time and the propeller speed is established, and the propeller speed is predicted using the correlation relationship.
[0015] Furthermore, in step one, a propeller noise signal is used as an experimental example, and six window functions, namely rectangular window, triangular window, Hanning window, Hamming window, Gaussian window and Blackman window, are used to perform STFT processing on the propeller noise signal, and the function with the most obvious characteristics is selected as the window function for subsequent analysis; and the time-frequency spectrum diagrams with window lengths of 128, 256, 512, and 1024 are compared to obtain the optimal window length L.
[0016] Furthermore, in step 1, a triangular window function is selected as the window function for subsequent analysis, and the window length is determined to be 512.
[0017] Furthermore, the specific process of step 2 is:
[0018] When the window length is L, the coefficient w(n) of the triangular window is as follows,
[0019]
[0020] Window the noise signal x(t): y(t) = x(t)·w(t-τ0)
[0021] Where w(t-τ0) is the window function centered at t=τ0;
[0022] Perform Fourier transform on the windowed signal y(t):
[0023]
[0024] Among them, STFT(ω,τ) is the result of STFT processing of the noise signal.
[0025] Furthermore, in step 2, the window moving step size is set to L / 2 and the Fourier transform length is set to 4L.
[0026] Furthermore, the specific process of step three is:
[0027] (1) Repeat step 2 to obtain STFT time-frequency diagrams of the propeller noise signal under at least three speed conditions;
[0028] (2) Extract the periodic energy peaks with time as the variable in the time-frequency spectrum and count the time points corresponding to each energy peak.
[0029] Furthermore, the specific process of step 4 is as follows:
[0030] Multiplying the time of a cycle energy peak by its corresponding speed, we can get the relationship between the propeller speed n and the energy peak cycle time T:
[0031] n×T=1 (3)
[0032] The energy peak closest to 0s in the time spectrum is taken as the energy peak of the first time point, and the energy peaks of 9 time points are selected in turn. The time difference between each two energy peaks is a cycle, and the cycle time of the 9 energy peaks is obtained in turn. The final average cycle time T is obtained by using the average value of the difference:
[0033]
[0034] Among them, m is the total number of energy peaks, and t is the energy peak time node;
[0035] A one-to-one mapping relationship is established between the obtained average cycle time and the propeller speed, and the speed of the ship's propeller is predicted by the STFT of the propeller noise signal.
[0036] 3. Beneficial effects
[0037] Compared with the existing known technologies, the technical solution provided by the present invention has the following significant effects:
[0038] (1) The present invention discloses a method for predicting the speed of a ship propeller based on the periodic energy peak of STFT. The STFT method in the field of signal processing is used to study the relevant characteristics of the noise of a cavitation-free propeller. The energy peak characteristics of the STFT spectrum are used to predict the speed of the propeller. This is a new idea for studying the characteristics of propeller noise and has important directional value for ship speed identification technology.
[0039] (2) The present invention relates to a ship propeller speed prediction method based on STFT periodic energy peaks, which links the STFT time-frequency spectrum of the propeller speed and the propeller noise signal, and constructs a characteristic model of the STFT periodic energy peak of the propeller speed and the propeller noise. Compared with the traditional propeller speed identification method, it avoids the interference of low-frequency noise and improves the accuracy of propeller speed identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flow chart of the propeller speed prediction method of the present invention;
[0041] Figure 2 The STFT time-frequency spectrum of six window functions;
[0042] Figure 3 The STFT time-spectrum diagrams of four window lengths;
[0043] Figure 4 It is the STFT time-frequency spectrum of the propeller noise signal when the propeller speed is 15r / s;
[0044] Figure 5 It is the STFT time-frequency spectrum of the propeller noise signal when the propeller speed is 20r / s;
[0045] Figure 6 This is the STFT time-frequency spectrum of the propeller noise signal when the propeller speed is 25r / s. DETAILED DESCRIPTION
[0046] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
[0047] Example 1
[0048] This embodiment uses relevant methods in the field of signal processing to analyze the propeller noise signal, extracts the periodic energy peak characteristics, obtains the periodic information of each energy peak, and then links it with the propeller speed to obtain the final speed prediction formula.
[0049] See also Figure 1 , a ship propeller speed prediction method based on STFT periodic energy peak in this embodiment, the specific steps are as follows:
[0050] Step 1: Determine the window function and window length
[0051] When performing STFT on the propeller noise signal, it is necessary to select a suitable window function and window length. This embodiment first selects a noise signal with a propeller speed of n = 15r / s as an example, and analyzes the effects of six typical window functions on the results, including rectangular window, triangular window, Hanning window, Hamming window, Gaussian window and Blackman window. The analysis results are shown in Figure 2. Figure 2 As shown, it can be clearly seen that the triangular window has the best effect and the energy is more concentrated, so the triangular window function is selected as the window function; Figure 3 These are the STFT time-spectrum diagrams with window lengths of 128, 256, 512, and 1024, respectively. By comparison, the window length is finally determined to be 512.
[0052] Step 2: Obtain the STFT time-frequency spectrum information of the propeller noise signal
[0053] When the window length L is 512, the coefficient w(n) of the triangular window is as follows,
[0054]
[0055] Windowing of the noise signal x(t):
[0056] y(t)=x(t)·w(t-τ0)
[0057] Wherein w(t-τ0) is the window function centered at t=τ0.
[0058] Perform Fourier transform on the windowed signal y(t):
[0059]
[0060] Among them, STFT(ω,τ) is the result of STFT processing of the noise signal.
[0061] Other parameter settings: window moving step: 256, Fourier transform length: 2048.
[0062] Specifically, a STFT program was written in MATLAB software to transform the propeller noise signal from the time domain to the frequency domain. Figure 4 This is the STFT time-frequency spectrum corresponding to the noise signal of the propeller speed n=15r / s. It can be seen that the spectrum has periodic line features.
[0063] Step 3: Count the time nodes of periodic energy peaks
[0064] This embodiment analyzes the noise signals of propellers with speeds of 15r / s, 20r / s, and 25r / s respectively. Figures 4 to 6 It is the corresponding STFT time-frequency spectrum. The spectrum gives the information of some nodes. The time nodes of each periodic energy peak in the spectrum are extracted, as shown in Table 1, which gives the time nodes of 9 consecutive energy peaks.
[0065] Table 1 Energy peak time nodes at different speeds
[0066]
[0067] Step 4: Correlation between periodic energy peaks and propeller speed
[0068] The cycle time T between every two energy peak nodes at the same speed is not much different, and as the propeller speed increases, the cycle time T decreases. Multiplying the time of a cycle energy peak by its corresponding speed is exactly equal to 1 revolution, so the relationship between the propeller speed n and the energy peak cycle time T can be obtained:
[0069] n×T=1 (3)
[0070] In order to avoid the contingency of the experiment, this embodiment takes the energy peak closest to 0s in the time spectrum diagram as the energy peak of the first time point, selects the energy peaks of 9 time points in sequence, and the time difference between each two energy peaks is a cycle. The cycle time of the 9 energy peaks is obtained in sequence, and the final average cycle time T is obtained by using the average value of the difference.
[0071]
[0072] Among them, m is the total number of energy peaks, and t is the energy peak time node.
[0073] Through calculation, the average cycle time of 15r / s is 0.0664s, the average cycle time of 20r / s is 0.0499s, and the average cycle time of 25r / s is 0.0407s. The multiplication of each average cycle time with its corresponding speed is approximately 1, which verifies the relationship model between the propeller speed n and the energy peak cycle time T, indicating that this feature can accurately predict the propeller speed.
[0074] The present invention and its embodiments are described schematically above, and the description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. Therefore, if a person skilled in the art is inspired by it and designs a structural method and an embodiment similar to the technical solution without creativity without departing from the purpose of the invention, they shall all fall within the protection scope of the present invention.
Claims
1. A method for predicting ship propeller speed based on STFT periodic energy peak, characterized in that: The steps are: Step 1: Use six window functions, namely rectangular window, triangular window, Hanning window, Hamming window, Gaussian window and Blackman window, to perform STFT processing on the propeller noise signal, and select the function with the most obvious characteristics as the window function for subsequent analysis; and compare the time-frequency spectrum with window lengths of 128, 256, 512, and 1024 to determine the window function and the optimal window length L; Step 2: Using the window function and window length parameters obtained in step 1, perform STFT processing on the propeller noise signal to obtain time-frequency spectrum information; the specific process is as follows: When the window length is L, the coefficient w(n) of the triangular window is as follows, Window the noise signal x(t): y(t) = x(t)·w(t-τ0) Where w(t-τ0) is the window function centered at t=τ0; Perform Fourier transform on the windowed signal y(t): Among them, STFT(ω,τ) is the result of STFT processing of the noise signal; Step 3: Extract the time-frequency characteristics of the propeller noise signal and count the time nodes of the periodic energy peaks appearing in the time-frequency graph; the specific process is as follows: (1) Repeat step 2 to obtain STFT time-frequency diagrams of the propeller noise signal under at least three speed conditions; (2) extracting periodic energy peaks with time as the variable in the time-frequency spectrum and counting the time points corresponding to each energy peak; Step 4: Using the energy peak time node obtained in step 3, the difference average method is used to obtain the cycle time, and a correlation analysis is performed with the propeller speed; a correlation between the average cycle time and the propeller speed is established, and the propeller speed is predicted using the correlation; the specific process is as follows: Multiplying the time of a cycle energy peak by its corresponding speed, we can get the relationship between the propeller speed n and the energy peak cycle time T: n×T=1 (3) The energy peak closest to 0s in the time spectrum is taken as the energy peak of the first time point, and the energy peaks of 9 time points are selected in turn. The time difference between each two energy peaks is a cycle, and the cycle time of the 9 energy peaks is obtained in turn. The final average cycle time T is obtained by using the average value of the difference: Among them, m is the total number of energy peaks, and t is the energy peak time node; A one-to-one mapping relationship is established between the obtained average cycle time and the propeller speed, and the speed of the ship's propeller is predicted by the STFT of the propeller noise signal.
2. A method for predicting ship propeller speed based on STFT periodic energy peak according to claim 1, characterized in that: Step 2: Set the window moving step size to L / 2 and the Fourier transform length to 4L.
