A QDPSK differential demodulation method based on LSTM

By introducing a bidirectional LSTM network into the QPSK modem, combined with the fully connected Dense layer and batch normalization layer, the reverse working problem of the DNN network in carrier extraction and the lack of anti-interference performance are solved, and more efficient differential demodulation and anti-interference are achieved. performance, improving the symbol error rate performance of the communication system.

CN115643142BInactive Publication Date: 2024-10-22HARBIN INST OF TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211225882.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The DNN-based QPSK end-to-end modem has a reverse working problem during carrier extraction, and its baseband simulation test lacks anti-interference performance testing, cannot effectively extract the correlation between symbols in differential coding, and has not fully affected the interference consider.

Method used

The bidirectional LSTM network is used as the main structure of the differential demodulator, combined with the fully connected Dense layer and the batch normalization layer, to design a QDPSK differential demodulator with no interference in the baseband and interference in the bandpass. Through end-to-end training and super-parameter optimization, the QDPSK differential demodulator is improved. Symbol error rate performance and anti-interference ability tested under bandpass conditions.

Benefits of technology

It effectively solves the problem that the DNN network cannot perform differential decoding, improves the accuracy of carrier extraction, significantly improves the anti-interference performance under bandpass conditions, reduces the symbol error rate, and achieves better communication system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115643142B_ABST
    Figure CN115643142B_ABST
Patent Text Reader

Abstract

The present invention provides a LSTM-based QDPSK differential demodulation method, which relates to the field of electronics and communication technology. The present invention utilizes the memory function of the LSTM network to solve the problem that the DNN network cannot perform differential decoding. The QDPSK differential modulation and demodulation method can effectively solve the reverse working problem of the DNN-based QPSK demodulator during carrier extraction. At the same time, the present invention not only performs simulation under baseband, but also performs design when interference exists under passband, and tests the anti-interference situation of the neural network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of electronics and communication technology, and in particular to a QDPSK differential demodulation method based on LSTM. Background Art

[0002] Modulation and demodulation technology is a very important component in the communication system. With the development of digital communication technology, digital modulation and demodulation technology is widely used in today's communication systems because of its excellent anti-noise performance, anti-interference performance and excellent confidentiality performance. Among them, PSK modulation has the advantages of high spectrum utilization, low channel sensitivity and low symbol error rate. Therefore, PSK modulation is often used in today's communication systems. For MPSK, quaternary phase shift keying, namely QPSK, is the most classic. The improved QDPSK differential modulation and demodulation method based on QPSK can well solve the reverse working problem of QPSK during demodulation, so it is widely used in communication systems.

[0003] The generation of QDPSK modulated signal is similar to QPSK. First, the code element to be transmitted is differentially encoded according to the differential encoding rule, and then QPSK modulation is performed to generate the QDPSK modulated signal. There are two ways to demodulate QDPSK. One is to coherently demodulate the QDPSK signal based on its similarity to the QPSK signal, and then perform an inverse code transformation on the relative code to obtain the absolute code to complete the demodulation; the other is to use two 2DPSK differential coherent branches for demodulation. Although a differential decoder is not required, it is at the expense of the bit error rate.

[0004] With the development of deep learning technology, the application of deep learning to the physical layer of communication has also achieved many results. The end-to-end modem uses the design idea of ​​the autoencoder to replace the modulator and demodulator with DNN networks respectively, and connects them through the AWGN channel for end-to-end training. End-to-end training makes the design of the entire modulation system tend to be optimized. At the same time, the data-driven design process can greatly reduce the complexity of mathematical model establishment. At the same time, the constellation diagram modulated by the modulator trained under different signal-to-noise ratio conditions will undergo certain changes to adapt to the characteristics of the channel, which also reflects that deep learning has a certain adaptability to communication systems.

[0005] The defects of the existing DNN-based QPSK end-to-end modulation and demodulation technology are as follows:

[0006] 1. Using neural networks instead of traditional modems still has the problem of carrier phase mismatch during carrier extraction, and directional working problems still occur during QPSK signal demodulation.

[0007] 2. Ordinary DNN networks do not have time memory and cannot extract the correlation between adjacent code elements before and after the differential coding part in differential modulation.

[0008] 3. Training and testing at the baseband has certain limitations, and does not consider the impact of interference on the neural network. Summary of the invention

