BACKGROUND
An efficient way of providing very high sample rates, rates that cannot be provided by a single Analog-to-Digital Converter (ADC), is to use a parallel connection of slower ADCs operating in a time-interleaved fashion. Such a so-called M-channel time-interleaved ADC (MCTIADC) comprises M ADCs, each operating at a sample rate that is 1/M of the overall system sample rate. In the absence of any impairments or mismatch errors between the ADCs, i.e., assuming all the ADCs are either ideal or have exactly the same characteristics, the output samples appear at equally spaced intervals in a manner that creates a seamless image of a single ADC operating at the system sample frequency.
In practice, however, there are component mismatches between the different ADCs that severely degrade the performance of an MCTIADC system. The commonly occurring mismatches are offset, gain and sample instants. In other words, the offsets and gains of all the ADCs are not the same and the ADCs do not sample at uniform sample instants of the system sample frequency. These mismatches give rise to unnecessary frequency tones or spurs in the spectrum of the signal that significantly reduce the performance of the MCTIADC system.
A typical variation of Signal-to-Noise ratio (SNR) is shown in FIG. 1 wherein a tone is swept from a low frequency to almost half the sample rate of a simulated MCTIADC system for various mismatch errors. As can be seen from the figure, the performance of the four-channel ADC is severely hampered due to these errors. Hence, it becomes imperative to estimate and correct these errors to improve the performance of the MCTIADC system.
SUMMARY
An extra ADC, called the reference ADC, can be used to minimize the effects of offset, gain and sample-time mismatches in an MCTIADC by appropriately estimating and correcting these errors in an adaptive manner. In addition, the adaptive method can be used in a blind mode wherein the use of any particular calibration signal is circumvented. In other words, the input signal itself serves as the calibrating signal to estimate and correct the mismatch errors.
More particularly, in a preferred embodiment, the estimation and correction of offset, gain and timing errors in an M-channel time-interleaved Analog-to-Digital Converter (MCTIADC) is accomplished by using an extra ADC used as a reference ADC. For practical purposes in this embodiment it is assumed that the wordlength of the extra ADC is less than or equal to that of the ADCs in the MCTIADC system.
The concept is based on the model shown in FIG. 2. There are M ADCs, each operating at 1/Mth the sample rate of the MCTIADC system sample frequency. There is a single reference ADC (ADCr) with a wordlength equal to (R≦N) where N is the wordlength of the ADCs in the MCTIADC. The input to any ADCk, where k=1, 2, . . . , M, that is being calibrated is also connected to ADCr. In this way, the estimation and correction of the impairments of ADCk is performed with respect to the impairments of ADCr.
In order to obtain the offset error in each ADCk, the signal that passes through ADCk is also passed through ADCr. A total of No samples is averaged (or summed) from the outputs of both ADCk and ADCr. Call the sum or average of the signals from ADCk as Xk and the sum or average of the signals from ADCr as Xr. The sign of the offset error, i.e., sign (Xr−Xk), is used to drive an adaptive algorithm to minimize this error such that the offset value of ADCk is as close to that of ADCr. This procedure is repeated for each k where k=1, 2, . . . , M. Thus, the offset errors in all the ADCs in the MCTIADC system will be minimized with respect to that of ADCr.
For estimating the gain error in each ADCk, the same configuration as mentioned above is adopted. The outputs of both ADCk and ADCr are squared and an average (or sum) of Ng samples is obtained. Let the sum or average of the squared values of the signals from ADCk be Yk and that from ADCr be Yr. The sign of the gain error, i.e., sign (Yr−Yk), is used to drive an adaptive algorithm to minimize this error such that the gain of ADCk is as close to that of ADCr. This procedure is repeated for each k where k=1, 2, . . . , M. Thus, the gain errors in all the ADCs in the MCTIADC system will be minimized with respect to the gain error of ADCr.
In order to obtain the sample-time error in each ADCk, a correlation between the outputs from ADCk and ADCr over Np samples is first obtained. An adaptive algorithm based on the slope of this correlation is then used to drive the sampling error between ADCr and ADCk to a minimum. Again, this procedure is repeated for each k where k=1, 2, . . . , M. Thus, the sample-time errors in all the ADCs in the MCTIADC system will be minimized with respect to the sample-time error of ADCr.
BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing will be apparent from the following more particular description of example embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating embodiments of the present invention.
FIG. 1 illustrates Signal to Noise Ratio (SNR) variation with input frequency of a typical prior art four-channel Time-Interleaved Analog-to-Digital Converter for various mismatch errors.
FIG. 2 is a block diagram level model of M-channel Time-interleaved ADC using an extra ADC as reference according to one embodiment.
FIG. 3 illustrates a spectrum of a single tone signal with offset mismatch error before correction in a four-channel time-interleaved ADC.
FIG. 4A is a schematic illustrating how an offset error is estimated.
FIG. 4B is a schematic representing the recursive structure for effecting the offset correction.
FIG. 5 illustrates a spectrum of a single tone signal with offset mismatch error after correction in a four-channel time-interleaved ADC.
FIG. 6 illustrates a spectrum of a single tone signal with gain mismatch error before correction in a four-channel time-interleaved ADC.
FIG. 7A is a schematic illustrating how gain error is estimated.
FIG. 7B is a schematic representing the recursive structure for effecting the gain correction.
FIG. 8 illustrates a spectrum of a single tone signal with gain mismatch error after correction in a four-channel time-interleaved ADC.
FIG. 9 illustrates a spectrum of a single tone signal with phase mismatch error before correction in a four-channel time-interleaved ADC.
FIG. 10A is a schematic illustrating how phase error is estimated.
FIG. 10B is a schematic representing the recursive structure for effecting the phase correction.
FIG. 11 illustrates a spectrum of a single tone signal with phase mismatch error after correction in a four-channel time-interleaved ADC.
FIG. 12 illustrates a spectrum of a single tone signal with offset, gain and phase mismatch errors before correction in a four-channel time-interleaved ADC.
FIG. 13 illustrates a spectrum of a single tone signal with offset, gain and phase mismatch error after correction in a four-channel time-interleaved ADC.
FIG. 14 illustrates a spectrum of a wide-band signal with offset, gain and phase mismatch errors before correction in a four-channel time-interleaved ADC.
FIG. 15 illustrates a spectrum of a wide-band signal with offset, gain and phase mismatch error after correction in a four-channel time-interleaved ADC
FIG. 16 is a high level diagram of a digital receiver that may use the ADC System.
DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT
A description of example embodiments follows. While the invention is defined solely by the claims presented at the end of this document and therefore may be susceptible to embodiment in different forms, there is shown in the drawings, and will be described herein in detail, one or more specific embodiments, with the understanding that the present disclosure is to be considered but one exemplification of the principles of the invention. It is also to be understood that there is no intent to limit the invention to that which is specifically illustrated and described herein. Therefore, any references to the “invention” which may occur in this document are to be interpreted only as a reference to one particular example embodiment of but one aspect of the invention(s) claimed.
In preferred embodiments, estimation and correction of offset, gain and/or sample is timing or phase mismatch errors is provided in an M-channel Time-Interleaved Analog-to-Digital (MCTIADC) system. Here, the estimation is done in the digital domain while the correction is performed in the analog domain. The various errors are estimated by performing signal processing operations on the outputs of all the ADCs, including a reference ADC, viz., ADCr, while corresponding correction values are communicated to all the ADCs through Digital-to-Analog Converters (DACs). The DACs provide appropriate voltages or currents and control either directly or indirectly the correction of each of the ADCs for the different mismatch errors.
FIG. 2 shows a high level schematic of an MCTIADC system 100 wherein each “main” ADC 102-1, 102-2, . . . , 102-M is operating at FS/M sampling rate and clocked at the appropriate phase Φ. The different phases applied to the different ADCs depend on the number, M, of ADCs 102. In a preferred implementation the increment between phases applied to each ADC is 2π/M. For example, if M=4 and the phase applied to a first ADC 102-1 is Ω, then the phases applied to ADC 102-2, 102-3 and 102-4 respectively are Ω+90, Ω+180, and Ω+270 degrees.
The clocking operation is controlled by a distributor circuit 104 which cycles the input signal x(t) through all the ADCs 102 in the MCTIADC system. The input to a chosen one of the “main” ADCs 102, say ADCk, (102-k) is also input to the “reference” ADC 102-r, i.e, ADCr. The outputs from ADCk 102-k and ADCr 102-r are used to estimate and correct offset, gain and sample-time mismatches of ADCk. The commutator 108 operates at the sample rate FS and cycles through the output of every ADC 102-1, 102-2, . . . 102-k, . . . , 102-M to provide the output y(n) at FS. As can be noted, the commutator 108 performs the opposite function of the distributor 104. Outputs from each ADC 102-1, 102-2, . . . , 102-k, . . . , 102-M, as well as the output from the reference ADC 102-r, are input to a digital signal processor (DSP) 110 in an appropriate manner. The DSP 110 performs the estimation of all the errors and provides signals corresponding to offset, is gain, and phase correction, represented by, Ok, Gk, and Pk that are then fed, respectively, to all the ADCs 102-1, 102-2, . . . , 102-k, . . . , 102-M. These correction values are forwarded to the ADCs though a set of digital to analog connectors (DACs) 112. Below we will describe the estimation of offset, gain, and phase mismatch errors by the DSP 110 using the outputs of each ADC, in conjunction with the output of the reference ADC, and their correction using adaptive algorithms that are performed within the DSP. There is typically a DAC 112 associated with each of the Ok, Gk and Pk correction inputs, for k=1 to m (e.g., there are typically 3 times M DACs 112 in total).
Offset Correction
Due to the different offset values of the ADCs 102, offset spurs show up at kFS/M frequencies. FIG. 3 shows the spectrum resulting from a simulation of a 110 MHz tone in a four-channel time-interleaved ADC system sampling at 1 GHz where the offset spurs appear at DC, 250 MHz and 500 MHz. As mentioned earlier, the offset spurs occur at multiples of the sample frequency of each ADC, i.e., multiples of 250 MHz, in this case. In order to minimize the amplitude of these spurs, the offsets of each ADC must be determined. The process involved in obtaining the offset mismatch error of each ADC is as follows. The input to a selected ADCk is also input to the reference ADC 102-r, i.e., ADCr. The output from both these ADCs (102-k, 102-r) will be different due to different offsets of these two ADCs. At this point it must be mentioned that it is not necessary to reduce the offsets of all the ADCs 102 in the MCTIADC system to zero. It is only important to minimize the difference between the offset of each ADC 102-1, 102-2, . . . , 102-M in the MCTIADC system with respect to the offset of the reference ADC 102-r. In this way, all the ADCs will approximately have the same offset after correction.
Please note that the following discussion details how the various correction values are derived, and uses the pronoun “we” as is typical in discussing mathematical derivations in the plural first person. However, the use of the pronoun “we” herein is not meant to imply that there is more than one inventor of this particular patent.
Towards estimating the offset error of each ADC, we define the average value of the output of ADCk as
where xk(n) represents the samples from ADCk, and No is the number of samples collected to obtain the average Xk and k=1, 2, . . . M. The signal input to ADCk is also input to ADCr and consequently we define the average value of the output of ADCr as
We define an offset error for ADCk as
E
k
offset
=X
r
−X
k (3)
for k=1, 2, . . . M.
Such an offset error may be estimated by the circuit shown in FIG. 4A. A selector 120 chooses which one of the M ADC outputs is ADCk at any point in time. The selected ADCk is then subtracted 122 from ADCr 102-r to obtain a difference. The difference is then accumulated by summer 124 and delay 126 over No samples to obtain Ekoffset. The accumulation is then reset by other circuitry (not shown) to obtain the next estimate of Ekoffset.
It should be noted that the division by No operation specified in the above equations and not shown in FIG. 4A is not necessary. This is because, as will be understood, it is really only the sign of the result that is used for the correction.
We now provide an adaptive algorithm to correct the offset error in each ADCk based on Ekoffset, for k=1, 2, . . . M. One implementation of the algorithm is shown in FIG. 4B.
By way of introduction, let ODACk be the DAC 112-O-k (FIG. 2) that provides the offset correction to ADCk. Let RO be the range of ODACk. For example, for an 8-bit ODACk, RO=28=256. A step size that controls the convergence of the adaptive algorithm is denoted by μki for ADCk at the ith iteration. The value of μki is constrained to be in the range [μkoffsetmin, μkoffsetmax]. Let Oki be the value input to the ODACk. For example, for an 8-bit ODACk, the values of Oki can vary between [−128, 127] or between [0, 255]. The constant Obias is a value that allows the correction to be done with respect to a certain bias. For instance, Obias=RO/2=128 when the input to the ODACk lies in the range [0, 255]. On the other hand when the range of the ODACk input values is in [−128, 127], Obias can assume a value of zero. Let aki denote a variable that provides correction to the ODACk input Oki associated with ADCk at the ith iteration. We can now write the adaptive algorithm for offset correction as
where ak0=0, μk0=μkoffsetmax, and rk is any arbitrary positive number. The convergence can be controlled by μki by changing its value at every rkth iteration.
In FIG. 4B, a schematic for adaptive algorithm performing offset correction is depicted. The sign 401 of each Ekoffset is multiplied 402 by the adaptation step-size and accumulated by summer 404 and delay 405. The accumulated value in each iteration is rounded 406 to the nearest integer value and added 408 to the offset bias, Obias, to provide the offset correction value Oki to the ODACk. The output from ODACk 112-o-k directly or indirectly controls the offset setting on ADCk, as depicted in FIG. 2. Such an adaptive process converges to an optimal value that minimizes the offset in ADCk with respect to that in ADCr.
FIG. 5 shows the spectrum of the simulated tone mentioned in FIG. 3 after correction. As can be seen from the figure, the offset spurs at 250 MHz and 500 MHz are significantly reduced. In this simulation, it must be mentioned that the word length of each ADCk is 14 bits while that of ADCr is 10 bits.
Gain Correction
Gain differences in the ADCs 102-1, 102-2, . . . , 102-k, . . . , 102-M produce gain spurs at +Fin+kFS/M frequencies, where Fin, is the set of input frequencies and k=1, 2, . . . , M. FIG. 6 shows the simulated spectrum of a simulated 110 MHz tone in a four-channel time-interleaved ADC sampling at 1 GHz where the gain spurs appear at 140 MHz, 360 MHz and 390 MHz. In order to minimize the amplitude of these spurs, the power of the signals from each ADC 102-1, 102-2, . . . , 102-k, . . . , 102-M must be determined and compared with that of the reference ADC. Again, as in the case of the offset mismatch estimation, the input to ADCk is also passed through ADCr. The output from both these ADCs will be different due to differences in the gain of the two ADCs (ADCk and ADCr). In the process of minimizing the difference in the gains between the different ADCs, we compare the gain of each ADCk with that of ADC, and use an adaptive algorithm to minimize the difference. In this way, all the ADCs will eventually be adjusted to have approximately the same gain.
Towards minimizing the difference in gains of all the ADCs, we define
where xk(n) represents the samples from ADCk, Ng is the number of samples collected to obtain Yk, and k=1, 2, . . . M. Since the same input is passed through ADCr, we define
We now define a gain error for each ADCk as
E
k
gain
=Y
r
−Y
k (9)
for k=1, 2, . . . M.
Below we outline an adaptive algorithm to correct the gain error in each ADCk based on Ekgain, for k=1, 2, . . . M.
A flow diagram of one implementation to determine Ekgain is shown in FIG. 7A. This implementation takes advantage of the fact that the difference of the sum of the squares as specified by equations (7)(8) and (9) can be determined by taking the squares first and then the difference. Selector 140 chooses one of the ADC outputs as ADCk which is then squared 142. The output of ADCk is then squared at 144. The difference of the squares is determined by subtractor 146 and then accumulated by summer 147 and delay 148. The accumulated output provides Ekgain. As for the gain determination, the division by Ng is not necessary in this implementation since only the sign of the result is used for the correction.
Once the gain error has been determined, the next step is to determine an amount of the correction. Referring back to FIG. 2, let GDACk be the DAC 112-G-k that provides the gain correction to ADCk. Let RG be the range of the GDACk. A step size that controls the convergence of the adaptive algorithm associated with gain correction is denoted by vki for ADCk at the ith iteration. The value of vki lies in the range [vkoffsetmin, vkoffsetmax]. Let Gki be the value input to the GDACk. Again, the values of Gki can vary between [−128, 127] or between [0, 255] if RG=256. The constant Gbias is a value that allows the correction to be done with respect to a certain bias. For the case when Gbias=RG/2=128, the input to the GDACk lies in the range [0, 255]. On the other hand, when the range of the GDACk input values is in [−128, 127], Gbias=0. Let βki denote a variable that provides correction to the GDACk input Gki associated with ADCk at the ith iteration. We can now write the adaptive algorithm for gain correction as
where βk0=0, vk0=vkgainmax, and sk is any arbitrary positive number. The convergence can be controlled by vki by changing its value at every skth iteration.
In FIG. 7B, a schematic for an adaptive algorithm to perform the gain correction is shown. The sign 700 of each Ekgain is multiplied 702 by the adaptation step-size and accumulated 704, 706. The accumulated value in each iteration is rounded 708 to the nearest integer value and added 710 to the gain bias, Gbias, to provide the gain correction value to GDACk 112-G-k. The output of GDACk directly or indirectly controls the gain setting on the selected ADCk. The above adaptive process converges to an optimal value that minimizes the gain error in each ADCk.
FIG. 8 shows the spectrum of the simulated tone mentioned in FIG. 6 after gain mismatch correction. As can be seen from the figure, the gain spurs at 140 MHz, 360 MHz and 390 MHz have been minimized. Just as in the simulation for offset mismatch estimation and correction, the wordlength of each ADCk is 14 bits while that of ADC, is 10 bits.
Phase Correction
Since all the ADCs 102-1, 102-2, . . . , 102-k, . . . , 102-M do not have uniform sample instants in reference to the sampling frequency of the MCTIADC, timing or phase spurs show up at the same frequencies as those due to gain errors. The one difference is that gain spurs are orthogonal to the phase spurs. Additionally, as can be seen from FIG. 1, the spur is dependent on the frequency of the input signal. FIG. 9 shows the simulation spectrum of a 110 MHz tone in a four-channel time-interleaved ADC sampling at 1 GHz with phase spurs. As can be seen, the phase spurs occur at the same frequencies as those shown in FIG. 6. In order to minimize the amplitude of these spurs, the phase of each ADCk 102-1, 102-2, . . . , 102-k, . . . , 102-M is compared with the phase of ADCr 102-r and the difference is minimized. As in the case of offset and gain, the input to a selected ADCk is also input to the reference ADC, i.e., ADCr. The concept of minimizing the difference in the sample timings of these two ADCs will be explained below.
Let us define
where Np is the number of samples collected to obtain the average Zk, and k=1, 2, . . . M. It is observed that the variation of Zk with phase follows a quadratic curve. Consequently, the minimum of Zk is obtained as the minimum of the quadratic curve. Towards this end, we define a phase error for ADCk as
which is obtained by differentiating Zk from Eqn. (13).
FIG. 10A is a flow diagram illustrating how the phase error can be determined in one implementation. The ADCk output by selector 170 is subtracted from ADCr at 172. ADCk is also fed to delay 174 and subtractor 176. The outputs of subtractor 176 and difference 172 are multiplied by each other and then accumulated by summer 178 and delay 179. The result provides Ekphase. As with the offset and gain error measurement, only the sign of the result will be used, so division by Np is not necessary in the practical embodiment shown.
We now provide an adaptive algorithm to correct the phase error in each ADCk based on the determined Ekphase, for k=1, 2, . . . M.
Let PDACk be the DAC 112-P-k that provides the timing or phase correction to ADCk. Let RP be the range of the PDACk. A step size that controls the convergence of the adaptive algorithm associated with phase correction is denoted by ξki for ADCk at the ith iteration. The value of ξki is constrained to be in the range [ξkphasemin, ξkphasemax]. Let Pki be the value input to the PDACk. The values of Pki can vary between [−128, 127] or between [0, 255] if RP=256. The constant Pbias is a value that allows the correction to be done with respect to a certain bias. For the case when Pbias=RP/2=128, the input to the PDACk lies in the range [0, 255]. On the other hand, when the range of the PDACk input values is in [−128, 127], Pbias=0. Let γki denote a variable that provides correction to the PDACk input Pki associated with ADCk at the ith iteration. We can now write the adaptive algorithm for phase correction as
where γk0=0, ξk0=ξkphasemax, and tk is any arbitrary positive number. The convergence of the adaptive algorithm is controlled ξki by changing its value at every tkth iteration.
In FIG. 10B, a schematic for adaptive algorithm performing phase correction is shown. The sign 1000 of each Ekphase is multiplied 1001 by the adaptation step-size and accumulated (1002, 1004). The accumulated value in each iteration is rounded 1006 to the nearest integer value and added 1010 to the phase bias, Pbias, to provide the phase correction value to PDACk 112-P-K. The output from PDACk directly or indirectly controls the phase setting on ADCk.
FIG. 11 shows the simulated spectrum of the tone mentioned in FIG. 9 after phase correction. As can be seen from the figure, the phase spurs at 140 MHz, 360 MHz and 390 MHz have been minimized. Again, the word length of each ADCk is 14 bits while that of ADCr is 10 bits.
So far we have described the adaptive algorithms pertaining to specific mismatch errors. In the presence of all the mismatches, viz., offset, gain and phase mismatches, the adaptive algorithms are either run in a round-robin manner, starting with offset, then gain and then phase, for each ADCk or in a parallel fashion where all the mismatches are estimated and corrected simultaneously, or some sort of hybrid approach, where all of the adjustments for a given ADCk are determined and corrected simultaneously, or all m offsets, then gain, then phase are determined simultaneously, etc.
FIG. 12 shows the spectrum of a simulated tone with all the mismatch errors while FIG. 13 shows the spectrum after all mismatch errors have been minimized. As can be seen from the figure, the offset spurs at 250 MHz and 500 MHz, as well as gain and phase spurs at 140 MHz, 360 MHz and 390 MHz have been minimized.
The adaptive algorithms described thus far have shown to work for the case when the input is a single tone. It can be shown that the same set of algorithms will work for the case when the input signal is a wide-band. FIG. 14 shows the spectrum of a simulated wide-band signal comprised of many sinusoids in presence of offset, gain and phase mismatch errors In this simulation, we have chosen a signal with 100 tones between zero and FS/8 and another 100 tones between 3FS/8 to FS/2 so as to visualize the offset, gain and phase mismatch spurs populating the spectrum between FS/8 to 3FS/8. It can be seen from FIG. 15 that mismatch spurs have been significantly minimized.
High sample rate, time interleaved ADCs such as that described above can find application in many different types of systems. One such application is in a digital radio receiver. Such receivers have historically used analog tuner devices to demodulate a small portion of the input signal spectrum down to a low frequency. Relatively speaking, the tuner output has a low center frequency and low total bandwidth, thus allowing a low speed analog-to-digital converter to be used to digitize the data. Using high speed ADC systems 100, the total bandwidth can be increased while retaining the flexibility of digital systems.
One particular use of the ADC system 100 is to implement a digital radio receiver as generally shown in FIG. 16. A radio frequency (RF) signal is fed to a radio frequency RF amplifier 504. In a wireless application, the RF signal may be received from an antenna 502; in other applications such as a cable modem, it may be received via a wire. The amplified RF signal is then fed to an RF translator 506 to down-convert the amplified RF signal to an intermediate frequency (IF). After the RF translator 506 (which may be optional) the ADC 510 (which may be implemented as the ADC system 100 described above) is then used to digitize the RF input into digital samples for subsequent processing. A digital local oscillator 511 may operate digital mixers 512-i and 512-q to provide for in phase and quadrature samples thereof. A digital low pass filter 520 limits the frequency content of resulting signal to the desired bandwidth. A demodulator 530 then recovers the original modulated signal from the same using. One or more of the operations of the digital local oscillator 511, mixers 512, low pass filter 520 and/or demodulator 530 may be implemented in a digital signal processor (DSP) 550. The recovered signal may then be further processed converted back to an analog baseband signal or the like, depending on the specific end use for the digital receiver.
While this invention has been particularly shown and described with references to example embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.