Method and apparatus for compensating for crosstalk imbalance
By converting the image interference amplitude at multiple calibration levels and performing I/Q imbalance compensation, the image interference problem caused by I/Q imbalance is solved, improving the accuracy and effectiveness of RF signal compensation and ensuring signal quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING X RING TECHNOLOGY CO LTD
- Filing Date
- 2023-12-28
- Publication Date
- 2026-06-30
AI Technical Summary
The imperfect matching of the characteristics of the I/Q branches of the terminal device leads to I/Q imbalance of the radio frequency signal, which affects the signal quality. Existing I/Q imbalance compensation methods may exacerbate image interference.
By acquiring the I/Q calibration results of the RF signal at multiple calibration levels, converting them into image interference amplitude, and then using corresponding I/Q imbalance compensation methods to compensate for the image interference amplitude, including calibration of the image interference amplitude within a set range and identification and deactivation of faulty chips.
It improves the accuracy and effectiveness of I/Q imbalance compensation for RF signals, avoids the aggravation of image interference, and ensures signal quality.
Smart Images

Figure CN120238145B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a method and apparatus for compensating for orthogonal imbalance in the same direction. Background Technology
[0002] Currently, communication systems typically employ complex modulation / demodulation mechanisms for radio frequency (RF) signal processing. For example, during signal transmission, terminal equipment needs to demodulate the received RF signal and modulate the transmitted RF signal. The two baseband signal components of the RF signal (in-phase (I) and quadrature (Q)) must remain orthogonal. However, due to imperfect matching of device characteristics in the I / Q branches of the terminal equipment, I / Q imbalance occurs in the RF signal, which can degrade its quality. Therefore, compensating for I / Q imbalance in RF signals is crucial to avoid reducing signal quality. Summary of the Invention
[0003] This disclosure aims to at least partially address one of the technical problems in the related art.
[0004] To address this, this disclosure proposes a method and apparatus for co-directional orthogonal imbalance compensation. This method converts the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level among multiple calibration levels in the first calibration dimension. Based on the first image interference amplitude, a first I / Q imbalance compensation method is used to compensate for the I / Q imbalance of the radio frequency signal. This achieves the conversion of the first I / Q calibration result into the first image interference amplitude caused by I / Q imbalance, and the I / Q imbalance compensation of the radio frequency signal is performed based on the first image interference amplitude obtained from the conversion of the first I / Q calibration result, thereby improving the accuracy and effectiveness of I / Q imbalance compensation for the radio frequency signal.
[0005] One embodiment of this disclosure proposes a co-directional orthogonal imbalance compensation method, comprising: acquiring a first I / Q calibration result of a radio frequency signal output from a radio frequency path at a first calibration level among multiple calibration levels in a first calibration dimension; converting the first I / Q calibration result into a first image interference amplitude of the radio frequency signal at the first calibration level according to a first I / Q imbalance compensation method matching the first I / Q calibration result; and performing I / Q imbalance compensation on the radio frequency signal using the first I / Q imbalance compensation method according to the first image interference amplitude.
[0006] Another embodiment of this disclosure proposes a co-directional orthogonal imbalance compensation device, comprising: an acquisition module, configured to acquire a first I / Q calibration result of a radio frequency signal output from a radio frequency path at a first calibration level among multiple calibration levels in a first calibration dimension; a conversion module, configured to convert the first I / Q calibration result into a first image interference amplitude of the radio frequency signal at the first calibration level according to a first I / Q imbalance compensation method matched with the first I / Q calibration result; and a compensation module, configured to perform I / Q imbalance compensation on the radio frequency signal according to the first image interference amplitude and using the first I / Q imbalance compensation method.
[0007] Another embodiment of this disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the same-direction orthogonal imbalance compensation method as described in the foregoing aspect.
[0008] Another aspect of this disclosure proposes a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the same-direction orthogonal imbalance compensation method as described in the foregoing aspect.
[0009] Another embodiment of this disclosure proposes a computer program product having a computer program stored thereon, which, when executed by a processor, implements the same-direction orthogonal imbalance compensation method as described in the foregoing aspect.
[0010] The proposed orthogonal imbalance compensation method and apparatus converts the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level among multiple calibration levels in the first calibration dimension. Based on the first image interference amplitude, the first I / Q imbalance compensation method is used to compensate for the I / Q imbalance of the radio frequency signal. This realizes the conversion of the first I / Q calibration result into the first image interference amplitude caused by I / Q imbalance, and the I / Q imbalance compensation of the radio frequency signal is performed based on the first image interference amplitude obtained by converting the first I / Q calibration result, thereby improving the accuracy and effectiveness of I / Q imbalance compensation of the radio frequency signal.
[0011] Additional aspects and advantages of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description
[0012] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, in which:
[0013] Figure 1 A schematic flowchart illustrating a method for compensating for orthogonal imbalance in the same direction, provided in an embodiment of this disclosure;
[0014] Figure 2 A schematic flowchart illustrating another orthogonal imbalance compensation method provided in this embodiment of the present disclosure;
[0015] Figure 3 A schematic flowchart illustrating another orthogonal imbalance compensation method provided in this embodiment of the present disclosure;
[0016] Figure 4 A schematic flowchart illustrating another orthogonal imbalance compensation method provided in this embodiment of the present disclosure;
[0017] Figure 5 A schematic diagram illustrating the implementation principle of a unidirectional orthogonal imbalance compensation method provided in an embodiment of this disclosure;
[0018] Figure 6 This is a schematic diagram of the structure of a co-directional orthogonal imbalance compensation device provided in an embodiment of the present disclosure;
[0019] Figure 7 This is a block diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0020] Embodiments of this disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.
[0021] Currently, before terminal equipment leaves the factory, it is necessary to perform I / Q calibration. Based on the calibration results (amplitude and phase differences between the I and Q channels), imbalance compensation is performed on the I / Q signals at the transmitting or receiving end. Among related technologies, the I / Q imbalance compensation methods mainly include the following two:
[0022] Imbalance Compensation Method 1:
[0023]
[0024] Where I is the I-channel signal before calibration, Q is the Q-channel signal before calibration, and Sig BB The output signal after I / Q calibration is given, and g and θ are the calibration results, where g is the amplitude difference between the I and Q paths and θ is the phase difference between the I and Q paths.
[0025] Imbalance Compensation Method 2:
[0026] Sig′ BB =x(t)+α·conj(x(t)); (2)
[0027] Where x(t) is the complex signal before calibration (containing the real part I and the imaginary part Q), Sig′ BB The output signal after I / Q calibration (containing the real part I and the imaginary part Q) is α, which is the calibration result and is a complex number.
[0028] In actual I / Q calibration, the calibration result (g,θ) or α may be unreasonable due to the signal quality of the calibration path (RF path) itself, fixed-point quantization error, etc. If an incorrect calibration result is used in formula (1) or formula (2), it will lead to aggravated I / Q imbalance and more serious image interference.
[0029] Therefore, in order to address the above problems, this disclosure proposes a method and apparatus for compensating for orthogonal imbalance in the same direction.
[0030] The following description, with reference to the accompanying drawings, illustrates a method and apparatus for compensating for orthogonal imbalance in the same direction, according to embodiments of the present disclosure.
[0031] Figure 1 This is a schematic flowchart of a method for compensating for orthogonal imbalance in the same direction, provided in an embodiment of this disclosure.
[0032] The subject of the same-direction orthogonal imbalance compensation method in this embodiment is a same-direction orthogonal imbalance compensation device. This device can be installed in any electronic device so that the electronic device can perform the same-direction orthogonal imbalance compensation function.
[0033] Among them, electronic devices can be any device with computing capabilities, such as personal computers, mobile terminals, servers, etc. Mobile terminals can be hardware devices with various operating systems, touch screens and / or displays, such as in-vehicle devices, mobile phones, tablets, personal digital assistants, wearable devices, etc.
[0034] like Figure 1 As shown, the orthogonal imbalance compensation method in the same direction may include the following steps:
[0035] Step 101: Obtain the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension.
[0036] As one possible implementation of this disclosure, in the I / Q calibration scenario of a terminal device, the first I / Q calibration result of the RF signal output by the RF path of the terminal device in the first calibration dimension can be obtained. The RF signal can be a received RF signal or a RF signal to be transmitted; this disclosure does not impose specific limitations. Furthermore, the multiple calibration levels in the first calibration dimension can be, for example, multiple automatic gain control levels under the same bandwidth, or multiple automatic power control levels under the same bandwidth. For instance, the multiple calibration levels in the first calibration dimension include automatic gain control of 5dB, 10dB, 15dB, and 20dB under a 5MHz bandwidth; or, for example, automatic power control of 5dB, 10dB, 15dB, and 20dB under a 10MHz bandwidth; automatic power control of 10dB, 15dB, and 20dB under a 10MHz bandwidth; automatic power control of 10dB, 10dB, and 20dB under a 10MHz bandwidth. The first calibration level in the first calibration dimension can be one of the multiple calibration levels in the first calibration dimension. For example, the first calibration level in the first calibration dimension is 5dB automatic gain control under 5MHz bandwidth.
[0037] Furthermore, the multiple calibration levels in the first calibration dimension can be, for example, multiple automatic gain control levels in the same frequency band, or multiple automatic power control levels in the same frequency band.
[0038] Multiple calibration levels in the first calibration dimension can be, for example, multiple automatic gain control levels at the same amplitude, or multiple automatic power control levels at the same amplitude, etc.
[0039] It should be noted that the first I / Q calibration result can be the I / Q calibration result of the RF signal output by the RF path under the first calibration method in the first calibration dimension. That is, the first calibration result includes the amplitude difference between the I and Q paths of the RF path and the phase difference between the I and Q paths. Alternatively, the first I / Q calibration result can be the I / Q calibration result of the RF signal output by the RF path under the second calibration method in the first calibration dimension. The first calibration result includes the image interference coefficient.
[0040] Step 102: Based on the first I / Q imbalance compensation method that matches the first I / Q calibration result, convert the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level.
[0041] As one possible implementation of this disclosure, when the first I / Q calibration result contains different contents, there are different I / Q imbalance compensation methods. For example, when the first I / Q calibration result includes the amplitude difference between the I and Q paths of the radio frequency path and the phase difference between the I and Q paths, the first I / Q imbalance compensation method that matches the first I / Q calibration result can be I / Q imbalance compensation method 1 (i.e., formula (1)). When the first I / Q calibration result includes the image interference coefficient, the first I / Q imbalance compensation method that matches the first I / Q calibration result can be I / Q imbalance compensation method 2 (i.e., formula (2)).
[0042] As an example, different I / Q imbalance compensation methods correspond to different image interference amplitude calculation formulas. Based on the image interference amplitude calculation formula corresponding to the first I / Q imbalance compensation method that matches the first I / Q calibration result, the first I / Q calibration result is converted into the first image interference amplitude of the radio frequency signal at the first calibration level in the first calibration dimension.
[0043] Step 103: Based on the amplitude of the first image interference, perform I / Q imbalance compensation on the radio frequency signal using the first I / Q imbalance compensation method.
[0044] As one possible embodiment of this disclosure, if the first I / Q calibration result is determined to be reasonable based on the first image interference amplitude, a first I / Q imbalance compensation method matching the first I / Q calibration result is adopted, and the radio frequency signal is I / Q imbalance compensated based on the first I / Q calibration result.
[0045] In summary, by converting the first I / Q calibration result into the first image interference amplitude of the RF signal at the first calibration level among multiple calibration levels in the first calibration dimension, and then using the first I / Q imbalance compensation method to compensate for the I / Q imbalance of the RF signal based on the first image interference amplitude, the first I / Q calibration result is converted into the first image interference amplitude caused by I / Q imbalance. Compensating for the I / Q imbalance of the RF signal based on the first image interference amplitude obtained from the first I / Q calibration result improves the accuracy and effectiveness of I / Q imbalance compensation for the RF signal.
[0046] To clearly illustrate how the first I / Q imbalance compensation method is used to compensate for the radio frequency signal according to the first image interference amplitude in the above embodiments, this disclosure proposes another orthogonal imbalance compensation method.
[0047] Figure 2 This is a schematic flowchart of another orthogonal imbalance compensation method provided in an embodiment of the present disclosure.
[0048] like Figure 2 As shown, the orthogonal imbalance compensation method in the same direction may include the following steps:
[0049] Step 201: Obtain the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension.
[0050] Step 202: Based on the first I / Q imbalance compensation method that matches the first I / Q calibration result, convert the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level.
[0051] Step 203: In response to the first image interference amplitude being within the set interference amplitude range of the first calibration level, the second I / Q calibration result of the radio frequency signal under multiple calibration levels in the first calibration dimension is obtained.
[0052] As one possible implementation of this disclosure, it is determined whether the amplitude of the first image interference is within the set interference amplitude range of the first calibration level of the first calibration dimension. In response to the first image interference amplitude being within the set interference amplitude range of the first calibration dimension, the radio frequency signal is I / Q calibrated using the radio frequency path at multiple calibration levels in the first calibration dimension to obtain multiple second I / Q calibration results. The multiple calibration levels in the first calibration dimension may include, for example, automatic gain control of 5dB, automatic gain control of 10dB, automatic gain control of 15dB, and automatic gain control of 20dB at a bandwidth of 5MHz.
[0053] The set interference amplitude range corresponding to each calibration level in the first calibration dimension may be the same or different, and this disclosure does not make specific limitations.
[0054] Step 204: Based on the second image interference amplitude of each second I / Q calibration result at the corresponding calibration level in the first calibration dimension, determine the average image interference amplitude of the RF signal in the first calibration dimension.
[0055] As an example, for any second I / Q calibration result, according to the I / Q imbalance compensation method matched by any second I / Q calibration result, the second I / Q calibration result is converted into the second image interference amplitude of the radio frequency signal at the corresponding calibration level in the first calibration dimension. Then, according to the second image interference amplitude of each second I / Q calibration result at the corresponding calibration level in the first calibration dimension, the average image interference amplitude of the radio frequency signal in the first calibration dimension can be determined.
[0056] Step 205: In response to the difference between the first image interference amplitude and the average of the image interference amplitude being less than or equal to a set difference threshold, the first I / Q imbalance compensation method is adopted to perform I / Q imbalance compensation on the radio frequency signal based on the first I / Q calibration result.
[0057] As one possible implementation, if the difference between the first image interference amplitude and the mean of the image interference amplitude is less than or equal to a set difference threshold, it indicates that the first I / Q calibration result is reasonable, and the first I / Q imbalance compensation method can be adopted to compensate the radio frequency signal for I / Q imbalance based on the first I / Q calibration result.
[0058] As another possible implementation, in response to the difference between the first image interference amplitude and the average image interference amplitude being greater than a set difference threshold, the radio frequency signal is recalibrated at the first calibration level of the first calibration dimension using the radio frequency path to obtain the third I / Q calibration result; according to the third I / Q imbalance compensation method matching the third I / Q calibration result, the third I / Q calibration result is converted into the third image interference amplitude of the radio frequency signal at the first calibration level; in response to the difference between the third image interference amplitude and the average image interference amplitude being less than or equal to the set difference threshold, the radio frequency signal is compensated for I / Q imbalance based on the third I / Q calibration result using the third I / Q imbalance compensation method matching the third I / Q calibration result.
[0059] In other words, if the difference between the first image interference amplitude and the average image interference amplitude is greater than a set difference threshold, it indicates that the first I / Q calibration result is unreasonable. The RF path can be used to recalibrate the RF signal at the first calibration level to obtain the third I / Q calibration result. The third I / Q calibration result is then converted into the third image interference amplitude of the RF signal at the first calibration level in the first calibration dimension. When the difference between the third image interference amplitude and the average image interference amplitude is less than or equal to the set difference threshold, it indicates that the third I / Q calibration result obtained by recalibrating the RF signal is reasonable. A third I / Q imbalance compensation method that matches the third I / Q calibration result can be used to compensate for the I / Q imbalance of the RF signal based on the third I / Q calibration result.
[0060] As another possible implementation, in response to the difference between the third image interference amplitude and the average image interference amplitude being greater than a set difference threshold, the radio frequency signal is recalibrated at the second calibration level of multiple calibration levels using the radio frequency path to obtain the fourth I / O calibration result, wherein the second calibration level is adjacent to the first calibration level; and the fourth I / Q imbalance compensation method matching the fourth I / Q calibration result is used to compensate for the I / Q imbalance of the radio frequency signal based on the fourth I / Q calibration result.
[0061] In other words, the third I / Q calibration result is obtained under the first calibration level among multiple calibration levels in the first calibration dimension. If the third I / Q calibration result is unreasonable, the fourth I / O calibration result obtained under the second calibration level among multiple calibration levels in the first calibration dimension is used to compensate for the I / Q imbalance of the radio frequency signal. The first calibration level and the second calibration level are adjacent, that is, the third I / Q calibration result and the fourth I / O calibration result are calibration results of adjacent calibration levels in the same calibration dimension.
[0062] As another possible implementation, in response to the first image interference amplitude being greater than the upper limit of the set interference amplitude range, candidate faulty chips are identified from the radio frequency chips in the radio frequency path, and other judgment rules are combined to determine whether the candidate faulty chip is the target faulty chip. When the candidate faulty chip is the target faulty chip, the target faulty chip is deactivated.
[0063] As another possible implementation, in response to the first mirror interference amplitude being less than the lower limit of the set interference amplitude range, it can be considered that the I / Q imbalance is small enough, and the first I / Q calibration result may be inaccurate due to the fixed-point quantization error in the calculation process. Therefore, the first I / Q calibration result is not used.
[0064] It should be noted that the execution process of steps 201 to 202 can be implemented in any of the embodiments of this disclosure. This disclosure does not limit this and will not elaborate further.
[0065] In summary, by responding to the first image interference amplitude being within the set interference amplitude range of the first calibration level, the second I / Q calibration results of the RF signal at multiple calibration levels in the first calibration dimension are obtained; based on the second image interference amplitude of each second I / Q calibration result at the corresponding calibration level in the first calibration dimension, the average image interference amplitude of the RF signal in the first calibration dimension is determined; responding to the difference between the first image interference amplitude and the average image interference amplitude being less than or equal to a set difference threshold, the first I / Q imbalance compensation method is adopted to perform I / Q imbalance compensation on the RF signal based on the first I / Q calibration results. Thus, by converting the first image interference amplitude caused by I / Q imbalance according to the first I / Q calibration results, and determining that the first I / Q calibration results are reasonable, the first I / Q calibration results are used to perform I / Q imbalance compensation on the RF signal, thereby improving the effectiveness and accuracy of I / Q imbalance compensation.
[0066] As an example, in response to the first image interference amplitude exceeding the upper limit of the set interference amplitude range, candidate faulty chips are identified from the RF chips in the RF path. This is combined with other judgment rules to determine whether the candidate faulty chip is the target faulty chip. If the candidate faulty chip is the target faulty chip, the target faulty chip is deactivated. The following section combines... Figure 3 Please provide a detailed explanation.
[0067] Figure 3 This is a schematic flowchart of another orthogonal imbalance compensation method provided in an embodiment of the present disclosure.
[0068] like Figure 3 As shown, the orthogonal imbalance compensation method in the same direction may include the following steps:
[0069] Step 301: Obtain the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension.
[0070] Step 302: Based on the first I / Q imbalance compensation method that matches the first I / Q calibration result, convert the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level.
[0071] Step 303: Based on the first image interference amplitude and the set interference amplitude range, determine the candidate faulty chip from the radio frequency chips in the radio frequency path.
[0072] As one possible implementation, in response to the first image interference amplitude being greater than the upper limit of a set interference amplitude range, a target RF chip for processing RF signals is determined from the RF chips in the RF path; the target RF chip is then designated as a candidate defective chip.
[0073] As another possible implementation, in response to the first image interference amplitude being greater than the upper limit of the set interference amplitude range, the radio frequency signal is recalibrated at least once using the radio frequency path at the first calibration level of the first calibration dimension to obtain at least one fifth I / Q calibration result; in response to the fourth image interference amplitude corresponding to at least one fifth I / Q calibration result being greater than the upper limit of the set interference amplitude range, the target radio frequency chip is regarded as a candidate defective chip.
[0074] Step 304: In response to the error vector amplitude of the radio frequency signal being greater than a set amplitude threshold, the candidate defective chip is selected as the target defective chip.
[0075] As one possible implementation, the error vector magnitude (EVM) of the radio frequency signal is obtained. When the EVM of the radio frequency signal is greater than a set amplitude threshold, the candidate defective chip is taken as the target defective chip.
[0076] As another possible implementation, the signal-to-noise ratio (SNR) of the radio frequency (RF) signal is obtained, and when the SNR of the RF signal is greater than a set SNR threshold, the candidate defective chip is taken as the target defective chip.
[0077] Step 305: Deactivate the target faulty chip in the RF path.
[0078] Furthermore, as an example, the target faulty chip in the RF path is deactivated, and a prompt is made to repair the target faulty chip.
[0079] It should be noted that the execution process of steps 301 to 302 can be implemented in any of the embodiments of this disclosure. This disclosure does not limit this and will not elaborate further.
[0080] In summary, by determining candidate faulty chips from the RF chips in the RF path based on the first image interference amplitude and a set interference amplitude range, and in response to the error vector amplitude of the RF signal exceeding a set amplitude threshold, the candidate faulty chips are designated as target faulty chips, and the target faulty chips in the RF chips of the RF path are deactivated. Thus, by determining candidate faulty chips from the RF chips in the RF path based on the first image interference amplitude and the set interference amplitude range, and by determining whether a candidate faulty chip is a target faulty chip based on the error vector amplitude of the RF signal, the deactivation of the target faulty chip when it is a target faulty chip can avoid the problem of RF signal quality degradation caused by the target faulty chip.
[0081] To clearly illustrate how the first I / Q calibration result is converted into the first image interference amplitude of the radio frequency signal in the first calibration dimension according to the I / Q imbalance compensation method that matches the first I / Q calibration result in the above embodiments, this disclosure proposes a flowchart of another orthogonal imbalance compensation method.
[0082] Figure 4 This is a schematic flowchart of another orthogonal imbalance compensation method provided in an embodiment of the present disclosure.
[0083] like Figure 4 As shown, the orthogonal imbalance compensation method in the same direction may include the following steps:
[0084] Step 401: Obtain the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension.
[0085] Step 402: In response to the first I / Q calibration result including the amplitude difference between the I and Q paths of the RF path and the phase difference between the I and Q paths, determine the first I / Q imbalance compensation method based on the amplitude difference and the phase difference.
[0086] As an example, the first I / Q calibration result includes the amplitude difference between the I and Q paths of the RF path and the phase difference between the I and Q paths. A first I / Q imbalance compensation method matching this first I / Q calibration result can be determined as follows:
[0087] Equation 1(1), i.e.
[0088]
[0089] Where I is the I-channel signal before calibration, Q is the Q-channel signal before calibration, and Sig BB θ represents the output signal after I / Q calibration, g represents the amplitude difference between the I and Q paths, and θ represents the phase difference between the I and Q paths.
[0090] Step 403: From the candidate image interference amplitude calculation formulas, query the first target image interference amplitude calculation formula that matches the first I / Q imbalance compensation method.
[0091] As one possible implementation, the formula for calculating the amplitude of the first target image interference, which matches the above formula (1), can be expressed as follows:
[0092]
[0093] Among them, imbc amp The amplitude of the first mirror interference is represented by g, the amplitude difference between the I and Q paths, and the phase difference between the I and Q paths.
[0094] Step 404: Substitute the amplitude difference and phase difference into the formula for calculating the first target image interference amplitude to obtain the first image interference amplitude of the radio frequency signal at the first calibration level.
[0095] Furthermore, the amplitude difference between the I and Q paths of the RF path and the phase difference between the I and Q paths in the first I / Q calibration result can be substituted into the above formula (3) to obtain the first image interference amplitude of the RF signal in the first calibration level.
[0096] As another example, in response to the inclusion of image interference coefficients in the first I / Q calibration result, a first I / Q imbalance compensation method is determined based on the image interference coefficients; from the candidate image interference amplitude calculation formulas, a second target image interference amplitude calculation formula matching the first I / Q imbalance compensation method is queried; the image interference coefficients are substituted into the second target image interference amplitude calculation formula to obtain the first image interference amplitude of the radio frequency signal at the first calibration level in the first calibration dimension.
[0097] In other words, if the image interference coefficient is included in the first I / Q calibration result, the compensation method for the first I / Q imbalance can be determined as formula (2), i.e.
[0098] Sig′ BB = x(t) + α·conj(x(t));
[0099] Where x(t) is the complex signal before calibration (containing the real part I and the imaginary part Q), Sig′ BBThe output signal after I / Q calibration (containing the real part I and the imaginary part Q) is α, which is the image interference coefficient (the result of the first I / Q calibration) and is a complex number. Therefore, the formula for calculating the amplitude of the second target image interference, which matches formula (2), can be expressed as follows:
[0100] imbc amp = (20*log10α)dB; (4)
[0101] Among them, imbc amp This is represented as the amplitude of the first mirror interference.
[0102] Furthermore, by substituting the image interference coefficient α in the first I / Q calibration result into formula (4), the first image interference amplitude of the radio frequency signal under the first calibration level can be obtained.
[0103] Step 405: Based on the amplitude of the first image interference, perform I / Q imbalance compensation on the radio frequency signal using the first I / Q imbalance compensation method.
[0104] It should be noted that the execution of steps 401 and 405 can be implemented in any of the embodiments of this disclosure. This disclosure does not limit the implementation of these steps and will not elaborate further.
[0105] In summary, by responding to the amplitude difference and phase difference between the I and Q paths of the RF path included in the first I / Q calibration result, the first I / Q imbalance compensation method is determined based on the amplitude difference and phase difference. From the candidate image interference amplitude calculation formulas, the first target image interference amplitude calculation formula matching the first I / Q imbalance compensation method is retrieved. The amplitude difference and phase difference are substituted into the first target image interference amplitude calculation formula to obtain the first image interference amplitude of the RF signal at the first calibration level. Therefore, based on the first target image interference amplitude calculation formula matching the first I / Q imbalance compensation method, the first image interference amplitude of the RF signal at the first calibration level is calculated, improving the accuracy of converting the first I / Q calibration result into the first image interference amplitude.
[0106] Based on any embodiment of this disclosure, the implementation principle of this disclosure can be as follows: Figure 5 As shown, the main steps include:
[0107] Step 1: The RF path I / Q calibration module outputs the I / Q calibration result, which can be the (g,θ) parameter of calibration method 1 or the α parameter of calibration method 2.
[0108] Step 2: Convert the calibration results of the current dimension (AGC-gain level / APC-gain level / different bandwidths, etc.) into the relative amplitude of the original image interference of the RF path;
[0109] For imbalance compensation method 1, use the (g,θ) calibration result to calculate the relative amplitude of the path image interference:
[0110]
[0111] For imbalance compensation method 2, use the α parameter to calculate the relative amplitude of the path image interference:
[0112] imbc amp = (20 * log10α) dB;
[0113] Step 3, compare the image calculation result imbc amp with the thresholds highLmt and lowLmt. If imbc amp ≤ lowLmt, go to step 4. If imbc amp ≥ highLmt, go to step 5. If lowLmt < imbc amp < highLmt, go to step 6;
[0114] Step 4, imbc amp ≤ lowLmt. It is considered that the original I / Q imbalance of the RF path is small enough to meet the I / Q imbalance index requirements. At the same time, since the I / Q imbalance of the path is very small, the calibration result may be inaccurate due to the fixed-point quantization error in the calculation process. Therefore, this calibration result is not used, and the I / Q signal directly skips the calibration circuit. The recommended value of lowLmtt <= -40dB;
[0115] Step 5, imbc amp ≥ highLmt. It is considered that the image interference caused by the original I / Q imbalance of the RF path is abnormally large. There may be serious quality problems with the current chip, or there may be serious errors in the calibration. The chip can be directly listed as the basis for screening "bad chips", and combined with other judgment criteria to determine whether it is a "bad chip", or it is considered that the calibration result is not credible, and the calibration is performed again. If the abnormal phenomena of the calibration results are similar after multiple calibrations, it is listed as the basis for screening "bad chips", and combined with other judgment criteria to determine whether it is a "bad chip". The highLmt threshold can be determined by adding an offset to the average value of the images caused by the I / Q imbalance of the chip batch. The recommended value of highLmt >= -15dB;
[0116] Step 6, lowLmt < imbc amp < highLmt. If the current dimension imbc amp differs from the average value of the image interference converted from the multi-dimensional I / Q calibration result by more than the threshold:
[0117] It can be:
[0118] It can also be:
[0119] The above dimensions can be: multiple AGC-gain levels under the same receive bandwidth, multiple APC-gain levels under the same receive bandwidth;
[0120] The recommended value of diffLmt ≥ 6 dB;
[0121] If the I / Q imbalance calibration result of the current dimension is considered unreasonable, go to step 7; otherwise, if the difference is less than or equal to the threshold, go to step 8;
[0122] Step 7: If the I / Q imbalance calibration result of the current dimension is considered unreasonable, recalibrate the current dimension. If the result is still unreasonable after passing through the above judgment steps, use the calibration result of the adjacent level of the same dimension or abandon the calibration of this dimension;
[0123] Step 8: If the I / Q imbalance calibration result of the current dimension is reasonable, use the imbalance compensation method 1 (formula (1)) or imbalance compensation method 2 (formula (2)) in the above text to perform I / Q imbalance compensation on the RF path.
[0124] As an example, the implementation principle of the present disclosure mainly includes the following parts:
[0125] Step 1: The I / Q calibration module of the receive RF path uses calibration method 1 to output the I / Q calibration result: (g, θ);
[0126] Step 2: Convert the current calibration result to the relative amplitude of the original image interference of the RF path:
[0127] For imbalance compensation method 1, use the (g, θ) calibration result to calculate the relative amplitude of the path image interference:
[0128]
[0129] Step 3: Compare the image calculation result imbc amp with the thresholds highLmt and lowLmt. If imbc amp ≤ lowLmt, go to step 4; if imbc amp ≥ highLmt, go to step 5; if lowLmt < imbc amp < highLmt, go to step 6, where lowLmt = -40 dB and highLmt = -15 dB;
[0130] Step 4: imbc amp≤lowLmt, it is considered that the original I / Q imbalance of the RF path is small enough to meet the I / Q imbalance index requirements. At the same time, since the I / Q imbalance of the path is very small, the calibration result may be inaccurate due to the fixed-point quantization error in the calculation process. Therefore, this calibration result is not used, and the I / Q signal directly skips the calibration circuit;
[0131] Step 5, imbc amp ≥highLmt, it is considered that the image interference caused by the original I / Q imbalance of the RF path is abnormally large. There may be serious quality problems with the current chip, or there may be serious errors in calibration. The chip can be directly screened as a "bad chip", or it is considered that the calibration result is not credible, and calibration is performed again. If the abnormal phenomena of multiple calibration results are similar, it is listed as a "bad chip".
[0132] Step 6, lowLmt < imbc amp < highLmt, if the current dimension imbc amp and the average value of the image interference converted from the multi-dimensional I / Q calibration result The difference is greater than the threshold:
[0133] diffLmt = 6dB;
[0134] It is considered that the I / Q imbalance calibration result of the current dimension is unreasonable and proceeds to step 7, otherwise the difference is less than or equal to the threshold and proceeds to step 8;
[0135] Step 7, recalibrate the current dimension. If the calibration result is still unreasonable after being judged by the above judgment steps, use the calibration result of the adjacent gear of the current dimension;
[0136] Step 8, use the imbalance compensation method 1 (formula (1)) in the above text to perform I / Q imbalance compensation on the RF signal.
[0137] As another example, the implementation principle of the present disclosure mainly includes the following parts:
[0138] Step 1, receive the I / Q calibration result (g, θ) output by the I / Q calibration module of the RF path in the current AGC gear using calibration method 1;
[0139] Step 2, convert the calibration result of the current AGC-gain gear into the relative amplitude of the original image interference of the RF path;
[0140] For the imbalance compensation method 1, use the (g, θ) calibration result to calculate the relative amplitude of the path image interference:
[0141]
[0142] Step 3, convert the mirror calculation result imbcamp Compare with the threshold values highLmt and lowLmt. If imbc amp ≤ lowLmt, go to step 4. If imbc amp ≥ highLmt, go to step 5. If lowLmt < imbc amp < highLmt, go to step 6; where lowLmt = -40dB and highLmt = -15dB;
[0143] Step 4: imbc amp ≤ lowLmt. It is considered that the original I / Q imbalance of the RF path is small enough to meet the I / Q imbalance index requirements. At the same time, since the I / Q imbalance of the path is very small, the calibration result may be inaccurate due to the fixed-point quantization error in the calculation process. Therefore, this calibration result is not used, and the I / Q signal directly skips the calibration circuit;
[0144] Step 5: imbc amp ≥ highLmt. It is considered that the image interference caused by the original I / Q imbalance of the RF path is abnormally large. There may be serious quality problems with the current chip, or there may be serious errors in calibration. The chip can be directly screened as a "bad chip", or it is considered that the calibration result is not credible and calibration is performed again. If the abnormal phenomena of multiple calibration results are similar, it is listed as a "bad chip";
[0145] Step 6: lowLmt < imbc amp < highLmt. If the imbc of the current dimension amp differs from the average value of the image interference converted from the multi-dimensional I / Q calibration result by more than the threshold:
[0146] diffLmt = 6dB;
[0147] It is considered that the I / Q imbalance calibration result of the current dimension is unreasonable and go to step 7. Otherwise, if the difference is less than or equal to the threshold, go to step 8;
[0148] Step 7: Calibrate the current dimension again. If the calibration result is still unreasonable after being judged by the above judgment steps, use the calibration result of the adjacent AGC gear;
[0149] Step 8: Use the imbalance compensation method 1 (formula (1)) in the above text to perform I / Q imbalance compensation on the RF signal.
[0150] To implement the above embodiments, the present disclosure also proposes a co-directional quadrature imbalance compensation device.
[0151] Figure 6 It is a structural schematic diagram of a co-directional quadrature imbalance compensation device provided by an embodiment of the present disclosure.
[0152] like Figure 6 As shown, the orthogonal imbalance compensation device 600 may include: an acquisition module 610, a conversion module 620, and a compensation module 630.
[0153] The acquisition module 610 is used to acquire the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension; the conversion module 620 is used to convert the first I / Q calibration result into the first image interference amplitude of the RF signal at the first calibration level according to the first I / Q imbalance compensation method matched with the first I / Q calibration result; and the compensation module is used to perform I / Q imbalance compensation on the RF signal according to the first image interference amplitude and the first I / Q imbalance compensation method.
[0154] As one possible implementation of this disclosure, the compensation module 630 is configured to, in response to the first image interference amplitude being within a set interference amplitude range of the first calibration level, acquire the second I / Q calibration results of the radio frequency signal at multiple calibration levels in the first calibration dimension; determine the average image interference amplitude of the radio frequency signal in the first calibration dimension based on the second image interference amplitude of each second I / Q calibration result at the corresponding calibration level in the first calibration dimension; and, in response to the difference between the first image interference amplitude and the average image interference amplitude being less than or equal to a set difference threshold, adopt a first I / Q imbalance compensation method to perform I / Q imbalance compensation on the radio frequency signal based on the first I / Q calibration results.
[0155] As one possible implementation of this disclosure, the compensation module 630 is further configured to: respond to a situation where the difference between the first image interference amplitude and the average of the image interference amplitudes is greater than a set difference threshold; recalibrate the radio frequency signal using a radio frequency path at a first calibration level to obtain a third I / Q calibration result; convert the third I / Q calibration result into a third image interference amplitude of the radio frequency signal at the first calibration level according to a third I / Q imbalance compensation method matching the third I / Q calibration result; and compensate the radio frequency signal for I / Q imbalance based on the third I / Q calibration result when the difference between the third image interference amplitude and the average of the image interference amplitudes is less than or equal to a set difference threshold.
[0156] As one possible implementation of this disclosure, the compensation module 630 is further configured to, in response to the difference between the third image interference amplitude and the average of the image interference amplitudes being greater than a set difference threshold, obtain a fourth I / O calibration result, wherein the fourth I / O calibration result is obtained by the RF path calibrating the RF signal at a second calibration level among multiple calibration levels, the second calibration level being adjacent to the first calibration level; and adopt a fourth I / Q imbalance compensation method that matches the fourth I / Q calibration result to perform I / Q imbalance compensation on the RF signal based on the fourth I / Q calibration result.
[0157] As one possible implementation of this disclosure, the orthogonal imbalance compensation device 600 further includes: a first determining module, a second determining module, and a deactivation module.
[0158] The first determining module is used to determine candidate defective chips from the radio frequency chips in the radio frequency path based on the first image interference amplitude and the set interference amplitude range; the second determining module is used to take the candidate defective chips as target defective chips in response to the error vector amplitude (EVM) of the radio frequency signal being greater than the set amplitude threshold; and the deactivation module is used to deactivate the target defective chips in the radio frequency chips of the radio frequency path.
[0159] As one possible implementation of this disclosure, the first determining module is used to determine the target radio frequency chip for processing radio frequency signals from the radio frequency chips in the radio frequency path in response to the first mirror interference amplitude being greater than the upper limit of a set interference amplitude range; and to designate the target radio frequency chip as a candidate defective chip.
[0160] As one possible implementation of this disclosure, the first determining module is configured to, in response to the first image interference amplitude being greater than the upper limit of a set interference amplitude range, recalibrate the radio frequency signal at least once using the radio frequency path at the first calibration level of the first calibration dimension to obtain at least one fifth I / Q calibration result; and in response to the fourth image interference amplitude corresponding to at least one fifth I / Q calibration result being greater than the upper limit of the set interference amplitude range, designate the target radio frequency chip as a candidate defective chip.
[0161] As one possible implementation of this disclosure, the conversion module 620 is configured to, in response to the first I / Q calibration result including the amplitude difference between the I and Q paths of the radio frequency path and the phase difference between the I and Q paths, determine a first I / Q imbalance compensation method based on the amplitude difference and the phase difference; query a first target image interference amplitude calculation formula that matches the first I / Q imbalance compensation method from the candidate image interference amplitude calculation formulas; and substitute the amplitude difference and the phase difference into the first target image interference amplitude calculation formula to obtain the first image interference amplitude of the radio frequency signal at the first calibration level.
[0162] As one possible implementation of this disclosure, the conversion module 620 is further configured to respond to the fact that the first I / Q calibration result includes a mirror interference coefficient, determine a first I / Q imbalance compensation method based on the mirror interference coefficient; query a second target mirror interference amplitude calculation formula that matches the first I / Q imbalance compensation method from the candidate mirror interference amplitude calculation formulas; and substitute the mirror interference coefficient into the second target mirror interference amplitude calculation formula to obtain the first mirror interference amplitude of the radio frequency signal at the first calibration level.
[0163] It should be noted that the foregoing explanation of the embodiment of the orthogonal imbalance compensation method also applies to the orthogonal imbalance compensation device of this embodiment, and will not be repeated here.
[0164] The orthogonal imbalance compensation device of this disclosure acquires the first I / Q calibration result of the radio frequency signal output from the radio frequency path at the first calibration level among multiple calibration levels in the first calibration dimension; according to the first I / Q imbalance compensation method matching the first I / Q calibration result, the first I / Q calibration result is converted into the first image interference amplitude of the radio frequency signal at the first calibration level; according to the first image interference amplitude, the first I / Q imbalance compensation method is used to perform I / Q imbalance compensation on the radio frequency signal. Thus, the first I / Q calibration result is converted into the first image interference amplitude caused by I / Q imbalance, and the radio frequency signal is compensated for I / Q imbalance based on the first image interference amplitude converted from the first I / Q calibration result, thereby improving the accuracy and effectiveness of I / Q imbalance compensation of the radio frequency signal.
[0165] To implement the above embodiments, this disclosure also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the same-direction orthogonal imbalance compensation method as described in the foregoing method embodiments.
[0166] To implement the above embodiments, this disclosure also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the same-direction orthogonal imbalance compensation method as described in the foregoing method embodiments.
[0167] To implement the above embodiments, this disclosure also proposes a computer program product on which a computer program is stored, wherein when the computer program is executed by a processor, it implements the same-direction orthogonal imbalance compensation method as described in the foregoing method embodiments.
[0168] Figure 7 This is a block diagram of an electronic device provided in an embodiment of the present disclosure. For example, the electronic device 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0169] Reference Figure 7 The electronic device 700 may include one or more of the following components: processing component 702, memory 704, power component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.
[0170] Processing component 702 typically controls the overall operation of electronic device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
[0171] Memory 704 is configured to store various types of data to support the operation of electronic device 700. Examples of this data include instructions for any application or method operating on electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0172] Power component 706 provides power to various components of electronic device 700. Power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700.
[0173] Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0174] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
[0175] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0176] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 can detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or a component of electronic device 700, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of electronic device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0177] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0178] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0179] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, which can be executed by a processor 720 of an electronic device 700 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0180] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0181] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0182] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.
[0183] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0184] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0185] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0186] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0187] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A method for compensating for orthogonal imbalance in the same direction, characterized in that, include: Obtain the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension; Based on the first I / Q imbalance compensation method that matches the first I / Q calibration result, the first I / Q calibration result is converted into the first image interference amplitude of the radio frequency signal at the first calibration level. In response to the first image interference amplitude being within the set interference amplitude range of the first calibration level, the second I / Q calibration result of the radio frequency signal under multiple calibration levels in the first calibration dimension is obtained; Based on the second image interference amplitude of each of the second I / Q calibration results at the corresponding calibration level in the first calibration dimension, the average image interference amplitude of the radio frequency signal in the first calibration dimension is determined; In response to the fact that the difference between the first image interference amplitude and the mean of the image interference amplitude is less than or equal to a set difference threshold, the first I / Q imbalance compensation method is adopted to perform I / Q imbalance compensation on the radio frequency signal based on the first I / Q calibration result.
2. The method according to claim 1, characterized in that, The method further includes: In response to the difference between the first image interference amplitude and the average of the image interference amplitudes being greater than the set difference threshold, the radio frequency signal is recalibrated in the first calibration setting using the radio frequency path to obtain a third I / Q calibration result. According to the third I / Q imbalance compensation method that matches the third I / Q calibration result, the third I / Q calibration result is converted into the third image interference amplitude of the radio frequency signal at the first calibration level; In response to the fact that the difference between the third image interference amplitude and the mean of the image interference amplitude is less than or equal to the set difference threshold, a third I / Q imbalance compensation method matching the third I / Q calibration result is adopted to perform I / Q imbalance compensation on the radio frequency signal based on the third I / Q calibration result.
3. The method according to claim 2, characterized in that, The method further includes: In response to the difference between the third image interference amplitude and the average of the image interference amplitude being greater than the set difference threshold, a fourth I / Q calibration result is obtained, wherein the fourth I / Q calibration result is obtained by the radio frequency path calibrating the radio frequency signal at the second calibration level of the plurality of calibration levels, and the second calibration level is adjacent to the first calibration level; A fourth I / Q imbalance compensation method matching the fourth I / Q calibration result is adopted to compensate for the I / Q imbalance of the radio frequency signal based on the fourth I / Q calibration result.
4. The method according to claim 1, characterized in that, The method further includes: Based on the first image interference amplitude and the set interference amplitude range, candidate defective chips are determined from the radio frequency chips of the radio frequency path; If the error vector amplitude (EVM) of the radio frequency signal is greater than a set amplitude threshold, the candidate defective chip is designated as the target defective chip. The target faulty chip in the radio frequency path is deactivated.
5. The method according to claim 4, characterized in that, The step of determining candidate defective chips from the radio frequency chips in the radio frequency path based on the first image interference amplitude and the set interference amplitude range includes: In response to the first mirror interference amplitude being greater than the upper limit of the set interference amplitude range, a target radio frequency chip for processing the radio frequency signal is determined from the radio frequency chips of the radio frequency path; The target RF chip is considered as the candidate defective chip.
6. The method according to claim 5, characterized in that, The step of determining candidate defective chips from the radio frequency chips in the radio frequency path based on the first image interference amplitude and the set interference amplitude range includes: In response to the first image interference amplitude being greater than the upper limit of the set interference amplitude range, the radio frequency signal is recalibrated at least once using the radio frequency path at the first calibration level of the first calibration dimension to obtain at least one fifth I / Q calibration result. In response to the fact that the amplitude of the fourth image interference corresponding to at least one fifth I / Q calibration result is greater than the upper limit of the set interference amplitude range, the target RF chip is designated as the candidate defective chip.
7. The method according to claim 1, characterized in that, The step of converting the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level according to the I / Q imbalance compensation method matching the first I / Q calibration result includes: In response to the first I / Q calibration result including the amplitude difference between the I and Q paths of the radio frequency path and the phase difference between the I and Q paths, the first I / Q imbalance compensation method is determined based on the amplitude difference and the phase difference. From the candidate image interference amplitude calculation formulas, query the first target image interference amplitude calculation formula that matches the first I / Q imbalance compensation method; Substitute the amplitude difference and the phase difference into the formula for calculating the first target image interference amplitude to obtain the first image interference amplitude of the radio frequency signal at the first calibration level.
8. The method according to claim 7, characterized in that, The method further includes: In response to the fact that the first I / Q calibration result includes a mirror interference coefficient, the first I / Q imbalance compensation method is determined based on the mirror interference coefficient; From the candidate image interference amplitude calculation formulas, look up the second target image interference amplitude calculation formula that matches the first I / Q imbalance compensation method; Substitute the image interference coefficient into the formula for calculating the second target image interference amplitude to obtain the first image interference amplitude of the radio frequency signal at the first calibration level.
9. A unidirectional orthogonal imbalance compensation device, characterized in that, include: The acquisition module is used to acquire the first I / Q calibration result of the RF signal output by the RF path at the first calibration level among multiple calibration levels in the first calibration dimension; The conversion module is used to convert the first I / Q calibration result into the first image interference amplitude of the radio frequency signal at the first calibration level according to the first I / Q imbalance compensation method that matches the first I / Q calibration result; The compensation module is used to obtain the second I / Q calibration result of the radio frequency signal under multiple calibration levels in the first calibration dimension in response to the first image interference amplitude being within the set interference amplitude range of the first calibration level; Based on the second image interference amplitude of each of the second I / Q calibration results at the corresponding calibration level in the first calibration dimension, the average image interference amplitude of the radio frequency signal in the first calibration dimension is determined; In response to the fact that the difference between the first image interference amplitude and the mean of the image interference amplitude is less than or equal to a set difference threshold, the first I / Q imbalance compensation method is adopted to perform I / Q imbalance compensation on the radio frequency signal based on the first I / Q calibration result.
10. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the method as described in any one of claims 1-8.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-8.