[0009] In order to solve the problem that the end-to-end QPSK modem based on DNN works in reverse during demodulation and the problem that the simulation test under baseband lacks anti-interference performance test, the present invention proposes a QDPSK differential demodulation method based on LSTM. The present invention is mainly divided into two parts: the design of the QDPSK differential demodulator based on LSTM when there is no interference under baseband and the design of the QDPSK differential demodulator based on LSTM when there is interference under passband.

[0010] The present invention provides a QDPSK differential demodulation method based on LSTM, and the specific scheme is as follows:

[0011] A QDPSK differential demodulation method based on LSTM comprises the following steps:

[0012] Step 1: Construct a QDPSK modulator based on deep learning. The QDPSK modulator is designed to combine traditional differential coding with a DNN-based QPSK modulator. The DNN QPSK modulator adopts an end-to-end autoencoder. Two DNN neural networks are connected through an AWGN channel and trained end-to-end. The obtained DNN modulator is connected to a differential encoder to form a QDPSK modulator.

[0013] Step 2: Construct a QDPSK differential demodulator based on LSTM. Select bidirectional LSTM as the main structure of the differential demodulator. The QDPSK differential demodulator mainly includes a bidirectional LSTM layer, a fully connected Dense layer, and a batch normalization BN layer. The bidirectional LSTM layer is mainly used to learn the correlation between the code elements before and after differential encoding and perform differential decoding. The Dense layer is used to calculate and judge the output to complete the demodulation work. The BN layer concentrates the data within a specified range without changing the data distribution to prevent overfitting and speed up the training.

[0014] Step 3: Construct the data set for training and testing;

[0015] Step 4: Set simulation parameters for training; select a suitable signal-to-noise ratio, process the data set into different signal-to-noise ratios, input them into the network for training, and perform hyperparameter optimization to obtain differential demodulator models under different signal-to-noise ratio conditions;

[0016] Step 5: Test the performance of the differential demodulator and use the test set to test the symbol error rate performance of different models under different signal-to-noise ratios.

[0017] Furthermore, the step 1 is specifically as follows:

[0018] The original information sequence s is converted into a relative code sequence t after being encoded by the differential encoder. The sequence t is modulated by the DNN network and mapped into the transmission sequence x, while the DNN network is converted into an unknown mapping function:

[0019] x=h(t) (1)

[0020] Accepts a sequence y as:

[0021] y=x+n (2)

[0022]

[0023] Where n is Gaussian white noise with mean 0 and variance σ 2 The complex Gaussian distribution of

[0024] The LSTM differential demodulator network is converted into an unknown mapping function g, including the demodulation and differential decoding process:

[0025]

[0026] The training process is reconstructed as a process of minimizing the loss function:

[0027]

[0028] Among them, L is the loss function, and the mean square error function MSE, which is smooth and differentiable and conducive to gradient descent, is selected as the loss function.

[0029] Furthermore, a fully connected neural network with L layers can be described as a tensor with input x0 to output x L The tensor mapping f(x0,θ) of , the iterative process of each layer is:

[0030] x l =f l (x l-1 ,θ l ), l=1,...,L (6)

[0031] f l (x l-1 ,θ l )=σ(W l x l-1 +b l ) (7)

[0032] where fl (x l-1 ,θ l ) is the mapping of the lth layer, and the mapping result depends on the input of the previous layer and the network parameters θ of this layer l , θ={θ1,θ2,...,θ L} is the set of all network parameters obtained by model training, W l and b l The parameters are θ l = {W l ,b l}, σ(·) is called the activation function, such as ReLU, Sigmoid, Tanh function, etc., which introduces nonlinearity to the network; during the training process, the input and output vectors i=1,...,S to establish a loss minimization optimization problem, and minimize the loss function l(u,v) by adjusting the parameter θ:

[0033]

[0034] in, Represents the expected output value, and the modem expects the demodulated information to be consistent with the input information, minimizing the symbol error rate. Therefore, the expected output value is equal to the input value, that is, x L.i Indicates the actual output value.

[0035] Furthermore, the step three is specifically as follows:

[0036] Generate a series of baseband symbols to be sent, perform differential encoding according to a differential encoding rule of QDPSK, and process the series of symbols after differential encoding into a two-dimensional tensor, where the second dimension inputdim represents the number of bits contained in a symbol. Since the QDPSK modulation order is 4, the number of bits contained in each symbol is 2, and the second dimension inputdim is 2; the first dimension batchsize will be adjusted according to the input data, and the data will be processed into a two-dimensional tensor data set of (batchsize, 2);

