< Return to Video

Real Analog: Circuits1.12b

  • 0:06 - 0:10
    >> Now, I want to spend some time talking about operational amplifiers.
  • 0:10 - 0:16
    Operational amplifiers are a device that gets used a lot in electrical circuits.
  • 0:16 - 0:18
    You will see them over and over again this semester.
  • 0:18 - 0:21
    They get used a lot in instrumentation systems.
  • 0:21 - 0:24
    They get used a lot in control systems, etc, etc.
  • 0:24 - 0:27
    They're quite often the basis for electrical circuits,
  • 0:27 - 0:30
    which perform mathematical operations.
  • 0:30 - 0:33
    That's why they're called operational amplifiers.
  • 0:33 - 0:38
    Now, there's one point that has to be made very clear up front.
  • 0:38 - 0:40
    These are not a passive device.
  • 0:40 - 0:43
    So far, with the exception of our power sources,
  • 0:43 - 0:48
    all of our circuit elements have been passive than resistors, essentially.
  • 0:48 - 0:55
    That means that the energy delivered by the circuit to the element is non-negative.
  • 0:55 - 1:01
    This element does not create power out of somewhere else and provide it to the circuit.
  • 1:01 - 1:06
    Okay, it has to get any energy that it has from the circuit.
  • 1:07 - 1:11
    Operational amplifiers are in active device.
  • 1:11 - 1:16
    Okay. They will deliver power to your circuit.
  • 1:16 - 1:24
    The way they deliver power to your circuit is because they have an external power supply.
  • 1:24 - 1:28
    There's some other magical device somewhere that is feeding
  • 1:28 - 1:32
    these guys power, which these guys can then provide to your circuit.
  • 1:32 - 1:37
    I will tend to abbreviate operational amplifiers as op-amps.
  • 1:37 - 1:42
    That's very common, primarily, just to save syllables.
  • 1:42 - 1:45
    Quick overview of operational amplifiers.
  • 1:45 - 1:48
    We're going to think of operational amplifiers as a device.
  • 1:48 - 1:52
    It's something that performs some task.
  • 1:52 - 1:56
    So, we're going to think of them as a black box.
  • 1:56 - 1:59
    There is a bunch of internal circuitry in these guys.
  • 1:59 - 2:02
    We won't be analyzing these on that level.
  • 2:02 - 2:04
    Okay. They're going to be a black box that has
  • 2:04 - 2:07
    essentially some input output characteristic.
  • 2:07 - 2:09
    That's all we care about.
  • 2:09 - 2:14
    One of the drawbacks of dealing with things this way is that it may
  • 2:14 - 2:18
    appear as if KCL and KVL don't apply to these guys.
  • 2:18 - 2:20
    That's not true.
  • 2:20 - 2:26
    If you model the internal circuitry, these guys do satisfy KVL and KCL.
  • 2:26 - 2:30
    It's just that there's something very complicated going on inside there.
  • 2:30 - 2:32
    Number one, they've got an external power supply that's
  • 2:32 - 2:35
    feeding them current or voltage or whatever,
  • 2:35 - 2:38
    that we are generally not going to worry too much about when we're
  • 2:38 - 2:42
    looking at the op-amp as part of an overall circuit.
  • 2:42 - 2:46
    So, what we're going to end up with are several rules
  • 2:46 - 2:49
    for how the op-amp is going to behave.
  • 2:49 - 2:54
    Okay. Those are based on an analysis of the internal circuitry,
  • 2:54 - 2:56
    but we aren't going to worry about that translation.
  • 2:56 - 2:58
    We're just going to have a few rules that we're going to say
  • 2:58 - 3:00
    this is the way this device behaves,
  • 3:00 - 3:05
    we're going to forget about it until a 400-level class later on.
  • 3:05 - 3:09
    So, we're going to use op-amps to perform operations,
  • 3:09 - 3:13
    but we don't need to actually design and build the operational amplifiers
  • 3:13 - 3:19
    themselves or analyze them on a detailed level at this stage in our career.
  • 3:19 - 3:26
    Here's a schematic of a very common 741 operational amplifier.
  • 3:26 - 3:28
    You can see that it's pretty complex.
  • 3:28 - 3:32
    It has a whole bunch of bipolar junction transistors in it.
  • 3:32 - 3:36
    It has a bunch of resistors. It has a couple of inputs.
  • 3:36 - 3:41
    It has an output. It has a couple of external power supplies and
  • 3:41 - 3:44
    it's got some stuff here that we don't even need to worry about yet.
  • 3:44 - 3:48
    But we aren't going to deal with this internal view of
  • 3:48 - 3:52
    the operational amplifier, we're going to treat it as a black box.
  • 3:52 - 3:57
    Okay, our high level view of an operational amplifier is going to be to
  • 3:57 - 4:02
    represent it just as this rightward pointing triangle.
  • 4:02 - 4:07
    This device has three terminals. There are two input terminals.
  • 4:07 - 4:10
    They have a positive and a negative sign associated with
  • 4:10 - 4:14
    them and one output terminal here.
  • 4:14 - 4:20
    V_n is the voltage applied at the inverting or negative input terminal.
  • 4:20 - 4:27
    V_p is the voltage applied at the non-inverting or positive input terminal.
  • 4:27 - 4:32
    The out comes at the output of the operational amplifier.
  • 4:32 - 4:35
    Now, there are a number of parameters that
  • 4:35 - 4:40
    this operational amplifiers operation is going to be characterized relative to.
  • 4:40 - 4:44
    They're not necessarily these individual values, they're something else.
  • 4:44 - 4:47
    The first of these is the difference in
  • 4:47 - 4:51
    voltage between the inverting and non-inverting terminals.
  • 4:51 - 4:54
    The change in voltage between V_p and V_n.
  • 4:54 - 5:03
    So, Delta V_in is V_p minus V sub n. That's the voltage difference.
  • 5:03 - 5:07
    Keep in mind that generally, according to our operational amplifier behavior,
  • 5:07 - 5:10
    we don't care what these individual voltages are,
  • 5:10 - 5:13
    we just care what the difference is between them.
  • 5:13 - 5:16
    The other thing that you use to characterize
  • 5:16 - 5:21
    operational amplifier behavior are the currents into the input terminals.
  • 5:21 - 5:26
    We'll have some current into the positive or non-inverting terminal and
  • 5:26 - 5:30
    some other current into the negative or inverting terminal.
  • 5:30 - 5:32
    Okay, these parameters are what we're going to base
  • 5:32 - 5:36
    our rules of operational amplifier behavior on.
  • 5:36 - 5:40
    Now, I want to provide the rules by which we will
  • 5:40 - 5:43
    characterize the operational amplifiers behavior.
  • 5:43 - 5:46
    In order to do that, I want to give a slightly more
  • 5:46 - 5:49
    complete symbol for the operational amplifier.
  • 5:49 - 5:55
    I said that the operational amplifier requires an external power supply to do its job.
  • 5:55 - 5:58
    The power supplies are provided here and here.
  • 5:58 - 6:01
    There are actually two additional terminals
  • 6:01 - 6:04
    that we need to worry about for five terminals in all.
  • 6:04 - 6:08
    Generally, when I'm analyzing a circuit, I'll leave these off
  • 6:08 - 6:12
    and just in the back of my mind, recognize that they're there,
  • 6:12 - 6:15
    but for right now, I need to put them back in.
  • 6:15 - 6:20
    Now, I said earlier, that the operation is going to be characterized by this difference in
  • 6:20 - 6:27
    voltage delta V_in and the currents into the non-inverting and inverting input terminals.
  • 6:27 - 6:30
    So, when we see one of these devices,
  • 6:30 - 6:33
    we're going to make the following assumptions.
  • 6:33 - 6:38
    These assumptions are relative to ideal operational amplifiers.
  • 6:38 - 6:42
    We will assume that the current into
  • 6:42 - 6:47
    the non-inverting and the inverting input terminals are both zero.
  • 6:47 - 6:52
    This device is not accepting any power into these terminals.
  • 6:52 - 6:57
    So, any power that comes into the output comes from the power
  • 6:57 - 7:01
    supplies that you've connected up here and here.
  • 7:01 - 7:05
    We're also going to assume that the difference in voltage
  • 7:05 - 7:10
    between the positive and negative terminals has to be zero.
  • 7:11 - 7:24
    Therefore, V_p is going to be equal to V_n.
  • 7:24 - 7:31
    One other thing has to be true for operational amplifiers, this output voltage.
  • 7:31 - 7:40
    The amount of output voltage you can get here is constrained by these two power supplies.
  • 7:40 - 7:45
    This voltage has to be greater than the negative power supply
  • 7:45 - 7:49
    and less than the positive power supply,
  • 7:49 - 7:51
    and those are strict inequalities.
  • 7:51 - 7:54
    Generally, most operational amplifiers you can only get to within
  • 7:54 - 7:59
    a volt or two of your power supply voltages.
  • 8:00 - 8:04
    Okay, a few points about operational amplifier behavior.
  • 8:04 - 8:07
    The output current is generally not known,
  • 8:07 - 8:11
    you cannot make any assumptions relative to the output current.
  • 8:11 - 8:15
    Right? It's provided by the external power supplies.
  • 8:15 - 8:18
    That's where people sometimes early on get themselves into trouble.
  • 8:18 - 8:20
    They say, "Okay, there's no current into the input terminals,
  • 8:20 - 8:23
    but I've got some current out of the output terminals.
  • 8:23 - 8:25
    KCL doesn't apply." Well, it does.
  • 8:25 - 8:28
    The current coming out of the operational amplifier is
  • 8:28 - 8:30
    coming from the external power supplies,
  • 8:30 - 8:32
    you know nothing about those.
  • 8:32 - 8:35
    You don't know anything about the output current unless you
  • 8:35 - 8:39
    analyze the circuit to determine what that is.
  • 8:39 - 8:43
    In general, when I'm analyzing an operational amplifier,
  • 8:43 - 8:48
    I will start out by applying KCL at the input nodes.
  • 8:48 - 8:52
    Okay. It doesn't always cure all of your problems,
  • 8:52 - 8:56
    but it's generally a good place to start.
  • 8:56 - 9:03
    The operation of the operational amplifiers is generally based on Delta V_in.
  • 9:03 - 9:09
    If I look at this amplifier as an input-output relationship,
  • 9:09 - 9:14
    what it looks like is that I have some Delta V_in,
  • 9:14 - 9:20
    I multiply that by some large number K.
  • 9:20 - 9:28
    That gives me V_out.
  • 9:28 - 9:32
    Now, for an ideal operational amplifier,
  • 9:36 - 9:40
    we assume that K goes to infinity.
  • 9:40 - 9:44
    Okay. For non-ideal or realistic operational amplifiers,
  • 9:44 - 9:46
    K is on the order of millions.
  • 9:46 - 9:48
    We'll assume it's infinite.
  • 9:48 - 9:55
    Also, I mentioned earlier the output voltage is limited by the external power supplies.
  • 9:55 - 10:01
    Okay, your output voltage must be lower than the positive power supply.
  • 10:01 - 10:05
    It must be higher than the negative power supply.
  • 10:05 - 10:09
    These two things in conjunction with one another lead
  • 10:09 - 10:13
    us to the conclusion that Delta V_in has to be equal to zero,
  • 10:13 - 10:21
    because if V_out is infinity times Delta V_in and V_out must be finite.
  • 10:25 - 10:30
    Right, we can only apply so much voltage at the power supply terminals.
  • 10:30 - 10:33
    In order to make this a finite number,
  • 10:33 - 10:37
    if this is infinite, this guy has to be zero.
  • 10:40 - 10:47
    Okay, let's do an example of analyzing an operational amplifier based circuit.
  • 10:47 - 10:53
    Here is my op-amp. It has two inputs and one output, okay?
  • 10:53 - 10:58
    It also has some other voltage supplies and some resistors hanging around here,
  • 10:58 - 11:01
    and what I haven't shown are the external power supplies.
  • 11:01 - 11:07
    I generally won't show those. Generally, when I start out analyzing one of these,
  • 11:07 - 11:13
    the first thing I'm going to do is employ my op-amp rules, okay?
  • 11:13 - 11:18
    There is no voltage difference between the inverting and non-inverting terminals.
  • 11:18 - 11:23
    So this delta V is zero. I've tied the non-inverting terminal to ground.
  • 11:23 - 11:30
    So, this voltage is zero volts. That means that since I
  • 11:30 - 11:33
    can't have a voltage difference between here and here,
  • 11:33 - 11:36
    this voltage is zero volts.
  • 11:37 - 11:44
    Likewise, the current here into the non-inverting terminal is zero,
  • 11:44 - 11:49
    the current here into the inverting terminal is also zero.
  • 11:49 - 11:53
    Now, I've labeled everything that I know about this operational amplifier.
  • 11:53 - 12:00
    I can go ahead and analyze it to determine V_out, okay?
  • 12:00 - 12:04
    As usual, I'll start out applying KCL at an input node.
  • 12:04 - 12:07
    KCL at an input node is kind of a good idea,
  • 12:07 - 12:09
    because you already know something's there.
  • 12:09 - 12:12
    You know there's no current into the op-amp itself.
  • 12:12 - 12:18
    So if I call this node A and do KCL at A,
  • 12:19 - 12:24
    the current through R_in is this voltage,
  • 12:24 - 12:32
    V_in minus this voltage which the op amp is constraining to be zero volts over RN.
  • 12:32 - 12:36
    So V_in minus zero over R_in,
  • 12:36 - 12:41
    this current into this node is equal to this current out of the node,
  • 12:41 - 12:44
    because there's no current flow through this leg, here.
  • 12:44 - 12:50
    This current is this voltage minus this voltage over R_f.
  • 12:50 - 12:59
    So that's equal to zero minus V_out over R_f.
  • 12:59 - 13:01
    V_in, as my input voltage,
  • 13:01 - 13:02
    I don't know what it is,
  • 13:02 - 13:06
    but I have to be told it before I can determine a number for V_out.
  • 13:06 - 13:13
    So V_out, let's multiply this by R_f,
  • 13:13 - 13:21
    is R_f over Rn times V_in taking this negative sign over here.
  • 13:21 - 13:28
    V_out is equal to minus R_f over R_in times V_in.
  • 13:28 - 13:32
    So whatever you give me for V_in,
  • 13:32 - 13:35
    I'm going to multiply that by a number,
  • 13:35 - 13:37
    take the negative of that,
  • 13:37 - 13:42
    and this op-amp will give you that as V_out.
  • 13:43 - 13:46
    This has a particular name.
  • 13:46 - 14:02
    This is an inverting voltage amplifier, okay?
  • 14:02 - 14:05
    It's amplifying voltage.
  • 14:05 - 14:06
    You give it a voltage in,
  • 14:06 - 14:07
    it gives you a voltage out.
  • 14:07 - 14:09
    It inverts that.
  • 14:09 - 14:12
    The voltage out you get as the negative of the voltage in.
  • 14:12 - 14:14
    It is also amplifying that,
  • 14:14 - 14:18
    according to whatever you choose for R_f and R_in.
  • 14:18 - 14:22
    If R_f is 10 ohms and R_in is one ohms,
  • 14:22 - 14:25
    then this is going to be 10 and the output voltage is
  • 14:25 - 14:29
    going to be negative 10 times whatever the input voltage is.
  • 14:29 - 14:33
    Let's analyze another operational amplifier circuit.
  • 14:33 - 14:38
    I want to find V_out with this operational amplifier based circuit.
  • 14:38 - 14:42
    Notice, again, that I have my three terminal device.
  • 14:42 - 14:47
    It has some non-inverting and inverting terminal in and output terminal.
  • 14:47 - 14:50
    I'm not showing my power supplies,
  • 14:50 - 14:52
    but if I wired this circuit up in the lab,
  • 14:52 - 14:55
    I would need to provide power to it, okay?
  • 14:55 - 14:58
    So let's find V_out as a function of V_in.
  • 14:58 - 15:02
    The first thing I want to do is apply my op-amp rules.
  • 15:02 - 15:08
    This voltage source is insisting that
  • 15:08 - 15:13
    the voltage at the non-inverting terminal is going to be set to be V_in.
  • 15:13 - 15:17
    The op-amp itself is insisting that
  • 15:17 - 15:20
    there is no voltage difference between these two terminals,
  • 15:20 - 15:25
    therefore I must have voltage V_in at this terminal.
  • 15:25 - 15:30
    Therefore, this voltage here is V_in.
  • 15:30 - 15:36
    Now, I have no current into these terminals.
  • 15:36 - 15:44
    Notice, very importantly, this voltage source is not providing any power, okay?
  • 15:44 - 15:46
    The current out of the voltage source is zero.
  • 15:46 - 15:50
    It's not providing any power in order to create this output voltage.
  • 15:50 - 15:55
    Any power in this output signal is coming from the external power supplies.
  • 15:55 - 15:57
    So these currents are zero.
  • 15:57 - 15:59
    I know something about that current.
  • 15:59 - 16:04
    Now I'm going to my old fallback standard position.
  • 16:04 - 16:07
    I'm going to do KCL at the input nodes.
  • 16:07 - 16:12
    Let me call this node A. I'll apply a KCL there.
  • 16:12 - 16:18
    Let me say that this current through the resistor Rf is I_f,
  • 16:18 - 16:22
    and this current through R_1 is I_1,
  • 16:22 - 16:24
    and those are going to be my positive directions.
  • 16:24 - 16:31
    So KCL, at A, tells me that the current going into node A
  • 16:31 - 16:34
    is equal to the current coming out of node A,
  • 16:34 - 16:38
    so I_f is equal to I_1.
  • 16:38 - 16:43
    This current is zero, right?
  • 16:43 - 16:46
    I don't need to list it in my KCL.
  • 16:46 - 16:51
    Now, I_f is this voltage minus this voltage, over R_f.
  • 16:51 - 17:01
    So, V_out minus V_in over R_f is equal to the current going through here,
  • 17:01 - 17:04
    which is just V_in minus,
  • 17:04 - 17:05
    I'm going to take this as my reference,
  • 17:05 - 17:08
    it's going to be zero volts.
  • 17:09 - 17:15
    V_in minus zero over R_1.
  • 17:15 - 17:21
    So V_out over R_f is equal
  • 17:21 - 17:28
    to V_in over R_f taking this term over to the other side,
  • 17:28 - 17:33
    plus V_in over R_1.
  • 17:33 - 17:40
    Grouping terms, V_out is equal to R_f
  • 17:40 - 17:48
    times one over R_f plus one over R_1 times V_in.
  • 17:48 - 17:52
    This becomes a one plus R_f over R_1.
  • 17:52 - 18:00
    So therefore, V_out is equal
  • 18:00 - 18:07
    to one plus R_f over R_1 times V_in.
  • 18:11 - 18:16
    This device takes a voltage V_in,
  • 18:16 - 18:19
    multiplies it by a number,
  • 18:19 - 18:22
    and actually a positive number.
  • 18:22 - 18:24
    In order to get V_out,
  • 18:24 - 18:33
    this is a non-inverting voltage amplifier.
  • 18:37 - 18:42
    Okay, you're still amplifying voltage by taking your input voltage,
  • 18:42 - 18:45
    multiplying it by a number to get the output voltage,
  • 18:45 - 18:48
    but you're not changing the sign, it not-inverting.
  • 18:48 - 18:54
    Now one quick thing I want to point out about both this example and the previous one.
  • 18:54 - 18:58
    Both of these had a resistor which was
  • 18:58 - 19:02
    feeding back from the output to one of the input terminals.
  • 19:02 - 19:05
    That is very typical of op-amp based circuits.
  • 19:05 - 19:07
    It's generally called the feedback loop.
  • 19:07 - 19:14
    Almost invariably you will feedback from the output to the inverting input terminal.
  • 19:14 - 19:19
    That's necessary in order to keep this entire device stable.
  • 19:19 - 19:22
    If I feedback to the positive terminal,
  • 19:22 - 19:25
    generally this device will do what is called going unstable,
  • 19:25 - 19:28
    the output will try to go to infinity.
  • 19:28 - 19:32
    So what you'll have happen is that your output voltage will either
  • 19:32 - 19:36
    go to the positive or the negative voltage rail, and stay there.
  • 19:36 - 19:38
    It can't get to infinity,
  • 19:38 - 19:40
    but it's going to go as high as it can go,
  • 19:40 - 19:43
    and it's not going to come back.
  • 19:43 - 19:46
    Okay, this concludes Lecture 12.
  • 19:46 - 19:50
    Next lecture, we'll do some more work with operational amplifiers.
  • 19:50 - 19:53
    We'll look at their operation in a little bit more depth,
  • 19:53 - 19:58
    we'll talk more about the voltage rails applied by the power supplies,
  • 19:58 - 20:03
    and we'll start looking at them as dependent sources.
  • 20:03 - 20:06
    Okay, later on in your schooling career you'll see a lot of dependent sources.
  • 20:06 - 20:11
    We'll just start kind of looking at things in that way in this class.
Title:
Real Analog: Circuits1.12b
Description:

Course: "Real Analog", Circuits 1
Lecture 12b - Derivation of maximum power transfer
Related educational materials: Chapter 5.1 - 5.4

For the free "Real Analog" textbook and other information, please visit us at:
www.digilentinc.com/classroom/realanalog

more » « less
Video Language:
English
Duration:
20:18

English subtitles

Revisions