Author Topic: Relay trigger when voltage above 13v  (Read 1088 times)

0 Members and 1 Guest are viewing this topic.

Offline bigjoncoopTopic starter

  • Regular Contributor
  • *
  • Posts: 53
  • Country: us
Relay trigger when voltage above 13v
« on: April 29, 2024, 12:07:41 am »
Trying to create a simple circuit that will trigger a relay only when the monitored voltage is above 13v.

(the output voltage of the circuit is not important. Just needs to be 0v when the monitored voltage is below 13v)



I was able to find a couple of threads on this, but there was no clear answer in the end...



I was originally thinking of using a LM386 and a TL431 as a voltage reference since I have alot of these components. But was unable to find a detailed schematic on how to do so...

I do have a couple of low voltage disconnect modules I could use if all else fails connect a Buck converter on the output to trigger a 5 volt relay..

Specs:

Monitored Voltage Range: 12v - 14.6v

Trigger Voltage: ≥13v

Output voltage to control relay: Not Important
« Last Edit: April 29, 2024, 12:14:22 am by bigjoncoop »
 

Offline Andy Chee

  • Super Contributor
  • ***
  • Posts: 1170
  • Country: au
Re: Relay trigger when voltage above 13v
« Reply #1 on: April 29, 2024, 01:46:58 am »
I think you’re after a hysteresis circuit i.e. turn on relay as voltage rises above 13V, turn off relay as voltage drops below 12V.

Alternatively, perhaps you’re after a monostable “reset” circuit i.e. turn on relay as voltage rises above 13V, relay remains on until power is removed.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13130
Re: Relay trigger when voltage above 13v
« Reply #2 on: April 29, 2024, 02:44:07 am »
TL431, driving the base of a PNP transistor to switch the supply to the relay.  You'll need appropriate base resistors, an anti-parallel diode across the relay coil, and possibly a high value feedback resistor from the collector of the PNP to the TL431 REF pin to add a little hysteresis.  Make the feedback resistor much lower, and once triggered it will latch on, till you momentarily either remove the supply, or ground the REF pin.
« Last Edit: April 29, 2024, 02:48:07 am by Ian.M »
 
The following users thanked this post: magic

Offline SmallCog

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: au
Re: Relay trigger when voltage above 13v
« Reply #3 on: April 29, 2024, 02:51:17 am »
Sounds, in function, similar to what a traditional dual battery controller would do.

These are sometimes referred to as voltage sensing relays or VSR's

Even if your project is not for this purpose, you may find some useful information in magazine articles for similar projects - it's certainly been a topic covered in our local magazines here and likely will have in others

eg: https://www.siliconchip.com.au/Issue/2019/July/Dual+Battery+Isolator+for+4WD%2C+RVs%2C+Caravans%2C+etc

or this: https://www.siliconchip.com.au/Issue/2020/December/Dual+Battery+Lifesaver

Someone may be able to lend you a copy of their issue of this magazine if required :-)
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3248
  • Country: us
Re: Relay trigger when voltage above 13v
« Reply #4 on: April 29, 2024, 04:37:36 am »
Here is TI's app note on using the TL431 as a comparator:

Using the TL431 for Undervoltage and Overvoltage Detection
https://www.ti.com/lit/an/slva987a/slva987a.pdf

You might find it easier to use a real comparator - eg. a LM339 / 393 / etc.

Here is TI's app note on designing a comparator circuit with hysteresis:

Comparator with Hysteresis Reference Design
https://www.ti.com/lit/ug/tidu020a/tidu020a.pdf
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2405
  • Country: br
    • CADT Homepage
Re: Relay trigger when voltage above 13v
« Reply #5 on: April 29, 2024, 06:24:10 am »
Here is TI's app note on using the TL431 as a comparator:

Using the TL431 for Undervoltage and Overvoltage Detection
https://www.ti.com/lit/an/slva987a/slva987a.pdf
..
I would replace the bipolar transistor of Figure 6 in that app note by a p-channel mosfet in order get rid of the relay. The voltage sense divider causes a small current drain even below threshold.

Regards, Dieter
« Last Edit: April 29, 2024, 06:27:56 am by dietert1 »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: Relay trigger when voltage above 13v
« Reply #6 on: April 29, 2024, 08:24:56 am »
The LM386 is an audio amplifier IC. I think you meant the LM393.

Plenty of good ideas have been given above. If you want an off the shelf solution, then you could use a voltage monitoring relay.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9238
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Relay trigger when voltage above 13v
« Reply #7 on: April 29, 2024, 12:03:30 pm »
Use a supply voltage monitoring chip, it will already have many features you want such as hysteresis and deglitching.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline AVGresponding

  • Super Contributor
  • ***
  • Posts: 4842
  • Country: england
  • Exploring Rabbit Holes Since The 1970s
Re: Relay trigger when voltage above 13v
« Reply #8 on: April 29, 2024, 04:44:47 pm »
The LM386 is an audio amplifier IC. I think you meant the LM393.

Plenty of good ideas have been given above. If you want an off the shelf solution, then you could use a voltage monitoring relay.

