Hello,
I have the following circuit which utilizes an op amp to go high once the voltage has breached a 12Vdc reference voltage.
I have 2 sources for Vin. One source is an 8.2 Vp-p square wave as seen below. The other source is battery voltage of 14.X volts.
When I test this circuit on my bench it works as it should. However, when I take it to my car and connect it, the op amp doesn't respond properly.
Explanation:
When a 14.X Vdc signal is set as Vin, I can adjust the pot to have the output of the op amp trigger and turn on the transistor, activating the relay. When I switch Vin to a square wave (I have a switch to do this not seen in the schematic), the voltage on Pin 3 of the op amp drops to 8.2Vdc square wave, but the op amp will not change state. Although the 8.2 Vp-p signal is lower than the 12 Vdc reference, the op amp seems to stay in a "no-man's" land and will not switch to output low.
The other strange thing is when I adjust the pot to change state on the op amp, the measurement at Pin 3 is approx. 12.1 Vdc - this is fine... however, when I switch to the square wave input, I can only make the op amp change state if I tweak the pot... and I mean by just a hair. It seems the pot adjustment is at or near the same level whether Vin is 14.X Vdc or 8.2 Vdc square wave. You would think that the difference in voltage would mean there is a greater difference in the pot range.
Once again, the circuit works 100% on my test bench, but all laws of electronics seem to go out the window when I connect this to my car.
What might I be overlooking?
Thanks for any replies.
I have the following circuit which utilizes an op amp to go high once the voltage has breached a 12Vdc reference voltage.
I have 2 sources for Vin. One source is an 8.2 Vp-p square wave as seen below. The other source is battery voltage of 14.X volts.
When I test this circuit on my bench it works as it should. However, when I take it to my car and connect it, the op amp doesn't respond properly.
Explanation:
When a 14.X Vdc signal is set as Vin, I can adjust the pot to have the output of the op amp trigger and turn on the transistor, activating the relay. When I switch Vin to a square wave (I have a switch to do this not seen in the schematic), the voltage on Pin 3 of the op amp drops to 8.2Vdc square wave, but the op amp will not change state. Although the 8.2 Vp-p signal is lower than the 12 Vdc reference, the op amp seems to stay in a "no-man's" land and will not switch to output low.
The other strange thing is when I adjust the pot to change state on the op amp, the measurement at Pin 3 is approx. 12.1 Vdc - this is fine... however, when I switch to the square wave input, I can only make the op amp change state if I tweak the pot... and I mean by just a hair. It seems the pot adjustment is at or near the same level whether Vin is 14.X Vdc or 8.2 Vdc square wave. You would think that the difference in voltage would mean there is a greater difference in the pot range.
Once again, the circuit works 100% on my test bench, but all laws of electronics seem to go out the window when I connect this to my car.
What might I be overlooking?
Thanks for any replies.