Circuit
Circuit Theory
Ohm’s law, Kirchhoff’s laws, mesh and node analysis, and the network theorems used to work out the current and voltage anywhere in a circuit.
What is circuit theory?
Circuit theory is the analysis of electrical circuits. You apply a few basic rules (Ohm’s law and Kirchhoff’s laws) to a network of components so you can work out the current through every branch and the voltage at every point.
The approach relies on the lumped element model. Each component is treated as an ideal element sitting at a single point, and the wires between components are assumed to have no resistance. This holds as long as the circuit is small compared with the wavelength of the signals in it. For example, at 50 Hz the wavelength is 6000 km, but at 2.4 GHz (Wi-Fi) it is only 12.5 cm, so for RF work you need transmission-line theory instead.
To do this
- Basic rules: Ohm’s law, Kirchhoff’s current law (KCL), Kirchhoff’s voltage law (KVL)
- Techniques: mesh analysis, node analysis
- Shortcuts: series and parallel reduction, voltage and current dividers, superposition, Thévenin and Norton equivalents
Reading List
- Electronics: Circuits, Amplifiers and Gates, D V Bugg, Taylor and Francis
- Basic Electronics for Scientists and Engineers, D L Eggleston, CUP
- Electromagnetism Principles and Applications, Lorrain and Corson, Freeman
- Elementary Linear Circuit Analysis, L S Bobrow, HRW
- The Art of Electronics, Horowitz and Hill, CUP
Basic quantities
| Quantity | Symbol | Unit | Meaning |
|---|---|---|---|
| Charge | coulomb (C) | electrons | |
| Current | ampere (A) | Rate of flow of charge, | |
| Voltage | volt (V) | Energy per unit charge between two points, | |
| Resistance | ohm (Ω) | Opposition to current | |
| Power | watt (W) | Rate of energy transfer, |
Voltage is always measured between two points. When we talk about “the voltage at a node”, we mean the voltage between that node and a chosen reference point (ground).
Ohm’s law
The voltage across a resistor is proportional to the current through it:
where is the resistance in ohms (Ω). Combining this with , the power dissipated in a resistor is:
Sometimes it is easier to work with conductance, , measured in siemens (S). Then .
Other Circuit Symbols
Passive Devices
Passive devices cannot add energy to a circuit. They can only dissipate it or store it.
| Device | Symbol | V–I relation | Energy |
|---|---|---|---|
| Resistor | Dissipated as heat | ||
| Capacitor | Stored in the electric field, | ||
| Inductor | Stored in the magnetic field, |
In DC steady state, a capacitor behaves like an open circuit (no current flows) and an inductor behaves like a short circuit (no voltage across it).
Sources of Electrical Power
- Ideal voltage source: keeps a fixed voltage across its terminals, whatever current is drawn. A real source (such as a battery) behaves like an ideal source in series with a small internal resistance.
- Ideal current source: pushes a fixed current through its branch, whatever voltage that takes. A real source behaves like an ideal source in parallel with a large resistance.
- Dependent (controlled) sources: the output voltage or current is set by a voltage or current somewhere else in the circuit. These are used to model transistors and op-amps.
Ground: the Reference Potential
Ground is the node we define as V ≡ 0 volts. Every other node voltage is measured relative to it. You can choose any node as ground. The usual choice is the node with the most connections, because it makes the equations simplest.
Passive Sign Convention
To keep signs consistent, label each element so that the current arrow enters the + terminal of the voltage. With this convention:
A resistor always gives . A battery that is discharging has current leaving its + terminal, so under this convention : it is delivering power. A battery that is being charged has .
Conservation of energy gives a useful check on any solved circuit: the powers of all elements add up to zero. Put another way, the power delivered by the sources equals the power absorbed by everything else.
Kirchhoff’s Laws
First, some terms:
- Node: a point where two or more elements are joined.
- Branch: a single element (or path) between two nodes.
- Loop: any closed path through the circuit.
- Mesh: a loop that has no other loop inside it.
Kirchhoff’s Current Law (KCL)
The algebraic sum of the currents entering a node is zero. In other words, current in = current out:
KCL follows from conservation of charge: a node cannot store charge.
I1 ──►──┐
│
I2 ──►──●──►── I3 I1 + I2 = I3
Kirchhoff’s Voltage Law (KVL)
The algebraic sum of the voltages around any closed loop is zero:
KVL follows from conservation of energy. Voltage is a potential, so if a charge goes around a loop and comes back to where it started, its net energy change is zero. Going around the loop, the voltage rises (across sources) equal the voltage drops (across loads).
Series and Parallel
Series: the same current flows through every element, and the voltages add.
Parallel: every element has the same voltage across it, and the currents add.
Voltage Divider
Two resistors in series across a voltage :
Current Divider
A current splitting between two parallel resistors:
The larger share of the current goes through the smaller resistor.
Example Circuit
The rest of this post solves the same circuit with each technique, so you can compare them.
R1 = 2Ω a R2 = 2Ω
┌────/\/\/\─────●─────/\/\/\────┐
│ │ │
(+) / (+)
V1 = 10V \ R3 = 2Ω V2 = 2V
(−) / (−)
│ │ │
└───────────────●───────────────┘
ground
We want the current through every resistor.
Mesh Analysis
Mesh analysis applies KVL around each mesh, with the mesh currents as the unknowns.
- Assign a current to each mesh, usually all clockwise.
- Write KVL around each mesh. Where two meshes share an element, the current through it is the difference of the two mesh currents.
- Solve the simultaneous equations. A circuit with meshes gives equations.
For the example, take clockwise in the left mesh and clockwise in the right mesh. carries (downward).
Mesh 1: going clockwise, is a rise of 10 V.
Mesh 2: going clockwise, the path passes down through from + to −, so is a 2 V drop.
In matrix form:
So:
- carries 3 A
- carries 1 A, flowing from toward
- carries 2 A, flowing downward
The resistance matrix is symmetric. Each diagonal entry is the total resistance around that mesh, and each off-diagonal entry is minus the resistance shared by the two meshes. Once you see this pattern, you can write the matrix straight from the diagram.
Node Analysis
Node analysis applies KCL at each node, with the node voltages as the unknowns.
- Choose a ground node.
- Label the voltage of every other node.
- Write KCL at each unknown node, using Ohm’s law to express each current in terms of node voltages.
- Solve. A circuit with nodes gives equations.
The example has only one unknown node, . Taking all currents as leaving the node:
Then:
These match the mesh results, and here we needed only one equation instead of two.
Which method should you use? Count the equations. Mesh analysis needs one per mesh, and node analysis needs one per node minus one. Pick whichever gives fewer. Node analysis is also the method SPICE simulators use, because it works for any circuit, including non-planar ones.
Power Check
Using the passive sign convention:
| Element | Power | ||
|---|---|---|---|
| 10 V | 3 A leaving + | −30 W (delivers) | |
| 6 V | 3 A | +18 W | |
| 4 V | 2 A | +8 W | |
| 2 V | 1 A | +2 W | |
| 2 V | 1 A entering + | +2 W (absorbs, i.e. being charged) | |
| Total | 0 W ✓ |
Superposition
In a linear circuit, the response to several sources is the sum of the responses to each source acting alone. To turn off the other sources:
- replace each voltage source with a short circuit
- replace each current source with an open circuit
Applied to the example:
- alone ( shorted): , so
- alone ( shorted): , so
Superposition works for voltages and currents, but not for power, because power depends on and so is not linear.
Thévenin and Norton Equivalents
Seen from any two terminals, any linear network can be replaced by:
- Thévenin: a voltage source in series with a resistance
- Norton: a current source in parallel with the same resistance
The two are related by .
To find the equivalent:
- is the open-circuit voltage across the terminals.
- is the short-circuit current between the terminals.
- is the resistance seen at the terminals with all independent sources turned off. You can also use .
Example: find the Thévenin equivalent that sees.
Remove . With no other path for current, it flows round the outer loop: , so
Reconnecting :
Thévenin equivalents are useful when you want to try several different loads on the same network, because you only need to solve the network once.
Maximum Power Transfer
A load receives the most power when it matches the source resistance, :
At this point the efficiency is only 50%, because the same amount of power is dissipated inside the source. RF systems use matching (for example, 50 Ω antennas and feed lines) to get the most signal through. Power distribution does the opposite and keeps the source resistance much smaller than the load, so that little energy is wasted.
Summary
| Tool | Based on | Unknowns | Best when |
|---|---|---|---|
| Ohm’s law | — | Always | |
| KCL | Conservation of charge | — | Always |
| KVL | Conservation of energy | — | Always |
| Mesh analysis | KVL | Mesh currents | Few meshes, mostly voltage sources |
| Node analysis | KCL | Node voltages | Few nodes, mostly current sources |
| Superposition | Linearity | — | Several independent sources |
| Thévenin / Norton | Linearity | Analysing one load or one port |