[0037] The training set is input into the trained DNN-based QPSK modulator for modulation, and Gaussian white noise is added; the symbol sequence through the AWGN channel is [y 11 ,y 12 ,y 21 ,y 22 ,y 31 ,y 32 ,…,y n1 ,y n2], the noisy QDPSK modulated signal is processed into a three-dimensional tensor; the second dimension is the memory depth timesteps, the memory depth needs to be set greater than or equal to 2, and timesteps is set to 2; the third dimension inputdim is set to the number of bits per code element is 2, and the first dimension batchsize is set according to the amount of data. The received differential modulation signal sequence is processed into a three-dimensional tensor of (batchsize, 2, 2) for training and testing.

[0038] Furthermore, by selecting 1×10 6 The code elements are used as training sets and test sets to find the decision demodulation and differential decoding rules, reducing the hardware cost and training time cost.

[0039] Furthermore, the step five is specifically as follows:

[0040] Step S1: constructing a LSTM-based QDPSK differential demodulator with interference in the passband; the differential demodulator also uses a bidirectional LSTM network as the main structure, and also includes a fully connected Dense layer, a BN layer, and a Dropout layer;

[0041] Step S2: Construct training and test data sets, perform QDPSK modulation on the baseband signal to be transmitted after differential encoding and multiplication with the carrier, add interference to the modulated signal and pass it through the AWGN channel, sample the received signal to obtain a received modulated signal sequence, and assume that the number of sampling points for each symbol is m, then the third dimension inputdim of the data set is m, the second dimension timestep is the differential coding memory depth 2, the first dimension batchsize is adjusted according to the amount of data, and the received sequence is processed into a three-dimensional tensor (batchsize, 2, m) that can be processed by the LSTM network;

[0042] Step S3: setting simulation parameters for training, selecting different interference modes, specifying interference parameters and signal-to-noise ratios, and training different LSTM differential demodulators;

[0043] Step S4: testing the performance of the differential demodulator; using the test set to test the symbol error rate performance of the trained differential demodulator, and comparing it with the traditional method.

[0044] Beneficial effects:

[0045] The present invention utilizes the memory function of the LSTM network to solve the problem that the DNN network cannot perform differential decoding. The QDPSK differential modulation and demodulation method can effectively solve the reverse working problem of the DNN-based QPSK demodulator when extracting the carrier. At the same time, the present invention not only simulates under baseband, but also designs when there is interference under passband, and tests the anti-interference of the neural network. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 Design a block diagram for a LSTM-based baseband interference-free differential demodulator;

[0047] Figure 2 Design a detailed block diagram for the LSTM demodulator;

[0048] Figure 3 Construct a means graph for the dataset;

[0049] Figure 4 This is a comparison chart of symbol error rate curves of different models;

[0050] Figure 5 This is the block diagram of the bandpass interference LSTM differential demodulator;

[0051] Figure 6 is the symbol error rate curve of the model under the condition of swept frequency interference;

[0052] Figure 7 is the symbol error rate curve of the model under pulse interference conditions;

[0053] Figure 8 This is the symbol error rate curve of the model under single-tone interference conditions. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Combination Figures 1 to 8 As shown, the present invention provides a QDPSK differential demodulation method based on LSTM:

[0056] A QDPSK differential demodulation method based on LSTM comprises the following steps:

[0057] Step 1: Construct a QDPSK modulator based on deep learning. The QDPSK modulator is designed to combine traditional differential coding with a DNN-based QPSK modulator. The DNN QPSK modulator adopts an end-to-end autoencoder. Two DNN neural networks are connected through an AWGN channel and trained end-to-end. The obtained DNN modulator is connected to a differential encoder to form a QDPSK modulator.

[0058] The step 1 is specifically as follows:

[0059] The original information sequence s is converted into a relative code sequence t after being encoded by the differential encoder. The sequence t is modulated by the DNN network and mapped into the transmission sequence x, while the DNN network is converted into an unknown mapping function:

[0060] x=h(t) (1)

[0061] Accepts a sequence y as:

[0062] y=x+n (2)

[0063]

[0064] Where n is Gaussian white noise with mean 0 and variance σ 2 The complex Gaussian distribution of

[0065] The LSTM differential demodulator network is converted into an unknown mapping function g, including the demodulation and differential decoding process:

[0066]

[0067] The training process is reconstructed as a process of minimizing the loss function:

[0068]

[0069] Among them, L is the loss function, and the mean square error function MSE, which is smooth and differentiable and conducive to gradient descent, is selected as the loss function.

[0070] A fully connected neural network with L layers can be described as a tensor with input x0 to output x L The tensor mapping f(x0,θ) of , the iterative process of each layer is:

[0071] x l =f l (x l-1 ,θ l ), l=1,...,L (6)

[0072] f l (x l-1 ,θ l )=σ(W l x l-1 +b l ) (7)

[0073] where f l (x l-1 ,θ l ) is the mapping of the lth layer, and the mapping result depends on the input of the previous layer and the network parameters θ of this layer l , θ={θ1,θ2,...,θ L} is the set of all network parameters obtained by model training, W l and b l The parameters are θ l = {W l ,b l}, σ(·) is called the activation function, such as ReLU, Sigmoid, Tanh function, etc., which introduces nonlinearity to the network; during the training process, the input and output vectors i=1,...,S to establish a loss minimization optimization problem, and minimize the loss function l(u,v) by adjusting the parameter θ:

[0074]

[0075] in, Represents the expected output value, and the modem expects the demodulated information to be consistent with the input information, minimizing the symbol error rate. Therefore, the expected output value is equal to the input value, that is, x L.i Indicates the actual output value.

[0076] Step 2: Construct a QDPSK differential demodulator based on LSTM. Select bidirectional LSTM as the main structure of the differential demodulator. The QDPSK differential demodulator mainly includes a bidirectional LSTM layer, a fully connected Dense layer, and a batch normalization BN layer. The bidirectional LSTM layer is mainly used to learn the correlation between the code elements before and after differential encoding and perform differential decoding. The Dense layer is used to calculate and judge the output to complete the demodulation work. The BN layer concentrates the data within a specified range without changing the data distribution to prevent overfitting and speed up the training.

[0077] Step 3: Construct the data set for training and testing;

[0078] The step three is specifically as follows:

[0079] Generate a series of baseband symbols to be sent, perform differential encoding according to a differential encoding rule of QDPSK, and process the series of symbols after differential encoding into a two-dimensional tensor, where the second dimension inputdim represents the number of bits contained in a symbol. Since the QDPSK modulation order is 4, the number of bits contained in each symbol is 2, and the second dimension inputdim is 2; the first dimension batchsize will be adjusted according to the input data, and the data will be processed into a two-dimensional tensor data set of (batchsize, 2);

[0080] The training set is input into the trained DNN-based QPSK modulator for modulation, and Gaussian white noise is added; the symbol sequence through the AWGN channel is [y 11 ,y 12 ,y21 ,y 22 ,y 31 ,y 32 ,…,y n1 ,y n2 ], the noisy QDPSK modulated signal is processed into a three-dimensional tensor; the second dimension is the memory depth timesteps, the memory depth needs to be set greater than or equal to 2, and timesteps is set to 2; the third dimension inputdim is set to the number of bits per code element is 2, and the first dimension batchsize is set according to the amount of data. The received differential modulation signal sequence is processed into a three-dimensional tensor of (batchsize, 2, 2) for training and testing.

[0081] By selecting 1×10 6 The code elements are used as training sets and test sets to find the decision demodulation and differential decoding rules, reducing the hardware cost and training time cost.

[0082] Step 4: Set simulation parameters for training; select a suitable signal-to-noise ratio, process the data set into different signal-to-noise ratios, input them into the network for training, and perform hyperparameter optimization to obtain differential demodulator models under different signal-to-noise ratio conditions;

[0083] Step 5: Test the performance of the differential demodulator and use the test set to test the symbol error rate performance of different models under different signal-to-noise ratios.

[0084] The step five is specifically as follows:

[0085] Step S1: constructing a LSTM-based QDPSK differential demodulator with interference in the passband; the differential demodulator also uses a bidirectional LSTM network as the main structure, and also includes a fully connected Dense layer, a BN layer, and a Dropout layer;

[0086] Step S2: Construct training and test data sets, perform QDPSK modulation on the baseband signal to be transmitted after differential encoding and multiplication with the carrier, add interference to the modulated signal and pass it through the AWGN channel, sample the received signal to obtain a received modulated signal sequence, and assume that the number of sampling points for each symbol is m, then the third dimension inputdim of the data set is m, the second dimension timestep is the differential coding memory depth 2, the first dimension batchsize is adjusted according to the amount of data, and the received sequence is processed into a three-dimensional tensor (batchsize, 2, m) that can be processed by the LSTM network;