The LM386 is basically a power op-amp, and would be fine to use for this, though the quiescent current might not be optimal. It'll certainly be better used as this than as an audio amplifier; it's horrible at that
nuqDaq yuch Dapol?
Addiction count: Agilent-AVO-BlackStar-Brymen-Chauvin Arnoux-Fluke-GenRad-Hameg-HP-Keithley-IsoTech-Mastech-Megger-Metrix-Micronta-Racal-RFL-Siglent-Solartron-Tektronix-Thurlby-Time Electronics-TTi-UniT
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: Relay trigger when voltage above 13v
« Reply #9 on: April 29, 2024, 09:40:57 pm »
The LM386 is an audio amplifier IC. I think you meant the LM393.

Plenty of good ideas have been given above. If you want an off the shelf solution, then you could use a voltage monitoring relay.

The LM386 is basically a power op-amp, and would be fine to use for this, though the quiescent current might not be optimal. It'll certainly be better used as this than as an audio amplifier; it's horrible at that
I don't think so. I would be difficult to use the LM386 as a comparator. The input voltage is limited to +/-0.4V, it's internally biased, so its output sits at half the supply voltage and the DC gain is only 20. No doubt it can be hacked into a comparator circuit, but it's much easier to just use the LM393.
https://www.ti.com/lit/ds/symlink/lm386.pdf

TL431, driving the base of a PNP transistor to switch the supply to the relay.  You'll need appropriate base resistors, an anti-parallel diode across the relay coil, and possibly a high value feedback resistor from the collector of the PNP to the TL431 REF pin to add a little hysteresis.  Make the feedback resistor much lower, and once triggered it will latch on, till you momentarily either remove the supply, or ground the REF pin.
Like this.
 
The following users thanked this post: Ian.M

Offline AVGresponding

  • Super Contributor
  • ***
  • Posts: 4842
  • Country: england
  • Exploring Rabbit Holes Since The 1970s
Re: Relay trigger when voltage above 13v
« Reply #10 on: April 30, 2024, 05:26:19 am »
The LM386 is an audio amplifier IC. I think you meant the LM393.

Plenty of good ideas have been given above. If you want an off the shelf solution, then you could use a voltage monitoring relay.

The LM386 is basically a power op-amp, and would be fine to use for this, though the quiescent current might not be optimal. It'll certainly be better used as this than as an audio amplifier; it's horrible at that
I don't think so. I would be difficult to use the LM386 as a comparator. The input voltage is limited to +/-0.4V, it's internally biased, so its output sits at half the supply voltage and the DC gain is only 20. No doubt it can be hacked into a comparator circuit, but it's much easier to just use the LM393.
https://www.ti.com/lit/ds/symlink/lm386.pdf

TL431, driving the base of a PNP transistor to switch the supply to the relay.  You'll need appropriate base resistors, an anti-parallel diode across the relay coil, and possibly a high value feedback resistor from the collector of the PNP to the TL431 REF pin to add a little hysteresis.  Make the feedback resistor much lower, and once triggered it will latch on, till you momentarily either remove the supply, or ground the REF pin.
Like this.
[ Attachment Invalid Or Does Not Exist ]

The OP mentioned wanting to use an LM386 because they have lots of them. I always try to answer the question being asked, and not ignore it.

The output biasing is trivially easy to incorporate as part of the design. The input limitations require more thought, the voltage divider values can't be as arbitrary as you could normally get away with. Aside from that, it's perfectly feasible, if not optimal.
nuqDaq yuch Dapol?
Addiction count: Agilent-AVO-BlackStar-Brymen-Chauvin Arnoux-Fluke-GenRad-Hameg-HP-Keithley-IsoTech-Mastech-Megger-Metrix-Micronta-Racal-RFL-Siglent-Solartron-Tektronix-Thurlby-Time Electronics-TTi-UniT
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19990
  • Country: gb
  • 0999
Re: Relay trigger when voltage above 13v
« Reply #11 on: April 30, 2024, 07:01:30 am »
The LM386 is an audio amplifier IC. I think you meant the LM393.

Plenty of good ideas have been given above. If you want an off the shelf solution, then you could use a voltage monitoring relay.

The LM386 is basically a power op-amp, and would be fine to use for this, though the quiescent current might not be optimal. It'll certainly be better used as this than as an audio amplifier; it's horrible at that
I don't think so. I would be difficult to use the LM386 as a comparator. The input voltage is limited to +/-0.4V, it's internally biased, so its output sits at half the supply voltage and the DC gain is only 20. No doubt it can be hacked into a comparator circuit, but it's much easier to just use the LM393.
https://www.ti.com/lit/ds/symlink/lm386.pdf

TL431, driving the base of a PNP transistor to switch the supply to the relay.  You'll need appropriate base resistors, an anti-parallel diode across the relay coil, and possibly a high value feedback resistor from the collector of the PNP to the TL431 REF pin to add a little hysteresis.  Make the feedback resistor much lower, and once triggered it will latch on, till you momentarily either remove the supply, or ground the REF pin.
Like this.
(Attachment Link)
The OP mentioned wanting to use an LM386 because they have lots of them. I always try to answer the question being asked, and not ignore it.
Using a part, just because you have loads of them, is normally a bad idea.

Quote
The output biasing is trivially easy to incorporate as part of the design. The input limitations require more thought, the voltage divider values can't be as arbitrary as you could normally get away with. Aside from that, it's perfectly feasible, if not optimal.
Alright then, post a schematic. Show me how you would do it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf