A method and system for obtaining a compensation value for carrier leakage

By setting the carrier leakage range and calculating the characteristic value, transmitting training signals and updating the compensation value, the problem of inaccurate carrier leakage estimation is solved, and more accurate carrier leakage compensation is achieved, eliminating the impact of IQ imbalance.

CN116208462BActive Publication Date: 2025-06-27SHANGHAI XINJIXUN COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310151919.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2025-06-27
Estimated Expiration
2043-02-22

AI Technical Summary

Technical Problem

In the prior art, the carrier leakage estimate is inaccurate, and the impact of receiver IQ imbalance on carrier leakage cannot be effectively considered, and the deviation settings of the reception frequency and transmission frequency do not meet specific conditions, resulting in inaccurate compensation value.

Method used

By setting the carrier leakage range of the initial I and Q channels, and calculating their characteristic values ​​and characteristic data, transmitting training signals to determine the compensation value, the receiving module converts the carrier leakage signal into a single tone signal, calculates the power value, selects the power value that meets the preset rules to extract the compensation value, and iteratively updates the carrier leakage range until the threshold value is met.

Benefits of technology

A more accurate carrier leakage estimation is achieved, eliminating the impact of receiver IQ imbalance on carrier leakage, and improving the accuracy of the compensation value by adjusting the frequency deviation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208462B_ABST
    Figure CN116208462B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for obtaining a compensation value for carrier leakage. The carrier leakage ranges of the I channel and the Q channel are set, and the compensation value of the training signal transmitted by the transmitting module is determined according to the carrier leakage ranges of the I channel and the Q channel. The receiving module receives the carrier leakage signal that appears when the training signal is transmitted. The receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of sub-carrier intervals. The carrier leakage signal is converted into a single-tone signal, and the power value of the single-tone signal is calculated. The compensation value is selected according to the power value, and the carrier leakage ranges of the I channel and the Q channel are updated according to the selected compensation value. The iteration is performed until the length of the carrier leakage range is less than a certain value. The deviation between the receiving frequency and the transmitting frequency is set to an integer multiple of the sub-carrier interval, and the influence of the receiver IQ imbalance on the carrier leakage is eliminated, so as to obtain a more accurate estimation of the carrier leakage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular, to a method and system for obtaining a compensation value for carrier leakage. Background Art

[0002] The widely used zero-IF transmitter has the problem of carrier leakage. The leaked local oscillator signal is mixed into the transmission spectrum, resulting in a reduction in system performance. Patent document CN111181594A (application number CN201911303246.5) provides a digital calibration system and method for transmitting local oscillator leakage based on a radio frequency transceiver chip, including: a baseband programmable chip module is connected to a zero-IF chip transmission module, and the zero-IF chip transmission module is connected to a zero-IF chip reception module; the local oscillator leakage information is generated from the zero-IF chip transmission module and flows to the zero-IF chip reception module; the zero-IF chip reception module converts the local oscillator leakage information into baseband information at a preset frequency point and performs analog-to-digital conversion on the baseband information at the preset frequency point; after the zero-IF chip reception module performs analog-to-digital conversion, it sends the baseband information to the baseband programmable chip module for analysis and processing to obtain a compensation value and complete calibration. In this patent document, the deviation between the receiving frequency and the transmitting frequency is set to 1 MHz, and the amplitude of a known frequency point is obtained through single-frequency point DFT calculation, that is, spectral analysis. When transmitting for the first time, the carrier leakage compensation value is 0. The adjustment value used for carrier leakage compensation is determined by the amplitude difference between two adjacent estimations. The specific implementation method is as follows: First, perform spectral analysis on the first transmitted signal received to obtain an estimated value; second, use a smaller compensation value, the transmitter transmits the compensated signal, the receiver performs spectral analysis, and obtains an estimated value again. Divide the difference between the two adjacent estimated values by the compensation value to obtain the system response; finally, divide the estimated value obtained for the first time by the system response to obtain the carrier leakage estimated value, and take the inverse as the compensation value. In this patent document, the influence of receiver IQ imbalance on carrier leakage estimation is not considered, and the deviation setting between the receiving frequency and the transmitting frequency does not meet specific conditions, resulting in inaccurate compensation values. Summary of the Invention

[0003] Based on the above problems, the present invention provides a method and system for obtaining a compensation value for carrier leakage, aiming to solve technical problems such as inaccurate carrier leakage estimation in the prior art.

[0004] A method for obtaining a compensation value for carrier leakage includes:

[0005] Step A1, respectively set the initial carrier leakage ranges of the I channel and the Q channel, and calculate the first eigenvalue and the second characteristic data of the carrier leakage range of the I channel, and calculate the first eigenvalue and the third characteristic data of the carrier leakage range of the Q channel;

[0006] Step A2: The transmitting module transmits several groups of training signals, and the compensation value of the training signals is determined according to the second characteristic data and the third characteristic data;

[0007] Step A3: The receiving module receives the carrier leakage signals that occur when the transmitting module transmits the training signals. Among them, the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of subcarrier intervals;

[0008] Step A4: Convert the carrier leakage signals into single-tone signals and calculate the power values of the single-tone signals;

[0009] Step A5: Select the power values that meet the preset selection rules, and extract the compensation values of the training signals corresponding to the single-tone signals to which the selected power values belong;