[0087] Step S3: setting simulation parameters for training, selecting different interference modes, specifying interference parameters and signal-to-noise ratios, and training different LSTM differential demodulators;

[0088] Step S4: testing the performance of the differential demodulator; using the test set to test the symbol error rate performance of the trained differential demodulator, and comparing it with the traditional method. Specific embodiment 2:

[0090] Part 1: Design of LSTM-based QDPSK differential demodulator without interference at baseband.

[0091] Due to the end-to-end modem design, the training is based on the network predicting that the demodulated information is as close to the actual information as possible, that is, the purpose of training is to reduce the bit error rate. When differential coding with event correlation is used, since the error of the current codeword will affect the correctness of the next codeword, it will inevitably lead to an increase in the symbol error rate, which is contrary to the end-to-end training purpose. Therefore, the present invention does not use an end-to-end differential modem design.

[0092] The structure of differential modulation and training is as follows Figure 1 As shown. In order to replace the modulator with a neural network, the present invention first trains an end-to-end QPSK modem based on DNN, removes the neural network of the QPSK modulator and combines it with a traditional differential encoder to form a differential neural network modulator, and replaces the demodulation part and differential decoding part in the traditional differential demodulation with an LSTM network. The LSTM differential demodulator and the designed differential modulator are connected through an AWGN channel to form a complete differential modulation and demodulation system.

[0093] The original information sequence s is converted into a relative code sequence t after being encoded by a differential encoder. The sequence t is modulated by the DNN network and mapped to the transmission sequence x. The DNN network can be regarded as an unknown mapping function:

[0094] x=h(t) (1)

[0095] Accepts a sequence y as:

[0096] y=x+n (2)

[0097]

[0098] n is Gaussian white noise with mean 0 and variance σ 2 The LSTM differential demodulator network can also be regarded as an unknown mapping function g, which includes the demodulation and differential decoding process:

[0099]

[0100] The training process can be reconstructed as a process of minimizing the loss function:

[0101]

[0102] Wherein L is the loss function. In the present invention, a mean square error function (MSE) which is smooth and differentiable and is conducive to gradient descent is selected as the loss function.

[0103] The DNN-based QPSK modem training schematic is shown below: Figure 2 As shown. According to the design idea of ​​the autoencoder, the modulator and demodulator of QPSK are replaced by two fully connected neural networks respectively, and connected through the AWGN channel. Generate the transmitted data sequence and process it into a two-dimensional tensor of the training set. Through end-to-end training, adjust the network parameters to make the modem network reach the optimal state. The fully connected neural network consists of a Dense layer and a batch normalization layer. The Dense layer is the main structure and can learn the optimal mapping law of the modulation method under the AWGN channel. The BN layer is mainly used to speed up the network convergence and prevent overfitting.

[0104] A fully connected neural network with L layers can be described as a tensor with input x0 to output x L The tensor mapping f(x0,θ) of , the iterative process of each layer is:

[0105] x l =f l (x l-1 ,θ l ), l=1,...,L (6)

[0106] f l (x l-1 ,θ l )=σ(W l x l-1 +b l ) (7)

[0107] where f l (x l-1 ,θ l ) is the mapping of the lth layer, and the mapping result depends on the input of the previous layer and the network parameters θ of this layer l , θ={θ1,θ2,...,θ L} is the set of all network parameters obtained by model training, θ l = {W l ,b l}, σ(·) is called the activation function, such as ReLU, Sigmoid, Tanh function, etc., which introduces nonlinearity to the network. During the training process, the input and output vectors i=1,...,S to establish a loss minimization optimization problem, and minimize the loss function l(u,v) by adjusting the parameter θ:

[0108]

[0109] In formula (8) Represents the expected output value, and the modem expects the demodulated information to be consistent with the input information, minimizing the symbol error rate. Therefore, the expected output value is equal to the input value, that is, x L.i Indicates the actual output value.

[0110] The data set is constructed as Figure 3 As shown. Since the signal received by the demodulator is a serial sequence with noise, the input signal needs to be processed into a three-dimensional tensor based on the time series prediction samples. Since the differential coding in traditional QDPSK uses the relationship between the codewords at the current moment and the previous moment, the memory depth of the LSTM network needs to be greater than or equal to 2 to learn the correlation. In order to reduce the complexity of the data set and the training cost, the second dimension Timesteps is set to 2. The QDPSK modulation order is 4, and each codeword contains 2 bits of information. At the same time, the scheme is simulated at the baseband, so the third dimension Inputdim is set to 2, and the first dimension can be adjusted with the size of the data input.

