Deep network line spectrum detection method embedded with attention mechanism

The deep network line spectrum detection method embedded with the attention mechanism solves the problem of low signal-to-noise ratio caused by the non-stationarity of the underwater acoustic target radiation noise signal and ocean noise interference, and achieves effective line spectrum detection under low signal-to-noise ratio conditions. , improving detection efficiency and accuracy.

CN118568459AActive Publication Date: 2024-08-30SOUTHEAST UNIV

Patent Information

Application Number
CN202410473585.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-08-30
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

In the passive detection of underwater acoustic targets, the non-stationarity of the target radiation noise signal and the interference of marine environment noise lead to a decrease in the line spectrum detection signal-to-noise ratio. It is difficult to effectively detect and identify the line spectrum characteristics of the target radiation noise signal with existing technology.

Method used

A deep network line spectrum detection method with an embedded attention mechanism is adopted. By constructing a deep encoder-decoder network model, Monte Carlo simulation is used to generate a training data set, and a composite loss function based on the continuity of the line spectrum trajectory is designed, and through gradual attenuation The training strategy of signal-to-noise ratio realizes multi-line spectral trajectory detection of time-frequency diagrams.

Benefits of technology

It maintains good detection performance under low signal-to-noise ratio conditions (to -28dB), improves line spectrum detection efficiency and accuracy, and is suitable for complex line spectrum detection tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568459A
    Figure CN118568459A
Patent Text Reader

Abstract

The invention relates to a deep network line spectrum detection method embedded with an attention mechanism, and mainly aims at the detection problem of a plurality of irregularly fluctuating weak line spectrums in a time-frequency graph. The method comprises the following steps: 1, constructing a network, constructing a depth encoder-decoder network model of a detection line spectrum, and designing a feature fusion model embedded with an attention mechanism to effectively fuse multi-level features; 2, simulating and generating a training sample data set; 3, constructing a composite loss function based on line spectrum trajectory continuity; 4, training the network: training the network by using the data set generated in the step 2; and 5, acquiring real time-frequency graph data and detecting a line spectrum.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal detection, and in particular to a deep network line spectrum detection method embedded with an attention mechanism. Background Art

[0002] In the field of passive detection of underwater acoustic targets, the line spectrum components in the target radiation noise signal have high energy intensity and carry the target's working condition information. They are the main characteristic parameters for detecting, identifying and tracking underwater acoustic targets. However, due to the influence of factors such as underwater acoustic propagation characteristics and ocean environmental noise during propagation, the target radiation noise signal has non-stationary characteristics, which causes complex random fluctuations in the line spectrum trajectory on the LOFAR spectrum. In addition, the sharp drop in the signal-to-noise ratio of the target radiation noise signal received by the passive sonar due to interference from various ocean environmental noises is also a difficulty in the line spectrum detection task. Summary of the invention

[0003] Purpose of the invention: To address the shortcomings of traditional methods, the present invention proposes a deep network line spectrum detection method embedded with an attention mechanism. Deep learning is applied to the line spectrum detection problem, and a deep network is used to detect the line spectrum in the time-frequency graph. The present invention does not require prior information of the signal, and the line spectrum detection performance is better than other detection methods, and can maintain good detection performance when the signal-to-noise ratio is as low as -28dB.

[0004] Technical solution: In order to achieve the above-mentioned invention object, the present invention proposes a deep network line spectrum detection method embedded with an attention mechanism, which comprises the following steps:

[0005] Step 1: Build a deep encoder-decoder network model;

[0006] Step 2: Generate a simulation training sample data set;

[0007] Step 3: Design a composite loss function based on the continuity of line spectrum trajectories;

[0008] Step 4: Train the network using the generated simulation dataset;

[0009] Step 5: Obtain the real time-frequency graph data and detect the line spectrum through the trained network.

[0010] Furthermore, in step 1, a deep encoder-decoder network model is constructed, including an encoding part, a deep connection part, a decoding part and a skip-layer connection part, as follows:

