Mesh law in a resistor circuit with current and voltage sources

Click For Summary

Discussion Overview

The discussion revolves around applying mesh analysis to a resistor circuit that includes current and voltage sources. Participants are attempting to find the currents in the circuit using mesh law, while addressing discrepancies between their calculations and simulation results.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant outlines their approach to using mesh law, defining mesh currents and deriving equations based on the circuit's configuration.
  • Another participant suggests a correction regarding the voltage across a component, indicating it should be based on a different expression involving iB.
  • A question arises about the direction of currents and whether the participant's assumptions about current flow are correct, particularly concerning the interaction of iB and iD.
  • A suggestion is made to consider the concept of a supermesh to simplify the analysis by avoiding the introduction of a potential difference variable for the current source.
  • One participant acknowledges an algebra mistake after switching the direction of the current, leading to a resolution of their earlier discrepancies.
  • Clarification is provided about the supermesh concept, explaining how it allows for writing a loop equation without including the current source directly.

Areas of Agreement / Disagreement

Participants express differing views on the correct application of mesh analysis, particularly regarding the direction of currents and the use of supermesh. There is no consensus on the initial approach taken by the first participant, as corrections and alternative methods are proposed.

Contextual Notes

Some assumptions about current directions and the application of mesh law remain unresolved, and there are indications of algebraic errors that may affect the outcomes. The discussion reflects varying levels of familiarity with concepts like supermesh.

Who May Find This Useful

Students and practitioners interested in circuit analysis, particularly those learning about mesh law and current sources in electrical engineering contexts.

PinguZaide
Messages
4
Reaction score
0
Hello everyone. Hope somebody can help.

Homework Statement


We are given the following circuit.
http://puu.sh/70uaQ.png
We need to find the currents i1, i2 and i3 by explicitly using the mesh law.

Homework Equations


There are no relevant equations.

The Attempt at a Solution


So, I draw these 4 meshes on the circuit.
X1FH43j.png

Let's call iA the current in mesh A, iB the current in mesh B, and so on.
Let's also call v_I0 the voltage at I0 and v_I1 the voltage at I1. For each current source, we assume the current enters at + and leaves at -.

Considering we already know the current in mesh D, there is no need to build an equation for that one. We only need to build the equations for meshes A, B and C.

We know that iD = 4A and that iC - iA = 2A, so that iC = 2 + iA.

I ended up with those equations.

Mesh A
12 = 2 * (iA) + 2 * (iA - iB) - v_I0

Mesh B
-6 = 2 * (iB - 4) + 2 * (iB - iA) + 2 * iB

Mesh C
24 = 1 * iC + v_I0 + 1 * (iC - 4)

After some algebra, and by substituing iC = 2 + iA, we end up with 3 equations and 3 unknowns in iA, iB and v_I0.

I end up finding iA = 6.875A, iB = 2.625A and v_I0 = 10.25V, so iC = 8.875.

Therefore, the currents that we want to know are :

i1 = iA = 6.875A
i2 = iA - iB = 4.25A
i3 = iD = 4A

The problem I have is that I used an online tool called DoCircuits to simulate the circuit, and by the result of the run, I would be suppose to have :
i1 = -4.375A, i2 = 5.25A and i3 = 4A
(Link to the circuit : http://www.docircuits.com/my-circuit/7691/2)

I therefore think there must be something I did wrong...

Thanks to anyone who helps me. :)
 
Last edited by a moderator:
Physics news on Phys.org
The voltage across 2(iB+4), not 2(iB-4).
 
.Scott said:
The voltage across 2(iB+4), not 2(iB-4).
Can I ask why ? The way I've put the currents (all clockwise), iB meets iD at R5 in opposite directions, no ? Is it wrong to put the current iD in that direction ? If I take iB+4, would that mean that I also have to take iC+4 and not iC-4 at R3 ?

And it does not change the fact that I would still have a positive current for iA, when I'm getting a negative one with the sim... Unless I just put the ammeter in the wrong direction too.
 
PinguZaide, have you been introduced to the concept of the supermesh yet? If so, you can avoid having to introduce a potential difference variable for the current supply.

Also take note that the current dource in loop D flows contrary to your defined loop current direction, so iD should be negative.
 
  • Like
Likes   Reactions: 1 person
.Scott said:
The voltage across 2(iB+4), not 2(iB-4).

gneill said:
PinguZaide, have you been introduced to the concept of the supermesh yet? If so, you can avoid having to introduce a potential difference variable for the current supply.

Also take note that the current dource in loop D flows contrary to your defined loop current direction, so iD should be negative.
So I tried by switching the direction of the current so that iD is not negative, and found out I made an algebra mistake somewhere, and now it works. :)

And no I have not been introduced to the concept of supermesh, but I heard of it. Is it simply using a mesh that runs around two or more "independent" mesh? I know my solution now works, but I'm curious as to where I should have put that "supermesh"?

Thanks for your input guys. :)
 
PinguZaide said:
And no I have not been introduced to the concept of supermesh, but I heard of it. Is it simply using a mesh that runs around two or more "independent" mesh? I know my solution now works, but I'm curious as to where I should have put that "supermesh"?
The idea of the supermesh is to write a loop (KVL) equation for a loop that doesn't include the current source, yet includes the components of the loops that it borders. This avoids introducing the current source potential difference as an unknown, but still allows you to "touch" all the components of the circuit. For the circuit under discussion, the following path in green would satisfy that requirement:

attachment.php?attachmentid=66761&stc=1&d=1392769832.gif


Note that you still write the loop equation using the original mesh currents. The constraint equation relating the individual loop current to the current source is the only additional equation you need, so in this case, iC - iA = 2.
 

Attachments

  • Fig2.gif
    Fig2.gif
    20.4 KB · Views: 753
  • Like
Likes   Reactions: 1 person
I see. I will remember that for further circuit analysis that I will need to do. Thanks a lot, gneill.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 62 ·
3
Replies
62
Views
12K
  • · Replies 6 ·
Replies
6
Views
2K