[0111] The structural parameters of the constructed QDPSK differential modulation and demodulation system are shown in Table 1.

[0112] Table 1 Differential demodulation system parameter structure table

[0113]

[0114] The detailed LSTM differential demodulator layer dimensions are shown in Table 2.

[0115] Table 2 LSTM differential demodulator layer output dimensions

[0116]

[0117] The training signal-to-noise ratio selected in the present invention is 2dB, 4dB, 6dB, 8dB, and 10dB. A training signal-to-noise ratio that is too high or too low will affect the performance of the neural network, because when the training signal-to-noise ratio is too low, the power of the irregular Gaussian white noise is very large, and the neural network is difficult to extract the characteristics of differential demodulation, which will affect the demodulation performance of the demodulator under high signal-to-noise ratio conditions. When the signal-to-noise ratio is too high, since the noise power is very small, the trained network will be highly sensitive to noise and have weak anti-noise performance, so it is necessary to select a suitable signal-to-noise ratio for training.

[0118] In order to meet the requirement of 10 -5 ~10 -6 The bit error rate is 1×10 6The code elements are used as training sets and test sets, which can not only effectively find the rules of decision demodulation and differential decoding, but also reduce the hardware cost and training time cost.

[0119] LSTM-based QDPSK trained at SNR of 2dB, 4dB, 6dB, 8dB, and 10dB

[0120] The comparison of the theoretical symbol error rate between the differential demodulator and the traditional method is as follows: Figure 4 As shown in the figure. From the results in the figure, it can be seen that the LSTM network can perform decision demodulation and differential decoding based on its own memory function. Among these signal-to-noise ratios, different choices will result in slight differences in the symbol error rate obtained by the trained network test. However, it can be seen from the figure that the symbol error rate performance of several models is very close to the theoretical value, and the performance of the trained differential demodulator network is very impressive. At the same time, because the differential modulator part is designed using the DNN network, it can be seen that the differential demodulator of the LSTM network can be well combined with the DNN modulator. It proves that the neural network has the ability to replace the traditional QDPSK differential modulation and demodulation method.

[0121] Part 2: Design of LSTM-based QDPSK differential demodulator in the presence of interference in the passband.

[0122] The design schematic diagram of this partial differential demodulator is shown in Figure 5 As shown. In order to improve the anti-interference performance of the LSTM QDPSK differential demodulator, the present invention will add linear frequency sweep interference, pulse interference, and single-tone interference for training. In order to facilitate the addition of interference and fit the actual communication situation, the differentially encoded signal is multiplied by the carrier, and simulation and testing are performed under bandpass conditions.

[0123] The differential demodulator of the LSTM under the bandpass here also uses the bidirectional LSTM layer as the main structure to learn the relationship between the code elements before and after the differential encoding. In addition, the Dense layer is used for demodulation judgment, and the BN layer is used to speed up the training speed and prevent gradient explosion or gradient disappearance.

[0124] The simulation parameters set by the present invention are: information rate is 200Kbps, carrier frequency is 1MHz, sampling frequency is 5MHz, transmission power is 1W, and a total of 1×10 5 In order to simplify the simulation process and reduce the amount of data, this scheme does not add a pulse shaping filter, does not use too high a carrier frequency and sampling frequency, omits the intermediate frequency conversion process, and focuses on the impact of interference on the neural network.

[0125] The expression of linear swept frequency interference is:

[0126]

[0127] Set the interference signal center frequency to 1.05MHz, sweep width to 1.8MHz, that is, the sweep range is 200KHz~2MHz, the sweep slope is 1.8KHz / μs, and the sweep signal amplitude is 1 level. Since the center frequency of the modulated signal is 1MHz and the main lobe width is 200KHz, the modulated signal bandwidth will be interfered.

[0128] The expression of pulse interference is:

[0129] J(t)=Aδ(t-iT) (10)

[0130] It is set to send a total of 2000 cycles of pulse interference within the signal transmission time, the pulse width is 1 / 100 of the cycle, and the pulse peak is 10 levels. Because the frequency band of the pulse interference is very wide, the interference will fall within the bandwidth of the modulated signal.

[0131] The expression of single-tone interference is:

[0132]