[0011] 1-1, the structure of the deep encoder-decoder network model includes 3 encoders, 1 deep connector and 3 decoders. The encoder is used to filter out the noise information in the time-frequency graph and extract the semantic features of the line spectrum in the picture. The deep connector transmits the time-frequency graph feature information extracted by the encoder to the decoder. The decoder is used to make detailed adjustments to the feature information of the time-frequency graph. The three encoders are composed of a gradually increasing number of residual modules, and gradually reduce the image size and extract features through pooling downsampling. The first encoder is composed of an initial module, a residual module and a maximum pooling module; the second encoder is composed of 4 residual modules. The first decoder consists of a transposed convolution layer and 3 residual modules; the second decoder consists of a transposed convolution layer and 2 residual modules; the third decoder consists of a transposed convolution layer, 2 residual modules and a 1×1 convolution layer, and the sigmoid activation function is used to calculate the line spectrum detection result after the third decoder;

[0012] The residual module comprises a main branch and an identity mapping branch. The main branch of the residual module uses a 1×1 convolution layer to reduce the dimension of the channel of the feature map, uses a 3×3 convolution layer for feature learning, and uses a 1×1 convolution layer to restore the channel dimension of the feature map. After each convolution layer, the identity mapping branch of the residual module directly adds the input feature map of the residual module to the output feature of the main branch through normalization processing (BatchNorm) and ReLU activation function, and calculates the output of the residual module through the ReLU activation function.

[0013] 1-2, the skip-layer connection part of the deep encoder-decoder network model adopts a feature fusion module embedded with an attention mechanism, which uses the attention mechanism to enhance the shallow feature map from the encoder and fuse it with the deep feature map from the decoder;

[0014] The input of the feature fusion module (AFF) embedded in the attention mechanism includes the semantic feature map output by the deconvolution of the decoder front end And the corresponding shallow feature map output by the l encoder Use 1×1 convolution operation to transform the two input feature maps into similar feature space and then add pixel by pixel to get the intermediate result I. Then extract the spatial attention A through spatial attention branch and channel attention branch respectively. s and channel attention A cIn the spatial attention branch, the intermediate result I is first passed through the ReLu activation function, and then a 1×1 convolution operation is performed to compress the feature channel into 1 dimension, and a Sigmoid activation function is used to obtain the spatial attention A. s , that is, A s =Sigmoid(conv s (ReLu(I))), where conv s It is a 1×1 convolution operation. In the channel attention branch, the intermediate result I is firstly subjected to global average pooling AvgPool() and global maximum pooling MaxPool() to obtain the pooling features of each channel and concatenate them. Then, the attention coefficient A is obtained through a multi-layer perceptron and Sigmoid activation function. c , that is, A c =Sigmoid(Concat(AvgPool(I),MaxPool(I))·W 1 ·W 2 ), where W 1 , W 2 are two fully connected layers in the multilayer perceptron, for spatial attention A s and channel attention A c Perform pixel-by-pixel multiplication to calculate the global attention A, and then use the global attention A to the shallow feature map The enhanced feature map X′ is obtained by enhancement. The AFF module combines the enhanced feature map X′ and the semantic feature map After splicing along the feature channel, the two feature maps are fused and compressed using a 1×1 convolution operation to obtain the result. Input to the lth decoder.

[0015] Furthermore, in step 2, the Monte Carlo simulation method is used to generate simulated time-frequency diagrams under different signal-to-noise ratio conditions, and the data enhancement method of random cropping and random flipping is used to divide the data-enhanced simulated time-frequency diagrams into training sets and test sets in a ratio of 9:1.

