# Nodal Analysis

## Kirchhoff's Current Law

The sum of currents entering a node is equal to the sum of currents leaving a node.

• Currents flowing into a node are denoted as negative
• Currents flowing out of a node are denoted positive
• The sum of currents around a node must always be 0

## Nodal Analysis

A technique used to analyse circuits to calculate unknown quantities. Allows the voltage at each circuit node to be calculated, using KCL.

An important point to remember is that the bottom of any circuit diagram is ground (0V), by convention.

### Steps

• Choose 1 node as the reference node
• Label any remaining voltage nodes
• Substitute any known voltages
• Apply KCL at each unknown node to form a set of simultaneous equations
• Solve simultaneous equations for unknowns
• Calculate any required values (usually currents)

Generally speaking, there will be a nodal equation for each node, formed using KCL, and then these equations will solve simultaneously.

## Example

Calculate the voltages at nodes and .

There are 4 currents at

• Flowing from 15V source to accross 2 resistor
• Flowing from to ground accross 16 resistor
• Flowing between and accross 7 resistor
• 5A, from current source

Each current is calculated using ohm's law, which gives the following nodal equation:

When the direction of each current is not known it is all assumed to be positive, and the voltage at the node is labelled as postive, with any other voltages being labelled as negative. Similar can be done for node :

We now have two equations with two unknowns, which can easily be solved.

The system of equations above can also be represented in matrix form

This matrix equation always takes the form .

is known as the Admittance Matrix.

## Calculating Power Dissapated

Sometimes, it is required that the power dissapated by voltage/current sources is calculated. For example, calculate the power supplied by the current sources in the following:

KCL at node :

KCL at node :

KCL at node :

From the node voltages, the power dissapated in the sources can be calculated. In the 2A source:

And in the 3A source:

Note that the voltage accross the current source is always calculated as the node the current is flowing to, minus the node the current is flowing from, ie (to - from). This makes the sign correct so it is known whether the source is delivering or absorbing power. If the direction of the current source oppose the direction of the voltage rise, it will be absorbing power..

If correct, the total power delivered to the circuit will equal the total dissapated. This calculation can be done to check, if you're bothered.

## Dependant Sources

Some circuits contain current/voltage sources which are dependant upon other values in the circuit. In the example below, a current is assumed between the two nodes where the dependant voltage source is.

Calculate the power dissipated by the 50 resistor, and the power delivered by the current source.

At Node :

At Node :

We have two equations in 3 unknowns, so another equation is needed. Using :

These can be equated about to give

This system of equations solves to give , and .

Therefore,

• The power delivered by the current source
• The power dissapated by the 50 resistor is