1. Home
  2. Explore
  3. Engineering
  4. Basics of Mesh Analysis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Basics of Mesh Analysis

Speaker 1Speaker 2

Basics of Mesh Analysis

5:37
0:00-5:37
  1. Maria

    Alright, we’ve mastered nodal analysis—now it’s time for mesh analysis, sometimes called loop analysis. And the first thing we need to get straight is what a loop is and what a mesh is.

  2. Michael

    Right, because they’re not the same. A loop is just any closed path in a circuit, but a mesh is a special kind of loop—one that doesn’t have any other loops inside it. Think of those nesting dolls. The smallest doll that can’t be opened any further is like a mesh. All the bigger dolls that can contain smaller ones are loops.

  3. Maria

    Great analogy. So in a circuit, every mesh is a loop, but not every loop is a mesh. When we do mesh analysis, we actually work with meshes, not arbitrary loops. That means we’ll write exactly one equation per mesh, and the number of equations equals the number of meshes.

  4. Michael

    And the first step is to define mesh currents. Unlike the branch currents you’re used to, a mesh current is an assumed current that flows all the way around a mesh. You can choose clockwise or counterclockwise—it doesn’t matter, because if you get a negative answer, you just know the real current goes the other way.

  5. Maria

    Exactly. And once you’ve assigned mesh currents, the next step is to write a KVL equation for each mesh. But here’s the key: when you write the voltage across a resistor, you always assume the mesh current you’re writing the equation for enters the positive terminal. So that resistor voltage is always positive in your KVL, and you use Ohm’s law with that mesh current.

  6. Michael

    And that’s where the “boss” idea comes in. For a resistor that’s shared between two meshes, the mesh you’re writing the equation for is the boss—its current gets a positive sign. The other mesh current gets a minus sign if it flows opposite to the boss, and a plus sign if it flows the same way. So if you have a resistor with two mesh currents I1 and I2, the voltage term becomes R times (I_boss – I_other) if they oppose, or R times (I_boss + I_other) if they align.

  7. Maria

    Let’s do a quick example. Suppose we have a circuit with two meshes, both with clockwise currents. In the first mesh, we go across a 6V source, then a 6Ω resistor, then a 6Ω resistor shared with the second mesh. Our KVL gives 6V + 6Ω*I1 + 6Ω*(I1 – I2) = 0. Simplify and you get 12I1 – 6I2 = -6. That’s one equation. Then we write the KVL for the second mesh and get another equation. Solve and you get both currents.

  8. Michael

    And if you get negative values, no panic—you just flip the direction in your mind. The magnitude is correct. So what about circuits with current sources? They can actually make our life easier if they’re not shared between meshes.

  9. Maria

    Right. If a current source sits alone in a branch that belongs to only one mesh, then that mesh current is directly equal to the source current. That gives you one equation for free. For example, if you have a 2mA source in a mesh, that mesh current is 2mA—done.

  10. Michael

    But if a current source is shared between two meshes, it’s trickier. You can’t just set a mesh current equal to it. Instead, you write a relation between the two mesh currents. Suppose a 2mA source points to the right, and mesh currents I1 and I2 flow through it in opposite directions. Then the branch current is I1 – I2 = 2mA. That’s one equation.

  11. Maria

    And then you need to write KVL for the rest of the circuit, but you can’t write a KVL for a mesh that includes a current source because you don’t know its voltage. So what do we do? We write a KVL for a larger loop that goes around the current source—what some call a super mesh.

  12. Michael

    Exactly. You pick a loop that avoids the current source. For example, if you have two meshes sharing a current source, you can write a KVL around the outer loop that encompasses both meshes. That gives you another equation. And you already have the current source relation, so together with the KVL for any other meshes, you can solve.

  13. Maria

    Dependent sources are handled the same way, but you also need to express the controlling variable in terms of mesh currents. For instance, if you have a dependent current source that equals 2Ix, and Ix is a branch current somewhere else, you write Ix in terms of mesh currents. Then you substitute and treat it like an independent source.

  14. Michael

    And for dependent voltage sources, like 2Vx, you find Vx from Ohm’s law across a resistor—again expressed in mesh currents. Then you plug that into your KVL equations. It’s just a few extra substitution steps.

  15. Maria

    Now, a big question: when should you use mesh analysis vs. nodal analysis? The obvious answer is if the problem says “use mesh” or “use nodal,” you follow instructions. But if you have a choice, generally, a circuit with more voltage sources lends itself to mesh because we write KVL. A circuit with more current sources is often easier with nodal because we write KCL.

  16. Michael

    But it’s not that simple. You also have to consider if some node voltages are directly given by voltage sources, which can give you free equations in nodal. Or in mesh, if current sources are in unshared branches, you get free equations too. So always look for the method that gives you the most direct equations.

  17. Maria

    For example, a circuit with 6 meshes and 7 nodes might seem like a toss-up. But if many node voltages are directly tied to voltage sources, nodal becomes much easier—you only need a few KCL equations. Similarly, if many current sources are unshared, mesh is a breeze. So think ahead.

  18. Michael

    To wrap up, mesh analysis is all about assigning mesh currents, writing KVL for each mesh, and handling current sources with either direct assignment or super meshes. With practice, it becomes a powerful tool in your circuit analysis toolkit.

  19. Maria

    And remember, you can always bend wires in your mind or redraw a messy circuit to see the meshes clearly. Good luck with your studies!

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent