A signal modulation mode identification method and system

Through the symbol rate and modulation type identification method of the frequency-free IQ channel sampling signal and the frequency-added offset I channel signal, the computational complexity of signal modulation mode identification is reduced, and the high-complexity and high-order QAM identification in the existing technology is solved. It solves the problem of low rate and achieves effective identification of multiple modulation modes.

CN115550124BActive Publication Date: 2024-09-13中孚安全技术有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211170756.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2024-09-13
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

Existing signal modulation mode identification methods are highly complex, the clustering algorithm relies on universal demodulation algorithms, and the high-order QAM recognition rate is low, making it difficult to effectively identify multiple modulation modes.

Method used

The symbol rate and modulation type identification method based on the IQ channel sampling signal without frequency offset and the frequency-added offset I channel signal is adopted. Through extreme point screening, constellation diagram recovery, polar coordinate conversion and parameter calculation, the signal modulation method is determined and the calculation is reduced. Complexity, suitable for identification of multiple modulation methods.

Benefits of technology

It realizes low-complexity signal modulation mode identification and is suitable for FPGA or DSP. In addition to multi-carrier modulation signals, it can also automatically identify MASK, MPSK, MQAM and other modulation modes, improving the recognition success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550124B
    Figure CN115550124B
Patent Text Reader

Abstract

The present invention discloses a signal modulation mode identification method and system, comprising: obtaining a code element rate and a modulation type according to a frequency-free IQ path signal, a frequency-added I path signal, a sampling rate and a bandwidth; selecting effective extreme value points for the frequency-free I path signal, and sequentially performing forward calculations and backward calculations with the maximum extreme value point as the starting reference extreme value point to obtain a code element position sequence; obtaining a constellation diagram IQ symbol according to the frequency-free IQ path signal and the code element position sequence; performing polar coordinate conversion on the constellation diagram IQ symbol to obtain an amplitude and a phase, and determining a first identification parameter according to the phase difference between the front and rear symbols; constructing a new rectangular coordinate system after filtering the symbol points according to the amplitude, classifying the phase with the new rectangular coordinate system, and counting the number of quadrants occupied by the phase; calculating the complex amplitude of the frequency-free IQ path signal, and obtaining a second identification parameter according to the maximum value, minimum value and mean value of the complex amplitude; and determining the signal modulation mode according to the above parameters. The calculation complexity is low, and it can be applied to a variety of modulation modes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communication monitoring, and in particular to a signal modulation mode identification method and system. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In wireless communication systems, all-digital modulation and demodulation technology is widely used. Currently, the commonly used digital modulation methods include 2 / 4ASK, GMSK, BPSK, QPSK, OQPSK, 8PSK, 16 / 32 / 64 / 128 / 256QAM, OFDM, etc. Automatic recognition technology of modulation methods is indispensable in the field of wireless signal supervision. Only by correctly identifying the signal modulation method can subsequent signal processing be carried out in a targeted manner.

[0004] The existing signal modulation identification method process includes:

[0005] (1) Signal preprocessing: Using a general demodulation algorithm, the symbol-synchronized complex baseband signal is demodulated from the intermediate frequency signal.

[0006] (2) Using adaptive subtractive clustering based on signal-to-noise ratio estimation, the initial number and initial position of cluster centers are given;

[0007] (3) Reconstruct the constellation diagram using the C-means clustering algorithm or the fuzzy C-means clustering algorithm;

[0008] (4) The modulation mode is identified using a generalized likelihood ratio test (GLRT) based on the reconstructed constellation diagram. When SNR = 5 dB, the bit error rate is 16%.

[0009] However, the clustering algorithm of this method is highly complex and relies on a general demodulation algorithm.

[0010] The existing signal modulation identification method process also includes:

[0011] (1) Convert the intercepted signal into a complex signal form and design a code element truncation data matrix A whose recognition accuracy increases with the increase of the number of code element sampling points;

[0012] (2) Analyze all digital modulation signal types, calculate the singular value of A, extract the modulation information such as amplitude and phase contained in the intercepted data, and compare it with the digital modulation signal to realize signal modulation mode identification.

[0013] However, the matrix algorithm of this method is complex and the recognition rate of high-order QAM is low. Summary of the invention

[0014] In order to solve the above problems, the present invention proposes a signal modulation mode identification method and system, which has low computational complexity and can be applied to the identification of various modulation modes.

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

[0016] In a first aspect, the present invention provides a method for identifying a signal modulation mode, comprising:

[0017] Obtaining a symbol rate and a modulation type according to a non-frequency-offset IQ channel sampling signal to be modulated, a frequency-offset I channel signal, a sampling rate, and a bandwidth;

[0018] The effective extreme value points are screened for the frequency-bias-free I-channel sampling signal to be modulated, and the forward calculation and the backward calculation are performed in sequence with the maximum extreme value point as the starting reference extreme value point. Specifically, the position sequence between the two points is determined according to the difference between the current effective extreme value point and the reference extreme value point, as well as the symbol rate and the sampling rate, until all effective extreme value points are traversed to obtain the symbol position sequence;

[0019] Obtaining constellation IQ symbols according to the frequency-biased IQ path sampling signal to be modulated and the symbol position sequence;