[0133] The interference frequency of the single-tone interference is set to 1MHz, the interference power is set to 1W, and the initial phase is set to a random phase uniformly distributed in [0,2π].

[0134] The specific network parameters are shown in Table 3:

[0135] Table 3 Bandpass with interference time difference demodulator

[0136]

[0137] According to the parameters set in this scheme, each code element will be sampled 100 points, so the third dimension Inputdim in the specific implementation scheme 4 needs to be changed to 100. Then the three-dimensional tensor obtained after processing is (batchsize, 2, 50). Because the number of sampling points is large under the bandpass, the generated data set is large, which is prone to overfitting. Therefore, when adding different interferences, the Dropout layer will be added according to the specific situation during training.

[0138] When linear frequency sweep interference is added, the symbol error rate curve of the LSTM differential demodulator is as follows: Figure 6As shown in the figure. When the frequency of the swept frequency interference enters the signal bandwidth, the signal spectrum will be disturbed by the interference signal, and the interference signal energy will be superimposed on the useful signal, which will cause the signal-to-noise ratio of the useful signal to decrease, and the symbol error rate will increase accordingly. Because the main function of the designed differential demodulator is to determine demodulation and differential decoding, and no anti-interference mechanism is generated, the differential demodulator can only achieve the performance of the traditional differential method, but will not exceed it. As can be seen from the figure, when the swept frequency interference is added, the trained LSTM differential demodulator can approach the traditional method.

[0139] When pulse interference is added, the symbol error rate curve is compared with Figure 7 As shown in the figure, it can be seen that the symbol error rate of the trained LSTM differential demodulator after demodulation is also close to the performance of the traditional differential demodulator. The neural network does not experience a significant performance drop due to the presence of interference.

[0140] When single-tone interference is added, the symbol error rate curve is compared with Figure 8 As shown in the figure. When demodulating single-tone interference, it is necessary to know the power and initial phase of the interference. The simulation result of the traditional method is the result of adjusting the decision threshold after knowing the accurate interference power and initial phase of the single-tone interference. As can be seen from the figure, the symbol error rate performance of the LSTM differential demodulator is very close to that of the traditional method. Therefore, the LSTM network can accurately obtain the interference power and initial phase of the single-tone interference. In the actual process, the system often cannot accurately identify the parameters of the single-tone interference. Therefore, the LSTM differential demodulator has a relatively good performance for single-tone interference.

[0141] Therefore, under the condition of no baseband interference, the LSTM-based differential demodulator designed by the present invention can achieve the performance of the traditional differential demodulator; when swept frequency interference and pulse interference are added under bandpass, the symbol error rate performance can basically reach the traditional demodulation method; when single-tone interference is added, the LSTM network can relatively well learn the interference power and initial phase of the single-tone interference and perform differential demodulation, and has good symbol error rate performance.

