Electromagnetic signal type identification method based on hybrid pulse neural network

Through the electromagnetic signal type identification method based on hybrid pulse neural network, shallow and deep residual networks are used to extract features and converted into pulse residual networks, which solves the problem of high power consumption of radio signal identification methods and achieves high accuracy and low cost. The identification effect of power consumption is suitable for small devices.

CN118568537AActive Publication Date: 2024-08-3036TH RES INST OF CETC

Patent Information

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

AI Technical Summary

Technical Problem

Existing radio signal identification methods require high power consumption for inference calculation and are difficult to apply to small or micro devices with limited power consumption.

Method used

An electromagnetic signal type identification method based on hybrid pulse neural network is used to preprocess the signal by extracting the in-phase component and orthogonal component, initializing the shallow residual network and deep residual network, and converting it into a pulse residual network to realize the signal type. Identify.

Benefits of technology

It reduces the consumption of computing and storage resources, is suitable for low-power environments, improves the accuracy and efficiency of signal modulation type identification, is suitable for identification tasks of various digital communication modulation styles, and has broad application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568537A
    Figure CN118568537A
Patent Text Reader

Abstract

The invention relates to an electromagnetic signal type identification method based on a hybrid pulse neural network, belongs to the field of signal processing, and solves the problem that the power consumption requirement of the existing deep neural network reasoning calculation is high. Comprising the following steps: extracting in-phase and quadrature components of a collected radio signal and preprocessing the in-phase and quadrature components to obtain a normalized signal amplitude and phase combined signal modulation type label to form a training sample set; initializing a shallow layer residual network and a deep layer residual network; training the shallow residual network and the deep residual network by using the training sample set until training convergence is carried out to obtain the trained shallow residual network and the trained deep residual network; the trained deep residual network is converted into a pulse residual network, and the trained shallow residual network and the pulse residual network form a signal type identification neural network model; and calculating the amplitude and the phase of the radio signal collected in real time, performing normalization, and inputting the signal type identification neural network model to obtain a prediction result of the signal modulation type of the radio signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to an electromagnetic signal type recognition method based on a hybrid pulse neural network. Background Art

[0002] Signal type recognition refers to identifying the system or modulation mode of the signal received in wireless communication, that is, classifying the signal into different systems such as WIFI, 4G (The 4th Generation Communication System), Bluetooth, etc., or different modulation types such as PSK (Phase Shift Keying) and FSK (Frequency Shift Keying). Signal type recognition technology is of great significance in wireless communication systems. It can help the receiving end understand the characteristics of the transmitted signal and then perform correct signal demodulation and information restoration. Signal type recognition technology has a wide range of applications in the field of wireless communication, such as radio spectrum monitoring, smart radio, Internet of Things, radar signal processing, etc. By accurately identifying the type of signal, the efficiency and performance of the wireless communication system can be improved.

[0003] In recent years, with the development of deep learning technology, deep learning has gradually shown its advantages in signal type recognition. Deep learning methods can automatically learn the feature representation and pattern recognition of signals without manually designing feature extraction algorithms. Commonly used deep learning models include Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), Long Short-Term Memory Networks (LSTM), etc., which are collectively referred to as Artificial Neural Networks (ANN). ANN has achieved good results in signal modulation type recognition, but the performance of ANN depends on the depth and complexity of the model, requires a large amount of computing and storage resources, and has high requirements for the deployment environment. It is not suitable for some small or micro devices with limited power consumption. Summary of the invention

[0004] In view of the above analysis, an embodiment of the present invention aims to provide an electromagnetic signal type recognition method based on a hybrid pulse neural network to solve the technical problem of high power consumption requirements for inference calculation in existing radio signal recognition methods.

[0005] The embodiment of the present invention provides a method for electromagnetic signal type recognition based on a hybrid pulse neural network, comprising the following steps:

[0006] Extract the in-phase component and the orthogonal component of the collected radio signal and perform preprocessing to obtain the normalized signal amplitude and phase combined with the signal modulation type label to form a training sample set;

[0007] Initializing a shallow residual network and a deep residual network; using the training sample set to train the shallow residual network and the deep residual network until the training converges, thereby obtaining a trained shallow residual network and a deep residual network;

[0008] The trained deep residual network is converted into a pulse residual network, and the trained shallow residual network and the pulse residual network form a signal type recognition neural network model;

[0009] The amplitude and phase of the radio signal collected in real time are calculated and normalized, and then input into the signal type recognition neural network model to obtain the prediction result of the signal modulation type of the radio signal.

[0010] Furthermore, the extracting the in-phase component and the orthogonal component of the collected radio signal and preprocessing the signal includes:

[0011] Obtain the complex baseband sampling sequence z=[z1,z2,...,z M ], where M is the number of signal sampling points and N is the total number of radio signal sample data obtained;

[0012] For each sampling point, the in-phase component and the orthogonal component of the signal are extracted as follows:

[0013] z i =I i +jQ i

[0014] Where I and Q are the in-phase component and quadrature component of the signal respectively, j is an imaginary unit, i = 1, 2, ..., M;