[0020] The IQ symbols of the constellation diagram are converted into polar coordinates to obtain amplitude and phase, and the first identification parameter is determined according to the phase difference between the previous and next symbols; a new rectangular coordinate system is constructed after filtering the symbol points according to the amplitude, and the phase is classified by the new rectangular coordinate system, and the number of quadrants occupied by the phase is counted;

[0021] Calculate the complex amplitude of the frequency-offset-free IQ path sampling signal to be modulated, and obtain a second identification parameter according to the maximum value, minimum value, and average value of the complex amplitude;

[0022] The signal modulation mode is determined according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter.

[0023] As an optional implementation, the process of determining the symbol rate and the modulation type includes:

[0024] According to the I-channel sampling signal without frequency deviation to be modulated, the sampling rate and the bandwidth, the symbol rate and the modulation type are obtained, and according to the I-channel signal with frequency deviation, the sampling rate and the bandwidth, the symbol rate offset value is obtained;

[0025] If the symbol rate offset value is not 0, the symbol rate correction value is calculated based on the symbol rate, sampling rate and bandwidth;

[0026] If the absolute value of the difference between the symbol rate and the symbol rate correction value, the absolute value of the difference between the symbol rate and the symbol rate offset value, and the symbol rate correction value are all greater than the corresponding set thresholds, and the modulation type is not FM, the symbol rate is updated according to the symbol rate correction value, and the modulation type is set to GMSK.

[0027] As an optional implementation, the symbol rate identification step includes:

[0028] Set the maximum noise threshold, search for the extreme point index max_fft_ind, the number of extreme points cnt, and record the extreme value max_fft;

[0029] If the number of extreme points cnt is greater than 0, half of the maximum value of the extreme value max_fft is used as the maximum noise threshold, and the extreme point index max_fft_ind is deleted to obtain the deleted index ind_tmp, and the number of deleted indexes tmp_cnt is recorded;

[0030] Search the point set ind with twice the spacing in the deleted index ind_tmp, and record the number of point sets fb_cnt; specifically, if fb_cnt=0 and tmp_cnt>=1, set fb_cnt=1 and record ind(1)=ind_tmp(1); if fb_cnt>0, search for a value whose distance is an integer multiple of ind(1) in the subsequent position of ind_tmp;

[0031] Determine whether fb_cnt is greater than 4. If so, set the symbol rate to 0 and the modulation type to FM.

[0032] Otherwise, determine whether fb_cnt is equal to 0. If so, set the symbol rate to 0 and the modulation type to NONE.

[0033] Otherwise, the symbol rate is calculated according to the first extreme point ind(1): Symbol_rate=(ind(1)) / 4096*fs / 4, where fs is the sampling rate.

[0034] As an optional implementation, it is determined whether the position sequence between two points is valid. If the position sequence is invalid, the next valid extreme value point is calculated. If the position sequence is valid, the current valid extreme value point is used as a reference extreme value point, and the next valid extreme value point is calculated until all valid extreme value points are traversed to obtain a symbol position sequence.

[0035] Among them, the minimum number of sampling points in the symbol a=floor(fs / symbol_rate) is obtained according to the symbol rate symbol_rate and the sampling rate fs, c=ceil(tmp / (a+1)) is calculated according to the difference tmp between the current valid extreme point and the reference extreme point and the minimum number of sampling points a, and then x=c*(a+1)-tmp, y=cx are calculated; if x<0 or y<0, the current valid extreme point is invalid, otherwise it is valid.

[0036] As an optional implementation, the process of determining the first identification parameter includes:

[0037] Calculate the phase difference between the previous and next symbols. If the absolute value of the difference between the previous and next symbols and 180 is less than the error value, set the first identification parameter qpsk_flag to 1.

[0038] Filter the points whose amplitude is less than the threshold value, and recalculate the phase difference between the previous and next symbols and the deviation of the phase difference from 45°. If there is a point whose deviation is less than the error value, set the first identification parameter qpsk_flag to 2 and the first identification parameter qam_flag to 1.

[0039] As an optional implementation, the process of determining the second identification parameter includes:

[0040] Calculate the symbol sequence symbol_r and the maximum value r_max and the minimum value r_min of the complex amplitude r, then the second identification parameter Alpha = r_max*128 / r_min;

[0041] After setting the values ​​of symbol_r that are less than 2 / 7*r_max to 0, the mean r_mean of symbol_r is calculated, and the second recognition parameter Beta=r_mean*128 / r_max.

[0042] As an optional implementation, the signal modulation mode determination process includes:

[0043] (1) Determine whether the quadrant number xy_cnt occupied by the phase is 1. If xy_cnt==1, determine whether the second identification parameter Beta is greater than the first threshold. If so, the signal modulation mode is 4ASK. If not, the signal modulation mode is 2ASK.

[0044] (2) If xy_cnt!=1, determine whether the modulation type is GMSK. If so, the signal modulation mode is GMSK. If not, determine whether the modulation type is FM. If so, the signal modulation mode is FM. If not, determine whether the second identification parameter Alpha is less than the second threshold;

[0045] (3) If the second identification parameter Alpha is less than the second threshold, determine whether the quadrant number xy_cnt occupied by the phase is less than 3. If so, the signal modulation mode is BPSK; if not, determine whether the first identification parameter qpsk_flag is 1. If so, the signal modulation mode is QPSK; if not, determine whether the first identification parameter qpsk_flag is 2. If so, the signal modulation mode is 8PSK. If not, the signal modulation mode is 0QPSK;

