Radio rapid signal identification method based on color enhancement image identification

Through the method of color-enhanced image recognition, the radio spectrum waterfall diagram is processed using deep neural network and YOLO algorithm, which solves the problem of low radio signal recognition efficiency and accuracy in the prior art, and achieves rapid and complex environments Accurate identification.

CN119312061AActive Publication Date: 2025-01-14ZHEJIANG YUANCHU DATA TECH CO LTD

Patent Information

Application Number
CN202411354304.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-01-14
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

The existing radio signal recognition technology has low efficiency and accuracy in complex environments, and has high requirements for the professional quality of operators, and lacks universality of multi-character complex algorithms.

Method used

Using a radio fast signal recognition method based on color enhancement image recognition, the radio fixed station monitoring data acquisition and processing module, signal pattern annotation training module and signal monitoring module are used to enhance the image pseudo-color of the spectrum waterfall diagram and use deep neural network and YOLO algorithm to enhance the image and color of the spectrum waterfall diagram. Label training, form a signal recognition model, and automatically extract the pattern characteristics of radio waves.

Benefits of technology

It improves the recognition ability of radio signals in complex environments, achieves fast and accurate signal recognition, reduces the requirements for the professional quality of operators, and improves the recognition efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119312061A_ABST
    Figure CN119312061A_ABST
Patent Text Reader

Abstract

The invention discloses a radio rapid signal identification method based on color enhancement image identification. The system comprises a radio fixed station monitoring data acquisition and processing module, a signal pattern labeling training module, a radio signal image preprocessing module and a signal monitoring module, wherein the radio fixed station monitoring data acquisition and processing module is used for acquiring and analyzing radio data; the signal pattern annotation training module is used for annotating and training the signals and performing deep neural network learning through an image recognition algorithm to obtain a signal recognition model; the radio signal image preprocessing module forms a corresponding waterfall plot according to frequency bands through image false color enhancement; and the signal monitoring module carries out signal identification, extraction and storage on the preprocessed signal waterfall. The method has the beneficial effects that the mode characteristics of radio waves can be automatically extracted, and the identification capability of radio signals in a complex environment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field related to electromagnetic spectrum monitoring, and in particular to a radio rapid signal recognition method based on color enhanced image recognition. Background Art

[0002] In recent years, with the rapid development of radio communication technology, from the initial shortwave communication to the current mobile communication, radio signals have become an indispensable part of life. However, with the increasing number of radio signals, radio signal monitoring has become more and more challenging.

[0003] At present, radio signal identification data is collected by various spectrum acquisition devices from the air. After processing, it is displayed in a visual way such as spectrum diagram, waterfall diagram, afterglow diagram, etc. Professionals analyze the time-frequency characteristics of the signal and find the target signal. This technology requires very high professional quality of the operator, and when the monitoring time becomes longer or there are more radio signals, the efficiency and accuracy will also drop significantly. Although it is also possible to use radio experts to select key features of the signal, such as the maximum power spectrum density, signal envelope, phase pulse and other signal characteristic parameters, and finally classify based on fixed rules or machine learning, this calculation complexity is very high. Affected by the diversity of signal waveforms and multipath fading effects, this multi-feature complex algorithm also lacks universality. Summary of the invention

[0004] The present invention aims to overcome the above-mentioned deficiencies in the prior art and provides a radio rapid signal recognition method based on color enhanced image recognition, which can improve the radio signal recognition capability in complex environments.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A radio fast signal recognition method based on color enhanced image recognition comprises a radio fixed station monitoring data acquisition and processing module, a signal pattern annotation training module, a radio signal image preprocessing module, and a signal monitoring module. The radio fixed station monitoring data acquisition and processing module is used to realize the acquisition of radio data and the analysis of radio data frames; the signal pattern annotation training module is used to annotate and train existing signals, and obtain a signal recognition model by annotating the signal of the waterfall chart and performing deep neural network learning through an image recognition algorithm; the radio signal image preprocessing module is used to form a corresponding waterfall chart according to the frequency band through image pseudo-color enhancement based on the collected monitoring data; the signal monitoring module is used to perform signal recognition on the preprocessed signal waterfall by calling the trained signal recognition model, extract the corresponding signal, and finally save these signals; the method comprises the following steps:

[0007] (1) The radio fixed station monitoring data acquisition and processing module issues frequency sweep monitoring tasks to the monitoring equipment through network monitoring. For the collected frequency sweep data, the deframing algorithm is called to deframe it, and the deframed data is saved in the form of a frequency sweep level matrix;

[0008] (2) The radio signal image preprocessing module reads the frequency sweep level matrix of the radio fixed station monitoring data acquisition and processing module, selects a period of time and frequency range to form a two-dimensional spectrum waterfall diagram, and enhances the image through pseudo-enhancement of image color to make it easier to find characteristic signals;

