Electrical Circuit Design|Basic

What Is Mesh Analysis (Mesh Current Method)?

2025.10.27

The mesh analysis (often also referred to as the loop current method) refers to an approach used in circuit analysis for planar circuits (i.e., circuits that can be drawn on a plane without any wires crossing one another), where each closed path (mesh) is assumed to have its own mesh current, treated as an unknown variable. One can efficiently determine the voltages and currents in an electrical circuit by establishing simultaneous equations based on Kirchhoff’s Voltage Law (KVL) for these mesh currents. Alongside nodal analysis, mesh analysis (the mesh current method) is one of circuit analysis’s most frequently used techniques. For instance, mesh analysis might offer a more straightforward solution than nodal analysis, depending on how and where voltage sources or current sources are placed in a circuit. Being familiar with both makes handling a wide range of electrical networks easier. A straightforward example would be analyzing a portion of a circuit using an operational amplifier, isolating it into a loop, and applying mesh analysis. From here, the discussion will cover the principles behind mesh analysis, its standard procedures, and how to deal with more complex circuits containing multiple or dependent sources.

Overview of Mesh Analysis

Mesh analysis is applied when the circuit is planar, meaning it can be drawn in a single plane without crossing wires. In such circuits, each closed loop (mesh) is assigned a mesh current (an unknown variable), and one sets up simultaneous equations based on circuit elements, voltage sources, and Kirchhoff’s Voltage Law. Many circuits presented in textbooks are naturally planar and thus lend themselves well to mesh analysis.

Overview of Mesh Analysis

The Relationship with Kirchhoff’s Law

The Relationship with Kirchhoff’s Law

*This figure only illustrates how to write KVL. Because no source is included in this loop, the result here is i1=0. In practical loops containing sources, the KVL equation yields a non-zero current.

Circuit analysis relies on two fundamental laws: Kirchhoff’s Voltage Law (KVL) and Kirchhoff’s Current Law (KCL). In mesh analysis, we primarily use KVL to write loop equations (loop current equations). In each mesh (an independent closed path in the circuit), we apply KVL, expressing the voltage rises and drops across circuit elements in term of the mesh current or differences between mesh currents.

For instance, suppose we have a planar circuit with two meshes and name the mesh currents I1 and I2. We apply KVL to each loop, considering each resistor, voltage source, or other circuit element encountered along that closed-loop path. This process yields two simultaneous equations that can be solved for the two unknown mesh currents I1 and I2.

Advantages and Scope of Mesh Analysis

One advantage of mesh analysis is that, compared with other techniques, the number of unknown variables can sometimes be reduced, especially in circuits with multiple voltage sources. When the circuit is indeed planar, it is straightforward to identify closed loops and set mesh currents. This intuitive approach is often easier to learn in early circuit analysis courses or initial design work.

In contrast, if you have a non-planar circuit (where wires inevitably cross and a single-plane diagram without intersections is impossible), defining meshes becomes ambiguous or unworkable. In such cases, nodal analysis (which uses node voltages instead of mesh currents) or another technique may be more appropriate.

Fundamental Steps and an Example

We define mesh currents that flow around a closed loop in mesh analysis and write KVL for each loop. Below is an outline of the standard procedure using only resistors and voltage sources in the simplest case. This approach is then expanded to circuits including current sources, dependent sources, and other circuit elements.

Step 1: Assign Mesh Currents

In mesh analysis, mesh currents are assigned arbitrarily in essential meshes that contain no other loops. It is also common practice to define all mesh currents to flow in the clockwise direction, and often to keep them all in the same direction for consistency. Choosing the clockwise or the opposite direction is not crucial, as long as you keep it consistent.

First, confirm that the circuit is planar (can be drawn on a plane without crossing wires). Then, define a mesh current for each clearly identifiable closed path (mesh).

Step 2: Write the KVL Equation for Each Mesh

Next, apply Kirchhoff’s Voltage Law around the loop for each mesh. Notice how the current flows through each circuit element to determine the voltage drops or rises. If a voltage source is present in the loop, note its polarity. Where two meshes share a circuit element, we must represent that element’s voltage drop in terms of the difference between the two mesh currents if they flow in different directions in that element.

For example, consider a two-loop circuit with mesh currents I1 and I2. Suppose the first loop contains resistors R1, R2, and a voltage source E1, and the second loop shares R2 with the first loop and includes resistor R3. Writing KVL for the first loop might produce an equation of the form:

\(R_1 i_1+R_2 (i_1-i_2 )-E_1=0\)

I1 flows through R1 and part of R2, while i2 flows in the opposite direction through the shared element R2. Whether you treat it as (i1i2) or (i2i1) in the loop equation depends on how you assigned the loop current directions. Be mindful that any sign mistake leads to an incorrect solution.

Writing KVL for the second loop might produce an equation of the form:

\(R_2 (i_2-i_1 )+R_3 i_2=0\)

Write the KVL Equation for Each Mesh

[Specific Example: Two-Loop Circuit and Intermediate Calculations]
In the following example, we show intermediate steps using actual numbers:

  • Mesh 1: R1=10Ω, shared resistor R2=20Ω, voltage source E1=5V
  • Mesh 2: shared resistor R2=20Ω (the same one from mesh 1), plus another resistor R3=30Ω
  • Define mesh current i1 for mesh 1 (clockwise direction) and i2 for mesh 2 (clockwise direction).

Two-Loop Circuit and Intermediate Calculations

KVL in Mesh 1:

\(R_1 i_1+R_2 (i_1-i_2 )-E_1=0\)

Substituting values:

\(10×i_1+20×(i_1-i_2 )-5=0\)

Expanding:

\(30i_1-20i_2=5\)… (1)

KVL in Mesh 2:

\(R_2×(i_2-i_1 )+R_3×i_2=0\)

\(20(i_2-i_1 )+30i_2=0\)

\(-20i_1+50i_2=0\)… (2)

The current through the shared resistor R2 is (i1i2) =0.14A, and its voltage drop is about 2.73V. Once the mesh currents are known, each circuit variable can be found.

Step 3: Confirm the Number of Unknown Variables

In a circuit with n independent meshes, you typically define n mesh currents, producing n KVL equations. If there are dependent sources, you may need additional relations for them. For every new variable introduced, ensure there is a corresponding independent equation.

Step 4: Solve the System of Equations

Gather all KVL equations into a set of simultaneous equations. Simple algebraic methods (such as elimination or substitution) suffice for a few loops.

\(i_1≈0.23A, i_2≈0.091A\)

The current through the shared resistor R2 is (i1i2) =0.14A, and its voltage drop is about 2.73V. Once the mesh currents are known, each circuit variable can be found.

Writing the system in matrix form can benefit you if there are multiple voltage sources or more loops. This streamlines the solution process, especially for more complex circuits.

Mesh Analysis Using Matrix Form

When multiple voltage sources exist or three or more loops, manually solving all simultaneous equations can become tedious. In such cases, rewriting the equations in matrix form and applying standard linear algebra procedures (or circuit simulation software) makes the analysis more systematic. Below is a more detailed explanation of how to derive and solve the matrix representation of mesh analysis.

Mesh Analysis Using Matrix Form

Setting Up the Matrix Form

As the number of meshes and circuit elements grows, writing and solving the loop equations by direct algebra might be prone to mistakes. Converting:

\(Ax=B\)

Allows a uniform approach:

  • A is the coefficient matrix representing the sum of resistances in each loop and the mutual terms for shared resistors or elements.
  • x is the column vector (i1, i2, …, in) T of mesh currents.
  • B is the column vector for constants, often determined by voltage sources or other fixed terms from the KVL equations.

Detailed Example (2 Loops, Step by Step)

Setting Up the Matrix Equations (2 Loops)

Recall the two-loop example:

\(30i_1-20i_2=5\)(1)

\(-20i_1+50i_2=0\)(2)

In matrix form:

\(\begin{pmatrix} 30 & -20 \\ -20 & 50 \end{pmatrix}\begin{pmatrix} i_1 \\ i_2 \end{pmatrix}=\begin{pmatrix} 5 \\ 0 \end{pmatrix}\)

Let

\(A=\begin{pmatrix} 30 & -20 \\ -20 & 50 \end{pmatrix}\), \(X=\begin{pmatrix} i_1 \\ i_2 \end{pmatrix}\), \(B=\begin{pmatrix} 5 \\ 0 \end{pmatrix}\)

  1. Determinant of A:

    \(det(A)=30×50-(-20)×(-20)=1500-400=1100\)

  2. Inverse of A (for 2×2, it is straightforward):

    \(A^{-1}=\displaystyle\frac{ 1 }{1100} \begin{pmatrix} 50 & 20 \\ 20 & 30 \end{pmatrix}\)

  3. Calculate X=A−1B:

Solving yields:

\(i_1≈0.23A, i_2≈0.091A\)

Matching the previous direct solution.

Extension to Three or More Loops

For three loops, you might end up with a 3×3 system:
One can solve this by expanding determinants or using a systematic method like Gaussian elimination. Large or complex circuits are easier handled by software (e.g., MATLAB, Python, or any circuit simulator). For instance, a three-loop circuit with certain shared elements and voltage sources will produce a matrix equation that you can solve for i1, i2, i3. You can find any branch current or voltage drop within the circuit from there.

Extension to Three or More Loops

AC extension: The identical matrix formulation can obtain the frequency response by replacing every resistor R with its complex impedance ZR=R, every inductor L with ZL=jωL, and every capacitor C with ZC=1/jωC.

The Concept of a Supermesh