[0142] The above is a detailed introduction to the LSTM-based QDPSK differential demodulation method provided by the present invention. The present invention uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A QDPSK differential demodulation method based on LSTM, characterized in that: The following steps are involved: Step 1: Construct a QDPSK modulator based on deep learning. The QDPSK modulator is designed as a combination of a differential encoder and a DNN-based QPSK modulator. The DNN QPSK modulator adopts an end-to-end autoencoder. Two DNN neural networks are connected through an AWGN channel and trained end-to-end. The obtained DNN modulator is connected to the differential encoder to form a QDPSK modulator. The step 1 is specifically as follows: The original information sequence s is converted into a relative code sequence t after being encoded by the differential encoder. The sequence t is modulated by the DNN network and mapped into the transmission sequence x, while the DNN network is converted into an unknown mapping function: x=h(t)(1) Accepts a sequence y as: y=x+n (2) Where n is Gaussian white noise with mean 0 and variance σ 2 The complex Gaussian distribution of The LSTM differential demodulator network is converted into an unknown mapping function g, including the demodulation and differential decoding process: The training process is reconstructed as a process of minimizing the loss function: Among them, L is the loss function, and the mean square error function MSE, which is smooth and differentiable and conducive to gradient descent, is selected as the loss function; Step 2: Construct a QDPSK differential demodulator based on LSTM. Select bidirectional LSTM as the main structure of the differential demodulator. The QDPSK differential demodulator includes a bidirectional LSTM layer, a fully connected Dense layer, and a batch normalization BN layer. The bidirectional LSTM layer is used to learn the correlation between the code elements before and after differential encoding and perform differential decoding. The Dense layer is used to calculate and judge the output to complete the demodulation work. The BN layer concentrates the data within a specified range without changing the data distribution to prevent overfitting and speed up the training. The step 2 is specifically as follows: A fully connected neural network with L layers can be described as a tensor with input x0 to output x L The tensor mapping f(x0,θ) of , the iterative process of each layer is: x l =f l (x l-1 ,θ l ),l=1,...,L (6) f l (x l-1 ,i l )=σ(W l x l-1 +b l ) (7) where f l (x l-1 ,θ l ) is the mapping of the lth layer, and the mapping result depends on the input of the previous layer and the network parameters θ of this layer l , θ={θ1,θ2,...,θ L } is the set of all network parameters obtained by model training, W l and b l The parameters are θ l = {W l ,b l }, σ(·) is called the activation function, which introduces nonlinearity to the network; during the training process, the input and output vectors To establish a loss minimization optimization problem, minimize the loss function l(u,v) by adjusting the parameter θ: in, Represents the expected output value, and the modem expects the demodulated information to be consistent with the input information, minimizing the symbol error rate. Therefore, the expected output value is equal to the input value, that is, x L.i Indicates the actual output value; Step 3: Construct the data set for training and testing; Step 4: Set simulation parameters for training; select a suitable signal-to-noise ratio, process the data set into different signal-to-noise ratios, input them into the network for training, and perform hyperparameter optimization to obtain a differential demodulator model under different signal-to-noise ratio conditions; the suitable signal-to-noise ratio is 2dB, 4dB, 6dB, 8dB or 10dB; Step 5: Test the performance of the differential demodulator and use the test set to test the symbol error rate performance of different models under different signal-to-noise ratios.

2. The LSTM-based QDPSK differential demodulation method according to claim 1, characterized in that: The step three is specifically as follows: Generate a series of baseband symbols to be sent, perform differential encoding according to a differential encoding rule of QDPSK, and process the series of symbols after differential encoding into a two-dimensional tensor, where the second dimension inputdim represents the number of bits contained in a symbol. Since the QDPSK modulation order is 4, the number of bits contained in each symbol is 2, and the second dimension inputdim is 2; the first dimension batchsize will be adjusted according to the input data, and the data will be processed into a two-dimensional tensor data set of (batchsize, 2); The training set is input into the trained DNN-based QPSK modulator for modulation, and Gaussian white noise is added; the symbol sequence through the AWGN channel is [y 11 ,y 12 ,y 21 ,y 22 ,y 31 ,y 32 ,...,y n1 ,y n2 ], the noisy QDPSK modulated signal is processed into a three-dimensional tensor; the second dimension is the memory depth timesteps, the memory depth needs to be set greater than or equal to 2, and timesteps is set to 2; the third dimension inputdim is set to the number of bits per code element is 2, and the first dimension batchsize is set according to the amount of data. The received differential modulation signal sequence is processed into a three-dimensional tensor of (batchsize, 2, 2) for training and testing.

3. The LSTM-based QDPSK differential demodulation method according to claim 2, characterized in that: By selecting 1×10 6 The code elements are used as training sets and test sets to find the decision demodulation and differential decoding rules, reducing the hardware cost and training time cost.

4. The LSTM-based QDPSK differential demodulation method according to claim 3, characterized in that: The step five is specifically as follows: Step S1: constructing a LSTM-based QDPSK differential demodulator with interference in the passband; the differential demodulator also uses a bidirectional LSTM network as the main structure, and also includes a fully connected Dense layer, a BN layer, and a Dropout layer; Step S2: Construct training and test data sets, perform QDPSK modulation on the baseband signal to be transmitted after differential encoding and multiplication with the carrier, add interference to the modulated signal and pass it through the AWGN channel, sample the received signal to obtain a received modulated signal sequence, and assume that the number of sampling points for each symbol is m, then the third dimension inputdim of the data set is m, the second dimension timestep is the differential coding memory depth 2, the first dimension batchsize is adjusted according to the amount of data, and the received sequence is processed into a three-dimensional tensor (batchsize, 2, m) that can be processed by the LSTM network; Step S3: setting simulation parameters for training, selecting different interference modes, specifying interference parameters and signal-to-noise ratios, and training different LSTM differential demodulators; Step S4: testing the performance of the differential demodulator; using the test set to test the symbol error rate performance of the trained differential demodulator, and comparing it with the traditional method.