[0009] (3) The signal image annotation training module uses the waterfall chart formed by the historical monitoring task to annotate the signal in the waterfall chart by the signal annotation method, and forms the annotated waterfall chart into a training sample. The training is performed through the YOLO algorithm, and the training sample is divided into a training set and a validation set in a ratio of 2:1. The corresponding paths of the training set and the validation set are configured in the YOLO algorithm. The training is implemented by configuring the training yaml file, selecting the corresponding image segmentation function until the set parameters are met, and finally forming a signal recognition model that can be used for image signal recognition reasoning;

[0010] (4) The signal monitoring module uses the spectrum waterfall diagram obtained after preprocessing as input. The YOLO algorithm performs image segmentation on the spectrum waterfall diagram according to the trained model based on the category and position of the input image to obtain a concrete image signal. For the image signal, the image features are converted into waveform signal features and time / frequency signal features through pixel coordinates.

[0011] Long-term radio signal monitoring can form a level spectrum matrix, on which a spectrum waterfall diagram can be formed. Since the monitored signal-to-noise ratio is often around 30dB, and its level value is often between -10dBuv and 100dBuv, the commonly used levels are often concentrated in a certain section. Mapping the level grayscale value to 8 bits for image enhancement processing will result in serious loss of order information (indicating the brightness information of the three-color image). Therefore, it is necessary to perform corresponding enhancement according to the level signal value. Since artificial intelligence image recognition processing has unique advantages in waterfall diagram recognition, a spectrum waterfall diagram is formed after image enhancement through a frequency sweep level matrix. Using image recognition deep learning algorithms, the pattern characteristics of radio waves can be automatically extracted to improve the recognition ability of radio signals in complex environments.

[0012] Preferably, in step (1), the radio fixed station monitoring data acquisition and processing module issues a frequency sweep monitoring task to a certain monitoring station through a radio networking platform, obtains a corresponding socket frequency sweep data stream, calls an ultrashort wave atomic service protocol to deframe the socket frequency sweep data stream, and obtains corresponding task information. The deframed data is saved according to the frequency sweep level matrix for subsequent waterfall image generation; the obtained task information includes the following information:

[0013] <start_freq,end_freq,step>

[0014] Among them, start_freq represents the starting frequency of the task, end_freq represents the ending frequency of the task, and step represents the step size of this task.

[0015] Preferably, the socket frequency scanning data stream is processed according to the following process after deframing:

[0016] (11) Obtain the data after deframing the socket frequency sweep data stream. If it is the first frame of data received, determine whether its first frequency point is the task start frequency point. If it is not the task start frequency point, discard it until the data whose first frequency point is the task start frequency point is obtained, and record the time of its data frame;

[0017] (12) recording the data obtained in step (11), and sequentially obtaining the level values ​​of subsequent frequency points until the level value of the task end frequency point is obtained, thereby forming a one-dimensional complex sequence of level values, representing the spectrum at a certain time point;

[0018] (13) Multiple one-dimensional complex sequences of consecutive time points are stacked in sequence to form a frequency sweep level matrix. In this matrix, the horizontal axis represents the frequency point, the vertical axis represents the time, and the element value corresponds to the level value:

[0019]

[0020] Where tm represents the time of a complete scanning cycle, f i tj Indicates t j Time frequency f i The level value of this matrix also contains the task information of this task:<start_freq,end_freq,step> ;

[0021] (14) The new socket frequency sweep data stream forms a frequency sweep level matrix according to this processing flow.

[0022] Preferably, in step (2), specifically: the radio signal image preprocessing module forms a spectrum waterfall diagram according to the sweep frequency level matrix; the radio signal image preprocessing module starts from the task start time and obtains a sub-matrix of size 512*512. If the number of frequency points is not an integer multiple of 512, the last sub-matrix is ​​a sub-matrix with a column number less than 512; the time series needs to meet 512 time points. If the number of rows does not reach 512, wait for the radio fixed station monitoring data acquisition and processing module to accumulate enough data; after the sub-matrix is ​​selected, delete these sub-matrices from the original sweep frequency level matrix to avoid processing these data again in the next processing; in the sub-matrix, the element level value is mapped according to the grayscale value to obtain the corresponding grayscale spectrum waterfall diagram. In order to better display the image features for easy recognition, the color enhancement method is continued to be used on the basis of the grayscale image to perform color enhancement to form a spectrum waterfall diagram for subsequent signal recognition.

[0023] Preferably, in the color enhancement, color enhancement is performed according to the characteristics of radio level distribution, and the process is as follows:

[0024] (21) The frequency sweep level matrix is ​​subjected to bit depth quantization, and the quantization formula is as follows:

[0025] Graxy(x,y)=(Matrix(x,y)+20)*2 8 / 80

[0026] Where Graxy(x,y) represents the gray value of the pixel coordinate (x,y), Matrix(x,y) is the radio frequency sweep level matrix, and 80 represents the signal-to-noise ratio in radio detection;

[0027] (22) According to the characteristics of radio level, a grayscale enhancement algorithm is constructed to perform color enhancement. Based on step (21), a JET mapping function adapted to radio grayscale is constructed, and its mapping function is defined as WGLFC JET (R, G, B), where the mapping relationship between R, G, and B channels is as follows:

[0028]

[0029] (23) The color-enhanced RGB color space is transposed to the HSV color space to enhance the color, depth, and brightness. In order to enhance the color vividness of the image under the HSV model, the V channel is set to the maximum value of 1, and an enhancement coefficient is introduced to solve the problem of low image contrast caused by small frequency level fluctuations due to low device resolution.

[0030] Preferably, in step (3), the annotation is specifically as follows: the signal image annotation training module uses the labelme tool to annotate the color-enhanced spectrum waterfall diagram, annotates the signal according to each device, and monitors the corresponding signal recognition model for each device; performs signal annotation for each device, annotates one by one according to the service frequency band, and automatically generates annotation information of the image in the background by annotating the visual border; the annotation information refers to the json information of the signal border, identifies the outline of the signal through the spectrum diagram, and adds the corresponding signal label; after the annotation, it is converted into a corresponding txt file, including the number of the annotated signal, the coordinates of the contour point corresponding to the annotated signal on the diagram, the information of the image where the annotated signal is located, and the Base64 code of the image, so as to facilitate segmentation and recognition according to corresponding points during model training.

[0031] Preferably, in step (3), the training is specifically as follows: dividing and training the data set according to the annotated images, outputting the signal recognition model of each site, and naming the model using the MFID code of the device; in the training model, in order to enable the output layer to retain higher resolution features and reduce the probability of gradient vanishing, the ReLU nonlinear activation function is used to reduce the probability of neuron death during training:

[0032]

[0033] Here, x represents the pixel value of the image.

[0034] Preferably, in step (4), the image signal is obtained as follows: the signal monitoring module loads the corresponding model, takes the preprocessed spectrum waterfall diagram to be judged as input, and obtains a concrete signal image through the YOLO algorithm; first, for the spectrum waterfall diagram to be judged, obtain the monitoring station corresponding to its task, select the YOLO model trained by the monitoring station according to the MFID corresponding to the monitoring station, and extract the image signal related information by the model.

[0035] <tx,ty,tw,th,t0>

[0036] Wherein they represent the coordinates of the upper left point of the pixel signal image (tx, ty), tw represents the width of the pixel signal image border, th represents the height of the pixel signal image border, and t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx, ty) is extracted.

[0037] Preferably, in step (4), the image signal conversion is specifically as follows:

[0038] (41) Signal start frequency: Calculated by tx coordinates and image start coordinates. The calculation formula is as follows

[0039] freq_start=f0+(tx-t0)*step

[0040] Where freq_start represents the starting frequency of the signal, f0 represents the starting frequency corresponding to this spectrum waterfall diagram, tx represents the pixel coordinates of the upper left point of the pixel signal image border, t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted, and step represents the step size, which also represents the frequency span of a pixel point.

[0041] (42) Signal end frequency: Calculated by tx, tw and the start coordinates of the frequency domain waterfall diagram. The calculation formula is as follows:

[0042] freq_end=f0+(tx-t0+tw)*step

[0043] Where freq_end represents the end frequency of the signal, f0 represents the start frequency corresponding to this spectrum waterfall diagram, tx represents the pixel coordinates of the upper left corner of the pixel signal image border, t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted, tw represents the width of the pixel signal image border, and step represents the step size, which also represents the frequency span of a pixel point.

[0044] (43)Signal bandwidth and signal center frequency:

[0045] The signal bandwidth is obtained by subtracting the calculated start and end frequencies:

[0046] freq_width=(freq_end-freq_start);

[0047] The signal center frequency is calculated using the following formula:

[0048] freq_mid=(freq_end+freq_start) / 2;

[0049] (44) Signal start time: the matrix time corresponding to the signal start time passing through the pixel signal image border t0;

[0050] (45) Signal end time: The matrix time corresponding to the signal end time (ty+th) row.

[0051] The beneficial effects of the present invention are: a spectrum waterfall diagram is formed after image enhancement through a frequency sweep level matrix, and the pattern characteristics of radio waves can be automatically extracted by using an image recognition deep learning algorithm, thereby improving the recognition capability of radio signals in complex environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 is a flowchart of the method of the present invention;

