Deep learning shortwave signal identification method based on ionosphere parameter compensation

By using Transformer neural network and LSTM network combined with the ionospheric parameter compensation method in shortwave signal identification, the problem of channel characteristics not being considered is solved, the accuracy of individual radiation source identification is improved, and an identification accuracy of more than 90% is achieved.

CN118779703AActive Publication Date: 2024-10-15CHINA INST OF RADIO PROPAGATION +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410909315.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-15
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the relevant characteristics of the channel in the identification of individual radiation sources. In particular, the identification accuracy of shortwave signals is low when the ionospheric channel changes.

Method used

The ionospheric parameter compensation method based on the Transformer neural network is adopted, and the complex neural network is used to associate the I and Q signal characteristics, combined with the LSTM network to analyze the time series context, and the fully connected layer is used for identification and classification, and the ionospheric parameters and prior knowledge are added , using the multi-head attention mechanism and cross-entropy loss function to optimize the neural network to improve recognition accuracy.

Benefits of technology

The identification accuracy of shortwave signals has been significantly improved. By extracting the I and Q channels and time series characteristics, combined with the prior information of the ionospheric environment channel, a complete shortwave signal identification system has been formed, with the identification accuracy reaching 90%. above.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779703A_ABST
    Figure CN118779703A_ABST
Patent Text Reader

Abstract

The invention discloses a deep learning shortwave signal identification method based on ionosphere parameter compensation, which comprises the following steps: step 1, constructing an overall neural network; step 2, processing data; step 3, adding ionosphere parameters and priori knowledge; step 4, carrying out forward gradient operation and reverse gradient derivation, and updating the parameters; and obtaining the category with the highest probability. According to the method disclosed by the invention, the characteristics of the channels I and Q are extracted by using the complex convolution module, the characteristics of the time sequence are extracted by using the LSTM module, and the related information of the channels I and Q and the time sequence is fully exerted and extracted, so that the recognition accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of shortwave signal recognition, and in particular relates to a deep learning shortwave signal recognition method based on ionospheric parameter compensation in this field. Background Art

[0002] Nowadays, many methods are considering communication signals, and the research on shortwave signals is relatively small and basic. Basically, traditional feature extraction methods are used to identify shortwave signals. Now deep learning has been widely used in various fields, which has further improved the efficiency of shortwave radiation identification. Specific Emitter Identification (SEI) is a technology that analyzes and measures the unique radio frequency fingerprint (RFF) information contained in the electromagnetic waves radiated by the radiation source and identifies the individual. It is one of the most difficult tasks in modern electronic intelligence systems and electronic warfare systems. It can be seen that the individual identification of radiation sources is both challenging and full of opportunities.

[0003] Ding Lida disclosed a method for individual identification of radiation sources based on supervised dimensionality reduction and convolutional neural network methods based on manifold learning in "Individual Identification of Communication Radiation Sources Based on Deep Learning". The method is composed of estimating the bi-spectrum of the steady-state signal of the communication radiation source, using small sample learning to supervise and reduce the dimension of the original bi-spectrum, and weakening the influence of the cross terms, and then constructing and optimizing the convolutional neural network to identify the compressed bi-spectrum. Compared with traditional bi-spectrum-based individual identification methods for radiation sources, such as local bi-spectrum integration and selected bi-spectrum, the use of convolutional neural networks significantly improves the recognition performance. The shortcoming is that this method mainly studies traditional communication signals and does not consider the impact of different propagation channels on the signals. For shortwave, the ionospheric channel is unpredictable, and certain prior knowledge is required to improve its recognition accuracy. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the shortcoming that the radiation source identification in the prior art does not actively consider the relevant characteristics of the channel, and to provide a deep learning shortwave signal recognition method based on ionospheric parameter compensation.

[0005] The present invention adopts the following technical solution:

[0006] A deep learning shortwave signal recognition method based on ionospheric parameter compensation, the improvement of which is that it includes the following steps:

[0007] Step 1, construct the overall neural network:

[0008] First, the Transformer neural network is used to build an ionospheric parameter compensation network. Then, a complex neural network is used to associate the corresponding features of the I and Q signals. An LSTM neural network is used to analyze the contextual association of the I and Q time series. Finally, a fully connected layer is used to identify and classify the extracted high-dimensional features.

[0009] Step 2: Process the data:

[0010] Normalize the data to complex numbers:

[0011]

[0012] In the above formula, real(x) represents the real part and img(x) represents the imaginary part;

[0013] Step 3, add ionospheric parameters and prior knowledge:

