< Return to Video

L(2-2) Kirchoffs Laws KVL,KCL

  • 0:03 - 0:06
    Hello, this is Dr. Cynthia Furse,
    from the University of Utah.
  • 0:06 - 0:08
    Today, we're going to talk
    about Kirchhoff's Laws.
  • 0:11 - 0:16
    Kirchhoff's Current Law says that the sum
    of the currents entering a node is = 0.
  • 0:16 - 0:20
    Or equivalently, the sum of
    currents leaving a node is 0, or
  • 0:20 - 0:24
    the sum of currents leaving is equal
    to the sum of currents entering a node.
  • 0:24 - 0:26
    So we can write the equation
    four different ways.
  • 0:26 - 0:30
    When we're talking about a node, we're
    talking about something like this right
  • 0:30 - 0:33
    here, that's in the center
    of all four of the wires.
  • 0:33 - 0:37
    Now, when we say the sum of
    the currents entering the node,
  • 0:37 - 0:43
    we can see that i1 and i4 are entering
    the node while i2 and i3 are leaving.
  • 0:43 - 0:47
    So we're going to say i1 + i4
    those are the currents entering.
  • 0:47 - 0:51
    And i2 which is leaving, we're gonna
    put it there with the minus sign and
  • 0:51 - 0:54
    i3 we're going to put with a minus sign.
  • 0:54 - 0:57
    When we write the equation where we have
    the sum of the currents leaving the node
  • 0:57 - 1:01
    is equal to 0, what we're doing is
    just switching the minus signs.
  • 1:01 - 1:06
    Minus and plus signs here, as you can see.
  • 1:06 - 1:09
    When we talk about the sum of the currents
    leaving is equal to the sum of
  • 1:09 - 1:10
    the currents entering.
  • 1:10 - 1:13
    Then you could say,
    here's the sum of the currents entering,
  • 1:13 - 1:15
    here's the sum of the currents leaving,
    and they are equal.
  • 1:15 - 1:19
    These four different ways of writing
    the node equation are all equivalent.
  • 1:19 - 1:23
    This is Kirchoff's Current Law, or KCL.
  • 1:23 - 1:27
    Kirchhoff's Voltage Law or
    KVL is the other law that we will use.
  • 1:27 - 1:31
    This says that the sum of the voltage
    around a closed path is = 0.
  • 1:31 - 1:35
    The way you do this is you
    run a loop like this, and
  • 1:35 - 1:40
    you just add up all of the voltage
    as you're going around the loop.
  • 1:40 - 1:45
    So for example,
    as we're going through here,
  • 1:45 - 1:50
    we say -VDC +, see there's the + V1 + V2,
  • 1:50 - 1:53
    and that's equal to 0.
  • 1:53 - 1:59
    So -VDC + V1 + V2 = 0.
  • 1:59 - 2:03
    Alternatively, we could say that the sum
    of all the voltage drops is equal to
  • 2:03 - 2:05
    the sum of all the voltage rises.
  • 2:05 - 2:12
    So the voltage rise is +VDC and
    the voltage drop is V1 + V2.
  • 2:12 - 2:14
    So there's just a convention
    that typically,
  • 2:14 - 2:17
    we use a systematic clockwise
    motion around the loop.
  • 2:17 - 2:19
    We could go counter clockwise, but
  • 2:19 - 2:22
    convention is just that
    we normally go clockwise.
  • 2:22 - 2:25
    We also assign a positive sign to
    the voltage across an element,
  • 2:25 - 2:29
    if the positive sign of that
    voltage is encountered first.
  • 2:29 - 2:32
    So that's why I was kinda circling
    this thing as I went to your + V1.
  • 2:35 - 2:39
    Now, let's talk about a simple circuit
    where we can apply KCL and KVL.
  • 2:39 - 2:44
    So here's our simple circuit,
    let's first apply the loop equation.
  • 2:44 - 2:47
    Right here's our loop and
    let's apply the equation.
  • 2:47 - 2:53
    So we can see minus,
    see we count the minus sign first,
  • 2:53 - 2:59
    -VDC + V1 + V2 = 0,
    that's the equation right here.
  • 2:59 - 3:06
    That is the KVL equation or
    the loop equation.
  • 3:06 - 3:10
    Now, let's examine the circuit,
    what do we know?
  • 3:10 - 3:13
    Well, VDC is defined that's 120 volts,
  • 3:13 - 3:18
    R1 is defined that's 10 ohms,
    R2 is defined that's 50 ohms.
  • 3:18 - 3:20
    What's unknown?
  • 3:20 - 3:23
    V1 and V2 are both unknown.
  • 3:23 - 3:26
    So if you remember from math,
    if you have two things that are unknown,
  • 3:26 - 3:28
    then you're going to need two equations.
  • 3:28 - 3:32
    But we only have one equation,
    so what else can we do?
  • 3:32 - 3:35
    Well Ohm's Law will give us two more
    equations, so why don't we try that?
  • 3:35 - 3:41
    So we can see here for example that if we
    have a current I1 that's running through
  • 3:41 - 3:48
    R1, we know that V1 = (I1) times (R1),
    we also know that V2 is (I2) times (R2).
  • 3:48 - 3:51
    Well, look, we got two more equations.
  • 3:51 - 3:55
    But we also have two more unknowns,
    I1 and I2.
  • 3:55 - 3:59
    So now, we have four unknowns and
    three equations.
  • 3:59 - 4:01
    So what we always need
    is one more equation and
  • 4:01 - 4:03
    this one's going to come from a node.
  • 4:03 - 4:07
    So here's our node equation right here,
    that's going to be our KCL.
  • 4:07 - 4:11
    And remember, that's the sum of the
    currents coming in to the node is equal to
  • 4:11 - 4:14
    the sum of the currents
    going out of the node.
  • 4:14 - 4:18
    So I1, which is all the currents
    coming into that node is equal to I2,
  • 4:18 - 4:20
    where the currents are going out.
  • 4:20 - 4:26
    So we now have four unknowns, V1, V2,
    I1, and I2, but we have four equations.
  • 4:26 - 4:27
    So now, we can solve it.
  • 4:27 - 4:30
    You're going to say, heavens.
  • 4:30 - 4:33
    It looks like we could have done this
    equation a whole lot simpler and
  • 4:33 - 4:34
    absolutely, you could have.
  • 4:34 - 4:41
    But what I'm showing you is the systematic
    way of handling the KCL and the KVL.
  • 4:41 - 4:44
    Okay, so now,
    let's actually solve this equation.
  • 4:44 - 4:48
    So here's our first
    equation where we have VDC.
  • 4:48 - 4:49
    Well, that's know.
  • 4:49 - 4:52
    We could substitute that in there and
    V1 and V2.
  • 4:52 - 4:56
    We know R1, we know R2,
    let's substitute those in there.
  • 4:56 - 5:02
    And we know that I1 = I2 so
    let's just call it a value I.
  • 5:02 - 5:07
    So just substituting in, what I'm
    gonna do is substitute I in there,
  • 5:07 - 5:10
    and I in here and of course,
    all of our constants.
  • 5:10 - 5:17
    This equation now becomes this right here,
    and I can solve if for I.
  • 5:17 - 5:22
    I = 120 volts, let's just bring
    in the 120 over to that side,
  • 5:22 - 5:27
    divided by the sum of 10 and
    50, so I = 2 amps.
  • 5:27 - 5:33
    Then if we wanted to know V1, we would
    just bring our 2 amps back up in here.
  • 5:33 - 5:36
    Let's substitute it into the equations for
    V1 and V2,
  • 5:36 - 5:41
    and you can see that we have 20 volts
    across 1 and 100 volt across the other.
  • 5:41 - 5:44
    Let's just do a quick check,
    let's just check our loop equation.
  • 5:44 - 5:48
    We have 120 volts, so that's -120
  • 5:48 - 5:53
    volts + 20 + 100 is that equal to 0?
  • 5:53 - 5:56
    Yes, it is, so
    we've been able to check our equation.
  • 5:58 - 6:01
    Now, what I showed you was
    an extremely simple circuit, and
  • 6:01 - 6:03
    yes, there's an easier
    way to solve the circuit.
  • 6:03 - 6:08
    But let's use it to define a cookbook that
    will let us do more complicated problems.
  • 6:08 - 6:11
    So if I were to set a cookbook for
    this I would say,
  • 6:11 - 6:15
    the first thing I would want to do
    is write down all known values.
  • 6:15 - 6:16
    What was known?
  • 6:16 - 6:19
    The 120 volts, the 10 ohms,
    and the 50 ohms.
  • 6:19 - 6:24
    Then I would keep track of all the unknown
    values as I went throughout my
  • 6:24 - 6:29
    circuit because I know that I need as
    many equations as I have unknowns.
  • 6:29 - 6:32
    Now, we would write all of the KVL or
    loop equations.
  • 6:32 - 6:37
    An important thing is that each new loop
    must pick up at least one new element,
  • 6:37 - 6:41
    like a new resistor or
    a new voltage element.
  • 6:41 - 6:43
    Also current sources,
  • 6:43 - 6:46
    which we'll talk about in a minute,
    can't be included in any loops.
  • 6:46 - 6:48
    Fourth, I'd write Ohm's Law.
  • 6:48 - 6:52
    In fact, I usually prefer to
    write Ohm's Law as I go just for
  • 6:52 - 6:55
    convenience because I know I'm
    going to have to apply it anyway.
  • 6:55 - 6:58
    Ohm's Law is just applying the current and
  • 6:58 - 7:02
    the resistor together to get the voltage
    any time we have a resistor.
  • 7:02 - 7:04
    Then I would apply as many KCL or
  • 7:04 - 7:08
    node equations as are needed
    to fill in my unknowns.
  • 7:08 - 7:12
    Each KCL equation must also pick
    up at least one new current,
  • 7:12 - 7:15
    then I'd solve for all the unknowns.
  • 7:15 - 7:19
    Okay, let's take this cookbook now and
    see how we can apply it.
  • 7:19 - 7:22
    So the first thing we do, and
    let's apply it to a problem,
  • 7:22 - 7:25
    that's just a little bit more
    complicated than one we just did.
  • 7:25 - 7:30
    I'm going to add a current
    source I3 here which is 6 amps.
  • 7:30 - 7:34
    So let's apply this, and as you can see,
    we're going to have another element.
  • 7:34 - 7:37
    So let's just apply each of the steps.
  • 7:37 - 7:39
    First of all,
    let's write all of the known values.
  • 7:39 - 7:46
    Well, VDC is known, R1, R2 and
    I3 are all known values.
  • 7:46 - 7:48
    Now, let's keep track of our unknowns.
  • 7:48 - 7:52
    I've already drawn two unknowns here,
    I1 and I2.
  • 7:52 - 7:57
    So we have two unknowns, and
    we need to have at least two equations.
  • 7:57 - 7:59
    So let's write, The loop equation's next.
  • 7:59 - 8:03
    Well, this same loop equation is the one
    that we just wrote and it hasn't
  • 8:03 - 8:07
    changed at all, even though we've added
    another element over here on the right.
  • 8:07 - 8:14
    And so for the loop equation,
    it's -VDC + (I1)(R1),
  • 8:14 - 8:20
    so here is -VDC + (I1)(R1) + (I2)(R2) = 0.
  • 8:20 - 8:24
    This is what I mean by
    applying Ohm's Law as I go.
  • 8:24 - 8:28
    I'm just doing + (I1)(R1)
    instead of saying + V1, and
  • 8:28 - 8:31
    later having to go back in and substitute.
  • 8:31 - 8:36
    Well, we could say each loop needed
    to pick up at least one new element.
  • 8:36 - 8:38
    But which elements did this loop pick up?
  • 8:38 - 8:41
    It picked up the VDC, the R1 and the R2.
  • 8:42 - 8:45
    Now, current sources cannot be
    counted as new elements, and
  • 8:45 - 8:48
    in fact, I can't include them in my loops.
  • 8:48 - 8:51
    So there's no other loop that
    I could do in this picture,
  • 8:51 - 8:55
    because any other loop would have to
    go through the the current source.
  • 8:55 - 9:00
    This is a current source right here, and
    I cannot include that in a KVL loop.
  • 9:00 - 9:03
    Now, let's apply Ohm's Law,
    as I went, that's right there.
  • 9:03 - 9:07
    And then let's apply as many node
    equations as needed to fill in
  • 9:07 - 9:08
    the unknowns.
  • 9:08 - 9:09
    Well how many unknowns do I have?
  • 9:09 - 9:12
    Two, how many equations do I have?
  • 9:12 - 9:15
    One, so I need at least one node equation.
  • 9:15 - 9:19
    Here's my node right there, and
    let's apply the node equation.
  • 9:19 - 9:23
    Let's say that every current
    that's coming in, I1 + I3.
  • 9:23 - 9:25
    So here's I3, it's coming into that node.
  • 9:25 - 9:28
    I1 + I3 = I2.
  • 9:28 - 9:31
    Okay, that's my second equation.
  • 9:31 - 9:35
    So now, I can solve for
    all of my unknowns.
  • 9:35 - 9:39
    Let's just do the solution,
    just one time, for fun.
  • 9:39 - 9:44
    So here was my VDC, I1, R1, I2,
  • 9:44 - 9:49
    R2 = 0 and I1 + 6 amps = I2.
  • 9:49 - 9:53
    So what I'm going to do is substitute
    in order to remove the variables.
  • 9:53 - 9:57
    What I'll do here is I'll
    substitute in for I2,
  • 9:57 - 10:01
    so this equation now
    becomes this right here.
  • 10:01 - 10:04
    Let's solve for
    the remaining variable, that's I1.
  • 10:04 - 10:09
    That gives us the equation that you
    see here, and now let's go back and
  • 10:09 - 10:13
    actually do the math that
    tells us that I1 is -3 amps.
  • 10:13 - 10:16
    And then,
    if I go back to my original equation,
  • 10:16 - 10:18
    in order to find the other variables.
  • 10:18 - 10:24
    Let's say I want to find I2, I2 = 3 amps.
  • 10:24 - 10:27
    Now, let's talk about what
    it means to have -3 amps and
  • 10:27 - 10:29
    what it means to have +3 amps.
  • 10:29 - 10:36
    So right here, when I did my analysis,
    I said that this value I1 was a variable.
  • 10:36 - 10:40
    And when I solved for it,
    I discovered that it is -3 amps.
  • 10:40 - 10:41
    What does that mean?
  • 10:41 - 10:45
    Well, it means I've guessed the direction
    of the current incorrectly.
  • 10:45 - 10:49
    It means that the current is actually
    going from right to left instead of from
  • 10:49 - 10:54
    left to right, so that I have three
    amps going from left to right.
  • 10:54 - 10:57
    Now, if I had actually put my
    arrow this way in the first
  • 10:57 - 11:02
    place when I did my solution, I would have
    found out that I1 was equal to 3 amps.
  • 11:02 - 11:04
    And I would have had
    the correct direction.
  • 11:04 - 11:06
    It doesn't matter which way
    you guess your current.
  • 11:06 - 11:10
    If you guess it wrong, it's gonna
    come up with a negative number for
  • 11:10 - 11:11
    the current, and that's just fine.
  • 11:11 - 11:17
    So go ahead and leave it like this, and
    just tell me that you have -3 amps for I1.
  • 11:20 - 11:22
    Okay, let's go one step further.
  • 11:22 - 11:24
    Let's add one more loop.
  • 11:24 - 11:29
    So let's apply our cookbook
    to this system right here.
  • 11:29 - 11:32
    First of all,
    we need to write all known values.
  • 11:32 - 11:33
    V1 will be known.
  • 11:33 - 11:35
    I1 will be known.
  • 11:35 - 11:38
    R1, R2, and R3.
  • 11:38 - 11:41
    Then we're going to keep track
    of all of our unknown values.
  • 11:41 - 11:48
    I already have an I1, an I2, and an I3,
    that I can see are going to be unknown.
  • 11:48 - 11:50
    Then we're going to write
    all the loop equations.
  • 11:50 - 11:52
    Let's see how many loops we could do.
  • 11:52 - 11:54
    Well, here's our first loop.
  • 11:54 - 11:56
    That's a loop we've been doing all along.
  • 11:56 - 11:58
    Here is a second loop.
  • 11:59 - 12:01
    Is there room for another loop?
  • 12:01 - 12:03
    Can I do a third loop here?
  • 12:03 - 12:07
    No, I can't, because I have this
    current source right there.
  • 12:07 - 12:10
    Can I do a third loop around this way?
  • 12:11 - 12:15
    No, I can't,
    because that's including a current loop.
  • 12:15 - 12:17
    Could I do a third loop here?
  • 12:19 - 12:21
    Well, that's a legitimate loop.
  • 12:21 - 12:25
    But I can't do that, because it
    doesn't pick up any new elements.
  • 12:25 - 12:28
    My first loop picked up R1 and R2.
  • 12:28 - 12:30
    My second loop picked up R3.
  • 12:30 - 12:32
    There isn't anything else to be picked up.
  • 12:32 - 12:38
    So I am only going to have the two
    blue loops that are shown here.
  • 12:38 - 12:40
    Then I would apply as many KCL or
  • 12:40 - 12:43
    node equations as are needed
    to fill in the unknowns.
  • 12:43 - 12:48
    So I'm going to have two loop equations,
    the blue lines that are shown.
  • 12:48 - 12:52
    And I'm going to have one node equation
    here, where things are orange, and
  • 12:52 - 12:55
    that's going to fill in my unknowns.
  • 12:55 - 12:58
    And then we would solve for the unknowns.
  • 12:58 - 13:01
    Okay, now,
    let's take a look at the special node.
  • 13:01 - 13:05
    So the node remember was right there,
    but there was a line or
  • 13:05 - 13:07
    a short circuit right here.
  • 13:07 - 13:12
    Any time you have a short circuit, it just
    means that you have a really big node.
  • 13:12 - 13:15
    You don't need to include
    two separate nodes.
  • 13:15 - 13:18
    This is just one really big node.
  • 13:20 - 13:24
    Okay, now, let's imagine even
    adding another node, sorry,
  • 13:24 - 13:26
    even adding another loop.
  • 13:26 - 13:29
    So let's talk about how
    we might do this problem.
  • 13:29 - 13:33
    Okay, so
    write down all the known values, V1,
  • 13:33 - 13:37
    R1, R2, R3, R4, and I1.
  • 13:37 - 13:38
    Those are all known.
  • 13:38 - 13:39
    Keep track of the unknowns.
  • 13:39 - 13:47
    They would be I1, I2, and
    I3, and let's call this IDC.
  • 13:47 - 13:49
    I know it says I1, let's call it IDC.
  • 13:49 - 13:50
    All right, so those are the unknowns.
  • 13:50 - 13:56
    So we know that we're going to need,
    and there's also going to be an I4.
  • 13:56 - 13:59
    So we're going to have four equations and
    four unknowns.
  • 14:01 - 14:04
    Now, let's see how many loops we can do.
  • 14:04 - 14:06
    First of all,
    we've got our first loop right here.
  • 14:06 - 14:10
    That pick up V1, R1, and R2.
  • 14:10 - 14:12
    That's one loop equation.
  • 14:12 - 14:14
    Here's a second loop equation.
  • 14:14 - 14:16
    Picking up R1 and R3.
  • 14:16 - 14:19
    There's at least one new element, the R3.
  • 14:19 - 14:21
    Can we do a loop here for I4?
  • 14:21 - 14:25
    No, we can't, because that's going
    to include the current source, so
  • 14:25 - 14:27
    we cannot do that as a loop.
  • 14:27 - 14:34
    All right, so we have two loop equations,
    here's one node equation.
  • 14:34 - 14:39
    And in fact, this node is actually going
    to encompass all of this area where you
  • 14:39 - 14:41
    can see it short circuited together.
  • 14:41 - 14:44
    I need at least one more equation and
  • 14:44 - 14:48
    somehow I need to pick
    up R4 in that equation.
  • 14:48 - 14:49
    So let's see what we would do.
  • 14:51 - 14:54
    Okay, here is a very good choice for
    handling that.
  • 14:54 - 15:00
    We would do a loop all the way around
    the outside like this picking up R4.
  • 15:00 - 15:05
    So that would give me
    three loop equations,
  • 15:05 - 15:10
    and one node equation for
    the four unknowns.
  • 15:10 - 15:12
    So my problem would end
    up looking like this.
  • 15:12 - 15:20
    3 loops, 1 node would give me 4 equations,
    sorry, 4 unknowns.
  • 15:20 - 15:28
    3 loop equations, 1 node equation
    would be 4 unknowns and 4 equations.
  • 15:28 - 15:34
    Okay, now let's take a look and just kind
    of expand our understanding of the nodes.
  • 15:34 - 15:38
    Could I have used this as
    a node equation instead?
  • 15:38 - 15:41
    Well, the answer is, no, I can't,
    because I don't know how much
  • 15:41 - 15:44
    current is going to be coming
    out of this voltage source.
  • 15:44 - 15:49
    So just like the fact that I cannot
    include loops when I have a current
  • 15:49 - 15:54
    source, I cannot include nodes that
    are attaching voltage sources.
  • 15:54 - 15:57
    So I'm gonna add that information
    to my cookbook as well.
  • 15:59 - 16:01
    Okay, so let's do this problem.
  • 16:01 - 16:03
    Maybe it looks a little complicated,
    but it really isn't.
  • 16:03 - 16:05
    So let's do each of our loops.
  • 16:05 - 16:11
    My first loop is the VDC
    loop right here which
  • 16:11 - 16:17
    is going to say minus,
    this is the minus plus,
  • 16:17 - 16:21
    -VDC + I1R1 + I2R2 = 0.
  • 16:21 - 16:24
    This is my loop 1.
  • 16:24 - 16:26
    Now let's do loop 2.
  • 16:26 - 16:33
    And remember, I've got the plus minus
    going from my current like this.
  • 16:33 - 16:38
    So +I3R3, this is I3 + I3R3,
  • 16:38 - 16:43
    you hear that's all short
  • 16:43 - 16:47
    circuited minus I1R1 = 0.
  • 16:47 - 16:51
    Again, let's call this IDC, okay?
  • 16:51 - 16:56
    And let's do this outside
    loop right there.
  • 16:56 - 17:01
    So I'm gonna say -VDC
  • 17:01 - 17:07
    + I3R3 + I4R4 = 0.
  • 17:07 - 17:10
    Now, let's do the node.
  • 17:10 - 17:15
    So right here is the big node
    that I'm gonna be interested in.
  • 17:15 - 17:18
    So the node equation is going to say,
  • 17:18 - 17:22
    all of the currents that come in has to
    equal all of the currents that go out.
  • 17:22 - 17:24
    Or all the currents
    coming in are positive,
  • 17:24 - 17:27
    all the currents going out
    are negative and that's equal to 0.
  • 17:27 - 17:32
    So I3 is coming in, that's positive.
  • 17:32 - 17:35
    I4 is going out, that's negative.
  • 17:35 - 17:37
    I1 is coming in, that's positive.
  • 17:37 - 17:40
    I2 is going out, that's negative.
  • 17:40 - 17:47
    I also have to include plus IDC,
    and that whole thing is equal to 0.
  • 17:47 - 17:50
    Okay, now let's keep track
    of how many unknowns I have.
  • 17:50 - 17:51
    What are my unknowns?
  • 17:53 - 17:59
    My unknowns are I1, I2, I3, and I4.
  • 17:59 - 18:01
    How many equations do I have?
  • 18:01 - 18:06
    I have th3 ee loop equations and
    1 node equation.
  • 18:06 - 18:08
    So I have four equations and
    four unknowns.
  • 18:11 - 18:15
    Okay let's talk about the math for
    this for just a minute.
  • 18:15 - 18:16
    We can solve this using algebra, and
  • 18:16 - 18:19
    I know that you've had
    some practice doing that.
  • 18:19 - 18:24
    But I want to show you one specific
    method of being able to solve the KCL and
  • 18:24 - 18:25
    KVL math.
  • 18:25 - 18:28
    It's gonna be very handy
    when we apply it in MATLAB.
  • 18:28 - 18:31
    Any time we have four equations like this,
    and
  • 18:31 - 18:35
    four unknowns, we can write them as
    a matrix, as I'm gonna do right here.
  • 18:40 - 18:42
    So let's take our first equation.
  • 18:42 - 18:48
    Here's our first equation right there.
  • 18:48 - 18:53
    So the unknowns are gonna be I1,
    I2, I3, and I4.
  • 18:53 - 18:57
    Anything that does not have an unknown
    moves over to the right-hand side.
  • 18:57 - 19:01
    So we have +VDC on the right-hand side.
  • 19:01 - 19:06
    Anything that does have an unknown,
    I've put the multiplier, like R1 times I1.
  • 19:06 - 19:12
    See here's R1 times I1 and R2 times I2.
  • 19:12 - 19:14
    That's right here, R2 times I2.
  • 19:14 - 19:18
    Okay, and then there are no I3's and
    there are no I4's in that equation.
  • 19:18 - 19:21
    So they are 0 and 0.
  • 19:21 - 19:23
    Let's go to our next equation.
  • 19:23 - 19:28
    Our next equation right here says, there
    is nothing that doesn't have an unknown.
  • 19:28 - 19:33
    So I have 0 over here
    on the right hand side,
  • 19:33 - 19:36
    then I have -R1 times I1.
  • 19:36 - 19:39
    I have nothing times R2 and
  • 19:39 - 19:44
    I have R3 times I3 and nothing times R4.
  • 19:44 - 19:46
    Okay, let's go down to the third equation.
  • 19:46 - 19:51
    The third equation has VDC,
    which has no unknowns.
  • 19:51 - 19:54
    So let's bring it over thee there's +VDC.
  • 19:54 - 19:56
    Do I have anything times I1?
  • 19:56 - 19:58
    No, I2?
  • 19:58 - 20:00
    No, I3?
  • 20:00 - 20:01
    Yes, R3?
  • 20:01 - 20:02
    Yes, I4?
  • 20:02 - 20:05
    Yes, R4?
  • 20:05 - 20:08
    So there's the matrix, and
    then this very last one,
  • 20:08 - 20:12
    what is over here that doesn't
    have a unknown in front of it?
  • 20:12 - 20:17
    Take that over, that's gonna become -IDC,
  • 20:17 - 20:24
    what do we have times I1,
    a +1, I2-1, I3 + 1, I4-1.
  • 20:24 - 20:26
    So here's my matrix.
  • 20:28 - 20:29
    Here's my vector of unknowns.
  • 20:29 - 20:31
    Here's my vector of constants.
  • 20:31 - 20:35
    Then so
    this is writing the matrix equation for
  • 20:35 - 20:38
    this particular circuit element.
  • 20:38 - 20:42
    Next, you can use Gaussian elimination or
    MATLAB matrix solution.
  • 20:42 - 20:44
    So I'm going to leave this here.
  • 20:44 - 20:46
    We're not actually going to
    do the algebra to finish it.
  • 20:46 - 20:50
    Because in general, I'm going to assume,
    you'd use MATLAB to solve this problem.
  • 20:52 - 20:55
    So in short,
    we've talked about two important laws.
  • 20:55 - 20:59
    One is Kirchhoff's Current Law that
    says the sum of all the currents
  • 20:59 - 21:01
    entering the node = 0.
  • 21:01 - 21:04
    The second law is
    the Kirchhoff's Voltage Law or KVL,
  • 21:04 - 21:09
    that says the sum of the voltage is
    around a closed path or loop is = 0.
  • 21:11 - 21:15
    Finally, we wrote down a cookbook for
    the KCl and kvl.
  • 21:15 - 21:16
    The cookbook is this.
  • 21:16 - 21:19
    First, write down all the known values.
  • 21:19 - 21:21
    Keep track of how many
    unknown values you have,
  • 21:21 - 21:24
    write all the loop equations
    that you can write.
  • 21:24 - 21:29
    Remember that each loop needs to
    pick up at least one new element and
  • 21:29 - 21:31
    that current sources can't be in loops.
  • 21:31 - 21:36
    Then apply Ohm's law which I usually
    choose to do as I go for convenience.
  • 21:36 - 21:40
    And that is equal to the voltage is equal
    to the current times the resistance.
  • 21:40 - 21:45
    And then apply as many nodes as you
    need in order to fill in the unknowns.
  • 21:45 - 21:49
    Each KCL equation must pick
    up at least one new current.
  • 21:49 - 21:54
    Shorts as they are here can be used
    to combine nodes into a single node,
  • 21:54 - 21:57
    and nodes can't touch voltage sources.
  • 21:57 - 22:03
    Then you solve for
    the unknowns using matrix math.
  • 22:03 - 22:06
    So the picture that's on
    the front that's in Red Canyon.
  • 22:06 - 22:10
    That's near the bottom of
    Thunder Mountain, near Bryce Canyon, Utah.
Title:
L(2-2) Kirchoffs Laws KVL,KCL
Description:

Kirchhoff's Laws are used to find the unknown voltages and currents in a circuit. See cookbook and other reference material here: (www.ece.utah.edu/~ece1250)

more » « less
Video Language:
English
Duration:
22:15

English subtitles

Revisions