[0046] (4) If the second identification parameter Alpha is not less than the second threshold, determine whether the first identification parameter qam_flag is 1; if not, determine whether the second identification parameter Alpha is less than the fourth threshold; if so, the signal modulation mode is 32QAM; if not, the signal modulation mode is 128QAM;

[0047] (5) If the first identification parameter qam_flag==1, then determine whether the second identification parameter Alpha is less than the third threshold value. If so, the signal modulation method is 16QAM. If not, then determine whether the second identification parameter Alpha is less than the fifth threshold value TH4. If so, the signal modulation method is 64QAM. If not, the signal modulation method is 256QAM.

[0048] In a second aspect, the present invention provides a signal modulation mode identification system, comprising:

[0049] A symbol rate identification module is configured to obtain a symbol rate and a modulation type according to a non-frequency-offset IQ path sampling signal to be modulated, a frequency-offset I path signal, a sampling rate and a bandwidth;

[0050] The code element position sequence recognition module is configured to screen effective extreme value points for the frequency-bias-free I-channel sampling signal to be modulated, and perform forward calculation and backward calculation in sequence with the maximum extreme value point as the starting reference extreme value point, specifically determining the position sequence between the two points according to the difference between the current effective extreme value point and the reference extreme value point, as well as the code element rate and the sampling rate, until all effective extreme value points are traversed to obtain the code element position sequence;

[0051] A constellation symbol recovery module is configured to obtain a constellation IQ symbol according to a frequency-bias-free IQ path sampling signal to be modulated and a symbol position sequence;

[0052] The phase deviation correction module is configured to convert the IQ symbols of the constellation diagram into polar coordinates to obtain amplitude and phase, and determine the first identification parameter according to the phase difference between the previous and next symbols; after filtering the symbol points according to the amplitude, a new rectangular coordinate system is constructed, and the phase is classified by the new rectangular coordinate system, and the number of quadrants occupied by the phase is counted;

[0053] A parameter identification module is configured to calculate the complex amplitude of the frequency-bias-free IQ path sampling signal to be modulated, and obtain a second identification parameter according to the maximum value, minimum value and average value of the complex amplitude;

[0054] The modulation mode identification module is configured to determine the signal modulation mode according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter.

[0055] In a third aspect, the present invention provides an electronic device comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in the first aspect is performed.

[0056] In a fourth aspect, the present invention provides a computer-readable storage medium for storing computer instructions, wherein when the computer instructions are executed by a processor, the method described in the first aspect is performed.

[0057] Compared with the prior art, the present invention has the following beneficial effects:

[0058] The present invention proposes a signal modulation mode identification method and system, which uses a code rate identification algorithm and a code element conversion point identification algorithm to analyze the signal code rate and other characteristic information; uses a constellation diagram recovery algorithm to recover the signal symbol information, avoiding the error of the code element switching point and the rising and falling edges of the code element caused by filtering; uses a phase deviation correction algorithm to obtain phase information and obtain parameters related to modulation mode identification; calculates the constellation diagram amplitude ratio characteristics through polar coordinate transformation; and finally determines the signal modulation mode based on all characteristic information. The computational complexity is low, and it is particularly suitable for FPGA or DSP. In addition to the multi-carrier modulation signal MFSK / OFDM, it can also automatically identify modulation modes such as MASK, MPSK, and MQAM.

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

[0060] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0061] Figure 1 A schematic diagram of a flow chart of a signal modulation mode identification method provided in Embodiment 1 of the present invention;

[0062] Figure 2 A schematic flow chart of a method for overall identification of symbol rate and modulation type provided in Embodiment 1 of the present invention;

[0063] Figure 3A schematic diagram of a symbol rate identification process provided in Embodiment 1 of the present invention;

[0064] Figure 4 A schematic diagram of a symbol position sequence recognition process provided in Embodiment 1 of the present invention;

[0065] Figure 5 A schematic diagram of a constellation diagram IQ symbol recognition process provided in Example 1 of the present invention;

[0066] Figure 6 A schematic diagram of the overall identification process of the first identification parameter provided in Example 1 of the present invention;

[0067] Figure 7 A schematic diagram of a polar coordinate conversion process provided in Example 1 of the present invention;

[0068] Figure 8 A schematic diagram of a first identification parameter identification process provided in Example 1 of the present invention;

[0069] Fig. 9 A schematic diagram of a phase deviation calculation process provided in Example 1 of the present invention;

[0070] Fig.10 A schematic diagram of a second identification parameter identification process provided in Example 1 of the present invention;

[0071] Fig.11 A schematic diagram of the signal modulation method identification process provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0072] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0073] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0074] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0075] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0076] Example 1

[0077] This embodiment provides a method for identifying a signal modulation mode. Figure 1 As shown, including:

[0078] Obtaining a symbol rate and a modulation type according to a non-frequency-offset IQ channel sampling signal to be modulated, a frequency-offset I channel signal, a sampling rate, and a bandwidth;

[0079] The effective extreme value points are screened for the frequency-bias-free I-channel sampling signal to be modulated, and the forward calculation and the backward calculation are performed in sequence with the maximum extreme value point as the starting reference extreme value point. Specifically, the position sequence between the two points is determined according to the difference between the current effective extreme value point and the reference extreme value point, as well as the symbol rate and the sampling rate, until all effective extreme value points are traversed to obtain the symbol position sequence;

