This disclosure relates generally to digital signal processing, and more particularly to techniques of compensating for DC offsets.
An example of a prior art RF receiver chip 10 connected to an antenna 12 is illustrated in
One example of a prior art circuit for dealing with DC offset compensation is illustrated in
In operation, by making alpha large (i.e., close to 1), more weight is placed on the current sample value and less weight is placed on the average value. Conversely, by making alpha small (i.e., close to 0) less weight is placed on the current sample value and more weight placed on the average value. Typically, alpha is close to zero such that the estimator 31 needs time to accumulate a number of samples to produce a reasonable estimate of the DC offset. Thus, the DC offset adjustment circuit 22 illustrated in
An example of a situation in which the DC offset adjustment circuit 22 illustrated in
A disclosed apparatus comprises front end circuitry to demodulate a radio frequency signal and to produce a baseband signal, the radio frequency signal comprising a periodic signal with a predetermined period. An analog-to-digital converter converts the baseband signal into a digital signal, the digital signal comprising a periodic signal with the predetermined period. A first DC offset adjustment circuit includes a filter for estimating a DC offset contained in the digital signal based only on digital samples in a sample period having a length equal to the predetermined period. An adder removes the estimated DC offset from the digital signal.
A disclosed method comprises demodulating a radio frequency signal and producing a baseband signal, the radio frequency signal comprising a periodic signal with a predetermined period. The baseband signal is converted into a digital signal, the digital signal comprising a periodic signal with the predetermined period. A DC offset contained in the digital signal is estimated based only on digital samples in a sample period having a length equal to the predetermined period. The estimated DC offset is removed from the digital signal.
For the present disclosure to be easily understood and readily practiced, the present disclosure will now be described, for purposes of illustration and not limitation, in conjunction with the following figures.
The disclosed DC compensation method and apparatus is advantageous over the conventional method and apparatus illustrated in
The first inner loop 44 comprises an averaging filter 50 in series with a low pass filter 52. The averaging filter 50 is discussed in detail in conjunction with
Details of the first inner loop 44 are illustrated in
The output zn of the low pass filter 52 may be represented by the following equation:
zn=αyn+(1−α)zn-1
The equations represent the hardware illustrated in
These two equations are equivalent to the equation for yn above and are thus an alternative implementation.
Completing the description of the apparatus shown in
In operation, the apparatus of
Turning now to the operation of the apparatus illustrated in
In one implementation, the accumulator of the first inner loop 44 is reset to zero at the end of every packet by a Reset 1 signal produced by the DSP 20. The accumulator of the inner loop 46 is reset to zero upon system reset by a Reset 2 signal produced by the DSP 20. The averaging filter 50 is reset when cntl_x switches from 0 to 1 by a Reset 3 signal which is also produced by the DSP 20.
As previously mentioned, in one implementation, the disclosed DC offset method and apparatus operate in conjunction with a zero-mean periodic signal. Carrier frequency offset (CFO), i.e., the mismatch in frequencies between the transmitter and receiver, causes the signal to be non-periodic. For example, if both transmitter and receiver frequencies deviate from nominal by as much as +/−50 kHz, the carrier frequency offset can be as high as +/−100 kHz.
The operation of the first inner loop 44 is effective when the input is a legacy short training field (L-STF) or a high throughput short training field (HT-STF). In one implementation, the gain of the automatic gain controlled amplifier 16 is fixed before the first inner loop 44 is turned on or the samples produced during that period discarded. The first inner loop 44 may be kept off by setting alpha to zero or the first inner loop 44 may be kept in a tracking mode by setting alpha to a very small value. The values of alpha, and the times when the values of alpha are changed, are controlled by the DSP 20.
Turning to
αacq=1/32,αtrk=1/2048,T=0.4 μsec
The time period of 0.8 microseconds is the sample period of length P. The time period of T microseconds is the time needed for the low pass filter 52 to operate. Note that because symbol timing is not available at this point in the process, in one implementation, the time at which the gain is fixed can be used as a reference for calculating the switching times for alpha. The operation of the automatic gain controlled amplifier 16 should guarantee that [time needed to fix the gain+T+1 microsecond] is still well within the 8 microseconds of the LSTF/HTSTF preamble.
αacq=1/32,αtrk=1/2048,T=0.4 μsec
Note that in the circumstances of
αacq=1/256,αtrk=1/8192,T=20 μsec
We now describe some DC offset estimation error statistics derived in conjunction with the disclosed method and apparatus. The first two tables estimate DC offset values for a 20 MHz signal, 50 mV DC offset, with a carrier frequency offset of 100 kHz and 50 kHz, respectively.
These tables illustrate that for a 20 kHz signal, the higher the carrier frequency offset, the less reliable the DC estimate becomes.
The next two tables estimate DC offset values for a 40 MHz signal, 50 mV DC offset, with a carrier frequency offset of 100 kHz and 200 kHz, respectively
We see from these two tables that for 40 MHz signals, the DC estimation is not as sensitive to carrier frequency offset likely because the side lobes are further removed from the DC center and more easily filtered out by the low pass filter 52 thus improving the result.
The final two tables provide an estimation of quality for situations where the signal to noise ratio (SNR) is low. Table 5 provides estimated error statistics using an Orthogonal Frequency Division Multiplexing (OFDM) scheme, with 0 mV DC offset, Additive White Gaussian Noise (A WGN), and an SNR of 5 dB. Table 6 is the same, but with an SNR of 10 dB.
When carrier frequency offset is large, the estimation error of the DC offset is higher. Additionally, in an OFDM system, high carrier frequency offset will result in residual DC offset being very close in frequency to one of the data-carrying tones adjacent to the center of the transmitted spectrum (on the positive or negative side, depending on the sign of the carrier frequency offset). As a result, the data on that tone is very likely to be corrupted by the residual DC offset. This is shown in
The disclosed DC estimation method and apparatus represents an improvement over the prior art shown, for example, in
Although the present disclosure describes a method and apparatus in terms of one or more embodiments, many modifications and variations are possible. For example, one or more steps of methods described above may be performed in a different order and still achieve desirable results. The following claims are intended to encompass all such modifications and variations.
The present application claims the benefit of U.S. Provisional Application No. 61/046,312, filed 18 Apr. 2008, the entirety of which is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5764523 | Yoshinaga et al. | Jun 1998 | A |
6278727 | Yanagi | Aug 2001 | B1 |
6400778 | Matui | Jun 2002 | B1 |
6498929 | Tsurumi et al. | Dec 2002 | B1 |
7035589 | Meng et al. | Apr 2006 | B1 |
7324609 | Hwang et al. | Jan 2008 | B1 |
7457374 | Beyer et al. | Nov 2008 | B2 |
7480234 | Hart et al. | Jan 2009 | B1 |
7634013 | Marsili | Dec 2009 | B2 |
20050025041 | Marsili | Feb 2005 | A1 |
20050111525 | Driesen et al. | May 2005 | A1 |
20050136874 | Yeo et al. | Jun 2005 | A1 |
20070242599 | Gorday et al. | Oct 2007 | A1 |
20080089443 | Sanada et al. | Apr 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
61046312 | Apr 2008 | US |