1. Field of the Invention
The invention relates to a circuit for correcting mismatched IQ (In-phase and Quadrature) signals, and in particular, to a digital circuit for correcting mismatched IQ signals in a baseband receiver.
2. Description of the Prior Art
When the RF signals carrying IQ signals are received and down-converted to the base frequency, due to the PCB (Printed Circuit Board) layout, analog circuit layout and the variation of the I path and Q path, the IQ signals received at the base frequency are often mismatched.
Therefore, there is a need to have a solution to overcome the above-mentioned issue.
One objective of the present invention is to provide a digital circuit for correcting mismatched IQ signals in a baseband receiver on the fly without using a processor such as MCU (Microcontroller Unit) or DSP (Digital Signal Processor).
The present invention uses a digital circuit to evaluate the mismatch between I and Q channels after the IQ mismatched signals are sampled by ADC and to compensate for the amplitude and phase differences of the mismatched IQ signals by aligning the amplitude of Ĩ with {tilde over (Q)} and the phase of {tilde over (Q)} to be 90 degrees away from Ĩ.
The present invention discloses a digital circuit for correcting mismatch IQ signals in a baseband receiver, wherein said mismatch IQ signals are represented by in-phase signal: Ĩ and quadrature signal: {tilde over (Q)}, wherein each of the Ĩ and {tilde over (Q)} is in digital form, wherein the digital circuit comprises: a digital calibration circuit, for obtaining the ratio of the amplitude of Ĩ to the amplitude of {tilde over (Q)}:ε and the phase difference between Ĩ and {tilde over (Q)}:φ, wherein
and a digital correction circuit, for obtaining compensated signals: Î and {circumflex over (Q)}, wherein for each time n:
Î(n)={circumflex over (ε)}inv(n)*Ĩ(n); and
{circumflex over (Q)}(n)=−Î(n)*tan({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).
In one embodiment, the digital calibration circuit comprises a power calculator block that receives the signals Ĩ and {tilde over (Q)} and generates:
In one embodiment, the digital correction circuit comprises a power correction block that receives Ĩ(n) and {circumflex over (ε)}inv(n) and generates Î(n), and a phase correction block that receives {circumflex over (φ)}(n), {tilde over (Q)} and Î(n) and generates {circumflex over (Q)}, wherein
Î(n)={circumflex over (ε)}inv(n)*Ĩ(n); and
{circumflex over (Q)}(n)=−Î(n)*tan({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).
The detailed technology and above preferred embodiments implemented for the present invention are described in the following paragraphs accompanying the appended drawings for people skilled in this field to well appreciate the features of the claimed invention.
The foregoing aspects and many of the accompanying advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description when taken in conjunction with the accompanying drawings, wherein:
The detailed explanation of the present invention is described as follows. The described preferred embodiments are presented for purposes of illustrations and description, and they are not intended to limit the scope of the present invention.
When the IQ-matched RF signal is received and down-converted to the base frequency, due to the PCB layout, analog circuit layout and the variation of the I path and Q path, the IQ signal received at the base frequency is often mismatched. The present invention evaluates the mismatches between I and Q channels after the IQ mismatched signals are sampled by ADC, wherein the amplitude and phase differences of the mismatched IQ signals are compensated by aligning the amplitude of Ĩ with {tilde over (Q)} and the phase of {tilde over (Q)} to be 90 degrees away from Ĩ.
wherein ε is the ratio of the amplitude of Ĩ to the amplitude of {tilde over (Q)}, and {circumflex over (φ)} is the phase difference between Ĩ and {tilde over (Q)}.
As shown in
As shown in
ĨABS_avg(n), {tilde over (Q)}ABS_avg(n), PI.P(n), and PĨ(n), wherein
ĨABS_avg(n)=Average(|Ĩ(n)|);
{tilde over (Q)}ABS_avg(n)=Average(|{tilde over (Q)}(n)|);
PI.P.(n)=Average(Ĩ(n)*{tilde over (Q)}(n)),
wherein * represents multiply in this document; and
PĨ(n)=Average((Ĩ(n))2).
Please note that in this document,
Average(x(n)),n=0, 1, 2, 3 . . . is defined in below:
Average(x(0))=x[0], for n=0; and
for n=1, 2, 3 . . . , wherein Divider is a constant and can be stored in a register that can be programmed by software.
For example, ĨABS_avg(n)=Average(|Ĩ(n)|) is defined as:
As shown in
As shown in
As shown in
Î(n)={circumflex over (ε)}inv(n)*Ĩ(n); and
{circumflex over (Q)}(n)=−Î(n)*tan ({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).
The above disclosure is related to the detailed technical contents and inventive features thereof. People skilled in this field may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the following claims as appended.
Number | Name | Date | Kind |
---|---|---|---|
11528179 | Ayyappannair Radhadevi | Dec 2022 | B1 |
20090088120 | Ling | Apr 2009 | A1 |