[0080] Obtaining constellation IQ symbols according to the frequency-biased IQ path sampling signal to be modulated and the symbol position sequence;

[0081] The IQ symbols of the constellation diagram are converted into polar coordinates to obtain amplitude and phase, and the first identification parameter is determined according to the phase difference between the previous and next symbols; a new rectangular coordinate system is constructed after filtering the symbol points according to the amplitude, and the phase is classified by the new rectangular coordinate system, and the number of quadrants occupied by the phase is counted;

[0082] Calculate the complex amplitude of the frequency-offset-free IQ path sampling signal to be modulated, and obtain a second identification parameter according to the maximum value, minimum value, and average value of the complex amplitude;

[0083] The signal modulation mode is determined according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter.

[0084] In this embodiment, the symbol rate and modulation type are obtained according to the parameters such as the non-frequency-offset IQ signal to be modulated, the frequency-offset I signal, the sampling rate and the bandwidth;

[0085] The modulation type is an identification mark of the GMSK type;

[0086] The symbol rate can identify the symbol rate of modulation types such as AM, FM / PM, MASK, MPSK, MQAM, GMSK, etc.

[0087] like Figure 2 As shown, specifically including:

[0088] (1) Obtain the symbol rate Symbol_rate and the modulation type mod_type according to the frequency-bias-free I-channel signal, sampling rate, bandwidth and other parameters;

[0089] (2) Obtain the symbol rate offset value Symbol_rate_offset according to the frequency offset I signal, sampling rate, bandwidth and other parameters;

[0090] (3) Determine whether the symbol rate offset value Symbol_rate_offset is 0. If not, go to step (4); otherwise, go to step (5);

[0091] (4) Let symbol rate correction value symbol_rate_correct = (symbol_rate-bw / 4096*fs*2)*2; fs is the sampling rate; bw is the bandwidth;

[0092] If the absolute value of the difference between the symbol rate and the symbol rate correction value, the absolute value of the difference between the symbol rate and the symbol rate offset value, and the symbol rate correction value are all greater than the corresponding set thresholds, that is, the absolute value of symbol_rate-symbol_rate_correct, the absolute value of symbol_rate-symbol_rate_offset, and symbol_rate_correct are all greater than the corresponding set thresholds, and the returned modulation type is not FM, then set symbol_rate=symbol_rate_correct, and set the modulation type to GMSK;

[0093] (5) Update the symbol rate Symbol_rate and modulation type mod_type.

[0094] In this embodiment, if Figure 3 As shown, the steps of symbol rate identification include:

[0095] (1) 16388 points of I-channel signals are cached, and quadruple sampling and differential operations are performed on them to obtain the differential value i_diff:

[0096] (2) Perform a fourth power operation on the difference value i_diff to obtain a fourth power operation result i_tmp;

[0097] (3) Perform a 4096-point FFT operation on the fourth power operation result i_tmp, take the last 2048 points, and solve the square of the amplitude to obtain the square value of the amplitude i_fft;

[0098] (4) Set the maximum noise threshold noise_th, search extreme point index max_fft_ind, extreme point number cnt, and record the extreme value max_fft;

[0099] (5) If the number of extreme value points cnt>0, half of the maximum value of the extreme value max_fft is used as the maximum noise threshold, max_fft_ind is deleted, and the deleted index ind_tmp is obtained, and the number of deleted indexes tmp_cnt is recorded;

[0100] (6) Search for the point set ind with twice the spacing in ind_tmp according to the following process, and record the number of point sets fb_cnt;

[0101] If the number of point sets fb_cnt=0 and tmp_cnt>=1, set fb_cnt=1 and record ind(1)=ind_tmp(1);

[0102] If the number of point sets fb_cnt>0, search for values ​​whose distance is an integer multiple of ind(1) in the subsequent positions of ind_tmp;

[0103] (7) Determine whether the number of point sets fb_cnt>4. If the number of point sets fb_cnt>4, set the symbol rate symbol_rate=0 and the modulation type mod_type=FM, and end;

[0104] Otherwise, determine whether the number of point sets fb_cnt is equal to 0. If the number of point sets fb_cnt = 0, set the symbol rate symbol_rate = 0, the modulation type mod_type = NONE, and end;

[0105] Otherwise, take the first extreme point ind(1) to calculate the symbol rate: Symbol_rate=(ind(1)) / 4096*fs / 4.

[0106] In this embodiment, according to the symbol rate, sampling rate and frequency-offset-free I channel sampling signal, the symbol position sequence in the frequency-offset-free IQ channel signal is determined, and the switching point of the digital signal symbol is automatically identified; Figure 4 As shown, the steps are as follows:

[0107] (1) Perform a differential operation on the 16385-point frequency-bias-free I-channel sampling signal to obtain a differential value i_diff, and calculate the minimum number of sampling points in a symbol: a=floor(fs / symbol_rate), where floor is a rounding function;

[0108] (2) Calculate the maximum value, set 1 / 2 of the maximum value as the threshold value sig_th, filter the points in the differential value i_diff that are less than the threshold value sig_th, and select the extreme value points in the differential value i_diff that exceed the threshold value sig_th as valid extreme value points, and record the valid extreme value point position index i_diff_ind, the extreme value point sequence max_value, and the maximum extreme value point max_ind of the extreme value point sequence;