[0015] Calculate the amplitude a of the signal based on the in-phase component and the orthogonal component of the signal i and phase p i ; Normalize the amplitude and phase of the signal respectively to obtain the amplitude ai of the normalized signal ,nor and phase p i,nor .

[0016] Furthermore, the shallow residual network sequentially connects the input layer and one residual block in series;

[0017] The deep residual network sequentially connects an input layer, a first, a second, a third and a fourth residual block, a fully connected layer and an output layer;

[0018] Each residual block includes the first convolution layer, ReLU activation layer, second convolution layer, BN batch normalization layer, summation layer and ReLU activation layer in sequence; the input layer to the summation layer is skipped, and the convolution kernel size of the convolution layer is 1×1.

[0019] Furthermore, the shallow residual network is trained using the training sample set as follows:

[0020] Input the sample X in the training sample set into the shallow residual network, and enter the first convolution layer of the residual block of the shallow residual network for convolution operation, then pass through the second convolution layer after ReLU activation, and then pass through the BN batch normalization layer for batch normalization to obtain F(X);

[0021] The other path X is summed with F(X) through a skip connection and then activated by ReLU to obtain the signal feature x, as follows:

[0022] x=ReLU(X+F(X)).

[0023] Furthermore, the deep residual network is trained as follows:

[0024] Input the signal feature x extracted by the shallow residual network into the deep residual network, and sequentially transform it through the first, second, third and fourth residual blocks to obtain the deep features of the signal, and input it into the fully connected layer for signal classification, and the fully connected layer outputs the prediction result of the signal modulation type;

[0025] Based on the prediction result and the loss of the signal modulation type label, back propagation is used to update the connection weight parameters of the first and second convolutional layers and the BN batch normalization layer in each residual block.

[0026] Furthermore, x is input into the deep residual network, and after being transformed by the first, second, third and fourth residual blocks, the deep features of the signal are obtained, which are expressed as follows;

[0027]

[0028] Among them, y1, y2, y3 and y4 are the outputs of the summation layers of the first, second, third and fourth residual blocks respectively, and F1(x), F2(y1), F3(y2) and F4(y3) represent the processing results of the first, second, third and fourth residual blocks after the first convolutional layer, ReLU activation layer, second convolutional layer and BN batch normalization respectively;

[0029] Input y4 into the fully connected layer to obtain the prediction result of the signal modulation type of the radio signal.

[0030] Furthermore, the pulse residual network includes an input layer and first, second, third and fourth pulse residual blocks connected in series, a fully connected layer and an output layer;

[0031] Each pulse residual block includes a first convolutional layer, a first pulse neuron, a second convolutional layer and a second pulse neuron in sequence, and a skip connection from the input layer to the second pulse neuron.

[0032] Further, converting the trained deep residual network into a pulse residual network includes:

[0033] Converting the ReLU activation layer activation function in each residual block of the trained deep residual network into the first pulse neuron and the second pulse neuron in the corresponding residual block of the pulse residual network;

[0034] The weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth residual blocks of the trained deep residual network are normalized and assigned to the weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth pulse residual blocks of the pulse residual network respectively;

[0035] Removing the BN batch normalization layer and the summation layer of each residual block in the deep residual network;

[0036] A scaling factor λ is added to the jump connection from the input to the second pulse neuron of each residual block of the pulse residual network to adjust the residual block.

[0037] Furthermore, the weights w1 and w2 of the first and second convolutional layers and the bias parameters b1 and b2 of each impulse residual block of the trained deep residual network are normalized as follows:

[0038]

[0039] in, are the weights and biases of the first and second convolutional layers of each residual block of the normalized pulse residual network, max1, max2, and max3 are the maximum input of the residual block of the deep residual network, the maximum output activation of the first convolutional layer of the residual block, and the maximum output activation of the second convolutional layer of the residual block, respectively.

[0040] Furthermore, after x is input into the pulse residual network, it is transformed by the first, second, third and fourth pulse residual blocks to obtain the deep features of the signal, which are expressed as follows;

[0041]

[0042] Wherein, n1, n2, n3 and n4 are the outputs of the second pulse neurons of the first, second, third and fourth pulse residual blocks respectively, Q1(x), Q2(n1), Q3(n2) and Q4(n3) respectively represent the processing results of the first, second, third and fourth pulse residual blocks after the first convolutional layer, the first pulse neuron and the second convolutional layer; λx, λn1, λn2 and λn3 are the jump connection values ​​in the first, second, third and fourth pulse residual blocks respectively;

[0043] Spike is an IF pulse neuron, which converts the data passing through the pulse neuron into a binary data sequence;

[0044] Input n4 into the fully connected layer to obtain the prediction result of the signal modulation type of the radio signal.

[0045] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0046] 1. The present invention uses skip connections in residual blocks to enable the network to learn and represent complex features more effectively. Skip connections allow information to propagate directly between layers, avoiding problems such as gradient vanishing or gradient exploding, and helping to improve the efficiency and performance of feature learning;

