< Return to Video

L4 2 6 Difference AmplifierChap 4

  • 0:00 - 0:05
    >> This amplifier circuit is referred to as a difference amplifier.
  • 0:05 - 0:08
    As the name suggests, we're going to see that at the output,
  • 0:08 - 0:16
    we're going to find the difference or the subtraction of V2 and V1 or V2 minus V1.
  • 0:16 - 0:17
    Before we get started on this circuit,
  • 0:17 - 0:19
    and before you analyze this circuit,
  • 0:19 - 0:21
    let's just make a few observations.
  • 0:21 - 0:26
    First of all, in the circuit that we've analyzed involving Op-amps until now,
  • 0:26 - 0:30
    the sources have been on either the inverting terminal,
  • 0:30 - 0:32
    or the non-inverting terminal.
  • 0:32 - 0:37
    This configuration has sources V1 connected to the inverting terminal and V2
  • 0:37 - 0:41
    connected to the non-inverting terminal albeit through
  • 0:41 - 0:45
    this resistive network before it gets to the non-inverting terminal.
  • 0:45 - 0:49
    That points out the fact that VP,
  • 0:49 - 0:53
    the voltage at the inverting terminal is not exactly V2.
  • 0:53 - 0:56
    So, what effect is this resistive network have?
  • 0:56 - 1:01
    Well, we know that the current going into the input of the Op-amp is zero.
  • 1:01 - 1:08
    Therefore, any current coming from V2 going through R3 will also go through R4.
  • 1:08 - 1:10
    R3 and R4 are in series with each other,
  • 1:10 - 1:12
    we have a voltage divider taking place here.
  • 1:12 - 1:20
    Thus, the voltage at the non-inverting terminal is the voltage across to R4.
  • 1:20 - 1:25
    It's not exactly V2 but a subdivided portion of V2.
  • 1:25 - 1:26
    Lets just go ahead and make that observation,
  • 1:26 - 1:27
    we'll do it up here because we need to keep room,
  • 1:27 - 1:29
    this is a fairly long derivation.
  • 1:29 - 1:32
    Let's just say that V sub p,
  • 1:32 - 1:35
    the voltage of the non-inverting terminal is going to equal
  • 1:35 - 1:43
    V2 times R4 over R3 plus R4.
  • 1:43 - 1:49
    So, V sub p is just a little less than V2.
  • 1:49 - 1:53
    Now keeping in mind, we have the virtual short between the terminals,
  • 1:53 - 1:59
    that then means that V sub n is equal to V sub p which is equal to that.
  • 1:59 - 2:02
    This should give us a little bit of flavor of what's going on here.
  • 2:02 - 2:04
    We know that sources connected to
  • 2:04 - 2:09
    the non-inverting terminal in our non-inverting amplifier configuration had a gain
  • 2:09 - 2:11
    that is slightly larger than
  • 2:11 - 2:17
    the gain experienced by sources connected to the inverting terminal.
  • 2:17 - 2:22
    The non-inverting gain was one plus R2 over R1,
  • 2:22 - 2:25
    whereas the inverting gain was negative of course,
  • 2:25 - 2:27
    just R2 over R1.
  • 2:27 - 2:32
    So, this voltage divider circuit is intended to
  • 2:32 - 2:38
    reduce V2 down just a little bit so that at the output,
  • 2:38 - 2:43
    V2 and V1 will experience the same gain,
  • 2:43 - 2:48
    and this circuit then we'll implement a true subtraction.
  • 2:48 - 2:54
    All right. So, with that,
  • 2:54 - 2:57
    let's go ahead and start our analysis of this by doing
  • 2:57 - 3:01
    exactly what we've done in the other circuits involving amplifiers,
  • 3:01 - 3:06
    and that is write a node equation summing the currents leaving the inverting terminal.
  • 3:06 - 3:10
    Again, we'll do it in terms of V sub n until we get things simplify then will substitute
  • 3:10 - 3:15
    V sub n for V sub p which is going to be V2 times R4 over R3 plus R4.
  • 3:15 - 3:18
    So, KCL at the node.
  • 3:18 - 3:20
    We got the current leaving the node going this way.
  • 3:20 - 3:26
    That's going to be V sub n minus V1 divided by R1,
  • 3:26 - 3:31
    plus the current going this way through the feedback loop is going to be,
  • 3:31 - 3:33
    and we're adding that in,
  • 3:33 - 3:38
    V sub n minus Vout divided by R2.
  • 3:38 - 3:40
    There's no current going into the inverting terminal,
  • 3:40 - 3:44
    so we only have those two terms that must add to give us zero.
  • 3:44 - 3:47
    Now, combining terms and factoring out the V sub n,
  • 3:47 - 3:56
    then we've got V sub n times one over R1 plus one over R2,
  • 3:56 - 4:07
    and then we have minus V1 over R1.
  • 4:07 - 4:10
    We still have this minus Vout over R2,
  • 4:10 - 4:16
    lets take it to the other side as a positive, Vout over R2.
  • 4:16 - 4:19
    Now, let's get a common denominator here.
  • 4:19 - 4:29
    So, we have V sub n times R1 plus R2 over R1 times R2,
  • 4:29 - 4:36
    minus V1 over R1 equals Vout over R2.
  • 4:37 - 4:42
    Now, we're going to multiply both sides of the equation by R2,
  • 4:42 - 4:46
    to solve for Vout and we'll reverse the order of the equation.
  • 4:46 - 4:51
    We're left with then Vout is equal to,
  • 4:51 - 4:54
    multiplying both sides by R2,
  • 4:54 - 4:57
    we have an R2 here that's kind of cancel that R2.
  • 4:57 - 5:07
    So, we're left with then V sub n times R1 plus R2 over R1,
  • 5:07 - 5:18
    minus V1 times R2 over R1.
  • 5:18 - 5:21
    Okay, so we've got the two terms.
  • 5:21 - 5:24
    We have the inverting term here,
  • 5:24 - 5:26
    V1 times R2 over R1.
  • 5:26 - 5:28
    We have V sub n,
  • 5:28 - 5:34
    now we need to replace V sub n with V2 over
  • 5:34 - 5:41
    R4 over R3 plus R4 so that we can see the dependency of the output on V2.
  • 5:41 - 5:43
    Let's do that on up here.
  • 5:43 - 5:48
    We've got the Vout is equal to V sub n,
  • 5:48 - 5:56
    then V sub n is equal to V2 times R4 over R3 plus R4.
  • 5:56 - 6:05
    So that's V sub n times R1 plus R2 over R1.
  • 6:05 - 6:15
    That's our first term, minus V1 times R2 over R1.
  • 6:15 - 6:18
    Thus, we see that we have different gain terms.
  • 6:18 - 6:22
    We've got this multiplying effect here,
  • 6:22 - 6:27
    minus V1 times R2 over R1.
  • 6:27 - 6:29
    We've got a couple more steps to take until we get there,
  • 6:29 - 6:32
    but let's be explicit and show all of our work here.
  • 6:32 - 6:38
    First of all, let's notice that this term here R1 plus R2 over R1,
  • 6:38 - 6:40
    R1 is a common denominator to both of them.
  • 6:40 - 6:42
    That then gives us,
  • 6:42 - 6:44
    if we identify that as such,
  • 6:44 - 6:51
    let's just write this then as R4 over R3 plus R4,
  • 6:51 - 6:54
    times R1 over R1.
  • 6:54 - 7:00
    That's just one plus R2 over R1,
  • 7:00 - 7:06
    minus V1 times R2 over R1.
  • 7:10 - 7:14
    We see that this term right here really is just
  • 7:14 - 7:18
    that the gain term for the non-inverting amplifier,
  • 7:18 - 7:21
    there's the gain term for the inverting amplifier.
  • 7:21 - 7:26
    Here's this voltage divider term which is taking V2 and subdividing it just a little bit.
  • 7:26 - 7:31
    Now, what we want to do is determine the relationships between R1, R2, R3,
  • 7:31 - 7:36
    and R4 that will make it so that this gain term right here,
  • 7:36 - 7:41
    multiplying V2, is the same as the gain term
  • 7:41 - 7:47
    multiplying V1 with the obvious exception that V1 it's got the minus sign on it.
  • 7:47 - 7:50
    All right. In order to do that,
  • 7:50 - 7:57
    we're going to factor in R3 out of the denominator of this term right here.
  • 7:58 - 8:02
    So, we have then equals
  • 8:02 - 8:07
    V2 factoring in R3 out and I'm also going to bring the R4 out in front.
  • 8:07 - 8:09
    So, we'll have, let's see,
  • 8:09 - 8:16
    R4 over R3 times one
  • 8:16 - 8:20
    over factor in the R3 that leaves
  • 8:20 - 8:24
    as a one plus factoring in R4 out there it leads me to R3,
  • 8:24 - 8:28
    refactoring R3 out of this term here leaves me
  • 8:28 - 8:32
    an R3 in the denominator or I have a R4 over
  • 8:32 - 8:39
    R3 times one plus R2 over
  • 8:39 - 8:47
    R1 minus V1 times R2 over R1.
  • 8:47 - 8:53
    Kind of a mess but we've got this V2 times R4 over R3 then
  • 8:53 - 8:58
    multiplying this one divided by one plus R4 over R3.
  • 8:58 - 9:03
    Then multiplying this one plus R2 over R1.
  • 9:03 - 9:06
    Just a second, I'm going to ask you to stop the video.
  • 9:06 - 9:07
    Let me observe first of all,
  • 9:07 - 9:13
    that this gain term here will equal this gain term here,
  • 9:13 - 9:22
    if the ratio of R4 over R3 equals the ratio of R2 over R1.
  • 9:22 - 9:30
    If the ratio R4 over R3 equals R2 over R1,
  • 9:30 - 9:34
    then this term here in the denominator is the same as
  • 9:34 - 9:39
    this term here in the numerator and they will cancel.
  • 9:40 - 9:46
    We're left with simply then Vout is equal
  • 9:46 - 9:52
    to V2 times again R4 over R3 equals R2 over R1.
  • 9:52 - 9:57
    So, let's replace it here also, R2 over R1,
  • 9:57 - 10:04
    minus V1 times R2 over R1.
  • 10:06 - 10:10
    Now, if we factor out this R2 over R1,
  • 10:10 - 10:13
    we get then and this is where we've been trying to get this whole way.
  • 10:13 - 10:23
    Vout then is equal to R2 over R1 times V2 minus V1.
  • 10:23 - 10:28
    From here, you can see then why this is called a difference amplifier.
  • 10:28 - 10:31
    The output voltage is equal to a scaled version of
  • 10:31 - 10:37
    this source voltage minus this source voltage.
  • 10:37 - 10:42
    The usefulness of this amplifier configuration can't be overstated.
  • 10:42 - 10:44
    What this allows us to do and it's sometimes
  • 10:44 - 10:47
    also referred to as a differential amplifier.
  • 10:47 - 10:53
    It allows or this circuit will sample voltages at
  • 10:53 - 10:58
    two different points in a circuit and subtract one from the other.
  • 10:58 - 11:05
    In control circuits, this comparison is used to or they'll
  • 11:05 - 11:11
    wraps circuitry around it to drive that difference to zero.
  • 11:11 - 11:16
    This type of an amplifier becomes the core of
  • 11:16 - 11:18
    feedback systems or control systems where
  • 11:18 - 11:22
    one voltage is meant to control another voltage.
  • 11:22 - 11:27
    It also performs the obvious operation of taking one source and
  • 11:27 - 11:33
    subtracting it from another or adding in depending upon the size of the V1 and V2.
  • 11:33 - 11:37
    So, if I would say for now this is a very useful amplifier configuration
  • 11:37 - 11:41
    and you'll see more of it as you go on with
  • 11:41 - 11:45
    this course and then also into your linear electronics classes.
Title:
L4 2 6 Difference AmplifierChap 4
Description:

Derivation of the gain of a Differencing Operational Amplifier Circuit

more » « less
Video Language:
English
Duration:
11:45

English subtitles

Revisions