Home / Circuits / Nodal Analysis for AC Circuits

# Nodal Analysis for AC Circuits

Nodal analysis for both DC and AC circuits are the same analysis technique. The only difference is you are now dealing with impedance in AC circuits rather than plain resistance in DC circuits. So if you are having problems using Nodal Analysis in DC circuits, then this technique remains a problem in AC circuits. This tutorial aims to be your complete guide in using Nodal Analysis for AC circuits.

### Introduction to Nodal Analysis

The Nodal Analysis technique is derived from Kirchoff’s Current Law (KCL). Recall that KCL tells us that the algebraic sum of currents leaving or entering a junction or node is zero. Algebraic here means we take the direction of the currents into account. A current entering a node is positive while a current leaving a node is negative. Consider the circuit below: At the node labeled “V1”, the current I1 is entering the node while the currents I2 and I3 are leaving the node. Thus, by KCL:

At the node labeled “V2”, the current I3 is entering the node while the currents I4 and I5 are leaving the node. Thus, again, by KCL:

Now what if we want to know the voltages at nodes “V1” and “V2”. Can we do it using KCL alone? Of course we can, but that would take a lot of time!

Here lies the beauty of Nodal Analysis. With this technique, we can directly solve for the node voltages. Let’s see how.

### Representing Current as Function of Voltage

Ohm’s Law tells us that current is the ratio of voltage and resistance:

This formula, however, assumes that the reference for the voltage is zero volts or ground. Remember that voltage is the unit of potential difference. Of course, you can have references other than zero volts. The general formula for current from Ohm’s Law should be:

Also remember that (conventional) current always go from higher potential to lower potential: And so going back to our original circuit: At node 1, where the node currents are:

I1 can be substituted with

Here, its safe to assume that VS is the higher potential because it’s the only voltage source!

We can also determine that:

Since the other potential is ground or zero volts.

And for I3:

Here, we assume that V1 is higher than V2 because V1 is closer to the voltage source.

Our first nodal equation is now:

We could repeat the same for the second node, and acquire a second equation:

We now have two equations with the node voltages as the two unknowns!

### Nodal Analysis for AC

AC circuits now deal with impedance rather than resistance. Recall that impedance is a complex number whose real part is resistance and imaginary part is reactance.

A resistor’s impedance does not have an imaginary component so its impedance is equal to its resistance.

But AC circuits now have capacitors and inductors!

A pure capacitor’s impedance has no real component and only contains an imaginary part, known as capacitive reactance:

Where j is the imaginary number and f is the frequency of the source. Similarly, a pure inductor only has an inductive reactance:

Note that pure capacitors and inductors are only theoretical. Real capacitors and inductors have small resistances which give them impedances with real parts.

Now let’s give values to the resistors in the circuit above. Also, let’s replace some of the resistors with capacitors and inductors: Using the formulas above, the impedances of the capacitors and inductor will now be:

Redrawing the circuit: Applying the same technique we used with DC circuits, the equations will now become:

At node 1:

At node 2:

The next challenge here is using the appropriate technique to solve for the unknowns V1 and V2. Cramer’s Rule is a good tool to used.

Students often have difficulties dealing with complex number equations especially those involving fractions. This is why I often suggest using admittance instead of impedance. An admittance is the reciprocal of impedance:

Just like impedance, admittance has a real component and an imaginary component.

The real component of admittance is called conductance (G) while the imaginary component is called susceptance (B).

For pure capacitors and inductors, only susceptance exists.

For the elements of our example AC circuit:

For resistors, only conductance exists:

So if we are to write the equations above using admittance:

For node 1:

For node 2:

No more fractions!

### A Mnemonic for Nodal Analysis

We can use a general statement to easily recall nodal analysis for AC:

“Sum of admittances connected to the node multiplied by the node voltage, minus the sum of admittances common to this node and the next node multiplied by the next node voltage is equal to the sum of applied currents to this node”

Let’s see if this statement applies to our node equations. Let us look back to our AC circuit: The first part is:

“Sum of admittances connected to the node multiplied by the node voltage…”

Assuming this is referring to the 1st node then:

The next statement,

“Minus the sum of admittances common to this node and the next node multiplied by the next node voltage…”

This should be:

Finally,

“…is equal to the sum of applied currents to this node”

Applied current here is the Norton equivalent current to the node. There is just one applied current in the first node and that is

Thus,

This is the same as the first nodal equation, just rearranged!

We can also apply the same statement to the second node:

Again, this is the same equation we arrived on earlier.

### Conclusion

Hopefully this tutorial achieved its objective which is to make you understand nodal analysis for AC circuits. For questions, reactions and suggestions, please drop a comment below!

## Battery Charger Circuit for NiMH with Status Indicator

An application note for an intelligent trickle battery charger circuit for NiMH batteries, using an …