[0010] Step A6: Update the carrier leakage ranges of the I channel and the Q channel respectively according to the compensation values extracted in Step A5, and calculate the first characteristic value and the second characteristic data of the updated carrier leakage range of the I channel, and the first characteristic value and the third characteristic data of the updated carrier leakage range of the Q channel;

[0011] Step A7: Determine whether the updated first characteristic value is greater than the first threshold value:

[0012] If so, continue to execute Step A2 using the second characteristic data and the third characteristic data calculated in Step A6;

[0013] If not, execute Step A8;

[0014] Step A8: Output the compensation values extracted in Step A5.

[0015] Further, in Step A1 and Step A6, the calculation processes of the first characteristic value, the second characteristic data, and the third characteristic data include:

[0016] Step A101: Divide the carrier leakage ranges of the I channel and the Q channel into a second preset number of sub-segments respectively;

[0017] Step A102: Calculate the length of each sub-segment as the first characteristic value, calculate the middle value of each sub-segment in the carrier leakage range of the I channel to form the second characteristic data, and calculate the middle value of each sub-segment in the carrier leakage range of the Q channel to form the third characteristic data.

[0018] Further, in Step A2, the number of groups of the training signals is twice the second preset number. The training signals are divided into a first subset and a second subset with the same number of groups. The compensation value of the training signals in the first subset is expressed by the following formula:

[0019] C I,X =-d I,X ;

[0020] The compensation value of the training signals in the second subset is expressed by the following formula:

[0021] C Q,Y = -jd Q,Y ;

[0022] where

[0023] C I,X represents the compensation value of the X-th group of training signals in the first subset;

[0024] C Q,Y represents the compensation value of the Y-th group of training signals in the second subset;

[0025] d I,X is the median value of the X-th sub-segment in the second characteristic data;

[0026] d Q,Y is the median value of the Y-th sub-segment in the third characteristic data;

[0027] The value range of X is from 1 to K;

[0028] The value range of Y is from 1 to K;

[0029] K is the second preset quantity;

[0030] In step A5, select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the I-channel compensation value; select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the Q-channel compensation value;

[0031] In step A6, update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

[0032] Furthermore, in step A2, the number of groups of training signals is the square of the second preset quantity, and the compensation value of the training signals is expressed by the following formula:

[0033] C X,Y = -(d I,X + jd Q,Y );

[0034] where

[0035] C X,Y is the compensation value of the X×Y-th group of training signals;

[0036] The value range of X is from 1 to K;

[0037] The value range of Y is from 1 to K;

[0038] K is the second preset quantity;

[0039] d I,X is the median value of the X-th sub-segment in the second characteristic data;

[0040] d Q,Y is the median value of the Y-th sub-segment in the third characteristic data;

[0041] In step A5, obtain the compensation value of the training signal corresponding to the single-tone signal with the minimum power value, and use the real part of the compensation value as the I-channel compensation value, and use the imaginary part of the compensation value as the Q-channel compensation value;

[0042] In step A6, update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

[0043] Further, before step A2 and after step A1, it also includes:

[0044] Step B1, the transmitting module transmits several groups of training signals, and the number of groups of training signals is twice the second preset quantity. Divide the training signals into a first subset and a second subset with the same number of groups. The compensation value of the training signal in the first subset is represented by the following formula:

[0045] C I,X =-d I,X ;

[0046] The compensation value of the training signal in the second subset is represented by the following formula:

[0047]

[0048] Among them,

[0049] C I,X represents the compensation value of the X-th group of training signals in the first subset;

[0050] C Q,Y represents the compensation value of the Y-th group of training signals in the second subset;

[0051] d I,X is the median value of the X-th sub-segment in the second characteristic data;

[0052] d Q,Y is the median value of the Y-th sub-segment in the third characteristic data;

[0053] The value range of X is from 1 to K;

[0054] The value range of Y is from 1 to K;

[0055] K is the second preset quantity;

[0056] Step B2: The receiving module receives the carrier leakage signal that appears when the transmitting module transmits the training signal. Here, the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of sub-carrier intervals.

[0057] Step B3: Convert the carrier leakage signal into a single-tone signal and calculate the power value of each group of single-tone signals.

[0058] In Step B4: Select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the I-channel compensation value; select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the Q-channel compensation value.

[0059] In Step B5: Update the carrier leakage range of the I-channel according to the I-channel compensation value, update the carrier leakage range of the Q-channel according to the Q-channel compensation value, and calculate the first eigenvalue and the second characteristic data of the updated carrier leakage range of the I-channel, as well as the first eigenvalue and the third characteristic data of the updated carrier leakage range of the Q-channel.

[0060] Step B6: Determine whether the updated first eigenvalue is greater than the second threshold:

[0061] If so, execute Step B1 using the second characteristic data and the third characteristic data calculated in Step B5.

[0062] If not, execute Step A2 using the second characteristic data and the third characteristic data calculated in Step B5.

[0063] Furthermore, in Step A1, the initial carrier leakage range of the I-channel and the initial carrier leakage range of the Q-channel are both:

[0064] [-D, D];

[0065] In Step A6, the updated carrier leakage range of the I-channel is:

[0066] [I min -Δ / 2, I min +Δ / 2];

