The present invention relates to a gain imbalance calibration circuit, and more particularly to a gain imbalance calibration circuit applied in a quadrature receiver.
In an ideal situation, the amplitudes of the baseband in-phase signal 109 and the baseband quadrature signal 110 are the same because a set of internal circuit schemes of the channel filter 105 and baseband amplifier 107 are the same as a set of the channel filter 106 and baseband amplifier 108. Offset of the electrical signal, however, results from process variation during manufacture or temperature influence, thus producing in-phase/quadrature (I/Q) gain imbalance. I/Q gain imbalances increase bit error rate (BER) and degrade receiver performance in communication system such as GSM or WLAN.
Receivers are provided. An exemplary embodiment of a receiver comprises an in-phase channel circuit, a quadrature channel circuit, and a gain imbalance calibration circuit comprising a first circuit and a second circuit. The first circuit is coupled to demodulation ends of the in-phase channel circuit and the quadrature channel circuit, providing testing signals thereto respectively. Test resultant signals output from the in-phase channel circuit and the quadrature channel circuit are input to the second circuit comprising an offset calculation unit to calibrate the gain of baseband amplifiers of the in-phase channel and the quadrature channel circuit according to the offset between the test resultant signals, to enable the test resultant signal of the in-phase channel circuit to be substantially equal to the test resultant signal of the quadrature channel circuit.
The invention will become more fully understood from the detailed description given herein below and the accompanying drawings, given by way of illustration only and thus not intended to be limitative of the invention.
Receivers are provided. In some embodiments, as shown in
The in-phase channel circuit 10 includes a mixer 103, a channel filter 105, and a baseband amplifier 107. The mixer 103 has an input receiving a complex communication signal 101 in a receiving state. The complex communication signal 101 is mixed with an in-phase channel signal generated by the local oscillator 102. The channel filter 105 is coupled to the output of the mixer 103 through switch S1 (first switch). The baseband amplifier 107 is coupled to the output of the channel filter 105. Similarly, the quadrature channel circuit 11 includes a mixer 104, a channel filter 106, and a baseband amplifier 108. The mixer 104 has an input receiving a complex communication signal 101 in a receiving state. The complex communication signal 101 is mixed with a quadrature channel signal generated by the local oscillator 102. The channel filter 106 is coupled to the output of the mixer 104 through switch S2 (second switch). The baseband amplifier 108 is coupled to the output of the channel filter 106.
The first circuit 20 is coupled to demodulation ends of the in-phase channel circuit 10 and the quadrature channel circuit 11, providing testing signals to the in-phase channel circuit 10 and the quadrature channel circuit 11 respectively.
The second circuit 21 receives testing resultant signals respectively output from the in-phase channel circuit 10 and the quadrature channel circuit 11 and comprises an offset calculation unit 22. The offset calculation unit 22 calibrates the gains of the baseband amplifiers 107 and 108 according to the offset between the two testing signals from the in-phase channel circuit 10 and the quadrature channel circuit 11, to enable the test signal of the in-phase channel circuit 10 to be substantially equal to the test signal of the quadrature channel circuit 11.
In practice, while gain compensation is implemented, switches S1 and S2 are switched to the output of the first circuit 20. The first circuit outputs testing signals provided to the in-phase channel circuit 10 and the quadrature channel circuit 11. In the in-phase channel circuit 10, after the testing signal is filtered by the channel filter 105 and then amplified by the baseband amplifier 107, a test resultant signal is output. In the quadrature channel circuit 11, after the testing signal is filtered by the channel filter 106 and amplified by the baseband amplifier 108, the other test resultant signal is output. The test resultant signals are input to the offset calculating unit 22 of the second circuit 21 to calculate the offset between the two test resultant signals. The offset calculating unit 22 adjusts the gain of the baseband amplifiers 107 and 108 according to the offset between the two test resultant signals, to enable the test resultant signal of the in-phase channel circuit 10 to be substantially equal to the test resultant signal of the quadrature channel circuit 11. After calibration, normal receiving function is implemented, and the gain of the amplifier is calibrated, resulting in better performance of the receiver 2.
Receiver 2 further has a switch S3 between the output of the baseband amplifier 107 and the second circuit 21 and a switch S4 between the output of the baseband amplifier 108 and the second circuit 21. The switch S3 the switch S4 are switched selectively to couple the second circuit 21 to the baseband amplifiers 107 and 108 or the first circuit 20 to perform calibration of the first circuit 20.
Receivers are provided. In some embodiments, as shown in
The first circuit 20 includes a digital signal generator 200, a first digital/analog converter 201 and a second digital/analog converter 202. The digital signal generator 200 generates the testing signals, such as digital signals in a sine wave. The input of the first digital/analog converter 201 is coupled to the digital signal generator 200 to receive one testing signal. The output of the first digital/analog converter 201 is coupled to the switch S1 of the in-phase channel circuit 10. The input of the second digital/analog converter 202 is coupled to the digital signal generator 200, receiving the other testing signal. The output of the second digital/analog circuit 202 is coupled to the switch S2 of the quadrature channel circuit 11.
The second circuit 21 comprises a first analog/digital converter 210, a second analog/digital converter 211 and an offset calculating unit 22. The input of the first analog/digital converter 210 is coupled to the output of the baseband amplifier 107 to receive a test resultant signal and converts the test resultant signal to a corresponding first digital signal. The input of the second analog/digital converter 211 is coupled to the output of the baseband amplifier 108 to receive the test resultant signal and converts test resultant signal to a second digital signal.
In practice, before calibration, a controller 212 of the offset calculating unit 22 detects all possible gains of the baseband amplifiers 108 and calculates all offsets under corresponding gains. The controller 212 stores the offsets in a gain lookup table 213. When compensation proceeds, the digital generator 200 generates a set of digital testing signals and transmits the digital testing signals to the first digital/analog converter 201 and the second digital/analog converter 202. The digital/analog converters 201 and 212 convert the digital testing signals to corresponding analog testing signals and output them to the in-phase channel circuit 10 and the quadrature channel circuit 11 through switches S1 and S2, respectively. After one digital testing signal is filtered by the channel filter 105 and amplified by the baseband amplifier 107, one test resultant signal is output from the in-phase channel circuit 10. After the other digital testing signal is filtered by the channel filter 106 and amplified by the baseband amplifier 108, the other test resultant signal is output from the quadrature channel circuit 11. The two test resultant signals are converted by the analog/digital converters 210 and 211 to first and second digital signals, respectively. The controller 212 calculates an offset value according to the first and second digital signals. The controller 212 outputs the offset value to the gain lookup table 213 to locate the corresponding gain. The baseband amplifiers 107 and 108 are then adjusted by the offset calculating unit 22.
Detailed description of the adjustment is shown in
When a set of control words are output from the gain look up table 213, the amplifiers 300 and 310 are turned on or off correspondingly, and a signal is finally output according to the sum of the total gain by the amplifiers 300 and 310 connected in cascade.
Gain imbalance calibration methods are provided. In some embodiments, as shown in
Calibration of the analog/digital converter is performed in step S31. First, the first and the second analog/digital converters are coupled to a reference voltage, such as ground, so that a DC current signal is input to the first and second analog/digital converters for conversion to corresponding digital signals. Next, a first offset value is calculated by the offset calculating unit according to the two digital signals and then recorded by the controller.
Calibration of the digital/analog converter is performed in step S32. First, the switches S1 and S2 are switched to couple the outputs of the first and second digital/analog converters respectively to the inputs of the first and second analog/digital converters. Next, one testing signal is generated from the digital signal generator and converted to a corresponding digital signal through the first digital/analog and analog/digital converters. The other testing signal is generated from the digital signal generator and converted to a corresponding digital signal through the second digital/analog and analog/digital converters. Respective digital signals from the first and second analog/digital converters are input to the offset calculating unit to calculate the offset value. The controller subtracts the first offset value and generates a second offset value. The second offset value is recoded.
A gain imbalance calibration of in-phase channel circuit and quadrature channel circuit is performed in step S3. The first and second digital/analog converters are coupled to the outputs of the two mixers. The digital generator generates digital testing signals and respectively transmits them through two digital/analog converters, the in-phase channel circuit and the quadrature channel circuit, and two analog/digital converters to the controller of the offset calculating unit. The controller calculates the offset value (the third offset value) After subtracting the first offset value and the second offset value from the third offset value, the controller calculates the correct offset value (fourth offset value) of the in-phase channel circuit and the quadrature channel circuit. The gain of the baseband amplifier of the in-phase channel circuit and the quadrature channel circuit is adjusted according to the correct offset value to enable the test resultant signal of the in-phase channel circuit substantially equal to the test signal of the quadrature channel circuit.
Next, in step S3.2, test resultant signals are output after the testing signals are proceeded by the in-phase channel circuit and quadrature channel circuit.
Finally, in step S3.3, the test resultant signals are input to the second circuit, and the offset calculating unit calculates the third offset value.
While the invention has been described in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
93101339 | Jan 2004 | TW | national |