I'm building a battery monitor and am having a problem with setting the to hysteresis points.
I've chosen the OPamp over say the like of the LM336 is that I Would like to have
I'm trying to achive for the output of the OPAMP to go HIGH when the battery is 13.8V and only go LOW when it is 13.2V, The output could be inverted as I'm going to drive a opto-coupler, is it can be connected to either the pos or neg rail.
Some possible problems:
1: I've noticed that the voltage across the Zener is 5.88v and not 5.6v (but is stable when the battery voltage 10-15 volt, so doubt its that?)
2: The ouput is relative to the Vss/Vdd, hence the amount of feedback varies as the battery voltage increases? Should I use a reg to optain a constant voltage for the feedback?
3: If I'm correct, the hysteresis would be relative to the voltage dividing network on the Non-inveting input? Eg: say the feed back on the hysteresis resistor is 0.1 volt, and the network is divided to 5V, 0.1 volt is less feedback compared to 0.1V over say 3V from the resistor network?
hi,
R2 and R12 will interact and affect the hysteresis setting.
So you want 13.8V and 13.2V, thats a 0.6V hysteresis level.
To reduce the interaction of R2/12 I would add a 10K resistor in series from the wipers of both the pots [R1 and R12] to the +/- inputs of the comparator.
hi,
R2 and R12 will interact and affect the hysteresis setting.
So you want 13.8V and 13.2V, thats a 0.6V hysteresis level.
To reduce the interaction of R2/12 I would add a 10K resistor in series from the wipers of both the pots [R1 and R12] to the +/- inputs of the comparator.
hi Sunny RSA.
The zener provides a fixed reference voltage, so if you connected the top of the 5v2 zener, via the 10k direct to the comparator -vin, that would remove the 10Kpot.
I would use the 10K pot in place of the 1K battery sense pot, it will give a greater range of adjustment for the comparator +vin, via the 10K.
The hysteresis pot should be 1meg, so that you can set it about 680k or so, to get the hysteresis you want,
EDIT:
Be aware when you connect the output of the comparator to the following circuit, it will most likely screw up the hysteresis.
I would use a N MOSFET on the output if you plan to drive a relay etc.