WEBVTT 00:00:02.140 --> 00:00:06.730 Alright, let's formalize our approach to mesh analysis. 00:00:06.730 --> 00:00:10.060 When analyzing a circuit using mesh analysis we first of all identify 00:00:10.060 --> 00:00:11.190 the meshes. 00:00:11.190 --> 00:00:15.300 Once again, a mesh is a closed loop that contains no other loops within it. 00:00:16.440 --> 00:00:19.249 We'll next assign variable names for each of the mesh currents. 00:00:20.750 --> 00:00:24.300 We'll then write KVL equations around each mesh in terms of the mesh current. 00:00:25.620 --> 00:00:30.880 And then at that point, we have a system of equations in terms of our mesh currents 00:00:30.880 --> 00:00:34.880 that simply need to be solved, and we've got the problem taken care of. 00:00:35.900 --> 00:00:38.770 Let's take a look at this circuit here. 00:00:38.770 --> 00:00:41.130 First of all, identify the meshes. 00:00:41.130 --> 00:00:47.110 We've got a mesh here on the left, we've got this upper mash, a lower mesh. 00:00:47.110 --> 00:00:51.720 And again, this outer loop is not a mesh because in this case it contains three 00:00:51.720 --> 00:00:53.750 different meshes within it. 00:00:53.750 --> 00:00:57.870 So we identify then or we define three different mesh currents, one for 00:00:57.870 --> 00:00:59.620 each of the meshes. 00:00:59.620 --> 00:01:04.879 We'll define the current In this mesh to be i1 and 00:01:04.879 --> 00:01:09.420 referenced in that direction, the mesh in the other, 00:01:09.420 --> 00:01:15.500 mesh current in this mesh we call i2 and the mesh current in this mesh we call i3. 00:01:16.900 --> 00:01:20.680 Lets go ahead now then and write the three 00:01:20.680 --> 00:01:25.700 Mesh equations in terms of I 1 and I 2 and I 3 starting right here. 00:01:27.190 --> 00:01:31.270 Going up this way we cross the voltage source going from minus to plus 00:01:31.270 --> 00:01:35.890 therefore it's a voltage increase and again that would be a negative V 0. 00:01:35.890 --> 00:01:41.730 Plus the votage drop across R1 is just R1 times I1. 00:01:43.130 --> 00:01:46.326 Now coming down across R2, we need to be carefully. 00:01:46.326 --> 00:01:51.200 The current through R2 00:01:51.200 --> 00:01:57.070 involves two different mis currents because we are going down at this point 00:01:57.070 --> 00:02:02.010 The current through here is gonna be the mesh current reference down which is I 1, 00:02:02.010 --> 00:02:06.190 minus I 2, which is referenced in the opposite direction. 00:02:06.190 --> 00:02:13.818 So we'll have then plus R 2 times I 1 minus I 2. 00:02:16.679 --> 00:02:19.270 Now continuing on down, across R5. 00:02:19.270 --> 00:02:26.648 The current flowing through R5 is going to be I1- I3. 00:02:32.727 --> 00:02:35.099 And those terms must then add to 0. 00:02:36.610 --> 00:02:39.360 Let's take a look at the top mesh. 00:02:39.360 --> 00:02:42.761 Starting right here and 00:02:42.761 --> 00:02:48.541 going up we've got R2 times the current 00:02:48.541 --> 00:02:53.481 flowing up which is I2 minus I1. 00:02:53.481 --> 00:02:58.384 And again let us just point out that the current going up 00:02:58.384 --> 00:03:03.607 I2 minus I1 In this equation is the opposite current that 00:03:03.607 --> 00:03:09.480 was flowing down which was I1- I2 and this equation. 00:03:09.480 --> 00:03:13.000 All right continuing on around we have in plus 00:03:14.760 --> 00:03:18.100 R3 times the current through R3 is simply I2. 00:03:20.020 --> 00:03:24.930 Coming back to the left through R4 we'll have plus R4 times the current 00:03:24.930 --> 00:03:29.877 flowing in R4, which 00:03:29.877 --> 00:03:35.753 is I2- I3. 00:03:40.790 --> 00:03:44.670 That brings us back to where we started so the sum of those terms must equal zero. 00:03:45.670 --> 00:03:49.540 And finally we do a KVL around this bottom 00:03:49.540 --> 00:03:54.040 mesh starting here and we'll have R five times 00:03:54.040 --> 00:03:58.536 the current flowing through R five in the direction we're going which is I three. 00:03:58.536 --> 00:03:59.972 Minus I1 00:04:05.475 --> 00:04:10.517 plus coming across here, plus R4 times 00:04:10.517 --> 00:04:15.720 the current flowing left to right in R4. 00:04:15.720 --> 00:04:21.399 In terms of the mesh currents is I3 minus i2 and 00:04:23.100 --> 00:04:28.640 than finally the current coming down here through that r6 will be r6 times i3 00:04:28.640 --> 00:04:33.730 and than some of those currents equal zero. 00:04:35.990 --> 00:04:37.330 Up here, lets just go ahead and 00:04:37.330 --> 00:04:42.060 complete this by factoring out the mesh currents and combining like terms. 00:04:42.060 --> 00:04:47.140 We have, for the top one, the top equation we've got I1 times R1. 00:04:47.140 --> 00:04:48.610 Let's see what we've got. 00:04:48.610 --> 00:04:50.800 R1 there, there and there. 00:04:50.800 --> 00:04:53.126 So, we've R1 plus R2 plus R5. 00:04:57.512 --> 00:05:02.602 + I2 times, we have one I2 term there, 00:05:02.602 --> 00:05:05.373 it's got a negative. 00:05:08.138 --> 00:05:15.930 R2 + I3 We've got one I3 term here with a negative sign in front of it. 00:05:15.930 --> 00:05:20.220 So that would be I + I3 times a negative R5. 00:05:20.220 --> 00:05:24.880 And the sum of those then equals, we've got the negative V0 that we 00:05:24.880 --> 00:05:27.759 need to bring over to the other side as a positive. 00:05:29.220 --> 00:05:34.260 V 0 combining like terms in the second equation we factor out the I 2 I'm 00:05:34.260 --> 00:05:39.190 sorry the I 1 here and I've got one 00:05:40.860 --> 00:05:46.660 I 1 term, it's got a negative on it so it'd be a negative 00:05:46.660 --> 00:05:51.380 R 2 Plus I2 times. 00:05:51.380 --> 00:05:54.660 You've got I2 here, here, and here. 00:05:54.660 --> 00:05:59.536 All positives will be R2 plus R3 plus R4. 00:05:59.536 --> 00:06:06.680 Plus R3 plus R4 and 00:06:06.680 --> 00:06:11.970 then our I3 turns There is only one. 00:06:13.720 --> 00:06:15.840 It's got a negative, so it'll be a negative R4. 00:06:18.690 --> 00:06:20.360 And the sum of those terms have to equal 0. 00:06:20.360 --> 00:06:26.280 And finally, the bottom equation here, factoring out the I1s to begin with. 00:06:26.280 --> 00:06:28.010 I've got an I1 term here. 00:06:29.400 --> 00:06:30.680 Times what is that? 00:06:30.680 --> 00:06:32.062 That's R5 isn't it? 00:06:34.547 --> 00:06:37.663 So I1's got a negative R5. 00:06:41.023 --> 00:06:41.550 Plus I2. 00:06:41.550 --> 00:06:45.920 once again there's only one I2 [INAUDIBLE] has a negative R4. 00:06:48.350 --> 00:06:49.140 Plus I3. 00:06:49.140 --> 00:06:53.272 And there are three I3 terms, 00:06:53.272 --> 00:07:01.308 I got R4 plus R5 plus R6, 00:07:01.308 --> 00:07:06.820 R4 + R5 + R6. 00:07:06.820 --> 00:07:10.060 And the sum of those has to equal 0. 00:07:10.060 --> 00:07:15.200 Plug it in, well, of course, with the values of the resistors and the V0, 00:07:15.200 --> 00:07:20.950 plug it in to your matrix solver or your solve button on your calculator, 00:07:20.950 --> 00:07:24.780 and you've got everything you need to calculate those mesh currents. 00:07:24.780 --> 00:07:27.790 Once you know the mesh currents you can calculate any branch voltage or 00:07:27.790 --> 00:07:30.290 branch current that you might be interested in.