[0053] Figure 2 is a flow chart of the method of the present invention;

[0054] Figure 3 It is a two-dimensional frequency waterfall diagram in a specific example of the present invention. DETAILED DESCRIPTION

[0055] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

[0056] like Figure 1 , Figure 2 In the described embodiment, in order to achieve faster and more accurate discovery of signals in complex environments, the present invention provides a radio rapid signal recognition method based on color enhanced image recognition, including a radio fixed station monitoring data acquisition and processing module, a signal pattern annotation training module, a radio signal image preprocessing module, and a signal monitoring module. The radio fixed station monitoring data acquisition and processing module is used to realize the acquisition of radio data and the analysis of radio data frames; the signal pattern annotation training module is used to annotate and train existing signals, and obtain a signal recognition model by annotating the signals of the waterfall chart and performing deep neural network learning through an image recognition algorithm; the radio signal image preprocessing module is used to form a corresponding waterfall chart according to the frequency band based on the collected monitoring data through image pseudo-color enhancement; the signal monitoring module is used to perform signal recognition on the preprocessed signal waterfall by calling the trained signal recognition model, extract the corresponding signal, and finally save these signals; specifically includes the following steps:

[0057] (1) The radio fixed station monitoring data acquisition and processing module issues frequency sweep monitoring tasks to the monitoring equipment through network monitoring. For the collected frequency sweep data, the deframing algorithm is called to deframe it, and the deframed data is saved in the form of a frequency sweep level matrix;

[0058] Specifically, the radio fixed station monitoring data acquisition and processing module issues a frequency sweep monitoring task to a monitoring station through the radio networking platform, obtains the corresponding socket frequency sweep data stream, calls the ultrashort wave atomic service protocol to deframe the data stream, and obtains the corresponding task information. The deframed data is saved according to the frequency sweep level matrix for subsequent waterfall image generation; the obtained task information includes the following information:

[0059] <start_freq,end_freq,step>

[0060] Among them, start_freq represents the starting frequency of the task, end_freq represents the ending frequency of the task, and step represents the step size of this task.

[0061] After the socket frequency sweep data stream is deframed, it is processed according to the following process:

[0062] (11) Obtain the data after deframing the socket frequency sweep data stream. If it is the first frame of data received, determine whether its first frequency point is the task start frequency point. If it is not the task start frequency point, discard it until the data whose first frequency point is the task start frequency point is obtained, and record the time of its data frame;

[0063] (12) recording the data obtained in step (11), and sequentially obtaining the level values ​​of subsequent frequency points until the level value of the task end frequency point is obtained, thereby forming a one-dimensional complex sequence of level values, representing the spectrum at a certain time point;

[0064] (13) Multiple one-dimensional complex sequences of consecutive time points are stacked in sequence to form a frequency sweep level matrix. In this matrix, the horizontal axis represents the frequency point, the vertical axis represents the time, and the element value corresponds to the level value:

[0065]

[0066] Where tm represents the time of a complete scanning cycle, f i tj Indicates t j Time frequency f i The level value of this matrix also contains the task information of this task:<start_freq,end_freq,step> ;

[0067] (14) The new socket frequency sweep data stream forms a frequency sweep level matrix according to this processing flow.

[0068] (2) The radio signal image preprocessing module reads the frequency sweep level matrix of the radio fixed station monitoring data acquisition and processing module, selects a period of time and frequency range to form a two-dimensional spectrum waterfall diagram, and enhances the image through pseudo-enhancement of image color to make it easier to find characteristic signals;

[0069] Specifically: the radio signal image preprocessing module forms a spectrum waterfall diagram according to the sweep level matrix; the radio signal image preprocessing module starts from the task start time and obtains a sub-matrix of size 512*512. If the number of frequency points is not an integer multiple of 512, the last sub-matrix is ​​a sub-matrix with less than 512 columns; the time series needs to meet 512 time points. If the number of rows does not reach 512, wait for the radio fixed station monitoring data acquisition and processing module to accumulate enough data; after the sub-matrix is ​​selected, delete these sub-matrices from the original sweep level matrix to avoid processing these data again in the next processing.

[0070] In the submatrix, the element level values ​​are mapped according to the grayscale values ​​to obtain the corresponding grayscale spectrum waterfall diagram. In order to better display the image features for easy identification, the color enhancement method is continued on the basis of the grayscale image to form a spectrum waterfall diagram for subsequent signal identification.

[0071] In color enhancement, color enhancement is performed according to the characteristics of radio level distribution, and the process is as follows:

[0072] (21) The frequency sweep level matrix is ​​subjected to bit depth quantization, and the quantization formula is as follows:

[0073] Graxy(x,y)=(Matrix(x,y)+20)*2 8 / 80

