The invention relates generally to data converters and, more particularly, to continuous-time (CT) sigma-delta modulators (SDMs) or sigma-delta analog-to-digital converters (ADCs).
Referring to
In operation, DT SDM 100 converts the analog input signal AIN to digital output signal DOUT. To accomplish this, a sample of the analog input signal AIN is provided to stage 104-1 (by S/H circuit 102), where the sample is converted to digital using conventional sigma-delta modulation. The same sample is provided to delay 108 so as to provide stage 104-1 with sufficient time to perform the data conversion. The difference analog representation of the data conversion (from DAC 128-1) and the sampled analog input signal AIN (from delay 108) or residue is determined by summing circuit 110. This residue is amplified and filtered by amplifiers 112 and 114 and analog LPF 113 and provided to stage 104-2. Stage 104-2 can then convert the residue to digital using conventional sigma-delta modulation. The digital output circuit 106 then generates the digital output signal DOUT based the output from each pipeline 104-1 and 104-2.
This architecture, however, is incompatible with CT sigma-delta modulation. With DT sigma-delta modulation, the input to the stages (i.e., stages 104-1 and 104-2) is constant during conversion because the S/H circuit 102 holds the sampled analog input signal AIN. In contrast, an input to stages of a pipeline would be varying. Looking to DT SDM 100, it specifically employs a delay 108 so that stages 104-1 and 104-2 perform sigma-delta modulation on the same sample. If one were to remove the S/H circuit 102 so as to provide a continuously varying signal (i.e., analog input signal AIN) directly to stage 104-1 and delay 108, DT SDM 100 would not function.
Some other conventional circuits are: U.S. Pat. No. 5,729,230; U.S. Pat. No. 6,788,232; U.S. Pat. No. 7,460,046; U.S. Pat. No. 7,486,214.
A preferred embodiment of the present invention, accordingly, provides an apparatus. The apparatus comprises a first continuous-time (CT) sigma-delta modulator (SDM) that receives an analog input signal; a digital-to-analog converter (DAC) that is coupled to the first CT SDM; a first summing circuit that receives the analog input signal and that is coupled to the DAC, wherein the first summing circuit determines a difference between the analog input signal and an output from the DAC; an amplifier that is coupled to the summing circuit, wherein the amplifier has a first gain, and wherein the amplifier includes a filter; a second CT SDM that is coupled to the amplifier; a digital gain circuit that is coupled to the second CT SDM, wherein the digital gain circuit has a second gain, and wherein the second gain is substantially the inverse of the first gain, and wherein the amplifier, the second CTSDM, and the DAC collectively have a first transfer function; a digital filter that is coupled to the first CT SDM, wherein the digital filter has a second transfer function, wherein the second transfer function substantially matches the first transfer function; and a second summing circuit that is coupled to the digital filter and the digital gain circuit.
In accordance with a preferred embodiment of the present invention, the DAC further comprises a first DAC having a third gain, and wherein the digital filter has a fourth gain, and wherein the second CT SDM further comprises: a third summing circuit that is coupled to the amplifier; an SDM filter that is coupled to the third summing circuit; a quantizer that is coupled to the SDM filter; and a second DAC that is coupled to the quantizer and the third summing circuit, wherein the third summing circuit determines a difference between an output of the amplifier and an output of the second DAC, and wherein the second DAC has a fifth gain, and wherein the ratio of the third gain to the fifth gain is approximately equal to the fourth gain.
In accordance with a preferred embodiment of the present invention, the SDM filter and the quantizer further comprise a first SDM filter and a first quantizer, and wherein the first CT SDM further comprises: a fourth summing circuit that receives the analog input signal; a second SDM filter that is coupled to the fourth summing circuit; a second quantizer that is coupled to the second SDM filter; and a second DAC that is coupled to the second quantizer and the fourth summing circuit, wherein the fourth summing circuit determines a difference between the analog input signal and an output of the second DAC.
In accordance with a preferred embodiment of the present invention, the apparatus further comprises: an analog delay line that receives the analog input signal is coupled to the first summing circuit; and a digital predictor that is coupled between the first CT SDM and the first DAC.
In accordance with a preferred embodiment of the present invention, the apparatus further comprises an analog predictor that receives the analog input signal and that is coupled to the fourth summing circuit.
In accordance with a preferred embodiment of the present invention, the amplifier further comprises a first amplifier, and wherein the apparatus further comprises a second amplifier that is coupled to the first summing circuit and that receives the analog input signal.
In accordance with a preferred embodiment of the present invention, the second amplifier has a third gain, and wherein the third gain is dimensioned to minimize an autocorrelation of an output of the second CT SDM.
In accordance with a preferred embodiment of the present invention, the apparatus further comprises an output circuit that is coupled to the second circuit and that provides a digital output signal.
In accordance with a preferred embodiment of the present invention, an apparatus is provided. The apparatus comprises an input terminal; a first stage of a pipeline including: a first CT SDM that is coupled to the input terminal; and a digital filter that is coupled to the first CT SDM, wherein the digital filter has a first transfer function; a second stage of a pipeline including: a first summing circuit that is coupled to the input terminal, wherein the first summing circuit is adapted to determine a difference; an amplifier that is coupled to the first summing circuit, wherein the amplifier has a first gain, and wherein the amplifier includes a filter; a second CT SDM that is coupled to the first amplifier; and a digital gain circuit that is coupled to the second CT SDM, wherein the digital gain circuit has a second gain that is an inverse of the first gain; a DAC that is coupled between the first CT SDM and the first summing circuit, wherein the amplifier, the DAC, and the second CT SDM collectively have a second transfer function; and a second summing circuit that is coupled to each stage of the pipeline, wherein the first transfer function is adjusted to substantially match the second transfer function.
In accordance with a preferred embodiment of the present invention, the DAC further comprises a first DAC having a third gain, and wherein the digital filter has a fourth gain, and wherein the second CT SDM further comprises: a third summing circuit that is coupled to the amplifier; an SDM filter that is coupled to the third summing circuit; a quantizer that is coupled to the SDM filter; and a second DAC that is coupled to the quantizer and the third summing circuit, wherein the third summing circuit determines a difference between an output of the amplifier and an output of the second DAC, and wherein the second DAC has a fifth gain, and wherein the ratio of the third gain to the fifth gain is approximately equal to the fourth gain.
In accordance with a preferred embodiment of the present invention, the SDM filter and the quantizer further comprise a first SDM filter and a first quantizer, and wherein the first CT SDM further comprises: a fourth summing circuit that receives the analog input signal; a second SDM filter that is coupled to the fourth summing circuit; a second quantizer that is coupled to the second SDM filter; and a second DAC that is coupled to the second quantizer and the fourth summing circuit, wherein the fourth summing circuit determines a difference between the analog input signal and an output of the second DAC.
In accordance with a preferred embodiment of the present invention, the amplifier further comprises a first amplifier, and wherein the apparatus further comprises a second amplifier that is coupled to the first summing circuit and that receives the analog input signal.
In accordance with a preferred embodiment of the present invention, the second amplifier has a third gain, and wherein the third gain is adjusted by the controller to minimize an autocorrelation of an output of the second CT SDM.
In accordance with a preferred embodiment of the present invention, the apparatus further comprises an output circuit that is coupled to the second circuit and that provides a digital output signal.
In accordance with a preferred embodiment of the present invention, an apparatus is provided. The apparatus comprises an input terminal that receives an analog input signal; a first stage of a pipeline including: a first CT SDM including: a first summing circuit that is coupled to the input terminal so as to receive the analog input signal; a first SDM filter that is coupled to the first summing circuit; a first quantizer that is coupled to the first SDM filter; and a first DAC that is coupled to the first quantizer and the first summing circuit, wherein the first summing circuit determines a difference between the analog input signal and an output of the second DAC; and a digital filter that is coupled to the first CT SDM, wherein the digital filter has a first transfer function; a second stage of a pipeline including: a first amplifier that is coupled to the input terminal so as to receive the analog input signal, wherein the first amplifier has a first gain; a second summing circuit that is coupled to the first amplifier, wherein the second summing circuit is adapted to determine a difference; a second amplifier that is coupled to the second summing circuit, wherein the second amplifier has a second gain, wherein the second amplifier includes a filter; a second CT SDM having: a third summing circuit that is coupled to the second amplifier; a second SDM filter that is coupled to the third summing circuit; a second quantizer that is coupled to the second SDM filter; and a second DAC that is coupled to the second quantizer and the third summing circuit, wherein the third summing circuit determines a difference between an output of the second amplifier and an output of the second DAC; and a digital gain circuit that is coupled to the second CT SDM, wherein the third amplifier has a third gain that is an inverse of the second gain; a third DAC that is coupled between the first CT SDM and the second summing circuit, wherein the third DAC, the second CT SDM, and the second amplifier collectively have a second transfer function; a fourth summing circuit that is coupled to each stage of the pipeline, wherein the first transfer function is adjusted to substantially match the second transfer function, and wherein the first gain is adjusted to minimize an autocorrelation of an output of the second CT SDM, and wherein a gain of the digital filter to be approximately equal to a ratio of the gains of the second and third DACs; and an output circuit that is coupled to the fourth summing circuit and that provides a digital output signal.
In accordance with a preferred embodiment of the present invention, a method for calibrating at least a portion of a pipelined continuous-time (CT) sigma-delta modulator (SDM) is provided, The CT SDM includes a first stage, a second stage, and a first digital-to-analog converter (DAC) coupled between the first and second stages, and a digital filter that is coupled to the first and second stages, and wherein the second stage includes a second DAC. The method comprises determining a ratio of a gain of the first DAC to a gain of the second DAC; adjusting a gain of a digital filter to be approximately equal to the ratio of the gain of the first DAC to the gain of the second DAC; and adjusting the digital filter to maximize a cross-correlation between an output of the digital filter and the output of the second stage.
In accordance with a preferred embodiment of the present invention, the method further comprises: disabling the first DAC, wherein the first DAC is located between a first stage and a second stage of the pipelined CT SDM; applying a predetermined input signal to the second stage while the first DAC is disabled; enabling the first DAC; disabling the second DAC within the second stage; and applying the predetermined input signal to the second stage while the using the first DAC as a feedback DAC for the second stage.
In accordance with a preferred embodiment of the present invention, the method further comprises determining a gain of an amplifier located in the second stage that minimizes an autocorrelation of an output of the second stage.
In accordance with a preferred embodiment of the present invention, a method for calibrating at least a portion of a pipelined CT SDM is provided. The method comprises disabling a first DAC, wherein the first DAC is located between the first stage and the second stage of the pipelined CT SDM; applying a predetermined input signal to the second stage while the first DAC is disabled; enabling the first DAC; disabling a second DAC within the second stage; applying the predetermined input signal to the second stage while the using the first DAC as a feedback DAC for the second stage; determining gains of the first and second DACs; and adjusting a gain of a digital filter to be a function of the gains of the first and second DACs.
In accordance with a preferred embodiment of the present invention, the digital filter is coupled to the first and second stages.
In accordance with a preferred embodiment of the present invention, the function is a ratio of the gains of the first and second DACs.
In accordance with a preferred embodiment of the present invention, the method further comprises determining a gain of an amplifier located in the second stage that minimizes an autocorrelation of an output of the second stage.
In accordance with a preferred embodiment of the present invention, the method further comprises adjusting the digital filter to maximize a cross-correlation between an output of the digital filter and the output of the second stage.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and the specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Refer now to the drawings wherein depicted elements are, for the sake of clarity, not necessarily shown to scale and wherein like or similar elements are designated by the same reference numeral through the several views.
Turning to
In order for CT SDM to function, CT SDM 200 is generally calibrated to compensate for system mismatches, but to make any calibrations, the sources of mismatch and error should be identified. Each of DACs 204, 308, and 408 each have gains of g4, g1, and g2, while amplifiers 220 and 210 and digital gain circuit 214 have gains of g3, g5, and g6. Gain g6 can be adjusted to be approximately equal to be the inverse of gain g5 (or g6=1/g5), which generally eliminates the effect of amplifiers 210. Alternatively, the gain g5 can be 1 so as to use the filter incorporated therein. Additionally, each of SDM filters 304 and 306 include a gain of 1/g1 and 1/g2, respectively, to compensate for the gains of their respective DACs 308 and 408, and digital filter 206 has a gain of gF and a transfer function of CF(z). As a result, the output Y1(z) (which is in the frequency domain or z-domain) from CT SDMs 202 is
where, S1(z) is the Signal Transfer Function (STF) and N1(z) is the Noise Transfer Function (NTF) of an equivalent Discrete-Time Sigma Delta Modulator to which the CT SDM 200 is mapped for purposes of analysis using techniques well known to those skilled in the art, Q1(z) is the quantization error of the quantizer and X(z) is the discrete time equivalent of the continuous-time input. This leads to the output Y1,N(z) from digital filter 206 being:
The input R(z) into CT SDM 212 is a combination of the output from amplifier 220 and output Y1(z) yielding:
Now using the same rationale applied to CT SDM 202 (because the structures of CT SDMs 202 and 212 are similar), the output Y2(z) for CT SDM 212 is:
Thus, the output Y(z) of CT SDM 200 should be:
Equation (5) can then be reduced as follows:
Therefore, it can be easily observed that output Y(z) is a combination of the desired output YDES(z), the input phase imbalance YPI(z), and the quantization noise leakage YQNL(z), which are as follows:
Looking first to the quantization noise leakage YQNL(z), this error is related to the gains g4, g2, and gF and transfer functions CF(z) and S2(z). If one were to set the ratio of gains g4 and g2 to be approximately equal to gain gF
then a matching of the transfer functions CF(z) and S2(z) would result in elimination of this quantization noise leakage YQNL(z). Since gain gF and CF(z) transfer function is adjustable (as being part of digital filter 206), adjustment can be based on determinations of the gains g4 and g2 and transfer function.
To determine the gains g4 and g2, DACs 204 and 408 can be selectively deactivated. Initially, a test signal (of any magnitude) can be applied to the CT SDM 200 with DAC 204 in a deactivated state and the gain g3 set to 1 so that the output Y2(z) of CT SDM 212 can be measured. Under these circumstances, the gain g4 is effectively 0, allowing equation (4) to be reduced to become output Y2C1(z) as follows:
Then, the same test signal can be applied to CT SDM 212 with DAC 408 in a deactivated state and with DAC 204 as a feedback DAC for CT SDM 212. This changes the output Y2(z) to become output Y2C2(z) as follows:
Each of outputs Y2C1(z) and Y2C2(z) can be measured. By dividing the outputs Y2C1(z) and Y2C2(z) and noting that for a small band-width around the signal of interest the term N2(z)Q2(z) is negligible yields:
Thus, a simple analysis of the system (which depends on the structures of the SDM filter 404) can yield the ratio
Typically, CT SDM 212 can be a higher order modulator (i.e., greater than 3) so the SDM filter 404 be, accordingly, a higher order filter. Gain gF can then be adjusted to be proximately equal to the ratio
With gain gF set, the transfer function CF(z) can be adjusted to substantially match the transfer function S2(z). To do this, an error function E that is a cross-correlation of an output Y1,N(z) of digital filter and output Y2(z) of CT SDM 212 is used, where error function E is as follows:
This error function E is maximized when the transfer functions CF(z) and S2(z) are matched. Thus, digital filter 206 can be adjusted until the error function E is substantially maximized. Additionally, because the Q1(z) are common terms between outputs Y1,N(z) and Y2(z), digital filter 206 can be blindly adjusted or calibrated.
Now, turning to the gain imbalance, the output Y2(z) is generally comprised shaped of Q-noise Y2Q(z) and phase/gain imbalance Y2PI(z), which are as follows:
Because there can be a delay associated with amplifier 220 and DAC 204, gains g3 and g4 can be represented as g3Ad(z) and g4Dd(z), and from equation (11) above, it is clear that the following condition should substantially eliminate the gain imbalance Y2PI(z):
This would mean that the gain imbalance of Y2PI(z) would be substantially eliminated when the when the autocorrelation of Y2(z) (with gains g3 and g4 represented as g3Ad(z) and g4Dd(z)) is approximately equal to zero. Thus, by adjusting delay 222 and the gain of 220, the gain imbalance Y2PI(z) cab be substantially eliminated.
Alternatively, the ratio
can be determined by selectively deactivating DACs 204 and 408, similar to the method described above to determine the ratio
Initially, a test signal (of any magnitude) can be applied to the CT SDM 200 with DAC 204 in a deactivated state and the gain g3 set to the ratio
so that the output Y2(z) of CT SDM 212 can be measured. Under these circumstances, equation (4) can be reduced to become output Y2D1(z) as follows:
Then, the same test signal can be applied to CT SDM 212 with DAC 408 in a deactivated state and with DAC 204 as a feedback DAC for CT SDM 212. This changes the output Y2(z) to become output Y2C2(z) as denoted in equation (9) above. Each of outputs Y2D1(z) and Y2C2(z) can be measured. By dividing the outputs Y2D1(z) and Y2C2(z) and noting that, for a small band-width around the signal of interest, the term N2(z)Q2(z) is negligible yields:
Thus, a simple analysis of the system (which depends on the structures of the SDM filter 404) can yield the ratio
Thus, by adjusting gain g3 to be approximately equal to the ratio
with this foreground calibration scheme (as opposed to the background scheme described above), gain imbalance can be substantially eliminated.
To generally eliminate phase imbalance, either a digital predictor 220 or digital predictor with an analog delay line 222 can be employed. The tuning of either the digital predictor 220 or the analog delay line 222 can be done by minimizing the autocorrelation (similar to the scheme described above). For the digital predictor 220, for example, an analog delay line 222 can be introduced such that the delay through delay line 222 is greater than that through the CT SDM 202 so as to allow digital predictor 220 to be tuned such that the auto-correlation is minimized.
Having thus described the present invention by reference to certain of its preferred embodiments, it is noted that the embodiments disclosed are illustrative rather than limiting in nature and that a wide range of variations, modifications, changes, and substitutions are contemplated in the foregoing disclosure and, in some instances, some features of the present invention may be employed without a corresponding use of the other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention.
This application is related to co-pending U.S. patent application Ser. No. ______, entitled “METHOD FOR CALIBRATING A PIPELINED CONTINUOUS-TIME SIGMA DELTA MODULATOR,” filed herewith, which is hereby incorporated by reference for all purposes.