[0047] 2. The hybrid pulse neural network combined with deep learning is used to achieve high-accuracy recognition of radio signal modulation types, improving the accuracy of signal modulation type recognition;

[0048] 3. The present invention is suitable for low-power environments. Due to the event-driven characteristics of the pulse residual network, it effectively saves computing and storage resources, is suitable for small or micro devices with limited power consumption, and reduces deployment costs;

[0049] 4. The present invention is applicable to the recognition tasks of various digital communication modulation styles or types, including different systems and modulation modes, and has a wide range of applications and versatility, and has broad application prospects and practicality;

[0050] 5. The present invention combines the shallow residual network and the deep residual network to extract the in-phase component and the orthogonal component of the radio signal, effectively extract the time domain characteristics and frequency domain characteristics of the radio signal, and use the skip connection of the residual block to realize direct information propagation, avoiding the problem of gradient vanishing or gradient explosion, making the gradient more stable, and improving the efficiency of feature extraction and signal modulation type recognition;

[0051] 6. The deep residual network is converted to the pulse residual network. The pulse residual network (SNN) has the characteristics of event-driven. It uses pulse coding and timing coding to make neurons active only when specific events (pulses) occur. This feature makes the SNN computationally more efficient, improves energy efficiency, and reduces the consumption of computing resources. In addition, the conversion of the deep residual network to the pulse residual network does not increase parameters, and removes the BN batch normalization layer and summation layer. Through the conversion and real-time inference of the pulse residual network, the real-time acquisition of radio signals can be instantly recognized, meeting the application scenarios with fast response and real-time requirements.

[0052] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0054] Figure 1 It is a flow chart of the electromagnetic signal type recognition method based on hybrid pulse neural network;

[0055] Figure 2 Schematic diagram of the shallow residual network structure;

[0056] Figure 3 Schematic diagram of the deep residual network structure;

[0057] Figure 4 Schematic diagram of the pulse residual network structure;

[0058] Figure 5 A schematic diagram of the conversion process between an artificial neural network and a spiking neural network constructed for one embodiment of the present invention. DETAILED DESCRIPTION

[0059] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0060] In order to reduce the power consumption of traditional deep learning models, the Spiking Neural Network (SNN) came into being. The Spiking Neural Network (SNN) is event-driven because it uses pulse coding and timing coding, which means that neurons are only active when specific events (pulses) occur. This feature makes SNN computationally more efficient. For energy efficiency considerations, it makes sense to apply SNN to signal type recognition.

[0061] A specific embodiment of the present invention, as Figure 1 As shown, a method for electromagnetic signal type recognition based on a hybrid pulse neural network is disclosed, comprising the following steps:

[0062] Step S1, extracting the in-phase component and the orthogonal component of the collected radio signal and preprocessing the signal to obtain the normalized signal amplitude and phase combined with the signal modulation type label to form a training sample set;

[0063] Step S2, initializing a shallow residual network and a deep residual network; using the training sample set to train the shallow residual network and the deep residual network until the training converges, to obtain a trained shallow residual network and a deep residual network;

[0064] Step S3, converting the trained deep residual network into a pulse residual network, and the trained shallow residual network and the pulse residual network form a signal type recognition neural network model;

[0065] Step S4: The amplitude and phase of the radio signal collected in real time are calculated and normalized, and then input into the signal type recognition neural network model to obtain the prediction result of the signal modulation type of the radio signal.

[0066] Depend on Figure 1 As shown, the method of this embodiment utilizes the powerful feature extraction capability of the shallow residual network to extract the time domain features and frequency domain features of the radio signal; uses the deep residual network to extract the deep-level features of the signal, and uses the fully connected layer of the deep residual network to classify the deep-level features to obtain the prediction result of the signal modulation type of the radio signal.

[0067] The trained deep residual network transforms the ReLU activation layer activation function into the first pulse neuron and the second pulse neuron of the pulse residual network; and the weights and bias parameters of the first and second convolutional layers are respectively assigned to the weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth pulse residual blocks of the pulse residual network; the summation layer of the deep residual network is removed, and the effect of the pulse network is improved by assigning a scaling factor to the edges of the jump connections of the residual blocks, and converted into a pulse residual network; finally, on the premise of realizing signal modulation type recognition, the overall energy efficiency of the network is improved.

[0068] The method of the present invention can adapt to the recognition of various digital communication modulation styles or types, and is universal and practical.

[0069] Step S1, includes steps S11-S12.

[0070] Step S11: extract the in-phase component and the orthogonal component of the collected radio signal and perform preprocessing to obtain the amplitude and phase of the normalized signal.

[0071] Receive and sample the target radio signal, covering a variety of different modulation modes and signal types. These signal modulation types include but are not limited to:

[0072] (1) Quadrature Phase Shift Keying (QPSK);

[0073] (2) Eight-phase phase shift keying (8-Phase ShiftKeying, 8PSK);

[0074] (3) Binary Phase Shift Keying (BPSK);

