L431

crutschow

Joined Mar 14, 2008
34,473
No. Normally phase-margin is not a factor when using a device as a comparator. Note that this device is compensated like an op amp so it will have a similar slow response when used as a comparator.

Are you sure that device will operate properly as a comparator? That block diagram doesn't show it as a comparator, just the equivalent circuit of the device. It's designed to be a voltage reference.
 

kubeek

Joined Sep 20, 2005
5,795
Yes the TL431 is acting here like an comparator, or more precisely an open-loop opamp. When voltage at R2 crosees 2.5V the voltage at R4 will suddenly drop to about 2V, since there is no negative feedback for the regulator to act like a zener.
 

MikeML

Joined Oct 2, 2009
5,444
Tl431gain.jpg

Think of the TL431 as a "comparator to 2.49V". The open-loop gain of a TL431 is much lower (~1V/1mV) than the typical real comparator. The gain is reduced when you put a voltage divider on the gate...

Here is a quick LTSpice sim of what I am talking about... Note the slope of V(out).

If you want some hysteresis, adding an NPN transistor stage is quite simple...
 
Last edited:

Lestraveled

Joined May 19, 2014
1,946
In figure 21 of the TI app note that Ronv posted, the TL431 is being used as a comparator. I have used the LM385-adj as comparator. (Same type of reference chip.)
 

crutschow

Joined Mar 14, 2008
34,473
Below is a sim of the TL431a used as a comparator with a PNP buffer to generate an output that goes between ground and the V+ supply (the Tl431a output only goes down to about 2V minimum as stated in Figure 18 of the TL431 data sheet). It trips at around 2.5V input.

TL431 Comp..GIF
 
Last edited:

ScottWang

Joined Aug 23, 2012
7,409
Hi Jony:
Maybe my brain is too hard and fixed, so what I thought about the comparator will be as LM339, 393 or using LM324 to do, they have a big range can be compare from 0 to +V, if the limited range comparator also count it then I will agree with you.

As the zener plus bjt and some resistors also can be a voltage monitor, but I don't call it comparator, it just a voltage monitor, an voltage comparator as LM393 can be a voltage monitor.
 

crutschow

Joined Mar 14, 2008
34,473
.........................................
As the zener plus bjt and some resistors also can be a voltage monitor, but I don't call it comparator, it just a voltage monitor, an voltage comparator as LM393 can be a voltage monitor.
It compares an external input voltage with the internal reverence voltage, so from that point-of-view it's a comparator.
 

ian field

Joined Oct 27, 2012
6,536
You can't using TL431 as a comparator, you can check the Representative Block Diagram on upper left side of page 2 from motorola TL431, the input to output is via a diode.
Yes you can, because; it *IS* a comparator, the only special bit is that it has a built in 2.5V Vref.

Using it without feedback as the OP suggests means that it will spend most of its time saturated at either one rail or the other.
 

MikeML

Joined Oct 2, 2009
5,444
In a way, the TL431 is more useful than a "real" comparitor. Most of the time, with a real comparator, you go to considerable effort to connect one input to a reference voltage, usually derived from a voltage divider off the supply rail. Having a built-in band-gap 2.495V reference tied to one of the comparator inputs is very handy...
 
Top