1. Field of the Invention
The present invention is related to analog to digital converter devices. More particularly, the present invention pertains to comparator devices used for digital signal generation.
2. Discussion of Related Art
The increasing importance of high-capacity wireless data communications has generated a demand for accurate, fast, and low-power-dissipation analog-to-digital converters to change high frequency analog inputs to digital signal formats. Delta-sigma modulators (DSMs) are often used to digitize signals having large dynamic range requirements, and have a wide variety of wireless applications, ranging from radar devices to low-power mobile communications. However, even though recent advances in very-large-scale circuit integration (VLSI) have provided low-cost, low-power implementations of the digital signal postprocessing associated with these DSMs, the comparator delay times and power parameters required for providing an adequate signal-to-noise ratio (SNR) for the DSMs has limited their usefulness.
A conventional delta-sigma modulator, shown in
Conventional comparator circuits 10 used in DSMs consist of a sequence of two or three transparent latch stages enabled by alternate phases of the sample clock signal Tc, as shown in
However the performance limitations of conventional comparator circuits result in deviations from this ideal behavior. In particular, quantization latency Tq and the probability of a metastable state causing a comparator error Pmeta interact to limit the signal-to-noise SNR performance that can be achieved in DSM circuit designs having given frequency response and power efficiency parameters. The quantization latency Tq is the time that elapses between the occurrence of a sampled value at a time ti, and the occurrence of the smallest unambiguous comparator output voltage VL at the comparator output, which is shown schematically in
It can be considered a given that output error probability is P=2VL/AQ, as explained by C. E. Woodward, et al. in IEEE Journal of Solid State Circuits, vol. SC-10 (December 1975) at p. 392. There, VL is the smallest unambiguous level for the comparator outputs Vb1 thru Vbn, Q is the least significant bit (LSB) voltage, e.g., the minimum value of the difference between the thresholds (Thi+1−Thi) corresponding to the resistances Ri, . . . Rn shown in
Thus it can be demonstrated that, for input signal values V(t) that are uniformly distributed, the probability Pmeta is exponentially related to latency Tq:
Pmeta=Po exp(−Tq/τ) (2)
It is important to note that the value of the regeneration time constant τ in equation #2 is independent of Pmeta and Tq, and varies with the parasitic capacitances associated with the transistors in the first stage in a manner well-known in the art. Therefore Pmeta is an inverse function of Tq, when both are expressed as a multiples of τ, as is discussed in greater detail with reference to
This quantization latency Tq in a comparator's bit stream (bk) can be reduced, for low-frequency signals, without increasing Pmeta by adjusting the coupling of the respective feedback signal Fa into the filter circuit 12 from the interface circuits 14 in a manner well-known in the art. However, given that fc=1/Tc, at higher signal frequencies where Tq>Tc/2 that conventional compensation method is ineffective. The maximum usable signal frequency fmax provided by the conventional method is approximately:
Metastability errors are produced by the comparator's inability to promptly make a conclusive bit decision when the comparator's input sample V(t) is in a gray area Vg defined as Vg=2VL/Ao, where VL is the smallest unambiguous comparator output and Ao is the DC gain of the comparator. In this gray area Vg there is some small but significant probability that the output of the comparator will remain at an indeterminate level between the 0 and 1 digital states after the expected transition time Tr, as shown in
Metastability is a critically important factor in the design of synchronizer circuits, where it compromises the reliability of the output signals' synchronization. In synchronizer circuit design, metastability has been measured as the number of indeterminate states occurring when a predetermined lag time is provided between the nominal clock pulse of the output of a synchronizer flipflop connected to the input of a second flipflop driven by a sample clock signal Tc. See J. U. Horstmann, et al., “Metastability Behavior of CMOS ASIC Flip-Flops in Theory and Test”, IEEE Journal of Solid State Circuits, vol. 24, no. 1 (February 1989), pp. 146–157. Ideally, of course, no errors would occur in the output that these synchronizers produce after the expected transition time Tr. Thus, in practice, metastability errors in these synchronizers can be reduced at the expense of an increase in quantization latency Tq from a point between ti and Tr to a later point, even beyond Tr in
After all possible error corrections have been made, the SNR achievable by a DSM is a function of the probability of metastability error events Pmeta, as shown in
In
Tq=a+Tc(n−2)/2 (4)
and
Pmeta=b exp(−c[a+Tc(n−2)/2]) (5)
where the coefficients “a, b, c” are design-specific constants such that, where n is the number of latches and n≧2 they are: a=Tq for n=2, b=Po, c=1/τ. These constants are independent of the parameters affected by the present invention, and “exp” indicates that the subsequent parenthetical expression is an exponential function.
However, only a small subset of the points along the tradeoff curve shown in
Continuous-time delta-sigma modulators (CT-DSMs), in particular, are advantageous for radar and popular low-power, high frequency digital mobile telecommunications applications because they can potentially provide higher resolution at a lower power consumption rate than discrete-time modulators. Unfortunately, the continuous-time DACs used in CT-DSMs increase the CT-DSMs' sensitivity to the metastability errors occurring during quantization. However, the additional stages proposed by J. A. Cherry, et al. to reduce metastability in continuous-time modulators significantly increase the modulators' power consumption. Thus, at least in theory, both the operating frequency and the power efficiency advantages of CT-DSMs are limited by the need to reduce the occurrence of metastability errors in CT-DSMs.
In low-pass DSM devices where fmin=0, the comparator latency Tq required to achieve an acceptable metastability error rate is a small fraction of the period of the highest signal frequency input to the modulator, reducing the probability Pmeta of sample values in grey area Vg. However, in band-pass modulators, where fmax≈fmin, the latency Tq may occupy a large portion of the period Tc available at center frequency (fctr) of the bandpass signal. As the latency approaches one-half of the period of output signal's frequency Tc/2, it becomes difficult to achieve stability in the feedback loop in these DSM devices.
The conventional trade-offs that increase quantization latency and the number of latch stages to reduce the incidence of these non-correctable probabilistic metastability errors in CT-DSMs reduce their operating frequency, and elevate the power consumption rate, respectively. Since many popular CT-DSM applications, such as the low-power, high-frequency GSM and PCS digital mobile telecommunications devices, require both increased high frequency capability and minimal power consumption, some other means of reducing metastability errors is needed.
In accordance with the present invention the performance of a DSM is improved by an invention reducing the metastability errors produced by a comparator, wherein a second latch in the comparator is enabled with a delayed clock signal that has a lag TL relative to a clock signal that enables a first latch in the comparator to produce a first latch signal, such that TL≠nTc/2 and TL≠0. The second latch is connected to the first latch and adapted to be enabled by the delayed clock signal to produce a second latch signal in response to a latch input signal produced in response to said first latch signal.
In one particular embodiment TL=TE, Tc/2>TE>0, where a third latch subsequent to the second latch is enabled by the logical complement of the delayed clock signal having a lag time Ts relative to the clock signal that enables the first latch such that Tc>Ts>Tc/2.
Preferably the delayed clock signal is provided by adding a delay time TE to the clock signal that enables the first latch.
In another particular embodiment TL=TE+Tc/2, where Tc/2>TE>0 and a third latch subsequent to the first latch is enabled by the logical complement of the clock signal having a lag time of Tc/2 relative to the clock signal that enables the first latch.
Preferably the delayed clock signal is provided by adding a delay time TE to the logical complement of the clock signal that enables the first latch.
In one particular embodiment the clock signal having a lag time of Tc/2 relative to the clock signal that enables the first latch is provided by inverting that clock signal.
In a modulator circuit in accordance with the present invention a comparator connects the output of the filter circuit to the input of the modulator's output interface circuit. The comparator includes a first latch connecting the output of the filter circuit to a second latch. The first latch is enabled to produce a first latch signal in response to a signal on the output of the filter circuit by a given clock signal having a given phase and a given cycle period Tc. The second latch is enabled by a delayed clock signal having a lag time TE such that Tc/2>TE>0 to produce a second latch signal in response to said first latch signal.
Quantization in accordance with the present invention supplies an analog signal to a first latch that is enabled by a clock signal having a clock period Tc to produce a first latch signal in response to said analog signal. A second latch is enabled by a delayed clock signal offset by a lag time TE relative to the start of each clock period such that Tc/2>TE>0 to produce a second latch signal in response to said first latch signal. In a particular embodiment, a third latch is enabled by a phase of said delayed clock signal opposite to a given phase that enables the second latch, to produce a third latch signal in response to said second latch signal.
The features and advantages of the present invention will be better understood and appreciated when the detailed description provided below is considered in conjunction with the figures provided, wherein:
a and 1b are schematic diagrams of conventional prior art two and three-stage comparators, respectively, for use in the modulator shown in
c is a schematic signal diagram for a conventional prior art comparator showing the quantization latency Tq;
a is a schematic signal diagram showing the ideal response of the output of a comparator to the input signal shown in
b is a schematic signal diagram showing a metastability error in the response of the output of a comparator to the input signal shown in
a illustrates the relationship between a comparator's probability of metastability errors and a conventional prior art comparator's quantization latency;
b illustrates the relationship between the probability of metastability errors and the signal-to-noise ratio of the signal output by a conventional prior art comparator;
a is a two-line schematic circuit diagram of a D-type differential latch circuit used in DSM comparators;
b and 5c are one-line block diagrams of respective embodiments of a comparator in accordance with the present invention for use in the DSM modulator shown in
d and 5e are timing diagrams for comparators in accordance with the embodiments of the present invention shown in
f is a flow diagram model of a three-latch continuous-time, continuous-valued comparator;
Each of the comparators 10 used in delta-sigma modulators (DSMs) is made up of at least three latch stages as shown in
The first latch stage 20 in each comparator circuit 10 samples the input signal at the falling edge of the clock signal and regenerates the input signal to a valid logic level. The last stage 24 in each comparator 10 provides a current source that permits the comparator's output S1–Sn to slew between the given voltage levels that define logic levels 1 and 0 at a high rate, while driving the interface circuit 14, which includes six D/A converter cells and an output encoder cell in a presently preferred embodiment.
As shown in the two-line schematic in
until the voltages on the outputs Out+ and Out− both reach one of the two predetermined “0” and “1” voltage output logic levels.
Each latch's regeneration time constant τ depends upon the gain of the transistors Q5 and Q6. However, the gain of transistors Q5 and Q6 varies during each latch cycle as a function of the value of the latch's output voltage Vout. Nonetheless, τ does remain approximately constant during the initial part of each latch cycle when the latch's output voltage Vout has a small value relative to the latch's thermal voltage kT/q(Vout<<kT/q), where k is Boltzman's constant, T is absolute temperature, and q is the electron charge. This small-signal transistor model provides an approximate value for τ, using the tail current (Il) and the load capacitance CL on the complementary outputs Out+ and Out− including the collector-base capacitances of Q3–Q6:
so that:
Vout(t)=Vout(0)exp(t/τ). (7)
Thus, although by the end of the regeneration phase τ is actually no longer a constant value, the exponential regeneration model using the small-signal assumption Vout(t)<<kT/q provides a constant value for τ that can be used to represent the latch's metastability performance, even so. Consequently, in
In
TE is selected so that the level of the signal output by the first latch 20 has enough time to regenerate out of the grey area before it is sampled by the second latch 22. In this way, the second latch 22 censors the output of the first latch 20, so that while the output of the first latch 20 is in an indeterminate transparent state, the signal output by the first latch 20 is not “seen” by the second latch 22. In practice, adequate delay TE is added to bring the SNR of the comparator to an acceptable level and, typically, Tc/2>>TE.
The third latch stage 24, in
c shows a comparator 10 for use in a CT-DSM in accordance with another preferred embodiment of the present invention. In this embodiment, the third latch 24 serves as an output buffer stage. All three latch stages 20, 22, 24, are preferably D-type latch circuits, preferably as shown in
In
In
e is a timing diagram for comparator in accordance with the embodiment of
In both embodiments, because the metastability performance of the comparator shown therein depends primarily on the regeneration time required by the first latch stage 20, the designer can apply all available resources to the task of optimizing that one stage. For example, modified circuit topologies can be used to reduce parasitic capacitances that affect the regenerating nodes, and more supply current may be allocated to this one latch stage in each comparator, as is well known in the art.
The purpose of the second latch stage 22, in both embodiments of
The Effect of Metastability on Continuous-Time Modulators
Because of the analog continuous-time, continuous-valued nature of the inputs to the comparators used in CT-DSMs, not all metastable states affect the SNR of CT-DSMs to the same extent. Metastable states of longer duration cause more degradation of the SNR. Thus, the extent of the SNR degradation of the signal output by a modulator is also affected by the waveform output by the comparator. As such, a more detailed analysis of comparator metastability would be useful to predict its effect on the SNR of CT-DSMs.
The four steps shown in
The second block 32 of
The continuous-time, continuous-valued comparator model shown in
In normal CT-DSM operating conditions (no overload) the spectrum of the signal V(t) that is provided by the filter circuit 12 to the comparators 10 is filtered so that samples of V(t) represented therein are correlated, and V(ti) has an approximately Gaussian distribution:
In the event that the limiter step 34 in the model shown in
The non-limited, proportional output Vout produced by (9) will have a Gaussian distribution with a larger variance than that produced by (8):
The variance of the input signal, when scaled relative to the 250 to 500 mV digital swings typical of the output of these latches, is typically on the order of 10−2<sin<10−1. Since (10) applies only when −1<Vout(t)<+1, this results in:
apparently indicating a negligible dependence of P[Vout(t)|−1<Vout(t)<+1|] on Vout(t). Given approximately uniform probability density of Vout(t) over the interval −1<Vout(t)<+1, therefore:
As a description of the interval where metastability occurs (−1<Vout(t)<+1), the relative difference between (10) and (11) is less the 10−8. In this open interval, −1<Vout(t)<+1 , the output values for any two different cycles Vout(t1), Vout (t2) are approximately conditionally independent of the input level Vin(ti) provided by the signal V(t) the filter circuit 12. Most of the probability distribution of Vout(t) is either P[Vout(t)=+1] or P[Vout(t)=−1] and is not independent of the input level Vti of Vt. Nonetheless, it is believed that equation #11 is a useful definition of latch behavior in the critical grey area −1<Vout(t)<+1 that approximates the metastability performance of the latch circuits in CT-DSMs.
Distribution of Output Trajectories in Simulations
The metastability errors produced by a conventional, two-stage comparator (n=2), shown in
Specifically, in accordance with the embodiment shown in
Tq=a+TE+Tc(n−3)/2 (12)
Pmeta=b exp(−c[a+TE+Tc(n−3)/2]) (13)
In the simulations, that delay time (TE) of 110 picoseconds was added to the clock used in the simulation shown in
Transient Response Trajectories
In the transient response simulations shown in
In
Estimated DSM SNR Attributable to Metastability
The achievable signal-to-noise ratio for a DSM device is limited by several other inherent sources of noise in addition to metastability, including quantization noise, thermal noise, and clock jitter. However, for the sake of comparison, an estimate of the signal-to-noise ratio that a respective DSM device using a respective type of comparator delta-sigma modulator would achieve in the absence of error sources other than metastability was calculated.
Ideally, each comparator 10 produces a binary output, which is one of two predetermined voltage levels with transitions between positive and negative polarity occurring only in predetermined time slots. This binary output is then converted by a digital to analog converter (DAC) into a charge that is injected back into the filter circuit 12. Ideal comparators would always provide full binary input levels to the DACs, such as the level seen in
Where VT represents the thermal voltage (kT/q) and “tanh” indicates the hyperbolic tangent function the charge Idac produced by each DAC is Idac=tanh(Vout/VT) and the integral of the effective feedback charge Qi produced by the comparators in each cycle (i) can be defined as:
Qi=∫tanh(Vout(t)/VT)dt (14)
This indefinite integral approximates the feedback charge provided by a DAC “buffer” gain stage in the output interface circuits following the comparator 10 in a DSM.
Using this feedback charge value (Qi) an estimated SNR can then be calculated from the mean and variance of the charge:
SNR=10*log10[mean(Qi)/var(Qi)] (15)
The estimated SNR contributed by metastability errors in the modulator simulation using a two-stage comparator is then 47 dB, and the estimated SNR produced in accordance with the present invention can be at a significantly improved 55 dB level in DSM devices that were the same except for the using comparator quantization in accordance with the present invention.
The invention has been described with reference to a presently preferred embodiment, but it will be apparent to one skilled in the art that variations and modifications are possible within the spirit and scope of the invention. As such, the invention is not to e limited to the disclosed embodiments except as required by the claims appended below.
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/364,387 filed Mar. 13, 2002, the disclosure of which is hereby incorporated herein by reference.
This invention was related to work performed under the government contract entitled “CDRL A005 Low Power ADC Development Program”. The government has certain rights in this invention.
Number | Name | Date | Kind |
---|---|---|---|
4999625 | Thompson | Mar 1991 | A |
5347278 | Callahan et al. | Sep 1994 | A |
5392039 | Thurston | Feb 1995 | A |
6448915 | Logue | Sep 2002 | B1 |
20020023999 | Hsu et al. | Feb 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20030235256 A1 | Dec 2003 | US |
Number | Date | Country | |
---|---|---|---|
60364387 | Mar 2002 | US |