[0067] The updated carrier leakage range of the Q-channel is:

[0068] [Q min -Δ / 2, Q min +Δ / 2];

[0069] Wherein,

[0070] D is the upper limit value of the initial carrier leakage range, and -D is the lower limit value of the initial carrier leakage range;

[0071] I min is the compensation value for the I channel;

[0072] Q min is the compensation value for the Q channel;

[0073] Δ is the first eigenvalue.

[0074] Further, in step A4, the carrier leakage signal is converted into a single-tone signal. After the single-tone signal is frequency-shifted to the DC sub-carrier in the time domain, the power value of the single-tone signal is calculated.

[0075] A system for obtaining compensation values for carrier leakage, including the foregoing method for obtaining compensation values for carrier leakage, includes:

[0076] An initial setting module, configured to respectively set the initial carrier leakage ranges for the I channel and the Q channel;

[0077] A feature calculation module, connected to the initial setting module, for: calculating the first eigenvalue and the second feature data of the initial carrier leakage range of the I channel, and calculating the first eigenvalue and the third feature data of the initial carrier leakage range of the Q channel;

[0078] A transmitting module, connected to the feature calculation module, for transmitting several groups of training signals, and the compensation values of the training signals are determined according to the second feature data and the third feature data;

[0079] A receiving module, configured to receive the carrier leakage signal that appears when transmitting the training signal, wherein the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of sub-carrier intervals;

[0080] A signal processing module, connected to the receiving module, for converting the carrier leakage signal into a single-tone signal;

[0081] A power calculation module, connected to the signal processing module, for calculating the power value of the single-tone signal;

[0082] A screening module, connected to the power calculation module, for: selecting the power values that meet the preset selection rules, and extracting the compensation values of the training signals corresponding to the single-tone signals to which the selected power values belong;

[0083] An update module, connected to the screening module, for respectively updating the carrier leakage ranges of the I channel and the Q channel according to the extracted compensation values;

[0084] The feature calculation module is also connected to the update module and is further configured to: calculate the first eigenvalue and the second feature data of the carrier leakage range of the I channel after update, and the first eigenvalue and the third feature data of the carrier leakage range of the Q channel after update;

[0085] The judgment module, connected to the feature calculation module, is configured to judge whether the updated first eigenvalue is greater than the first threshold value and output a first judgment result;

[0086] The transmitting module is also connected to the judgment module and is configured to: when the first judgment result is that the updated first eigenvalue is greater than the first threshold value, transmit a training signal, and the compensation value of the training signal is re-determined according to the updated second feature data and third feature data;

[0087] The output module, connected to the judgment module and the screening module, is configured to output the compensation value extracted by the screening module when the first judgment result is that the updated first eigenvalue is not greater than the first threshold value.

[0088] Further, the feature calculation module includes:

[0089] The segmentation unit is configured to respectively divide the carrier leakage ranges of the I channel and the Q channel into a second preset number of sub-segments;

[0090] The feature calculation unit, connected to the segmentation unit, is configured to: calculate the length of each sub-segment as the first eigenvalue, calculate the intermediate value of each sub-segment in the carrier leakage range of the I channel to form the second feature data, and calculate the intermediate value of each sub-segment in the carrier leakage range of the Q channel to form the third feature data.

[0091] Further, the transmitting module is configured to, before transmitting the training signal, divide the training signal into a first subset and a second subset with the same number of groups, and respectively set the compensation values of the training signals in the first subset and the second subset;

[0092] Wherein, the compensation value of the training signal in the first subset is expressed by the following formula:

[0093] C I,X =-d I,X ;

[0094] Wherein, the compensation value of the training signal in the second subset is expressed by the following formula:

[0095] C Q,Y =-jd Q,Y ;

[0096] Wherein,

[0097] the number of groups of the training signal is twice the second preset number;

[0098] C I,X represents the compensation value of the X-th group of training signals in the first subset;

[0099] C Q,Y represents the compensation value of the Y-th group of training signals in the second subset;

[0100] d I,X is the median value of the X-th sub-segment in the second feature data;

[0101] d Q,Y is the median value of the Y-th sub-segment in the third feature data;

[0102] The value range of X is from 1 to K;

[0103] The value range of Y is from 1 to K;

[0104] K is the second preset quantity;

[0105] The screening module is used to: select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the I-channel compensation value; select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the Q-channel compensation value;

[0106] The updating module is used to: update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

[0107] The beneficial technical effect of the present invention is that: the deviation between the receiving frequency and the transmitting frequency is set to an integer multiple of the sub-carrier interval, and the influence of the receiver IQ imbalance on the carrier leakage is eliminated, so as to obtain a more accurate carrier leakage estimation. Brief Description of the Drawings

[0108] Figures 1-3 is the step flow chart of a method for obtaining the compensation value of carrier leakage of the present invention;

[0109] Figures 4-5 is the module schematic diagram of a system for obtaining the compensation value of carrier leakage of the present invention. Detailed Embodiments

[0110] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0111] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other.

[0112] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but it is not limited to the present invention.

[0113] See Figure 1 , the present invention provides a method for obtaining a compensation value for carrier leakage, including:

[0114] Step A1, respectively set the initial carrier leakage ranges of the I channel and the Q channel, and calculate the first eigenvalue and the second characteristic data of the carrier leakage range of the I channel, and calculate the first eigenvalue and the third characteristic data of the carrier leakage range of the Q channel;

