In this post, we will explore my approach to the nodal analysis method. Although the topic is not necessarily design-oriented, I felt it might be useful to include a post on it since I’ve noticed a significant amount of confusion about it over the years. I hope my presentation may be of use to help clarify the details of nodal analysis.
We’ll begin with a few assumptions. First, we’ll be using Franklin/passive convention:
I am going assume knowledge of Kirchhoff’s Current Law (KCL), the definition of a node, and the definition of a reference node.
We’ll now go through the steps. Figure 1 shows a “monster circuit” that contains both voltage and current sources in multiple configurations.
Figure 1. Monster Circuit.
Our first step is to identify, count, and label all nodes. For this circuit, there
are five nodes. (Nodes connected by shorts are counted as one node.) We’ll label
them
Figure 2. Nodes Identified and Labelled.
We can now start writing equations. For
For
Figure 3. Currents and Supernode.
The current between
Plus the current between
Plus the current between
Since there is a voltage source between
For the supernode, the difference of the node voltages between
KCL applies to regions or subcircuits as well as nodes. The sum of all currents entering the region must equal the sum of all currents leaving the region, or, in other words, the algebraic sum is zero. Assuming all currents are leaving and are positive:
We now have four equations with four unknowns (actually
With the availability of advanced computing tools for solving systems of
equations, such as MatLab or Julia, it makes sense to arrange the equations in
matrix form:
Let's add some numbers to our circuit as an example. Let
Multiply both sides by 1 kΩ and gather terms:
Supernode A:
Supernode A: -
Supernode B: (
Multiply both sides by 1 kΩ and gather terms:
Supernode B: -
Let's put the equations in matrix form and solve:
Solving the system, we get
As a quick check we can sum voltages around the right loop:
-
-3.625 V - (-1.125 V - 3.625 V) - 4 V + 2.875 = 0 ✓
Looks like a good solution. Hopefully this presentation helped your understanding of nodal analysis. Feel free to ask questions via the questions email: questions(-at-)drdavelivingston(-dot-)com.
Until the next post,
Dr. Dave
21 Oct 2023