[0075] (4) Offset Quadrature Phase Shift Keying (OQPSK);

[0076] (4) 16-Quadrature Amplitude Modulation (16QAM);

[0077] (5) 32-Quadrature Amplitude Modulation (32QAM);

[0078] (5) 64-Quadrature Amplitude Modulation (64QAM);

[0079] (7) Binary frequency keying (2-Level Frequency Shift Keying, 2FSK);

[0080] (8) 4-Level Frequency Shift Keying (4FSK);

[0081] (9) 8-Level Frequency Shift Keying (8FSK);

[0082] (10) 4-Level Pulse Amplitude Modulation (4PAM);

[0083] (11)Signal categories such as 8-Level Pulse Amplitude Modulation (8PAM)

[0084] By receiving and sampling signals of these different modulation types, the sample data required for signal processing can be obtained, which is then used to construct shallow residual network and deep residual network models to identify the signal modulation type.

[0085] The extracting of the in-phase component and the orthogonal component of the collected radio signal and preprocessing the signal comprises:

[0086] Obtain the complex baseband sampling sequence z=[z1,z2,...,z M ], where M is the number of signal sampling points and N is the total number of radio signal sample data obtained;

[0087] For each sampling point, the in-phase component and the orthogonal component of the signal are extracted, as shown in formula (1):

[0088] z i =I i +jQ i Formula (1)

[0089] Where I and Q are the in-phase component and quadrature component of the signal respectively, j is an imaginary unit, i = 1, 2, ..., M;

[0090] Calculate the amplitude a of the signal based on the in-phase component and the orthogonal component of the signal i and phase p i ; Normalize the amplitude and phase of the signal respectively to obtain the amplitude ai of the normalized signal ,nor and phase p i,nor .

[0091] Calculate the amplitude a of the signal based on the in-phase component and the orthogonal component of the signal i and phase p i , as shown in formula (2):

[0092]

[0093] Then the amplitude and phase of the signal are normalized, as shown in formula (3):

[0094]

[0095] Among them, a min 、a max are the minimum and maximum values ​​of the amplitude, respectively, min 、p max are the minimum and maximum values ​​of the phase respectively.

[0096] Step S12: The normalized signal amplitude and phase are combined with the signal modulation type label to form a training sample set.

[0097] The preprocessed normalized signal amplitude and phase data, as well as the corresponding signal modulation type, are used as labels to form a training sample set;

[0098] 70% of the sample size in the training sample set is selected as the training set to train the shallow residual network and the deep residual network in the subsequent steps, and 30% of the sample size is selected as the validation set to validate the shallow residual network and the deep residual network.

[0099] The division of the training set and the validation set is random, and the samples of each modulation type category are evenly distributed as much as possible.

[0100] The function of step S1 is to obtain the radio signal, extract the in-phase component and the orthogonal component of the signal, and perform preprocessing; calculate the amplitude and phase of the signal for normalization. The normalized amplitude and phase data can better extract the key information in the signal, reduce redundant and unnecessary information, and help improve the efficiency and accuracy of model training. In addition, the amplitude and phase are easier to understand and closer to the physical meaning of the signal. This representation is more intuitive and helps to analyze and interpret the signal characteristics. In addition, in some cases, the amplitude and phase form is more robust, more resistant to some noise interference, and improves the stability and robustness of the signal recognition method.

[0101] Step S2 includes steps S21-S22.

[0102] The residual network extracts signal features by stacking residual blocks. One of the main advantages of the residual network structure is the ability to better capture and learn features when training the network. The residual connection in the residual block allows the network to learn the residual instead of directly learning the original features. This mechanism enables the residual network to learn and represent complex features more effectively. Since the residual network connection allows skip connections, it allows information to propagate directly between layers without being affected by problems such as gradient vanishing, which helps to better learn and represent features. This ability enables the residual network to extract features at deeper network levels, solving the problems of gradient vanishing and model degradation encountered by traditional deep networks during training.

[0103] Step S21, initializing a shallow residual network and a deep residual network, and using the training sample set to train the shallow residual network.

[0104] like Figure 2 As shown, the structure of the shallow residual network is as follows:

[0105] The shallow residual network sequentially connects the input layer and 1 residual block in series.

[0106] like Figure 3 As shown, the structure of the deep residual network is as follows:

[0107] The deep residual network sequentially connects an input layer, a first, a second, a third and a fourth residual block, a fully connected layer and an output layer;

[0108] The structure of each residual block of the deep residual network is the same as that of the shallow residual network.

[0109] Each residual block includes the first convolution layer, ReLU activation layer, second convolution layer, BN batch normalization layer, summation layer and ReLU activation layer in sequence; the input layer to the summation layer is skipped, and the convolution kernel size of the convolution layer is 1×1.

[0110] The input of the first residual block is obtained from the input layer; the output of the first residual block is the input of the second residual block; the output of the second residual block is the input of the third residual block; and the output of the third residual block is the input of the fourth residual block.

[0111] The shallow residual network is trained using a training sample set, where the samples are normalized amplitudes, phases, and corresponding signal modulation type labels.

