This invention relates generally to wireless communications, and more particularly, to performing in-situ calibration of a gain for a radio frequency (“RF”) radio receiver (“Rx”) using, for example, thermal noise as a calibrating signal.
Bipolar and Bipolar Complementary Metal Oxide Semiconductor (“BiCMOS”) are examples of processing technologies used to manufacture RF integrated circuits (“ICs”) that include RF receivers. Although these technologies provide for a relatively stable amplifier gain for an RF receiver over process, voltage and temperature (“PVT”), they are complex and expensive. Complementary Metal Oxide Semiconductor (“CMOS”) processing technology, which is simpler and less costly, has been implemented to avoid the complexities and costs of those technologies to manufacture RF ICs. But gains of RF receivers built in CMOS are not as stable as the above-mentioned technologies over PVT, thereby leading to large variations in amplifier gain. Consequently, the amplifier gain of a CMOS-based RF IC must be calibrated to ensure proper operation of the RF receiver.
In view of the foregoing, it would be desirable to provide an improved calibration apparatus and technique that minimizes the above-mentioned drawbacks.
A system, apparatus, computer readable medium and method are disclosed to effectuate in-situ gain calibration of an radio receiver over time and/or over temperature without removing the RF IC from its operational configuration, especially when the gain of the RF IC is susceptible to variations in process, such as the CMOS process. Notably, the present invention provides an in-situ calibration signal generator that resides on the same substrate as does the RF IC. In one embodiment, the in-situ calibration signal generator generates thermal noise to calibrate the gain of an Rx path. According to a specific embodiment of the present invention, an exemplary apparatus includes a thermal noise generator configured to generate thermal noise as a calibrating signal into an input of an Rx path of an RF integrated circuit. The apparatus also includes a calibrator configured to first measure an output signal from an output of the Rx path, and then adjust a gain of the Rx path based on an estimated gain. In various embodiments, the estimated gain is a function of thermal noise, which can be an estimated amount of thermal noise power generated by a thermal noise source, “TNS”). In particular, the estimated gain can be a function of the measured thermal noise output (e.g., a measured output noise power signal value) from an Rx path and thermal noise (e.g., a thermally-generated input noise power signal value) being input into the Rx path. In one embodiment, the thermal noise generator further includes a termination resistance and/or impedance. The generated thermal noise is generally constant over frequencies useable by the RF integrated circuit. In another embodiment, the calibrator adjusts the gain by an amount derived from a noise figure (“NF”) of the Rx path, with the noise figure being less susceptible to variations over process and/or temperature than is the gain. In yet another embodiment, the apparatus further includes a temperature sensor coupled to the calibrator for adjusting a value of the noise figure in accordance with a measured ambient temperature. This improves calibration accuracy. In still yet another embodiment, the calibrator is an in-situ calibrator and is configured to automatically calibrate the gain while the RF integrated circuit remains operational to communicate RF signals. In a specific embodiment, the calibrator further comprises a gain evaluator to determine a gain differential between a calculated gain that is based on the output signal and an expected gain, and a gain adjuster to adjust the gain of the Rx path by an amount equivalent to the gain differential. The Rx path includes receiver (“Rx”) circuits, one of which is an adjustable amplifier that provides an adjustable amplifier gain for the Rx path. In operation, the gain adjuster provides a control signal to the adjustable amplifier so that the amplifier can adjust a measured gain to match a desired gain. The control signal, in whole or in part, includes data representing a gain differential (or delta) that is the difference between the measured gain (i.e., a calculated gain including an error) and the desired gain. An exemplary apparatus of the present invention is particularly beneficial in calibrating the gain of a radio receiver subsystem, especially when that subsystem is manufactured using CMOS processing technologies or other like processing technologies where gain varies significantly over process, voltage and/or temperature.
According to a specific embodiment of the present invention, an exemplary method calibrates a radio frequency (“RF”) integrated circuit by first modeling an effective input noise power signal value using at least one noise figure (“NF”) value associated with an RF radio receiver, the effective input noise power signal being modeled for input into the RF radio receiver. Then, the method measures an output noise power signal from the RF radio receiver to form a measured output noise power signal value. The method continues by calibrating a gain of the RF radio receiver as a function of the effective input noise power signal value and the measured output noise power signal value. In one embodiment, measuring the output noise power signal includes generating thermal noise, and applying the thermal noise as a calibrating signal into the RF radio receiver. Note that both generating thermal noise and applying the thermal noise are repeatable so that the method can perform in-situ calibration of the gain. In at least one embodiment, the method measures an ambient temperature to determine a measured temperature for improving calibration accuracy, and then modifies a value of the at least one noise figure to form a modified noise figure value, which is based on the measured temperature. In particular, the modified noise figure value is a noise figure value that compensates for the effects of temperature on noise figures, thereby providing a more robust noise figure value for estimating the gain. Further, the method can adjust the gain in accordance with the modified noise figure value.
In a specific embodiment, a system includes a radio receiver subsystem and a processor and is configured to calibrate the gain of a radio receiver (“Rx”) path. The radio receiver subsystem includes a thermal noise source configured to provide a calibration signal, an Rx path, and one or more filters. Each of these can be modeled to provide parameter values, such as a thermal noise source value, an Rx path noise figure value, and an equivalent noise bandwidth for the one or more filters. The radio receiver subsystem can also include a gain adjuster to adjust a gain of the radio receiver subsystem. The processor is configured to communicate with a central processing unit (“CPU”) of a networked computing device and has a gain calibrator, which includes a parameter generator to provide parameter values for deriving an effective input noise power signal value. The parameter values can include the thermal noise source value, the Rx path noise figure value, and/or the equivalent noise bandwidth. The processor can also include an output quantifier to measure an output noise power signal from the Rx path to form a measured output noise power signal value, as well as a gain evaluator to determine a gain differential between a calculated gain and an expected gain. The calculated gain can be a function of the measured output noise power signal value and the effective input noise power signal value. The gain differential can be passed to the gain adjuster for calibrating the gain. In a specific embodiment, the radio receiver is a constituent element of an RF integrated circuit manufactured using a complementary metal oxide semiconductor (“CMOS”) processing technology. The processor is a base band processor including a medium access controller (“MAC”) module for operating the system in a wireless local area network (“WLAN”).
The invention is more fully appreciated in connection with the following detailed description taken in conjunction with the accompanying drawings, in which:
Like reference numerals refer to corresponding parts throughout the several views of the drawings. Note that most of the reference numerals include one or two left-most digits that generally identify the figure that first introduces that reference number.
Apparatus 200 includes receiver (“Rx”) circuits 230 through which radio receiver amplification path (“Rx Path”) 208 propagates radio signals in a first mode (i.e., “receiver mode”). Rx circuits 230 influence the signal propagation characteristics of Rx Path 208. Examples of “Rx” circuits 230 include amplifiers (e.g., such as a Low-Noise Amplifier, or “LNA”), mixers, filtering circuitry, such as an intermediate frequency (“IF”) filter, analog-to-digital converters, base band circuitry and other known circuits suitable for implementing an RF receiver. In some embodiments, radio receiver subsystem 202 constitutes at least a portion of a radio frequency front end (“RFFE”) that operates in the first mode as an RF transceiver device for transmitting and receiving wireless signals at frequencies of 800 MHz to 5.2 GHz, for example. In at least one specific embodiment, radio receiver subsystem 202 is formed on a single substrate as part of an RF IC.
Apparatus 200 also includes a gain calibrator 206 and an in-situ calibration signal generator 214, both of which are configured to calibrate the gain of radio receiver subsystem 202 in a second mode (i.e., “calibration mode”). A mode selector 220, which is conceptually shown in this example as a switch, selects a signal source for propagating signals over Rx path 208, the signal source being either antenna 210 or in-situ calibration signal generator 214. To calibrate a gain associated with radio receiver subsystem 202, in-situ calibration signal generator 214 generates and then injects an internally-generated signal, such as a thermal noise power signal, into an Rx path input 212a of Rx path 208. Although in-situ calibration signal generator 214 is configurable to generate various types of calibration signals, in at least one embodiment it generates a thermal noise power signal as a calibration signal. Since the calibration signal can be a thermal noise power signal in some embodiments, it therefore can be modeled to also include thermal noise generated by other electronic components (e.g., Rx circuits 230) of radio receiver subsystem 202. As such, the calibration signal can be modeled as an effective input noise power signal representing the total equivalent thermal noise characteristics associated with Rx path 208. In at least one embodiment, the effective input noise power signal is derived using at least one noise figure (“NF”) value representative of Rx path 208 and power signal representative of the noise power generated by in-situ calibration signal generator 214. Noise figure values are well understood by those ordinarily skilled in the art and need not be discussed in greater detail.
During calibration mode, gain calibrator 206 first measures a thermally-generated noise power signal at an Rx path output 212b of Rx path 208. Then, it determines a gain for radio receiver subsystem 202 as a function of both the measured thermal noise power signal from Rx path output 212b and the effective input noise power signal value. After gain calibrator 206 calculates the gain, it then adjusts the gain of Rx path 208 via control line 204 to a desired gain value. In a specific embodiment, some of “Rx” circuits 230 that lie off Rx path 208 are neutralized or disabled to minimize internally-generated noise from interfering with calibration of radio receiver subsystem 202.
Advantageously, both the thermal noise power signal (as an calibration signal) and the NF value of Rx path 208 are reliably constant over variations in process as compared to the gain, and are predictable over temperature and voltage. As such, various embodiments of the present invention provide a localized calibration signal for in-situ gain calibration of an RF receiver so that gain calibration can be done “on the fly,” thereby obviating requirements for either performing a one-time gain calibration during production or storing calibration parameters in a memory device. Accordingly, the gain of Rx path 208 can be calibrated to approximately its desired value of operation regardless of either excursions in temperature or changes in operational characteristics of aging electrical components. Further, in-situ calibration signal generator 214 can be implemented using one or more existing electronic components of radio receiver subsystem 202, and as such, does not require additional electrical components to generate a thermal noise power signal in accordance with embodiments of the present invention. Or, in-situ calibration signal generator 214 can be implemented as a dedicated calibration signal generator that is configured to generate non-thermally generated signals. In alternative embodiments, gain calibrator 206 can improve accuracy of gain calibration by resolving measurement errors during gain calibration and/or by factoring ambient temperatures into the gain calculation process.
An exemplary gain calibrator 206 is configured to determine a gain differential between a calculated gain and an expected gain and then adjust the gain of Rx path 208 by an amount equivalent to the gain differential. To determine the calculated gain, gain calibrator 206 quantifies (i.e., measures) an output noise power signal at Rx path output 212b. In accordance with a specific embodiment, gain calibrator 206 determines the calculated gain as follows in Equation (1), whereby the calculated gain is described as a function of both an output noise power signal value and the effective input noise power signal value:
GRX=PmOUTdBm−PeffINdBm[±delta dBm], Equation (1)
where G(RX) is the calculated gain, P(mOUT) is a quantified (i.e., measured) noise output power signal value, and P(effIN) is the effective input noise power signal value.
As is shown in Equation (1), “delta” can be optionally included as the cumulative error for estimated parameter values. A gain calibrator of the present invention can optionally use “delta” to ensure that the gain of an Rx path is adjusted within a range of gain values within +/−delta dBm from the desired gain. Without implementing calibrator 206 as well as the calibration techniques described herein, the gain of Rx path 208 can vary ±15 dB due to variations in process. This amount of fluctuation in gain is generally unacceptable for most radio receiver implementations. Calibrator 206 is configured to calibrate the gain within a delta of ±5 dB or less by deriving the effective input noise power signal value, P(effIN), from predictable parameter values that are relatively immune from significant variations in process. Some of these parameters are described next with respect to
PTNS=10 log(kT)=10 log(kT0T/T0)=−174+10 log(T/T0), Equation (2)
where P(TNS) represents an estimated thermal noise power expressed in units of dBm/Hz, k is Boltzmann's constant, and T0 is 300 degrees Kelvin. In one embodiment, thermal noise source 302 is implemented as an existing electronic component of radio receiver subsystem 202, such as a 50-ohm termination resistance. Such a resistance typically forms part of a filter, such as a front-end receiver band filter that precedes a low noise amplifier (“LNA”). As such, TNS 302 can be modeled as a noise source generating an amount of thermal noise power, P(TNS).
The second parameter used to calculate P(effIN) is a noise figure for Rx path 208, or NF(Rx path). When calibrating Rx Path 208, input thermal noise signal 303 passes through a low noise amplifier (“LNA”) 304 to mixer 306, which is driven by a local oscillator (“LO”). These and other constituent components (not shown) of radio receiver subsystem 202 collectively produce thermal noise that is added to signals passing through Rx path 208, thereby degrading the input signal-to-noise ratio. The noise figure for RX path 208, NF(Rx path), is a measure of this degradation. As the design and circuit layout of radio receiver subsystem 202 primarily influences the value of NF(Rx path), noise figure values are relatively stable (i.e., small deviations among NF values) over variations in process, voltage and temperature as compared to the gain of Rx path 208, which can vary +/−15 dB from RF IC to RF IC manufactured on the same process. In practice, NF(Rx path) values can be determined in any number of ways, one of which includes performing noise simulation using software models of radio receiver subsystem 202. In one embodiment, a NF(Rx path) value is determined empirically by measuring the noise figure for Rx path 208 over a number of electronic devices implementing radio receiver subsystem 202 to form an estimated NF(Rx path) value as a second parameter.
The third parameter used to calculate P(effIN) is the equivalent noise bandwidth value (“EQ_NBW”) of one or more filters 308. After the input noise power signal is amplified by LNA 304, it is then band limited as it passes one or more filters 308, examples of which include an IF filter (e.g., a Surface Acoustic Wave, or “SAW,” filter) and/or a base band filter (e.g., a low pass filter, or “LPF”). Thereafter, the output of radio receiver subsystem 202 is depicted as an output noise power signal 313 having a value representing an amplification of the input by a gain factor. In a specific embodiment of the present invention, the EQ_NBW is estimated by the following Equation (3):
EQ—NBW=10 log(BW), Equation (3)
where EQ_NBW is expressed in Hz and depends on the operational bandwidth of Rx path 208. So in view of the foregoing, an effective calibration signal P(effIN) of Equation (1) can be determined by the following Equation (4):
P(effIN)=[P(TNS)]+[NF(Rx path)]+[EQ—NBW], Equation (4)
where P(TNS), NF(Rx path), and EQ_NBW are estimated parameter values, according to a specific embodiment. Accordingly, Equation (4) represents a calibration signal modeled as an input into Rx path input 212a (
Gain calibrator 206 uses the following Equation (5) to determine “delta” for Equation (1) as a collective tolerance, which is due to error contributions associated with the estimated parameter values:
delta=ΔP(TNS)+ΔNF(Rx Path)+10 log(1+ΔBW/BW), Equation (5)
where ΔP(TNS) is an amount of error due to fluctuations in ambient operational temperature, ΔNF(Rx path) is an amount of error due to fluctuations in PVT (i.e., process, voltage, and temperature), and ΔBW is due to band limiting radio receiver subsystem 202 to an operational bandwidth. Equation (2) determines ΔP(TNS) to be about ±0.4 dB, given that T0 is presumed equal to 300 degrees Kelvin and the ambient temperatures during operation are limited to a range from 0° C. to 65° C., according to one embodiment. ΔNF(Rx path) typically varies by ±2 dB over various designs of radio receiver subsystem 202, the value of which can be determined empirically or by simulation. Equation (3) estimates that ΔBW (i.e., ΔEQ_NBW) to be less than ±1.0 dB (e.g., ±0.7 dB), if filter 308 is bandwidth limited to about 20 MHz as an example. Note that in some embodiments, ΔP(TNS) and ΔNF(Rx path) can be temperature compensated (i.e., modified in accordance with an ambient temperature) to reduce the magnitudes of errors due to fluctuations in ambient operational temperature and an amount of error due to fluctuations in the temperature component of PVT.
Referring back to
Δgain=G(RX)−G(desired), Equation (6)
where G(desired) is the desired gain to which the gain of Rx path 208 is adjusted. The desired gain, G(desired), can be user-defined.
Pm=10 log(1+10−R/10), Equation (7)
where R is equivalent to the difference between values of Pn and Pq (i.e., R=Pn−Pq). Consider that in this example, it is desired that an estimated margin error, Pm, is to be no greater than 0.1 dB. As shown, an estimated margin error, Pm, of 0.1 dB suggests a “Pn−Pq” value 902 of about 17 dB. Note that the value 902 of “Pn−Pq” represents Δ2 in
where the standard deviation of the measured (i.e., quantified) noise output power signal value, P(mOUT) can be determined by the following Equation (9):
Accordingly, if an estimation error “Pmeas” is desired to be less than ±0.4 dB with a two-sigma confidence interval, then the sample size, Ns, must be greater than 1000. Note that the determination of Pmeas described above relates to the time domain. In some embodiments, it may be advantageous to calculate Pmeas in the frequency domain using techniques of power spectral density estimation. Accordingly, a DC offset can be easily removed as it is at bin 0. Also, the variations in bandwidth are better controlled in terms of the accuracy of a crystal oscillator, thereby facilitating integration over a flat part of the power spectral density. Further, spurs (i.e., peaks of in the power spectral density) can be more readily excluded.
System 1200 also includes a processor 1250 that contains an in-situ gain calibrator 1252. Although processor 1250 can be a central processing unit or any known computing device, processor 1250 in at least one specific embodiment is a single-chip baseband processor (“BBP”) including a media-access-controller (“MAC”) module and is configured to operate in wireless local area network (“WLAN”) applications. As such, radio receiver subsystem 1202 is configurable to operate at least in a frequency range of 2.4-GHz to 5.2-GHz, as well as any other suitable frequencies. In some embodiments, processor 1250 is operable with any IEEE 802.11x standard or equivalent. Processor 1250 is coupled via data path 1210 to radio receiver subsystem 1202 for receiving at least a digitized output noise power signal from, for example, an output of an A-to-D converter. Processor 1250 also communicates control signals via control lines 1212 to manage the calibration process. For example, control lines 1212 can convey thermal data representing an ambient temperature for use by in-situ gain calibrator 1252.
While in-situ gain calibrator 1252 can be similar in operation and/or structure as in-situ gain calibrator 206 (
In one embodiment, gain evaluator 1260 includes an output quantifier (“OQ”) 1262 and a parameter generator (“PG”) 1264. Output quantifier 1262 is configured, in whole or in part, to measure a value representing PmOUT, which is described above. In various embodiments, output quantifier 1262 measures the value representing PmOUT in a manner that minimizes measurement errors due to clipping errors, quantization noise, sample sizes of A-to-D converter 602, and the like. Specifically, output quantifier 1262 uses parameter values indicative of a “back-off” (or PARclip) value, a “margin” (or Pn−Pq) value and a sample size value to optimize the accuracy of gain calibration. Parameter generator (“PG”) 1264 is configured generate other parameter values, such as P(TNS), NF(Rx Path), and EQ_NBW, as well as their tolerances, all of which are described above. Parameter generator (“PG”) 1264 uses the parameters and tolerances (i.e., deltas) to form a value for P(effIN) in accordance with Equation (5). Then, gain evaluator 1260 uses a value for PmOUT from output quantifier 1262 and a value for P(effIN) from parameter generator (“PG”) 1264 to generate a calculated gain, G(RX), in accordance with Equation (1). Then, gain adjuster 1270 can determine a value for Again in accordance with Equation (6), and then can use that value to adjust the amplifier gain. In at least one embodiment, in-situ gain calibrator 1252 calibrates the gain of an Rx path using Equations (1) and (6) within tolerances described above as “delta.”
Note that the functionalities of gain calibrator 1252 need not be limited to processor 1250. In other embodiments, the various functionalities of the elements described in
An example of frequencies that the communication system of the present invention is suitable to transmit and receiver are those used in wireless LAN applications, which can be governed by IEEE standard 802.11. The present invention is applicable to a wide-range of frequencies. The foregoing description, for purposes of explanation, used specific nomenclature to provide a thorough understanding of the invention. However, it will be apparent to one skilled in the art that specific details are not required in order to practice the invention. In fact, this description should not be read to limit any feature or aspect of the present invention to any embodiment; rather features and aspects of one embodiment may readily be interchanged with other embodiments. For example, although the above description of the embodiments related to an RF communications system, the discussion is applicable to all communications systems. Thus, the foregoing descriptions of specific embodiments of the invention are presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed; obviously, many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications; they thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. Notably, not every benefit described herein need be realized by each embodiment of the present invention; rather any specific embodiment can provide one or more of the advantages discussed above. It is intended that the following claims and their equivalents define the scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5758271 | Rich et al. | May 1998 | A |
6064655 | Murphy | May 2000 | A |
6678509 | Skarman et al. | Jan 2004 | B2 |
6690915 | Ito et al. | Feb 2004 | B1 |
20010012770 | Pol | Aug 2001 | A1 |
20050079842 | Shi | Apr 2005 | A1 |
20050227627 | Cyr et al. | Oct 2005 | A1 |
20050260963 | Ponce De Leon et al. | Nov 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20060264192 A1 | Nov 2006 | US |