[0016] Furthermore, the Monte Carlo simulation method is used to generate simulated time-frequency diagram data sets with different signal-to-noise ratios. First, a multi-line spectrum signal s is generated. m (t), which is generated by the superposition of multiple sinusoidal signals with random amplitude, frequency and initial phase and white noise, that is, Among them, K represents the number of line spectra in the time-frequency diagram, T represents the number of time domain samples in a single frame, is the phase of the kth line spectrum, n(t) is a zero mean with a variance of σ 2 Gaussian white noise distribution, a m,k 、f m,kare the amplitude and frequency of the kth line spectrum in the mth time frame respectively. The line spectrum amplitude of a continuous time frame is randomly set to 0 to simulate the appearance and disappearance of the line spectrum. After completing the simulation of the multi-line spectrum signal, the s m (t) Perform short-time Fourier transform to generate simulated time-frequency diagram, and generate the line spectrum label file of the time-frequency diagram through the line spectrum features in the multi-line spectrum signal. The time-frequency diagram and its corresponding line spectrum label constitute the line spectrum detection data set. The signal-to-noise ratio of the line spectrum signal is defined by the broadband signal-to-noise ratio method, that is, By fixing the variance of Gaussian white noise and changing the signal amplitude, time-frequency diagrams under different signal-to-noise ratios are generated. Finally, four sets of line spectrum detection data sets with signal-to-noise ratios of -22dB, -24dB, -26dB and -28dB are generated. Each data set consists of 2000 time-frequency diagrams and corresponding label files under the signal-to-noise ratio. 90% of them are set as training sets and 10% are set as test sets. The training set and test set do not overlap with each other.

[0017] Furthermore, in step 3, utilizing the continuity of the line spectrum trajectory in the time-frequency diagram, the variance of the prediction probabilities between different line spectrum points is calculated in the prediction results as the connection loss, and the variance of the prediction probabilities between the line spectrum points and the noise points is calculated as the edge loss, and combined with the cross entropy loss function to form a composite loss function.

[0018] Furthermore, the composite loss function is as follows:

[0019] Given an input frequency spectrum With the real label map Y∈{0,1} H×W , the deep network detection results are The cross entropy loss calculation formula is as follows:

[0020]

[0021] Where H and W represent the number of time frames and frequency points of the LOFAR spectrogram respectively; y i,j and Represents the true label map Y and the detection result respectively The data of each pixel in;

[0022] According to the true label map Y, a sliding window of size r×r is used to convert the line spectrum probability map output by the network Extract the center points of N windows and label them as line spectrum y m,n =1 line spectrum block Ω m,n Since the line spectrum trajectory has time-frequency continuity, in each line spectrum block, there are time-frequency points that belong to the same line spectrum as the center point in the adjacent time frames of the center point. The calculation formula for the line spectrum connection loss is as follows:

[0023]

[0024] In the formula, Indicates the number of line spectrum points contained in the line spectrum block;

[0025] The edge loss of the line spectrum is defined as:

[0026]

[0027] The cross entropy loss, line spectrum connection loss and line spectrum edge loss are combined to form a composite loss function as follows:

[0028]

[0029] In the formula, α is used to adjust the balance coefficient between different losses, and r is a positive integer.

[0030] Furthermore, in step 4, the network is trained using a training strategy of gradually attenuating the signal-to-noise ratio, that is, the network is trained using a data set in which the signal-to-noise ratio is gradually reduced from -22 dB to -28 dB.

[0031] Furthermore, in step 5, the real time-frequency diagram is obtained, and the dynamic range of the image is adjusted by using logarithmic transformation and Z-score normalization method, and then input into the trained detection network to obtain the line spectrum detection result.

[0032] Beneficial effects: Compared with the prior art, the technical solution of the present invention has the following beneficial technical effects:

[0033] The present invention proposes a deep network line spectrum detection method embedded with an attention mechanism. The constructed encoding-decoding network can realize the detection of multi-line spectrum trajectories in the time-frequency diagram, thereby improving the efficiency of line spectrum detection. The proposed deep network line spectrum detection method has end-to-end multi-line spectrum trajectory detection capabilities, and is more suitable for complex line spectrum detection tasks with low signal-to-noise ratios than other line spectrum detection methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a deep network model diagram for line spectrum detection according to the present invention;

[0035] Figure 2 Flow chart of the method of the present invention. DETAILED DESCRIPTION

[0036] like Figure 2 As shown, the present invention proposes a deep network line spectrum detection method embedded with an attention mechanism, the method comprising the following steps:

[0037] Step 1: Build a deep encoder-decoder network model;

[0038] Step 2: Generate a simulation training sample data set;

