Comparator/Schmitt Trigger 'low' is too high!

Discussion in 'General Electronics Chat' started by dannybeckett, Oct 6, 2010.

  1. dannybeckett

    Thread Starter Active Member

    Dec 9, 2009
    163
    0
    Hi guys, I've made the schmitt trigger circuit 2/3 the way down this page -

    http://www.swarthmore.edu/NatSci/echeeve1/Class/e72/E72L2/Lab2(OpAmp).html

    When I tested this circuit with an LED everything seemed fine. I then inserted a transistor to the output stage which made the LED light continuously. I measured the voltage at the op amps output - the circuit was still working, but the 'low' voltage was about 1.5V! High is about 15V.

    I switched back the LED and I observed the same thing, but the LED responded as if the low was 0V (completely turned off). Maybe to do with the op amps output current limitations? Anyway that isn't the issue here, I'm using this circuit to drive a relay so I need that transistor in the output stage. How can I make the op amps 'low' voltage 0V? I'm using a single rail power supply by the way.

    Cheers guys!
     
  2. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    You could use a pair of diodes to get a 1.4 to 1.5v drop, or a resistor in series with the transistor.

    Your opamp likely will not go to 0v without a split supply.

    I would try the diode drop, or the resistor to get closer to 0. Depending on the transistor you are using, you will need to drop that voltage below ~.7v to shut it off.

    If you have a negative supply available, use it. It will make your life that much easier.
     
  3. dannybeckett

    Thread Starter Active Member

    Dec 9, 2009
    163
    0
    Unfortunately I dont have one available in this circuit. Ive put a 100K resistor inbetween the base and output of the op amp, it did help, the LED dims when the op amp is off and is bright when it is on. I think the string of diodes is the solution to this problem, albeit a lame one (that isnt a dig at you btw lol)
     
  4. eblc1388

    Senior Member

    Nov 28, 2008
    1,542
    102
    You really need *TWO* resistors, forming a voltage divider to drive the transistor properly from the input voltage of range of 1.5V ~15V.

    Try 22K from Schmitt Trigger output to transistor base, with 10K from transistor base to 0V.
     
  5. dannybeckett

    Thread Starter Active Member

    Dec 9, 2009
    163
    0
    i used both your ideas, v divider then a diode to the base. worked like a charm =]
     
  6. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    Good to hear.
    Im glad it worked out.
     
  7. dannybeckett

    Thread Starter Active Member

    Dec 9, 2009
    163
    0
    last update - the potential divider network was not allowing enough current through to switch on the transistor properly. It has been removed and replaced with 6 diodes which does work 100% =]
     
  8. tom66

    Senior Member

    May 9, 2009
    2,613
    214
    Instead of 6 diodes you could try a 4.3V zener in reverse bias. It's close enough to the 4.2V approximately dropped by the diodes.
     
  9. dannybeckett

    Thread Starter Active Member

    Dec 9, 2009
    163
    0
    good idea, ill try it.
     
  10. eblc1388

    Senior Member

    Nov 28, 2008
    1,542
    102
    Must be a huge LED then.

    You can use 1K and 2.2K as the divider instead.
     
  11. dannybeckett

    Thread Starter Active Member

    Dec 9, 2009
    163
    0
    LED is just an indicator, I attached a fan as a load and it wigged out lol
     
Loading...