SNOAA35E December 2023 – June 2024 LM2901 , LM2901B , LM2901B-Q1 , LM2903 , LM2903-Q1 , LM2903B , LM2903B-Q1 , LM339 , LM339-N , LM393 , LM393-N , LM393B , LM397 , TL331 , TL331-Q1 , TL331B
Commonly designers add large capacitors (100pF to >10uF) directly from the output to ground in an attempt to filter the output to reduce noise on the output or reset timing circuits. TI discourages this practice as this can cause several problems.
A charged capacitor can source peak currents of several amps. When the output goes low, the output must then short the charged capacitor, which causes the output to go into current limit. Long-term, this can stress the output. If discharging a capacitor with the output is desired, as in a timing application, a series current limiting resistor must be used to keep the peak current below 10mA or less. Adding the series resistor, with the appropriate adjustment to the capacitor value, provides a more controlled discharge as the resistor swamps out the slight device variations in the short circuit current. If a series resistor is unacceptable, then an external discrete pass transistor or MOSFET must be used.
Of course, adding the output capacitor increases the propagation delay by directly affecting the risetime and falltime.
Adding a large output capacitor can affect any added hysteresis feedback by adding a delay and slowing the output edges, resulting in bursting or outright cancellation of the hysteresis.
Instead, TI recommends filtering the input signal and using hysteresis instead of brute-force filtering of the output with a capacitor. These techniques can maintain the proper propagation delay while minimizing chatter or false triggers on noisy signals. Please see AN-74 LM139/LM239/LM339 A Quad of Independently Functioning Comparators, application note for more information about adding hysteresis to filter noise.