[0115] Step A2, the transmitting module transmits several groups of training signals, and the compensation value of the training signals is determined according to the second characteristic data and the third characteristic data;

[0116] Step A3, the receiving module receives the carrier leakage signal that appears when the transmitting module transmits the training signal, wherein the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of sub-carrier intervals;

[0117] Step A4, convert the carrier leakage signal into a single-tone signal, and calculate the power value of the single-tone signal;

[0118] Step A5, select the power values that meet the preset selection rules, and extract the compensation values of the training signals corresponding to the single-tone signals to which the selected power values belong;

[0119] Step A6, respectively update the carrier leakage ranges of the I channel and the Q channel according to the compensation values extracted in step A5, and calculate the first eigenvalue and the second characteristic data of the updated carrier leakage range of the I channel, and the first eigenvalue and the third characteristic data of the updated carrier leakage range of the Q channel;

[0120] Step A7, determine whether the updated first eigenvalue is greater than the first threshold:

[0121] If so, continue to execute step A2 using the second characteristic data and the third characteristic data calculated in step A6;

[0122] If not, execute step A8;

[0123] Step A8, output the compensation value extracted in step A5.

[0124] Specifically, in step A2, each group of training signals includes several symbols.

[0125] Specifically, the receiving frequency of the receiving module can be set to the transmitting frequency of the transmitting module plus a first preset number of sub - carrier intervals.

[0126] Specifically, the receiving frequency of the receiving module can also be set to the transmitting frequency of the transmitting module minus a first preset number of sub - carrier intervals.

[0127] Specifically, the first threshold value is 1.

[0128] In the present invention, by setting the deviation between the receiving frequency and the transmitting frequency to an integer multiple of the sub - carrier interval, and iteratively eliminating the influence of receiver IQ imbalance on carrier leakage, a more accurate carrier leakage estimation is obtained.

[0129] See Figure 2 , further, in steps A1 and A6, the calculation processes of the first eigenvalue, the second characteristic data, and the third characteristic data include:

[0130] Step A101: Divide the carrier leakage ranges of the I - channel and the Q - channel into a second preset number of sub - segments respectively;

[0131] Step A102: Calculate the length of each sub - segment as the first eigenvalue, calculate the middle value of each sub - segment in the carrier leakage range of the I - channel to form the second characteristic data, and calculate the middle value of each sub - segment in the carrier leakage range of the Q - channel to form the third characteristic data.

[0132] Further, in step A1, the initial carrier leakage range of the I - channel and the initial carrier leakage range of the Q - channel are both:

[0133] [-D, D];

[0134] Where

[0135] D is the upper limit value of the initial carrier leakage range, and - D is the lower limit value of the initial carrier leakage range.

[0136] For the initially set carrier leakage range, the length of each sub - segment, i.e., the first eigenvalue, is:

[0137] Δ = 2D / K;

[0138] The middle value of each sub - segment in the carrier leakage range of the I - channel is expressed by the following formula:

[0139] d I,X = - D+(X - 1 / 2)Δ;

[0140] The middle value of each sub - segment in the carrier leakage range of the Q - channel is expressed by the following formula:

[0141] d Q,Y = - D+(Y - 1 / 2)Δ;

[0142] Among them,

[0143] Δ represents the length of each sub - segment, that is, the first eigenvalue;

[0144] d I,X is the middle value of the X - th sub - segment in the carrier leakage range of the I channel;

[0145] d Q,Y is the middle value of the Y - th sub - segment in the carrier leakage range of the Q channel;

[0146] The value range of X is from 1 to K;

[0147] The value range of Y is from 1 to K;

[0148] d I,X (with the value range from 1 to K) constitutes the second characteristic data, and d Q,Y (with the value range from 1 to K) constitutes the third characteristic data.

[0149] Furthermore, as the first implementation mode of the present invention, in step A2, the number of groups of training signals is twice the second preset number. The training signals are divided into a first subset and a second subset with the same number of groups. The compensation value of the training signals in the first subset is represented by the following formula:

[0150] C I,X =-d I,X ;

[0151] The compensation value of the training signals in the second subset is represented by the following formula:

[0152] C Q,Y =-jd Q,Y ;

[0153] Among them,

[0154] C I,X represents the compensation value of the X - th group of training signals in the first subset;

[0155] C Q,Y represents the compensation value of the Y - th group of training signals in the second subset;

[0156] d I,X is the middle value of the X - th sub - segment in the second characteristic data;

[0157] d Q,Y is the middle value of the Y - th sub - segment in the third characteristic data;

[0158] The value range of X is from 1 to K;

[0159] The value range of Y is from 1 to K;

[0160] K is the second preset number;

[0161] In step A5, select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the I-channel compensation value; select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the Q-channel compensation value;

[0162] In step A6, update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

[0163] In this embodiment, by setting 2K groups of training signals, in the first K groups of training signals, the compensation value is set to C I,X , and in the last K groups of training signals, the compensation value is set to C Q,Y . Iteratively calculate until Δ is less than the first threshold value.

[0164] Further, as the second preferred embodiment of the present invention, in step A2, the number of groups of training signals is the square of the second preset quantity, and the compensation value of the training signal is represented by the following formula:

