0:00:00.290,0:00:04.890 >> Now, let's go back to our original problem and suppose that we want to design 0:00:04.890,0:00:10.570 our output voltage to a be a linear combination of our input voltage and a constant. 0:00:10.580,0:00:13.800 Refer to table four dash three in your book, 0:00:13.800,0:00:17.865 and this will show you various Op-amp circuits that you already know how to design. 0:00:17.865,0:00:20.130 Inverting summers, non-inverting summers, 0:00:20.130,0:00:22.755 inverting and non-inverting amplifiers, 0:00:22.755,0:00:26.040 subtracting amplifiers and voltage followers, or buffers. 0:00:26.040,0:00:30.480 Let's figure out how to use these to design the systems that we want to build. 0:00:30.480,0:00:34.545 To do this, I've developed a set of system and circuit design cards. 0:00:34.545,0:00:37.530 One side of the card is the system side, 0:00:37.530,0:00:39.525 that tells us what operation is needed. 0:00:39.525,0:00:42.060 In this case, we would have a multiplier. 0:00:42.060,0:00:44.360 That's a non-inverting amplifier where 0:00:44.360,0:00:48.350 our input voltage is multiplied by some number greater than one, 0:00:48.350,0:00:51.410 to give us the output voltage, right here. 0:00:51.410,0:00:54.290 On the other side of the card is the circuit side. 0:00:54.290,0:00:56.390 This is the part that you would actually build. 0:00:56.390,0:00:59.660 The part that is shown on the front is the area that's within 0:00:59.660,0:01:05.670 this blue dashed line here and that shows you the design for a non-inverting amplifier. 0:01:07.670,0:01:11.465 So, here are two other system and circuit design cards. 0:01:11.465,0:01:12.570 Here's the system side, 0:01:12.570,0:01:14.075 here's the circuit side. 0:01:14.075,0:01:16.490 There's the non-inverting amplifier that you're used to, 0:01:16.490,0:01:20.660 here's an inverting amplifier where we multiply by a negative number. 0:01:20.660,0:01:25.130 While we're at it, let's also take a look at the very important input, 0:01:25.130,0:01:27.620 resistances for these circuits. 0:01:27.620,0:01:29.705 When I look into this circuit, 0:01:29.705,0:01:31.640 I'm going to run up against 0:01:31.640,0:01:35.130 the input resistance of the Op-amp which we know is very high. 0:01:35.130,0:01:40.685 So, Rin for a non-inverting amplifier is approximately equal to infinity. 0:01:40.685,0:01:43.190 But when I look into the inverting amplifier, 0:01:43.190,0:01:45.155 I know it looks infinite in this direction, 0:01:45.155,0:01:49.310 but my current is able to follow this path right here, 0:01:49.310,0:01:55.255 which means that it is not going to have an infinite input resistance. 0:01:55.255,0:01:56.715 So, in this case, 0:01:56.715,0:01:58.820 it's not equal to infinity. 0:01:58.820,0:02:03.785 That means I probably don't need a buffer if I'm doing a non-inverting amplifier, 0:02:03.785,0:02:10.050 but I do need a buffer right here if I am doing an inverting amplifier. 0:02:10.340,0:02:15.110 Here are two summers, the system design card and the circuit design card. 0:02:15.110,0:02:18.065 Again, let's take a look at the input resistance. 0:02:18.065,0:02:20.180 When I look into the inverting summer, 0:02:20.180,0:02:23.340 is that input resistance infinity? No, it isn't. 0:02:23.340,0:02:25.860 Rin is not equal to infinity, 0:02:25.860,0:02:30.035 so plan to use a buffer if you're using an inverting summer. 0:02:30.035,0:02:33.080 When I look into the non-inverting summer however, 0:02:33.080,0:02:35.270 that input resistance is close to 0:02:35.270,0:02:39.610 infinity and so I won't be needing a buffer for that device. 0:02:39.610,0:02:42.725 Here's another system and circuit design card. 0:02:42.725,0:02:44.960 This is a differencing amplifier, 0:02:44.960,0:02:48.140 where I will multiply both of my voltages by a constant, 0:02:48.140,0:02:49.640 but then I will subtract them. 0:02:49.640,0:02:52.530 Here's how I designed that system. 0:02:53.060,0:02:57.365 Switches are other important things that Op-amps are able to do. 0:02:57.365,0:03:01.460 Remember we talked about a single-pole double-throw switch in an example 0:03:01.460,0:03:07.425 previously where my Op-amp railed out between Vcc and minus Vcc. 0:03:07.425,0:03:11.150 That's the equivalent of doing a single-pole double-throw switch. 0:03:11.150,0:03:16.610 Here's a single-pole single-throw switch where it goes between Vcc and ground. 0:03:16.610,0:03:21.120 Here's the system design card and here's how you build the circuit. 0:03:21.590,0:03:25.100 Now, a buffer of course is a very important part of many of 0:03:25.100,0:03:27.890 our circuits and that's because I'm able to buffer 0:03:27.890,0:03:33.320 the input and output resistances of various devices so that I can design them separately. 0:03:33.320,0:03:34.685 That's the key idea. 0:03:34.685,0:03:37.030 Here is the symbol we often use for a buffer. 0:03:37.030,0:03:40.520 A buffer is a unity gain amplifier where we simply multiply 0:03:40.520,0:03:44.885 our input value by one in order to get our output voltage. 0:03:44.885,0:03:46.630 This is the system design card, 0:03:46.630,0:03:49.745 here's the circuit design card that shows us how to build it. 0:03:49.745,0:03:52.730 We simply connect the negative terminal, 0:03:52.730,0:03:57.740 the negative input to the output terminal and that gives us a gain of one. 0:03:57.740,0:04:00.260 When I look into the input of a buffer, 0:04:00.260,0:04:04.925 I can see that I'm going up against the input resistance of the Op-amp, 0:04:04.925,0:04:07.895 so, Rin for a buffer is always 0:04:07.895,0:04:12.240 approximately equal to infinity and that's why we like them so well. 0:04:12.560,0:04:15.740 So, let's talk about an example where we might want 0:04:15.740,0:04:18.454 to do a linear combination of voltages. 0:04:18.454,0:04:21.050 Perhaps these four voltages came from a series 0:04:21.050,0:04:23.480 of sensors and some of them we really trust, 0:04:23.480,0:04:25.970 we want to multiply them by a large number, 0:04:25.970,0:04:27.530 and some we don't trust quite as much, 0:04:27.530,0:04:29.870 we want to multiply them by a small number. 0:04:29.870,0:04:35.240 So, here's the equation that we might like to have in order to get our output voltage. 0:04:35.240,0:04:37.445 There are many ways we could build this circuit. 0:04:37.445,0:04:38.960 We could add things up first, 0:04:38.960,0:04:40.070 we could subtract them first, 0:04:40.070,0:04:41.510 we could multiply them. 0:04:41.510,0:04:45.050 Many different combinations could give us the same output voltage. 0:04:45.050,0:04:48.155 Then here's an example of the way that I chose to do it. 0:04:48.155,0:04:50.810 Here is an input resistance, sorry. 0:04:50.810,0:04:58.040 Here is an input voltage V1 another input voltage V2, V3, and V4. 0:04:58.040,0:05:02.900 I'm going to use a non-inverting amplifier to multiply the first voltage by three, 0:05:02.900,0:05:04.905 the second voltage by four, 0:05:04.905,0:05:06.885 the third voltage by five, 0:05:06.885,0:05:09.115 and the fourth voltage by eight. 0:05:09.115,0:05:13.000 I can design a non-inverting amplifier that will do this and I know 0:05:13.000,0:05:17.350 that I will be able to do that when I get to the circuit design side of the card. 0:05:17.350,0:05:21.950 Well, now that I have multiplied each of my voltages by their appropriate value, 0:05:21.950,0:05:25.165 I'm going to take the ones that are positive, right here, 0:05:25.165,0:05:28.955 and I'm going to put them into a non-inverting summer and add them up. 0:05:28.955,0:05:32.060 So, basically, I'm doing this operation and 0:05:32.060,0:05:35.555 here's the output of this non-inverting summer. 0:05:35.555,0:05:37.010 On the other side, 0:05:37.010,0:05:39.110 I'm going to take the minus five and the minus 0:05:39.110,0:05:41.690 eight and put them into an inverting summer. 0:05:41.690,0:05:47.590 So, I'm basically doing this part of the math and it's going to show up here. 0:05:47.590,0:05:50.660 Finally, I'm simply going to add them up and that gives me 0:05:50.660,0:05:53.760 V out on the other side using a non-inverting summer. 0:05:53.760,0:05:57.875 So, this is how I use the system design side of my card, 0:05:57.875,0:06:00.485 in order to design the operations, 0:06:00.485,0:06:03.455 the math, that I want my circuit to do. 0:06:03.455,0:06:08.690 Then I flip the cards over to the circuit side and it shows me how to build them. 0:06:08.690,0:06:11.030 The non-inverting amplifier of course, 0:06:11.030,0:06:13.820 has simply use two resistors and I design them so 0:06:13.820,0:06:16.760 that the gain is three, four, five, eight. 0:06:16.760,0:06:19.010 Whatever are my gains need to be. 0:06:19.010,0:06:23.795 Sorry. Then, I put them into a non-inverting summer, 0:06:23.795,0:06:28.325 an inverting summer, and finally a non-inverting summer as shown here. 0:06:28.325,0:06:31.310 Now that we know what circuits we're going to do, 0:06:31.310,0:06:33.950 let's take a look at the input resistances in 0:06:33.950,0:06:37.615 order to decide if we need to put buffers in the circuit. 0:06:37.615,0:06:41.600 So, remember that I can design each of these elements independently 0:06:41.600,0:06:45.140 as long as the input resistance is near infinity. 0:06:45.140,0:06:48.845 Here's my non-inverting summer and sure when I look in here, 0:06:48.845,0:06:51.830 Rin is approximately equal to infinity. 0:06:51.830,0:06:55.865 So, I do not need buffers on the lines going into this circuit. 0:06:55.865,0:06:59.000 When I look at the inverting summer however, 0:06:59.000,0:07:01.250 my input resistance is not close to 0:07:01.250,0:07:05.095 infinity and so I'm going to need a couple of buffers here. 0:07:05.095,0:07:07.805 So, right there I'm going to put a buffer on 0:07:07.805,0:07:11.660 either end of the inputs going into my inverting summer. 0:07:11.660,0:07:13.490 So, what does that mean? 0:07:13.490,0:07:18.530 It means that I can design this card completely separately from this one. 0:07:18.530,0:07:21.590 I can design that separately from the non-inverting summer, 0:07:21.590,0:07:24.080 separately from the inverting summer and so on, 0:07:24.080,0:07:26.240 until I have designed my complete circuit 0:07:26.240,0:07:29.910 and then I can hook it up in the fashion shown here. 0:07:30.920,0:07:36.790 Sometimes we draw those buffers as black triangles and included that new here as well. 0:07:37.090,0:07:39.980 Now, I'd like you to take a chance to read 0:07:39.980,0:07:41.990 through example four dash five in your book which is 0:07:41.990,0:07:46.205 a practical application of this to the design of an elevation sensor. 0:07:46.205,0:07:49.370 I'll let you take the time to work through that example and see if you 0:07:49.370,0:07:53.105 understand how the various elements of the system can be put together. 0:07:53.105,0:07:56.975 Here's the linear response that your sensor has, 0:07:56.975,0:08:00.795 and here's the output that you would like to receive. 0:08:00.795,0:08:03.450 See if you can design that circuit. 0:08:03.450,0:08:06.650 So, thank you very much for joining me today. 0:08:06.650,0:08:09.890 I'm sure you're dying with curiosity about what the front picture was. 0:08:09.890,0:08:11.110 This is White Canyon, 0:08:11.110,0:08:14.030 a nice ride in American Fork.