SYSTEM FOR REDUCING SECOND ORDER INTERMODULATION PRODUCTS FROM DIFFERENTIAL CIRCUITS
A passive CMOS differential mixer circuit with a mismatch correction circuit for balancing the electrical characteristics of the two output paths. Once the output paths of the differential circuit are balanced, or matched as closely as possible, second order intermodulation product generation can be inhibited or at least reduced to acceptable levels. The mismatch correction circuit receives a digital offset signal, and generates one or more voltage signals to be selectively applied to the signal paths of the passive differential mixer circuit. The voltage signals can be adjusted back gate bias voltages applied to the bulk terminals of selected transistors to adjust their threshold voltages, or the voltage signals can be adjusted common mode voltages applied directly to a selected signal path. Since the differential mixer circuit is passive, no DC current contribution to noise is generated. The switching transistors of the mixer circuit can be maintained at minimal dimensions to reduce switching signal drive loading, resulting in lower power consumption and higher operating frequencies than if larger switching transistors were use
This application is a divisional of U.S. application Ser. No. 11/298,667, filed on Dec. 12, 2005.
FIELD OF THE INVENTIONThe present invention relates generally to communications, and to down-conversion of an RF signal to a lower frequency in a radio. More specifically, the present invention relates to passive mixers of direct-conversion receivers.
BACKGROUND OF THE INVENTIONWireless devices have been in use for many years for enabling mobile communication of voice and data. Such devices can include mobile phones and wireless enabled personal digital assistants (PDA's) for example.
Generally, the transmitter core 20 is responsible for up-converting electromagnetic signals from base band to higher frequencies for transmission, while receiver core 16 is responsible for down-converting those high frequencies back to their original frequency band when they reach the receiver, processes known as up-conversion and down-conversion (or modulation and demodulation) respectively. The original (or base band) signal, may be, for example, data, voice or video. These base band signals may be produced by transducers such as microphones or video cameras, be computer generated, or transferred from an electronic storage device. In general, the high frequencies provide longer range and higher capacity channels than base band signals, and because high frequency radio frequency (RF) signals can propagate through the air, they are preferably used for wireless transmissions as well as hard-wired or fibre channels.
All of these signals are generally referred to as radio frequency (RF) signals, which are electromagnetic signals; that is, waveforms with electrical and magnetic properties within the electromagnetic spectrum normally associated with radio wave propagation.
The receiver core 16 can include a receiver path consisting of a low noise amplifier, one or more mixers, filters, an analog-to-digital converter and a variable gain amplifier. This listing of components in receiver core is not comprehensive, and any person of skill in the art will understand that the specific configuration will depend on the communication standard being adhered to and the chosen architecture implementation.
Several different receiver architectures are known, such as super-heterodyne, image rejection, direct conversion, near zero-IF conversion and harmonic mixing architectures. The direct conversion architecture performs RF to base band frequency translation in a single step. The RF signal is mixed with a local oscillator at the carrier frequency, therefore there is no image frequency, and no image components to corrupt the signal, which prove problematic for the other architectures.
An important component of the receiver path is the mixer circuit that is responsible for modulating (down converting or upconverting) an input RF signal to the base band frequency clock. Ideally, the mixer circuit is an ideal linear circuit, meaning that the relationship between the input of the circuit and the output of the circuit is linear.
An example of a known differential mixer circuit is shown in
A problem with this circuit lies in the non-linear nature of input transistor 44, which will generate an output y/y* having undesired intermodulation products. The current “I” through input transistor 44 can be expressed in equation (1) below:
I=gm*Vx, where gm is the transconductance and Vx is the voltage of input signal x (1)
However, since gm of transistor 44 is a non-linear, the actual current “I” will be expressed by equation (2):
I=a1Vx+a2Vx2+a3Vx3+a4Vx4 (2)
where a1, a2, a3 and a4 are coefficients, and terms from a2 and on are considered nth order intermodulation products.
The effect of the intermodulation products can be seen in the output y(t) of the mixer circuit 40 downconverted to baseband by z(t), which has a large frequency component at the RF signal frequency.
However, because mixer circuit 40 is a differential-type circuit, the a2 coefficient should be inherently reduced to zero. Differential circuits such as the one shown in
In practice however, the even order terms will cancel only if the two complementary data paths are identically matched. In mixer circuit 44 of
However, this situation is ideal, and in practice the two data paths 48 and 50 are not electrically identical to each other. Semiconductor circuit layout and/or slight process variations and/or anomalies across the chip can introduce mis-match between the two paths. With reference to
Another known scheme of minimizing second order intermodulation products is balancing, or matching, the complementary output paths of a mixer by directly adding or removing current from one of the paths. This is shown with reference to the differential mixer 60 shown in
Differential mixer 60 of
The second differential pair circuit includes a shared load resistor R2, bipolar transistor 68, bipolar transistor 70, bipolar transistor 70, and shared load resistor R2. Shared load resistor R2 and bipolar transistor 70 are serially connected between VCC and the collector terminal of bipolar transistor 72. Shared load resistor R1 and bipolar transistor 68 are serially connected between VCC and the collector terminal of bipolar transistor 72. Bipolar transistor 72 has a base terminal for receiving input signal x, being the opposite phase of x*, and an emitter connected to VSS. The base terminal of bipolar transistor 70 receives signal z while the base terminal of bipolar transistor 68 receives z*. Output signal OUT* is generated from the collector terminal of bipolar transistor 70.
The operation of differential mixer 60 is straightforward. When z is at a high voltage level, transistors 62 and 70 will be turned on, while transistors 64 and 68 are turned off. Conversely, when z* is at a high voltage level, transistors 64 and 68 will be turned on, while transistors 62 and 70 are turned off. Meanwhile, transistors 66 and 72 will turn on and off according to the level of input signal x/x*. Therefore, transistors 66 and 72 are alternately coupled to out and out* as signal z oscillates at a predetermined frequency. To correct for any mismatch in the output paths, a compensation circuit consisting of a programmable current source 74 can be connected between VCC and collector terminal of bipolar transistor 62. This current source can be digitally switched in from a bank of different current sources. Alternately, programmable current source 74 can be coupled to input node “r” in the circuit.
As previously shown in
Unfortunately, direct replacement of the bipolar transistors with CMOS transistors in the mixer circuits of
Even if the level of noise could be reduced to tolerable levels, the circuit path mismatch issues would still apply and may result in the generation of the second order intermodulation products. One solution is to ensure that the layout of the circuit paths are symmetrical and matched. However, potential CMOS transistor mismatch can contribute to circuit path mismatch even in a symmetrical circuit layout. This is primarily due to threshold voltage variations of the transistors. Tight transistor threshold voltage control is more easily obtained with larger sized transistors, however, larger sized transistors impose bandwidth limitations in addition to increased power consumption.
It is, therefore, desirable to provide a low cost, low noise CMOS mixer circuit with minimized even order intermodulation products caused by circuit path mismatch.
SUMMARY OF THE INVENTIONIt is an object of the present invention to obviate or mitigate at least one disadvantage of previous differential CMOS passive mixer circuits. In particular, it is an object of the present invention to balance the differential signal paths of a CMOS passive mixer circuit to reduce intermodulation products.
In a first aspect, the present invention provides a differential passive CMOS mixer for modulating an input signal with a clock signal. The mixer includes a first signal path, a second signal path, and a mismatch correction circuit. The first signal path has a first transistor for coupling the input signal to a first output node in response to the clock signal. The second signal path has a second transistor for coupling the input signal to a second output node in response to a complement of the clock signal. The mismatch correction circuit generates an offset voltage in response to an offset signal, the offset voltage being operatively connected to the first signal path for balancing electrical characteristics of the first signal path and the second signal path to minimize second order intermodulation products.
According to an embodiment of the present invention, the first signal path and the second signal path can have symmetrical layouts, and the mismatch correction circuit can include at least one digital to analog converter for generating the offset voltage in response to the offset signal. The offset signal is an n-bit word, where n can be any integer value greater than 0. The mismatch correction circuit includes a second digital to analog converter for generating a second offset voltage in response to a second offset signal. The mismatch correction circuit can include a first set of registers, a second set of registers and a multiplexor circuit. The first set of registers stores the n-bits of the offset signal, and the first set of registers provide the n-bits of the offset signal to the digital to analog converter. The second set of registers stores the n-bits of the second offset signal, and the second set of registers provide the n-bits of the second offset signal to the second digital to analog converter, where the offset signal and the second offset signal are received in sequence. The multiplexor circuit selectively couples the offset signal to the first set of registers and the second offset signal to the second set of registers. Alternately, the offset signal and the second offset signal can be received in parallel by the digital to analog converter and the second digital to analog converter.
In a further embodiment of the present aspect, the first transistor has a bulk terminal coupled to the offset voltage for adjusting a threshold voltage of the first transistor, and the second transistor has a bulk terminal coupled to the second offset voltage for adjusting a threshold voltage of the second transistor. Alternately, the offset voltage can be coupled directly to the first output node, where the offset voltage being a sum of a common mode voltage and an adjustment voltage, and the second offset voltage can be coupled directly to the second output node, where the second offset voltage being a sum of a common mode voltage and an adjustment voltage.
In yet another embodiment of the present aspect, the differential passive CMOS circuit can further include a third signal path and a fourth signal path. The third signal path has a third transistor for coupling a complement of the input signal to the first output node in response to the complement of the clock signal. The fourth signal path has a fourth transistor for coupling the complement of the input signal to the second output node in response to the clock signal. The mismatch correction circuit further generates a second offset voltage, a third offset voltage and a fourth offset voltage in response to the offset signal. The second offset voltage can be coupled to the bulk terminal of the second transistor, the third offset voltage can be coupled to the bulk terminal of the third transistor, and the fourth offset voltage can be coupled to the bulk terminal of the fourth transistor. Alternately, the mismatch correction circuit further generates a second offset voltage in response to the offset signal, the offset voltage being coupled directly to the first output node and the second offset voltage being coupled directly to the second output node. Alternately, the mismatch correction circuit further generates a second offset voltage in response to the offset signal, the offset voltage being coupled to the input signal, and the second offset voltage being coupled to the complement of the input signal.
In a second aspect, the present invention provides a differential passive CMOS mixer. The differential passive CMOS mixer includes a first transistor and a second transistor connected in parallel to a first common input terminal, a third transistor and a fourth transistor connected in parallel to a second common input terminal, a first offset voltage, a second offset voltage, a third offset voltage, and a fourth offset voltage. The first transistor is controlled by a clock signal and the second transistor is controlled by a complement of the clock signal. The third transistor is controlled by the complement of the clock signal and the fourth transistor is controlled by the clock signal. The first transistor and the third transistor are connected in parallel to a first common output terminal and the second transistor and the fourth transistor are connected in parallel to a second common output terminal. The first offset voltage is coupled to the first transistor bulk terminal for setting the threshold voltage of the first transistor. The second offset voltage is coupled to the second transistor bulk terminal for setting the threshold voltage of the second transistor. The third offset voltage is coupled to the third transistor bulk terminal for setting the threshold voltage of the third transistor. The fourth offset voltage is coupled to the fourth transistor bulk terminal for setting the threshold voltage of the fourth transistor.
In an embodiment of the present aspect, the first offset voltage, the second offset voltage, the third offset voltage, and the fourth offset voltage are generated by a mismatch correction circuit in response to an n-bit offset signal, where n is an integer value greater than 0. The mismatch correction circuit can include a first digital to analog converter, a second digital to analog converter, a third digital to analog converter and a fourth digital to analog converter. The first digital to analog converter generates the first offset voltage in response to a first i-bit signal. The second digital to analog converter generates the second offset voltage in response to a second i-bit signal. The third digital to analog converter generates the third offset voltage in response to a third i-bit signal. The fourth digital to analog converter generates the fourth offset voltage in response to a fourth i-bit signal. The n-bit offset signal includes the first to the fourth i-bit signals, where i is an integer value greater than 0.
In a third aspect, the present invention provides a method for correcting differential output mismatch in a passive CMOS mixer circuit by applying a combination of offset voltages. The method includes applying a default combination of offset voltages to the mixer circuit; measuring an IIP2 value of the mixer circuit; comparing the IIP2 value to a predetermined value; applying a new combination of offset voltages to the mixer circuit if the measured IIP2 value does not meet the predetermined value; and repeating steps b) to d) until the measured IIP2 value is at least the predetermined value.
According to embodiments of the present aspect, the default combination of offset voltages corresponds to a default offset code, and each new combination of offset voltages corresponds to a new offset code. The combination of offset voltages includes n offset voltages coupled to corresponding bulk terminals of n transistors in the mixer circuit, where n is an integer value greater than zero. Alternately, the combination of offset voltages includes two offset voltages coupled to one of differential output terminals and differential input terminals of the mixer circuit.
Other aspects and features of the present invention will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures.
Embodiments of the present invention will now be described, by way of example only, with reference to the attached Figures, wherein:
Generally, the present invention provides a passive CMOS differential mixer circuit with a mismatch correction circuit for balancing the electrical characteristics of the two output paths. Once the output paths of the differential circuit are balanced, or matched as closely as possible, second order intermodulation product generation can be inhibited or at least reduced to acceptable levels. The mismatch correction circuit receives at least one n-bit digital offset signal, to generate one or more corresponding voltages. The generated voltages are applied to the differential mixer circuit to balance its electrical characteristics.
According to embodiments of the present invention, the voltage signals can be applied to the back gate bias voltages of selected transistors of the circuit to adjust their threshold voltages such that they all match. Alternately, the voltage signals can adjust common mode voltages applied directly to a selected signal path to ensure that their electrical characteristics match. The aforementioned embodiments of the present invention can be applied to a passive differential mixer circuit, where no DC current contribution to noise is generated. The switching transistors of the passive mixer circuit can be maintained at minimal dimensions to reduce switching signal drive loading, resulting in lower power consumption and higher operating frequencies than if larger switching transistors were used.
The circuit of
Transistors 102 and 104 have a common source terminal for receiving one phase of the input signal INp, but the drain terminal of transistor 102 is coupled to output node OUTp and the drain terminal of transistor 104 is coupled to output node OUTm. OUTp and OUTm are the two phases of the output signal OUT. The gate terminal of transistor 102 receives signal frequency signal z* while the gate terminal of transistor 104 receives the complementary frequency signal z. The layout of the first differential pair is preferably balanced and matched, meaning that the physical characteristics of the conductor lines carrying OUTp and OUTm are matched. For example, the geometry of the conductor lines should be substantially identical to each other. A first signal path begins from the source terminal of transistor 102, through transistor 102, to the output node OUTp, via conductor lines. Similarly, a second signal path is formed from the source terminal of transistor 104, through transistor 104, to the output node OUTm, via conductor lines.
The second differential pair is similarly configured to the first differential pair. Transistors 106 and 108 have a common source terminal for receiving the other phase of the input signal INm, but the drain terminal of transistor 106 is coupled to output node OUTp and the drain terminal of transistor 108 is coupled to output node OUTm. The gate terminal of transistor 106 receives signal z while the gate terminal of transistor 108 receives the complementary signal z*. The layout of the second differential pair is also symmetrical with respect to its first and second signal paths, and with respect to the signal paths of first differential pair.
Transistors 102, 104, 106 and 108 of mixer circuit 100 can have mis-matched threshold voltages This mis-match can be compensated for by independently controlling the back gate bias voltage of transistors 102, 104, 106 and 108. According to an embodiment of the present invention, a mismatch correction circuit 110 is provided to generate specific back gate bias voltages for each of transistors 102, 104, 106 and 108. In
Mismatch correction circuit 110 can include four individual digital to analog converter circuits (DAC), each generating one offset voltage in response to an i-bit signal. In
Now a discussion of how the offset voltage is selected follows.
As previously described, an n-bit digital OFFSET[1:4] signal is fed into DAC circuits of the mismatch correction circuit. Each DAC can generate a distinct and desired voltage, where the desired voltage can be viewed as a base voltage plus or minus an adjustment, or offset voltage. The relationship of a DAC code to an offset signal will be discussed later.
A mismatch in the signal path can be detected during chip testing, and can be quantified as an IIP2 value. IIP2 is a standard measure known to those of skill in the art, where a high IIP2 value is preferred. Mathematically, an IIP2 value is proportional to a1/a2, where a1 and a2 are the coefficients of the first two terms of the described non-linear function previously shown in equation 2. Therefore by minimizing a2, the value of IIP2 can be maximized. Generally, a maximized IIP2 value is an indicator of substantially linear circuit operation.
Curves 202 and 204 correspond to circuits with positively and negatively mismatched signal paths, relative to substantially ideal circuit. In the presently shown example, it is assumed that curve 202 has a peak IIP2 shifted from the IIP2 peak of curve 200 by −15 mV. Conversely, it is assumed that curve 204 has a peak IIP2 shifted from the IIP2 peak of curve 200 by +15 mV. An IIP2 measurement with default DAC code 32 yielding a low IIP2 value indicates that the circuit has mismatching signal paths. Then by changing the DAC code in either direction of the default DAC code 32 and performing further IIP2 measurements, the testing system can quickly change the DAC code such that the maximum IIP2 measurement is obtained. For curve 202, the maximum IIP2 value occurs at DAC code 13. For curve 204, the maximum IIP2 value occurs at DAC code 54. Although IIP2 is proportional to a1/a2, the maximum IIP2 values are practically shown with finite limits, since an a2 value of zero renders an infinitely large IIP2.
The DAC code numbers shown in the x-axis of
The embodiment of the invention shown in
The differential passive CMOS mixer 300 of
Therefore, with the circuit of
A method of circuit mismatch correction or calibration according to an embodiment of the present invention now follows with reference to the flow chart of
The method starts at step 400, where a measure of the IIP2 of the mixer circuit is made. The initial measure is preferably executed with the default DAC code being applied. If the presently measured IIP2 is acceptable based on a predetermined level, then the method terminates at step 404 and the presently applied DAC code is stored or recorded. Otherwise, the method proceeds to step 406 where the offset code is changed. The method then loops back to repeat steps 400, 402 and 406 until IIP2 equals or exceeds the predetermined level. Additional intelligence can be built into the method of
In summary, the embodiments of the previously described invention will minimize or eliminate the second order intermodulation products in differential type circuits, resulting in a substantially linear operation. The passive differential design is especially advantageous for mixer circuit applications because the mixing transistors can be minimally sized, reducing power consumption by reducing the load of the circuits driving their gates. No DC current flows through the mixer transistors due to the passive design, minimizing noise in the circuit. The cost in current and silicon area consumption is low for implementing the embodiments of the invention.
While the circuit of
The presently illustrated embodiments show offset voltages being applied to the back gate bias connections of each mixer transistor, or to both output nodes of the circuit.
The above-described embodiments of the present invention are intended to be examples only. Alterations, modifications and variations may be effected to the particular embodiments by those of skill in the art without departing from the scope of the invention, which is defined solely by the claims appended hereto.
Claims
1. A method for correcting differential output mismatch in a passive CMOS mixer circuit by applying a combination of offset voltages, comprising:
- a) applying a default combination of offset voltages to the mixer circuit;
- b) measuring an IIP2 value of the mixer circuit;
- c) comparing the IIP2 value to a predetermined value;
- d) applying a new combination of offset voltages to the mixer circuit if the measured IIP2 value does not meet the predetermined value; and
- e) repeating steps b) to d) until the measured IIP2 value is at least the predetermined value.
2. The method of claim 1, wherein the default combination of offset voltages corresponds to a default offset code.
3. The method of claim 1, wherein each new combination of offset voltages corresponds to a new offset code.
4. The method of claim 1, wherein the combination of offset voltages includes n offset voltages coupled to corresponding bulk terminals of n transistors in the mixer circuit, where n is an integer value greater than zero.
5. The method of claim 1, wherein the combination of offset voltages includes two offset voltages coupled to one of differential output terminals and differential input terminals of the mixer circuit.
Type: Application
Filed: Jun 29, 2009
Publication Date: Oct 22, 2009
Patent Grant number: 7859270
Inventors: Sherif H. K. Embabi (Plano, TX), Alan R. Holden (McKinney, TX), Jason P. Jaehnig (Dallas, TX), Abdellatif Bellaouar (Richardson, TX)
Application Number: 12/493,357
International Classification: G06G 7/12 (20060101);