[0109] (3) First, take the maximum extreme point max_ind as the reference extreme point, set the initial effective extreme point to i_diff_ind(max_ind), and start forward calculation from the maximum extreme point max_ind;

[0110] (4) Determine whether the current valid extreme point is the last extreme point;

[0111] If it is the last extreme point, jump to step (6);

[0112] Otherwise, the position sequence between the two points is determined according to the difference between the current effective extreme point and the reference extreme point, as well as the symbol rate and the sampling rate, and it is determined whether the current effective extreme point is valid;

[0113] Specifically, let tmp be the difference between the current valid extreme point and the previous valid extreme point, calculate c=ceil(tmp / (a+1)), ceil is the upward rounding function, calculate x=c*(a+1)-tmp, y=cx; if x<0 or y<0, the current valid extreme point i_diff_ind is invalid, jump to the next valid extreme point; otherwise go to step (5).

[0114] (5) Update the forward calculation code element symbol samples_in_symbol_forward, jump to the next valid extreme point, and go to step (4), specifically:

[0115] Let max_xy, min_xy be the maximum and minimum values ​​of x and y;

[0116] When x is greater than y, let max_val = a, min_val = a+1; otherwise max_val = a+1, min_val = a;

[0117] Initialize samples_in_symbol_tmp to max_val, initialize m to 1, traverse samples_in_symbol_tmp from 1 to max_xy+1 (index is i), if i*min_xy>m*max_xy, set samples_in_symbol_tmp(i+m-1)=min_val, and increase m by 1;

[0118] Add the calculated c samples_in_symbol_tmp to the samples_in_symbol_forward list, and update the previous valid extreme point as the current reference extreme point.

[0119] (6) Let the initial valid extreme point index be i_diff_ind(max_ind), and start the backward calculation from max_ind. The process is the same as the forward calculation process and will not be repeated here. The backward calculation code element symbol samples_in_symbol_backward is obtained;

[0120] (7) The forward calculation symbol samples_in_symbol_forward and the backward calculation symbol samples_in_symbol_backward are merged into the symbol samples_in_symbol, and the symbol number symbol_num is updated, and the first symbol position symbol_start is set to the first element of the backward calculation symbol samples_in_symbol_backward.

[0121] In this embodiment, the constellation IQ symbol is obtained according to the frequency-free IQ path signal and the symbol position sequence, avoiding the error of the symbol switching point and the rising and falling edges of the symbol caused by filtering; Figure 5 As shown, the specific steps are as follows:

[0122] (1) Let min_sample_insymbol be the minimum number of points per symbol, and calculate the cut number cut_num = floor(min_sample_insymbol / 8)*2;

[0123] (2) Take symbol_start as the starting point and samples_in_symbol as the symbol split point. Starting from the starting point as the symbol split point, calculate the average of the min_sample_insymbol-cut_num points in the frequency-offset IQ path sampling signal until the symbol split point is the last symbol, and output the constellation diagram IQ symbol value.

[0124] In this embodiment, the first identification parameter of mQAM / mPSK is obtained according to the IQ symbol and the number of symbols in the constellation diagram, the phase offset of the digital signal within a certain range is calculated and corrected, and MASK, MPSK, MQAM, etc. are supported; Figure 6 As shown, the steps are as follows:

[0125] (1) Perform polar coordinate conversion on the IQ symbols of the constellation diagram to obtain the amplitude r and phase sita;

[0126] (2) Determine the identification parameters according to the phase difference between the previous and next symbols to obtain the first identification parameters qpsk_flag and qam_flag;

[0127] (3) The phase deviation is calculated to obtain the quadrant number xy_cnt occupied by the phase and the IQ after compensation.

[0128] In this embodiment, as Figure 7 shown, the process of polar coordinate conversion includes:

[0129] (1) Let the I-channel signal be symbol_i and the Q-channel signal be symbol_q, and calculate the amplitude r = symbol_i + symbol_q * j and the maximum amplitude r_max;

[0130] (2) Calculate the arctangent trigonometric function value of symbol_q / symbol_i and convert it to the phase sita;

[0131] (3) Constrain each symbol phase within (-180, 180):

[0132] If symbol_q < 0 and symbol_i < 0, sita is decremented by 180°;

[0133] If symbol_q > 0 and symbol_i < 0, sita is incremented by 180°.

[0134] In this embodiment, as Figure 8 shown, the process of first identification parameter identification includes:

[0135] (1) Calculate the phase difference sita_diff between two consecutive symbols. If the absolute value of the difference between sita_diff and 180 is less than the error value, set qpsk_flag to 1;

[0136] (2) Let r_max_th = r_max * R_TH (R_TH is the threshold coefficient), and remove the points in symbol_r that are less than r_max_th for phase calculation;

[0137] (3) Calculate the phase difference between consecutive symbols, and count the deviation of the phase difference from 45°. If there are points less than the error value, set qpsk_flag = 2 and qam_flag = 1.

[0138] In this embodiment, as Fig. 9 shown, the process of phase deviation calculation includes:

[0139] (1) Remove the symbol points where symbol_i < r_max * TH (TH is the threshold coefficient) to obtain symbol_sita, and calculate the minimum value min_angle;

[0140] (2) If qam_flag == 0, then let mean_angle1 = min_angle + 45;

