Nodal Analysis#

Nodal Analysis is another methodical application of KVL, KCL, and Ohm’s law that allow use to analyze any circuit. Nodal Analysis has a key advantage over Mesh Analysis but in general students become comfortable with one method or the other. The advantage Nodal Analysis has is the ease of locating the unknowns. This is true for humans and computers. Most circuit simulation software uses Nodal Analysis since it is easier to see where components connect (nodes) rather than closed paths with no intermediate branches. This becomes particularly true when analyzing circuits with ideal operational amplifiers, as we will do in this chapter.

The Steps#

I’m going to list the steps here as reference. Use these steps as we walk through the next example.

Steps for Nodal Analysis

  1. Label the non-reference nodes and a current direction for each passive circuit element.

  2. Use KCL on each non-reference node.

  3. Use Ohm’s law to express the resistor currents in terms of node voltages.

  4. Distribute and group like terms.

  5. Plug in values and solve the system.

These steps give us a starting point for the first example. We’ll develop what to do with special circumstances in more complex circuits.

Our First Toy Problem#

Example

Find \(I_O\) using Nodal Analysis.

_images/nodal-first-toy-problem-1.svg

Example

Find \(V_O\) using Nodal Analysis.

_images/nodal-problem-2.svg

Nodal with Voltage Sources#

Just as current sources create special cases for mesh analysis, voltage sources create special cases for Nodal analysis. We will write a KVL for each voltage supply in a circuit we are analyzing with nodal analysis. The rest of the equations in the system will be KCLs. These special cases are divided into two categories: 1) a voltage supply connecting a non-reference node and ground and 2) a voltage supply connecting two non-reference nodes. These next sections describe how to analyze circuits in these two categories using nodal analysis.

Voltage Sources Connected to Ground#

Example

Find \(V_O\) and \(I_O\) using Nodal Analysis.

_images/nodal-voltage-source-connected-to-ground.svg

Voltage Sources Connected to Two Non-ground Nodes#

When a voltage supply connects two non-reference nodes we call it a “supernode”. We treat the voltage supply in a similar manner as the previous example. We write a KVL that includes that voltage supply. The problem we face is then writing a sufficient number of KCL equations to complete the system. Kirchhoff’s Current law can be stated more broadly to address this problem. Rather than stating that the algebraic sum of current entering a node is zero, we say that the algebraic sum of currents entering a bounded region is zero. Therefore, we can draw the bounded region around the voltage supply including the two nodes it connects to and write a KCL for this “super node”. Let’s look at an example.

Example

Find \(I_O\) using nodal analysis

_images/voltage-between-non-reference-nodes.svg

Example

Find \(V_O\) using nodal analysis

_images/voltage-between-non-reference-nodes-2.svg

Nodal Analysis with Dependent Supplies#

Example

Find \(I_O\) using nodal analysis.

_images/nodal-analysis-with-dependent-supplies.svg

Example

Find \(V_O\) using nodal analysis

_images/nodal-analysis-with-dependent-supplies-2.svg

Example

Find \(I_x\) using nodal analysis.

_images/nodal-analysis-with-dependent-supplies-3.svg

Nodal Analysis with an Ideal Operational Amplifier#

_images/opamp.svg

Assumptions about an ideal op-amp:

  • The voltage at the input nodes are equal (\(V_+ = V_-\))

  • No current enters or leaves the inputs (\(I_+ = I_- = 0\))

Example

Find \(V_O\) using nodal analysis

_images/opamp-dc-gain.svg

This is a circuit that you could easily look up in a book, apply the given equations, and find whatever value you seek. However, if you don’t know where to find such a reference, or if the circuit is altered even slightly, this approach will fail. Instead, we can use the assumptions stated above and our knowledge of nodal analysis to develop a system of equations. We can then solve that system as we have previously to find the node voltages and any other values we need.

Example

_images/opamp-positive.svg

Example

Find \(V_O\) and \(I_O\).

_images/nodal-opamp-3.svg

Example

Find \(I_O\)

_images/nodal-opamp-example-54.svg

The Shortcut#

_images/nodal-first-toy-problem-1.svg
_images/nodal-problem-2.svg
_images/nodal-voltage-source-connected-to-ground.svg
_images/voltage-between-non-reference-nodes.svg
_images/voltage-between-non-reference-nodes-2.svg
_images/nodal-analysis-with-dependent-supplies.svg
_images/nodal-dependent-2.svg
_images/nodal-opamp-inverting.svg
_images/nodal-opamp-noninverting.svg
_images/nodal-opamp-shortcut.svg
_images/nodal-opamp-super-shortcut.svg

Strategy for Nodal Analysis#

The examples I’ve worked are intended to teach you how to deal with the little oddities that arise when performing nodal analysis. If you master these you will be able to analyze any linear electric circuits. I’ve also shown you how to use the “shortcut” to perform nodal analysis quickly. With practice you may be able to analyze most circuits simply by looking at the circuit and using your calculator to build the system of equations.

Not all circuits require you to use the techniques introduced here. When I first begin analysis of a circuit I look for certain conditions and I make a plan to deal with them. I will do my best to summarize the strategy I use when analyzing a circuit.

  1. How many non-reference nodes? Non-reference nodes are any nodes that are not the ground node. The number of non-reference nodes define how many unknowns will be part of the system and, therefore, how many equations you will have to write.

  2. Are there voltage supplies? Each voltage supply means you will write a KVL equation instead of a KCL. Also notice I say “voltage supply”. I don’t say “dependent supply” or “independent supply” since the type of voltage supply does not matter.

    1. Is the voltage supply grounded on one side? This is the simpler of the two conditions created by voltage supplies in the circuit. Just write a KVL for the voltage supply and skip the KCL for the node connected to the other side of the voltage supply.

    2. Does the voltage supply connected to two non-reference nodes? This condition creates a “super-node”. The KVL is written in the same way as the previous case. The difference here is found in how you will write one of the KCLs. Rather than writing a KCL for a single node you will write a KCL for the region that bounds the two nodes on either side of the voltage supply.

  3. Are there any operational amplifiers? We use the two assumptions about ideal op-amps to complete the system of equations in this case. The first is that the voltages on the inputs of the op-amp are equal. This is included in the system as a KVL equation. This KVL replaces one of the KCL equations needed to complete the system. You’ll still need to write enough KCL equations to complete the system. Find nodes that are not connected to 1) voltage supplies and 2) the output of the op-amp. Nodes connected to the inputs of the op-amp are fair game since we assume no current enters or leaves those inputs.

  4. Are there any dependent supplies? Look for diamond shaped supplies. It does not matter whether they are voltage or current supplies. Locate the control variable on the schematic and write an expression for it in terms of the unknown mesh currents. This expression is written in a similar manner to finding the output values of the analysis. You should use this expression anytime the control variable shows up in the system of equations.

  5. Write the equations If you’ve answered the questions above you should know which equations you will include in the system. Write them carefully and use good practice with regards to the signs and order of coefficients.

  6. Solve the system Matrix inversion works. So does row-reduced echelon form. If you’d like use software like MATLAB to solve the system. Just find the answer.

  7. Find output of analysis Once you know the node voltages you can find any other value in the circuit. The output of the analysis may take a few different forms.

    1. Is the value a voltage? If the value is a voltage start with the node voltage on the positive side of the output. Subtract the node voltage on the negative side of the output.

    2. Is the value a current through a single passive component? If the value is a current through a passive component use a combination of KVL and Ohm’s law to find that voltage. Find the voltage as you did for the previous output type respecting passive sign convention for the labeled current direction. Use that voltage and the resistance (or impedance in later chapters) to find the current . This is useful for finding currents that are outputs of the analysis as well as finding currents that are intermediate values for the next type of output value.

    3. Is the value a current through a voltage supply or op-amp output? If the value is a current through one of these components you can find it using a KCL at a node connected to the component. This means you have to find other currents using the previous method. Write a KCL at a node that includes the unknown current. Find all of the other currents entering/leaving the node. Solve for the unknown current.