[0074] Where Graxy(x,y) represents the gray value of the pixel coordinate (x,y), Matrix(x,y) is the radio frequency sweep level matrix, and 80 represents the signal-to-noise ratio in radio detection;

[0075] (22) According to the characteristics of radio level, a grayscale enhancement algorithm is constructed to perform color enhancement. Based on step (21), a JET mapping function adapted to radio grayscale is constructed, and its mapping function is defined as WGLFC JET (R, G, B), where the mapping relationship between R, G, and B channels is as follows:

[0076]

[0077] (23) The RGB color space after color enhancement is transposed to the HSV color space to enhance the color, depth, and brightness. In order to enhance the color vividness of the image under the HSV model, the V channel is set to the maximum value of 1, and an enhancement coefficient is introduced to solve the problem of low image contrast caused by small frequency level fluctuations due to low device resolution. After color enhancement, the low-contrast image can achieve better adaptive enhancement.

[0078] (3) The signal image annotation training module uses the waterfall chart formed by the historical monitoring task to annotate the signal in the waterfall chart through the signal annotation method, and forms the annotated waterfall chart into a training sample. The training is performed through the YOLO algorithm, and the training sample is divided into a training set and a validation set in a ratio of 2:1. The corresponding paths of the training set and the validation set are configured in the YOLO algorithm. The training is implemented by configuring the training yaml file, and the corresponding image segmentation function is selected until the set parameters (confidence, recall rate, precision rate) are met. Finally, a signal recognition model that can be used for image signal recognition reasoning is formed;

[0079] The specific annotation is as follows: The signal image annotation training module uses the labelme tool to annotate the color-enhanced spectrum waterfall diagram. Taking into account the characteristics of the signal having a fixed working frequency band and continuous existence, and the same signal is affected by factors such as signal attenuation, elevation and equipment parameters, the signal is annotated according to each device, and a corresponding signal recognition model is supervised for each device.

[0080] Perform signal labeling for each device, labeling them one by one according to the service frequency band, and automatically generate labeling information for the image in the background by labeling the visual border; the labeling information refers to the json information of the signal border, and the outline of the signal is identified by the spectrum graph, and the corresponding signal label is added; after labeling, it is converted into a corresponding txt file, including the number of the labeled signal, the coordinates of the corresponding outline point of the labeled signal on the graph, the information of the image where the labeled signal is located, and the Base64 code of the image, so as to facilitate segmentation and identification according to the corresponding points during model training. The labeled content includes the following information:

[0081]

[0082] Signals are subject to many changes due to environmental influences. Therefore, based on the common characteristics of radio signals, signal annotations are divided into the following four categories for annotation:

[0083] ●Narrowband continuous signal (0.015, 0.9)

[0084] ●Broadband continuous signal (0.5, 0.9)

[0085] ●Narrowband instantaneous signal (0.025, 0.5)

[0086] ●Broadband instantaneous signal (0.469, 0.1)

[0087] The (x, y) after the signal represents the percentage of pixels in the image.

[0088] The specific training is as follows: divide and train the data set according to the labeled images, output the signal recognition model for each site, and name the model using the MFID code of the device; in the training model, in order to enable the output layer to retain higher-resolution features and reduce the probability of "gradient disappearance", use the ReLU nonlinear activation function to reduce the probability of neuron death during training:

[0089]

[0090] Here, x represents the pixel value of the image.

[0091] (4) The signal monitoring module uses the spectrum waterfall diagram obtained after preprocessing as input. The YOLO algorithm performs image segmentation on the spectrum waterfall diagram according to the trained model based on the category and position of the input image to obtain a concrete image signal. For the image signal, the image features are converted into waveform signal features and time / frequency signal features through pixel coordinates;

[0092] The specific steps of obtaining image signals are as follows: the signal monitoring module loads the corresponding model, takes the preprocessed spectrum waterfall diagram to be judged as input, and obtains the concrete signal image through the YOLO algorithm; first, for the spectrum waterfall diagram to be judged, obtain the monitoring station corresponding to its task, select the YOLO model trained by the monitoring station according to the MFID corresponding to the monitoring station, and extract the features of the model from the processed two-dimensional spectrum waterfall diagram to extract the information related to the image signal:

[0093] <tx,ty,tw,th,t0>

[0094] Wherein they represent the coordinates of the upper left point of the pixel signal image (tx,ty), tw represents the width of the pixel signal image border (number of pixels), th represents the height of the pixel signal image border (number of pixels), and t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted.

[0095] In order to convert the acquired image information into actual signal information, the following conversion is required to convert it into signal information in the radio field, specifically:

[0096] (41) Signal start frequency: Calculated by tx coordinates and image start coordinates. The calculation formula is as follows

[0097] freq_start=f0+(tx-t0)*step

[0098] Where freq_start represents the starting frequency of the signal, f0 represents the starting frequency corresponding to this spectrum waterfall diagram, tx represents the pixel coordinates of the upper left point of the pixel signal image border, t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted, and step represents the step size, which also represents the frequency span of a pixel point.

[0099] (42) Signal end frequency: Calculated by tx, tw and the start coordinates of the frequency domain waterfall diagram. The calculation formula is as follows:

[0100] freq_end=f0+(tx-t0+tw)*step

[0101] Where freq_end represents the end frequency of the signal, f0 represents the start frequency corresponding to this spectrum waterfall diagram, tx represents the pixel coordinates of the upper left corner of the pixel signal image border, t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted, tw represents the width of the pixel signal image border, and step represents the step size, which also represents the frequency span of a pixel point.

[0102] (43)Signal bandwidth and signal center frequency:

[0103] The signal bandwidth is obtained by subtracting the calculated start and end frequencies:

[0104] freq_width=(freq_end-freq_start)

[0105] The signal center frequency is calculated using the following formula:

[0106] freq_mid=(freq_end+freq_start) / 2

[0107] (44) Signal start time: the matrix time corresponding to the signal start time passing through the pixel signal image border t0;

[0108] (45) Signal end time: The matrix time corresponding to the signal end time (ty+th) row.

[0109] Through this conversion, the image target detection information is converted into radio signal parameters, which can facilitate business personnel to judge the signal characteristic parameters.

[0110] Specific examples are as follows:

[0111] The radio rapid signal recognition method based on color enhanced image recognition selects a monitoring facility in a certain province. First, a specific monitoring task is issued to the monitoring equipment through the networked monitoring work website, the corresponding data stream is obtained, the relevant data stream is converted into a spectrum diagram, the signal recognition of the image is completed, and finally the image information is converted back into radio signal characteristics to complete the signal recognition. The processing flow is as follows:

[0112] (a) Select a monitoring facility in a province and issue a monitoring task through the networked monitoring workstation website. The parameters are as follows:

[0113] Frequency range Start time End Time Trails Task 1 87M~300M 09:00 18:00 25K

[0114] (b) The system obtains the data stream through the socket and deframes it. After deframing, it forms a frequency sweep level matrix in the form of a complete time scan frame:

[0115] t1 d11 d12 d13 … d1n t2 … … … … … t3 … … … … … … … … … … … tm … … …… … dmn

[0116] Where tm is time, dij is the level value of the frequency point at the corresponding time;

[0117] (c) Read a matrix of corresponding size of 512*512 in the frequency sweep level matrix and convert the matrix into a grayscale image;

[0118] (d) The grayscale image is enhanced by color to form a two-dimensional frequency waterfall diagram, such as Figure 3 As shown;

[0119] (e) To generate a color-enhanced two-dimensional frequency waterfall diagram, call the model trained on the corresponding device to obtain the image information of the corresponding signal. This information includes:

[0120]

[0121] (f) Convert the image information into radio signal features according to the correspondence between pixels and frequencies.

[0122] At this point, a method for rapid radio signal recognition based on color enhanced image recognition is completed.

[0123] After experimental calculation, the present invention uses traditional digital signal processing methods to convert radio signals into a two-dimensional spectrum waterfall diagram, converts the radio signal recognition problem into target monitoring in the field of image recognition, and converts it into an RGB image with relatively obvious resolution through an enhancement algorithm. Then, by using the advanced achievements of artificial intelligence in the field of images, based on the YOLOv8 model, the radio signal recognition is converted from a monitoring parameter recognition problem to an image target monitoring problem. A signal recognition model for radio signal recognition is constructed, which realizes the conversion of the radio spectrum time domain diagram into a spectrum two-dimensional waterfall diagram, extracts the feature border of the signal based on the two-dimensional waterfall diagram, and finally converts it back into signal parameters. The visualized radio signal can be effectively identified, and the recognition effect is similar to that of the human eye, and the recognition speed can be completed within milliseconds. It brings new ways to intelligent radio signal recognition technology in complex electromagnetic environments in the future, and greatly improves the efficiency of radio business personnel in signal monitoring, identification and discovery.

Claims