[0014] The detected ionospheric parameters are smoothed by curve fitting to obtain a polynomial to characterize the changes of ionospheric parameters on the day:

[0015] Variable = ∑a i x i +b,i=1,2,...,n

[0016] In the above formula, a is the polynomial coefficient and b is the polynomial constant;

[0017] For ionospheric parameter fitting, the variance λ of the fitting polynomial var is less than the measurement threshold α,

[0018] Then the ionospheric parameters, the collected real data and the ideal data are input into the Transformer neural network, using the multi-head attention mechanism in the Transformer neural network:

[0019] V (Q,K,V) =X·W (Q,K,V)

[0020] Multiplying the data X by the weight W generates the query Q, key K and value V, which are then transformed into a new matrix Z by the following formula:

[0021]

[0022] In the above formula, d k Represents the dimension of the key value K;

[0023] Step 4: Perform forward gradient calculation and reverse gradient derivation to update the parameters:

[0024] The data passes through the network and first undergoes a linear transformation of the matrix:

[0025] z=w T x+b

[0026] a=σ(z)

[0027] In the above formula, w is the weight matrix, b is the bias, and σ is the activation function;

[0028] Then use the cross entropy loss function:

[0029]

[0030] In the above formula, is the predicted label, y is the real label, and the predicted value is brought close to the real value through the deviation between the prediction and the real value through reverse gradient operation;

[0031] First calculate the gradient of weight w:

[0032]

[0033] And calculate the gradient of the bias:

[0034]

[0035] In the above formula, is the element weight value of the jth row and kth column of the lth layer convolution kernel; C is the obtained cost function, is the output value of the previous layer; is the error between the prediction of the previous layer and this layer and the true value; is the bias value corresponding to the jth row of the convolution kernel of the lth layer; is the bias value of the jth row and kth column of the lth layer convolution kernel; is the value output by the jth row of the data after passing through the lth layer of convolution kernel;

[0036] Obtain the corresponding weights and bias parameters through gradient calculation, and then repeat steps 1-4 to obtain the weights that can achieve the minimum loss value to form a trained network;

[0037] Step 5: Get the recognition result and the category with the highest probability:

[0038] Use untrained data, process the data format into the same format as the training data, and directly input it into the trained network to obtain the output probability vector [β 1 ',β 2 ',...,β n '], take the maximum value of the probability as the recognition result, and obtain the final result of the network's recognition of this data.

[0039] Furthermore, in step 1, the network structure includes 6 layers of convolutional modules, each of which includes a complex convolutional layer, a batch normalization layer, and an activation function.

[0040] The formula for complex convolution operation is as follows:

[0041] W*h=(A*xB*y)+i(B*x+A*y)

[0042] First, the complex convolution kernel convolves the complex filter matrix W = A + iB with the complex vector h = x + iy. The operation of complex numbers is simulated by using real numbers. In the formula, A and B are real matrices, x and y are real vectors, the convolution operator is distributed, and the filter W convolves the vector h.

[0043] The formula for batch normalization operation is as follows:

[0044]

[0045] In the batch normalization layer, x max Represents the largest number in the sequence, x min Represents the smallest number in the sequence;

[0046] The formula for the activation function is as follows:

[0047]

[0048] Finally, after the activation function layer, the activation function only uses the values ​​of the data that are positive, and all the negative values ​​of the data are taken as 0.

[0049] The beneficial effects of the present invention are:

[0050] The method disclosed in the present invention uses a complex convolution module to extract I and Q channel features, and uses an LSTM module to extract time series features, so as to give full play to and extract relevant information of the I and Q channels and the time series to improve the recognition accuracy.

[0051] The method disclosed by the present invention adds relevant content and knowledge of the ionosphere to the data input, provides the neural network with prior information of the ionosphere environment channel, combines relevant propagation characteristic factors, and further improves the recognition accuracy.

[0052] The method disclosed in the present invention processes the collected data, and all the processes from compensation to network training are completed independently by the program, forming a complete shortwave signal recognition system, which provides a basis and convenience for subsequent corresponding work. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1It is the overall architecture diagram of the integrated ionospheric shortwave signal reconnaissance and identification;

[0054] Figure 2 This is a schematic diagram of ionospheric compensation using a transformer neural network;

[0055] Figure 3 It is the overall structural diagram of the recognition network;

[0056] Figure 4 This is a sample graph of Guilin data;

[0057] Figure 5 yes Figure 4 A magnified picture of the data;

[0058] Figure 6 This is an example of Guiyang data;

[0059] Figure 7 yes Figure 6 A magnified picture of the data;

[0060] Figure 8 This is an example graph of Huizhou data;

[0061] Fig. 9 yes Figure 8 A magnified picture of the data;

[0062] Fig.10 It is a schematic diagram of the specific structure of the network;

[0063] Fig.11 It is the loss function change curve of the training set and the validation set;

[0064] Fig.12 This is a diagram of the confusion matrix of the validation set;

[0065] Fig.13 This is a diagram of the confusion matrix for the test set. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0067] A deep learning shortwave signal recognition method based on ionospheric parameter compensation uses a complex neural network and a LSTM network superimposed with ionospheric parameter compensation to perform individual recognition of shortwave signals, including the following steps:

[0068] Step 1, construct the overall neural network:

[0069] The constructed network should build a network model that is suitable for specific data. The model structure is mainly divided into three parts: first, the Transformer neural network is used to build the ionospheric parameter compensation network, then the complex neural network is used to perform corresponding feature association on the I and Q signals, and the LSTM neural network is used to analyze the contextual association of the I and Q time series; finally, the fully connected layer is used to identify and classify the extracted high-dimensional features;

[0070] The overall block diagram is shown in Figure 1 The network structure consists of 6 convolutional modules, each of which includes a complex convolutional layer, a batch normalization layer, and an activation function.

[0071] The formula for complex convolution operation is as follows:

[0072] W*h=(A*xB*y)+i(B*x+A*y)

[0073] First, the complex convolution kernel convolves the complex filter matrix W = A + iB with the complex vector h = x + iy. The operation of complex numbers is simulated by using real numbers. In the formula, A and B are real matrices, x and y are real vectors, the convolution operator is distributed, and the filter W convolves the vector h.

[0074] The formula for batch normalization operation is as follows:

[0075]

[0076] In the batch normalization layer, x max Represents the largest number in the sequence, x min Represents the smallest number in the sequence. The normalized data will prevent the gradient from disappearing and exploding to a certain extent.

[0077] The formula for the activation function is as follows:

[0078]

[0079] Finally, after the activation function layer, the activation function only uses the positive values ​​of the data, and takes all the negative values ​​of the data as 0, thereby enhancing the nonlinear ability of the network.

[0080] Figure 2 This is a schematic diagram of ionospheric compensation using a transformer neural network; Figure 3 It is the overall structural diagram of the recognition network; Fig.10 It is a schematic diagram of the specific structure of the network;

[0081] Step 2: Process the data:

[0082] For the data just obtained, firstly, the program processes the data into a data structure of (batch size, channel, width, length), where batch size represents the total number of data; channel represents the number of channels of data, which here represents the I and Q channels, so channel = 2; width represents the width of each channel, that is, the width of the data in each channel of I and Q. Since it is a time series, width = 1; length represents the length of each channel, which usually refers to the number of sampling points of the I and Q channels. Then the data is normalized to complex numbers:

[0083]

[0084]

[0085] In the above formula, real(x) represents the real part and img(x) represents the imaginary part. The two normalized signals x are finally obtained through the above formula. I and x Q Normalized data is easier to converge and can better enable the neural network to reach the lowest point of the gradient.

[0086] Step 3, add ionospheric parameters and prior knowledge:

[0087] In view of the variability of the ionosphere, a smooth curve fitting is performed on the detected ionosphere parameters to obtain a polynomial to characterize the changes in the ionosphere parameters on the day:

[0088] Variable = ∑a i x i +b,i=1,2,...,n

[0089] In the above formula, a is the polynomial coefficient and b is the polynomial constant;

[0090] For ionospheric parameter fitting, the variance λ of the fitting polynomial var is less than the measurement threshold α,

[0091] In this way, prior information is added to the original shortwave signal, and then the ionospheric parameters and the collected real data and ideal data are input into the Transformer neural network, using the multi-head attention mechanism in the Transformer neural network:

[0092] V (Q,K,V) =X·W (Q,K,V)

[0093] Multiplying the data X by the weight W generates the query Q, key K and value V, which are then transformed into a new matrix Z by the following formula:

[0094]

[0095] In the above formula, d k Represents the dimension of the key value K;

[0096] The multi-head attention mechanism in Transformer can focus on different areas, allowing the network to capture information about the ionosphere and then compensate.

[0097] Step 4: Perform forward gradient calculation and reverse gradient derivation to update the parameters:

[0098] The data passes through the network and first undergoes a linear transformation of the matrix:

[0099] z=w T x+b

