This invention relates to analog-to-digital converters (ADC), and in particular to methods for linearizing the corrected output from such ADCs.
The analog-to-digital converter is a class of electronic component which is used in a wide variety of applications ranging from instrumentation to communications. The basic function of an ADC is to accept an input which is analog—that is to say, it can have any of a continuous range of values—and provide an output in a digital form—that is to say, the output must lie within a representation of a subset of the natural numbers.
In order to properly carry out their function, the vast majority of ADCs are required to be as nearly as possible, or at least approximately, linear: the output should be directly proportional to the input.
An example of an ADC which requires high linearity is that for a single frequency modulated (FM) radio signal, which requires to be linear over the range of frequency modulation from the base band frequency. In comparison, an ADC used in a wide band receiver requires linearity over a far wider range: the wide band receiver will sample the entire 20 MHz FM relevant radio band, such as, for instance, a 20 MHz FM radio band. In addition, such a wide band receiver may be exposed to the “near-far problem” in that it may receive signals from antennas at widely different distances from the receiver: the ADC should be capable of digitising signals from both the distant and nearby antenna accurately. Relative to ADCs for narrowband applications, an ADC for such a wide band receiver application thus not only needs to have a much larger bandwidth, but also requires a much higher “spurious free dynamic range” (SFDR). To achieve this requires a very high degree of linearity.
Non-linearity in an ADC response can arise due to a variety of factors. In particular, deviations in the actual resistance or capacitance values of manufactured on-chip components such as resistors or capacitors, from the design values, can directly result in non-linearity. These deviations can easily arise due to IC process spread, moreover currents which exceed the (small signal) approximations of transistors may also degrade the linearity. Examples are non-linear circuit parameters in multi-level quantizers and digital to analogue converters (DACs).
In general, the non-linearities of an ADC may be classified into static non-linearities, which manifest themselves for constant input signals, and dynamic non-linearities that only manifest themselves for time-varying signals. Histograms of the digital sample values for a known input signal can characterize ADCs with static non-linearities. However, such tests are inadequate to measure ADCs with dynamic errors like hysteresis.
Historically, addition of a controlled amount of noise to the ADC input, called dithering, has been a popular technique to reduce the non-linearity of ADCs. Dithering is mostly used for suppression of non-linearities in ideal ADCs.
A known method of carrying out linearization of ADCs is to use one of a variety of spectra. Typically such spectra are generated as Fast Fourier Transforms (FFT), but other spectra, such as Discrete Cosine Transforms (DCT) may also be used. For example, Adamo et al in “A//D Converters Nonlinearity Measurement and Correction by Frequency Analysis and Dither,” IEEE Tr. Instrumentation Measurement, Vol. 52, No. 4, August 2003 assumes a polynomial non-linearity in the ADC, for which a single carrier at the ADC input causes a series of harmonics in the ADC output. Based on this assumption, Adamo et al analytically determined the energies of these harmonics.
Dynamic element matching (DEM) is a kind of randomization technique that reduces harmonics and intermodulation products in non-ideal ADCs at the expense of a higher noise floor.
This invention is particularly concerned with sigma delta (ΣΔ) ADCs. ΣΔ modulation is a variation of delta (Δ) modulation: the basic form of the two forms of modulation, as applied to a single stage in an ADC, is shown in
It is known, for example from the Adamo paper referenced above, to minimise the energy of harmonics in the ADC output signal corresponding to a sine wave ADC input. It is also known to use iteratively the inverses of polynomials. However, these methods require precise knowledge of the input frequency which also needs to fall on the grid of fast Fourier transform (FFT) frequencies corresponding to the sine wave input.
There is thus an ongoing requirement for a linearization method which does not suffer to the same extent from these requirements.
It is an object of the present invention to provide a method for linearization of an ADC which does not suffer, to the same extent, from the above disadvantages.
According to the present invention there is provided a method of compensating the output of an ADC for non-linearity in the response of the ADC, the method comprising converting an analog input signal to uncorrected digital ADC output samples applying a vector of correction factors to each of a block of uncorrected ADC output samples, to provide a block of corrected ADC samples, and iteratively minimizing a measure of the spectral flatness of the block of corrected ADC samples with respect to the vector of correction variables.
Preferably the analog signal comprises a plurality of frequencies.
Advantageously the ADC is a ΣΔ ADC comprising a quantizer and ADC which together form a loop filter. Preferably the step of iteratively minimizing the spectral flatness of the block of corrected ADC samples with respect to the vector of correction variables comprises: estimating a mismatch function V of the quantizer and a mismatch function W of the DAC, estimating the impulse response h of the loop filter determining a first impulse response f and a second impulse response g, wherein f and g follow the follow relationships:
f(k)=δ(k)−Σi=1Ph(i)f(k−i),
g(k)=Σi=1Ph(i)f(k−i).
wherein δ is the Kronecker −Δ function, and iteratively subtracting a correction sample e from the uncorrected ADC output samples, wherein e obeys the relationship
wherein * denotes the convolution of two functions.
Preferably, the measure of spectral flatness is the spectral flatness) λ() of a spectrum {right arrow over (Z)} according to:
Alternatively, the measure of spectral flatness may be given by a generalised spectral flatness of the spectrum {right arrow over (Z)} (with p<q):
Preferably the compensation is applied over a frequency range of at least minus 200 MHz to 200 MHz. Linearization over such a wide range of frequency is particularly difficult using conventional methods.
More preferably still the compensation is applied over a frequency range of approximately or exactly 0 Hz to approximately or exactly 20 MHz. Application of the method over a frequency range of this order makes the method particularly suitable for wideband receiver applications.
These and other aspects of the invention will be apparent from, and elucidated with reference to, the embodiments described hereinafter.
Embodiments of the invention will be described, by way of example only, with reference to the drawings, in which
It should be noted that the Figures are diagrammatic and not drawn to scale. Relative dimensions and proportions of parts of these Figures have been shown exaggerated or reduced in size, for the sake of clarity and convenience in the drawings. The same reference signs are generally used to refer to corresponding or similar feature in modified and different embodiments
The ADC output signal during a training phase has a finite length; that during the operational phase has a semi-infinite length. For a block of samples of the signal x(k), k=0, 1, . . . , the vector notation {right arrow over (x)}=(x0, x1, . . . , xN−1) will be used. The corresponding fast Fourier transform (FFT) spectrum is denoted {right arrow over (X)}=(X0, X1, . . . , XN−1). δ(k) is the Kronecker delta function, such that δ(k)=0, except for δ(0)=1.
We assume that the impulse response h(k) of the ΣΔ-loop filter satisfies h(k)=0 for k=0, −1, . . . due to causality and a minimal one unit delay in the loop. Truncate the estimate of h to at most P non-zero (complex) samples, such that
h(k)=0 for k=P+1, P+2 . . . .
The transfer function of the loop is denoted H=FFTN(h).
In
We now let y(k) represent the integer samples produced by the L-level quantizer in response to the test signal during the training phase. That is to say: ykεS={0, 1, . . . , S−1}. Indicator signals i(s)(k), sεS, are defined as follows.
i(s)(k)=1 if yk=s, and 0 otherwise (1)
A weighted sum of the indicator signals i(s)(k) equals y(k),
After point-wise multiplication “o” with e.g. a Blackman window w(k), the FFTs of the indicator signals are computed,
{right arrow over (I)}(s)=FFTN({right arrow over (w)}o{right arrow over (i)}(s)). (3)
The linearity of the FFT as applied to Equation (2) yields that
The quantization noise if the quantizer had been ideal is denoted n(k), see
From
f(k)=δ(k)−Σi=1Ph(i)f(k−i),
gk+1=Σi=1Phifk−i.
before they reach the quantizer output of the ΣΔ-loop, respectively.
In the frequency domain, the corresponding transfer functions are
F(f)=1/(H(f)+1),G(f)=H(f)F(f),
respectively. Note that for moderate loop gains, we cannot approximate F(f)≈1, G(f)≈0.
Now, Equation (5) implies that the total ADC output error spectrum equals
where D(f) is the Fourier transform of a unit delay function,
D(f)=ej2πf/N, f=0, 1, . . . , N−1.
The right hand side of the Equation (7) can be interpreted as a vector-matrix product of a vector of length L with a L×N-matrix whose rows consist of the vectors I(s).
As our sources of nonlinearity are filtered, both static and dynamic nonlinearities can occur. Subtraction of the error spectrum {right arrow over (E)} from the ADC output spectrum {right arrow over (Y)} yields the spectrum of the linearized signal, ={right arrow over (Y)}−{right arrow over (E)}.
Due to IC process spread, the impulse response h of the loop filter varies from chip to chip, and, in general, needs to be estimated. Other variables that need to be estimated during the training phase are the values of the functions V and W. They can be viewed as tables with S entries each. Once V, W, and h are known, f and g follow from Equation (6).
For moderate degrees of nonlinearity of the operational amplifier (opamp) that subtracts the ADC input signal from the DAC output signal in a ΣΔ-loop, computer simulations show that they can be corrected for implicitly, by letting them impact the estimates of mismatch function values V, W of the quantizer and DAC.
The spectrum flatness (measure) (SF) λ({right arrow over (Z)}) of the spectrum {right arrow over (Z)} is defined as [10]
In general, 0≦λ≦1, where λ=1 occurs only for signals with a perfectly white spectrum. Small λ's correspond to estimates |{circumflex over (Z)}i|2, i=0, 1, . . . , N−1 of the power spectral density (PDS) with all energy concentrated in a small number of spectral peaks. When in Equation (8) a small constant ε, ε>0, (e.g. a noise variance) is added to the PSD, only logarithms of positive values occur. Averaging power spectra of blocks makes the estimate of the PSD more accurate.
Important for this embodiment of the invention is to iteratively minimise the spectral flatness SF of a block of corrected ADC output samples over the correction variables. It is noted that in order to carry this out, quantitative knowledge about the ADC input sample is not required.
Incremental (or multiplicative) steps in the correction variables yield new corrected versions of the block of ADC output samples. The search follows the steps that lower the SF-value and discards others. In case of gradient-descent minimization, the gradient can be evaluated numerically. Too large steps along the gradient vector increase the SF.
During the operational phase of the linearization method we subtract the correction samples
from the ADC output samples y(k) to obtain the corrected samples z(k)=y(k)−e(k), where “a”(k)*“b”(k) denotes convolution of the functions k→“a”(k) and k→“b”(k).
In an alternative embodiment of the invention, a generalised spectral flatness measure (GSF) is implemented rather than the SF described above.
A Generalized Spectral Flatness Function is a function of a power) spectrum, typically a power spectrum, that takes on its maximal value for a spectrally flat input signal, and takes on its minimal value, or values close to its minimal value, for input signals that are maximally peaked. A GSF will have a monotonic behaviour in between these two extrema. Hence, if a signal's spectrum gets to have either fewer peaks or larger peaks, the GSF decreases as the spectrum has larger deviation from a flat spectral shape.
A ratio of two functions, in which, as the spectrum becomes more peaked, the denominator increases relatively stronger than the nominator provides a measure of the “flatness” of the spectrum. For instance, a ratio (with p<q)
is invariant to scaling of the spectrum. Dividing by a mean—that is to say, setting p=1 in equation 11, such that the numerator denotes the mean—and a root mean square value, that is to say, setting q=2 in equation 11, such that the denominator denotes the root mean square, minimizes the number of multiplications and their numerical range.
In order to demonstrate the effectivity of the method, it has been applied by means of computer simulations, as follows. Gaussian mismatch values were introduced in the quantizer and DACs inside a wide band FM ADC. The standard deviations were equal to 5% and 1% of the difference between the levels of the 16-level quantizer and DAC, respectively. Both ADC stages were simulated. The search procedure also optimized the noise cancellation filter. Moderate third order nonlinearities were introduced in the opamps that subtract the ADC input signals from the DAC output signals. Thermal noise was modelled by the addition of Gaussian noise to the ADC input signals.
The training and operational ADC input signal consisted of five and four carrier signals respectively. Given the short time that was simulated (0.3 ms), FM modulation of these carriers by audio signals had not made a difference. For the sake of brevity, the input signals are not shown.
The correction parameters were varied so as to minimize the GSF, as given by Equation (11) with p=1, q=2, of the training signal shown in
The main computational complexity of the method is in the (implicit) vector-matrix product in Equation (7) inside the search loop. Due to the over-sampling in the ADC, the FFT spectra originally have a frequency range of −218.4 MHz to +218.4 MHz, whereas for the evaluation of the GSF, only a “payload” frequency range of 0 Hz to 20 MHz is needed. Hence, in this embodiment of the invention, the original width N of the matrix in the vector-matrix product can be drastically reduced.
In summary, then, the method described above according to embodiments of the invention comprises minimising the spectral flatness of the corrected ADC output signal, over a vector of parameters of a post processing unit. The method implicitly minimises the energy in spurious components due to mismatch of multi-level quantizers and DACs and moderate operational amplifier non-linearities in ΣΔ ADCs.
Although the method has been described above in relation to a ΣΔ ADC, it should be noted that the invention is not limited thereto. In particular, the method according to the invention may be used with other ADCs, including, but not limited to, oversampled ADCs and Nyquist rate converters.
From reading the present disclosure, other variations and modifications will be apparent to the skilled person. Such variations and modifications may involve equivalent and other features which are already known in the art of ADCs and which may be used instead of, or in addition to, features already described herein.
Although the appended claims are directed to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel feature or any novel combination of features disclosed herein either explicitly or implicitly or any generalisation thereof, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention.
Features which are described in the context of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination.
The applicant hereby gives notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.
For the sake of completeness it is also stated that the term “comprising” does not exclude other elements or steps, the term “a” or “an” does not exclude a plurality, a single processor or other unit may fulfil the functions of several means recited in the claims and reference signs in the claims shall not be construed as limiting the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
08104889 | Jul 2008 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2009/053273 | 7/28/2009 | WO | 00 | 1/25/2011 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2010/013196 | 2/4/2010 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6229467 | Eklund et al. | May 2001 | B1 |
6271781 | Pellon | Aug 2001 | B1 |
6445319 | Bugeja | Sep 2002 | B1 |
7129879 | Glibbery | Oct 2006 | B1 |
7330141 | Temerinac et al. | Feb 2008 | B2 |
20050156766 | Melanson | Jul 2005 | A1 |
20050219089 | Batruni | Oct 2005 | A1 |
Number | Date | Country |
---|---|---|
1 359 567 | Nov 2003 | EP |
1 447 913 | Aug 2004 | EP |
2007113735 | Oct 2007 | WO |
Entry |
---|
Stenbakken, G. et al. “Linear Error Modeling of Analog and Mixed-Signal Devices,” Proc. of the Int'l. Test Conference, Nashville, TN, IEEE US, pp. 573-81 (1991). |
Chou, W. et al. “Modulo Sigma-Delta Modulation,” IEEE Trans. on Communications, vol. 40, No. 8, pp. 1388-1395 (Aug. 1992). |
Sousa, M. et al. “Performance Analysis for Innovations-Based Detection,” The Institution of Electrical Engineers, Stevenage, GB, pp. V-361 to V-364 (1992). |
Adamo, F. et al. “A/D Converters Nonlinearity Measurement and Correction by Frequency Analysis and Dither,” IEEE Trans. on Instrumentation and Measurement, vol. 52, No. 4, pp. 1200-1205 (Aug. 2003). |
Hong, H-C., “A Design-for-Digital-Testability for Circuit Structure for Σ-Δ Modulators,” IEEE Trans. on Very Large Scale Integration (VLSI) Systems, 10 pgs. (2007). |
International Search Report and Written Opinion for Int'l. Patent Appln. No. PCT/IB2009/053273 (Feb. 19, 2010). |
Number | Date | Country | |
---|---|---|---|
20110122005 A1 | May 2011 | US |