WEBVTT 00:00:00.000 --> 00:00:04.365 >> Hello, this is Dr. Cynthia Furse at the University of Utah, 00:00:04.365 --> 00:00:07.995 and today we're going to talk about RC and RL circuits. 00:00:07.995 --> 00:00:09.330 The question of the day is, 00:00:09.330 --> 00:00:11.310 how can you calculate the voltage and current in 00:00:11.310 --> 00:00:13.995 a circuit that has inductors and capacitors? 00:00:13.995 --> 00:00:15.720 In these cases, we're talking about 00:00:15.720 --> 00:00:18.405 a time domain circuit because we changed something, 00:00:18.405 --> 00:00:21.270 we move this switch from point one to point two for example, 00:00:21.270 --> 00:00:23.845 at some point t equals zero. 00:00:23.845 --> 00:00:26.660 We talked about RC and RL circuits last time, 00:00:26.660 --> 00:00:28.265 and we're going to review those again, 00:00:28.265 --> 00:00:30.080 and I'm going to give you 00:00:30.080 --> 00:00:34.165 a general procedure for being able to analyze these circuits. 00:00:34.165 --> 00:00:37.430 So let's review. Last time we talked about 00:00:37.430 --> 00:00:40.520 a circuit where the switch closed at time t equal to zero, 00:00:40.520 --> 00:00:44.060 connecting this resistor and capacitor to the voltage source. 00:00:44.060 --> 00:00:47.105 We discovered that the current went from zero, 00:00:47.105 --> 00:00:48.260 and suddenly jumped up, 00:00:48.260 --> 00:00:51.200 it changed instantly to Vs over R, 00:00:51.200 --> 00:00:53.885 and that the equation became Vs over R, 00:00:53.885 --> 00:00:55.565 e to the minus t over tau, 00:00:55.565 --> 00:00:57.305 where tau equals RC, 00:00:57.305 --> 00:00:58.910 and that is the time constant. 00:00:58.910 --> 00:01:00.635 At the time constant tau, 00:01:00.635 --> 00:01:05.435 this current has fallen down to 37 percent of its original value. 00:01:05.435 --> 00:01:08.870 The voltage on the other hand started out at zero and gradually 00:01:08.870 --> 00:01:13.000 rose to the value Vs. At the time constant tau, 00:01:13.000 --> 00:01:15.730 it had reached 63 percent of its maximum value, 00:01:15.730 --> 00:01:17.685 and here's the equation. 00:01:17.685 --> 00:01:20.150 So here's the current and voltage. 00:01:20.150 --> 00:01:21.550 What had really happened? 00:01:21.550 --> 00:01:23.085 We know that for a capacitor, 00:01:23.085 --> 00:01:26.780 the current can change instantly but the voltage cannot, 00:01:26.780 --> 00:01:28.445 the voltage changes slowly. 00:01:28.445 --> 00:01:31.270 At time t equal to zero when there is a sudden change, 00:01:31.270 --> 00:01:34.250 the capacitor acts like a short circuit because it starts 00:01:34.250 --> 00:01:37.460 to charge quickly and the current 00:01:37.460 --> 00:01:40.790 continues to dump charges onto the capacitor until it reach 00:01:40.790 --> 00:01:45.210 steady state when it's all charged up it acts like an open circuit. 00:01:45.350 --> 00:01:47.740 This is what it would look like. 00:01:47.740 --> 00:01:49.870 This is the voltage across the capacitor. 00:01:49.870 --> 00:01:52.840 If we put a square wave on this and you'd see that it would 00:01:52.840 --> 00:01:56.810 charge and discharge and charge and discharge and so on. 00:01:56.970 --> 00:02:01.975 So now let's consider a general procedure for analyzing this type of circuit. 00:02:01.975 --> 00:02:04.180 The first thing that we're going to do is calculate 00:02:04.180 --> 00:02:06.745 the initial conditions before anything has happened. 00:02:06.745 --> 00:02:08.425 This is when the switch is opened, 00:02:08.425 --> 00:02:10.780 we call it t equals zero minus, 00:02:10.780 --> 00:02:12.805 and this is before the switch closes, 00:02:12.805 --> 00:02:15.190 and we need to find the current and voltage there. 00:02:15.190 --> 00:02:18.230 At steady-state, we know that the capacitor is an open circuit, 00:02:18.230 --> 00:02:21.025 and in fact the current because the switch is 00:02:21.025 --> 00:02:25.435 open is zero and the voltage across the capacitor is zero also. 00:02:25.435 --> 00:02:28.300 Then we need to consider the initial condition, 00:02:28.300 --> 00:02:29.920 this is when the switch is closed, 00:02:29.920 --> 00:02:31.720 that's time t equals zero plus, 00:02:31.720 --> 00:02:33.010 it's just barely closed, 00:02:33.010 --> 00:02:35.300 and we need to find the current and the voltage. 00:02:35.300 --> 00:02:36.829 When the current closes, 00:02:36.829 --> 00:02:39.350 this capacitor acts like a short circuit, 00:02:39.350 --> 00:02:42.290 the current can change instantly but the voltage cannot. 00:02:42.290 --> 00:02:49.925 So i of zero is not going to be the same thing as i0 minus, 00:02:49.925 --> 00:02:52.220 it's going to quickly go to Vs over 00:02:52.220 --> 00:02:56.150 R. The voltage on the other hand is the same as zero minus, 00:02:56.150 --> 00:02:58.730 it's going to stay at zero. 00:02:58.730 --> 00:03:01.550 The next thing that we're going to do is find 00:03:01.550 --> 00:03:03.980 the conditions at time t equal infinity, 00:03:03.980 --> 00:03:06.785 when the capacitor is fully charged up. 00:03:06.785 --> 00:03:10.205 In that case, the capacitor acts like an open circuit. 00:03:10.205 --> 00:03:12.920 The current is now zero and the voltage goes to 00:03:12.920 --> 00:03:16.445 the original voltage source or 10 volts, in this case. 00:03:16.445 --> 00:03:19.775 The next thing that we do is evaluate the time constant. 00:03:19.775 --> 00:03:21.110 For a circuit like this, 00:03:21.110 --> 00:03:23.075 the time constant is RC. 00:03:23.075 --> 00:03:24.770 I just made some notes here, 00:03:24.770 --> 00:03:29.010 because we're going to be using the form e to the minus t over tau, 00:03:29.010 --> 00:03:33.200 just remember that e to the negative one is 0.37, 00:03:33.200 --> 00:03:35.420 that's where the 37 percent comes from, 00:03:35.420 --> 00:03:37.985 and one minus e to the one is 0.63, 00:03:37.985 --> 00:03:40.765 that's where the 63 percent comes from. 00:03:40.765 --> 00:03:44.450 The next thing that we do is we use a general voltage equation, 00:03:44.450 --> 00:03:46.160 the general form of the voltage across 00:03:46.160 --> 00:03:49.220 the capacitor right here is where VC is, 00:03:49.220 --> 00:03:51.260 the general form of the voltage across 00:03:51.260 --> 00:03:53.585 the capacitor is the voltage at infinity, 00:03:53.585 --> 00:03:57.530 plus the difference of voltages at DC and infinity, 00:03:57.530 --> 00:04:01.850 and e to the minus t over tau multiplied by the step function. 00:04:01.850 --> 00:04:04.240 The step function just looks like this. 00:04:04.240 --> 00:04:06.390 Then if we plug in our values, 00:04:06.390 --> 00:04:10.070 we're going to get VS plus zero minus VS times this exponent, 00:04:10.070 --> 00:04:13.650 which gives us the form that we derived yesterday. 00:04:13.660 --> 00:04:16.190 Now let's consider what would happen if 00:04:16.190 --> 00:04:17.930 the switch closed at some different time, 00:04:17.930 --> 00:04:21.260 it wasn't time t equals zero, it was time t0. 00:04:21.260 --> 00:04:23.960 Everything would be the same except that we would 00:04:23.960 --> 00:04:28.230 substitute t minus zero for both the cases here. 00:04:28.940 --> 00:04:33.365 So in general, the first thing that we do is we find the initial conditions. 00:04:33.365 --> 00:04:35.510 We start before the switch closes and then 00:04:35.510 --> 00:04:37.925 we find the conditions after the switch closes. 00:04:37.925 --> 00:04:41.000 We then find the final conditions and we 00:04:41.000 --> 00:04:44.755 remember that the capacitor is a short circuit when it's charging, 00:04:44.755 --> 00:04:47.185 and an open circuit when it's fully charged. 00:04:47.185 --> 00:04:50.330 We then find the time constant which is RC, 00:04:50.330 --> 00:04:53.090 and we plug everything into this equation right here, 00:04:53.090 --> 00:04:55.130 or if the switch closed at a different time, 00:04:55.130 --> 00:04:56.815 this is the equation we use. 00:04:56.815 --> 00:04:59.050 Finally, if we want to find the current, 00:04:59.050 --> 00:05:01.730 just use this equation right here which shows that the 00:05:01.730 --> 00:05:04.699 current is capacitance times the derivative of voltage, 00:05:04.699 --> 00:05:07.765 and that will give you the equations shown here. 00:05:07.765 --> 00:05:11.060 Now let's review the RL circuit. 00:05:11.060 --> 00:05:14.480 This is again when the switch closes at t equal to zero, 00:05:14.480 --> 00:05:17.420 and we want to find out what happens to the voltage and current. 00:05:17.420 --> 00:05:20.495 If you recall, the current here changes gradually, 00:05:20.495 --> 00:05:24.650 it started out as zero and then it gradually builds up to Vs over R, 00:05:24.650 --> 00:05:28.385 reaching 63 percent of its value at the time constant, 00:05:28.385 --> 00:05:31.010 the time constant in this case is L over 00:05:31.010 --> 00:05:35.740 R. The voltage on the other hand does change quickly across an inductor, 00:05:35.740 --> 00:05:40.130 it started out at zero and it jumped up very quickly to the value of Vs. 00:05:40.130 --> 00:05:42.110 It has reached and then it sags, 00:05:42.110 --> 00:05:46.280 and it reaches 37 percent of its value at the time constant L over 00:05:46.280 --> 00:05:50.870 R. So this is what the current and voltage look like for an inductor. 00:05:50.870 --> 00:05:53.960 Oops, this is supposed to be an inductor and not a capacitor. 00:05:53.960 --> 00:05:57.740 The voltage changes instantly but the current changes slowly. 00:05:57.740 --> 00:06:00.680 When there is a sudden change across an inductor, 00:06:00.680 --> 00:06:04.355 the inductor acts like an open circuit and when it has reached steady-state, 00:06:04.355 --> 00:06:06.335 it acts like a short. 00:06:06.335 --> 00:06:08.360 So this is what it would look like. 00:06:08.360 --> 00:06:11.480 Here's the voltage that we would see across 00:06:11.480 --> 00:06:16.140 an inductor if we put a square wave across it. 00:06:17.210 --> 00:06:21.470 Now let's talk about the general solution procedure for RL. 00:06:21.470 --> 00:06:24.185 It works very much the same way as a capacitor does. 00:06:24.185 --> 00:06:27.559 We start with the initial condition before the switch has closed, 00:06:27.559 --> 00:06:29.975 we find out that the current and the voltage 00:06:29.975 --> 00:06:33.505 before the switch has closed are both zero once again. 00:06:33.505 --> 00:06:36.410 Then we look to see what happens when we first 00:06:36.410 --> 00:06:39.005 close the switch at t equals zero plus, 00:06:39.005 --> 00:06:41.030 and we need to find the current and voltage. 00:06:41.030 --> 00:06:43.865 Remember that the current does not change suddenly, 00:06:43.865 --> 00:06:47.030 so the current at time t equals zero is going to be the current 00:06:47.030 --> 00:06:50.850 at t equals zero minus or zero in this case. 00:06:50.850 --> 00:06:53.610 Then, we look at to see what the voltage is. 00:06:53.610 --> 00:06:56.645 The inductor is open when the current first starts to flow, 00:06:56.645 --> 00:06:58.730 and so that makes the voltage the 00:06:58.730 --> 00:07:02.270 Vs. Now we need 00:07:02.270 --> 00:07:03.890 to go to find what's going to happen in 00:07:03.890 --> 00:07:05.945 the steady state or the final conditions, 00:07:05.945 --> 00:07:09.305 then we look to see what the current is going to be, and in this case, 00:07:09.305 --> 00:07:12.740 the inductor is going to be a short circuit because 00:07:12.740 --> 00:07:16.490 it is now able to fully take all of the current that's going through it, 00:07:16.490 --> 00:07:19.460 so the current at infinity is Vs over R, 00:07:19.460 --> 00:07:21.625 and the voltage is zero. 00:07:21.625 --> 00:07:26.130 Next we need to consider the time constant which for an inductor is L over R, 00:07:26.130 --> 00:07:29.515 and again remember that the same exponent apply. 00:07:29.515 --> 00:07:33.655 Then we use this equation for the current. 00:07:33.655 --> 00:07:37.075 It looks very similar to the voltage equation for the capacitor. 00:07:37.075 --> 00:07:39.010 Plugging all of our things in, 00:07:39.010 --> 00:07:45.370 we come up with exactly the same current equation that we had last time. 00:07:45.370 --> 00:07:48.220 So here's the general solution procedure. 00:07:48.220 --> 00:07:51.850 You start at t equals zero minus and analyze the voltage and current, 00:07:51.850 --> 00:07:55.205 and then you convert those over to t equals zero plus. 00:07:55.205 --> 00:07:57.280 You then find the final conditions and the time 00:07:57.280 --> 00:08:00.070 constant and plug them into these equations. 00:08:00.070 --> 00:08:02.800 If we want to find the voltage instead of the current, 00:08:02.800 --> 00:08:04.150 remember that the voltage is 00:08:04.150 --> 00:08:08.040 the inductance times the derivative of the current. 00:08:08.260 --> 00:08:12.770 Now let's consider a general's Thevenin solution procedure. 00:08:12.770 --> 00:08:15.680 In this case, we break this circuit where we are looking at 00:08:15.680 --> 00:08:18.995 the capacitance or inductance and we look into the circuit, 00:08:18.995 --> 00:08:21.800 and then we go back to our equations I just 00:08:21.800 --> 00:08:24.545 gave you and replace Vs with V Thevenin, 00:08:24.545 --> 00:08:28.980 and replace R with R Thevenin in all of the equations. 00:08:29.170 --> 00:08:32.345 So that's an evaluation of the question of the day. 00:08:32.345 --> 00:08:34.250 How can you calculate the voltage and current in 00:08:34.250 --> 00:08:36.950 a circuit that has inductors or capacitors? 00:08:36.950 --> 00:08:39.770 Go back to the two general solution procedures that I gave 00:08:39.770 --> 00:08:43.559 you and practice those with some of the examples.