[0100] a=σ(z)

[0101] In the above formula, w is the weight matrix, b is the bias, and σ is the activation function;

[0102] The output of the last layer of the activation function is a probability vector, namely [β 1 ,β 2 ,...,β n ], n represents the total number of categories to be identified, where the relationship is β 1 +β 2 +...+β n =1.

[0103] Then use the cross entropy loss function:

[0104]

[0105] In the above formula, is the predicted label, y is the real label, and the predicted value is made as close to the real value as possible through the deviation between the prediction and the real value through reverse gradient operation;

[0106] First calculate the gradient of weight w:

[0107]

[0108] And calculate the gradient of the bias:

[0109]

[0110] In the above formula, is the weight value of the element in the jth row and kth column of the lth layer convolution kernel; C is the obtained cost function, that is, the loss function; is the output value of the previous layer; is the error between the prediction of the previous layer and this layer and the true value; is the bias value corresponding to the jth row of the convolution kernel of the lth layer; is the bias value of the jth row and kth column of the lth layer convolution kernel; is the value output by the jth row of the data after passing through the lth layer of convolution kernel;

[0111] Obtain the corresponding weights and bias parameters through gradient calculation, and then repeat steps 1-4 to obtain the weights that can achieve the minimum loss value to form a trained network;

[0112] Step 5: Get the recognition result and the category with the highest probability:

[0113] Use untrained data, process the data format into the same format as the training data, and directly input it into the trained network to obtain the output probability vector [β 1 ',β 2 ',...,β n '], take the maximum value of the probability as the recognition result, and obtain the final result of the network's recognition of this data.

[0114] Example 1: The method of this example is mainly implemented by python, and the main libraries used are torch (deep learning library), numpy (scientific mathematical operation library) and matplotlib (mainly used for drawing). The following are the specific implementation steps:

[0115] The data is collected on-site, with Wuhan as the receiving point and Huizhou, Guiyang and Guilin as the sending points. The corresponding signals are received through the ionosphere and then identified. Figure 4 —9 are examples of some data collected in Guilin, Guiyang and Huizhou, where red is the I-channel signal and blue is the Q-channel signal.

[0116] First, the data set is organized. The dimension of the collected data is channel = 2, and the shape is (2, 30000), that is, the length of the time series of I and Q is 30000 points. All signals are combined, of which Huizhou data is 1333, Guilin data is 1028, and Guiyang data is 1155. The data is integrated into a three-dimensional shape (1333+1028+1155, 2, 30000) = (3516, 2, 30000) to form a data set.

[0117] Label the data and set the labels in the form of one-hot encoding:

[0118] y label =[0,0,...,1 (i) ,...,0]

[0119] It can be seen that when the data is the i-th device, the i-th column is marked as 1, and the rest are 0. The total number of columns is the total number of device types in the data. The encoded labels are then integrated into three-dimensional label data (3516, 1, 3), where 3516 represents the total number of labels; (1, 3) means that the label value is a one-hot encoding of 1 row and 3 columns.

[0120] The data is randomly extracted and shuffled to ensure the randomness of the data and the random experiment used is not affected by the categories, but only focuses on the specific values ​​within.

[0121] Divide the training set, validation set, and test set according to the ratio. Divide the training set, validation set, and test set according to the ratio of 8:1:1. The training set is used to update the network parameters; the validation set is used to select the optimal network; and the test set is used to test the overall situation of the network.

[0122] Set the basic network parameters. The network loss function is set to the cross entropy loss function, and the initial learning rate is 0.0001 as the training update:

[0123] w n+1 =w n -lr·▽

[0124] In the above formula, w n+1 is the weight of n+1 layer, w n is the weight of the n-layer, lr is the learning rate, and ▽ is the gradient after calculation by the loss function. Fig.11 It is the loss function change curve of the training set and the validation set;

[0125] Set up batches for training and save the model. Divide the data into batches of 32 data per batch for training, ensuring that the graphics card memory can accommodate the corresponding number, and then set the number of training rounds to train the network. After each round of training, use the validation set to verify the network and obtain the recognition rate to ensure that the network can be found and stopped in time when it is overfitting, and finally obtain the optimal network for corresponding storage.

[0126] Perform data testing. Input the test set directly into the network according to the structure of the training set without training, label the output one-hot encoding, and calculate the recognition accuracy accordingly:

[0127]

[0128] In the above formula, Acc is the recognition accuracy, Num AccTo identify the correct number of samples, Num is the number of samples in the test set. This is the end of the experiment.

[0129] Fig.12 This is a diagram of the confusion matrix of the validation set after training; Fig.13 This is a diagram of the confusion matrix after testing with the test set. The recognition effect is 92%.

[0130] In summary, most of the traditional shortwave signal recognition methods can only achieve a recognition accuracy of about 50%-60%. After using ionospheric parameter compensation and then performing deep learning training, the recognition effect will tend to improve with the increase of ionospheric parameters, and eventually reach a recognition accuracy of more than 90%.

Claims

1. A deep learning shortwave signal recognition method based on ionospheric parameter compensation, characterized in that: The steps include: Step 1, construct the overall neural network: First, the Transformer neural network is used to build an ionospheric parameter compensation network. Then, a complex neural network is used to associate the corresponding features of the I and Q signals. An LSTM neural network is used to analyze the contextual association of the I and Q time series. Finally, a fully connected layer is used to identify and classify the extracted high-dimensional features. Step 2: Process the data: Normalize the data to complex numbers: In the above formula, real(x) represents the real part and img(x) represents the imaginary part; Step 3, add ionospheric parameters and prior knowledge: The detected ionospheric parameters are smoothed by curve fitting to obtain a polynomial to characterize the changes of ionospheric parameters on the day: Variable=∑a i x i +b,i=1,2,...,n In the above formula, a is the polynomial coefficient and b is the polynomial constant; For ionospheric parameter fitting, the variance λ of the fitting polynomial var is less than the measurement threshold α, Then the ionospheric parameters, the collected real data and the ideal data are input into the Transformer neural network, using the multi-head attention mechanism in the Transformer neural network: V (Q,K,V) =X·W (Q,K,V) Multiplying the data X by the weight W generates the query Q, key K and value V, which are then transformed into a new matrix Z by the following formula: In the above formula, d k Represents the dimension of the key value K; Step 4: Perform forward gradient calculation and reverse gradient derivation to update the parameters: The data passes through the network and first undergoes a linear transformation of the matrix: z=w T x+b a=σ(z) In the above formula, w is the weight matrix, b is the bias, and σ is the activation function; Then use the cross entropy loss function: In the above formula, is the predicted label, y is the real label, and the predicted value is brought close to the real value through the deviation between the prediction and the real value through reverse gradient operation; First calculate the gradient of weight w: And calculate the gradient of the bias: In the above formula, is the element weight value of the jth row and kth column of the lth layer convolution kernel; C is the obtained cost function, is the output value of the previous layer; is the error between the prediction of the previous layer and this layer and the true value; is the bias value corresponding to the jth row of the convolution kernel of the lth layer; is the bias value of the jth row and kth column of the lth layer convolution kernel; is the value output by the jth row of the data after passing through the lth layer of convolution kernel; Obtain the corresponding weights and bias parameters through gradient calculation, and then repeat steps 1-4 to obtain the weights that can achieve the minimum loss value to form a trained network; Step 5: Get the recognition result and the category with the highest probability: Use untrained data, process the data format into the same format as the training data, and directly input it into the trained network to obtain the output probability vector [β1',β2',...,β n '], take the maximum value of the probability as the recognition result, and obtain the final result of the network's recognition of this data.

2. The deep learning shortwave signal recognition method based on ionospheric parameter compensation according to claim 1 is characterized in that: In step 1, the network structure contains 6 layers of convolutional modules, each of which includes a complex convolutional layer, a batch normalization layer, and an activation function. The formula for complex convolution operation is as follows: W*h=(A*xB*y)+i(B*x+A*y) First, the complex convolution kernel convolves the complex filter matrix W = A + iB with the complex vector h = x + iy. The operation of complex numbers is simulated by using real numbers. In the formula, A and B are real matrices, x and y are real vectors, the convolution operator is distributed, and the filter W convolves the vector h. The formula for batch normalization operation is as follows: In the batch normalization layer, x max Represents the largest number in the sequence, x min Represents the smallest number in the sequence; The formula for the activation function is as follows: Finally, after the activation function layer, the activation function only uses the values ​​of the data that are positive, and all the negative values ​​of the data are taken as 0.

Citation Information

Patent Citations

  • Small sample radio signal enhancement identification method based on ACGAN

    CN110598530A

  • Electrocardiosignal identification and classification method based on multi-cascade deep neural network

    CN113901893A

  • Time sequence prediction method for total electron content of ionized layer

    CN117273223A

  • Full-band shortwave signal detection and identification method and application

    CN117675468A

  • Traffic sign identification method and system based on model fine tuning

    CN117953467A