[0141] Otherwise, let mean_angle1 be half of the minimum and maximum values ​​of symbol_sita. If mean_angle1>0, then mean_angle1 is reduced by 90°.

[0142] Calculate the absolute value of the difference between the maximum angle and the minimum angle of symbol_sita. If the value is less than (45°-error), mean_angle1 is reduced by 45°.

[0143] (3) Let mean_angle2=mean_angle1+90; mean_angle3=mean_angle1+180; mean_angle4=mean_angle1+270;

[0144] Correct mean_angle1, mean_angle2, mean_angle3, and mean_angle4 to the range of (-180, 180), and rearrange them in order of size, using the straight lines of these four angles as the four coordinate axes of the new rectangular coordinate system;

[0145] (4) Calculate the number of quadrants xy_cnt occupied by symbol_sita;

[0146] (5) Count the phases in each quadrant and perform preprocessing to obtain the angle_offset of each quadrant:

[0147] (6) Calculate the mean offset of angle_offset and compensate it to the actual phase, and convert it into IQ symbols.

[0148] In this embodiment, the complex amplitude of the frequency-bias-free IQ path sampling signal is calculated, and the second identification parameter is obtained according to the maximum value, minimum value, and average value of the complex amplitude; Fig.10 As shown, the specific steps are as follows:

[0149] (1) Calculate the complex amplitude r=I+Q*j of the IQ path sampling signal without frequency deviation;

[0150] (2) Calculate the symbol sequence symbol_r and the maximum value r_max and the minimum value r_min of the complex amplitude r according to the constellation IQ symbol calculation method, and then set the second identification parameter Alpha = r_max*128 / r_min;

[0151] (3) Set the values ​​of symbol_r that are less than 2 / 7*r_max to 0, calculate the mean r_mean of symbol_r, and set the second recognition parameter Beta = r_mean*128 / r_max.

[0152] In this embodiment, the process of determining the signal modulation mode according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter is as follows: Fig.11 As shown, specifically including:

[0153] (1) Determine whether the quadrant number xy_cnt occupied by the phase is 1. If xy_cnt==1, determine whether the second identification parameter Beta is greater than the first threshold TH0. If so, the signal modulation mode is 4ASK. If not, the signal modulation mode is 2ASK.

[0154] (2) If xy_cnt!=1, determine whether the modulation type is GMSK. If so, the signal modulation mode is GMSK. If not, determine whether the modulation type is FM. If so, the signal modulation mode is FM. If not, determine whether the second identification parameter Alpha is less than the second threshold TH1;

[0155] (3) If the second identification parameter Alpha is less than the second threshold TH1, it is determined whether the quadrant number xy_cnt occupied by the phase is less than 3. If so, the signal modulation mode is BPSK; if not, it is determined whether the first identification parameter qpsk_flag is 1. If so, the signal modulation mode is QPSK; if not, it is determined whether the first identification parameter qpsk_flag is 3. If so, the signal modulation mode is 8PSK. If not, the signal modulation mode is 0QPSK;

[0156] (4) If the second identification parameter Alpha is not less than the second threshold value TH1, determine whether the first identification parameter qam_flag is 1; if not, determine whether the second identification parameter Alpha is less than the fourth threshold value TH3; if so, the signal modulation mode is 32QAM; if not, the signal modulation mode is 128QAM;

[0157] (5) If the first identification parameter qam_flag==1, then determine whether the second identification parameter Alpha is less than the third threshold value TH2. If so, the signal modulation method is 16QAM. If not, then determine whether the second identification parameter Alpha is less than the fifth threshold value TH4. If so, the signal modulation method is 64QAM. If not, the signal modulation method is 256QAM.

[0158] The signal modulation mode identification method proposed in this embodiment first uses the code rate identification algorithm and the code element transition point identification algorithm to analyze the signal's code rate and other characteristic information; then uses the constellation diagram recovery algorithm to recover the signal's symbol information to avoid the error of the code element switching point and the rising and falling edges of the code element caused by filtering; uses the phase deviation correction algorithm to obtain the phase information, thereby obtaining the parameters related to the modulation mode identification; then calculates the constellation diagram amplitude ratio characteristics through polar coordinate transformation; finally, determines the signal modulation mode based on all the characteristic information. The computational complexity is low, especially suitable for FPGA or DSP. In addition to the multi-carrier modulation signal MFSK / OFDM, it can also automatically identify modulation modes such as MASK, MPSK, and MQAM.

[0159] The present embodiment is compared with three existing algorithms. Table 1 lists the lowest signal-to-noise ratio for which the recognition success rate reaches more than 90% after 100 random information calculations. As can be seen from Table 1, MQAM, 8PSK, and GMSK are better than the existing algorithms. Because QPSK and OQPSK need to be recognized, the individual recognition rate of QPSK is lower than that of comparison algorithms 2 and 3; BPSK has poor performance; because 2ASK and 4ASK need to be recognized, the recognition rate of 2ASK is lower than that of comparison algorithm 3. "-" in Table 1 means that it cannot be recognized; comparison algorithm 1 comes from Lu Shanshan, Wang Wei, and Wang Guoyu's constellation diagram recovery and modulation mode recognition of amplitude and phase modulation signals; comparison algorithm 2 comes from Huang Sijia, Du Qingzhi, Long Hua, etc.'s QAM modulation mode recognition algorithm for step-by-step recognition of amplitude and phase; comparison algorithm 3 comes from patent CN113542169A, digital modulation signal differential constellation diagram information extraction and modulation recognition method.

