Unmanned aerial vehicle radio frequency signal detection method and device based on neural network, and medium

The UAV radio frequency signal detection method based on neural network solves the problem of traditional methods being unable to accurately identify UAVs, achieves efficient identification and differentiation of UAVs, and improves the accuracy and real-time performance of detection.

CN118673374APending Publication Date: 2024-09-20ZHUHAI ZHONGKE HUIZHI TECH CO LTD

Patent Information

Application Number
CN202410508972.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Traditional drone detection methods are susceptible to environmental influences, cannot accurately position and identify drones, and cannot cope with the variability of drone background applications.

Method used

A neural network-based UAV radio frequency signal detection method is adopted. By collecting and preprocessing radio frequency signal data, a neural network model is established for UAV identification, and the feature extraction module, attention mechanism module and feature fusion module are used to characterize the radio frequency signal. Extract and reweight, output drone model and confidence.

Benefits of technology

It improves the real-time and accuracy of drone detection, can identify and distinguish different drone models and interference signals, and enhances the ability to identify drones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673374A
    Figure CN118673374A
Patent Text Reader

Abstract

The invention discloses an unmanned aerial vehicle radio frequency signal detection method and device based on a neural network and a medium. The method comprises the following steps: collecting radio frequency signal data of an unmanned aerial vehicle, and establishing a radio frequency signal database; preprocessing the unmanned aerial vehicle radio frequency signal data to obtain power spectrogram data; and inputting the power spectrogram data into a neural network model, carrying out unmanned aerial vehicle identification training on the neural network model, and carrying out unmanned aerial vehicle identification by using the trained neural network model. According to the method, the state, type, distance, frequency band and other data of the unmanned aerial vehicle are fitted from the radio frequency signal of the unmanned aerial vehicle by establishing the neural network model, and the in-phase component and the orthogonal component of the signal are separated and convolved to reduce the parameter calculation amount. The trained neural network model can accurately match the radio frequency signal features of the unmanned aerial vehicle according to the pre-established database, other interference signals can be identified and distinguished, and the accuracy of unmanned aerial vehicle detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of drone detection technology, and in particular to a method, device and medium for detecting a drone radio frequency signal based on a neural network. Background Art

[0002] With the rapid development of drone technology and the reduction of costs, drones are being used more and more widely, from civil to commercial to military applications. Drones have brought great convenience to photography, logistics, surveillance, agriculture and other fields, but they have also brought new challenges and threats, including privacy violations and security threats, which has prompted the development of technologies to detect and defend against unauthorized or malicious drones.

[0003] Traditional drone detection methods mainly detect drones by acquiring radar echo signals, drone sound signals, and photoelectric signals. However, these methods are often easily affected by the environment and have certain limitations. They cannot cope with the variability of drone background applications and cannot accurately locate and identify drones.

[0004] With the development of technologies such as radio frequency identification (RFID) and radio frequency communication, people have discovered that radio frequency signals have the advantages of being difficult to hide due to their electromagnetic properties, good reliability, and no impact on the environment. They are one of the more ideal signal detection methods in urban environments. Therefore, the problem of drone detection is expected to be solved through radio frequency signals. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a method, device and medium for detecting radio frequency signals of a UAV based on a neural network.

[0006] A first aspect of the present invention provides a method for detecting a UAV radio frequency signal based on a neural network, comprising the following steps:

[0007] Collect UAV RF signal data and establish a RF signal database;

[0008] Preprocessing the UAV radio frequency signal data to obtain power spectrum data;

[0009] Inputting the power spectrum data into a neural network model, and performing drone recognition training on the neural network model;

[0010] Use the trained neural network model for drone identification.

[0011] Furthermore, the drone radio frequency signal data includes radio frequency signal data of different usage backgrounds, different drone models and different drone flight modes.

[0012] Furthermore, the preprocessing of the UAV radio frequency signal data to obtain power spectrum data specifically includes the following steps:

[0013] Annotating the UAV radio frequency signal data to obtain annotated signal data with a plurality of sampling points;

[0014] Short-time Fourier transform is applied to the labeled signal data, and power spectrum data is obtained by windowing.

[0015] Further, the applying short-time Fourier transform to the labeled signal data specifically comprises the following steps:

[0016] Taking integer sampling points as units, establish a Hamming window with a target window length and a target step length;

[0017] Slide the established Hamming window along the time axis of the labeled signal data to obtain multiple time slices;

[0018] Apply short-time Fourier transform to each time slice to obtain the spectrum matrix;