[0039] Step 3: Design a composite loss function based on the continuity of line spectrum trajectories;

[0040] Step 4: Train the network using the generated simulation dataset;

[0041] Step 5: Obtain the real time-frequency graph data and detect the line spectrum through the trained network.

[0042] Furthermore, in step 1, a deep encoder-decoder network model is constructed, including an encoding part, a deep connection part, a decoding part and a skip-layer connection part, as follows:

[0043] 1-1, the structure of the deep encoder-decoder network model includes 3 encoders, 1 deep connector and 3 decoders. The encoder is used to filter out the noise information in the time-frequency graph and extract the semantic features of the line spectrum in the picture. The deep connector transmits the time-frequency graph feature information extracted by the encoder to the decoder. The decoder is used to make detailed adjustments to the feature information of the time-frequency graph. The three encoders are composed of a gradually increasing number of residual modules, and gradually reduce the image size and extract features through pooling downsampling. The first encoder is composed of an initial module, a residual module and a maximum pooling module; the second encoder is composed of 4 residual modules. The first decoder consists of a transposed convolution layer and 3 residual modules; the second decoder consists of a transposed convolution layer and 2 residual modules; the third decoder consists of a transposed convolution layer, 2 residual modules and a 1×1 convolution layer, and the sigmoid activation function is used to calculate the line spectrum detection result after the third decoder;

[0044] The residual module comprises a main branch and an identity mapping branch. The main branch of the residual module uses a 1×1 convolution layer to reduce the dimension of the channel of the feature map, uses a 3×3 convolution layer for feature learning, and uses a 1×1 convolution layer to restore the channel dimension of the feature map. After each convolution layer, the identity mapping branch of the residual module directly adds the input feature map of the residual module to the output feature of the main branch through normalization processing (BatchNorm) and ReLU activation function, and calculates the output of the residual module through the ReLU activation function.

[0045] 1-2, the skip-layer connection part of the deep encoder-decoder network model adopts a feature fusion module embedded with an attention mechanism, which uses the attention mechanism to enhance the shallow feature map from the encoder and fuse it with the deep feature map from the decoder;

[0046] The input of the feature fusion module (AFF) embedded in the attention mechanism includes the semantic feature map output by the deconvolution of the decoder front end And the corresponding shallow feature map output by the l encoder Use 1×1 convolution operation to transform the two input feature maps into similar feature space and then add pixel by pixel to get the intermediate result I. Then extract the spatial attention A through spatial attention branch and channel attention branch respectively. s and channel attention A c In the spatial attention branch, the intermediate result I is first passed through the ReLu activation function, and then a 1×1 convolution operation is performed to compress the feature channel into 1 dimension, and a Sigmoid activation function is used to obtain the spatial attention A. s , that is, A s =Sigmoid(conv s (ReLu(I))), where conv s It is a 1×1 convolution operation. In the channel attention branch, the intermediate result I is firstly subjected to global average pooling AvgPool() and global maximum pooling MaxPool() to obtain the pooling features of each channel and concatenate them. Then, the attention coefficient A is obtained through a multi-layer perceptron and Sigmoid activation function. c , that is, A c =Sigmoid(Concat(AvgPool(I),MaxPool(I))·W 1 ·W 2 ), where W 1 , W 2 are two fully connected layers in the multilayer perceptron, for spatial attention A s and channel attention A c Perform pixel-by-pixel multiplication to calculate the global attention A, and then use the global attention A to the shallow feature map The enhanced feature map X′ is obtained by enhancement. The AFF module combines the enhanced feature map X′ and the semantic feature map After splicing along the feature channel, the two feature maps are fused and compressed using a 1×1 convolution operation to obtain the result. Input to the lth decoder.

[0047] Furthermore, in step 2, the Monte Carlo simulation method is used to generate simulated time-frequency diagrams under different signal-to-noise ratio conditions, and the data enhancement method of random cropping and random flipping is used to divide the data-enhanced simulated time-frequency diagrams into training sets and test sets in a ratio of 9:1.

[0048] Furthermore, the Monte Carlo simulation method is used to generate simulated time-frequency diagram data sets with different signal-to-noise ratios. First, a multi-line spectrum signal s is generated. m(t), which is generated by the superposition of multiple sinusoidal signals with random amplitude, frequency and initial phase and white noise, that is, Among them, K represents the number of line spectra in the time-frequency diagram, T represents the number of time domain samples in a single frame, is the phase of the kth line spectrum, n(t) is a zero mean with a variance of σ 2 Gaussian white noise distribution, a m,k 、f m,k are the amplitude and frequency of the kth line spectrum in the mth time frame respectively. The line spectrum amplitude of a continuous time frame is randomly set to 0 to simulate the appearance and disappearance of the line spectrum. After completing the simulation of the multi-line spectrum signal, the s m (t) Perform short-time Fourier transform to generate simulated time-frequency diagram, and generate the line spectrum label file of the time-frequency diagram through the line spectrum features in the multi-line spectrum signal. The time-frequency diagram and its corresponding line spectrum label constitute the line spectrum detection data set. The signal-to-noise ratio of the line spectrum signal is defined by the broadband signal-to-noise ratio method, that is, By fixing the variance of Gaussian white noise and changing the signal amplitude, time-frequency diagrams under different signal-to-noise ratios are generated. Finally, four sets of line spectrum detection data sets with signal-to-noise ratios of -22dB, -24dB, -26dB and -28dB are generated. Each data set consists of 2000 time-frequency diagrams and corresponding label files under the signal-to-noise ratio. 90% of them are set as training sets and 10% are set as test sets. The training set and test set do not overlap with each other.

[0049] Furthermore, in step 3, utilizing the continuity of the line spectrum trajectory in the time-frequency diagram, the variance of the prediction probabilities between different line spectrum points is calculated in the prediction results as the connection loss, and the variance of the prediction probabilities between the line spectrum points and the noise points is calculated as the edge loss, and combined with the cross entropy loss function to form a composite loss function.

[0050] Furthermore, the composite loss function is as follows:

[0051] Given an input frequency spectrum With the real label map Y∈{0,1} H×W , the deep network detection results are The cross entropy loss calculation formula is as follows:

[0052]

[0053] Where H and W represent the number of time frames and frequency points of the LOFAR spectrogram respectively; y i,j and Represents the true label map Y and the detection result respectively The data of each pixel in;

[0054] According to the true label map Y, a sliding window of size r×r is used to convert the line spectrum probability map output by the network Extract the center points of N windows and label them as line spectrum y m,n =1 line spectrum block Ω m,n Since the line spectrum trajectory has time-frequency continuity, in each line spectrum block, there are time-frequency points that belong to the same line spectrum as the center point in the adjacent time frames of the center point. The calculation formula for the line spectrum connection loss is as follows:

[0055]

[0056] In the formula, Indicates the number of line spectrum points contained in the line spectrum block;

[0057] The edge loss of the line spectrum is defined as:

[0058]

[0059] The cross entropy loss, line spectrum connection loss and line spectrum edge loss are combined to form a composite loss function as follows:

[0060]

[0061] In the formula, α is used to adjust the balance coefficient between different losses, and r is a positive integer.

[0062] Furthermore, in step 4, the network is trained using a training strategy of gradually attenuating the signal-to-noise ratio, that is, the network is trained using a data set in which the signal-to-noise ratio is gradually reduced from -22 dB to -28 dB.

[0063] Furthermore, in step 5, the real time-frequency diagram is obtained, and the dynamic range of the image is adjusted by using logarithmic transformation and Z-score normalization method, and then input into the trained detection network to obtain the line spectrum detection result.

Claims

1. A deep network line spectrum detection method embedded with attention mechanism, It is characterized in that The method comprises the following steps: Step 1: Build a deep encoder-decoder network model; Step 2: Generate a simulation training sample data set; Step 3: Design a composite loss function based on the continuity of line spectrum trajectories; Step 4: Train the network using the generated simulation dataset; Step 5: Obtain the real time-frequency graph data and detect the line spectrum through the trained network.

2. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 1, It is characterized in that In step 1, a deep encoder-decoder network model is constructed, including the encoding part, the deep connection part, the decoding part and the skip layer connection part, as follows: 1-1, the structure of the deep encoder-decoder network model includes 3 encoders, 1 deep connector and 3 decoders. The encoder is used to filter out the noise information in the time-frequency graph and extract the semantic features of the line spectrum in the picture. The deep connector transmits the time-frequency graph feature information extracted by the encoder to the decoder. The decoder is used to make detailed adjustments to the feature information of the time-frequency graph. The three encoders are composed of a gradually increasing number of residual modules, and gradually reduce the image size and extract features through pooling downsampling. The first encoder is composed of an initial module, a residual module and a maximum pooling module; the second encoder is composed of 4 residual modules. The first decoder consists of a transposed convolution layer and 3 residual modules; the second decoder consists of a transposed convolution layer and 2 residual modules; the third decoder consists of a transposed convolution layer, 2 residual modules and a 1×1 convolution layer, and the sigmoid activation function is used to calculate the line spectrum detection result after the third decoder; The residual module comprises a main branch and an identity mapping branch. The main branch of the residual module uses a 1×1 convolution layer to reduce the dimension of the channel of the feature map, uses a 3×3 convolution layer for feature learning, and uses a 1×1 convolution layer to restore the channel dimension of the feature map. After each convolution layer, the identity mapping branch of the residual module directly adds the input feature map of the residual module to the output feature of the main branch through normalization processing (BatchNorm) and ReLU activation function, and calculates the output of the residual module through the ReLU activation function. 1-2, the skip-layer connection part of the deep encoder-decoder network model adopts a feature fusion module embedded with an attention mechanism, which uses the attention mechanism to enhance the shallow feature map from the encoder and fuse it with the deep feature map from the decoder; The input of the feature fusion module (AFF) embedded in the attention mechanism includes the semantic feature map output by the deconvolution of the decoder front end And the corresponding shallow feature map output by the l encoder Use 1×1 convolution operation to transform the two input feature maps into similar feature space and then add pixel by pixel to get the intermediate result I. Then extract the spatial attention A through spatial attention branch and channel attention branch respectively. s and channel attention A c In the spatial attention branch, the intermediate result I is first passed through the ReLu activation function, and then a 1×1 convolution operation is used to compress the feature channel into 1 dimension, and a Sigmoid activation function is used to obtain the spatial attention A. s , that is, A s =Sigmoid(conv s (ReLu(I))), where conv s It is a 1×1 convolution operation. In the channel attention branch, the intermediate result I is firstly subjected to global average pooling AvgPool() and global maximum pooling MaxPool() to obtain the pooling features of each channel and concatenate them. Then, the attention coefficient A is obtained through a multi-layer perceptron and Sigmoid activation function. c , that is, A c =Sigmoid(Concat(AvgPool(I),MaxPool(I))·W 1 ·W 2 ), where W 1 , W 2 are two fully connected layers in the multilayer perceptron, for spatial attention A s and channel attention A c Perform pixel-by-pixel multiplication to calculate the global attention A, and then use the global attention A to the shallow feature map The enhanced feature map X′ is obtained by enhancement. The AFF module combines the enhanced feature map X′ and the semantic feature map After splicing along the feature channel, the two feature maps are fused and compressed using a 1×1 convolution operation to obtain the result. Input to the lth decoder.

3. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 1, It is characterized in that In step 2, the Monte Carlo simulation method is used to generate simulated time-frequency diagrams under different signal-to-noise ratio conditions. The data enhancement method of random cropping and random flipping is used to divide the data-enhanced simulated time-frequency diagrams into training sets and test sets in a ratio of 9:

1.

4. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 3, It is characterized in that The Monte Carlo simulation method is used to generate simulated time-frequency diagram data sets with different signal-to-noise ratios. First, a multi-line spectrum signal s is generated. m (t), which is generated by the superposition of multiple sinusoidal signals with random amplitude, frequency and initial phase and white noise, that is, Among them, K represents the number of line spectra in the time-frequency diagram, T represents the number of time domain samples in a single frame, is the phase of the kth line spectrum, n(t) is a zero mean with a variance of σ 2 Gaussian white noise distribution, a m,k 、f m,k are the amplitude and frequency of the kth line spectrum in the mth time frame respectively. The line spectrum amplitude of a continuous time frame is randomly set to 0 to simulate the appearance and disappearance of the line spectrum. After completing the simulation of the multi-line spectrum signal, the s m (t) Perform short-time Fourier transform to generate simulated time-frequency diagram, and generate the line spectrum label file of the time-frequency diagram through the line spectrum features in the multi-line spectrum signal. The time-frequency diagram and its corresponding line spectrum label constitute the line spectrum detection data set. The signal-to-noise ratio of the line spectrum signal is defined by the broadband signal-to-noise ratio method, that is, By fixing the variance of Gaussian white noise and changing the signal amplitude, time-frequency diagrams under different signal-to-noise ratios are generated. Finally, four sets of line spectrum detection data sets with signal-to-noise ratios of -22dB, -24dB, -26dB and -28dB are generated. Each data set consists of 2000 time-frequency diagrams and corresponding label files under the signal-to-noise ratio. 90% of them are set as training sets and 10% are set as test sets. The training set and test set do not overlap with each other.

5. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 1, It is characterized in that In step 3, the continuity of the line spectrum trajectory in the time-frequency diagram is utilized to calculate the variance of the prediction probabilities between different line spectrum points in the prediction results as the connection loss, and the variance of the prediction probabilities between the line spectrum points and the noise points as the edge loss, and the composite loss function is formed by combining the cross entropy loss function.

6. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 5, It is characterized in that The composite loss function is as follows: Given an input frequency spectrum With the real label map Y∈{0,1} H×W , the deep network detection results are The cross entropy loss calculation formula is as follows: Where H and W represent the number of time frames and frequency points of the LOFAR spectrogram respectively; y i,j and Represents the true label map Y and the detection result respectively The data of each pixel in; According to the true label map Y, a sliding window of size r×r is used to convert the line spectrum probability map output by the network Extract the center points of N windows and label them as line spectrum y m,n =1 line spectrum block Ω m,n , because the line spectrum trajectory has time-frequency continuity, in each line spectrum block, there are time-frequency points that belong to the same line spectrum as the center point in the adjacent time frame of the center point. The calculation formula of the line spectrum connection loss is as follows: In the formula, Indicates the number of line spectrum points contained in the line spectrum block; The edge loss of the line spectrum is defined as: The cross entropy loss, line spectrum connection loss and line spectrum edge loss are combined to form a composite loss function as follows: In the formula, α is used to adjust the balance coefficient between different losses, and r is a positive integer.

7. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 1, It is characterized in that In step 4, the network is trained using a training strategy of gradually attenuating the signal-to-noise ratio, that is, a data set in which the signal-to-noise ratio is gradually reduced from -22dB to -28dB is used for training.

8. According to the method for detecting line spectrum in a deep network with an embedded attention mechanism according to claim 1, It is characterized in that In step 5, the real time-frequency diagram is obtained, and the dynamic range of the image is adjusted using logarithmic transformation and Z-score normalization methods, and then input into the trained detection network to obtain the line spectrum detection result.

Citation Information

Patent Citations

  • Unknown line spectrum target detection method based on space and time domain line spectrum enhancer

    CN107886068A

  • Communication signal modulation mode identification method based on convolutional neural network

    CN108234370A

  • Time-frequency line spectrum detection method based on sequential clustering

    CN109061591A

  • Design method of vacuum electronic device slow wave structure based on deep learning and machine learning

    CN114444390A

  • Passive target line spectrum feature extraction method based on distributed attention mechanism network architecture

    CN115587334A

Cited By

  • Multi-task image enhancement method and device, equipment and storage medium

    CN119399049A

  • Audio processing method and related device

    CN120071875A

  • An audio processing method and related device

    CN120071875B

  • Coal mine tunnel water inrush symptom identification method

    CN120508873A

  • A method for identifying signs of water inrush in coal mine roadways

    CN120508873B