[0165] C X,Y = -(d I,X + jd Q,Y );

[0166] Wherein,

[0167] C X,Y is the compensation value of the X×Y group of training signals;

[0168] The value range of X is 1 to K;

[0169] The value range of Y is 1 to K;

[0170] K is the second preset quantity;

[0171] d I,X is the middle value of the Xth sub-segment in the second characteristic data;

[0172] d Q,Y is the middle value of the Yth sub-segment in the third characteristic data;

[0173] In step A5, obtain the compensation value of the training signal corresponding to the tone signal with the minimum power value, use the real part of the compensation value as the I-channel compensation value, and use the imaginary part of the compensation value as the Q-channel compensation value;

[0174] In step A6, update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

[0175] In this embodiment, by setting K*K groups of training signals, the compensation value is set to C X,Y , and iterative calculation is performed until Δ is less than the first threshold value.

[0176] See Figure 3 , further, in the third preferred embodiment of the present invention, after step A1 and before step A2, the following steps are further included:

[0177] Step B1, the transmitting module transmits several groups of training signals, and the number of groups of training signals is twice the second preset quantity. The training signals are divided into a first subset and a second subset with the same number of groups. The compensation value of the training signals in the first subset is represented by the following formula:

[0178] C I,X =-d I,X ;

[0179] The compensation value of the training signals in the second subset is represented by the following formula:

[0180] C Q,Y =-jd Q,Y ;

[0181] Wherein,

[0182] C I,X represents the compensation value of the Xth group of training signals in the first subset;

[0183] C Q,Y represents the compensation value of the Yth group of training signals in the second subset;

[0184] d I,X is the median value of the Xth sub-segment in the second characteristic data;

[0185] d Q,Y is the median value of the Yth sub-segment in the third characteristic data;

[0186] The value range of X is 1 to K;

[0187] The value range of Y is 1 to K;

[0188] K is the second preset quantity;

[0189] Step B2, the receiving module receives the carrier leakage signal that appears when the transmitting module transmits the training signal. Among them, the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by the sub-carrier interval of the first preset quantity;

[0190] Step B3, convert the carrier leakage signal into a single-tone signal and calculate the power value of each group of single-tone signals;

[0191] In step B4, select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the I-channel compensation value; select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the Q-channel compensation value;

[0192] In step B5, update the carrier leakage range of the I channel according to the I-channel compensation value, update the carrier leakage range of the Q channel according to the Q-channel compensation value, and calculate the first eigenvalue and the second characteristic data of the updated carrier leakage range of the I channel, and the first eigenvalue and the third characteristic data of the updated carrier leakage range of the Q channel;

[0193] In step B6, determine whether the updated first eigenvalue is greater than the second threshold:

[0194] If so, execute step B1 using the second characteristic data and the third characteristic data calculated in step B5;

[0195] If not, execute step A2 using the second characteristic data and the third characteristic data calculated in step B5;

[0196] In step A2, the number of groups of training signals is the square of the second preset number, and the compensation value of the training signal is expressed by the following formula:

[0197] C X,Y =-(d I,X +jd Q,Y );

[0198] Where

[0199] C X,Y is the compensation value of the X×Y group of training signals;

[0200] The value range of X is 1 to K;

[0201] The value range of Y is 1 to K;

[0202] K is the second preset number;

[0203] d I,X is the middle value of the Xth sub-segment in the second characteristic data;

[0204] d Q,Y is the middle value of the Yth sub-segment in the third characteristic data;

[0205] In step A5, obtain the compensation value of the training signal corresponding to the tone signal with the minimum power value, use the real part of the compensation value as the I-channel compensation value, and use the imaginary part of the compensation value as the Q-channel compensation value;

[0206] In step A6, the carrier leakage range of the I path is updated according to the I path compensation value, and the carrier leakage range of the Q path is updated according to the Q path compensation value.

[0207] In this embodiment, by setting K*K groups of training signals, the compensation value is set to C X,Y , and through iterative calculation until Δ is less than the first threshold value.

[0208] In the third embodiment, the second threshold value is greater than the first threshold value. First, 2K groups of training signals are set. By setting 2K groups of training signals, in the first K groups of training signals, the compensation value is set to C I,X , and in the latter K groups of training signals, the compensation value is set to C Q,Y . After iterative calculation until Δ is less than the second threshold value, by setting K*K groups of training signals, the compensation value is set to C X,Y , and through iterative calculation until Δ is less than the first threshold value.

[0209] The final compensation value of the carrier leakage is obtained through the third implementation manner formed by the first implementation manner, or the second implementation manner, or the combination of the two manners, eliminating the influence of IQ imbalance on the carrier leakage estimation, and a more accurate compensation value can be obtained.

[0210] Further, in step A6, the updated carrier leakage range of the I path is:

[0211] [I min -Δ / 2, I min +Δ / 2];

[0212] The updated carrier leakage range of the Q path is:

[0213] [Q min -Δ / 2, Q min +Δ / 2];

[0214] Wherein,

[0215] I min is the I path compensation value;

[0216] Q min is the Q path compensation value;

[0217] Δ is the length of each sub-segment of the current carrier leakage range, that is, the first eigenvalue.