[0019] The frequency spectrum matrix is ​​converted into power spectrum data.

[0020] Furthermore, the window function of the Hamming window is expressed in the following form:

[0021]

[0022] Among them, α represents the gain coefficient, N represents the target window length, and n is each time slice;

[0023] The target step length of the Hamming window is half of the target window length.

[0024] Furthermore, the neural network model includes a feature extraction module, an attention mechanism module and a feature fusion module; the input end of the feature extraction module receives the power spectrum data input, and the output end is connected to the input end of the feature fusion module through the attention mechanism module; the output end of the feature fusion module outputs the recognition result;

[0025] The feature extraction module includes a first convolutional network, a batch normalization layer, a Re lu activation function layer, a channel-by-channel convolutional network, a point-by-point convolutional network, a first branch convolutional block and a second branch convolutional block connected in sequence; the first convolutional network is a two-dimensional convolutional network, which is used to extract features from the power spectrum data; the Re lu activation function layer is used to enhance the feature expression of the feature matrix output by the batch normalization layer; the channel-by-channel convolutional network includes two convolution kernels, which are respectively used to convolve the in-phase component and the orthogonal component in the feature matrix output by the Re lu activation function layer; the point-by-point convolutional network includes a convolution kernel, which is used to fit the convolution result of the channel-by-channel convolutional network; the first branch convolutional block and the second branch convolutional block are used to perform branch convolution on the feature matrix output by the point-by-point convolutional network, and the obtained convolution result is output to the attention mechanism module;

[0026] The attention mechanism module is used to perform feature reweighting on the convolution result output by the feature extraction module, and the obtained weighted feature matrix is ​​output to the feature fusion module;

[0027] The feature fusion module includes a residual module, a third branch convolution block, a fourth branch convolution block, a second convolution network, a batch normalization layer, a Re lu activation function layer, an average pooling layer and a fully connected layer connected in sequence; the residual module is used to perform gradient optimization on the weighted feature matrix output by the attention mechanism module; the third branch convolution block and the fourth branch convolution block are used to perform branch convolution on the gradient optimization result output by the residual module; the Re lu activation function layer is used to enhance the feature expression of the branch convolution result output by the fourth branch convolution block; the average pooling layer is used to perform average pooling calculation on the feature matrix output by the Re lu activation function layer; the fully connected layer is used to perform softmax calculation on the feature matrix output by the average pooling layer to obtain the probability distribution characterizing the drone model and confidence, which is output as the drone recognition result.

[0028] Furthermore, the depthwise separable convolution operation specifically includes channel-by-channel convolution and point-by-point convolution; the weight vector for feature reweighting by the attention mechanism module is obtained by the following steps:

[0029] Obtain multiple feature vectors for training to form a feature vector group;

[0030] Performing an average pooling operation on the feature vector group to obtain a channel vector;

[0031] The channel vector is compressed and restored; and a compressed representation of the inter-channel dependency relationship in the channel vector is learned to obtain a weight vector.

[0032] Furthermore, the drone recognition result output by the neural network model includes a drone model and a confidence level; the drone model represents basic information of the drone, and the confidence level represents the accuracy of the drone recognition result.

[0033] A second aspect of the present invention provides an electronic device, comprising a processor and a memory;

[0034] The memory is used to store programs;

[0035] The processor executes the program to implement a method for detecting UAV radio frequency signals based on a neural network.

[0036] A third aspect of the present invention provides a computer-readable storage medium storing a program, which is executed by a processor to implement a method for detecting unmanned aerial vehicle radio frequency signals based on a neural network.

[0037] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.

[0038] The embodiments of the present invention have the following beneficial effects: The present invention provides a method, device and medium for detecting UAV radio frequency signals based on a neural network. By establishing a neural network model, the state, type, distance, frequency band and other data of the UAV are fitted from the UAV radio frequency signal. The in-phase component and the orthogonal component of the signal are separated and convolved to reduce the amount of parameter calculation. By fitting the UAV radio frequency signal through the method of the present invention, the real-time and accuracy of UAV detection can be improved. The trained neural network model of the present invention can accurately match the radio frequency signal characteristics of the UAV according to the pre-established database, and can identify and distinguish other interference signals, thereby improving the accuracy of UAV detection.

[0039] Methods using deep learning can be adjusted and customized according to specific application contexts and task requirements, and are highly scalable and flexible.

[0040] Additional aspects and advantages of the present invention will be given in part in the following description, and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 It is a flowchart of the main steps of the UAV radio frequency signal detection method based on neural network of the present invention;

[0043] Figure 2 It is a picture of the background radio frequency signal of the UAV flight collected by the present invention;

[0044] Figure 3 This is a radio frequency signal diagram of the UAV startup state collected by the present invention;

[0045] Figure 4 This is a radio frequency signal diagram of a drone in hovering state collected by the present invention;

[0046] Figure 5 It is a radio frequency signal diagram of the UAV flight status collected by the present invention;

[0047] Figure 6 It is a radio frequency signal diagram of the drone shooting status collected by the present invention;

[0048] Figure 7 is a schematic diagram of a radio frequency signal before preprocessing of the present invention;

[0049] Figure 8 It is a schematic diagram of power spectrum data after preprocessing of the present invention;

[0050] Fig. 9 It is a schematic diagram of the structure of the neural network model of the present invention;

[0051] Fig.10 It is a schematic diagram of the channel-by-channel convolution principle in the neural network model of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application 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 application and are not used to limit the present application.

[0053] With the development of deep learning technology, a large number of neural network models have been applied to RF signal detection and recognition. The application scenarios of drones require fast and efficient drone recognition, so neural network models with significant effects on computing power and reasoning speed have begun to be applied to the fitting and recognition of drone RF signals. At present, drone detection technology based on RF signals is becoming more and more important. Its development background is deeply influenced by many factors, which continue to promote the continuous development and improvement of this technology.

[0054] In view of this, the embodiments of the present invention propose a method, device and medium for detecting radio frequency signals of unmanned aerial vehicles based on a neural network, in order to efficiently and quickly solve people's needs.

[0055] like Figure 1 As shown, an embodiment of the present invention provides a method for detecting a UAV radio frequency signal based on a neural network, comprising the following steps:

[0056] S1. Collect UAV RF signal data and establish a RF signal database;

[0057] S2. Preprocess the UAV radio frequency signal data to obtain power spectrum data;

[0058] S3. Input the power spectrum data into the neural network model, and train the neural network model to identify the drone;

[0059] S4. Use the trained neural network model to identify drones.

[0060] The implementation process of each step of the present invention is described in detail below:

[0061] S1. Collect UAV RF signal data and establish a RF signal database.

[0062] The present invention relies on external hardware sensors to implement the UAV RF signal data. The collected UAV RF signal data is used as a training sample for the neural network model, specifically including RF signal data of different usage backgrounds, different UAV models and different UAV flight modes. Collecting RF signal data of different UAV models and different UAV flight modes is the basis for the neural network model to identify UAVs; and collecting UAV RF data in different usage scenarios helps to enhance the robustness of the model, making it applicable to a wider range of usage scenarios. The collected RF signal data is represented in the form of a frequency graph, and the samples in each segment of the frequency graph represent the amplitude of the flight RF signal collected in the time domain. Exemplarily, different models of UAVs can be operated to perform different flight operations in different scenarios, such as starting, hovering, moving and shooting, etc., and external hardware sensors such as RF receivers are used to capture the RF signals of the UAV's surrounding environment. The capture results are as follows: Figure 2-6 As shown. Among them, Figure 2This is the RF signal diagram of the drone flying background. Figure 3 This is the RF signal diagram obtained when starting the drone. Figure 4 To control the RF signal graph obtained when the drone is in a hovering state, Figure 5 To control the RF signal diagram obtained when the drone is flying, Figure 6 The RF signal diagram obtained when controlling the drone for shooting operations.

[0063] The collected drone RF signal data in this embodiment will be stored in the RF signal database. This embodiment uses a comma separated value (csv) file for storage to facilitate the classification of the RF signal data. Exemplarily, the RF signal data can be set to establish a segmented binary unique identifier (BUI) to represent each piece of drone RF signal data by RF band, band ownership and segment number, so that the drone RF signal data is easy to read and interpret.

[0064] S2. Preprocess the UAV RF signal data to obtain power spectrum data.

[0065] In this embodiment, the UAV radio frequency signal data is preprocessed to obtain power spectrum data, which specifically includes the following steps:

[0066] S2-1. Label the UAV radio frequency signal data to obtain labeled signal data with several sampling points.

[0067] In this embodiment, the collected radio frequency signals are manually annotated, and corresponding labels are entered according to the status, type, distance, frequency band, etc. of the drone, and the signal is windowed to generate a corresponding spectrum diagram by using short-time fast Fourier transform.

