# Simple Voltage Detector Circuit

Thread Starter

#### ICBIMProducts

Joined Sep 23, 2016
4
Hey folks, I need a simple circuit that will turn on a 12v relay when the input voltage of the circuit reaches 13v. I can't use an op-amp as I will not have a reference voltage. Any ideas?

#### AlbertHall

Joined Jun 4, 2014
11,586
How accurate does the switch at 13V need to be?

Thread Starter

#### ICBIMProducts

Joined Sep 23, 2016
4
How accurate does the switch at 13V need to be?
....Well not super accurate. Maybe from 12.6v to low 13's I suppose....

#### blocco a spirale

Joined Jun 18, 2008
1,546
Hey folks, I need a simple circuit that will turn on a 12v relay when the input voltage of the circuit reaches 13v. I can't use an op-amp as I will not have a reference voltage. Any ideas?
Why can't you create a reference voltage, that's usually the procedure?

Thread Starter

#### ICBIMProducts

Joined Sep 23, 2016
4
Why can't you create a reference voltage, that's usually the procedure?
I am not totally sure I can't however the research I have done so far does not support it. I fly an extensive collection of RC planes and drones from micros to giant scale and have a 125 amp deep cycle marine battery in the rear of my Ford Flex to run my system to recharge all my LiPo batteries while I fly. This battery gets charged from my car however the connector in the car is always live and I fear that at some point I will be at the field all day and kill my car's battery. The voltage of the plug will only be at 13v when the car is running so if I have a circuit that energizes a relay at 13v I will only have the car connected to the marine battery when the car is running...Make sense?

#### ci139

Joined Jul 11, 2016
1,696
usually they connect batteries with bridge wires
▲it's for inverter but can be adapted/modified for bridged batteries▲
you must have some sort of current limit from
CAR Battery →relay→incandescent bulb(a current limiting resistor)→ Marine (also ensures your generator coil windings get no excess load)
▲amps pass limited by thermal limiting by W (tungsten) or what they use in over-current protection resistors▲
Not empty → → → Emtpy (100-s of Amperes pass if no limit other than wires heating up when too thin for surge . . . relay contact electro-weld together)

#### ci139

Joined Jul 11, 2016
1,696
I have a circuit that energizes a relay at 13v
this is very good value
it ll be around 12.75 - 12.85V for older (more aged) battery

#### blocco a spirale

Joined Jun 18, 2008
1,546
I am not totally sure I can't however the research I have done so far does not support it. I fly an extensive collection of RC planes and drones from micros to giant scale and have a 125 amp deep cycle marine battery in the rear of my Ford Flex to run my system to recharge all my LiPo batteries while I fly. This battery gets charged from my car however the connector in the car is always live and I fear that at some point I will be at the field all day and kill my car's battery. The voltage of the plug will only be at 13v when the car is running so if I have a circuit that energizes a relay at 13v I will only have the car connected to the marine battery when the car is running...Make sense?
You can easily create a reference voltage from the battery supply either with a zener diode or even a fixed voltage regulator e.g a 7805. There are plenty of comparator based low-battery-voltage detector circuits on-line that may just require minor changes to suit your application. It is important that the circuit incorporates some hysteresis otherwise it will oscillate around the set-point as the battery voltage will rise a little when the load is disconnected.

#### AlbertHall

Joined Jun 4, 2014
11,586
A MAX8212 would do the job, with a transistor or a MOSFET to drive the relay. It provides the reference, comparator and hysteresis in one small chip.

#### #12

Joined Nov 30, 2010
18,223
Have a look at this:

#### Attachments

• 10 KB Views: 14
• 195.2 KB Views: 4

#### #12

Joined Nov 30, 2010
18,223
Here, this will take the jitter out of it.

Thread Starter

#### ICBIMProducts

Joined Sep 23, 2016
4

#### #12

Joined Nov 30, 2010
18,223
Obviously, I tried to get that right, but you can ask if something seems off.
I gave it a 1 second time constant to avoid responding to noise.
I gave it 8% hysteresis to stop it from jittering the relay.
These things are judgement calls.
Expect it to have about a second of lag time, 4 or 5 seconds during start-up.
If it jitters, the 330K can be decreased, but you need to be sure the wiring and connections are good for that 8% to be sufficient.
A dirty connection on the power wire will surely cause problems with it cycling in and out when it shouldn't.
(almost) Nothing is carved in stone with analog design.
It's all about uncertainty and how to compensate for those uncertain decision points.
I wouldn't reject the idea of adding a few hundred uf @ 25V right at the input to the circuit so that capacitor can absorb transient voltage spikes in the generator system.
I don't know. The relay coil and the 27k resistor protect the chip from voltage puncture. That might work just fine.
And it might not. Cars are awfully noisy electrical systems.
As you said, try it and find out.