[0218] The updated carrier leakage ranges of the I path and the Q path are respectively divided into a second preset number of sub-segments, and the length of each updated sub-segment, that is, the first eigenvalue, is:

[0219] Δ new =Δ / K;

[0220] Among them,

[0221] Δ new is the first eigenvalue calculated after the carrier leakage range is updated;

[0222] Δ is the current first eigenvalue.

[0223] Furthermore, in step A4, the carrier leakage signal is converted into a single-tone signal. After the single-tone signal is frequency-shifted to the DC sub-carrier in the time domain, the power value of the single-tone signal is calculated. The single-tone signal is frequency-shifted to the DC sub-carrier through frequency spectrum shifting and accumulated and averaged within several symbols to obtain the power value of the single-tone signal.

[0224] See Figure 4 , the present invention also provides a system for obtaining a compensation value for carrier leakage, including the aforementioned method for obtaining a compensation value for carrier leakage, including:

[0225] An initial setting module (1) for respectively setting the initial carrier leakage ranges of the I-channel and the Q-channel;

[0226] A feature calculation module (2), connected to the initial setting module (1), for: calculating the first eigenvalue and the second feature data of the initial carrier leakage range of the I-channel, and calculating the first eigenvalue and the third feature data of the initial carrier leakage range of the Q-channel;

[0227] A transmitting module (3), connected to the feature calculation module (2), for transmitting several groups of training signals, and the compensation value of the training signals is determined according to the second feature data and the third feature data;

[0228] A receiving module (4) for receiving the carrier leakage signal that appears when transmitting the training signal, wherein the receiving frequency of the receiving module (4) and the transmitting frequency of the transmitting module (3) differ by a first preset number of sub-carrier intervals;

[0229] A signal processing module (5), connected to the receiving module (4), for converting the carrier leakage signal into a single-tone signal;

[0230] A power calculation module (6), connected to the signal processing module (5), for calculating the power value of the single-tone signal;

[0231] A screening module (7), connected to the power calculation module (6), for: selecting the power values that meet the preset selection rules, and extracting the compensation values of the training signals corresponding to the single-tone signals to which the selected power values belong;

[0232] An update module (8), connected to the screening module (7), for respectively updating the carrier leakage ranges of the I-channel and the Q-channel according to the extracted compensation values;

[0233] The feature calculation module (2) is also connected to the update module (8), and is further configured to: calculate a first eigenvalue and second feature data of the carrier leakage range of the I channel after update, and a first eigenvalue and third feature data of the carrier leakage range of the Q channel after update;

[0234] The judgment module (9), connected to the feature calculation module (2), is configured to judge whether the updated first eigenvalue is greater than a first threshold value, and output a first judgment result;

[0235] The transmission module (3) is also connected to the judgment module (9), and is configured to: when the first judgment result is that the updated first eigenvalue is greater than the first threshold value, transmit a training signal, and the compensation value of the training signal is re-determined according to the updated second feature data and third feature data;

[0236] The output module (10), connected to the judgment module (9) and the screening module (7), is configured to output the compensation value extracted by the screening module (7) when the first judgment result is that the updated first eigenvalue is not greater than the first threshold value.

[0237] See Figure 5 , further, the feature calculation module (2) includes:

[0238] The segmentation unit (201) is configured to respectively divide the carrier leakage ranges of the I channel and the Q channel into a second preset number of sub-ranges;

[0239] The feature calculation unit (202), connected to the segmentation unit (201), is configured to: calculate the length of each sub-range as the first eigenvalue, calculate the intermediate value of each sub-range in the carrier leakage range of the I channel to form second feature data, and calculate the intermediate value of each sub-range in the carrier leakage range of the Q channel to form third feature data.

[0240] Further, the transmission module (3) is configured to, before transmitting the training signal, divide the training signal into a first subset and a second subset with the same number of groups, and respectively set the compensation values of the training signals in the first subset and the second subset;

[0241] Wherein, the compensation value of the training signal in the first subset is expressed by the following formula:

[0242] C I,X =-d I,X ;

[0243] Wherein, the compensation value of the training signal in the second subset is expressed by the following formula:

[0244] C Q,Y =-jd Q,Y ;

[0245] Wherein,

[0246] The number of groups of training signals is twice the second preset quantity;

[0247] C I,X represents the compensation value of the Xth group of training signals in the first subset;

[0248] C Q,Y represents the compensation value of the Yth group of training signals in the second subset;

[0249] d I,X is the median value of the Xth sub - segment in the second feature data;

[0250] d Q,Y is the median value of the Yth sub - segment in the third feature data;

[0251] The value range of X is from 1 to K;

[0252] The value range of Y is from 1 to K;

[0253] K is the second preset quantity;

[0254] The screening module (7) is used to: select the single - tone signal with the minimum power value from the single - tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the single - tone signal with the minimum power value as the I - channel compensation value; select the single - tone signal with the minimum power value from the single - tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the single - tone signal with the minimum power value as the Q - channel compensation value;

[0255] The updating module (8) is used to: update the carrier leakage range of the I - channel according to the I - channel compensation value, and update the carrier leakage range of the Q - channel according to the Q - channel compensation value.

