IQ signal calibration method, system and storage medium

文档序号:1864716 发布日期:2021-11-19 浏览:17次 中文

阅读说明:本技术 一种iq信号校准方法、系统及存储介质 (IQ signal calibration method, system and storage medium ) 是由 颜海龙 李相宏 谭红军 李峰 肖乾友 于 2021-09-09 设计创作,主要内容包括:本发明公开了一种IQ信号校准方法、系统及存储介质,所述方法包括:步骤S10,发送初始IQ信号数据至射频链路;步骤S20,根据所述初始IQ信号数据以及第一预设方式判断I通路是否平衡;步骤S30,若所述I通路平衡,则跳转至步骤S40,若所述I通路不平衡,则对所述I通路进行校准;步骤S40,以第二预设方式判断Q通路是否平衡;步骤S50,若所述Q通路不平衡,则对所述Q通路进行校准,以使得所述I通路和Q通路的幅频对称。相对于现有技术,本发明校准方法简单,既避免影响正常IQ数据发送,又能达到解决IQ信号不平衡问题,提高校准准确度的目的。(The invention discloses an IQ signal calibration method, a system and a storage medium, wherein the method comprises the following steps: step S10, sending the initial IQ signal data to the radio frequency link; step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode; step S30, if the I path is balanced, jumping to step S40, if the I path is unbalanced, calibrating the I path; step S40, judging whether the Q channel is balanced in a second preset mode; and step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency. Compared with the prior art, the calibration method is simple, not only avoids influencing normal IQ data transmission, but also achieves the purposes of solving the problem of IQ signal imbalance and improving the calibration accuracy.)

1. An IQ signal calibration method, comprising:

step S10, sending the initial IQ signal data to the radio frequency link;

step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode;

step S30, if the I path is balanced, jumping to step S40, if the I path is unbalanced, calibrating the I path;

step S40, judging whether the Q channel is balanced in a second preset mode;

and step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency.

2. The IQ signal calibration method according to claim 1 wherein the step S20 of determining whether the I path is balanced based on the initial IQ signal data and a first predetermined manner comprises:

step S201, obtaining a bias voltage value IN of the path I;

step S202, switching circuit links;

step S203, obtaining a bias voltage value IP of the path I;

step S204, calculating to obtain a difference value delta I between the bias voltage value IN and the bias voltage value IP according to the bias voltage value IN and the bias voltage value IP;

step S205, comparing the difference value delta I with a first preset threshold value;

step S206, if the difference value delta I is smaller than or equal to the first preset threshold value, the I path is balanced;

step S207, if the difference Δ I is greater than the first preset threshold, the I path is unbalanced.

3. The IQ signal calibration method according to claim 2 wherein, if the I path is balanced, the step S40 of determining whether the Q path is balanced in a second predetermined manner comprises:

step S401, obtaining a bias voltage value QN of the Q path;

step S402, switching circuit links;

step S403, obtaining a bias voltage value QP of the Q path;

step S404, calculating a difference value delta Q between the bias voltage value QN and the bias voltage value QP according to the bias voltage value QN and the bias voltage value QP;

step S405, comparing the difference value delta Q with a second preset threshold value;

step S406, if the difference Δ Q is less than or equal to the second preset threshold, the Q path is balanced;

step S407, if the difference Δ Q is greater than the second preset threshold, the Q path is unbalanced.

4. The IQ signal calibration method according to claim 3, wherein if the Q path is unbalanced, the step of calibrating the Q path comprises:

compensating the second step value into the initial signal data of the Q path to obtain a first Q path calibration data value;

sending the first Q path calibration data value and the initial signal data value of the I path to the radio frequency circuit;

and repeating the steps S401 to S405 until the difference Δ Q between the bias voltage value QN of the Q path and the bias voltage value QP is less than or equal to the second preset threshold.

5. The IQ signal calibration method according to claim 2, wherein if the I path is unbalanced, the step of calibrating the I path comprises:

compensating the first step value into the initial signal data of the I path to obtain an I path calibration data value;

sending the I path calibration data value and the Q path initial signal data value to the radio frequency circuit;

and repeatedly executing the steps S201 to S205 until the difference value delta I between the bias voltage value IN and the bias voltage value IP of the I path is less than or equal to the first preset threshold value.

6. The IQ signal calibration method according to claim 5, wherein if the I path is not balanced, the step S40, the step of determining whether the Q path is balanced in a second predetermined manner includes:

step S4001, sending the initial signal data value of the Q channel and the calibration data value of the I channel to a radio frequency circuit;

step S4002, obtaining a bias voltage value QN' of the Q channel;

step S4003, switching circuit links;

step S4004, obtaining a bias voltage value QP' of the Q channel;

step S4005, calculating a difference value delta Q ' between the bias voltage value QN ' and the bias voltage value QP ' according to the bias voltage value QN ' and the bias voltage value QP ';

step S4006, comparing the difference value delta Q' with a third preset threshold value;

step S4007, if the difference value Delta Q' is smaller than or equal to the third preset threshold value, the Q access is balanced;

step S4008, if the difference Δ Q' is greater than the third preset threshold, the Q path is unbalanced.

7. The IQ signal calibration method according to claim 6, wherein if the Q path is unbalanced, the step of calibrating the Q path comprises:

compensating the third step value into the initial signal data of the Q path to obtain a second Q path calibration data value;

sending the second Q path calibration data value and the I path calibration data value to the radio frequency circuit;

and repeating the steps S4002 to S4006 until the difference value Delta Q ' between the bias voltage value QN ' and the bias voltage value QP ' of the Q path is less than or equal to the third preset threshold value.

8. An IQ signal calibration system, the system comprising a memory, a processor, and an IQ signal calibration program stored on the processor, the IQ signal calibration program when executed by the processor performing the steps of:

step S10, sending the initial IQ signal data to the radio frequency link;

step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode;

step S30, if the I path is balanced, go to step S40; if the I path is not balanced, calibrating the I path;

step S40, judging whether the Q channel is balanced in a second preset mode;

and step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency.

9. The IQ signal calibration system according to claim 8 wherein the IQ signal calibration procedure when executed by the processor further performs the steps of:

step S201, obtaining a bias voltage value IN of the path I;

step S202, switching circuit links;

step S203, obtaining a bias voltage value IP of the path I;

step S204, calculating to obtain a difference value delta I between the bias voltage value IN and the bias voltage value IP according to the bias voltage value IN and the bias voltage value IP;

step S205, comparing the difference value delta I with a first preset threshold value;

step S206, if the difference value delta I is smaller than or equal to the first preset threshold value, the I path is balanced;

and if the difference value delta I is larger than the first preset threshold value, the I access is unbalanced.

10. A computer-readable storage medium, having stored thereon an IQ signal calibration program, which when executed by a processor performs the steps of the method according to any one of claims 1 to 7.

Technical Field

The present invention relates to the field of digital communication technologies, and in particular, to an IQ signal calibration method, system, and storage medium.

Background

In a linearized transmitter product adopting a quadrature modulation technology and a negative feedback technology, the amplitude of modulated signals I and Q (the amplitude is the same, the phase difference is 90 degrees, and the same is true hereinafter) is different, and the signal quality is deteriorated after the frequency mixing processing of a modulator. Generally, in order to update and compensate the IQ gain imbalance of the modulator, the purpose of making IQ two paths of amplitude-frequency symmetry is achieved, and this process is called calibration for short.

At present, the purpose of making two paths of IQ amplitude-frequency symmetrical is achieved mainly by sending modulation signal IQ data to a radio frequency circuit and then carrying out mathematical calculation to update and compensate gain imbalance parameters of an IQ modulator.

The method for updating the original calibration parameters by adopting the mathematical calculation mode has the problems of complex calculation and low accuracy.

Disclosure of Invention

The present invention provides a method, a system and a storage medium for calibrating IQ signals, which aims to improve the accuracy of IQ signal calibration.

To achieve the above object, the present invention provides an IQ signal calibration method, comprising:

step S10, sending the initial IQ signal data to the radio frequency link;

step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode;

step S30, if the I path is balanced, go to step S40; if the I path is not balanced, calibrating the I path;

step S40, judging whether the Q channel is balanced in a second preset mode;

and step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency.

A further technical solution of the present invention is that, in the step S20, the step of determining whether the I path is balanced according to the initial IQ signal data and a first preset manner includes:

step S201, obtaining a bias voltage value IN of the path I;

step S202, switching circuit links;

step S203, obtaining a bias voltage value IP of the path I;

step S204, calculating to obtain a difference value delta I between the bias voltage value IN and the bias voltage value IP according to the bias voltage value IN and the bias voltage value IP;

step S205, comparing the difference value delta I with a first preset threshold value;

step S206, if the difference value delta I is smaller than or equal to the first preset threshold value, the I path is balanced;

and if the difference value delta I is larger than the first preset threshold value, the I access is unbalanced.

A further technical solution of the present invention is that, if the I path is balanced, the step S50 of determining whether the Q path is balanced in a second preset manner includes:

step S501, obtaining a bias voltage value QN of the Q channel;

step S502, switching circuit links;

step S503, obtaining the bias voltage value QP of the Q path;

step S504, calculating a difference value delta Q between the bias voltage value QN and the bias voltage value QP according to the bias voltage value QN and the bias voltage value QP;

step S405, comparing the difference value delta Q with a second preset threshold value;

step S406, if the difference Δ Q is less than or equal to the second preset threshold, the Q path is balanced;

step S407, if the difference Δ Q is greater than the second preset threshold, the Q path is unbalanced.

A further technical solution of the present invention is that, if the Q path is unbalanced, the step of calibrating the Q path includes:

compensating the second step value into the initial signal data of the Q path to obtain a first Q path calibration data value;

sending the first Q path calibration data value and the initial signal data value of the I path to the radio frequency circuit;

and repeating the steps S401 to S405 until the difference Δ Q between the bias voltage value QN of the Q path and the bias voltage value QP is less than or equal to the second preset threshold.

A further technical solution of the present invention is that, if the I path is unbalanced, the step of calibrating the I path includes:

compensating the first step value into the initial signal data of the I path to obtain an I path calibration data value;

sending the I path calibration data value and the Q path initial signal data value to the radio frequency circuit;

and repeatedly executing the steps S201 to S205 until the difference value delta I between the bias voltage value IN and the bias voltage value IP of the I path is less than or equal to the first preset threshold value.

A further technical solution of the present invention is that, if the I path is unbalanced, the step S50 of determining whether the Q path is balanced in a second preset manner includes:

step S4001, sending the initial signal data value of the Q channel and the calibration data value of the I channel to a radio frequency circuit;

step S4002, obtaining a bias voltage value QN' of the Q channel;

step S4003, switching circuit links;

step S4004, obtaining a bias voltage value QP' of the Q channel;

step S4005, calculating a difference value delta Q ' between the bias voltage value QN ' and the bias voltage value QP ' according to the bias voltage value QN ' and the bias voltage value QP ';

step S4006, comparing the difference value delta Q' with a third preset threshold value;

step S4007, if the difference value Delta Q' is smaller than or equal to the third preset threshold value, the Q access is balanced;

step S4008, if the difference Δ Q' is greater than the third preset threshold, the Q path is unbalanced.

A further technical solution of the present invention is that, if the Q path is unbalanced, the step of calibrating the Q path includes:

compensating the third step value into the initial signal data of the Q path to obtain a second Q path calibration data value;

sending the second Q path calibration data value and the I path calibration data value to the radio frequency circuit;

and repeating the steps S4002 to S4006 until the difference value Delta Q ' between the bias voltage value QN ' and the bias voltage value QP ' of the Q path is less than or equal to the third preset threshold value.

To achieve the above object, the present invention further provides an IQ signal calibration system, which comprises a memory, a processor, and an IQ signal calibration program stored on the processor, wherein the IQ signal calibration program when executed by the processor performs the following steps:

step S10, sending the initial IQ signal data to the radio frequency link;

step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode;

step S30, if the I path is balanced, go to step S40; if the I path is not balanced, calibrating the I path;

step S40, judging whether the Q channel is balanced in a second preset mode;

and step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency.

A further technical solution of the present invention is that, when the IQ signal calibration program is executed by the processor, the following steps are further executed:

step S201, obtaining a bias voltage value IN of the path I;

step S202, switching circuit links;

step S203, obtaining a bias voltage value IP of the path I;

step S204, calculating to obtain a difference value delta I between the bias voltage value IN and the bias voltage value IP according to the bias voltage value IN and the bias voltage value IP;

step S205, comparing the difference value delta I with a first preset threshold value;

step S206, if the difference value delta I is smaller than or equal to the first preset threshold value, the I path is balanced;

and if the difference value delta I is larger than the first preset threshold value, the I access is unbalanced.

To achieve the above object, the present invention further provides a computer readable storage medium having stored thereon an IQ signal calibration program, which when executed by a processor performs the steps of the method as described above.