[0068] S2-2. Apply short-time Fourier transform to the labeled signal data and add window to obtain power spectrum data.

[0069] The time-frequency spectrum contains the information of the frequency (vertical axis) and power (background color, usually expressed as the square of the amplitude) of the original signal in each small time interval (horizontal axis). To draw the time-frequency spectrum, short-time Fourier transform (STFT) is required.

[0070] Step S2-2 further includes the following steps:

[0071] S2-2-1. Using an integer number of sampling points as a unit, establish a Hamming window with a target window length and a target step length.

[0072] The Hamming window is mainly used to smooth and weight the signal in the time domain, suppress the endpoint leakage of the signal, and reduce the leakage of the signal in the FFT process, so as to obtain more accurate frequency domain information. The Hamming window includes two parameters: window length and frame shift, which respectively represent the window size of the Hamming window and the step size of the window on the time axis. The Hamming window frame shift used in the embodiment of the present invention is half the window length. The weighted window function for all sampling points in a frame can be expressed as follows:

[0073]

[0074] S2-2-2. Use the established Hamming window to slide along the time axis of the labeled signal data to obtain multiple time slices.

[0075] The present invention adopts a Hamming window structure of α=0.46, where α is a gain coefficient, w[n] is a weighted sum, the size of the window function is specified by the window length, and the short-time Fourier transform formula is as follows:

[0076]

[0077] In the above formula, N is the window length and frame shift, m is the serial number of the current window, the first window serial number is 0 and so on, H is the high frequency length, and w(n) is the window function. The left coordinate of the current window is mH, so the value of the original signal at n+mH is taken for Fourier transform.

[0078] S2-2-3. Apply short-time Fourier transform to each time slice to obtain a spectrum matrix.

[0079] The shape of the spectrum matrix obtained by short-time Fourier transform is [frequency bin, frame]. The calculation formulas for these two values ​​are as follows:

[0080]

[0081]

[0082] S2-2-4. Convert the spectrum matrix into power spectrum data.

[0083] The present invention uses the power spectrum as the fitting parameter of the neural network model, and obtains the power spectrum by calculating the square of the spectrum matrix modulus:

[0084] Y(m,k)=|S(m,k)| 2

[0085] The frequency diagrams before and after preprocessing in the embodiment of the present invention are shown in FIG. Figure 7 , 8As shown, it can be seen that after windowing and Fourier transforming the RF signal, the RF signal can be transformed into a periodic signal in a short time, so that the neural network model can better fit the characteristics of the RF signal and the fitting effect is more realistic.

[0086] S3. Input the power spectrum data into the neural network model and train the neural network model to identify the drone.

[0087] The neural network model of the present invention includes a feature extraction module, an attention mechanism module and a feature fusion module. The specific architecture is as follows: Fig. 9 shown.

[0088] The input end of the feature extraction module receives the power spectrum data input, and the output end is connected to the input end of the feature fusion module through the attention mechanism module; the output end of the feature fusion module outputs the recognition result.

[0089] The feature extraction module includes a first convolutional network, a batch normalization layer, a Re lu activation function layer, a channel-by-channel convolutional network, a point-by-point convolutional network, a first branch convolutional block and a second branch convolutional block connected sequentially.

[0090] The first convolutional network is a two-dimensional convolutional network, which is used to extract features from the power spectrum data; the Re lu activation function layer is used to enhance the feature expression of the feature matrix output by the batch normalization layer.

[0091] The channel-by-channel convolution network includes two convolution kernels, which are used to convolve the in-phase component and orthogonal component in the output feature matrix of the Re lu activation function layer, respectively, to achieve accelerated calculation of the signal fitting process. The process is as follows: Fig. 9 As shown; the point-by-point convolution network includes a convolution kernel for fitting the convolution result of the channel-by-channel convolution network. In the embodiment of the present invention, the channel-by-channel convolution network and the point-by-point convolution network constitute a deep convolution network. In the embodiment of the present invention, because the collected RF signal is composed of an in-phase component and an orthogonal component, it can be expressed by the following formula:

[0092] RFO_I+1j*RFO_Q

[0093] Where RFO_I represents the in-phase component of the signal, and 1j*RFO_Q represents the orthogonal component of the signal. In the neural network model, the in-phase component and the orthogonal component of the signal are convolved separately using a deep separable convolution operation for the two input channels, thereby realizing the accelerated operation of the signal fitting process. The specific calculation process is as follows: Fig.10 shown.