[0160]

[0161] Example 2

[0162] This embodiment provides a signal modulation mode identification system, including:

[0163] A symbol rate identification module is configured to obtain a symbol rate and a modulation type according to a non-frequency-offset IQ path sampling signal to be modulated, a frequency-offset I path signal, a sampling rate and a bandwidth;

[0164] The code element position sequence recognition module is configured to screen effective extreme value points for the frequency-bias-free I-channel sampling signal to be modulated, and perform forward calculation and backward calculation in sequence with the maximum extreme value point as the starting reference extreme value point, specifically determining the position sequence between the two points according to the difference between the current effective extreme value point and the reference extreme value point, as well as the code element rate and the sampling rate, until all effective extreme value points are traversed to obtain the code element position sequence;

[0165] A constellation symbol recovery module is configured to obtain a constellation IQ symbol according to a frequency-bias-free IQ path sampling signal to be modulated and a symbol position sequence;

[0166] The phase deviation correction module is configured to convert the IQ symbols of the constellation diagram into polar coordinates to obtain amplitude and phase, and determine the first identification parameter according to the phase difference between the previous and next symbols; after filtering the symbol points according to the amplitude, a new rectangular coordinate system is constructed, and the phase is classified by the new rectangular coordinate system, and the number of quadrants occupied by the phase is counted;

[0167] A parameter identification module is configured to calculate the complex amplitude of the frequency-bias-free IQ path sampling signal to be modulated, and obtain a second identification parameter according to the maximum value, minimum value and average value of the complex amplitude;

[0168] The modulation mode identification module is configured to determine the signal modulation mode according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter.

[0169] It should be noted that the above modules correspond to the steps described in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.

[0170] In further embodiments, there is also provided:

[0171] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of brevity, it will not be described in detail here.

[0172] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0173] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0174] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in Example 1 is completed.

[0175] The method in Example 1 can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.

[0176] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in conjunction with this embodiment can be implemented in electronic hardware or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0177] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for identifying a signal modulation mode, characterized in that: include: Obtaining a symbol rate and a modulation type according to a non-frequency-offset IQ channel sampling signal to be modulated, a frequency-offset I channel signal, a sampling rate, and a bandwidth; The effective extreme value points are screened for the frequency-bias-free I-channel sampling signal to be modulated, and the forward calculation and the backward calculation are performed in sequence with the maximum extreme value point as the starting reference extreme value point. Specifically, the position sequence between the two points is determined according to the difference between the current effective extreme value point and the reference extreme value point, as well as the symbol rate and the sampling rate, until all effective extreme value points are traversed to obtain the symbol position sequence; Obtaining constellation IQ symbols according to the frequency-biased IQ path sampling signal to be modulated and the symbol position sequence; Perform polar coordinate conversion on the IQ symbols of the constellation diagram to obtain amplitude and phase, and determine the first recognition parameter according to the phase difference between the previous and next symbols; After filtering the symbol points according to the amplitude, a new rectangular coordinate system is constructed, the phases are classified by the new rectangular coordinate system, and the number of quadrants occupied by the phases is counted; Calculate the complex amplitude of the frequency-offset-free IQ path sampling signal to be modulated, and obtain a second identification parameter according to the maximum value, minimum value, and average value of the complex amplitude; The signal modulation mode is determined according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter.

2. A method for identifying a signal modulation mode according to claim 1, characterized in that: The process of determining the symbol rate and modulation type includes: According to the I-channel sampling signal without frequency deviation to be modulated, the sampling rate and the bandwidth, the symbol rate and the modulation type are obtained, and according to the I-channel signal with frequency deviation, the sampling rate and the bandwidth, the symbol rate offset value is obtained; If the symbol rate offset value is not 0, the symbol rate correction value is calculated based on the symbol rate, sampling rate and bandwidth; If the absolute value of the difference between the symbol rate and the symbol rate correction value, the absolute value of the difference between the symbol rate and the symbol rate offset value, and the symbol rate correction value are all greater than the corresponding set thresholds, and the modulation type is not FM, the symbol rate is updated according to the symbol rate correction value, and the modulation type is set to GMSK.

3. A signal modulation mode identification method as claimed in claim 2, characterized in that: The steps of symbol rate identification include: Set the maximum noise threshold, search for the extreme point index max_fft_ind, the number of extreme points cnt, and record the extreme value max_fft; If the number of extreme points cnt is greater than 0, half of the maximum value of the extreme value max_fft is used as the maximum noise threshold, and the extreme point index max_fft_ind is deleted to obtain the deleted index ind_tmp, and the number of deleted indexes tmp_cnt is recorded; Search the point set ind with twice the spacing in the deleted index ind_tmp, and record the number of point sets fb_cnt; specifically, if fb_cnt=0 and tmp_cnt>=1, set fb_cnt=1 and record ind(1)=ind_tmp(1); if fb_cnt>0, search for a value whose distance is an integer multiple of ind(1) in the subsequent position of ind_tmp; Determine whether fb_cnt is greater than 4. If so, set the symbol rate to 0 and the modulation type to FM. Otherwise, determine whether fb_cnt is equal to 0. If so, set the symbol rate to 0 and the modulation type to NONE. Otherwise, the symbol rate is calculated according to the first extreme point ind(1): Symbol_rate=(ind(1)) / 4096*fs / 4, where fs is the sampling rate.

