Columnists

Predicting the ac performance of comparators

By Ron Mancini -- EDN, 8/2/2001

My last column ("Adding hysteresis to comparators ," EDN, May 3, 2001, pg 22) concluded that hysteresis decreases comparator accuracy and prevents multiple pulsing. Amplifying the input signal before applying it to the comparator increases the accuracy because the hysteresis-voltage range becomes smaller than the amplified input signal. There are ICs, such as the TLV2302, made for this function, and they contain an op amp and a comparator. Also, using the op amp as an amplifier/lowpass filter reduces the noise on the signal and can decrease the need for hysteresis.

Many comparators have an open-collector output stage for maximum flexibility. The open collector enables selection of the optimum collector resistor during the design stage. The external collector resistor, RC, (often called a pullup resistor) connects between the positive supply rail and the comparator output. The input requirement of the driven circuit selects the collector resistor. When the input voltage forces the comparator's output to a high level, the open-collector transistor is off. The collector resistor supplies high-level output current per the equation VOUT=VCC-ILRC. (The power rails are VCC and ground.) The collector resistor in series with the comparator-output capacitance forms an RC circuit that determines the output-voltage rise time. The driven circuit sets the rise-time requirement, and high-speed loads (TTL circuits) demand small rise times. The rise-time requirement is normally the more stringent requirement on the collector resistor.

The response time (or propagation-delay time) is the time delay between an input signal and the corresponding output signal. Semiconductor manufacturers specify it as the time delay from the leading edge of the input signal, which assumes negligible rise/fall time, to the 50% point of the comparator-output rise/fall time. The response time is a function of the input-voltage overdrive. "Overdrive" is the voltage in excess of that required to switch the output, and response time is not equal for rising and falling edges. Table 1 tabulates the response times of a TLC339 comparator with VCC=5V and RC=5.1 kΩ.

When you apply a 500-nsec pulse with 2-mV overdrive to the comparator, you don't get an output response, because the comparator doesn't react before the input signal goes away. A 500-nsec pulse may yield a small blip in the output voltage that is too small to trigger the hysteresis. Always ensure that the overdrive/pulse-width combination is adequate to yield the expected response. Never depend on the comparator response time to filter noise pulses.

The comparator is a unique mixture of analog and digital technologies. The analog front end is high-gain; thus, noise easily corrupts it. The digital back end can switch as fast as a logic circuit, so it generates power-supply current spikes that the power-distribution impedance turns into voltage noise. You need to decouple all comparators at the power leads with a 0.01-µF ceramic capacitor in parallel with a 10-µF electrolytic capacitor. The stringent decoupling causes the digital noise to circulate through the decoupling capacitors back to the power rails with minimum generated noise. The 10-µF capacitor is good at low frequencies, and, when the 10-µF capacitor becomes useless at its self-resonant frequency, the 0.01-µF capacitor is still low-impedance.


Author Information
Ron Mancini is staff scientist at Texas Instruments. You can reach him at 1-352-569-9401, rmancini@ti.com.



ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author


ADVERTISEMENT

Knowledge Center



Technology Quick Links

EDN Marketplace


©1997-2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites