[go: up one dir, main page]

CN114152329B - A method for peak detection of underwater acoustic signal spectrum - Google Patents

A method for peak detection of underwater acoustic signal spectrum Download PDF

Info

Publication number
CN114152329B
CN114152329B CN202111411551.3A CN202111411551A CN114152329B CN 114152329 B CN114152329 B CN 114152329B CN 202111411551 A CN202111411551 A CN 202111411551A CN 114152329 B CN114152329 B CN 114152329B
Authority
CN
China
Prior art keywords
length
win
gaussian
waveform
underwater acoustic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111411551.3A
Other languages
Chinese (zh)
Other versions
CN114152329A (en
Inventor
刘凇佐
方涛
王虔
青昕
乔钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN202111411551.3A priority Critical patent/CN114152329B/en
Publication of CN114152329A publication Critical patent/CN114152329A/en
Application granted granted Critical
Publication of CN114152329B publication Critical patent/CN114152329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H11/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties
    • G01H11/06Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties by electric means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

本发明公开了一种水声信号谱峰检测方法,对包含谱峰的信号波形消除极性得到B(n),求增益系数c(n),c(n)与B(n)相乘得到输出信号C(n),对C(n)中值滤波平滑得到D(n),利用高斯窗对D(n)拟合得到E(n),对E(n)提取极大值点以及对应的极大值。本发明通过绝对值去极性、双滑动窗谱峰增强、滑动平均滤波、高斯拟合等步骤能对信号波形中存在的谱峰进行检测,有效减少水声信道对原始谱峰的影响,实现谱峰特征的增强。

The invention discloses an underwater acoustic signal spectrum peak detection method. The signal waveform including the spectrum peak is depolarized to obtain B(n), the gain coefficient c(n) is calculated, c(n) is multiplied by B(n) to obtain an output signal C(n), the median filtering and smoothing of C(n) is obtained to obtain D(n), the Gaussian window is used to fit D(n) to obtain E(n), and the maximum point and the corresponding maximum value are extracted from E(n). The present invention can detect the spectral peaks existing in the signal waveform through the steps of absolute value depolarization, dual sliding window spectral peak enhancement, moving average filtering, Gaussian fitting, etc., effectively reducing the influence of the underwater acoustic channel on the original spectral peaks, and realizing the enhancement of spectral peak characteristics.

Description

一种水声信号谱峰检测方法A method for peak detection of underwater acoustic signal spectrum

技术领域technical field

本发明属于水声信号的特征提取技术领域,涉及一种水声信号谱峰检测方法。The invention belongs to the technical field of feature extraction of underwater acoustic signals, and relates to a method for detecting spectrum peaks of underwater acoustic signals.

背景技术Background technique

在进行水声信号识别或参数估计时经常需要对谱峰进行检测,比如对水声频移键控(FSK)识别时会对频谱的谱峰进行检测,对水声正交频分复用(OFDM)信号识别时会对其自相关谱峰进行检测,对FSK、相移键控(PSK)以及直接序列扩频(DSSS)等通信信号进行载频估计时需要对频域的谱峰位置进行检测。When performing underwater acoustic signal identification or parameter estimation, it is often necessary to detect spectral peaks. For example, when identifying underwater acoustic frequency shift keying (FSK), the spectral peaks of the spectrum will be detected. When identifying underwater acoustic orthogonal frequency division multiplexing (OFDM) signals, the autocorrelation spectral peaks will be detected. For communication signals such as FSK, phase shift keying (PSK) and direct sequence spread spectrum (DSSS), it is necessary to detect the position of the spectral peak in the frequency domain.

在水声中信号的谱峰检测方法大多都来源于无线电中。无线电中有许多经典的谱峰提取方法,比如直接谱峰检测算法、三点谱峰检测算法、高斯拟合算法、多项式拟合算法等。直接谱峰检测虽然计算复杂度低,但是抗噪性能差。三点谱峰检测、高斯拟合、多项式拟合算法对谱峰的形状要求较高。水声信道相比于常见的无线信道更为复杂,具有复杂的时-空-频变特性,在频域表现为频率选择性衰落,并且当信噪比较低或信道时变明显时,利用相关得到的谱峰也会变得不稳定。所以在水声信道下利用信号频域或相关波形进行谱峰检测具有较高的挑战性。Most of the spectral peak detection methods of signals in underwater acoustics come from radio. There are many classic spectral peak extraction methods in radio, such as direct spectral peak detection algorithm, three-point spectral peak detection algorithm, Gaussian fitting algorithm, polynomial fitting algorithm, etc. Although direct spectral peak detection has low computational complexity, it has poor anti-noise performance. Three-point spectral peak detection, Gaussian fitting, and polynomial fitting algorithms have high requirements on the shape of spectral peaks. Compared with common wireless channels, underwater acoustic channels are more complex and have complex time-space-frequency characteristics. In the frequency domain, they exhibit frequency-selective fading. When the signal-to-noise ratio is low or the channel time becomes obvious, the spectral peaks obtained by correlation will also become unstable. Therefore, it is very challenging to use the signal frequency domain or related waveforms to detect spectral peaks in underwater acoustic channels.

发明内容Contents of the invention

针对上述现有技术,本发明要解决的技术问题是提供一种针对水声信道下谱峰特征不明显的水声信号谱峰检测方法,能有效地实现对谱峰特征的增强,并且还能对干扰进行抑制。In view of the above-mentioned prior art, the technical problem to be solved by the present invention is to provide a method for detecting spectral peaks of underwater acoustic signals with inconspicuous spectral peak characteristics in underwater acoustic channels, which can effectively enhance spectral peak characteristics and suppress interference.

为解决上述技术问题,本发明的一种水声信号谱峰检测方法,包括以下步骤:In order to solve the above-mentioned technical problems, a kind of underwater acoustic signal spectral peak detection method of the present invention comprises the following steps:

S1、用A(n)表示包含谱峰的信号波形,n为信号波形第n个采样点的位置,n=1,2,···,N,N为采样点个数,当谱峰波形存在负极性时,令B(n)=|A(n)|,当谱峰波形不存在负极性时,令B(n)=A(n);S1, represent the signal waveform that comprises spectrum peak with A (n), n is the position of the n sampling point of signal waveform, n=1,2,..., N, N is the number of sampling points, when spectrum peak waveform has negative polarity, make B(n)=|A(n)|, when spectrum peak waveform does not have negative polarity, make B(n)=A(n);

S2、以B(n)的第n个采样点为中心,建立两个滑动窗,短滑动窗长度为2swin+1,长滑动窗长度为2lwin+1,并且lwin=2swin;通过所述两个滑动窗的能量差得到增益系数c(n), 是第n个采样点的短滑动窗能量,/>是第n个采样点的长滑动窗能量,其中/>输出信号为C(n)=B(n)·c(n),其中n=1,2,···,N,当c(n)值为负数、n-swin≤0、n-lwin≤0、n+swin>N或n+lwin>N时,令c(n)=0;S2, taking the nth sampling point of B(n) as the center, establishing two sliding windows, the length of the short sliding window is 2s win +1, the length of the long sliding window is 2l win +1, and l win =2s win ; the gain coefficient c(n) is obtained by the energy difference of the two sliding windows, is the short sliding window energy of the nth sampling point, /> is the long sliding window energy of the nth sampling point, where /> The output signal is C(n)=B(n)·c(n), where n=1,2,...,N, when the value of c(n) is negative, ns win ≤0, nl win ≤0, n+s win >N or n+l win >N, let c(n)=0;

S3、对S2中得到的C(n)波形进行滑动平均滤波,经过滑动平均滤波后的输出信号为:其中2P+1是滑动平均滤波长度,n=1,2,···,N,当n-P≤0或n+P>N时,令D(n)=C(n);S3, the C (n) waveform obtained in S2 is carried out moving average filter, the output signal after moving average filter is: Where 2P+1 is the moving average filter length, n=1,2,...,N, when nP≤0 or n+P>N, let D(n)=C(n);

S4、对S3中得到的D(n)做高斯拟合,高斯窗函数为:其中L是高斯窗函数长度,-(L-1)/2≤n≤(L-1)/2,α是高斯窗函数的宽度系数,α与高斯函数的标准差σ=(L-1)/2α成反比;经过高斯拟合后的输出信号为:/>其中L=2Q+1是高斯窗函数的长度,n=1,2,···,N,然后对E(n)做归一化得到优化后的谱峰波形,当n-Q≤0或n+Q>N时,令E(n)=D(n);S4, do Gaussian fitting to D(n) obtained in S3, Gaussian window function is: Where L is the length of the Gaussian window function, -(L-1)/2≤n≤(L-1)/2, α is the width coefficient of the Gaussian window function, and α is inversely proportional to the standard deviation of the Gaussian function σ=(L-1)/2α; the output signal after Gaussian fitting is: /> Where L=2Q+1 is the length of the Gaussian window function, n=1,2,...,N, and then normalize E(n) to obtain the optimized spectrum peak waveform, when nQ≤0 or n+Q>N, let E(n)=D(n);

S5、提取E(n)中所有极大值以及对应的极大值点,并按照极大值从大到小排序,如果是单个谱峰,则提取E(n)中最大的极大值以及对应的极大值点作为谱峰,如果有多个谱峰,则提取E(n)中前m个极大值以及对应的极大值点作为谱峰,m等于谱峰数量。S5, extract all maximum values and corresponding maximum value points in E(n), and sort according to maximum value from large to small, if it is a single spectral peak, then extract the largest maximum value and corresponding maximum value points in E(n) as spectral peaks, if there are multiple spectral peaks, then extract the first m maximum values and corresponding maximum value points in E(n) as spectral peaks, m equals the number of spectral peaks.

进一步的,S3中滑动平均滤波长度等于S2中短滑动窗长度。Further, the moving average filter length in S3 is equal to the short sliding window length in S2.

进一步的,S4中高斯窗函数长度等于S2中短滑动窗长度。Further, the length of the Gaussian window function in S4 is equal to the length of the short sliding window in S2.

进一步的,S2中短滑动窗长度、S3中滑动平均滤波长度和S4高斯窗函数长度相等。Further, the length of the short sliding window in S2, the length of the moving average filter in S3 and the length of the Gaussian window function in S4 are equal.

本发明的有益效果:本发明通过绝对值去极性、双滑动窗谱峰增强、滑动平均滤波、高斯拟合等步骤能对信号波形中存在的谱峰进行检测,有效减少水声信道对原始谱峰的影响,实现谱峰特征的增强。本发明主要有两个方面的应用:Beneficial effects of the present invention: the present invention can detect the spectral peaks existing in the signal waveform through the steps of absolute value depolarization, dual sliding window spectral peak enhancement, moving average filtering, Gaussian fitting, etc., effectively reducing the influence of the underwater acoustic channel on the original spectral peaks, and realizing the enhancement of spectral peak characteristics. The present invention mainly has the application of two aspects:

第一个方面,我们可以利用本发明进行非合作水声通信信号进行谱峰特征的提取,通过这些特征实现非合作水声通信信号的识别。比如水声OFDM一般存在循环前缀的结构,我们对信号的自相关波形进行谱峰检测,确定是否存在两个相关峰的情况。又比如水声FSK信号在频域有多个谱峰,我们对信号频域波形进行谱峰检测,确定存在多少个谱峰,根据检测到的谱峰数量确定FSK的调制阶数。In the first aspect, we can use the present invention to extract spectral peak features of non-cooperative underwater acoustic communication signals, and realize identification of non-cooperative underwater acoustic communication signals through these features. For example, underwater acoustic OFDM generally has a cyclic prefix structure. We perform spectral peak detection on the autocorrelation waveform of the signal to determine whether there are two correlation peaks. Another example is that the underwater acoustic FSK signal has multiple spectral peaks in the frequency domain. We perform spectral peak detection on the frequency domain waveform of the signal to determine how many spectral peaks exist, and determine the modulation order of FSK according to the number of detected spectral peaks.

第二个方面,我们可以利用本发明进行水声FSK信号各载波频率的估计。利用本发明进行谱峰检测最终会得到极大值点与对应的极大值,在频域上极大值点对应的就是信号的频率。In the second aspect, we can use the present invention to estimate each carrier frequency of the underwater acoustic FSK signal. Using the present invention to perform spectrum peak detection will finally obtain the maximum point and the corresponding maximum value, and the maximum point corresponds to the frequency of the signal in the frequency domain.

附图说明Description of drawings

图1为本发明所提供的水声信号谱峰提取方法的流程图;Fig. 1 is the flowchart of the underwater acoustic signal spectrum peak extraction method provided by the present invention;

图2为本发明所提供的进行测试的信道冲激响应图;Fig. 2 is the channel impulse response diagram of testing provided by the present invention;

图3为仿真的8FSK进行傅里叶变换得到的原始频域波形;Fig. 3 is the original frequency-domain waveform obtained by Fourier transform of simulated 8FSK;

图4为在图3原始频域波形的基础上得到增益系数;Fig. 4 obtains the gain coefficient on the basis of the original frequency domain waveform in Fig. 3;

图5为图4增益系数与图3原始频域波形乘积的结果;Fig. 5 is the result of multiplying the gain coefficient of Fig. 4 and the original frequency domain waveform of Fig. 3;

图6为对图5中波形进行滑动平均滤波的结果;Figure 6 is the result of moving average filtering to the waveform in Figure 5;

图7为对图6中波形进行高斯拟合的结果;Figure 7 is the result of Gaussian fitting to the waveform in Figure 6;

图8为将图7中横坐标限定在10kHz至14kHz内的结果。FIG. 8 is the result of limiting the abscissa in FIG. 7 within 10 kHz to 14 kHz.

具体实施方式Detailed ways

下面结合说明书附图和具体实施例对本发明做进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

结合图1,本发明包括以下步骤:In conjunction with Fig. 1, the present invention comprises the following steps:

S1、用A(n)表示包含谱峰的信号波形,n为信号波形第n个采样点的位置。为了消除双极性信号的不确定性,我们首先对A(n)取绝对值得到B(n),即B(n)=|A(n)|,当谱峰波形不存在负极性时,令B(n)=A(n);S1. Use A(n) to represent the signal waveform including the spectral peak, and n is the position of the nth sampling point of the signal waveform. In order to eliminate the uncertainty of the bipolar signal, we first take the absolute value of A(n) to obtain B(n), that is, B(n)=|A(n)|, when there is no negative polarity in the spectral peak waveform, let B(n)=A(n);

S2、针对全部采样点逐个进行以下操作:以B(n)的采样点n为中心,建立一长一短两个滑动窗,短滑动窗的长度为2swin+1,长滑动窗的长度为2lwin+1,并且lwin=2swin。通过这两个滑动窗的能量差得到增益系数c(n),c(n)可以表示为其中当c(n)值为负数,n-swin≤0,n-lwin≤0,n+swin>N或n+lwin>N时,令c(n)=0,输出信号为C(n)=B(n)·c(n)。通过乘以增益系数c(n),当信号波形中存在谱峰时,谱峰处波形被放大,其它处波形被抑制;S2. Perform the following operations one by one for all sampling points: take the sampling point n of B(n) as the center, establish two sliding windows, one long and one short, the length of the short sliding window is 2s win +1, the length of the long sliding window is 2l win +1, and l win =2s win . The gain coefficient c(n) is obtained by the energy difference of the two sliding windows, and c(n) can be expressed as in When the value of c(n) is negative, ns win ≤0, nl win ≤0, n+s win >N or n+l win >N, set c(n)=0, and the output signal is C(n)=B(n)·c(n). By multiplying the gain coefficient c(n), when there is a peak in the signal waveform, the waveform at the peak is amplified, and the waveform at other places is suppressed;

S3、针对全部采样点逐个进行以下操作:对S2中得到的C(n)波形进行滑动平均滤波,该步可以减少随机噪声,并且大致得到谱峰波形的包络形状。经过滑动平均滤波后的输出信号可以表示为其中2P+1是滑动平均滤波的长度,当n-P≤0或n+P>N时,令D(n)=C(n);S3. Carry out the following operations one by one for all the sampling points: perform moving average filtering on the C(n) waveform obtained in S2. This step can reduce random noise and roughly obtain the envelope shape of the spectral peak waveform. The output signal after moving average filtering can be expressed as Where 2P+1 is the length of the moving average filter, when nP≤0 or n+P>N, let D(n)=C(n);

S4、针对全部采样点逐个进行以下操作:最后是对S3中得到的D(n)做高斯拟合,该步能有效对D(n)起到平滑的作用,有利于D(n)中极大值的提取和谱峰检测。高斯窗函数可以表示为其中L是高斯窗函数的长度,-(L-1)/2≤n≤(L-1)/2,α是高斯窗函数的宽度系数,α与高斯函数的标准差σ=(L-1)/2α成反比。经过高斯拟合后的输出信号可以表示为/>其中L=2Q+1是高斯窗函数的长度,当n-Q≤0或n+Q>N时,令E(n)=D(n),然后对E(n)做归一化得到优化后的谱峰波形;S4. Carry out the following operations one by one for all sampling points: finally, Gaussian fitting is done to D(n) obtained in S3. This step can effectively smooth D(n), which is beneficial to the extraction of maximum value and spectral peak detection in D(n). The Gaussian window function can be expressed as Where L is the length of the Gaussian window function, -(L-1)/2≤n≤(L-1)/2, α is the width coefficient of the Gaussian window function, and α is inversely proportional to the standard deviation of the Gaussian function σ=(L-1)/2α. The output signal after Gaussian fitting can be expressed as /> Where L=2Q+1 is the length of the Gaussian window function, when nQ≤0 or n+Q>N, let E(n)=D(n), and then normalize E(n) to obtain the optimized spectrum peak waveform;

S5、提取E(n)中所有极大值以及对应的极大值点,并按照极大值的大小从大到小排序。如果是单个谱峰,则提取E(n)中最大的极大值以及对应的极大值点作为谱峰,如果有多个谱峰,则提取E(n)中前m个极大值以及对应的极大值点作为谱峰,m等于谱峰数量。S5. Extract all maximum values and corresponding maximum value points in E(n), and sort them according to the size of the maximum values from large to small. If it is a single spectral peak, extract the largest maximum value and corresponding maximum value points in E(n) as spectral peaks, if there are multiple spectral peaks, extract the first m maximum values and corresponding maximum value points in E(n) as spectral peaks, and m is equal to the number of spectral peaks.

谱峰指的是频域谱峰或信号相关谱峰,S1中的双极性信号指的是由相关等运算导致信号波形存在负极性的情况,有些情况下不会存在负极性的情况,比如信号的频域波形,S2中短滑动窗长度的设定上,滑动窗的长度应尽量包含谱峰,但是也不应过长,当信号波形存在多个谱峰时,滑动窗长度过长容易出现窗内包含多个谱峰的情况。此外滑动窗长度过短对干扰的抑制能力也会减弱。实际应用时可以根据经验值进行设定。S3中滑动平均滤波的长度过短容易形成大量的伪包络,长度过长则会包含大量无用信息,为了保证能有效的提取谱峰的包络可以设置滑动平均滤波的长度与S2中短滑动窗长一致。S4中高斯窗函数的长度与S2中短滑动窗和S3中滑动平均滤波长度可以保持一致。The spectrum peak refers to the frequency domain spectrum peak or the signal correlation spectrum peak. The bipolar signal in S1 refers to the situation where the signal waveform has negative polarity caused by correlation and other operations. In some cases, there will be no negative polarity. In addition, if the length of the sliding window is too short, the ability to suppress interference will be weakened. In practical application, it can be set according to experience value. If the length of the moving average filter in S3 is too short, it will easily form a large number of false envelopes, and if the length is too long, it will contain a lot of useless information. In order to ensure that the envelope of the spectral peak can be effectively extracted, the length of the moving average filter can be set to be consistent with the short sliding window length in S2. The length of the Gaussian window function in S4 can be consistent with the short sliding window in S2 and the moving average filter length in S3.

下面结合具体参数给出实施例:Embodiment is provided below in conjunction with specific parameters:

结合图1,假设采集到的信号为8FSK信号,采样率为48kHz,8FSK信号带宽为4kHz,其载频分别为{10.25kHz,10.75kHz,11.25kHz,11.75kHz,12.25kHz,12.75kHz,13.25kHz,13.75kHz},仿真的信噪比设置为全频带0dB,仿真中所用的信道冲激响应如图2所示,我们首先对采集到的8FSK信号做傅里叶变换得到包含谱峰的信号波形A(n),A(n)的信号波形如图3所示。本发明的具体实施包括以下步骤:Combined with Figure 1, assume that the collected signal is an 8FSK signal, the sampling rate is 48kHz, the bandwidth of the 8FSK signal is 4kHz, and its carrier frequency is {10.25kHz, 10.75kHz, 11.25kHz, 11.75kHz, 12.25kHz, 12.75kHz, 13.25kHz, 13.75kHz}. The channel impulse response is shown in Figure 2. We first perform Fourier transform on the collected 8FSK signal to obtain the signal waveform A(n) including the spectral peak, and the signal waveform of A(n) is shown in Figure 3. The specific implementation of the present invention comprises the following steps:

S1、由于A(n)中不存在负极性,绝对值去极性可省略,即B(n)=A(n);S1. Since there is no negative polarity in A(n), the absolute value depolarization can be omitted, that is, B(n)=A(n);

S2、设定短滑动窗长度为200Hz带宽对应的采样点长度,分别求出这两个滑动窗内的能量,通过能量差得出增益系数c(n)。增益系数c(n)的波形如图4中虚线所示。最终输出信号为C(n)=B(n)·c(n),C(n)的波形如图5所示;S2. Set the length of the short sliding window as the length of the sampling point corresponding to the bandwidth of 200 Hz, respectively calculate the energy in the two sliding windows, and obtain the gain coefficient c(n) through the energy difference. The waveform of the gain coefficient c(n) is shown in dotted line in Fig. 4 . The final output signal is C(n)=B(n) c(n), and the waveform of C(n) is as shown in Figure 5;

S3、对S2得到的C(n)做滑动平均滤波,得到滤波后信号D(n),D(n)的波形如图6所示;S3. Perform moving average filtering on C(n) obtained in S2, obtain the filtered signal D(n), and the waveform of D(n) is as shown in Figure 6;

S4、对S3得到的D(n)做高斯拟合,首先生成一个高斯窗G(n),利用G(n)对D(n)中的每个采样点进行拟合,得到拟合后信号E(n),对E(n)做归一化得到的波形如图7所示。S4. Gaussian fitting is performed on D(n) obtained in S3. First, a Gaussian window G(n) is generated, and each sampling point in D(n) is fitted using G(n) to obtain a fitted signal E(n). The waveform obtained by normalizing E(n) is shown in FIG. 7 .

S5、提取图7中极大值点及其对应的极大值如图8所示,从图8中可以发现共有8个明显的谱峰,图8是将图7的横坐标限定在10kHz至14kHz范围内的信号波形,可以发现这些极大值点对应的频率能够与8FSK信号的8个载频相对应。S5, extraction of the maximum point in Figure 7 and its corresponding maximum value as shown in Figure 8, from Figure 8, it can be found that there are 8 obvious spectral peaks, Figure 8 is a signal waveform that limits the abscissa of Figure 7 within the range of 10kHz to 14kHz, it can be found that the frequencies corresponding to these maximum points can correspond to 8 carrier frequencies of the 8FSK signal.

Claims (4)

1. The method for detecting the spectrum peak of the underwater acoustic signal is characterized by comprising the following steps of:
s1, using A (N) to represent a signal waveform containing a spectrum peak, wherein N is the position of the nth sampling point of the signal waveform, n=1, 2, & N, N is the number of the sampling points, let B (N) = |a (N) | when the spectral peak waveform has a negative polarity, and let B (N) = a (N) when the spectral peak waveform has no negative polarity;
s2, taking the nth sampling point of B (n) as the center, establishing two sliding windows, wherein the length of the short sliding window is2s win +1, length of long sliding window 2l win +1, and l win =2s win The method comprises the steps of carrying out a first treatment on the surface of the The gain factor c (n) is obtained by the energy difference of the two sliding windows, short sliding window energy, which is the nth sample point,/->Is the long sliding window energy of the nth sample point, wherein +.>The output signal is C (N) =b (N) ·c (N), where n=1, 2, N, when C (N) is negative, N-s win ≤0、n-l win ≤0、n+s win > N or n+l win Let c (N) =0 at > N;
s3, carrying out moving average filtering on the C (n) waveform obtained in the S2, wherein the output signal after the moving average filtering is as follows:where 2p+1 is the running average filter length, n=1, 2, the contents of the terms, N, let D (N) =c (N) when N-P is either less than or equal to 0 or n+p > N;
s4, performing Gaussian fitting on the D (n) obtained in the S3, wherein a Gaussian window function is as follows:where L is the length of the Gaussian window function, - (L-1)/2. Ltoreq.n.ltoreq.L-1/2, α is the width coefficient of the Gaussian window function, and α is inversely proportional to the standard deviation σ= (L-1)/2α of the Gaussian function; the output signal after gaussian fitting is: />Wherein l=2q+1 is gaussianThe length of the window function is chosen to be, n=1, 2, ·····, N, then normalizing E (N) to obtain an optimized spectrum peak waveform, let E (N) =d (N) when N-Q is either less than or equal to 0 or n+q > N;
s5, extracting all maximum values and corresponding maximum value points in the E (n), sequencing from large to small according to the maximum values, extracting the maximum value and the corresponding maximum value point in the E (n) as spectrum peaks if a single spectrum peak exists, and extracting the first m maximum values and corresponding maximum value points in the E (n) as spectrum peaks if a plurality of spectrum peaks exist, wherein m is equal to the number of the spectrum peaks.
2. The method for detecting the spectral peak of the underwater acoustic signal according to claim 1, wherein: the moving average filter length in S3 is equal to the short sliding window length in S2.
3. The method for detecting the spectral peak of the underwater acoustic signal according to claim 1, wherein: the gaussian window function length in S4 is equal to the short sliding window length in S2.
4. The method for detecting the spectral peak of the underwater acoustic signal according to claim 1, wherein: the short sliding window length in S2, the moving average filter length in S3, and the gaussian window function length in S4 are equal.
CN202111411551.3A 2021-11-25 2021-11-25 A method for peak detection of underwater acoustic signal spectrum Active CN114152329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111411551.3A CN114152329B (en) 2021-11-25 2021-11-25 A method for peak detection of underwater acoustic signal spectrum

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111411551.3A CN114152329B (en) 2021-11-25 2021-11-25 A method for peak detection of underwater acoustic signal spectrum

Publications (2)

Publication Number Publication Date
CN114152329A CN114152329A (en) 2022-03-08
CN114152329B true CN114152329B (en) 2023-07-21

Family

ID=80457441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111411551.3A Active CN114152329B (en) 2021-11-25 2021-11-25 A method for peak detection of underwater acoustic signal spectrum

Country Status (1)

Country Link
CN (1) CN114152329B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2618625A1 (en) * 1987-07-24 1989-01-27 Labo Electronique Physique DEVICE FOR ENHANCING THE DECODING OF DIGITAL SIGNALS DURING FREQUENCY MODULATION TRANSMISSIONS
JP2005099112A (en) * 2003-09-22 2005-04-14 Nippon Sharyo Seizo Kaisha Ltd Spectrum peak flattening processing for adaptive control
CN101782426A (en) * 2010-01-29 2010-07-21 浙江大学 Detection method of looseness fault vibration of power transformer winding
CN101951276A (en) * 2010-09-30 2011-01-19 哈尔滨工程大学 Method for detecting and suppressing Gaussian fitting linear frequency-modulated jamming in direct sequence spread spectrum (DSSS) communication system
KR20210016140A (en) * 2019-07-31 2021-02-15 삼성전자주식회사 Spectrum analyzer and method of analyzing spectrum
CN112415078A (en) * 2020-11-18 2021-02-26 深圳市步锐生物科技有限公司 Mass spectrum data spectrogram signal calibration method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2618625A1 (en) * 1987-07-24 1989-01-27 Labo Electronique Physique DEVICE FOR ENHANCING THE DECODING OF DIGITAL SIGNALS DURING FREQUENCY MODULATION TRANSMISSIONS
JP2005099112A (en) * 2003-09-22 2005-04-14 Nippon Sharyo Seizo Kaisha Ltd Spectrum peak flattening processing for adaptive control
CN101782426A (en) * 2010-01-29 2010-07-21 浙江大学 Detection method of looseness fault vibration of power transformer winding
CN101951276A (en) * 2010-09-30 2011-01-19 哈尔滨工程大学 Method for detecting and suppressing Gaussian fitting linear frequency-modulated jamming in direct sequence spread spectrum (DSSS) communication system
KR20210016140A (en) * 2019-07-31 2021-02-15 삼성전자주식회사 Spectrum analyzer and method of analyzing spectrum
CN112415078A (en) * 2020-11-18 2021-02-26 深圳市步锐生物科技有限公司 Mass spectrum data spectrogram signal calibration method and device

Also Published As

Publication number Publication date
CN114152329A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
US11056130B2 (en) Speech enhancement method and apparatus, device and storage medium
CN103532901B (en) A kind of time synchronization method and system for power line carrier communication
CN103325381B (en) A kind of speech separating method based on fuzzy membership functions
CN106653062A (en) Spectrum-entropy improvement based speech endpoint detection method in low signal-to-noise ratio environment
CN106226739A (en) Merge the double sound source localization method of Substrip analysis
CN108462509A (en) Asynchronous frequency hopping net platform method for separating based on time-frequency figure information
CN105553635B (en) A Blind Estimation Method of BOC Signal Parameters Based on Cyclic Autocorrelation
CN105721371B (en) One kind being based on the relevant commonly used digital Modulation Signals Recognition method of Cyclic Spectrum
JP4138751B2 (en) Excess delay spread detection method for multi-carrier communication system
CN112751629A (en) Broadband specific signal detection method based on time-frequency image processing
CN105071830A (en) DSSS signal detection identification method
CN103905129B (en) The input analyzed based on spectral pattern and signal message interpretation method
CN115980521B (en) Time difference estimation method for multisource partial discharge ultrasonic signals
CN114152329B (en) A method for peak detection of underwater acoustic signal spectrum
CN109660475B (en) A kind of non-cooperation phase code water sound communication signal autonomous identifying method
CN105306097A (en) Method, device and system for detecting random access signals
Sadiq et al. Spectral subtraction for speech enhancement in modulation domain
US8374229B2 (en) Method for the detection and generation of a useful signal and associated devices and communications system
WO2010071161A1 (en) Receiver apparatus and symbol timing determining method
WO2002056303A2 (en) Noise filtering utilizing non-gaussian signal statistics
Dorfan et al. Speaker localization and separation using incremental distributed expectation-maximization
CN109155883A (en) Noise measuring and noise reduce
CN107582068A (en) A kind of distortion product otoacoustic emissions detecting strategy based on the cycle from relevant principle
CN113489552A (en) Frequency hopping signal detection method based on time-frequency spectrum matrix local variance
CN103973622B (en) One kind efficiently MSK communication check demodulation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant