0:00:00.000,0:00:02.505 >> To wrap up our discussion on Op-amps, 0:00:02.505,0:00:05.533 let's see if we can understand how this negative feedback loop here 0:00:05.533,0:00:08.325 constraints the Op-amp output, 0:00:08.325,0:00:11.970 so that our ideal Op-amp approximations work. 0:00:11.970,0:00:14.550 We've pointed out that an Op-amp is designed as 0:00:14.550,0:00:18.890 a high-gain device such that V_out is equal to some A or A, 0:00:18.890,0:00:20.560 some really large number, 0:00:20.560,0:00:27.900 times the difference between V_p and V_n. A is on the order of 10_5, 0:00:27.900,0:00:31.005 say 50,000, 100,000, or something like that. 0:00:31.005,0:00:35.985 But our source, our power supply voltages, 0:00:35.985,0:00:40.480 are going to be significantly smaller than 10_5. 0:00:40.480,0:00:42.240 Which means that, say, 0:00:42.240,0:00:43.470 let's just put some numbers on here, 0:00:43.470,0:00:47.370 let's say that this is a plus or minus 15-volt source. 0:00:47.710,0:00:51.500 That means that the output voltage is constrained to 0:00:51.500,0:00:54.965 being within the range of plus or minus 15 volts. 0:00:54.965,0:00:56.445 If that's the case, 0:00:56.445,0:01:00.305 then this difference V sub p minus V sub n is going to have to be very small, 0:01:00.305,0:01:04.205 or V_p minus V_n is going to 0:01:04.205,0:01:10.310 equal V_out divided by A. V_out can't be any larger than 15 volts. 0:01:10.310,0:01:16.010 So, 15 volts divided by 10 to the fifth means that V_p minus V_n is relatively small. 0:01:16.010,0:01:18.575 That's our approximation, that's our assumption 0:01:18.575,0:01:23.905 that we used in deriving our ideal Op-amp approximations, 0:01:23.905,0:01:26.165 and the gains for these different amplifiers. 0:01:26.165,0:01:30.290 So, what is it about this feedback, this R_1, 0:01:30.290,0:01:37.275 R_2 voltage divider, that keeps V_p minus V_n so small? 0:01:37.275,0:01:39.185 Let's see if we can understand that. 0:01:39.185,0:01:40.970 To do that, let's just pick a few more numbers. 0:01:40.970,0:01:45.850 Let's say that R_1 is equal to four kiloohms, 0:01:45.850,0:01:50.430 and R_2 is equal to one kiloohm. 0:01:50.430,0:01:55.850 So, with that then V sub n is just a voltage divided portion of V_out. 0:01:55.850,0:02:02.130 So, V sub n is equal to V_out times 1 divided by 1 plus 4, that's 5. 0:02:02.130,0:02:06.460 So, V sub n is equal to one-fifth of V_out. 0:02:06.680,0:02:11.120 When analyzing loops, you make some assumptions and 0:02:11.120,0:02:15.155 then see what this circuit does to the assumptions that you've made. 0:02:15.155,0:02:19.150 So, let's assume that V sub p has been 0, 0:02:19.150,0:02:22.400 which means V_out would be 0, 0:02:22.400,0:02:24.230 and V sub n would be 0. 0:02:24.230,0:02:26.540 So, V sub p has been 0, 0:02:26.540,0:02:29.930 and it is transitioning to V sub p equals 2. 0:02:29.930,0:02:31.880 So, let's just say that it just switched, 0:02:31.880,0:02:36.660 and V sub p now equals 2 volts. All right. 0:02:36.660,0:02:40.550 An Op-amp doesn't change the output voltage instantaneously. 0:02:40.550,0:02:42.650 It's limited by something called the slew rate, 0:02:42.650,0:02:43.880 and it doesn't really matter what that is, 0:02:43.880,0:02:45.500 you'll learn more about that in later. 0:02:45.500,0:02:47.945 In later classes, we'll learn more about Op-amps. 0:02:47.945,0:02:51.615 The supply is to say that at an instantaneous change here, the input, 0:02:51.615,0:02:59.175 will have some delay before its output is singing or the changes in to the output. 0:02:59.175,0:03:04.050 In fact, what happens is V_out starts to grow, 0:03:04.050,0:03:05.820 and under these circumstances, 0:03:05.820,0:03:08.595 it would be heading towards A, 0:03:08.595,0:03:12.300 this big number, times V sub p which is 2, 0:03:12.300,0:03:16.215 minus V sub n. So, initially, 0:03:16.215,0:03:20.645 this V sub p minus V sub n is going to be about 2, it's right down here. 0:03:20.645,0:03:23.330 V_out would be heading towards, 0:03:23.330,0:03:24.700 is not going to get there. 0:03:24.700,0:03:26.420 This feedback to work it's going to constrain it, 0:03:26.420,0:03:28.540 but if it was just open circuit, 0:03:28.540,0:03:31.205 V_out would be heading towards A, 0:03:31.205,0:03:33.515 which in our case is 10 to the fifth, 0:03:33.515,0:03:35.540 times V sub p which is 2, 0:03:35.540,0:03:40.590 minus V sub n. All right. 0:03:40.590,0:03:44.540 Again, it can't get anywhere close to that because our power supplies are limited, 0:03:44.540,0:03:46.760 but it would saturate at plus or minus 15, 0:03:46.760,0:03:49.160 in this case it's saturated at 15 volts. 0:03:49.160,0:03:56.010 But look what happens, as V_out starts to grow, V sub n, 0:03:56.010,0:03:58.410 which is equal to one-fifth of V_out, 0:03:58.410,0:04:01.590 let's write that here one-fifth V_out, 0:04:01.590,0:04:05.175 V sub n now starts to grow also. 0:04:05.175,0:04:07.800 As V sub n starts to grow, 0:04:07.800,0:04:13.310 this difference here V_p minus V sub n starts to get smaller. 0:04:13.310,0:04:14.930 Let's write that down here. 0:04:14.930,0:04:17.404 As V_out starts to grow, 0:04:17.404,0:04:24.434 V sub n which is equal to one-fifth V_out starts to increase also, 0:04:24.434,0:04:25.995 and thus the difference, 0:04:25.995,0:04:29.340 V_p minus V sub n, 0:04:29.340,0:04:31.510 starts to get smaller. 0:04:31.510,0:04:33.620 V_out continues to grow, 0:04:33.620,0:04:39.275 it's still a number times a relatively small number times a big number. 0:04:39.275,0:04:41.390 So, V_out is going to continue to grow, 0:04:41.390,0:04:48.225 and it will continue to grow until it stabilizes at a voltage where in fact V_out 0:04:48.225,0:04:55.710 is equal to A times V sub p minus V_n, 0:04:55.710,0:05:02.970 but V_n is minus one-fifth V_out. 0:05:02.970,0:05:06.990 Let's say that again. V_out will continue to grow, 0:05:06.990,0:05:10.220 until it gets to the point where V_out is equal to 0:05:10.220,0:05:14.780 A times the difference V_p minus V sub n at V sub n is one-fifth V_out. 0:05:14.780,0:05:24.480 This point then becomes the stabilized value of V_out. 0:05:24.740,0:05:28.680 Okay. Let's solve this for V_out. 0:05:28.680,0:05:35.340 While distributing A, we've got V_out is equal 0:05:35.340,0:05:42.105 to AV sub p minus one-fifth AV_out. 0:05:42.105,0:05:44.975 Bring the one-fifth AV_out to the other side. 0:05:44.975,0:05:51.570 We've got a V_out plus one-fifth AV_out is equal to AV sub p, 0:05:51.570,0:05:59.100 factor out the V_out and you're going to get V_out times 1 plus one-fifth A, 0:05:59.100,0:06:01.095 that's a V_out there, 0:06:01.095,0:06:08.850 one-fifth A is equal to A times V sub p. So, V_out then stabilizes, 0:06:08.850,0:06:18.595 or the final value of V_out is equal to AV_p divided by one plus one-fifth of A. 0:06:18.595,0:06:22.100 Let's go ahead and plug in our numbers and see what V_out then would be. 0:06:22.100,0:06:25.610 So, V_out would equal A, 0:06:25.610,0:06:28.105 which is 10 to the fifth, 0:06:28.105,0:06:34.050 times V sub p which we just chose to be 2 divided 0:06:34.050,0:06:41.215 by 1 plus one-fifth of 10 to the fifth. 0:06:41.215,0:06:50.210 Plug that into a calculator and you get that V_out is equal to 9.9995 volts. 0:06:50.210,0:07:00.150 V_n, the sub-divided version of that would just be one-fifth of 9.9995 volts, 0:07:00.150,0:07:11.550 which is equal to 1.9999, 0:07:11.550,0:07:19.845 and thus V sub p minus V sub n is equal to two minus 1.9999, 0:07:19.845,0:07:28.230 or V sub p minus V sub n is equal to 0.0001 volts, 0:07:28.230,0:07:30.375 or one-tenth of a millivolt. 0:07:30.375,0:07:36.419 When you compare that difference, that 0.0001 volts, 0:07:36.419,0:07:39.615 the voltage here to here, 0:07:39.615,0:07:45.100 we see that's one-ten thousandth of a fold. 0:07:45.100,0:07:48.920 Our approximation again was that this voltage wasn't exactly 0, 0:07:48.920,0:07:52.730 but it was so small compared to V sub p which is 2, 0:07:52.730,0:07:57.050 or V sub n which turns out to be 1.9999 volts, 0:07:57.050,0:08:01.755 or V_out which turned out to be 9.9995 volts. 0:08:01.755,0:08:04.070 That this approximate or that 0:08:04.070,0:08:07.550 this voltage across here was so small that we can neglect it. 0:08:07.550,0:08:11.870 Thus, our approximation V sub p being approximately equal to 0:08:11.870,0:08:16.694 V sub n is true under linear conditions, 0:08:16.694,0:08:22.730 and this feedback, this voltage divider circuit right here, 0:08:22.730,0:08:27.600 constrains the value on V sub n, 0:08:27.600,0:08:29.745 thus constrain the value on V_out, 0:08:29.745,0:08:36.695 so that this approximation holds as long as we don't allow V sub s to get too big. 0:08:36.695,0:08:41.360 Under those circumstances this non-inverting amplifier then would have a gain of 0:08:41.360,0:08:49.500 1 plus 4 over 1 or a gain of 5. Pretty close.