< Return to Video

Kirchoffs example

  • 0:01 - 0:06
    Okay, this interesting question came up
    in class and so let's take a look at it.
  • 0:06 - 0:11
    We want to be able to find all
    of the currents in the circuit,
  • 0:11 - 0:12
    I1, 2, 3, 4, 5, and 6.
  • 0:12 - 0:16
    So our total number of unknowns, N = 6.
  • 0:16 - 0:20
    The first thing I'm going to do is
    define the polarity of all of these,
  • 0:20 - 0:22
    plus on the tail minus on the tip.
  • 0:22 - 0:29
    Plus to minus, plus to minus, and plus
    to minus, plus to minus, plus to minus.
  • 0:30 - 0:33
    Then the next thing I'll do
    is color all of my nodes so
  • 0:33 - 0:35
    that we can kinda more
    clearly see the circuit.
  • 0:35 - 0:40
    There's one node right there,
    here's another node here.
  • 0:43 - 0:47
    Another node right there.
  • 0:47 - 0:52
    And there are two ordinary nodes here
    we're not going to end up using them.
  • 0:52 - 0:55
    And we could use this node right here,
    except the other nodes are already going
  • 0:55 - 0:57
    to have taken care of it by
    the time we get to that point.
  • 0:57 - 1:00
    So let's start by drawing
    our loop equations,
  • 1:00 - 1:03
    Kirchhoff's loops, loop equations.
  • 1:03 - 1:06
    This is loop number one,
    let's start right here.
  • 1:06 - 1:11
    We're going to the minus part of I2,
  • 1:11 - 1:16
    so it's -I2(9 ohms) + I4(6
  • 1:16 - 1:22
    ohms) + I6(6 ohms) + 6 volts = 0.
  • 1:22 - 1:24
    Now let's do this loop,
    let's call that loop number 2.
  • 1:26 - 1:30
    As we're moving through here,
  • 1:30 - 1:35
    we can see we're going to -I6(6
  • 1:35 - 1:44
    ohms) + I5(6 ohms)- I1(9
    ohms) + 6 volts = 0.
  • 1:44 - 1:48
    Now we need to do one more loop,
    we can either do a loop all the way around
  • 1:48 - 1:51
    the outside, or
    we can do a small loop right here.
  • 1:51 - 1:55
    Let me just do that small loop just for
    fun, so
  • 1:55 - 2:00
    we'll start there, this is loop number 3,
  • 2:00 - 2:08
    -I4(6 ohms)- I3(9 ohms),
    and -I5(6 ohms) back to 0.
  • 2:08 - 2:11
    Okay that's three loop equations and
    they have covered
  • 2:11 - 2:15
    all of the elements in my circuit, every
    single element has been touched by a loop.
  • 2:15 - 2:18
    So if I do any more loop equations,
    I will have redundant loops.
  • 2:18 - 2:20
    Now, it's time for
    me to do node equations.
  • 2:20 - 2:23
    So let's do this node equation right here,
  • 2:23 - 2:27
    that would be equation number 4,
    that is the V2 node.
  • 2:27 - 2:30
    What we'll do is say all
    the currents coming in,
  • 2:30 - 2:33
    I4 is equal to all the currents going out,
    I5 + I6.
  • 2:34 - 2:39
    Now let's do the V3 node that
    would be equation number 5,
  • 2:39 - 2:45
    what's coming in there, looks like I3 is
    coming in and going out is I2 and I4.
  • 2:45 - 2:50
    Our last equation is going to
    be this green node, the V4 node.
  • 2:50 - 2:57
    And what's coming in, I5 and
    I1 are coming in and I3 is going out.
  • 2:57 - 3:01
    So those were our Kirchhoff's equations,
    let's convert them now to matrix form.
  • 3:01 - 3:07
    I'm going to have a 6 by 6 matrix
    because I'm going to have unknowns,
  • 3:07 - 3:11
    I1, I2, I3, I4, I5, and I6.
  • 3:11 - 3:16
    I'm just writing them for convenience
    across the top, and equations 1,
  • 3:16 - 3:22
    2, 3, 4, 5 and 6, that's just written for
    convenience as well.
  • 3:22 - 3:28
    And then I write my unknowns here
    in this vector, 3, 4, 5 and 6 and
  • 3:31 - 3:34
    this will be my vector of constants.
  • 3:34 - 3:40
    Okay, so let's look at our first equation,
    I1 times 0, I2 times -9,
  • 3:40 - 3:44
    I3 times 0, I4 times 6,
    I5 times 0, I6 times 6 ohms.
  • 3:44 - 3:52
    And then I need to bring this 6 over
    here in order to be in the constants.
  • 3:52 - 3:56
    My second equation has 9 ohms- 9 ohms,
  • 3:56 - 4:01
    times I1, nothing times I2 or I3 or I4.
  • 4:01 - 4:06
    It has 6 ohms times I5, and
    it has -6 ohms times I6, and
  • 4:06 - 4:10
    this 6 volt also has to come
    over to the other side.
  • 4:10 - 4:15
    Right here we have 0, 0, I3 has -9,
  • 4:15 - 4:20
    I4 has -6, I5 has -6, and I6 has 0,
  • 4:20 - 4:25
    and there are no constants on this side.
  • 4:25 - 4:30
    Now let us do equation number 4,
    nothing times I1, I2, or I3.
  • 4:30 - 4:32
    We have to get these on the same
    side of the equation, so
  • 4:32 - 4:36
    I'm gonna bring this over here, so
    that whole equation will be equal to 0.
  • 4:36 - 4:41
    So what I will be writing is
    0 is equal to -I4 + I5 + I6,
  • 4:41 - 4:45
    so there's a -1 here,
    a 1 there and a 1 there.
  • 4:45 - 4:53
    Similarly, I'm going to bring this
    over here, 0, 1, -1, 1, 0, 0.
  • 4:53 - 4:58
    And in this last equation,
    let's bring that over here, so
  • 4:58 - 5:03
    we'll have 1 times I1, 0,
    -1, 0, 1 and 0, equal to 0.
  • 5:03 - 5:08
    So there's my matrix equation, just
    a minute, I'll put that into MATLAB and
  • 5:08 - 5:13
    give you a final answer but there's
    our solution to our matrix problem.
Title:
Kirchoffs example
Description:

Similar to problem 2.27 in our book.

more » « less
Video Language:
English
Duration:
05:19

English subtitles

Revisions