1. A method for rapid radio signal recognition using color enhanced image recognition, characterized in that: The invention comprises a radio fixed station monitoring data acquisition and processing module, a signal pattern annotation training module, a radio signal image preprocessing module, and a signal monitoring module. The radio fixed station monitoring data acquisition and processing module is used to realize the acquisition of radio data and the analysis of radio data frames; the signal pattern annotation training module is used to annotate and train existing signals, annotate the signals of the waterfall chart, and obtain a signal recognition model by deep neural network learning through image recognition algorithm; the radio signal image preprocessing module is used to form a corresponding waterfall chart according to the frequency band through image pseudo-color enhancement based on the collected monitoring data; the signal monitoring module is used to perform signal recognition on the preprocessed signal waterfall by calling the trained signal recognition model, extract the corresponding signal, and finally save these signals; the invention specifically comprises the following steps: (1) The radio fixed station monitoring data acquisition and processing module issues frequency sweep monitoring tasks to the monitoring equipment through network monitoring. For the collected frequency sweep data, the deframing algorithm is called to deframe it, and the deframed data is saved in the form of a frequency sweep level matrix; (2) The radio signal image preprocessing module reads the frequency sweep level matrix of the radio fixed station monitoring data acquisition and processing module, selects a period of time and frequency range to form a two-dimensional spectrum waterfall diagram, and enhances the image through pseudo-enhancement of image color to make it easier to find characteristic signals; (3) The signal image annotation training module uses the waterfall chart formed by the historical monitoring task to annotate the signal in the waterfall chart by the signal annotation method, and forms the annotated waterfall chart into a training sample. The training is performed through the YOLO algorithm, and the training sample is divided into a training set and a validation set in a ratio of 2:

1. The corresponding paths of the training set and the validation set are configured in the YOLO algorithm. The training is implemented by configuring the training yaml file, selecting the corresponding image segmentation function until the set parameters are met, and finally forming a signal recognition model that can be used for image signal recognition reasoning; (4) The signal monitoring module uses the spectrum waterfall diagram obtained after preprocessing as input. The YOLO algorithm performs image segmentation on the spectrum waterfall diagram according to the trained model based on the category and position of the input image to obtain a concrete image signal. For the image signal, the image features are converted into waveform signal features and time / frequency signal features through pixel coordinates.

2. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 1, characterized in that: In step (1), specifically: the radio fixed station monitoring data acquisition and processing module issues a frequency sweep monitoring task to a certain monitoring station through the radio networking platform, obtains the corresponding socket frequency sweep data stream, calls the ultrashort wave atomic service protocol to deframe the data stream, and obtains the corresponding task information. The deframed data is saved according to the frequency sweep level matrix for subsequent waterfall image generation; the obtained task information includes the following information: <start_freq,end_freq,step> Among them, start_freq represents the starting frequency of the task, end_freq represents the ending frequency of the task, and step represents the step size of this task.

3. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 2, characterized in that: The socket frequency sweep data stream is processed according to the following process after deframing: (11) Obtain the data after deframing the socket frequency sweep data stream. If it is the first frame of data received, determine whether its first frequency point is the task start frequency point. If it is not the task start frequency point, discard it until the data whose first frequency point is the task start frequency point is obtained, and record the time of its data frame; (12) recording the data obtained in step (11), and sequentially obtaining the level values ​​of subsequent frequency points until the level value of the task end frequency point is obtained, thereby forming a one-dimensional complex sequence of level values, representing the spectrum at a certain time point; (13) Multiple one-dimensional complex sequences of consecutive time points are stacked in sequence to form a frequency sweep level matrix. In this matrix, the horizontal axis represents the frequency point, the vertical axis represents the time, and the element value corresponds to the level value: Where tm represents the time of a complete scanning cycle, f i tj Indicates t j Time frequency f i The level value of this matrix also contains the task information of this task:<start_freq,end_freq,step> ; (14) The new socket frequency sweep data stream forms a frequency sweep level matrix according to this processing flow.

4. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 1, characterized in that: In step (2), specifically: the radio signal image preprocessing module forms a spectrum waterfall diagram according to the sweep frequency level matrix; the radio signal image preprocessing module starts from the task start time and obtains a sub-matrix of size 512*512. If the number of frequency points is not an integer multiple of 512, the last sub-matrix is ​​a sub-matrix with a column number less than 512; the time series needs to meet 512 time points. If the number of rows does not reach 512, wait for the radio fixed station monitoring data acquisition and processing module to accumulate enough data; after the sub-matrix is ​​selected, delete these sub-matrices from the original sweep frequency level matrix to avoid processing these data again in the next processing; In the submatrix, the element level values ​​are mapped according to the grayscale values ​​to obtain the corresponding grayscale spectrum waterfall diagram. In order to better display the image features for easy identification, the color enhancement method is continued on the basis of the grayscale image to form a spectrum waterfall diagram for subsequent signal identification.

5. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 4, characterized in that: In the color enhancement, color enhancement is performed according to the characteristics of radio level distribution, and the process is as follows: (21) The frequency sweep level matrix is ​​subjected to bit depth quantization, and the quantization formula is as follows: Graxy(x,y)=(Matrix(x,y)+20)*2 8 / 80 Where Graxy(x,y) represents the gray value of the pixel coordinate (x,y), Matrix(x,y) is the radio frequency sweep level matrix, and 80 represents the signal-to-noise ratio in radio detection; (22) According to the characteristics of radio level, a grayscale enhancement algorithm is constructed to perform color enhancement. Based on step (21), a JET mapping function adapted to radio grayscale is constructed, and its mapping function is defined as WGLFC JET (R, G, B), where the mapping relationship between R, G, and B channels is as follows: (23) The color-enhanced RGB color space is transposed to the HSV color space to enhance the color, depth, and brightness. In order to enhance the color vividness of the image under the HSV model, the V channel is set to the maximum value of 1, and an enhancement coefficient is introduced to solve the problem of low image contrast caused by small frequency level fluctuations due to low device resolution.

6. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 1, characterized in that: In step (3), the labeling is specifically as follows: the signal image labeling training module uses the labelme tool to label the color-enhanced spectrum waterfall diagram, labels the signal according to each device, and monitors the corresponding signal recognition model for each device; the signal labeling work is performed on each device, and each device is labeled one by one according to the service frequency band. By labeling the visual border, the labeling information of the image in the background is automatically generated; The annotation information refers to the json information of the signal border. The signal outline is identified through the spectrum graph and the corresponding signal label is added. After annotation, it is converted into the corresponding txt file, including the number of the annotated signal, the coordinates of the contour point corresponding to the annotated signal on the graph, the information of the image where the annotated signal is located, and the Base64 code of the image, so as to facilitate segmentation and identification according to the corresponding points during model training.

7. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 1 or 6, characterized in that: In step (3), the training is as follows: divide and train the data set according to the labeled images, output the signal recognition model of each site, and name the model using the MFID code of the device; in the training model, in order to enable the output layer to retain higher resolution features and reduce the probability of gradient disappearance, use the ReLU nonlinear activation function to reduce the probability of neuron death during training: Here, x represents the pixel value of the image.

8. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 1, characterized in that: In step (4), the image signal is obtained as follows: the signal monitoring module loads the corresponding model, takes the preprocessed spectrum waterfall diagram to be judged as input, and obtains a concrete signal image through the YOLO algorithm; first, for the spectrum waterfall diagram to be judged, obtain the monitoring station corresponding to its task, select the YOLO model trained by the monitoring station according to the MFID corresponding to the monitoring station, and extract the image signal related information by the model. <tx,ty,tw,th,t0> Wherein, respectively represent the coordinates of the upper left point of the pixel signal image (tx, ty), tw represents the width of the pixel signal image border, th represents the height of the pixel signal image border, and t0 represents the starting time of the signal represented by the pixel signal image.

9. The method for rapid radio signal recognition based on color enhanced image recognition according to claim 8, characterized in that: In step (4), the image signal is converted as follows: (41) Signal start frequency: Calculated by tx coordinates and image start coordinates. The calculation formula is as follows freq_start=f0+(tx-t0)*step Where freq_start represents the starting frequency of the signal, f0 represents the starting frequency corresponding to this spectrum waterfall diagram, tx represents the pixel coordinates of the upper left point of the pixel signal image border, t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted, and step represents the step size, which also represents the frequency span of a pixel point. (42) Signal end frequency: Calculated by tx, tw and the start coordinates of the frequency domain waterfall diagram. The calculation formula is as follows: freq_end=f0+(tx-t0+tw)*step Where freq_end represents the end frequency of the signal, f0 represents the start frequency corresponding to this spectrum waterfall diagram, tx represents the pixel coordinates of the upper left corner of the pixel signal image border, t0 represents the coordinates of the first pixel point in the row where the pixel signal image (tx,ty) is extracted, tw represents the width of the pixel signal image border, and step represents the step size, which also represents the frequency span of a pixel point. (43)Signal bandwidth and signal center frequency: The signal bandwidth is obtained by subtracting the calculated start and end frequencies: freq_width=(freq_end-freq_start) The signal center frequency is calculated using the following formula: freq_mid=(freq_end+freq_start) / 2 (44) Signal start time: The signal start time passes through the pixel signal image border t0 time; (45) Signal end time: The time corresponding to the signal end time (ty+th) line.

Citation Information

Patent Citations

  • Radio signal identification method based on end-to-end convolutional neural network

    CN108764013A

  • Frequency hopping signal detection and parameter estimation method based on deep neural network

    CN111832462A

  • Method for modulating and identifying signal type by using yolov5 network model

    CN117135748A

Cited By

  • Radio signal real-time identification and detection method, system and electronic equipment

    CN121396361A

  • Unknown radio signal rapid identification method based on electromagnetic spectrum large model

    CN122332881A