[0094] The first branch convolution block and the second branch convolution block are used to perform branch convolution on the feature matrix output by the point-by-point convolution network, and the convolution result is output to the attention mechanism module. At the same time, the two branches of the first branch convolution block and the second branch convolution block use the same downsampling to ensure that the output features after branch convolution can be fused.

[0095] The attention mechanism module is used to re-weight the convolution results output by the feature extraction module, and the obtained weighted feature matrix is ​​output to the feature fusion module. The channel attention mechanism dynamically adjusts the importance of different channels through a global understanding of the input feature layer to enhance the model's ability to capture useful information in image classification.

[0096] The weight vector for feature reweighting in the attention mechanism module is obtained by the following steps:

[0097] Obtain multiple feature vectors for training to form a feature vector group;

[0098] Perform average pooling operation on the feature vector group to obtain the channel vector;

[0099] The channel vector is compressed and restored; the compressed representation of the inter-channel dependency in the channel vector is learned to obtain a weight vector.

[0100] In this embodiment, a global average pooling operation is first performed on the feature vector to compress the spatial information of each channel in the feature vector into a single scalar value, generating a channel vector with a dimension of 1×1×Channel l, where Channel l represents the number of channels. The channel vector is then sent to a fully connected layer (FC) with fewer neurons to learn the compressed representation of the dependencies between channels. Finally, it is restored to the original dimension by passing through a fully connected layer with the same number of neurons as the original channels. The vector generated by learning in this process is a weight vector, which shows the preference or attention of the neural network model to different channels. Channels with high weights are considered more important and should be emphasized; channels with low weights are relatively less important, allowing the model to focus more on channel information that is useful for drone identification tasks.

[0101] The feature fusion module includes a sequentially connected residual module, a third-branch convolution block, a fourth-branch convolution block, a second convolution network, a batch normalization layer, a Re lu activation function layer, an average pooling layer, and a fully connected layer.

[0102] Among them, the residual module is used to perform gradient optimization on the weighted feature matrix output by the attention mechanism module.

[0103] The third branch convolution block and the fourth branch convolution block are used to perform branch convolution on the gradient optimization results output by the residual module. The third branch convolution block and the fourth branch convolution block only use depthwise separable convolution and perform downsampling to different degrees. Using this convolution block structure to convolve the real and imaginary signals of the convolution signal can greatly reduce the number of model parameters and speed up the training and reasoning speed of the model.

[0104] The Re lu activation function layer is used to enhance the feature expression of the branch convolution result output by the fourth branch convolution block; the average pooling layer is used to perform average pooling calculation on the feature matrix output by the Re lu activation function layer.

[0105] The fully connected layer is used to perform softmax calculation on the feature matrix output by the average pooling layer to obtain the probability distribution that characterizes the drone model and confidence level, which is output as the drone recognition result. In this embodiment, the drone recognition result includes not only the drone model obtained by matching after detection, but also the corresponding confidence level of each drone model; at the same time, other background RF signals other than drones can also be effectively recognized.

[0106] S4. Use the trained neural network model to identify drones.

[0107] In terms of application effect, the embodiments of the present invention can monitor the radio frequency signals in the surrounding environment in real time, and respond immediately when a drone is discovered, providing timely alarms and notifications. Drones of different types and models can be identified, because the radio frequency signal characteristics of each drone may be unique, and the present invention can accurately match them according to a pre-established database. And it can identify and distinguish signals emitted by other wireless devices, thereby reducing interference with the detection process and improving the accuracy of detection. The embodiments of the present invention can be used to protect key facilities and event sites, promptly detect and respond to potential drone threats, and monitor and manage drone flights in large-scale events (such as sports events, music festivals, etc.) to prevent drone interference and security risks.

[0108] The embodiment of the present invention also discloses a computer program product or a computer program, wherein the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 1 The method shown.

[0109] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0110] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0111] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0112] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0113] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0114] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0115] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0116] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A method for detecting radio frequency signals of unmanned aerial vehicles based on neural networks, characterized in that: The following steps are involved: Collect UAV RF signal data and establish a RF signal database; Preprocessing the UAV radio frequency signal data to obtain power spectrum data; Inputting the power spectrum data into a neural network model, and performing drone recognition training on the neural network model; Use the trained neural network model for drone identification.

2. The method for detecting UAV radio frequency signals based on neural network according to claim 1, characterized in that: The drone radio frequency signal data includes radio frequency signal data of different usage backgrounds, different drone models and different drone flight modes.

