Op-amp comparator time delay

Thread Starter

RDC_EET

Joined Mar 13, 2017
15
Hello,

I have a functioning op-amp comparator that I am using to compare a reference voltage with an input voltage from an amplifier. I am using the output of the comparator to trip a normally closed relay. Now, I am attempting to add a time delay of about 2 seconds before the comparator will output Vcc. I have found a picture that represents my comparator good enough.
upload_2017-4-2_16-53-2.png
Am I able to create a time delay by adding a capacitor in parallel with R2(resistor below Vref)?

Thanks.
 

crutschow

Joined Mar 14, 2008
34,464
Am I able to create a time delay by adding a capacitor in parallel with R2(resistor below Vref)?
Not if you want a delay for the Vin signal.

For that, connect a resistor (Rin) in series with Vin and capacitor (Cin) to ground after that.
If the bottom Vref resistor (say 20kΩ) is made to be twice the value of the top Vref resistor (say 10kΩ), then the Vout delay to go high will be about Rin × Cin.

Thus for a two second delay you could make Rin = 100kΩ and Cin = 20μf.

See LTspice simulation below:

upload_2017-4-2_16-49-34.png
 
Last edited:
Top