Signal modulation method and system for generating radio signal color constellation diagram

Transforming radio signals into color constellation diagrams using red, green, and blue channels with normalized pixel values and candidate pixel identification improves the accuracy of modulation mode identification in radio signal analysis.

CN119135486APending Publication Date: 2024-12-13BEIJING AEROSPACE AIWEI ELECTRONICS TECH LIMITED +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411097340.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing radio signal modulation methods using machine learning models are limited by the transformation of radio signals into binary black and white images, which loses information and affects the accuracy of modulation mode identification.

Method used

Transforming radio signal sequences into color constellation diagrams by mapping signal components to red, green, and blue channels, normalizing pixel values, and identifying candidate pixels to generate a complete color image.

Benefits of technology

Enhances the processing capability of machine learning models for radio signal analysis by providing a color image that retains more information, improving the accuracy of modulation mode identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135486A_ABST
    Figure CN119135486A_ABST
Patent Text Reader

Abstract

The invention discloses a signal modulation method and system for generating a radio signal color constellation diagram, and belongs to the field of signal processing, and the method comprises the steps: mapping a radio signal sequence to a part of pixels of an image, and obtaining an initial image; the method comprises the following steps of: normalizing values of partial pixels in an image to be between 0 and 255 based on an initial image, marking a second pixel which is adjacent to a first pixel of which the pixel value is not 0 and of which the pixel value is 0 in the image as a candidate pixel, and generating a complete color constellation image by calculating the value of the candidate pixel. According to the method, a radio signal sequence is converted into a color image, human observation is facilitated, a machine learning model can be adopted for automatic processing, and the method has high application value in the field of radio signal analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing, and in particular to a signal modulation method and system for generating a color constellation diagram of a radio signal. Background Art

[0002] In the field of radio monitoring, the modulation mode of radio signals is usually determined. By transforming the radio signal sequence (I(i), Q(i)) into a constellation diagram, it is easy to determine the modulation mode of the radio signal. Usually, the constellation diagram is a binary black and white image with only one color channel. Obviously, some information is lost during the transformation process.

[0003] By using machine learning methods, the modulation mode of radio signals can be automatically determined based on the constellation diagram. Since the input of the machine learning model is a 3-channel color image, in order for the machine learning model to process the constellation diagram, one channel is usually copied into a 3-channel image. The machine learning model does not obtain more information, and there are more pixels with a gray value of 0 in the binary image, which affects the effect of the machine learning model.

[0004] If the radio signal sequence is transformed into a color constellation image with three channels, the effect of the machine learning model can be improved, and the accuracy of identifying the modulation type of the radio signal can be improved. The present invention is produced in response to such practical needs. Summary of the invention

[0005] In order to solve the above problems, the purpose of the present invention is to provide a method for transforming a radio signal sequence into a color constellation diagram, which is convenient for processing by a machine learning model and meets the demand for accurately identifying the modulation mode of the radio signal.

[0006] In order to achieve the above technical objectives, the present application provides a signal modulation method for generating a color constellation diagram of a radio signal, comprising the following steps:

[0007] Map the radio signal sequence onto some pixels of the image to obtain an initial image;

[0008] Based on the initial image, the values ​​of some pixels in the image are normalized to between 0 and 255, and the second pixel with a pixel value of 0 adjacent to the first pixel with a non-zero pixel value in the image is marked as a candidate pixel. By calculating the values ​​of the candidate pixels, a complete color constellation image is generated.

[0009] Preferably, in the process of acquiring the initial image, the radio signal sequence (I(i), Q(i)) is mapped to part of the pixels of the image to obtain the initial image, wherein each sampling point (I(i), Q(i)) is mapped to a pixel of the red component of the image; the component I(i) of each sampling point (I(i), Q(i)) is mapped to a pixel of the green component of the image. Each sampling point (I(i), Q(i)) is mapped to a pixel of the blue component of the image.

[0010] Preferably, in the process of acquiring the initial image, the maximum value I of the component I(i) is obtained. max and the minimum value Imin, the maximum value Q of component Q(i) max and minimum value Q min ; If the image size is m rows and m columns, for a radio signal sequence (I(i), Q(i)), i = 1.2, ..., n, the signal (I(i), Q(i)) is mapped to p rows and q columns of the image, p = 0, 1, ..., m-1, q = 0, 1, ..., m-1;

[0011] The calculation method is as follows:

[0012] p=[(I(i)-I min ) / (I max -I min )]×(m-1);

[0013] q=[(Q(i)-Q min ) / (Q max -Q min )]×(m-1);

[0014] The calculation results of P and q only take the integer part;

[0015] For the red component R(p,q) of the image, R(p,q) = the number of signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0016] For the green component G(p,q) of the image, G(p,q) = the average of the absolute values ​​of the I(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0017] For the blue component B(p,q) of the image, B(p,q) = the average of the absolute values ​​of the Q(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image.

[0018] Preferably, in the process of normalizing the values ​​of some pixels in the image to between 0 and 255, the pixel values ​​of the red component of the image are normalized to 0 or 255;

[0019] Normalize the pixel values ​​of the green component of the image to 0 or 128 to 255;

[0020] Normalizes the pixel values ​​of the blue component of the image to either 0 or 128 to 255.

[0021] Preferably, in the process of normalizing the red component of the image, for the red component R(p,q) of the image, if R(p,q)>0, the new value of R(p,q) is normalized to 255, otherwise, the new value of R(p,q) is normalized to 0; the red component of the image is a conventional binary constellation diagram.

[0022] Preferably, in the process of normalizing the green component of the image, for the green component G(p,q) of the image, the maximum green component G is first calculated. max and the smallest non-zero green component G min , if G(p,q)>0, then the new value of G(p,q) is normalized to:

[0023] [(G(p,q)-G min ) / (G max -G min )]×127+128,

[0024] Otherwise, the new value of G(p,q) is normalized to 0.

[0025] Preferably, in the process of normalizing the blue component of the image, for the blue component B(p,q) of the image, the maximum blue component B is first calculated. max and the smallest non-zero blue component B min , if B(p,q)>0, then the new value of B(p,q) is normalized to:

[0026] [(B(p,q)-B min ) / (B max -B min )]×127+128,

[0027] Otherwise, the new value of B(p,q) is normalized to 0.

[0028] Preferably, in the process of obtaining candidate pixels, in each image component, the pixels with a pixel value of 0 among the 8 adjacent pixels of each pixel with a non-zero pixel value are marked as candidate pixels. If there are no candidate pixels to be marked, it indicates that the pixel values ​​of all pixels are not 0, that is, a complete color constellation image is obtained.

[0029] Preferably, in the process of obtaining and calculating the values ​​of the candidate pixels, in each image component, the maximum pixel value f of the pixels adjacent to each candidate pixel whose pixel values ​​are not 0 is calculated. max , then the pixel value of the candidate pixel is: To ensure that the pixel value of the candidate pixel is greater than 0.

[0030] The present invention discloses a signal modulation system for generating a color constellation diagram of a radio signal, comprising:

[0031] A data processing module, used for mapping the radio signal sequence onto some pixels of the image to obtain an initial image;

[0032] The image generation module is used to normalize the values ​​of some pixels in the image to between 0 and 255 based on the initial image, and mark the second pixel with a pixel value of 0 adjacent to the first pixel with a non-zero pixel value in the image as a candidate pixel, and generate a complete color constellation image by calculating the values ​​of the candidate pixels.

[0033] The present invention discloses the following technical effects:

[0034] The present invention transforms a radio signal sequence into a color image, which is not only facilitating human observation but also can be automatically processed using a machine learning model, and has great application value in the field of radio signal analysis. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 It is a flow chart of the method steps described in the present invention. DETAILED DESCRIPTION

[0037] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0038] The present invention provides a signal modulation method for generating a radio signal color constellation diagram, comprising the following steps:

[0039] Map the radio signal sequence onto some pixels of the image to obtain an initial image;

[0040] Based on the initial image, the values ​​of some pixels in the image are normalized to between 0 and 255, and the second pixel with a pixel value of 0 adjacent to the first pixel with a non-zero pixel value in the image is marked as a candidate pixel. By calculating the values ​​of the candidate pixels, a complete color constellation image is generated.

[0041] Further preferably, in the signal modulation method provided by the present invention, in the process of acquiring the initial image, the radio signal sequence (I(i), Q(i)) is mapped to part of the pixels of the image to obtain the initial image, wherein each sampling point (I(i), Q(i)) is mapped to a pixel of the red component of the image; the component I(i) of each sampling point (I(i), Q(i)) is mapped to a pixel of the green component of the image. Each sampling point (I(i), Q(i)) is mapped to a pixel of the blue component of the image.

[0042] Further preferably, the signal modulation method provided by the present invention obtains the maximum value I of the component I(i) in the process of obtaining the initial image. max and the minimum value Imin, the maximum value Q of component Q(i) max and minimum value Q min ; If the image size is m rows and m columns, for a radio signal sequence (I(i), Q(i)), i = 1.2, ..., n, the signal (I(i), Q(i)) is mapped to p rows and q columns of the image, p = 0, 1, ..., m-1, q = 0, 1, ..., m-1;

[0043] The calculation method is as follows:

[0044] p=[(I(i)-I min ) / (I max -I min )]×(m-1);

[0045] q=[(Q(i)-Q min ) / (Q max -Q min )]×(m-1); only the integer part of the result is taken;

[0046] For the red component R(p,q) of the image, R(p,q) = the number of signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0047] For the green component G(p,q) of the image, G(p,q) = the average of the absolute values ​​of the I(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0048] For the blue component B(p,q) of the image, B(p,q) = the average of the absolute values ​​of the Q(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image.

[0049] Further preferably, in the signal modulation method provided by the present invention, in the process of normalizing the values ​​of some pixels in the image to between 0 and 255, the pixel value of the red component of the image is normalized to 0 or 255;

[0050] Normalize the pixel values ​​of the green component of the image to 0 or 128 to 255;

[0051] Normalizes the pixel values ​​of the blue component of the image to either 0 or 128 to 255.

[0052] Further preferably, in the signal modulation method provided by the present invention, in the process of normalizing the red component of the image, for the red component R(p,q) of the image, if R(p,q)>0, the new value of R(p,q) is normalized to 255, otherwise, the new value of R(p,q) is normalized to 0; the red component of the image is a conventional binary constellation diagram.

[0053] Further preferably, in the signal modulation method provided by the present invention, in the process of normalizing the green component of the image, for the green component G(p,q) of the image, firstly, the maximum green component G max and the smallest non-zero green component G min , if G(p,q)>0, then the new value of G(p,q) is normalized to:

[0054] [(G(p,q)-G min ) / (G max -G min )]×127+128,

[0055] Otherwise, the new value of G(p,q) is normalized to 0.

[0056] Further preferably, in the signal modulation method provided by the present invention, in the process of normalizing the blue component of the image, for the blue component B(p,q) of the image, firstly, the maximum blue component B is calculated. max and the smallest non-zero blue component B min , if B(p,q)>0, then the new value of B(p,q) is normalized to:

[0057] [(B(p,q)-B min ) / (B max -B min )]×127+128,

[0058] Otherwise, the new value of B(p,q) is normalized to 0.

[0059] Further preferably, in the signal modulation method provided by the present invention, in the process of obtaining candidate pixels, in each image component, the pixels with a pixel value of 0 among the 8 adjacent pixels of each pixel with a non-zero pixel value are marked as candidate pixels; if there are no candidate pixels to be marked, it indicates that the pixel values ​​of all pixels are not 0, i.e., a complete color constellation image is obtained.

[0060] Further preferably, in the signal modulation method provided by the present invention, in the process of obtaining and calculating the value of the candidate pixel, in each image component, the maximum pixel value f of the pixels adjacent to each candidate pixel whose pixel values ​​are not 0 is calculated. max , then the pixel value of the candidate pixel is: To ensure that the pixel value of the candidate pixel is greater than 0.

[0061] The present invention discloses a signal modulation system for generating a color constellation diagram of a radio signal, comprising:

[0062] A data processing module, used for mapping the radio signal sequence onto some pixels of the image to obtain an initial image;

[0063] The image generation module is used to normalize the values ​​of some pixels in the image to between 0 and 255 based on the initial image, and mark the second pixel with a pixel value of 0 adjacent to the first pixel with a non-zero pixel value in the image as a candidate pixel, and generate a complete color constellation image by calculating the values ​​of the candidate pixels.

[0064] In the embodiment, the present invention provides a flow chart of a method for generating a color constellation diagram of a radio signal. Figure 1 As shown, the method includes:

[0065] (1) Calculate the initial value of the image pixel. Use the radio signal sequence (I(i), Q(i)) to calculate the value of some pixels of the image.

[0066] The radio signal sequence (I(i), Q(i)) is mapped to some pixels of the image to obtain the initial image. Each sampling point (I(i), Q(i)) is mapped to a pixel of the red component of the image; the component I(i) of each sampling point (I(i), Q(i)) is mapped to a pixel of the green component of the image. Each sampling point (I(i), Q(i)) is mapped to a pixel of the blue component of the image.

[0067] In the specific implementation, first calculate the maximum value I of component I(i) in the entire signal library max and minimum value I min , the maximum value Q of component Q(i) max and minimum value Q minIf the image size is m rows and m columns, for a radio signal sequence (I(i), Q(i)), i = 1.2, ..., n, the signal (I(i), Q(i)) is mapped to p rows and q columns of the image, p = 0, 1, ..., m-1, q = 0, 1, ..., m-1. The calculation method is as follows:

[0068] p=[(I(i)-I min ) / (I max -I min )]×(m-1);

[0069] q=[(Q(i)-Q min ) / (Q max -Q min )]×(m-1);

[0070] In the above two formulas, only the integer part of the result is taken.

[0071] For the red component R(p,q) of the image, R(p,q) = the number of signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0072] For the green component G(p,q) of the image, G(p,q) = the average of the absolute values ​​of the I(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0073] For the blue component B(p,q) of the image, then B(p,q) = the average of the absolute values ​​of the Q(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image;

[0074] (2) Pixel value normalization: Normalize the values ​​of some pixels in the image to between 0 and 255.

[0075] The pixel values ​​of the red component of the image are normalized to 0 or 255; the pixel values ​​of the green component of the image are normalized to 0 or 128 to 255; and the pixel values ​​of the blue component of the image are normalized to 0 or 128 to 255.

[0076] In specific implementation, for the red component R(p,q) of the image, if R(p,q)>0, the new value of R(p,q) is normalized to 255, otherwise, the new value of R(p,q) is normalized to 0; the red component of the image is a conventional binary constellation diagram.

[0077] For the green component G(p,q) of the image, first calculate the maximum green component G max and the smallest non-zero green component G min , if G(p,q)>0, then the new value of G(p,q) is normalized to:

[0078] [(G(p,q)-G min ) / (G max -G min )]×127+128,

[0079] Otherwise, the new value of G(p,q) is normalized to 0;

[0080] For the blue component B(p,q) of the image, first calculate the maximum blue component B max and the smallest non-zero blue component B min , if B(p,q)>0, then the new value of B(p,q) is normalized to:

[0081] [(B(p,q)-B min ) / (B max -B min )]×127+128,

[0082] Otherwise, the new value of B(p,q) is normalized to 0;

[0083] (3) Mark candidate pixels. Mark pixels with a pixel value of 0 that are adjacent to pixels with a non-zero pixel value in the image as candidate pixels.

[0084] In each component of the image, the pixels with a pixel value of 0 adjacent to the pixels with a non-zero pixel value are marked as candidate pixels. If there are no candidate pixels, the process ends and a complete color constellation image is obtained.

[0085] In specific implementation, in each image component, the pixels with a pixel value of 0 among the 8 adjacent pixels of each pixel with a non-0 pixel value are marked as candidate pixels. If there are no candidate pixels to mark, it means that the pixel values ​​of all pixels are not 0, and a complete color constellation image has been obtained.

[0086] (4) Calculate the value of the candidate pixel. Calculate the value of the candidate pixel based on the pixels adjacent to the candidate pixel whose values ​​are not 0. After the calculation, go to step (3).

[0087] In specific implementation, in each image component, the maximum pixel value f of the pixels adjacent to each candidate pixel whose pixel values ​​are not 0 is calculated. max , then the pixel value of the candidate pixel is: To ensure that the pixel value of the candidate pixel is greater than 0.

[0088] The present invention transforms a radio signal sequence into a color image, which is not only facilitating human observation but also can be automatically processed using a machine learning model, and has great application value in the field of radio signal analysis.

[0089] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0090] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0091] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A signal modulation method for generating a color constellation diagram of a radio signal, characterized in that: The following steps are involved: Map the radio signal sequence onto some pixels of the image to obtain an initial image; Based on the initial image, the values ​​of some pixels in the image are normalized to between 0 and 255, and a second pixel with a pixel value of 0 adjacent to a first pixel with a non-zero pixel value in the image is marked as a candidate pixel, and a complete color constellation image is generated by calculating the values ​​of the candidate pixels.

2. The signal modulation method for generating a color constellation diagram of a radio signal according to claim 1, characterized in that: In the process of acquiring the initial image, the radio signal sequence (I(i), Q(i)) is mapped to some pixels of the image to obtain the initial image, wherein each sampling point (I(i), Q(i)) is mapped to a pixel of the red component of the image; the component I(i) of each sampling point (I(i), Q(i)) is mapped to a pixel of the green component of the image. Each sampling point (I(i), Q(i)) is mapped to a pixel of the blue component of the image.

3. The signal modulation method for generating a color constellation diagram of a radio signal according to claim 2, characterized in that: In the process of obtaining the initial image, obtain the maximum value I of component I(i) max and minimum value I min , the maximum value Q of component Q(i) max and minimum Q min ; If the image size is m rows and m columns, for a radio signal sequence (I(i), Q(i)), i = 1.2, ..., n, the signal (I(i), Q(i)) is mapped to p rows and q columns of the image, p = 0, 1, ..., m-1, q = 0, 1, ..., m-1; The calculation method is as follows: p=[(I(i)-I min ) / (I max -I min )]×(m-1); q=[(Q(i)-Q min ) / (Q max -Q min )]×(m-1); only the integer part of the result is taken; For the red component R(p,q) of the image, R(p,q) = the number of signals (I(i), Q(i)) mapped to the p rows and q columns of the image; For the green component G(p,q) of the image, G(p,q) = the average of the absolute values ​​of the I(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image; For the blue component B(p,q) of the image, B(p,q) = the average of the absolute values ​​of the Q(i) components of the signals (I(i), Q(i)) mapped to the p rows and q columns of the image.

4. The signal modulation method for generating a color constellation diagram of a radio signal according to claim 3, characterized in that: In the process of normalizing the values ​​of some pixels in the image to between 0 and 255, the pixel value of the red component of the image is normalized to 0 or 255; Normalize the pixel values ​​of the green component of the image to 0 or 128 to 255; Normalizes the pixel values ​​of the blue component of the image to either 0 or 128 to 255.

5. A signal modulation method for generating a color constellation diagram of a radio signal according to claim 4, characterized in that: In the process of normalizing the red component of the image, for the red component R(p,q) of the image, if R(p,q)>0, the new value of R(p,q) is normalized to 255, otherwise, the new value of R(p,q) is normalized to 0; the red component of the image is a conventional binary constellation diagram.

6. A signal modulation method for generating a color constellation diagram of a radio signal according to claim 5, characterized in that: In the process of normalizing the green component of the image, for the green component G(p,q) of the image, first calculate the maximum green component Gmax and the minimum non-zero green component Gmin. If G(p,q)>0, the new value of G(p,q) is normalized as follows: [(G(p,q)-G min ) / (G max -G min )]×127+128, Otherwise, the new value of G(p,q) is normalized to 0.

7. A signal modulation method for generating a color constellation diagram of a radio signal according to claim 6, characterized in that: In the process of normalizing the blue component of the image, for the blue component B(p,q) of the image, first calculate the maximum blue component Bmax and the minimum non-zero blue component Bmin. If B(p,q)>0, the new value of B(p,q) is normalized as follows: [(B(p,q)-B min ) / (B max -B min )]×127+128, Otherwise, the new value of B(p,q) is normalized to 0.

8. A signal modulation method for generating a color constellation diagram of a radio signal according to claim 7, characterized in that: In the process of obtaining candidate pixels, in each image component, the pixels with a pixel value of 0 among the 8 adjacent pixels of each pixel with a non-zero pixel value are marked as candidate pixels. If there are no candidate pixels to be marked, it indicates that the pixel values ​​of all pixels are not 0, that is, a complete color constellation image is obtained.

9. A signal modulation method for generating a color constellation diagram of a radio signal according to claim 8, characterized in that: In the process of obtaining and calculating the values ​​of candidate pixels, in each image component, the maximum pixel value f of the pixels adjacent to each candidate pixel whose pixel values ​​are not 0 is calculated. max , then the pixel value of the candidate pixel is: To ensure that the pixel value of the candidate pixel is greater than 0.

10. A signal modulation system for generating a color constellation diagram of a radio signal, characterized in that: include: A data processing module, used for mapping the radio signal sequence onto some pixels of the image to obtain an initial image; The image generation module is used to normalize the values ​​of some pixels in the image to between 0 and 255 based on the initial image, and mark the second pixel with a pixel value of 0 adjacent to the first pixel with a non-zero pixel value in the image as a candidate pixel, and generate a complete color constellation image by calculating the values ​​of the candidate pixels.