The IQ signal calibration method, the IQ signal calibration system and the storage medium have the beneficial effects that: through the technical scheme, the method comprises the steps of S10, sending initial IQ signal data to a radio frequency link; step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode; step S30, if the I path is balanced, jumping to step S40, if the I path is unbalanced, calibrating the I path; step S40, judging whether the Q channel is balanced in a second preset mode; step S50, if the Q path is unbalanced, the Q path is calibrated to make the I path and the Q path have symmetrical amplitude and frequency, before sending normal IQ data, a group of initial data is sent to judge whether the paths are balanced, if not, the calibration process is started to obtain the calibration value to compensate the IQ signal, thus achieving the purpose of solving the IQ signal imbalance. The calibration method is simple, not only avoids influencing normal IQ data transmission, but also can improve the accuracy.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.

FIG. 1 is a flowchart illustrating an IQ signal calibration method according to a preferred embodiment of the present invention;

FIG. 2 is a detailed flowchart of step S20;

FIG. 3 is a circuit linking schematic;

FIG. 4 is a simplified diagram of a switching circuit;

FIG. 5 is a schematic flow diagram of the calibration scheme employed for the I path;

fig. 6 is a flow chart of the calibration scheme employed for the Q path.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In a linearized transmitter product adopting a quadrature modulation technology and a negative feedback technology, the problem that the amplitude of a modulation signal I, Q is inconsistent and the signal quality is deteriorated after frequency mixing processing of a modulator exists.

The technical scheme adopted by the invention is mainly that before normal IQ data is sent, a group of initial data is sent to judge whether a channel is balanced or not, if the channel is not balanced, a calibration flow is started to obtain a calibration value to compensate to an IQ signal, and the purpose of solving the problem of IQ signal imbalance is achieved. The invention adaptively solves the problem that the normal IQ data transmission and the calibration accuracy are not high influenced by the time processing required in the process of updating the original calibration parameters by adopting mathematical calculation. The calibration method of the scheme is simple, normal IQ data transmission is prevented from being influenced, and accuracy can be improved.

Specifically, the present invention provides an IQ signal calibration method, as shown in fig. 1, a preferred embodiment of the IQ signal calibration method of the present invention comprises the following steps:

step S10, sending the initial IQ signal data to the rf link.

It should be noted that, in this embodiment, the initial data is sent before sending the normal IQ data, so as to determine whether the I path and the Q path are balanced, and if not, start the calibration procedure, obtain the calibration value to compensate to the IQ signal, thereby achieving the purpose of solving the problem of IQ signal imbalance.

Step S20, determining whether the I path is balanced according to the initial IQ signal data and a first predetermined manner.

And step S30, if the I path is balanced, jumping to step S40, and if the I path is unbalanced, calibrating the I path.

In step S40, it is determined whether the Q path is balanced in a second predetermined manner.

And step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency.

Through the technical scheme, influence on normal IQ data transmission can be avoided, calibration accuracy of the I path and the Q path can be improved, and amplitude-frequency symmetry of the I path and the Q path is achieved.

Further, referring to fig. 2, fig. 2 is a detailed flowchart of step S20 in fig. 1.

As shown in fig. 2, the step S20 of determining whether the I path is balanced according to the initial IQ signal data and a first predetermined manner specifically includes:

step S201, obtaining the bias voltage value IN of the I path.

In step S202, the circuit link is switched.

The circuit is linked with a circuit link schematic diagram as shown in fig. 3, and the circuit when the circuit is switched is a circuit when the circuit is switched as shown in fig. 4.

Step S203, obtaining the bias voltage value IP of the I path.

And step S204, calculating to obtain a difference value delta I between the bias voltage value IN and the bias voltage value IP according to the bias voltage value IN and the bias voltage value IP.

Step S205, comparing the difference Δ I with a first preset threshold.

The first preset threshold value may be set or adjusted according to actual conditions or experience.

In step S206, if the difference Δ I is smaller than or equal to the first preset threshold, the I path is balanced.

And if the difference value delta I is larger than the first preset threshold value, the I access is unbalanced.

Further, in this embodiment, if the I path is balanced, the step S40 of determining whether the Q path is balanced in a second preset manner includes:

step S401, obtaining the bias voltage value QN of the Q path.

Step S402, circuit linking is switched.

In step S403, the bias voltage value QP of the Q path is obtained.

Step S404, calculating a difference Δ Q between the offset voltage value QN and the offset voltage value QP according to the offset voltage value QN and the offset voltage value QP.

Step 405, comparing the difference Δ Q with a second preset threshold value.

The second preset threshold value may be set or adjusted according to actual conditions or experience.

In step S406, if the difference Δ Q is smaller than or equal to the second preset threshold, the Q path is balanced.

Step S407, if the difference Δ Q is greater than the second preset threshold, the Q path is unbalanced.

Wherein, if the Q path is unbalanced, the step of calibrating the Q path comprises:

and compensating the second step value into the initial signal data of the Q path to obtain a first Q path calibration data value.

Wherein, the second step value can be set or adjusted according to actual conditions or experience.

And sending the first Q path calibration data value and the initial signal data value of the I path to the radio frequency circuit.

And repeating the steps S401 to S405 until the difference Δ Q between the bias voltage value QN of the Q path and the bias voltage value QP is less than or equal to the second preset threshold.

In this embodiment, if the I path is unbalanced, the step of calibrating the I path includes:

and compensating the first step value into the initial signal data of the I path to obtain an I path calibration data value.

Wherein, the first step value can be set or adjusted according to actual conditions or experience.

And sending the I path calibration data value and the initial signal data value of the Q path to the radio frequency circuit.

And repeatedly executing the steps S201 to S205 until the difference value delta I between the bias voltage value IN and the bias voltage value IP of the I path is less than or equal to the first preset threshold value.

Further, if the I path is not balanced, the step S40 of determining whether the Q path is balanced in a second preset manner includes:

step S4001, sending the initial signal data value of the Q channel and the I channel calibration data value to a radio frequency circuit.

Step S4002, obtaining the bias voltage value QN' of the Q path.

Step S4003, the circuit link is switched.

Step S4004, obtain the offset voltage value QP' of the Q path.

Step S4005, calculating a difference Δ Q ' between the offset voltage value QN ' and the offset voltage value QP ' according to the offset voltage value QN ' and the offset voltage value QP '.

Step S4006, comparing the difference Δ Q' with a third preset threshold value.

The third preset threshold may be set or adjusted according to actual conditions or experience.

Step S4007, if the difference Δ Q' is smaller than or equal to the third preset threshold, the Q path is balanced.

Step S4008, if the difference Δ Q' is greater than the third preset threshold, the Q path is unbalanced.

In this embodiment, if the Q path is unbalanced, the step of calibrating the Q path includes:

and compensating the third step value into the initial signal data of the Q path to obtain a second Q path calibration data value.

Wherein, the third step value can be set or adjusted according to actual conditions or experience.

And sending the second Q-path calibration data value and the I-path calibration data value to the radio frequency circuit.

And repeating the steps S4002 to S4006 until the difference value Delta Q ' between the bias voltage value QN ' and the bias voltage value QP ' of the Q path is less than or equal to the third preset threshold value.

The IQ signal calibration method of the present invention is further described in detail below with reference to fig. 5 and 6.

The calibration scheme adopted by the I path in the IQ signal calibration method of the present invention is similar to the calibration scheme adopted by the Q path, wherein the calibration scheme adopted by the I path is shown in fig. 5, and the calibration scheme adopted by the Q path is shown in fig. 6.

The working principle of the IQ signal calibration method of the invention is mainly that calibration is respectively carried out on an I path and a Q path, a digital end sends I, Q data to a radio frequency circuit, and then a parameter value is calculated to compensate the gain imbalance of a modulator I, Q. Specifically, the IQ signal calibration method of the present invention comprises the steps of:

1) respectively calibrating I, Q paths at a digital end, and setting a threshold value and an IQ data value to be initially sent by taking an I path as an example;

2) sending default initial IQ data to a radio frequency link;

3) reading the bias voltage value IN of the I path;

4) switching circuit links;

5) reading the bias voltage value IP of the path I;

6) calculating the difference value between IN and IP;

7) comparing the difference value with the threshold value, if the difference value is smaller than or equal to the threshold value, considering that the path I is balanced, and ending the detection and calibration process; if the path number is larger than the preset value, the path I is considered to be unbalanced, and the detection and calibration process needs to be continued;

8) if the difference value is larger than the threshold value, sending data with I change (initial value + stepping value) and Q unchanged;

9) repeating the steps 3), 4), 5), 6), 7) and 8) until the difference value is within the range of the threshold value, and determining that the imbalance calibration of the path I is finished, and compensating the obtained variation value of the path I into the signal data of the path I, so that the problem of the imbalance of the path I is solved; similarly, the Q path comprises the similar operation steps:

10) sending I (the calibrated value in the front) Q data to the radio frequency link;

11) reading a Q-path bias voltage value QN;

12) switching the circuit link;

13) reading a Q-path bias voltage value QP;

14) calculating the difference value of QN and QP;

15) comparing the difference value with the threshold value, if the difference value is smaller than or equal to the threshold value, considering that the Q-path channel is balanced, and ending the detection and calibration process; if the Q path is larger than the reference Q path, the Q path is considered to be unbalanced, and the detection and calibration process needs to be continued;

16) if the difference value is larger than the threshold value, sending data with Q changed (initial value + stepping value) I unchanged.

17) And repeating 11), 12), 13), 14), 15) and 16) until the difference value is within the threshold value range, and determining that the Q-path signal imbalance calibration is finished, and compensating the obtained Q-path change value into Q-path signal data, thereby solving the problem of Q-path signal imbalance.

It should be noted that, in the actual debugging, the threshold value and the step value may be adjusted to achieve the effect of higher accuracy.

The IQ signal calibration method of the invention has the beneficial effects that: through the technical scheme, the method comprises the steps of S10, sending initial IQ signal data to a radio frequency link; step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode; step S30, if the I path is balanced, jumping to step S40, if the I path is unbalanced, calibrating the I path; step S40, judging whether the Q channel is balanced in a second preset mode; step S50, if the Q path is unbalanced, the Q path is calibrated to make the I path and the Q path have symmetrical amplitude and frequency, before sending normal IQ data, a group of initial data is sent to judge whether the paths are balanced, if not, the calibration process is started to obtain the calibration value to compensate the IQ signal, thus achieving the purpose of solving the IQ signal imbalance. The calibration method is simple, not only avoids influencing normal IQ data transmission, but also can improve the accuracy.

To achieve the above object, the present invention further provides an IQ signal calibration system, which comprises a memory, a processor, and an IQ signal calibration program stored on the processor, wherein the IQ signal calibration program when executed by the processor performs the following steps:

step S10, sending the initial IQ signal data to the rf link.

It should be noted that, in this embodiment, the initial data is sent before sending the normal IQ data, so as to determine whether the I path and the Q path are balanced, and if not, start the calibration procedure, obtain the calibration value to compensate to the IQ signal, thereby achieving the purpose of solving the problem of IQ signal imbalance.

Step S20, determining whether the I path is balanced according to the initial IQ signal data and a first predetermined manner.

And step S30, if the I path is balanced, jumping to step S40, and if the I path is unbalanced, calibrating the I path.

In step S40, it is determined whether the Q path is balanced in a second predetermined manner.

And step S50, if the Q path is not balanced, calibrating the Q path to make the I path and the Q path have symmetrical amplitude and frequency.

Further, when executed by the processor, the IQ signal calibration procedure further performs the steps of:

step S201, obtaining the bias voltage value IN of the I path.

In step S202, the circuit link is switched.

Step S203, obtaining the bias voltage value IP of the I path.

And step S204, calculating to obtain a difference value delta I between the bias voltage value IN and the bias voltage value IP according to the bias voltage value IN and the bias voltage value IP.

Step S205, comparing the difference Δ I with a first preset threshold.

In step S206, if the difference Δ I is smaller than or equal to the first preset threshold, the I path is balanced.

And if the difference value delta I is larger than the first preset threshold value, the I access is unbalanced.

The IQ signal calibration system of the invention has the advantages that: through the technical scheme, the method comprises the steps of S10, sending initial IQ signal data to a radio frequency link; step S20, determining whether the path I is balanced according to the initial IQ signal data and a first preset mode; step S30, if the I path is balanced, jumping to step S40, if the I path is unbalanced, calibrating the I path; step S40, judging whether the Q channel is balanced in a second preset mode; step S50, if the Q path is unbalanced, the Q path is calibrated to make the I path and the Q path have symmetrical amplitude and frequency, before sending normal IQ data, a group of initial data is sent to judge whether the paths are balanced, if not, the calibration process is started to obtain the calibration value to compensate the IQ signal, thus achieving the purpose of solving the IQ signal imbalance. The calibration method is simple, not only avoids influencing normal IQ data transmission, but also can improve the accuracy.

To achieve the above object, the present invention further provides a computer-readable storage medium, where an IQ signal calibration program is stored on the computer-readable storage medium, and the IQ signal calibration program is executed by a processor to perform the steps of the method according to the above embodiments, which is not described herein again.

The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:发送IQ失配校准的方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!