Turn LED on when voltage drops to level.

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Hi
Have this setup .
Use of a TL431
When voltage is over fixed value, ex 24,24V then LED is on, and off again at 23,81 V
when changed from JUMPER 1-5 i can select different voltages to on/off
Use of 5 different resistors from 1050 - 1070 -1100 - 1130 -1150 Ohm
Gives me a on/off voltage from
On 24,24v off 23,81v
On 24,62v off 24,19v
On 25,23v off 24,78v
On 25,86v off 25,41v
On 26,31v off 25,84v

These values is ok for me,
I just want to know if this will work IRL,
 

Attachments

crutschow

Joined Mar 14, 2008
34,409
Below is the LTspice simulation of your circuit.
Note that the TL431 has a relatively broad turn-on and turn-off due to it's gain being only about 600.
What is the purpose of the 500kΩ resistor? It's the wrong polarity to generate hysteresis.

upload_2018-2-4_11-32-36.png

If you want a sharper switching function you could add a transistor to the circuit (below).
Hysteresis polarity is now correct.

upload_2018-2-4_11-43-0.png
 

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Run a little behind in this, and have now got an extra feature to it.

The circuit should sit and measure on battery 24-28V and when voltages comes below ex 23,5-24V then circuit should activate a relay and keep the relay activated until a switch is pressed-
How should I construct that ?
The relay is 12 v DC Coil. and contacts is operating 220VAC.
 

crutschow

Joined Mar 14, 2008
34,409
The circuit should sit and measure on battery 24-28V and when voltages comes below ex 23,5-24V then circuit should activate a relay and keep the relay activated until a switch is pressed-
How should I construct that ?
The relay is 12 v DC Coil. and contacts is operating 220VAC.
Do you have 12V to power the relay?
It might be better if you used a 24V relay and powered it from the battery.
 

Dodgydave

Joined Jun 22, 2012
11,301
Your easiest solution would be to use a 24V coil, and use a Thyristor fed from the bottom circuit in post#2, the Gate can get it's trigger from the Cathode of the Tl431 .
 

crutschow

Joined Mar 14, 2008
34,409
Here's my circuit with an added 24V relay and a reset switch (S1).
Positive feedback through D2 and R6 latches the circuit when tripped, until S1 resets it (at 1.6s in the simulation).

upload_2018-2-27_19-55-40.png
 
Last edited:

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Look good . But Will this trigger the relay when battery is loosing voltage and reach ex 23.5v. Or is it trigger when voltage is more than 23.5v ?
 

Tonyr1084

Joined Sep 24, 2015
7,897
I've had some fairly good luck with relays that came out of an old dishwasher control board. They were 24 volt rated and I ran them in the car at 13.8 to 14.4 volts. The seemed to work well enough. Not sure if 12 volts will do the trick but 13.8 seemed to. I suppose I could go down into my laboratory and set up my 12V supply and see if one of these used relays will click in. But I just don't feel like going down there right now.
 

crutschow

Joined Mar 14, 2008
34,409
Just seems like there’s a lot of parts already.
eT
There may be.
But most are diodes, resistors and capacitors.
And what does that that to do with adding an extra uneeded IC to the mix?

If have a lower parts count design to do the job, that would be good. :cool:
 

eetech00

Joined Jun 8, 2013
3,934
There may be.
But most are diodes, resistors and capacitors.
And what does that that to do with adding an extra uneeded IC to the mix?
If have a lower parts count design to do the job, that would be good. :cool:
Using a comparator chip just would have been a different approach.
I'm not disagreeing with your circuit.....just asked why you didn't use a comparator chip...hoping for a little knowledge sharing here.

eT
 

crutschow

Joined Mar 14, 2008
34,409
just asked why you didn't use a comparator chip
For the TS's requirement, you need some form of accurate voltage reference to provide a stable trip point for the comparator.
So, to simplify the circuit, I used a voltage reference (TL431) that can be configured as a comparator with an accurate trip point.
Thus I only need the voltage reference.
An added comparator becomes redundant.
 

eetech00

Joined Jun 8, 2013
3,934
For the TS's requirement, you need some form of accurate voltage reference to provide a stable trip point for the comparator.
So, to simplify the circuit, I used a voltage reference (TL431) that can be configured as a comparator with an accurate trip point.
Thus I only need the voltage reference.
An added comparator becomes redundant.
Thank you sir...

eT
 

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Thanx, will try it out.

Some questions.

D2 = ?? some kind om zener diode or ?

I know B and B should be connected, End just "floating" when not pussed,
and to ground when reset ?

What is "k" ?
 
Last edited:

Lyonspride

Joined Jan 6, 2014
137
Personally I think i'd have gone down the comparator route, I've done something similar with a comparator (may have been a 339), a zener, a handful of resistors and a 2N2222 to drive an NC relay........ The primary reason for this was low quiescent drain (down to several uA, as it's for a vehicle), it needs to turn something off when the engine is running, but I wanted it running direct from the battery and not the ignition circuit.

I'm a big advocate for KISS, but it's whether or not the simplest approach will cause me any other issues (like a flat car battery in my case) :)
 
Top