1 00:00:00,000 --> 00:00:04,365 >> Hello, this is Dr. Cynthia Furse at the University of Utah, 2 00:00:04,365 --> 00:00:07,995 and today we're going to talk about RC and RL circuits. 3 00:00:07,995 --> 00:00:09,330 The question of the day is, 4 00:00:09,330 --> 00:00:11,310 how can you calculate the voltage and current in 5 00:00:11,310 --> 00:00:13,995 a circuit that has inductors and capacitors? 6 00:00:13,995 --> 00:00:15,720 In these cases, we're talking about 7 00:00:15,720 --> 00:00:18,405 a time domain circuit because we changed something, 8 00:00:18,405 --> 00:00:21,270 we move this switch from point one to point two for example, 9 00:00:21,270 --> 00:00:23,845 at some point t equals zero. 10 00:00:23,845 --> 00:00:26,660 We talked about RC and RL circuits last time, 11 00:00:26,660 --> 00:00:28,265 and we're going to review those again, 12 00:00:28,265 --> 00:00:30,080 and I'm going to give you 13 00:00:30,080 --> 00:00:34,165 a general procedure for being able to analyze these circuits. 14 00:00:34,165 --> 00:00:37,430 So let's review. Last time we talked about 15 00:00:37,430 --> 00:00:40,520 a circuit where the switch closed at time t equal to zero, 16 00:00:40,520 --> 00:00:44,060 connecting this resistor and capacitor to the voltage source. 17 00:00:44,060 --> 00:00:47,105 We discovered that the current went from zero, 18 00:00:47,105 --> 00:00:48,260 and suddenly jumped up, 19 00:00:48,260 --> 00:00:51,200 it changed instantly to Vs over R, 20 00:00:51,200 --> 00:00:53,885 and that the equation became Vs over R, 21 00:00:53,885 --> 00:00:55,565 e to the minus t over tau, 22 00:00:55,565 --> 00:00:57,305 where tau equals RC, 23 00:00:57,305 --> 00:00:58,910 and that is the time constant. 24 00:00:58,910 --> 00:01:00,635 At the time constant tau, 25 00:01:00,635 --> 00:01:05,435 this current has fallen down to 37 percent of its original value. 26 00:01:05,435 --> 00:01:08,870 The voltage on the other hand started out at zero and gradually 27 00:01:08,870 --> 00:01:13,000 rose to the value Vs. At the time constant tau, 28 00:01:13,000 --> 00:01:15,730 it had reached 63 percent of its maximum value, 29 00:01:15,730 --> 00:01:17,685 and here's the equation. 30 00:01:17,685 --> 00:01:20,150 So here's the current and voltage. 31 00:01:20,150 --> 00:01:21,550 What had really happened? 32 00:01:21,550 --> 00:01:23,085 We know that for a capacitor, 33 00:01:23,085 --> 00:01:26,780 the current can change instantly but the voltage cannot, 34 00:01:26,780 --> 00:01:28,445 the voltage changes slowly. 35 00:01:28,445 --> 00:01:31,270 At time t equal to zero when there is a sudden change, 36 00:01:31,270 --> 00:01:34,250 the capacitor acts like a short circuit because it starts 37 00:01:34,250 --> 00:01:37,460 to charge quickly and the current 38 00:01:37,460 --> 00:01:40,790 continues to dump charges onto the capacitor until it reach 39 00:01:40,790 --> 00:01:45,210 steady state when it's all charged up it acts like an open circuit. 40 00:01:45,350 --> 00:01:47,740 This is what it would look like. 41 00:01:47,740 --> 00:01:49,870 This is the voltage across the capacitor. 42 00:01:49,870 --> 00:01:52,840 If we put a square wave on this and you'd see that it would 43 00:01:52,840 --> 00:01:56,810 charge and discharge and charge and discharge and so on. 44 00:01:56,970 --> 00:02:01,975 So now let's consider a general procedure for analyzing this type of circuit. 45 00:02:01,975 --> 00:02:04,180 The first thing that we're going to do is calculate 46 00:02:04,180 --> 00:02:06,745 the initial conditions before anything has happened. 47 00:02:06,745 --> 00:02:08,425 This is when the switch is opened, 48 00:02:08,425 --> 00:02:10,780 we call it t equals zero minus, 49 00:02:10,780 --> 00:02:12,805 and this is before the switch closes, 50 00:02:12,805 --> 00:02:15,190 and we need to find the current and voltage there. 51 00:02:15,190 --> 00:02:18,230 At steady-state, we know that the capacitor is an open circuit, 52 00:02:18,230 --> 00:02:21,025 and in fact the current because the switch is 53 00:02:21,025 --> 00:02:25,435 open is zero and the voltage across the capacitor is zero also. 54 00:02:25,435 --> 00:02:28,300 Then we need to consider the initial condition, 55 00:02:28,300 --> 00:02:29,920 this is when the switch is closed, 56 00:02:29,920 --> 00:02:31,720 that's time t equals zero plus, 57 00:02:31,720 --> 00:02:33,010 it's just barely closed, 58 00:02:33,010 --> 00:02:35,300 and we need to find the current and the voltage. 59 00:02:35,300 --> 00:02:36,829 When the current closes, 60 00:02:36,829 --> 00:02:39,350 this capacitor acts like a short circuit, 61 00:02:39,350 --> 00:02:42,290 the current can change instantly but the voltage cannot. 62 00:02:42,290 --> 00:02:49,925 So i of zero is not going to be the same thing as i0 minus, 63 00:02:49,925 --> 00:02:52,220 it's going to quickly go to Vs over 64 00:02:52,220 --> 00:02:56,150 R. The voltage on the other hand is the same as zero minus, 65 00:02:56,150 --> 00:02:58,730 it's going to stay at zero. 66 00:02:58,730 --> 00:03:01,550 The next thing that we're going to do is find 67 00:03:01,550 --> 00:03:03,980 the conditions at time t equal infinity, 68 00:03:03,980 --> 00:03:06,785 when the capacitor is fully charged up. 69 00:03:06,785 --> 00:03:10,205 In that case, the capacitor acts like an open circuit. 70 00:03:10,205 --> 00:03:12,920 The current is now zero and the voltage goes to 71 00:03:12,920 --> 00:03:16,445 the original voltage source or 10 volts, in this case. 72 00:03:16,445 --> 00:03:19,775 The next thing that we do is evaluate the time constant. 73 00:03:19,775 --> 00:03:21,110 For a circuit like this, 74 00:03:21,110 --> 00:03:23,075 the time constant is RC. 75 00:03:23,075 --> 00:03:24,770 I just made some notes here, 76 00:03:24,770 --> 00:03:29,010 because we're going to be using the form e to the minus t over tau, 77 00:03:29,010 --> 00:03:33,200 just remember that e to the negative one is 0.37, 78 00:03:33,200 --> 00:03:35,420 that's where the 37 percent comes from, 79 00:03:35,420 --> 00:03:37,985 and one minus e to the one is 0.63, 80 00:03:37,985 --> 00:03:40,765 that's where the 63 percent comes from. 81 00:03:40,765 --> 00:03:44,450 The next thing that we do is we use a general voltage equation, 82 00:03:44,450 --> 00:03:46,160 the general form of the voltage across 83 00:03:46,160 --> 00:03:49,220 the capacitor right here is where VC is, 84 00:03:49,220 --> 00:03:51,260 the general form of the voltage across 85 00:03:51,260 --> 00:03:53,585 the capacitor is the voltage at infinity, 86 00:03:53,585 --> 00:03:57,530 plus the difference of voltages at DC and infinity, 87 00:03:57,530 --> 00:04:01,850 and e to the minus t over tau multiplied by the step function. 88 00:04:01,850 --> 00:04:04,240 The step function just looks like this. 89 00:04:04,240 --> 00:04:06,390 Then if we plug in our values, 90 00:04:06,390 --> 00:04:10,070 we're going to get VS plus zero minus VS times this exponent, 91 00:04:10,070 --> 00:04:13,650 which gives us the form that we derived yesterday. 92 00:04:13,660 --> 00:04:16,190 Now let's consider what would happen if 93 00:04:16,190 --> 00:04:17,930 the switch closed at some different time, 94 00:04:17,930 --> 00:04:21,260 it wasn't time t equals zero, it was time t0. 95 00:04:21,260 --> 00:04:23,960 Everything would be the same except that we would 96 00:04:23,960 --> 00:04:28,230 substitute t minus zero for both the cases here. 97 00:04:28,940 --> 00:04:33,365 So in general, the first thing that we do is we find the initial conditions. 98 00:04:33,365 --> 00:04:35,510 We start before the switch closes and then 99 00:04:35,510 --> 00:04:37,925 we find the conditions after the switch closes. 100 00:04:37,925 --> 00:04:41,000 We then find the final conditions and we 101 00:04:41,000 --> 00:04:44,755 remember that the capacitor is a short circuit when it's charging, 102 00:04:44,755 --> 00:04:47,185 and an open circuit when it's fully charged. 103 00:04:47,185 --> 00:04:50,330 We then find the time constant which is RC, 104 00:04:50,330 --> 00:04:53,090 and we plug everything into this equation right here, 105 00:04:53,090 --> 00:04:55,130 or if the switch closed at a different time, 106 00:04:55,130 --> 00:04:56,815 this is the equation we use. 107 00:04:56,815 --> 00:04:59,050 Finally, if we want to find the current, 108 00:04:59,050 --> 00:05:01,730 just use this equation right here which shows that the 109 00:05:01,730 --> 00:05:04,699 current is capacitance times the derivative of voltage, 110 00:05:04,699 --> 00:05:07,765 and that will give you the equations shown here. 111 00:05:07,765 --> 00:05:11,060 Now let's review the RL circuit. 112 00:05:11,060 --> 00:05:14,480 This is again when the switch closes at t equal to zero, 113 00:05:14,480 --> 00:05:17,420 and we want to find out what happens to the voltage and current. 114 00:05:17,420 --> 00:05:20,495 If you recall, the current here changes gradually, 115 00:05:20,495 --> 00:05:24,650 it started out as zero and then it gradually builds up to Vs over R, 116 00:05:24,650 --> 00:05:28,385 reaching 63 percent of its value at the time constant, 117 00:05:28,385 --> 00:05:31,010 the time constant in this case is L over 118 00:05:31,010 --> 00:05:35,740 R. The voltage on the other hand does change quickly across an inductor, 119 00:05:35,740 --> 00:05:40,130 it started out at zero and it jumped up very quickly to the value of Vs. 120 00:05:40,130 --> 00:05:42,110 It has reached and then it sags, 121 00:05:42,110 --> 00:05:46,280 and it reaches 37 percent of its value at the time constant L over 122 00:05:46,280 --> 00:05:50,870 R. So this is what the current and voltage look like for an inductor. 123 00:05:50,870 --> 00:05:53,960 Oops, this is supposed to be an inductor and not a capacitor. 124 00:05:53,960 --> 00:05:57,740 The voltage changes instantly but the current changes slowly. 125 00:05:57,740 --> 00:06:00,680 When there is a sudden change across an inductor, 126 00:06:00,680 --> 00:06:04,355 the inductor acts like an open circuit and when it has reached steady-state, 127 00:06:04,355 --> 00:06:06,335 it acts like a short. 128 00:06:06,335 --> 00:06:08,360 So this is what it would look like. 129 00:06:08,360 --> 00:06:11,480 Here's the voltage that we would see across 130 00:06:11,480 --> 00:06:16,140 an inductor if we put a square wave across it. 131 00:06:17,210 --> 00:06:21,470 Now let's talk about the general solution procedure for RL. 132 00:06:21,470 --> 00:06:24,185 It works very much the same way as a capacitor does. 133 00:06:24,185 --> 00:06:27,559 We start with the initial condition before the switch has closed, 134 00:06:27,559 --> 00:06:29,975 we find out that the current and the voltage 135 00:06:29,975 --> 00:06:33,505 before the switch has closed are both zero once again. 136 00:06:33,505 --> 00:06:36,410 Then we look to see what happens when we first 137 00:06:36,410 --> 00:06:39,005 close the switch at t equals zero plus, 138 00:06:39,005 --> 00:06:41,030 and we need to find the current and voltage. 139 00:06:41,030 --> 00:06:43,865 Remember that the current does not change suddenly, 140 00:06:43,865 --> 00:06:47,030 so the current at time t equals zero is going to be the current 141 00:06:47,030 --> 00:06:50,850 at t equals zero minus or zero in this case. 142 00:06:50,850 --> 00:06:53,610 Then, we look at to see what the voltage is. 143 00:06:53,610 --> 00:06:56,645 The inductor is open when the current first starts to flow, 144 00:06:56,645 --> 00:06:58,730 and so that makes the voltage the 145 00:06:58,730 --> 00:07:02,270 Vs. Now we need 146 00:07:02,270 --> 00:07:03,890 to go to find what's going to happen in 147 00:07:03,890 --> 00:07:05,945 the steady state or the final conditions, 148 00:07:05,945 --> 00:07:09,305 then we look to see what the current is going to be, and in this case, 149 00:07:09,305 --> 00:07:12,740 the inductor is going to be a short circuit because 150 00:07:12,740 --> 00:07:16,490 it is now able to fully take all of the current that's going through it, 151 00:07:16,490 --> 00:07:19,460 so the current at infinity is Vs over R, 152 00:07:19,460 --> 00:07:21,625 and the voltage is zero. 153 00:07:21,625 --> 00:07:26,130 Next we need to consider the time constant which for an inductor is L over R, 154 00:07:26,130 --> 00:07:29,515 and again remember that the same exponent apply. 155 00:07:29,515 --> 00:07:33,655 Then we use this equation for the current. 156 00:07:33,655 --> 00:07:37,075 It looks very similar to the voltage equation for the capacitor. 157 00:07:37,075 --> 00:07:39,010 Plugging all of our things in, 158 00:07:39,010 --> 00:07:45,370 we come up with exactly the same current equation that we had last time. 159 00:07:45,370 --> 00:07:48,220 So here's the general solution procedure. 160 00:07:48,220 --> 00:07:51,850 You start at t equals zero minus and analyze the voltage and current, 161 00:07:51,850 --> 00:07:55,205 and then you convert those over to t equals zero plus. 162 00:07:55,205 --> 00:07:57,280 You then find the final conditions and the time 163 00:07:57,280 --> 00:08:00,070 constant and plug them into these equations. 164 00:08:00,070 --> 00:08:02,800 If we want to find the voltage instead of the current, 165 00:08:02,800 --> 00:08:04,150 remember that the voltage is 166 00:08:04,150 --> 00:08:08,040 the inductance times the derivative of the current. 167 00:08:08,260 --> 00:08:12,770 Now let's consider a general's Thevenin solution procedure. 168 00:08:12,770 --> 00:08:15,680 In this case, we break this circuit where we are looking at 169 00:08:15,680 --> 00:08:18,995 the capacitance or inductance and we look into the circuit, 170 00:08:18,995 --> 00:08:21,800 and then we go back to our equations I just 171 00:08:21,800 --> 00:08:24,545 gave you and replace Vs with V Thevenin, 172 00:08:24,545 --> 00:08:28,980 and replace R with R Thevenin in all of the equations. 173 00:08:29,170 --> 00:08:32,345 So that's an evaluation of the question of the day. 174 00:08:32,345 --> 00:08:34,250 How can you calculate the voltage and current in 175 00:08:34,250 --> 00:08:36,950 a circuit that has inductors or capacitors? 176 00:08:36,950 --> 00:08:39,770 Go back to the two general solution procedures that I gave 177 00:08:39,770 --> 00:08:43,559 you and practice those with some of the examples.