[0112] like Figure 5 As shown, the shallow residual network is trained using the training sample set as follows:

[0113] Input the sample X in the training sample set into the shallow residual network, and enter the first convolution layer of the residual block of the shallow residual network for convolution operation, then pass through the second convolution layer after ReLU activation, and then pass through the BN batch normalization layer for batch normalization to obtain F(X);

[0114] The other path X is summed with F(X) through a skip connection and then activated by ReLU to obtain the signal feature x, as shown in formula (4):

[0115]

[0116] The residual block is the basic building block of the shallow residual network. The shallow residual network extracts features as follows:

[0117] (1) Input layer: normalized signal amplitude and phase data;

[0118] (2) Convolution operation: The input data passes through two convolution layers, the first convolution layer and the second convolution layer. The convolution operation is used to extract features from the input data. The convolution kernel size of the first and second convolution layers is 1×1.

[0119] (3) ReLU activation layer: After the first convolutional layer, the ReLU (rectified linear unit) activation function is used to perform nonlinear mapping on the convolution output; and after the summation layer, the ReLU activation function is used to activate the summation result;

[0120] (4) Batch Normalization (BN): Batch normalization is performed on the features output by the second convolutional layer; it accelerates the training convergence speed, reduces the internal covariate transfer, and improves the generalization ability of the shallow residual network;

[0121] (5) Skip connection: One of the keys to shallow residual networks is the skip connection, which allows the network to skip one or more layers of learning, thereby learning the residual more effectively. In shallow residual networks, the skip connection is between the input layer and the summation layer;

[0122] (6) Sum layer: Input the sample X in the training sample set into the shallow residual network. One path X enters the first convolution layer of the residual block of the shallow residual network for convolution operation, then passes through the second convolution layer after ReLU activation, and passes through the BN batch normalization layer for batch normalization to obtain F(X); the other path X is summed with F(X) through a skip connection and then activated by ReLU to obtain the signal feature x;

[0123] (7) Output: After passing through the summation layer, ReLU is performed to activate the shallow residual network output x.

[0124] The function of step S21 is to extract the time domain features and frequency domain features of the radio signal based on the normalized amplitude and phase data using a shallow residual network.

[0125] Step S22: training the deep residual network.

[0126] A deep residual network is constructed as a classifier to classify the time domain features and frequency domain features extracted by the shallow residual network to obtain the prediction results of the signal modulation type.

[0127] like Figure 5 As shown, the deep residual network is trained as follows:

[0128] The signal feature x extracted by the shallow residual network is input into the deep residual network, and is converted by the first, second, third and fourth residual blocks in sequence to obtain the deep-level features of the signal, which are input into the fully connected layer for signal classification. The fully connected layer outputs the prediction result of the signal modulation type.

[0129] x is input into the deep residual network, and after being transformed by the first, second, third and fourth residual blocks, the deep features of the signal are obtained, which are expressed as shown in formula (5);

[0130]

[0131] Among them, y1, y2, y3 and y4 are the outputs of the summation layers of the first, second, third and fourth residual blocks respectively, and F1(x), F2(y1), F3(y2) and F4(y3) represent the processing results of the first, second, third and fourth residual blocks after the first convolutional layer, ReLU activation layer, second convolutional layer and BN batch normalization respectively;

[0132] Input y4 into the fully connected layer to obtain the prediction result of the signal modulation type of the radio signal.

[0133] like Figure 3 As shown, the deep residual network acts as a classifier to classify the features extracted by the shallow residual network, including:

[0134] (1) Input layer: The shallow neural network extracts x, including the time domain and frequency domain features of the signal;

[0135] (2) Processing: The processing of the deep residual network includes 4 residual blocks, and feature extraction and representation learning are performed inside each residual block. Inside each residual block, the input features are processed by the first convolution layer, ReLU activation layer, second convolution layer and BN batch normalization layer, and the jump connection between the input layer and the summation layer is used to promote gradient flow and information transfer; the convolution, ReLU activation function and BN batch normalization operations in each residual block are the same as those of the shallow residual network;

[0136] (3) Output: The output of the deep residual network is the prediction result of the signal modulation type. The output of the fourth residual block is input to the fully connected layer for classification after ReLU activation, and the final output is the prediction result of the signal modulation type.

[0137] The main purpose of using a deep residual network with 4 residual blocks is to increase the depth of the network in order to better capture and learn the deep features of the input data.

[0138] Specifically, increasing the number of residual blocks can help deep residual networks gradually build more complex feature representations. Each residual block can be regarded as a feature extractor, which can extract the features of input data through convolutional layers, BN batch normalization layers, and activation functions. As the number of residual blocks increases, the network can gradually learn more abstract and complex deep features, thereby improving the classification performance of signal modulation types.

[0139] In addition, increasing the number of residual blocks can also help the network better solve problems such as gradient disappearance and gradient explosion, thereby training more stably and making it easier for the network to learn effective feature representations during training.

[0140] Therefore, using 4 residual blocks can make the network deeper and more expressive, thereby improving the performance of the signal modulation type recognition task.

[0141] The deep residual network takes the output features of the shallow residual network, namely the time domain features and frequency domain features, as input, performs feature extraction and representation learning through four residual blocks, and finally outputs the prediction results of the signal modulation type.

[0142] Utilize the stochastic gradient descent method in the error back propagation algorithm, use the features extracted by the shallow residual network in step S21 to train the constructed deep residual network until the training converges, and then use the trained deep residual network.

[0143] The function of step S22 is to extract deeper features to speed up the training of the subsequent deep residual network to be converted and the inference process of the pulse residual network.

[0144] The shallow residual network and the deep residual network are verified by using the verification set in the training sample set until the training converges, thereby obtaining the trained shallow residual network and the deep residual network.

[0145] Step S3, specifically.

[0146] The deep residual network is converted into a spiking neural network, and the features extracted by the shallow residual network are inferred to output the prediction results of the signal modulation type.

[0147] like Figure 4 As shown, the pulse residual network includes an input layer and first, second, third and fourth pulse residual blocks connected in series, a fully connected layer and an output layer;

[0148] Each pulse residual block includes a first convolutional layer, a first pulse neuron, a second convolutional layer and a second pulse neuron in sequence, and a skip connection from the input layer to the second pulse neuron.

[0149] Converting the trained deep residual network into a pulse residual network includes:

[0150] Converting the ReLU activation layer activation function in each residual block of the trained deep residual network into the first pulse neuron and the second pulse neuron in the corresponding residual block of the pulse residual network;

[0151] The weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth residual blocks of the trained deep residual network are normalized and assigned to the weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth pulse residual blocks of the pulse residual network respectively;

[0152] Removing the BN batch normalization layer and the summation layer of each residual block in the deep residual network;

[0153] A scaling factor λ is added to the jump connection from the input to the second pulse neuron of each residual block of the pulse residual network to adjust the residual block.

[0154] The trained deep residual network is converted into a pulse residual network; the trained shallow residual network and the pulse residual network form a signal type recognition neural network model.

[0155] like Figure 5 As shown, the trained deep residual network is converted into a spiking neural network, and then the spiking neural network is used to infer the features extracted by the shallow residual network, including:

[0156] (1) Convert the ReLU activation function in the residual block of the deep residual network to the first and second spiking neurons of the spiking residual network. Make it match the RF range of the spiking neurons in the spiking residual network, because spiking neurons are not allowed to emit multiple pulses in one time step. Otherwise, the information carried by high activation values ​​will be lost during the conversion process. For stacked layers, the weights and biases of each layer are normalized by the maximum possible activation value calculated during the training process;

[0157] (2) Conversion weights and biases: The first and second convolutional layer parameters, including weights and biases, in the first, second, third, and fourth residual blocks of the trained deep residual network are normalized, and then assigned to the first and second convolutional layer parameters of the first, second, third, and fourth residual blocks of the spiking residual network to ensure that the network operates on spiking neurons;

[0158] (3) Discarding one BN batch normalization layer: Since one BN batch normalization layer is not required in the pulse residual network, one BN batch normalization layer in the deep residual network needs to be discarded;

[0159] (4) Modify the structure: Since the spiking neurons automatically perform the superposition operation, there is no need for the summation layer of the deep residual network, and the network structure of the spiking residual network is modified accordingly during the conversion process.

[0160] (5) When making a jump connection from the input layer to the second pulse neuron, a scaling factor is added to adjust the output of the residual block to improve the effect of the converted pulse residual network.

[0161] The first and second convolutional layers of each pulse residual block of the trained deep residual network are normalized by weights w1 and w2 and bias parameters b1 and b2, as shown in formula (6):

[0162]

[0163] in, are the weights and biases of the first and second convolutional layers of each residual block of the normalized pulse residual network, max1, max2, and max3 are the maximum input of the residual block of the deep residual network, the maximum output activation of the first convolutional layer of the residual block, and the maximum output activation of the second convolutional layer of the residual block, respectively.

[0164] The conversion of artificial neural network (deep residual network) to pulse residual network is to convert the weights and biases of artificial neural network into the appropriate form in pulse residual network.

[0165] Finally, the converted pulse residual network is used to infer the time domain and frequency domain features extracted by the above shallow residual network.

[0166] The reasoning process of the pulse residual network (SNN) is to accumulate pulses in multiple time steps to achieve the effect of identifying the signal modulation type. Each neuron will receive pulse inputs from the previous layer of neurons in multiple time steps and accumulate these inputs in these time steps. At each time step, the neuron will decide whether to issue an output pulse based on the received pulse input and its own state. This process is carried out time step by time, and there will be a classification result at each time step until the maximum number of time steps of the network is reached or the preset stop condition within the network is reached.

[0167] After x is input into the pulse residual network, it is transformed by the first, second, third and fourth pulse residual blocks to obtain the deep features of the signal, which is expressed as shown in formula (7);

[0168]