3. The method for detecting UAV radio frequency signals based on neural network according to claim 1, characterized in that: The preprocessing of the UAV radio frequency signal data to obtain power spectrum data specifically includes the following steps: Annotating the UAV radio frequency signal data to obtain annotated signal data with a plurality of sampling points; Short-time Fourier transform is applied to the labeled signal data, and power spectrum data is obtained by windowing.

4. The method for detecting UAV radio frequency signals based on neural network according to claim 1, characterized in that: The applying short-time Fourier transform to the labeled signal data specifically comprises the following steps: Taking integer sampling points as units, establish a Hamming window with a target window length and a target step length; Slide the established Hamming window along the time axis of the labeled signal data to obtain multiple time slices; Apply short-time Fourier transform to each time slice to obtain the spectrum matrix; The frequency spectrum matrix is ​​converted into power spectrum data.

5. The method for detecting UAV radio frequency signals based on neural network according to claim 4, characterized in that: The window function of the Hamming window is expressed in the following form: Among them, α represents the gain coefficient, N represents the target window length, and n is each time slice; The target step length of the Hamming window is half of the target window length.

6. The method for detecting UAV radio frequency signals based on neural network according to claim 1, characterized in that: The neural network model includes a feature extraction module, an attention mechanism module and a feature fusion module; The input end of the feature extraction module receives the power spectrum data input, and the output end is connected to the input end of the feature fusion module through the attention mechanism module; the output end of the feature fusion module outputs the recognition result; The feature extraction module includes a first convolutional network, a batch normalization layer, a Relu activation function layer, a channel-by-channel convolutional network, a point-by-point convolutional network, a first branch convolutional block and a second branch convolutional block connected in sequence; the first convolutional network is a two-dimensional convolutional network, which is used to extract features from the power spectrum data; the Relu activation function layer is used to enhance the feature expression of the feature matrix output by the batch normalization layer; the channel-by-channel convolutional network includes two convolution kernels, which are respectively used to convolve the in-phase component and the orthogonal component in the feature matrix output by the Relu activation function layer; the point-by-point convolutional network includes a convolution kernel, which is used to fit the convolution result of the channel-by-channel convolutional network; the first branch convolutional block and the second branch convolutional block are used to perform branch convolution on the feature matrix output by the point-by-point convolutional network, and the obtained convolution result is output to the attention mechanism module; The attention mechanism module is used to perform feature reweighting on the convolution result output by the feature extraction module, and the obtained weighted feature matrix is ​​output to the feature fusion module; The feature fusion module includes a residual module, a third branch convolution block, a fourth branch convolution block, a second convolution network, a batch normalization layer, a Relu activation function layer, an average pooling layer and a fully connected layer connected in sequence; the residual module is used to perform gradient optimization on the weighted feature matrix output by the attention mechanism module; the third branch convolution block and the fourth branch convolution block are used to perform branch convolution on the gradient optimization result output by the residual module; the Relu activation function layer is used to enhance the feature expression of the branch convolution result output by the fourth branch convolution block; the average pooling layer is used to perform average pooling calculation on the feature matrix output by the Relu activation function layer; the fully connected layer is used to perform softmax calculation on the feature matrix output by the average pooling layer to obtain the probability distribution characterizing the drone model and confidence, which is output as the drone recognition result.

7. The method for detecting UAV radio frequency signals based on neural network according to claim 6, characterized in that: The depthwise separable convolution operation specifically includes channel-by-channel convolution and point-by-point convolution; the weight vector for feature reweighting by the attention mechanism module is obtained by the following steps: Obtain multiple feature vectors for training to form a feature vector group; Performing an average pooling operation on the feature vector group to obtain a channel vector; The channel vector is compressed and restored; and a compressed representation of the inter-channel dependency relationship in the channel vector is learned to obtain a weight vector.

8. The method for detecting UAV radio frequency signals based on neural network according to claim 6, characterized in that: The drone recognition result output by the neural network model includes a drone model and a confidence level; the drone model represents basic information of the drone, and the confidence level represents the accuracy of the drone recognition result.

9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Unmanned aerial vehicle radio frequency signal identification method based on pulse neural network

    CN117725466A

  • Model training method and apparatus, and device, storage medium and program product

    WO2023173294A1

Cited By

  • Unmanned aerial vehicle automatic identification method and device, electronic equipment and computer medium

    CN119089119A

  • UAV automatic identification method, device, electronic equipment and computer medium

    CN119089119B

  • Satellite navigation interference signal database and construction method

    CN120180273A