Sub topic 3
Why Current Cannot Pile Up at a Node
This chapter assumes you know what current, voltage and resistance are, can read a basic schematic, and have met the idea of a node as a point where circuit elements join. The next chapter states Kirchhoff's current law (KCL) formally. This chapter explains why the law is true, so you can tell when to trust it and when it fails.
The physical claim
Current is the rate at which charge crosses a boundary:
i = dq/dtThe unit is the ampere, which is one coulomb per second. Charge is also conserved. It is never created or destroyed, and it cannot jump from one place to another without crossing the space between them.
Put these two facts together. Draw a closed boundary around a node, so that every branch connected to the node crosses the boundary once. The only way the charge inside can change is for current to cross the boundary. Writing the currents that enter the boundary as i_k:
dQ_inside/dt = i_1 + i_2 + ... + i_nThis equation holds for any region, so it is not yet KCL. KCL needs one more fact about what is inside the boundary.
What makes a node special
In circuit analysis, a node is an ideal connection: a piece of perfect conductor with no volume to speak of. It has no mechanism for storing charge. Storage is the job of circuit elements, mainly capacitors.
The model assumes the node's charge stays at a fixed value, so dQ_inside/dt = 0. Substituting that into the equation above gives:
i_1 + i_2 + ... + i_n = 0That is KCL. The argument has two steps:
- Charge conservation links the net current into a region to the rate of change of its charge.
- A node holds no net charge that can change, so the net current is zero.
Step 1 is a law of physics. Step 2 is a modeling assumption, and every limit of KCL comes from it.
Why a real wire behaves like a node
A real junction is a lump of copper, and copper can hold some charge. Two things keep the idealization sound.
First, charge builds up against itself. Suppose more current flows into a junction than out. Excess electrons collect there, and their electric field pushes back on the incoming charge. A tiny amount of excess charge produces a large opposing field. Within nanoseconds or less, the system reaches a state where the inflow equals the outflow.
Second, the amount of charge involved is small. A junction behaves like a small capacitor to its surroundings. Call that capacitance C_stray. The stored charge is:
Q = C_stray * vA typical stray capacitance is a few picofarads (1 pF = 10^-12 F). Compare that with a 10 µF capacitor in the same circuit, which is millions of times larger. The charge the junction holds is negligible next to the charge flowing through the elements, so we treat it as zero.
Seeing the "pile-up" in numbers
The simulation below shows what happens if you do not ignore the stray capacitance. A 2 mA source feeds a node. A 1 kΩ resistor leads from the node to ground, and a 10 pF stray capacitance also connects the node to ground. The node voltage settles with time constant tau = R * C. During the transient, some of the source current goes into the capacitance, so the sum of currents into the resistor alone does not match the source.
import math
I_in = 2e-3 # source current entering the node (A)
R = 1e3 # resistor from node to ground (ohms)
C = 10e-12 # stray capacitance from node to ground (F)
tau = R * C # time constant (s), 10 ns here
print(f"tau = {tau:.1e} s")
print(f"{'t/tau':>6} {'v (V)':>8} {'i_R (mA)':>10} {'i_C (mA)':>10} {'i_R+i_C-I_in (A)':>18}")
for k in [0, 1, 3, 5, 20]:
t = k * tau
v = I_in * R * (1 - math.exp(-t / tau)) # node voltage
i_R = v / R # current through the resistor
i_C = I_in * math.exp(-t / tau) # C * dv/dt, current into the stray capacitance
residual = i_R + i_C - I_in # KCL with the capacitor branch included
print(f"{k:>6} {v:>8.4f} {i_R*1e3:>10.4f} {i_C*1e3:>10.5f} {residual:>18.1e}")
charge = C * I_in * R
print(f"Charge stored at steady state: {charge*1e12:.1f} pC")Reading the output:
- At
t = 0the whole 2 mA goes into the capacitance. The node voltage is still 0 V, and the resistor carries nothing. - At
t = tauthe node is at about 1.26 V, and the resistor carries about 1.26 mA. The remaining 0.74 mA still charges the capacitance. - By
t = 20 tau, which is only 200 ns, the capacitor current has dropped to about 10^-11 A. The resistor carries essentially all 2 mA. - The residual column stays at zero (to rounding) throughout. KCL always holds when the capacitor branch is counted as a branch.
- The most charge the node ever stores is 20 pC, about 1.25 × 10^8 electrons. A 2 mA current moves that much charge in 10 ns.
Two lessons follow. The charge does pile up briefly, but only until the voltage rises enough to push the same current out. The amount is small and the time is short. At low frequencies we ignore the transient, which is the same as setting C_stray to zero.
Where the capacitor current fits
A common confusion comes up here. If you attach a real capacitor to a node, charge does accumulate on one of its plates. Does that break KCL at the node?
It does not, because the plate is part of the capacitor element, not part of the node. The branch current into the capacitor is i = C dv/dt. It is a branch current like any other, and KCL counts it. The charge stored on the plate is inside the element, outside the boundary you drew around the node.
This is the practical rule: draw the KCL boundary around the node only, and count every current that crosses it, including currents into capacitors and inductors.
Two equivalent statements
Charge conservation at a node gives two forms of the same law. The sign convention comes later in the tutorial, so only the structure matters here.
| Form | Statement | Reading |
|---|---|---|
| Entering equals leaving | Sum of currents entering = sum of currents leaving | Charge flows through the node without being stored |
| Algebraic sum is zero | Sum of currents, each signed by direction, = 0 | A bookkeeping form that is easier to put in equations |
They are the same equation rearranged. Moving the "leaving" terms to the other side turns the first into the second, once each current has a sign.
Limits of the assumption
The zero-storage assumption is the lumped-circuit model, and it holds under conditions you can check.
| Condition | Why it matters | Rule of thumb |
|---|---|---|
| Circuit is small compared with the signal wavelength | If it is not, current at one end of a wire differs from current at the other end at the same instant | Size below about one tenth of the wavelength `λ = c / f` |
| Signals change slowly enough | Stray capacitance carries significant current at high frequency | Compare `1 / (2π f C_stray)` with the impedances at the node |
| No significant radiation | A radiating wire loses energy as waves, and charge can pile up at wire ends | Not a concern for most low-frequency circuits |
| Nodes are real connections | Open gaps and antennas store charge on their surfaces | Model such parts as capacitances |
As an example, at 100 MHz the free-space wavelength is about 3 m, so one tenth is 30 cm. On a circuit board the signal travels more slowly than in free space, so the usable size is somewhat smaller. A 1 mA current at 100 MHz into a 10 pF stray capacitance drives noticeable current into that capacitance, because its impedance is about 160 Ω. In those situations you have two options. You can add the stray capacitances to the circuit as explicit elements, after which KCL holds again at every node. Or you can switch to transmission-line or field models. The later chapter on the lumped model covers this in detail.
Common mistakes
- Treating a charge-storing element as part of the node. Count the capacitor's current as a branch current instead of excluding it.
- Assuming KCL is a circuit property that can fail by itself. The law is exact for a region with a fixed charge. What fails is the claim that the charge is fixed.
- Confusing current with charge. Current can be nonzero in every branch while the charge at the node stays constant. Only the net current has to be zero.
- Forgetting the boundary. Every branch current must cross the boundary exactly once. If a wire loops back through the boundary, count both crossings.
Exercise
A node has three branches. Branch 1 carries 4 mA into the node, branch 2 carries 7 mA into the node, and branch 3 carries an unknown current. Assuming the node stores no charge, what current does branch 3 carry, and in which direction? Then suppose the node is real and has 5 pF of stray capacitance to ground, and its voltage is rising at 2 × 10^6 V/s. How much current goes into that capacitance, and what does branch 3 carry now?
Show answer
With no storage, the net current into the node is zero, so 4 mA + 7 mA + i3 = 0 with i3 defined as entering. That gives i3 = -11 mA, so 11 mA leaves the node through branch 3. With the stray capacitance, the current into it is C dv/dt = (5 × 10^-12 F)(2 × 10^6 V/s) = 10 µA. This current also leaves the node, going into the capacitance branch. KCL now reads 4 mA + 7 mA + i3 - 10 µA = 0, so i3 = -10.99 mA. Branch 3 carries 10.99 mA out of the node, a change of only 0.09 percent. This is why the lumped assumption is accurate at low speeds.