4. A method for identifying a signal modulation mode according to claim 1, characterized in that: Determine whether the position sequence between two points is valid. If the position sequence is invalid, calculate the next valid extreme point. If the position sequence is valid, use the current valid extreme point as the reference extreme point and calculate the next valid extreme point until all valid extreme points are traversed to obtain the symbol position sequence. Among them, the minimum number of sampling points in the symbol a=floor(fs / symbol_rate) is obtained according to the symbol rate symbol_rate and the sampling rate fs, c=ceil(tmp / (a+1)) is calculated according to the difference tmp between the current valid extreme point and the reference extreme point and the minimum number of sampling points a, and then x=c*(a+1)-tmp, y=cx are calculated; if x<0 or y<0, the current valid extreme point is invalid, otherwise it is valid.

5. A method for identifying a signal modulation mode according to claim 1, characterized in that: The process of determining the first identification parameter includes: Calculate the phase difference between the previous and next symbols. If the absolute value of the difference between the previous and next symbols and 180 is less than the error value, set the first identification parameter qpsk_flag to 1. Filter the points whose amplitude is less than the threshold value, and recalculate the phase difference between the previous and next symbols and the deviation of the phase difference from 45°. If there is a point whose deviation is less than the error value, set the first identification parameter qpsk_flag to 2 and the first identification parameter qam_flag to 1.

6. A method for identifying a signal modulation mode according to claim 1, characterized in that: The process of determining the second identification parameter includes: Calculate the symbol sequence symbol_r and the maximum value r_max and the minimum value r_min of the complex amplitude r, then the second identification parameter Alpha = r_max*128 / r_min; After setting the values ​​of symbol_r that are less than 2 / 7*r_max to 0, the mean r_mean of symbol_r is calculated, and the second recognition parameter Beta=r_mean*128 / r_max.

7. A signal modulation mode identification method according to any one of claims 1 to 6, characterized in that: The signal modulation method determination process includes: (1) Determine whether the quadrant number xy_cnt occupied by the phase is 1. If xy_cnt==1, determine whether the second identification parameter Beta is greater than the first threshold. If so, the signal modulation mode is 4ASK. If not, the signal modulation mode is 2ASK. (2) If xy_cnt!=1, determine whether the modulation type is GMSK. If so, the signal modulation mode is GMSK. If not, determine whether the modulation type is FM. If so, the signal modulation mode is FM. If not, determine whether the second identification parameter Alpha is less than the second threshold; (3) If the second identification parameter Alpha is less than the second threshold, determine whether the quadrant number xy_cnt occupied by the phase is less than 3. If so, the signal modulation mode is BPSK; if not, determine whether the first identification parameter qpsk_flag is 1. If so, the signal modulation mode is QPSK; if not, determine whether the first identification parameter qpsk_flag is 2. If so, the signal modulation mode is 8PSK. If not, the signal modulation mode is 0QPSK; (4) If the second identification parameter Alpha is not less than the second threshold, determine whether the first identification parameter qam_flag is 1; if not, determine whether the second identification parameter Alpha is less than the fourth threshold; if so, the signal modulation mode is 32QAM; if not, the signal modulation mode is 128QAM; (5) If the first identification parameter qam_flag==1, then determine whether the second identification parameter Alpha is less than the third threshold value. If so, the signal modulation method is 16QAM. If not, then determine whether the second identification parameter Alpha is less than the fifth threshold value TH4. If so, the signal modulation method is 64QAM. If not, the signal modulation method is 256QAM.

8. A signal modulation mode identification system, characterized in that: include: A symbol rate identification module is configured to obtain a symbol rate and a modulation type according to a non-frequency-offset IQ path sampling signal to be modulated, a frequency-offset I path signal, a sampling rate and a bandwidth; The code element position sequence recognition module is configured to screen effective extreme value points for the frequency-bias-free I-channel sampling signal to be modulated, and perform forward calculation and backward calculation in sequence with the maximum extreme value point as the starting reference extreme value point, specifically determining the position sequence between the two points according to the difference between the current effective extreme value point and the reference extreme value point, as well as the code element rate and the sampling rate, until all effective extreme value points are traversed to obtain the code element position sequence; A constellation symbol recovery module is configured to obtain a constellation IQ symbol according to a frequency-bias-free IQ path sampling signal to be modulated and a symbol position sequence; A phase deviation correction module is configured to perform polar coordinate conversion on the IQ symbols of the constellation diagram to obtain amplitude and phase, and determine a first identification parameter according to the phase difference between the previous and next symbols; After filtering the symbol points according to the amplitude, a new rectangular coordinate system is constructed, the phases are classified by the new rectangular coordinate system, and the number of quadrants occupied by the phases is counted; A parameter identification module is configured to calculate the complex amplitude of the frequency-bias-free IQ path sampling signal to be modulated, and obtain a second identification parameter according to the maximum value, minimum value and average value of the complex amplitude; The modulation mode identification module is configured to determine the signal modulation mode according to the modulation type, the number of quadrants occupied by the phase, the first identification parameter and the second identification parameter.

9. An electronic device, characterized in that: The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method according to any one of claims 1 to 7 is completed.

10. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the method described in any one of claims 1 to 7.