[0169] Wherein, n1, n2, n3 and n4 are the outputs of the second pulse neurons of the first, second, third and fourth pulse residual blocks respectively, Q1(x), Q2(n1), Q3(n2) and Q4(n3) respectively represent the processing results of the first, second, third and fourth pulse residual blocks after the first convolutional layer, the first pulse neuron and the second convolutional layer; λx, λn1, λn2 and λn3 are the jump connection values ​​in the first, second, third and fourth pulse residual blocks respectively;

[0170] Spike is an IF pulse neuron, which converts the data passing through the pulse neuron into a binary data sequence;

[0171] Input n4 into the fully connected layer to obtain the prediction result of the signal modulation type of the radio signal.

[0172] Spike is an IF pulse neuron. The neuron integrates the incoming weighted salient signal in the time domain. The equation of the input weighted salient at a certain time step t is: s(t) = wx(t) + b, where w is the salient weight, b is the neuron bias, and x(t) is the input from the spiking neuron in the previous layer. After the input is integrated, it enters the spiking neuron to accumulate the membrane potential v. When the membrane potential reaches the threshold voltage v th When the neuron fires an output pulse, the membrane potential decreases by a factor of v. th . It can be described by the following formula: v(t) = v(t-1) + s(t) - v th δ(t). Among them, δ(t) is a step function, which determines whether to send a pulse. As a result, the data passing through the spiking neuron is converted into a binary data sequence of 0 or 1 and output.

[0173] The purpose of this step S3 is to convert the trained deep residual network into a pulse residual network, and then use the pulse residual network to infer the features extracted by the shallow residual network to obtain the prediction result of the signal type, so as to achieve the purpose of improving energy efficiency.

[0174] In summary, the electromagnetic signal type recognition method based on hybrid pulse neural network in the embodiment of the present invention has the following beneficial effects:

[0175] 1. The present invention uses skip connections in residual blocks to enable the network to learn and represent complex features more effectively. Skip connections allow information to propagate directly between layers, avoiding problems such as gradient vanishing or gradient exploding, and helping to improve the efficiency and performance of feature learning;

[0176] 2. The hybrid pulse neural network combined with deep learning is used to achieve high-accuracy recognition of radio signal modulation types, improving the accuracy of signal modulation type recognition;

[0177] 3. The present invention is suitable for low-power environments. Due to the event-driven characteristics of the pulse residual network, it effectively saves computing and storage resources, is suitable for small or micro devices with limited power consumption, and reduces deployment costs;

[0178] 4. The present invention is applicable to the recognition tasks of various digital communication modulation styles or types, including different systems and modulation modes, and has a wide range of applications and versatility, and has broad application prospects and practicality;

[0179] 5. The present invention combines the shallow residual network and the deep residual network to extract the in-phase component and the orthogonal component of the radio signal, effectively extract the time domain characteristics and frequency domain characteristics of the radio signal, and use the skip connection of the residual block to realize direct information propagation, avoiding the problem of gradient vanishing or gradient explosion, making the gradient more stable, and improving the efficiency of feature extraction and signal modulation type recognition;

[0180] 6. The deep residual network is converted to the pulse residual network. The pulse residual network (SNN) has the characteristics of event-driven. It uses pulse coding and timing coding to make neurons active only when specific events (pulses) occur. This feature makes the SNN computationally more efficient, improves energy efficiency, and reduces the consumption of computing resources. In addition, the conversion of the deep residual network to the pulse residual network does not increase parameters, and removes the BN batch normalization layer and summation layer. Through the conversion and real-time inference of the pulse residual network, the real-time acquisition of radio signals can be instantly recognized, meeting the application scenarios with fast response and real-time requirements.

[0181] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A method for electromagnetic signal type recognition based on hybrid pulse neural network, characterized in that: The steps include: Extract the in-phase component and the orthogonal component of the collected radio signal and perform preprocessing to obtain the normalized signal amplitude and phase combined with the signal modulation type label to form a training sample set; Initialize shallow residual network and deep residual network; Using the training sample set to train the shallow residual network and the deep residual network until the training converges, thereby obtaining a trained shallow residual network and a trained deep residual network; The trained deep residual network is converted into a pulse residual network, and the trained shallow residual network and the pulse residual network form a signal type recognition neural network model; The amplitude and phase of the radio signal collected in real time are calculated and normalized, and then input into the signal type recognition neural network model to obtain the prediction result of the signal modulation type of the radio signal.

2. The method according to claim 1, characterized in that: The extracting of the in-phase component and the orthogonal component of the collected radio signal and preprocessing the signal comprises: Obtain the complex baseband sampling sequence z=[z1,z2,...,z M ], where M is the number of signal sampling points and N is the total number of radio signal sample data obtained; For each sampling point, the in-phase component and the orthogonal component of the signal are extracted as follows: With i =I i +jQ i Where I and Q are the in-phase component and quadrature component of the signal respectively, j is an imaginary unit, i = 1, 2, ..., M; Calculate the amplitude a of the signal based on the in-phase component and the orthogonal component of the signal i and phase p i ; Normalize the amplitude and phase of the signal to obtain the amplitude a of the normalized signal i,nor and phase p i,nor .

