Hi,
I am using the TLV9034PWR comparator and am facing great difficulty with eliminating chatter at the output. I have followed the datasheet's recommendation for an inverting comparator with hysteresis in section 8.1.2.1, but have not been able to eliminate chatter entirely when the differential signal approaches zero. The following is a list of characteristics of the system:
- V+ = 5V and V- = 0V
- I am using only one of the four available comparators. The unused inputs and outputs are treated as per the datasheet's recommendations.
- The noninverting terminal is a constant reference voltage to be calibrated as needed. I need the reference to be able to be as close to 5V as possible.
- The inverting terminal is the input signal.
- I have implemented the inverting comparator with 80mV hysteresis. Since I am only concerned about the output switching from low to high, when the input switches from above to below the reference, I chose my desired switching voltage to be the lower trip voltage on the hysteresis transfer curve instead of the center of the rectangle (see figure 8-2).
- After initializing the input to 5V, the reference updated to 4.75V and the output to 0V. When setting the input to a few mV above the reference and bringing it down to the reference, the output looks like a square wave with 50% duty cycle and ringing at all transitions. It is my understanding and intention that the output should still be exactly 0V until the reference voltage is crossed at which point it jumps to 5V exactly. I believe that what I am seeing is chatter, despite my addition of hysteresis.
- I cannot afford to filter the comparator I/O pins as this would cost speed in a safety-critical application. Additionally, I need to keep the reference voltage (noninverting terminal input) as high as 4.9V in order to guarantee the fastest speed. Similarly, I would prefer to decrease the amount of hysteresis.
What could I do to eliminate the chatter completely? The comparator output is driving an NMOS and a separate gate driver, but chatter is present whether or not it is loaded.