[0256] The above are only the preferred embodiments of the present invention, and do not limit the implementation manners and protection scope of the present invention. For those skilled in the art, it should be realized that all equivalent replacements and obvious changes made by using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for obtaining a compensation value for carrier leakage, characterized in that Including: Step A1: Set the initial carrier leakage ranges of the I path and the Q path respectively, and calculate the first eigenvalue and the second characteristic data of the carrier leakage range of the I path, and calculate the first eigenvalue and the third characteristic data of the carrier leakage range of the Q path; Step A2: The transmitting module transmits several groups of training signals, and the compensation value of the training signals is determined according to the second characteristic data and the third characteristic data; Step A3: The receiving module receives the carrier leakage signals that occur when the transmitting module transmits the training signals, wherein the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of subcarrier intervals; Step A4: Convert the carrier leakage signals into single-tone signals and calculate the power values of the single-tone signals; Step A5: Select the power values that meet the preset selection rules, and extract the compensation values of the training signals corresponding to the single-tone signals to which the selected power values belong; Step A6: Update the carrier leakage ranges of the I path and the Q path respectively according to the compensation values extracted in Step A5, and calculate the first eigenvalue and the second characteristic data of the updated carrier leakage range of the I path, and the first eigenvalue and the third characteristic data of the updated carrier leakage range of the Q path; Step A7: Determine whether the updated first eigenvalue is greater than a first threshold value: If so, continue to execute Step A2 using the second characteristic data and the third characteristic data calculated in Step A6; If not, execute Step A8; Step A8: Output the compensation values extracted in Step A5; In Step A1 and Step A6, the calculation processes of the first eigenvalue, the second characteristic data, and the third characteristic data include: Step A101: Divide the carrier leakage ranges of the I path and the Q path into a second preset number of sub-segments respectively; Step A102: Calculate the length of each sub-segment as the first eigenvalue, calculate the intermediate value of each sub-segment in the carrier leakage range of the I path to form the second characteristic data, and calculate the intermediate value of each sub-segment in the carrier leakage range of the Q path to form the third characteristic data.

2. The method for obtaining a compensation value for carrier leakage according to claim 1, wherein In Step A2, the number of groups of the training signals is twice the second preset number, and the training signals are divided into a first subset and a second subset with the same number of groups. The compensation value of the training signals in the first subset is represented by the following formula: C I,X = -d I,X ; The compensation value of the training signals in the second subset is represented by the following formula: C Q,Y = -jd Q,Y ; Wherein, C I,X represents the compensation value of the X-th group of the training signals in the first subset; C Q,Y representing a compensation value of the Y-th group of the training signals in the second subset; d I,X is the median value of the Xth sub-segment in the second characteristic data; d Q,Y is the median value of the Y-th sub-segment in the third characteristic data; The value range of X is 1 to K; The value range of Y is 1 to K; K is the second preset number; In the step A5, select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the I-channel compensation value; select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the Q-channel compensation value; In the step A6, update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

3. The method for obtaining a compensation value for carrier leakage according to claim 1, wherein In the step A2, the number of groups of the training signals is the square of the second preset number, and the compensation value of the training signal is represented by the following formula: C X,Y = -(d I,X + jd Q,Y ); wherein, C X,Y is the compensation value for the training signal of the X×Yth group; The value range of X is 1 to K; The value range of Y is 1 to K; K is the second preset number; d I,X is the median value of the Xth sub-segment in the second feature data; d Q,Y is the median value of the Y-th sub-segment in the third characteristic data; In the step A5, obtain the compensation value of the training signal corresponding to the tone signal with the minimum power value, use the real part of the compensation value as the I-channel compensation value, and use the imaginary part of the compensation value as the Q-channel compensation value; In the step A6, update the carrier leakage range of the I channel according to the I-channel compensation value, and update the carrier leakage range of the Q channel according to the Q-channel compensation value.

4. The method for obtaining a compensation value for carrier leakage according to claim 3, wherein Before the step A2 and after the step A1, the following steps are further included: Step B1, the transmitting module transmits a plurality of groups of training signals, the number of groups of the training signals is twice the second preset number, divide the training signals into a first subset and a second subset with the same number of groups, and the compensation value of the training signals in the first subset is represented by the following formula: C I,X = -d I,X ; The compensation value of the training signals in the second subset is represented by the following formula: C Q,Y = -jd Q,Y ; wherein, C I,X represents the compensation value of the Xth group of the training signals in the first subset; C Q,Y represents the compensation value of the Y-th group of the training signals in the second subset; d I,X is the median value of the X-th sub-segment in the second feature data; d Q,Y is the median value of the Y-th sub-segment in the third characteristic data; The value range of X is 1 to K; The value range of Y is 1 to K; K is the second preset number; Step B2, the receiving module receives the carrier leakage signal when the transmitting module transmits the training signal, wherein the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by the subcarrier interval of the first preset number; Step B3, convert the carrier leakage signal into a tone signal, and calculate the power value of each group of tone signals; In the step B4, select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the I-channel compensation value; select the tone signal with the minimum power value from the tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the tone signal with the minimum power value as the Q-channel compensation value; In step B5, update the carrier leakage range of the I channel according to the I-channel compensation value, update the carrier leakage range of the Q channel according to the Q-channel compensation value, and calculate the first eigenvalue and the second characteristic data of the updated carrier leakage range of the I channel, and the first eigenvalue and the third characteristic data of the updated carrier leakage range of the Q channel; Step B6, determine whether the updated first eigenvalue is greater than the second threshold: If so, execute step B1 using the second characteristic data and the third characteristic data calculated in step B5; If not, execute step A2 using the second characteristic data and the third characteristic data calculated in step B5.