3. The method according to any one of claims 1 to 2, characterized in that: The shallow residual network sequentially connects the input layer and one residual block in series; The deep residual network sequentially connects an input layer, a first, a second, a third and a fourth residual block, a fully connected layer and an output layer; Each residual block includes the first convolution layer, ReLU activation layer, second convolution layer, BN batch normalization layer, summation layer and ReLU activation layer in sequence; the input layer to the summation layer is skipped, and the convolution kernel size of the convolution layer is 1×1.

4. The method according to claim 3, characterized in that The shallow residual network is trained using the training sample set as follows: Input the sample X in the training sample set into the shallow residual network, and enter the first convolution layer of the residual block of the shallow residual network for convolution operation, then pass through the second convolution layer after ReLU activation, and then pass through the BN batch normalization layer for batch normalization to obtain F(X); The other path X is summed with F(X) through a skip connection and then activated by ReLU to obtain the signal feature x, as follows: x=ReLU(X+F(X)).

5. The method according to claim 4, characterized in that The deep residual network is trained as follows: Input the signal feature x extracted by the shallow residual network into the deep residual network, and sequentially transform it through the first, second, third and fourth residual blocks to obtain the deep features of the signal, and input it into the fully connected layer for signal classification, and the fully connected layer outputs the prediction result of the signal modulation type; Based on the prediction result and the loss of the signal modulation type label, back propagation is used to update the connection weight parameters of the first and second convolutional layers and the BN batch normalization layer in each residual block.

6. The method according to claim 5, characterized in that x is input into the deep residual network, and after being transformed by the first, second, third and fourth residual blocks, the deep features of the signal are obtained, which are expressed as follows; Among them, y1, y2, y3 and y4 are the outputs of the summation layers of the first, second, third and fourth residual blocks respectively, and F1(x), F2(y1), F3(y2) and F4(y3) represent the processing results of the first, second, third and fourth residual blocks after the first convolutional layer, ReLU activation layer, second convolutional layer and BN batch normalization respectively; Input y4 into the fully connected layer to obtain the prediction result of the signal modulation type of the radio signal.

7. The method according to claim 6, characterized in that The pulse residual network includes an input layer and first, second, third and fourth pulse residual blocks connected in series, a fully connected layer and an output layer; Each pulse residual block includes a first convolutional layer, a first pulse neuron, a second convolutional layer and a second pulse neuron in sequence, and a skip connection from the input layer to the second pulse neuron.

8. The method according to claim 7, characterized in that Converting the trained deep residual network into a pulse residual network includes: Converting the ReLU activation layer activation function in each residual block of the trained deep residual network into the first pulse neuron and the second pulse neuron in the corresponding residual block of the pulse residual network; The weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth residual blocks of the trained deep residual network are normalized and assigned to the weights and bias parameters of the first and second convolutional layers in the first, second, third and fourth pulse residual blocks of the pulse residual network respectively; Removing the BN batch normalization layer and the summation layer of each residual block in the deep residual network; A scaling factor λ is added to the jump connection from the input to the second pulse neuron of each residual block of the pulse residual network to adjust the residual block.

9. The method according to claim 8, characterized in that The weights w1 and w2 of the first and second convolutional layers and the bias parameters b1 and b2 of each impulse residual block of the trained deep residual network are normalized as follows: in, are the weights and biases of the first and second convolutional layers of each residual block of the normalized pulse residual network, max1, max2, and max3 are the maximum input of the residual block of the deep residual network, the maximum output activation of the first convolutional layer of the residual block, and the maximum output activation of the second convolutional layer of the residual block, respectively.

10. The method according to claim 8, characterized in that After x is input into the pulse residual network, it is transformed by the first, second, third and fourth pulse residual blocks to obtain the deep features of the signal, which are expressed as follows; Wherein, n1, n2, n3 and n4 are the outputs of the second pulse neurons of the first, second, third and fourth pulse residual blocks respectively, Q1(x), Q2(n1), Q3(n2) and Q4(n3) respectively represent the processing results of the first, second, third and fourth pulse residual blocks after the first convolutional layer, the first pulse neuron and the second convolutional layer; λx, λn1, λn2 and λn3 are the jump connection values ​​in the first, second, third and fourth pulse residual blocks respectively; Spike is an IF pulse neuron, which converts the data passing through the pulse neuron into a binary data sequence; Input n4 into the fully connected layer to obtain the prediction result of the signal modulation type of the radio signal.

Citation Information

Patent Citations

  • ANN-SNN conversion classification method based on membrane potential preprocessing

    CN112116010A

  • Coordinated automatic modulation identification method based on edge learning

    CN117294563A

  • Automatic detection of cardiac structures in cardiac mapping

    US20210369174A1

Cited By

  • Pulse neural network communication system identification method and system based on time-frequency feature fusion, electronic equipment and storage medium

    CN119316256A