Industrial internet-oriented frequency hopping signal intelligent detection and identification method and system
By simulating the signal propagation characteristics and interference characteristics in the industrial environment, the target detection network model of the context layering and gated aggregation modules is used to identify the modulation category of the frequency hopping signal, which solves the problem of difficulty in detecting the frequency hopping signal in the complex industrial environment. , achieving high accuracy and widely applicable frequency hopping signal identification.
Patent Information
- Application Number
- CN202410908232.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-08
AI Technical Summary
In the complex industrial Internet environment, the difficulty in detecting and identifying frequency hopping signals is limited by the time-varying characteristics of the carrier frequency and electromagnetic interference. Existing methods have low identification accuracy and strong limitations in high-interference environments.
By constructing a Rayleigh channel to simulate multipath effects and shadow fading, a time-frequency graph data set is generated, and the context layering module and gated aggregation module are used to build a target detection network model, extract multi-level linear features and fusion features, and identify frequency hopping The modulation category of the signal takes into account channel and interference characteristics to improve detection performance.
It effectively simulates the signal propagation characteristics in the industrial environment, expands the receptive field and maintains refined perception capabilities, reduces the probability of false detection and missed detection, and significantly improves the accuracy and applicability of frequency hopping signal detection and identification.
Smart Images

Figure CN118760928A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal recognition, and in particular to an intelligent detection and recognition method and system for frequency hopping signals for the industrial Internet. Background Art
[0002] Wireless communication technology is the core of the industrial Internet system. Wired device communication often leads to complex wiring and is prone to safety hazards. At the same time, frequency hopping communication technology, as an important anti-interception and anti-interference technology, is widely used in industrial Internet scenarios. It can quickly change its carrier frequency within a wide frequency band to avoid signal interruption caused by interference. At the same time, it can also improve security and increase the difficulty for potential eavesdroppers to track and decode signals.
[0003] However, the time-varying characteristics of the carrier frequency of the frequency-hopping signal make its detection and identification extremely difficult compared to traditional signals. In addition, considering the complexity of the electromagnetic environment in the industrial Internet scenario, the detection and identification of frequency-hopping signals will become more difficult in the face of various electromagnetic interference. In harsh industrial environments, there are many large-scale building equipment that block signal propagation, and there are also equipment on metal surfaces that cause signals to reflect and scatter, thereby producing multipath effects. In addition, due to the numerous devices and complex operating conditions, there are a large number of diverse interference signals between frequency-hopping channels, with single-tone interference, multi-tone interference, pulse interference, etc. as the main forms of interference, which seriously affect normal communications and deteriorate the detection and identification performance of frequency-hopping signals.
[0004] At present, the methods of frequency hopping signal detection and recognition can be roughly divided into two categories: recognition methods based on feature engineering and deep learning. Among them, the recognition method based on feature engineering uses expert knowledge to analyze and extract time-frequency features to identify the modulation type of the signal. This type of method is highly dependent on expert experience and has strong limitations in applicable scenarios. With the rapid development of artificial intelligence technology, deep learning has gradually become the mainstream method for frequency hopping signal modulation recognition. The use of time-frequency analysis technology can obtain the characteristics of the signal in different domains, such as time-frequency features and multi-time constellation diagrams, and then use deep neural networks to automatically analyze and extract signal features to identify the modulation type of the signal. This method does not rely on expert features, and the recognition speed and accuracy have been greatly improved. It is also applicable to a variety of scenarios. However, for industrial Internet environments with a lot of interference, targeted improvements to the target detection network are still needed.
[0005] The Chinese patent document with publication number CN116010798A discloses a method for fast identification and classification of complex typical communication signals based on YOLOv5, which uses the YOLOv5 network to predict and classify the time-frequency graph to solve the problem of accurate and fast identification and classification of overlapping complex communication signals. However, when the interference-signal ratio (JSR) is high, the algorithm has a large error, and it only targets three types of signals, which has limitations.
[0006] The Chinese patent document with the publication number CN116318249A discloses a shortwave frequency hopping signal sorting method based on improved YOLOv5. On the basis of YOLOv5, it adds a CA mechanism to the backbone network, replaces NMS with Soft-SIoU_NMS, and replaces NMS and the intersection of Union (IoU) metric in the regression loss function when detecting small targets with NWD, so as to sort out various types of frequency hopping signals from a large number of frequency hopping stations and sort frequency hopping signals under low signal-to-noise ratio. However, this method only considers background noise, and the interference signal feature dimension is single, the application scenario is narrow, and the accuracy of the recognition algorithm needs to be improved when the signal-to-noise ratio (SNR) is low. Summary of the invention
[0007] The purpose of the present invention is to provide an intelligent detection and identification method and system for frequency hopping signals for the industrial Internet in response to the above-mentioned problems, so as to solve the impact on signal detection in complex industrial environments and greatly improve the detection rate and type identification accuracy of frequency hopping signals in communication systems.
[0008] The technical solution adopted by the present invention is as follows:
[0009] An intelligent detection and identification method for frequency hopping signals for industrial Internet, comprising:
[0010] S1. Construct a Rayleigh channel to simulate multipath effects and shadow fading, apply a predetermined type of interference to the sample frequency hopping signal on the channel, perform short-time Fourier transform on the output signal to generate a time-frequency diagram, and construct a signal detection time-frequency diagram data set;
[0011] S2, marking modulation categories of all signal detection time-frequency graphs in the signal detection time-frequency graph data set; training a pre-built target detection network model using the marked signal detection time-frequency graph data set to obtain a signal detection model;
[0012] The target detection network model is constructed as follows: the backbone network uses the context layering module to extract multi-level linear features from the input time-frequency graph in sequence, and then uses the gated aggregation module to aggregate the multi-level linear features into a fused feature vector; the fused feature vector then passes through the neck network and the head network to obtain the recognition result;
[0013] S3. Input the time-frequency diagram of the frequency hopping signal to be detected into the signal detection model to identify the modulation type.
[0014] Furthermore, the method for extracting multi-level linear features by the context hierarchical module includes:
[0015] The context stratification module uses multiple cascaded depthwise separable convolutional layers to extract features from the input time-frequency graph step by step. Each level of the depthwise separable convolutional layer is activated by GeLU to obtain the first-level linear features, and the linear features of the last level of the depthwise separable convolutional layer are average pooled to obtain the last-level linear features.
[0016] Furthermore, the method of the gated aggregation module for fusing multi-level linear features includes:
[0017] The gated aggregation module uses a gated network to access multi-level linear features and uses a weight matrix to perform weighted aggregation on the outputs of each level of the gated network.
[0018] Furthermore, the labeled signal detection time-frequency graph dataset is used to train the target detection network model, including:
[0019] Convert the labeled signal detection time-frequency graph dataset into a format suitable for the target detection network model;
[0020] Randomly extracting time-frequency graphs from the signal detection time-frequency graph data set according to a predetermined ratio to divide the data into a training set, a validation set, and a test set;
[0021] Based on the set training parameters, the target detection network model is trained using the training set, and the target detection network model is verified and tested using the validation set and the test set, respectively.
[0022] Furthermore, the predetermined type of interference includes at least one of single-tone interference, linear frequency modulation interference, noise frequency modulation interference, radio frequency noise interference, and pulse-intermittent noise interference.
[0023] In order to solve the above problems, the present invention also provides an intelligent detection and identification system for frequency hopping signals for industrial Internet, which includes:
[0024] The data set generation module is configured to: receive a configuration of a Rayleigh channel, the Rayleigh channel simulates multipath effects and shadow fading; and receive configured interference, and apply a predetermined type of interference to a sample frequency hopping signal on the channel; and perform a short-time Fourier transform on the output signal to generate a time-frequency diagram, and construct a signal detection time-frequency diagram data set;
[0025] The signal detection model training module is configured to: receive the configured target detection network model; receive the annotation of the modulation category of all signal detection time-frequency graphs in the signal detection time-frequency graph data set; and train the target detection network model using the annotated signal detection time-frequency graph data set to obtain a signal detection model;
[0026] The target detection network model includes a backbone network, a neck network and a head network. The backbone network includes a context stratification module and a gated aggregation module. The context stratification module is configured to sequentially perform multi-level linear feature extraction on the input time-frequency graph; the gated aggregation module is configured to aggregate the multi-level linear features output by the context stratification module into a fused feature vector; the fused feature vector is sequentially processed by the neck network and the head network to output a recognition result;
[0027] The input module is configured to: receive the frequency hopping signal to be detected, and perform short-time Fourier transform to generate a time-frequency diagram of the frequency hopping signal to be detected;
[0028] The output module is configured to: detect and identify the time-frequency diagram of the frequency hopping signal to be detected by using the signal detection model trained by the signal detection model training module, and identify the modulation category.
[0029] Furthermore, the context stratification module includes multiple cascaded depthwise separable convolutional layers, each level of the depthwise separable convolutional layer is configured with a GeLU activation function; the last level of the depthwise separable convolutional layer is connected with an average pooling layer; the input time-frequency graph is subjected to feature extraction step by step by multiple levels of depthwise separable convolutional layers, each level of the depthwise separable convolutional layer is activated by GeLU to obtain a first-level linear feature, and the linear features of the last level of the depthwise separable convolutional layer are average pooled by the average pooling layer to obtain the last level of linear features.
[0030] Furthermore, the gated aggregation module includes a gated network and an aggregation module, and the aggregation module is configured with a weight matrix; the multi-level linear features output by the context stratification module are connected to the gated network, and the aggregation module is respectively connected to the outputs of each level of the gated network, and the outputs of each level of the gated network are weightedly aggregated using the weight matrix.
[0031] Furthermore, the signal detection model training module trains the target detection network model according to the following configuration:
[0032] Convert the labeled signal detection time-frequency graph dataset into a format suitable for the target detection network model;
[0033] Randomly extracting time-frequency graphs from the signal detection time-frequency graph data set according to a predetermined ratio, and constructing a training set, a validation set, and a test set respectively;
[0034] The configured training parameters are received, and based on the training parameters, the target detection network model is trained using the training set, and the target detection network model is verified and tested using the verification set and the test set, respectively.
[0035] Furthermore, the predetermined type of interference includes at least one of single-tone interference, linear frequency modulation interference, noise frequency modulation interference, radio frequency noise interference, and pulse-intermittent noise interference.
[0036] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0037] 1. The present invention uses Rayleigh channels to simulate large-scale fading caused by obstacles and small-scale fading caused by reflection and scattering of signals by metal structures, and can effectively simulate and analyze the propagation characteristics of wireless signals in complex industrial environments.
[0038] 2. The present invention investigates various equipment existing in different factory workshops, not limited to a certain factory, summarizes the various types of interference signals generated by these devices when working or starting, and simulates them to make the frequency hopping signal coexist with the interference, so that the data set covers different scenarios, and both interference and channel characteristics are considered at the same time, which can truly restore the electromagnetic environment in the industrial Internet scenario.
[0039] 3. The present invention extracts context information in a hierarchical manner and simultaneously integrates long-term and short-term time-frequency features to achieve the expansion of the receptive field while preserving the refined perception ability of the signal detection model. By using the feature map generated by context stratification to enlarge the receptive field, more context information can be captured at a coarser granularity, and the gated aggregation module can selectively learn coarse-grained spatial information for different detection targets at the same time, which can make it easier for the network to capture the time-frequency characteristics of the jumping signal to distinguish between signals and interference, reduce the probability of false detection and missed detection, and thus greatly improve the signal detection and recognition performance of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0041] Figure 1 is a flow chart of a method for intelligent detection and identification of frequency hopping signals in one embodiment of the present invention;
[0042] Figure 2 This is a comparison diagram of the complex electromagnetic environment of the simulated industrial Internet in the present invention;
[0043] Figure 3 It is a schematic diagram of the structure of the YOLOv5 network;
[0044] Figure 4 is a schematic diagram of error detection in an embodiment of the present invention;
[0045] Figure 5 is a schematic diagram of missed detection in an embodiment of the present invention;
[0046] Figure 6 is a schematic diagram of multiple inspections in an embodiment of the present invention;
[0047] Figure 7 is a schematic diagram of misdetection in an embodiment of the present invention;
[0048] Figure 8 is a schematic diagram of the structure of a YOLO-ad network in an embodiment of the present invention;
[0049] Fig. 9 is a schematic diagram of the context layering module structure in an embodiment of the present invention;
[0050] Fig.10 is a schematic diagram of the structure of a gated aggregation module in an embodiment of the present invention;
[0051] Fig.11 is a confusion matrix diagram of frequency hopping signal recognition based on an embodiment of the present invention;
[0052] Fig.12 It is a comparison diagram of F1 score curves of two network models in an embodiment of the present invention;
[0053] Fig.13 and Fig.14 These are two embodiments for comparing the detection results of the two network models. DETAILED DESCRIPTION
[0054] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.
[0055] Any feature disclosed in this specification (including any additional claims and abstract), unless otherwise stated, may be replaced by other equivalent or alternative features having similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
[0056] Example 1
[0057] like Figure 1 As shown, the frequency hopping signal intelligent detection and identification method for the industrial Internet in this embodiment includes the following steps:
[0058] Step 1: Reproduce the complex electromagnetic environment of the industrial Internet, construct a Rayleigh channel to simulate multipath effects and shadow fading, and impose common types of interference in industrial environments (i.e., the predetermined type of interference in this embodiment) on the sample frequency hopping signal on the Rayleigh channel, perform short-time Fourier transform on the (channel) output signal to generate a time-frequency diagram, and construct a signal detection time-frequency diagram data set.
[0059] The specific process of this step includes:
[0060] For multipath effect and shadow fading, this embodiment considers the common anti-scattering equipment and shielding obstacles in industrial environments. In most cases, the multipath effect obeys Rayleigh distribution. Shadow fading can be achieved by adding fading compensation to the Rayleigh fading channel. In the shielding area, the signal strength will be weakened due to the presence of obstacles. This fading can be modeled as an attenuation factor.
[0061] For electromagnetic interference, the following interference signals are considered in this embodiment: one or more of single-tone interference, linear frequency modulation interference, noise frequency modulation interference, radio frequency noise interference, and pulse intermittent noise interference. Since the frequency of the frequency hopping signal changes irregularly over time, it is a typical non-stationary signal. It is difficult to comprehensively analyze such signals in both the time domain and the frequency domain. Therefore, in order to more effectively detect the frequency hopping signal, a time-frequency analysis method is used for analysis and processing. Short-term Fourier transform (STFT) can better extract the transient characteristics of the frequency hopping signal, so this embodiment uses short-time Fourier transform analysis to extract the signal time-frequency characteristics and generate a time-frequency diagram of the frequency hopping signal. Multiple samples of the frequency hopping signal obtain multiple time-frequency diagrams, and multiple time-frequency diagrams construct the required signal detection time-frequency diagram data set. Considering the case where the signal-to-interference-to-noise ratio is 5dB, the number of frequency hopping signal samples is 300, of which 90% are extracted as training sets, 5% as validation sets, and 5% as test sets.
[0062] The short-time Fourier transform is defined as:
[0063]
[0064] Among them, s(t) is the frequency hopping signal and w(t) is the window function.
[0065] The inverse transform of the short-time Fourier transform is:
[0066]
[0067] When the window functions h(t) and w(t) satisfy the following relationship, the signal s(t) can be reconstructed by STFT(τ, ω) using the above formula:
[0068]
[0069] The discrete STFT definition of the sequence is:
[0070]
[0071] Where N is the length of the sequence s[n], and the width of the window function w[n] is controllable. For the time-frequency analysis of the signal, its amplitude is usually analyzed, and its spectrum can be defined as:
[0072] SPEC[m,k]=|DSTFT[m,k]| 2
[0073] The corresponding amplitude diagram is the time-frequency diagram.
[0074] Figure 2 (a) is the performance of the frequency hopping signal without interference. Figure 2 (b) is the performance after interference and scale fading are applied. It can be seen that the existence of interference and scale fading will weaken the characteristics of the signal, and there are redundant waveforms that interfere with recognition, which will greatly affect the network's learning of signal features and reduce the detection success rate.
[0075] Step 2: Build the target detection network model.
[0076] Figure 3 The figure shows a schematic diagram of the YOLOv5 network structure. In this embodiment, the constructed target detection network model draws on the YOLOv5 network, and based on it, a context layering module and a gated aggregation module are added to the backbone network.
[0077] In the complex electromagnetic spectrum environment of the industrial Internet scenario, it is difficult to obtain a high signal-to-interference ratio. Among them, the strong interference signal coexisting with the signal will seriously affect the detection and recognition performance of the frequency hopping signal, including the following:
[0078] 1)Reference Figure 4 :Interference signals such as single tone and linear frequency modulation have very similar characteristics to frequency hopping signals using 8PSK modulation in the time-frequency diagram. It is difficult for the target detection network to distinguish them, which easily leads to false detection.
[0079] 2)Reference Figure 5 : In the time-frequency domain, interference signals that overlap with frequency-hopping signals will cover the characteristics of frequency-hopping signals and cause signal leakage.
[0080] 3)Reference Figure 6 : For some situations where the signal distribution is relatively dense, the YOLOv5 network will place the background and the signal in the same detection frame, confusing the detection frame and causing multiple detections.
[0081] 4)Reference Figure 7 : When the target detection network learns the characteristics of multiple modulation type signals, the time-frequency characteristics of some modulation signals are highly similar. Therefore, relying solely on the time-frequency characteristics of the signal can easily lead to misdetection of the modulation type.
[0082] Therefore, it is necessary to comprehensively consider the time-frequency characteristics of interference and frequency-hopping signals, and optimize the target detection network structure so that it has the ability to effectively distinguish interference and frequency-hopping signals, thereby improving its detection rate and recognition rate.
[0083] To this end, this embodiment proposes to improve the recognition rate of frequency hopping signals by fusing the characteristics of the target signal itself and the background characteristics around it. This is because the background characteristics can reflect the changing rules of the signal and effectively distinguish the frequency hopping signal from interference. Based on this, this embodiment adopts a hierarchical context module and a gated aggregation module to expand the network vision and enhance the network's ability to fuse signal and background characteristics to improve signal detection and recognition rate.
[0084] The backbone network of the target detection network model uses focused modulation, which first aggregates the contextual information around the target signal and then obtains the query result based on the aggregated information. Its mathematical model is as follows:
[0085] y i =Γ(M(i,X),x i )
[0086] Where i represents the position in the time-frequency graph, X is the time-frequency graph in the entire analysis frequency band, the M(i, X) operation represents the time-frequency aggregation feature around position i, and Γ represents the signal feature x at position i in the time-frequency graph. i Interaction with the aggregated feature M(i, X) to obtain the fusion feature of the signal and the background. Among them, M(i, X) uses context stratification and gated aggregation to expand the receptive field of the neural network and obtain the contextual information of the signal from the time-frequency graph; in addition, Γ is a lightweight operator that is implemented using a query mapping function and Hadamard Product, and its computational complexity is low.
[0087] Since the target detection network model in this embodiment is designed by referring to the YOLOv5 network, for the convenience of subsequent description, the target detection network model in this embodiment is called the YOLO-ad network.
[0088] Figure 8 FIG. 4 is a schematic diagram showing the structure of the YOLO-ad network of this embodiment. Figure 3By comparison, it can be seen that the YOLO-ad network of this embodiment directly adopts the neck network of the YOLOv5 network. In fact, its head network is also adopted. The main difference between the YOLO-ad network and the YOLOv5 network is that the backbone network of the YOLOv5 network adopts the alternating superposition of convolution modules and C3 modules, while the backbone network (i.e., feature extraction network) of the YOLO-ad network is designed with a context stratification module and a gated aggregation module. The time-frequency map is input into the linear layer, and the hierarchical context information is extracted by using a deep separable convolution. Then, the gated aggregation mechanism is introduced, and finally, the feature weighted fusion is adopted to obtain the fused feature and pass it to the SPPF layer.
[0089] At this point, it can be found that the target detection network model in this implementation is constructed as follows: the backbone network uses the context stratification module to perform multi-level linear feature extraction on the input time-frequency graph in sequence, and then uses the gated aggregation module to aggregate the multi-level linear features into a fused feature vector; the fused feature vector then passes through the neck network and the head network to obtain the recognition result.
[0090] The method of extracting multi-level linear features by the context layering module includes:
[0091] The context stratification module uses multiple cascaded depthwise separable convolutional layers to extract features from the input time-frequency graph step by step. Each level of the depthwise separable convolutional layer is activated by GeLU to obtain the first-level linear features, and the linear features of the last level of the depthwise separable convolutional layer are average pooled to obtain the last-level linear features.
[0092] Fig. 9 Schematic diagram of the context layering module structure in this embodiment. Fig. 9 First, the time-frequency feature map X is input and projected into a new feature space through a linear layer. L depth-wise separable convolutions are used to extract context information in stages. By simultaneously fusing long-term and short-term time-frequency features, the network's refined perception ability is preserved while expanding the receptive field.
[0093] The method for fusing multi-level linear features by the gated aggregation module includes: the gated aggregation module uses a gated network to access the multi-level linear features, and uses a weight matrix to perform weighted aggregation on the outputs of each level of the gated network.
[0094] Fig.10 Schematic diagram of the structure of the gated aggregation module in this embodiment. Fig.10 In this module, the (L+1) linear feature maps obtained by the context layering module are compressed into a single feature vector. In the time-frequency diagram, different levels are set according to the detection target. Here, the weight matrix G of space and level perception is obtained by using the linear layer. Finally, the weight matrix G is used to calculate the fused feature vector 2 out .
[0095] Step 3: Label the modulation categories of all signal detection time-frequency graphs in the signal detection time-frequency graph dataset; use the labeled signal detection time-frequency graph dataset to train the pre-built target detection network model to obtain the signal detection model. For the purpose of comparison, this step uses the labeled signal detection time-frequency graph dataset to train the YOLOv5 network and the YOLO-ad network respectively.
[0096] The training environment configuration is as follows: CPU model is Intel Core i7-12700H, memory is 16 GB, graphics card type is RTX 3060, video memory is 8 GB, and Python version is 3.8.
[0097] The network training process includes:
[0098] Convert the labeled signal detection frequency spectrum dataset into a format suitable for the target detection network model.
[0099] The time-frequency graphs are randomly extracted from the signal detection time-frequency graph data set according to a predetermined ratio to divide the data into a training set, a validation set and a test set.
[0100] Based on the set training parameters, the target detection network model is trained using the training set, and the target detection network model is verified and tested using the validation set and the test set, respectively.
[0101] Specifically, there are:
[0102] 1) Label all images using the labelImg tool and save the generated xml file.
[0103] 2) Convert the xml file into a txt file suitable for the YOLOv5 network (also applicable to the YOLO-ad network), and randomly generate training sets, test sets, and validation sets in proportion.
[0104] 3) The initial learning rate of the YOLO-ad network was set to 0.01, and after multiple rounds of training, the learning rate was reduced to 0.0001. The training batch size was set to 16, and 300 rounds of training were performed.
[0105] Step 4: Input the time-frequency diagram of the frequency-hopping signal to be detected into the signal detection model (and the trained YOLOv5 network) to identify the modulation category.
[0106] This embodiment also verifies the performance of the designed method. In this embodiment, precision (Precision, P) and recall (Recall, R) are used to evaluate the experimental effect, and the specific calculation process is shown in the following formula.
[0107]
[0108] TP is the number of correctly detected targets; FP is the number of incorrectly detected targets; and FN is the number of missed targets.
[0109] F1score is a weighted average of precision and recall. The best value of F1score is 1, and the worst value is 0. The calculation formula of F1score is:
[0110]
[0111] The recall rate and precision rate are the horizontal and vertical axes respectively, and the Recall-Precision curve is drawn. The average precision (AP) value is obtained by integrating the curve. Since multiple categories are considered for recognition, the average value is recorded as the mean average precision (mAP) to measure the detection effect of the model on all categories. The calculation formula is as follows:
[0112] AP = ∫0 1 Pd
[0113]
[0114] Where N is the number of categories of detection targets in the data set, and i is the number of the current category. In this embodiment, N=8 is set, and eight modulation types, 8PSK, 16QAM, 32QAM, 64QAM, BPSK, FSK, MSK, and QPSK, are considered to analyze the detection and recognition performance of the network. Among them, the mAP50 indicator only considers the case where the intersection-over-union ratio threshold is 0.5 when calculating. mAP50 mainly focuses on coarser detection performance because it allows a certain degree of deviation between the predicted bounding box and the true bounding box; the mAP50-95 indicator is calculated by considering multiple IoU thresholds, from 0.5 to 0.95, increasing by 0.05. This means that the algorithm needs to perform well at different IoU thresholds in order to obtain a higher mAP50-95 score.
[0115] After determining the performance indicators, the recognition effect of the network is further illustrated by the following simulation results:
[0116] like Fig.11 The figure shows the confusion matrix diagram of frequency hopping signal recognition based on YOLO-ad network. Fig.11 It can be seen that the frequency hopping signals of four modulation types can be accurately detected. The specific experimental data are shown in Table 1 below:
[0117] Table 1 Comparison of YOLOv5s and YOLO-ad indicators
[0118]
[0119] It can be seen that the introduction of the YOLO-ad network improves detection accuracy by 12%, recall by 1.8%, mAP50 by 8.8%, and mAP50-95 by 12.3%. The model has obvious improvements in accuracy, mAP50, and mAP50-95, proving the effectiveness and robustness of the signal recognition network designed for the Industrial Internet.
[0120] The detection precision P and recall rate R represent the false detection rate and missed detection rate of the model respectively. Although the recall rate of the YOLOv5 network is very high, its precision is at a low level, and the false detection of this model is relatively serious. The precision and recall rate of the YOLO-ad network are close to full marks, which means that it has reached a balance point between precision and recall rate, and will neither miss detection for the sake of precision nor make false detection for the sake of completeness.
[0121] Fig.12 This is a comparison of the F1 score curves of the two network models in the present invention. Since the detection and recognition of frequency hopping signals are equally important for recall and precision, the relative contribution of precision and recall to the F1 score is equal. It is the weighted average of precision and recall, so this value is introduced for comparison. It can be seen that YOLO-ad has a 23% improvement in this value.
[0122] Fig.13 It is a detection comparison diagram of the two network models in this embodiment. Under the same hardware conditions, the time-frequency diagram is tested using the trained model. The left figure is the unimproved YOLOv5s network, and the right figure is the YOLO-ad network. It can be seen that the confidence has been significantly improved. The improvement is larger near the interference, which is close to 20%, and the improvement is about 8% in the non-interference part. In addition, for the case where the frequency change is small, resulting in a dense spectrum diagram and in the interference, the YOLOv5 network will have multiple detections and missed detections, such as Fig.13 (a), false detection may occur when the signal characteristics are unclear, such as Fig.13 (b). YOLO-ad can better distinguish this situation. Fig.14 (a), the YOLOv5 network has a large range of false detections, such as Fig.14 In (b), this situation does not occur in the YOLO-ad network.
[0123] Example 2
[0124] This embodiment corresponds to the method in Embodiment 1, and proposes an intelligent detection and identification system for frequency hopping signals for the industrial Internet, the system comprising:
[0125] The data set generation module is configured to: receive a configuration for a Rayleigh channel, which simulates multipath effects and shadow fading; and receive configured interference, and impose a predetermined type of interference on the sample frequency hopping signal on the channel, such as one or more of single-tone interference, linear frequency modulation interference, noise frequency modulation interference, radio frequency noise interference, and pulse intermittent noise interference; and perform short-time Fourier transform on the output signal to generate a time-frequency diagram, and construct a signal detection time-frequency diagram data set.
[0126] The signal detection model training module is configured to: receive the configured target detection network model; receive the annotation of the modulation categories of all signal detection time-frequency graphs in the signal detection time-frequency graph data set; and use the annotated signal detection time-frequency graph data set to train the target detection network model to obtain a signal detection model.
[0127] In some embodiments, the signal detection model training module trains the target detection network model according to the following configuration: converting the labeled signal detection time-frequency graph data set into a format suitable for the target detection network model; randomly extracting time-frequency graphs from the signal detection time-frequency graph data set according to a predetermined ratio, and constructing a training set, a validation set, and a test set respectively; receiving the configured training parameters, and based on the training parameters, using the training set to train the target detection network model, and using the validation set and the test set to verify and test the target detection network model respectively.
[0128] See also Figure 8 As shown, the target detection network model includes a backbone network, a neck network and a head network. The backbone network includes a context stratification module and a gated aggregation module. The context stratification module is configured to perform multi-level linear feature extraction on the input time-frequency graph in sequence; the gated aggregation module is configured to aggregate the multi-level linear features output by the context stratification module into a fused feature vector; the fused feature vector is processed by the neck network and the head network in sequence, and the recognition result is output.
[0129] like Fig. 9 As shown, in some embodiments, the context stratification module includes multiple cascaded depthwise separable convolutional layers, each level of the depthwise separable convolutional layer is configured with a GeLU activation function; the last level of the depthwise separable convolutional layer is connected to an average pooling layer; the input time-frequency graph is subjected to feature extraction step by step by multiple levels of depthwise separable convolutional layers, each level of the depthwise separable convolutional layer is activated by GeLU to obtain a first-level linear feature, and the linear features of the last level of the depthwise separable convolutional layer are average pooled by the average pooling layer to obtain the last level of linear features.
[0130] like Fig.10As shown, in some embodiments, the gated aggregation module includes a gated network and an aggregation module, and the aggregation module is configured with a weight matrix; the multi-level linear features output by the context stratification module are connected to the gated network, and the aggregation module is respectively connected to the outputs of each level of the gated network, and the weight matrix is used to perform weighted aggregation on the outputs of each level of the gated network.
[0131] The system also includes:
[0132] The input module is configured to: receive the frequency hopping signal to be detected, and perform short-time Fourier transform to generate a time-frequency diagram of the frequency hopping signal to be detected.
[0133] The output module is configured to: detect and identify the time-frequency diagram of the frequency hopping signal to be detected by using the signal detection model trained by the signal detection model training module, and identify the modulation category.
[0134] The present invention is not limited to the above-mentioned specific embodiments, but extends to any new features or any new combination disclosed in this specification, as well as any new method or process steps or any new combination disclosed.
Claims
1. A frequency hopping signal intelligent detection and identification method for industrial Internet, characterized in that: include: S1. Construct a Rayleigh channel to simulate multipath effects and shadow fading, apply a predetermined type of interference to the sample frequency hopping signal on the channel, perform short-time Fourier transform on the output signal to generate a time-frequency diagram, and construct a signal detection time-frequency diagram data set; S2, marking modulation categories of all signal detection time-frequency graphs in the signal detection time-frequency graph data set; training a pre-built target detection network model using the marked signal detection time-frequency graph data set to obtain a signal detection model; The target detection network model is constructed as follows: the backbone network uses the context layering module to extract multi-level linear features from the input time-frequency graph in sequence, and then uses the gated aggregation module to aggregate the multi-level linear features into a fused feature vector; the fused feature vector then passes through the neck network and the head network to obtain the recognition result; S3. Input the time-frequency diagram of the frequency hopping signal to be detected into the signal detection model to identify the modulation type.
2. The method for intelligent detection and identification of frequency hopping signals for industrial Internet according to claim 1, characterized in that: The method of extracting multi-level linear features by the context layering module includes: The context stratification module uses multiple cascaded depthwise separable convolutional layers to extract features from the input time-frequency graph step by step. Each level of the depthwise separable convolutional layer is activated by GeLU to obtain the first-level linear features, and the linear features of the last level of the depthwise separable convolutional layer are average pooled to obtain the last-level linear features.
3. The method for intelligent detection and identification of frequency hopping signals for industrial Internet according to claim 2, characterized in that: The method of gating aggregation module for multi-level linear feature fusion includes: The gated aggregation module uses a gated network to access multi-level linear features and uses a weight matrix to perform weighted aggregation on the outputs of each level of the gated network.
4. The method for intelligent detection and identification of frequency hopping signals for industrial Internet according to claim 1, characterized in that: Training the target detection network model using the annotated signal detection time-frequency graph dataset, including: converting the annotated signal detection time-frequency graph dataset into a format suitable for the target detection network model; Randomly extracting time-frequency graphs from the signal detection time-frequency graph data set according to a predetermined ratio to divide the data into a training set, a validation set, and a test set; Based on the set training parameters, the target detection network model is trained using the training set, and the target detection network model is verified and tested using the validation set and the test set, respectively.
5. The method for intelligent detection and identification of frequency hopping signals for industrial Internet according to claim 1, characterized in that: The predetermined type of interference includes at least one of single-tone interference, linear frequency modulation interference, noise frequency modulation interference, radio frequency noise interference, and pulse-intermittent noise interference.
6. An intelligent detection and identification system for frequency hopping signals for industrial Internet, characterized in that: include: The data set generation module is configured to: receive a configuration of a Rayleigh channel, where the Rayleigh channel simulates multipath effects and shadow fading; and receiving configured interference to apply a predetermined type of interference to the sample frequency hopping signal on the channel; and performing short-time Fourier transform on the output signal to generate a time-frequency diagram, and constructing a signal detection time-frequency diagram data set; The signal detection model training module is configured to: receive the configured target detection network model; receive the annotation of the modulation category of all signal detection time-frequency graphs in the signal detection time-frequency graph data set; and train the target detection network model using the annotated signal detection time-frequency graph data set to obtain the signal detection model; wherein the target detection network model includes a backbone network, a neck network and a head network, the backbone network includes a context stratification module and a gated aggregation module, the context stratification module is configured to sequentially perform multi-level linear feature extraction on the input time-frequency graph; the gated aggregation module is configured to aggregate the multi-level linear features output by the context stratification module into a fused feature vector; the fused feature vector is processed by the neck network and the head network in turn, and then outputs the recognition result; The input module is configured to: receive the frequency hopping signal to be detected, and perform short-time Fourier transform to generate a time-frequency diagram of the frequency hopping signal to be detected; The output module is configured to: detect and identify the time-frequency diagram of the frequency hopping signal to be detected by using the signal detection model trained by the signal detection model training module, and identify the modulation category.
7. The frequency hopping signal intelligent detection and identification system for industrial Internet according to claim 6, characterized in that: The context stratification module includes multiple cascaded depthwise separable convolutional layers, each level of the depthwise separable convolutional layers is configured with a GeLU activation function; the last level of the depthwise separable convolutional layer is connected with an average pooling layer; the input time-frequency graph is subjected to feature extraction step by step by multiple levels of depthwise separable convolutional layers, each level of the depthwise separable convolutional layer is activated by GeLU to obtain a first-level linear feature, and the linear features of the last level of the depthwise separable convolutional layer are average pooled by the average pooling layer to obtain the last level of linear features.
8. The frequency hopping signal intelligent detection and identification system for industrial Internet as claimed in claim 7, characterized in that: The gated aggregation module includes a gated network and an aggregation module, and the aggregation module is configured with a weight matrix; the multi-level linear features output by the context stratification module are connected to the gated network, and the aggregation module is respectively connected to the outputs of each level of the gated network, and the outputs of each level of the gated network are weightedly aggregated using the weight matrix.
9. The frequency hopping signal intelligent detection and identification system for industrial Internet as claimed in claim 6, characterized in that: The signal detection model training module trains the target detection network model according to the following configuration: converting the labeled signal detection time-frequency graph data set into a format suitable for the target detection network model; randomly extracting time-frequency graphs from the signal detection time-frequency graph data set according to a predetermined ratio, and constructing a training set, a validation set and a test set respectively; The configured training parameters are received, and based on the training parameters, the target detection network model is trained using the training set, and the target detection network model is verified and tested using the verification set and the test set, respectively.
10. The frequency hopping signal intelligent detection and identification system for industrial Internet according to claim 6, characterized in that: The predetermined type of interference includes at least one of single-tone interference, linear frequency modulation interference, noise frequency modulation interference, radio frequency noise interference, and pulse-intermittent noise interference.
Citation Information
Patent Citations
Interference identification method and device based on inverse residual deep neural network
CN114866172A
Short-wave frequency hopping signal sorting method based on improved YOLOv5
CN116318249A
Automatic modulation classification method based on deep learning network fusion
US20240112037A1
Cited By
Intelligent signal detection and identification method based on time-frequency feature fusion and anchor-free detection head
CN119415831A
Short wave frequency hopping signal rapid interception method based on deep neural network
CN120934557A
A short wave frequency hopping signal rapid interception method based on deep neural network
CN120934557B
