Re: Simple comparator with delay?



On Fri, 13 Jul 2007 21:25:54 -0000, MRW <mr.whatever@xxxxxxxxx>
wrote:

Hi all!

I have this:
http://bayimg.com/fADbOAABN

The image shows the input and output voltages given certain
conditions. I'd like the output to equal Vsupply+ when the input
voltage passes the voltage reference. But I'd also like the output to
have delay so that it does not go to Vsupply- until a x seconds after
the input voltage drops below the reference voltage.

Will the circuit that I included work?

---
No.
---

I figured if I charge the
capacitor at the input then depending on the parallel resistor then
its discharge will take sometime.

---
The source will discharge it in as long as it took to charge it.

Try this: (View in Courier)


+5V>---------+------+--------+
| | |
VIN>---+ [R1] | [4K7]
| | | |
[POT]<--------|-\ |
| | | >------+
| +--+--|+/ LM393 |
| | | | |
| [R2] +---|--[1M]--+-----+------A
| | | | | NAND Y--+-->OUT
GND>---+-----+------+ +-+-+ +-+-+ +-B |
| | | | | |
A B A B | |
| |
Y Y | A--+
| | +-Y NAND
+-----+ B--+
| |
[1N4148] |
|K |
+-----+------------+
| |+
[Rt] [Ct]
| |
GND GND

You haven't mentioned anything about what your input signal looks
like or what OFF delay you want, so I couldn't put in many values.

Also, the pot might be able to be eliminated or replaced with a
couple of resistors.


All of the gates are parts of a quad 2-input NAND with inputs 'A'
and 'B' and outputs 'Y'


--
JF
.



Relevant Pages

  • Re: LM78XX imput/output capacitors
    ... the input capacitor doesn't replace the filter capacitor. ... What's relevant is the discharge period. ... first determine the peak DC needed into the regulator. ... Where Vin is the peak input voltage to the regulator, ...
    (sci.electronics.design)
  • Re: LM78XX imput/output capacitors
    ... the input capacitor doesn't replace the filter capacitor. ... What's relevant is the discharge period. ... discharge time boundary created when the rise of voltage from the ... determine the length of the capacitor's discharge time. ...
    (sci.electronics.design)
  • Re: LM78XX imput/output capacitors
    ... the input capacitor doesn't replace the filter capacitor. ... What's relevant is the discharge period. ... discharge time boundary created when the rise of voltage from the ... first determine the peak DC needed into the regulator. ...
    (sci.electronics.design)
  • Re: Capacitor charging curve
    ... discharging to some voltage so it coincides with the voltage ... If you discharge it using a bipolar transistor, ... interested in small valued inductors and capacitors. ... which I have fitted a probe to for measuring surface mount capacitors. ...
    (sci.electronics.basics)
  • Re: Capacitor charging curve
    ... discharging to some voltage so it coincides with the voltage ... If you discharge it using a bipolar transistor, ... which I have fitted a probe to for measuring surface mount capacitors. ...
    (sci.electronics.basics)

Loading