< Return to Video

op amp switch

  • 0:00 - 0:05
    >> In this video, I'd like to talk about using the op-amp as a voltage-controlled switch.
  • 0:05 - 0:08
    Basically, we put two different voltages Vp and
  • 0:08 - 0:12
    Vn into the positive and negative terminals of the op-amp.
  • 0:12 - 0:16
    Remember that there's going to be no current going into either
  • 0:16 - 0:20
    of these terminals if we assume that this op-amp is ideal.
  • 0:20 - 0:26
    So, in this case, what happens is V0 comes out as three different possibilities.
  • 0:26 - 0:31
    We've got a plus Vcc and a minus Vcc,
  • 0:31 - 0:36
    and then what's going to happen is V0 will equal to zero if V,
  • 0:36 - 0:38
    let me put an if statement right here.
  • 0:38 - 0:40
    If Vp is equal to Vn,
  • 0:40 - 0:45
    it's going to be equal to plus Vcc, if Vp is greater than
  • 0:45 - 0:53
    Vn and it's going to be minus Vcc, if the Vp is less than Vn.
  • 0:53 - 0:58
    So, in effect, the two voltages that we put in Vp and Vn are going to control
  • 0:58 - 1:01
    what our output voltage is and it's basically going to
  • 1:01 - 1:04
    rail out between the positive and negative Vcc.
  • 1:04 - 1:07
    Now, how could we use this as a switch?
  • 1:07 - 1:10
    Remember that no current is coming in from our input circuit right here.
  • 1:10 - 1:15
    So, this side is completely isolated from our output side.
  • 1:15 - 1:20
    Here's the input and here's the output and these two sides are isolated.
  • 1:20 - 1:25
    The current actually comes from our source right here, and it is used for V0.
  • 1:25 - 1:28
    So, we would be able to switch something on and off drawing the
  • 1:28 - 1:33
    current from the power supply for the op-amp.
  • 1:33 - 1:39
    If we wanted to do another possibility such as V0 is equal to zero, if they are equal,
  • 1:39 - 1:44
    and let's suppose we want it to be some positive voltage if Vp is equal to Vn,
  • 1:44 - 1:49
    and then maybe we would like it to be off if Vp is less than Vn.
  • 1:49 - 1:53
    On that case, what you would do is you would hook up your op-amp like
  • 1:53 - 1:57
    this with the plus and minus terminals and you'd hook it up to Vcc,
  • 1:57 - 2:00
    and then your negative Vcc would just be ground.
  • 2:00 - 2:02
    This value, right there.
  • 2:02 - 2:06
    That's how you'd be able to make the switch function just a little bit differently.
Title:
op amp switch
Description:

This is a super short video on the functional use of an op amp switch circuit. More detailed info is available at www.ece.utah.edu/~ece1250

more » « less
Video Language:
English
Duration:
02:10
CDStunes edited English subtitles for op amp switch

English subtitles

Revisions