The present invention relates to gain calibration, and more particularly to gain calibration for radio frequency (RF) mixers that are implemented in wireless transceivers.
Referring now to
The wireless transceiver 10 transmits and receives frames/packets and provides communication between two networked devices. In AdHoc mode, the two devices can be two laptop/personal computers. In infrastructure mode, the two devices can be a laptop/personal computer and an AP.
There are multiple different ways of implementing the transmitter 12 and the receiver 14. For purposes of illustration, simplified block diagrams of super-heterodyne and direct conversion transmitter and receiver architectures will be discussed, although other architectures may be used. Referring now to
An output of the mixer 24 is connected to an optional IF filter 26, which has an output that is coupled to an automatic gain control amplifier (AGCA) 32. An output of the AGCA 32 is coupled to first inputs of mixers 40 and 41. A second input of the mixer 41 is coupled to an oscillator 42, which provides a reference frequency. A second input of the mixer 40 is connected to the oscillator 42 through a −90° phase shifter 43. The mixers 40 and 41 convert the IF signals to baseband (BB) signals. Outputs of the mixers 40 and 41 are coupled to BB circuits 44-1 and 44-2, respectively. The BB circuits 44-1 and 44-2 may include low pass filters (LPF) 45-1 and 45-2 and gain blocks 46-1 and 46-2, respectively, although other BB circuits may be used. Mixer 40 generates an in-phase (I) signal, which is output to a BB processor 47. The mixer 41 generates a quadrature-phase (Q) signal, which is output to the BB processor 47.
Referring now to
Referring now to
Outputs of the mixers 64 and 72 are input to a summer 76. The summer 76 combines the signals into a complex signal that is input to a variable gain amplifier (VGA) 84. The VGA 84 is coupled to an optional IF filter 85. The optional IF filter 85 is connected to a first input of an IF to RF mixer 86. A second input of the mixer 86 is connected to an oscillator 87, which provides a reference frequency. An output of the mixer 86 is coupled to an optional RF filter 88. The optional RF filter 88 is connected to a power amplifier 89, which may include a driver. The power amplifier 89 drives an antenna 90 through an optional RF filter 91.
Referring now to
The transmitter 12 typically includes circuit elements that are implemented with both on-chip integrated circuits and off-chip components. On-chip circuit elements are typically active and are implemented using modern semiconductor processes. The on-chip circuit elements typically include mixers, variable gain amplifiers, power amplifiers, low pass filters, etc. Off-chip circuit elements are passive and typically include filters and matching networks. Due to semiconductor process variations and sensitivity of the on-chip transceiver components to environmental variations, such as temperature, compensation of the on-chip circuit elements is performed to improve transceiver performance. The gain of the circuit elements, which also depends upon the external circuit elements, cannot be easily compensated. On-chip circuit elements can be compensated to provide finite and controlled performance and characteristics.
The mixers in the wireless transceiver 10 can be implemented using Gilbert cell mixers. Referring now to
The Gilbert cell mixer 110 further includes third, fourth, fifth, and sixth transistors 130, 132, 134, and 136. A drain of the first transistor 122 is coupled to sources of the third and fourth transistors 130 and 132. A drain of the second transistor 124 is coupled to sources of the fifth and sixth transistors 134 and 136.
A gate of the fourth transistor 132 is connected to a gate of the fifth transistor 134. The gates of the fourth and fifth transistors 132 and 134 are connected to a first lead of a second voltage source. Another lead of the second voltage source is connected to gates of the third and sixth transistors 130 and 136. A drain of the third transistor 130 is connected to a drain of the fifth transistor 134. A drain of the fourth transistor 132 is connected to a drain of the sixth transistor 136. Typically, the first voltage source is a radio frequency, intermediate frequency, or baseband signal requiring frequency conversion (up or down) and the second voltage source is a local oscillator.
Mixer linearity in the first stage is one of the key performance parameters of the wireless transceiver. Mixer linearity affects the receiver's ability to receive weak desired signals in the presence of strong adjacent-channel interference. Poor mixer linearity can cause excessive corruption in the transmitter spectrum and degrade signal integrity of the transmitter. When the mixer is implemented using some transistor technologies such as CMOS, the input linear range of the mixer varies significantly with temperature and process variations.
The ability to calibrate the gain of the mixer is also an important attribute of a mixer design. During volume production of the transceiver integrated circuit (IC), the values and/or characteristics of resistors, capacitors, transistors and other elements used in the wireless transceiver components may vary due to process variations. These variations may adversely impact performance of the transceiver IC. In use, power supply voltage variation and temperature variations of the environment may also adversely impact the performance of the transceiver IC.
A gain calibration circuit for a radio frequency (RF) mixer in a wireless transceiver includes a constant overdrive voltage generator that biases the RF mixer. A reference signal generator generates a reference signal. A comparator receives the reference signal and a second signal that is proportional to a mixer bias current flowing through the RF mixer and generates a difference signal. An adjustment circuit adjusts a transconductance gain of the RF mixer based on the difference signal.
In other features, the adjustment circuit adjusts the mixer bias current to adjust the transconductance gain. The adjustment circuit includes at least one of a plurality of binary weighted transconductance cells and a plurality of thermometer coded transconductance cells. The adjustment circuit adjusts the transconductance gain in discrete steps.
In still other features, the transconductance gain is calibrated at least once during idle time between data packets, after power on, after hardware reset, and after software reset. The reference signal generator includes a matched resistor and a current source.
A wireless receiver that receives data packets includes a receiver including a radio frequency (RF) receiver mixer having an input transconductance stage that is biased by a constant overdrive voltage. A receiver gain calibration circuit includes a reference signal generator that generates a reference signal. A comparator receives the reference signal and a second signal that is proportional to a mixer bias current flowing through the RF receiver mixer and generates a difference signal. An adjustment circuit adjusts a transconductance gain of the RF receiver mixer based on the difference signal.
In other features, the transconductance gain of the RF receiver mixer is proportional to a bias current of the RF receiver mixer. The RF receiver mixer is a Gilbert cell mixer that includes a compensated transconductance stage with first and second transistors that are operated in a saturation region and third and fourth transistors that are operated in a triode region. The adjustment circuit includes a plurality of binary weighted transconductance cells or thermometer coded transconductance cells.
In yet other features, the transconductance gain is calibrated during idle time between data packets. The transconductance gain is calibrated at least one of after power on, after hardware reset, and after software reset. The reference signal generator includes a matched resistor and a current source.
A wireless transmitter that transmits data packets includes a transmitter including a radio frequency (RF) transmitter mixer having an input transconductance stage that is biased by a constant overdrive voltage. A transmitter gain calibration circuit includes a reference signal generator that generates a reference signal. A comparator receives the reference signal and a second signal that is proportional to a mixer bias current flowing through the RF transmitter mixer and generates a difference signal. An adjustment circuit adjusts a transconductance gain of the RF transmitter mixer based on the difference signal.
The transconductance gain of the RF transmitter mixer is proportional to the mixer bias current of the RF transmitter mixer. The RF transmitter mixer is a Gilbert cell mixer that includes a compensated transconductance stage with first and second transistors that are operated in a saturation region and third and fourth transistors that are operated in a triode region. The adjustment circuit includes a plurality of binary weighted transconductance cells or thermometer coded transconductance cells.
In still other features, the transconductance gain is calibrated during idle time between data packets. The transconductance gain is calibrated at least one of after power on, after hardware reset, and after software reset. The reference signal generator includes a matched resistor and a current source.
Further areas of applicability of the present invention will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:
The following description of the preferred embodiment(s) is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. For purposes of clarity, the same reference numbers will be used in the drawings to identify similar elements.
Referring now to
Referring now to
The transconductance gm of the transmitter mixer 160 is proportional to a mixer bias current ID divided by VDsat. According to the present invention, a bias circuit 188 is employed to provide a constant VDsat to improve mixer linearity. Because VDsat is effectively constant over temperature and process corners, the gm of the transmitter mixer 160 is proportional the mixer bias current ID, since gm≈2 ID/VDsat. The gm adjustment circuit 184 according to the present invention uses one or more binary weighted gm stages to increase or decrease the mixer bias current ID in fixed steps. In doing so, the transconductance gm of the transmitter mixer 160 can be accurately calibrated.
Referring now to
Likewise, the transconductance gm of the receiver mixer 162 is proportional to ID/VDsat. According to the present invention, a bias circuit 198 is employed to provide a constant VDsat to improve mixer linearity. Because VDsat is effectively constant over temperature and process corners, the gm of the receiver mixer 162 is proportional the mixer bias current ID. The gm adjustment circuit 194 according to the present invention likewise uses one or more binary weighted gm stages that increase or decrease the mixer bias current ID in fixed steps. In doing so, the transconductance gm of the receiver mixer 162 can also be calibrated.
In the Gilbert-cell mixer 110 in
Referring now to
Referring back to
A drain of the transistor 226 is connected to a drain of the transistor 224 and to sources of the transistors 134 and 136. A source of the transistor 224 is connected to a drain of the transistor 218. A source of the transistor 226 is connected to a drain of the transistor 212. A gate of the transistor 212 is connected to a gate of the transistor 218. A gate of the transistor 210 is connected to a gate of the transistor 216. The transistors 220-226 preferably provide biasing for the transistors 210-218.
Linearity of the mixer 200 is improved by using the compensated input transconductor stage 204. However, the mixer 200 may be implemented using transistor technology with an input linear range that varies with temperature and process variations. Referring now to
The constant VDsat biasing circuit 240 includes a resistor 242. The resistor 242 is preferably a poly resistor, although the resistor 242 can be a discrete resistor, an external resistor, or any other resistor. A current source 244 generates a reference current Iref. The resistor 242 has one end connected to the current source 244 and an opposite end connected to a drain of a transistor 246.
The current source 244 is generated by a band-gap voltage VBG across the resistor 242. The IR drop across the resistor (Iref*R) is substantially constant with respect to temperature and process variation. The constant VDsat biasing circuit 240 further includes a resistor 247 having one end coupled to a capacitor 248 and a gate of a transistor 250. An opposite end of the resistor 247 is coupled to a capacitor 254 and to the one end of the resistor 242. An opposite end of the capacitor 248 is connected to a voltage input. An opposite end of the capacitor 254 and sources of the transistors 246 and 250 are connected to a reference potential such as ground.
The transistor 246 is biased at an edge of the threshold region. VGs of the transistor 246 is approximately equal to a threshold voltage (VT) of the transistor 246. The transistor 250 preferably has a size channel length that is approximately the same as the transistor 246. Therefore, the second transistor 250 has approximately the same threshold voltage (VT) as the transistor 246. VDsat of the transistor 250 is approximately equal to VGs(transistor 250)−VT [Iref*R+VGS(transistor 246)−VT]≈Iref*R (when VDsat of transistor 246≈0 is used). As a result, VDsat of transistor 250≈Iref*R is independent of temperature and process variation.
Referring now to
Referring now to
Referring now to
For example, packet-based transmitter mixer calibration according to the present invention can be performed during a first idle time period 287 between transmitter enable 290 and power amplifier enable 294. Transmitter calibration can also be performed during a second idle time period 292 between power amplifier enable 294 and a falling edge of transmitter enable 290. Skilled artisans will appreciate that transmitter calibration can be performed during any other idle time between data packets and/or during period 296. The minimum turn-around time from Rx to Tx is 10 μs.
Packet-based receiver mixer calibration can be performed when the end of receiver signal 288 goes low, or when the end of the transmitter signal 290 goes low. The receiver mixer calibration can also be performed during one of the first and second idle time periods 287 and 292. Skilled artisans will appreciate that mixer gain calibration can performed during any other idle time period without departing from the invention.
Referring now to
Referring to the simplified mixer gain calibration circuit 300 as shown in
Referring now to
A multiplexer 414 receives an output of the counter 410, inputs directly from a control register at 415 (not shown), and a MUX control signal 416 from the control register. The calibration control block 402 further includes an up/down and counter enable circuit 420, which is coupled to the counter 410.
An output of the multiplexer 414 is input to binary weighted gm stages 430-1, 430-2 . . . , and 430-n (collectively 430). Outputs of the binary weighted gm stages 430 are input to a comparator 434 having outputs connected to the register 412. A voltage source 452 and a resistor 304 are connected to a final stage 430-n of the binary weighted gm stage 430. A voltage source 456 and the resistor 304 are connected to one input of the comparator 434. An output of the register 412 is connected to the up/down and count_enable circuit 420. In
In an exemplary embodiment, the transmitter and receiver gain calibration protocol has two phases. Full calibration is performed when the transceiver 10 is powered up, exits from power down, has a hardware and/or software reset, and when the frequency synthesizer changes channels. As can be appreciated, full calibration may be performed in other circumstances as well.
For full calibration, the counter 410 is reset to “0”s and the up/down-count state is also reset to “up” at the beginning of the calibration cycle. When the comparator 434 output is a first state, the counter 410 counts in an “up” direction. The counter 410 continues to count upward until the output of the comparator 434 changes state. When the comparator 434 changes state, the counter 410 starts a downward count. The counter 410 stops counting when the state changes a predetermined number of consecutive times from up to down. For example, up, up, up, up, down, up, down, up. The counter 410 is cleared at the beginning of full calibration.
Incremental or packet-based calibration is performed during idle time as described above in conjunction with
Those skilled in the art can now appreciate from the foregoing description that the broad teachings of the present invention can be implemented in a variety of forms. Therefore, while this invention has been described in connection with particular examples thereof, the true scope of the invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, the specification and the following claims.
This application is a continuation of U.S. patent application Ser. No. 11/280,027, filed Nov. 16, 2005, which is a continuation of U.S. patent application Ser. No. 10/292,087, filed Nov. 11, 2002. The disclosures of the above applications are incorporated herein by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
4031469 | Johnson | Jun 1977 | A |
5212826 | Rabe et al. | May 1993 | A |
5548840 | Heck | Aug 1996 | A |
5724653 | Baker et al. | Mar 1998 | A |
5752171 | Akiya | May 1998 | A |
5805988 | Clayton et al. | Sep 1998 | A |
5859559 | Hong et al. | Jan 1999 | A |
5886547 | Durec et al. | Mar 1999 | A |
5933771 | Tiller et al. | Aug 1999 | A |
6081701 | Norimatsu | Jun 2000 | A |
6118811 | Narumi et al. | Sep 2000 | A |
6122497 | Gilbert | Sep 2000 | A |
6140849 | Trask | Oct 2000 | A |
6324228 | Millward et al. | Nov 2001 | B1 |
6366622 | Brown et al. | Apr 2002 | B1 |
6560447 | Rahman et al. | May 2003 | B2 |
6621345 | Matsugatani et al. | Sep 2003 | B2 |
6639447 | Manku et al. | Oct 2003 | B2 |
6650883 | Stephane et al. | Nov 2003 | B1 |
6684065 | Bult et al. | Jan 2004 | B2 |
6807406 | Razavi et al. | Oct 2004 | B1 |
6850753 | Zhang et al. | Feb 2005 | B2 |
6862327 | Van Sinderen | Mar 2005 | B2 |
6865382 | Behzad | Mar 2005 | B2 |
6892062 | Lee et al. | May 2005 | B2 |
6917788 | Malhi et al. | Jul 2005 | B2 |
6922556 | Beumer | Jul 2005 | B2 |
6944438 | Pellat et al. | Sep 2005 | B2 |
7006824 | Tse et al. | Feb 2006 | B1 |
7057426 | Yamaji et al. | Jun 2006 | B2 |
7177620 | Tsai et al. | Feb 2007 | B1 |
7215933 | Tse et al. | May 2007 | B1 |
20030003891 | Kivekas et al. | Jan 2003 | A1 |
20030069049 | Poranen et al. | Apr 2003 | A1 |
20050101280 | Behzad | May 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
Parent | 11280027 | Nov 2005 | US |
Child | 12287928 | US | |
Parent | 10292087 | Nov 2002 | US |
Child | 11280027 | US |