5. A method for obtaining a compensation value for carrier leakage according to claim 2 or 3, characterized in that In step A1, the initial carrier leakage range of the I channel and the initial carrier leakage range of the Q channel are both: [-D, D]; In step A6, the updated carrier leakage range of the I channel is: [I min -Δ / 2, I min +Δ / 2]; The updated carrier leakage range of the Q channel is: [Q min -Δ / 2, Q min +Δ / 2]; Wherein, D is the upper limit value of the initial carrier leakage range, and -D is the lower limit value of the initial carrier leakage range; I min is the compensation value for the I channel; Q min is the Q-channel compensation value; Δ is the first eigenvalue.

6. The method for obtaining the compensation value of carrier leakage according to claim 1, wherein In step A4, convert the carrier leakage signal into a single-tone signal, and after shifting the single-tone signal to the DC subcarrier in the time domain through spectral shifting, calculate the power value of the single-tone signal.

7. A system for obtaining a compensation value for carrier leakage, characterized in that, It includes a method for obtaining a compensation value for carrier leakage according to any one of claims 1-6, including: An initial setting module for respectively setting the initial carrier leakage ranges of the I channel and the Q channel; A characteristic calculation module connected to the initial setting module for: calculating the first eigenvalue and the second characteristic data of the initial carrier leakage range of the I channel, and calculating the first eigenvalue and the third characteristic data of the initial carrier leakage range of the Q channel; A transmitting module connected to the characteristic calculation module for transmitting several groups of training signals, and the compensation value of the training signals is determined according to the second characteristic data and the third characteristic data; A receiving module for receiving the carrier leakage signal that appears when transmitting the training signal, wherein the receiving frequency of the receiving module and the transmitting frequency of the transmitting module differ by a first preset number of subcarrier intervals; A signal processing module connected to the receiving module for converting the carrier leakage signal into a single-tone signal; A power calculation module connected to the signal processing module for calculating the power value of the single-tone signal; A screening module connected to the power calculation module for: selecting the power values that meet the preset selection rules, and extracting the compensation values of the training signals corresponding to the single-tone signals to which the selected power values belong; An updating module connected to the screening module for updating the carrier leakage ranges of the I channel and the Q channel respectively according to the extracted compensation values; The feature calculation module is also connected to the update module and is further configured to: calculate the first eigenvalue and the second feature data of the carrier leakage range of the I path after update, and the first eigenvalue and the third feature data of the carrier leakage range of the Q path after update; The judgment module, connected to the feature calculation module, is configured to judge whether the first eigenvalue after update is greater than a first threshold value and output a first judgment result; The transmission module is also connected to the judgment module and is configured to: when the first judgment result is that the first eigenvalue after update is greater than the first threshold value, transmit the training signal, and the compensation value of the training signal is re-determined according to the second feature data and the third feature data after update; The output module, connected to the judgment module and the screening module, is configured to output the compensation value extracted by the screening module when the first judgment result is that the first eigenvalue after update is not greater than the first threshold value; The feature calculation module includes: The segmentation unit is configured to respectively divide the carrier leakage ranges of the I path and the Q path into a second preset number of sub-ranges; The feature calculation unit, connected to the segmentation unit, is configured to: calculate the length of each sub-range as the first eigenvalue, calculate the intermediate value of each sub-range in the carrier leakage range of the I path to form the second feature data, and calculate the intermediate value of each sub-range in the carrier leakage range of the Q path to form the third feature data.

8. The compensation value acquisition system for carrier leakage according to claim 7, wherein The transmission module is configured to divide the training signal into a first subset and a second subset with the same number of groups before transmitting the training signal, and respectively set the compensation values of the training signals in the first subset and the second subset; Wherein, the compensation value of the training signal in the first subset is represented by the following formula: C I,X = -d I,X ; Wherein, the compensation value of the training signal in the second subset is represented by the following formula: C Q,Y = -jd Q,Y ; Wherein, The number of groups of the training signal is twice the second preset number; C I,X represents the compensation value of the X-th group of the training signals in the first subset; C Q,Y represents the compensation value of the Y-th group of the training signals in the second subset; d I,X is the median value of the X-th sub-segment in the second characteristic data; d Q,Y is the median value of the Y-th sub-segment in the third characteristic data; The value range of X is 1 to K; The value range of Y is 1 to K; K is the second preset number; The screening module is configured to: select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the first subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the I path compensation value; select the single-tone signal with the minimum power value from the single-tone signals corresponding to the training signals in the second subset, and use the compensation value of the training signal corresponding to the single-tone signal with the minimum power value as the Q path compensation value; The update module is configured to: update the carrier leakage range of the I path according to the I path compensation value, and update the carrier leakage range of the Q path according to the Q path compensation value.

Citation Information

Patent Citations

  • Transmitting local oscillator leakage digital calibration system and method based on radio frequency transceiver chip

    CN111181594A

  • Local oscillator leakage calibration method and system based on grid sampling and extreme value acquisition

    CN114745063A