When a circuit element, such as a current source, lies on the boundary between two meshes, writing a KVL equation directly for those meshes can be difficult. In such a scenario, one typically uses the supermesh analysis technique. A supermesh is formed by combining the two meshes into one larger loop that does not cut through the current source branch. When diodes or transistors are present, linearise each nonlinear element around the operating point and update the loop matrix at every iteration (Newton-Raphson method).

What Is a Supermesh?

A supermesh (also referred to as a “supermesh analysis” approach) occurs when an element, like a current source, is located between two loops. Because the voltage drop across that current source might be unknown (and is not directly given by a simple Ohm’s law relation), we temporarily treat the two meshes as a single expanded loop that excludes the current source branch. We do the KVL around that bigger closed path, then add an extra equation that relates (in the following example: i1i2) to the known current source value.

The Concept of a Supermesh

Example of Using a Supermesh

Suppose a current source IS sits between mesh 1 and mesh 2. Define mesh currents i1 and i2. By skipping the current source branch, you create a supermesh combining loop 1 and loop 2. You write one KVL equation for this supermesh and then use the fact that the difference between the two mesh currents equals IS. This yields the needed system of equations to solve for i1 and i2. The same principle can be extended to circuits with multiple and dependent current sources, though the equations can become more numerous.

Applying Mesh Analysis to Circuits with Sources and Dependent Elements

Mesh analysis is not limited to purely resistive or voltage-source-based circuits. It can also handle circuits with current, dependent voltage, and dependent current sources, as long as the circuit remains planar or can be managed using supermesh ideas.

Independent Current Sources Inside a Mesh

If an independent current source is entirely inside a loop, it might be more convenient to switch to nodal analysis or treat that loop differently. If the source is shared by two meshes, super mesh analysis often becomes necessary. Alternatively, you can consider whether nodal analysis might reduce the number of unknowns. The decision depends on how many unknown mesh currents or loop equations you have and how many independent equations are needed.

Dealing with Dependent Sources

Dependent sources come in four types: voltage-controlled voltage source (VCVS), current-controlled voltage source (CCVS), voltage-controlled current source (VCCS), and current-controlled current source (CCCS). In every situation, the source’s output depends on measured voltage or current elsewhere in the circuit.

  • If you have a dependent voltage source, your loop equation might need to incorporate a term like α×ix or β×vx for some factor α or β.
  • You may form a supermesh or add an extra constraint for the controlling quantity if you have a dependent current source.

You must insert these relationships explicitly into your simultaneous equations (or matrix form). This approach remains valid, but keep an eye on sign conventions and the controlling variables.

Comparing Mesh Analysis and Nodal Analysis

Mesh current and nodal analyses often prompt the question: “When do we use one over the other?” Nodal analysis sets unknown node voltages based on Kirchhoff’s Current Law (KCL), while mesh analysis sets unknown loop currents based on Kirchhoff’s Voltage Law (KVL).

Solving mesh-current equations generally requires fewer than the node-voltage method for circuits of comparable complexity, especially when voltage sources are prevalent and the circuit layout is neatly planar.

Comparing Mesh Analysis and Nodal Analysis

Types of Sources and Their Placement

A commonly stated rule of thumb is:

  • Voltage sources placed conveniently often favor mesh analysis.
  • Current sources in various branches often favor nodal analysis.

But these guidelines are not absolute. Sometimes an abundance of voltage sources is still more effortless in nodal form if the circuit’s topology suits it, or a circuit with many current sources might still be workable via supermesh analysis if it remains planar primarily. One must weigh factors such as how many unknowns each approach will generate, and which unknowns the designer needs to find.

Examples and Decision Criteria

  • If multiple current sources bridge multiple meshes: You might end up with repeated supermesh constructions, making the problem unwieldy. Nodal analysis might then be simpler.
  • If many voltage sources are included and the circuit is neatly planar: Mesh analysis might yield fewer simultaneous equations.
  • If the circuit is non-planar: Mesh analysis is invalid or extremely cumbersome, so nodal analysis or other approaches become necessary.

Ultimately, the choice between mesh analysis and nodal analysis is made by comparing the number of unknowns that must be solved in each approach, the arrangement of voltage and current sources, and whether the circuit is planar.

Summary and Future Outlook

Mesh analysis (the mesh current method) is especially effective for circuits drawn in a single plane without crossing wires (that is, planar circuits). It can reduce the number of unknowns when the number of meshes is smaller than the number of non-reference nodes. Using matrix form further streamlines the solution of large or complex circuits. However, when there are many current sources or the circuit is non-planar, nodal analysis or another method might be more efficient. A solid command of mesh and nodal analysis greatly expands one’s ability to address a broad spectrum of electrical circuits.

【Download Documents】 Silicon Power Devices Application Examples Utilizing the Merits

ROHM’s seminar materials provided at the seminar venue. Silicon base power devices continue its evolution for the market demands of product power saving and efficiency enhancing. Basic knowledge to selection methods for diodes and MOSFETs, the latest device properties, and application examples are described.

    Electrical Circuit Design

    Basic