Voltage and Current Dividers
A microcontroller's analog input accepts at most , and you want it to read a battery. Two resistors scale the voltage down: and give , close to full scale. Then a colleague connects a data logger to the same node "just to watch it", and the reading drops by a fifth. The voltage divider is the most used two-resistor circuit in electronics, and its one weakness, loading, is the first taste of the Thevenin equivalent. Its twin, the current divider, splits a current between parallel branches.
The voltage divider
Two resistors in series across carry the same current , so the voltage across is
The ratio depends only on the resistors, not on their absolute size. In general, each resistor in a series string takes the fraction of the voltage. The result holds only when no current leaves the output node, an ideal that a real load never quite meets.
Loading
A load across puts in parallel with it:
A cleaner way to see the effect: seen from the output, the divider behaves like a source of with an internal resistance (proved in Thevenin and Norton Equivalents). The load then forms a second divider with :
Rule of thumb: for an error under 1 %, the load must be about 100 times . That pushes toward small divider resistors, which waste current; the usual compromise is a divider of a few to a few hundred followed by a high-impedance input or a buffer amplifier.
The current divider
A current entering two parallel resistors splits in inverse proportion to resistance (directly in proportion to conductance):
Note the crossed resistor: the current in has on top. For more than two branches use conductances, . The larger current takes the easier path, but the other path always gets some.
Worked example: the battery monitor
Given: , , ; then a load on the output.
Find: unloaded and loaded, the divider's current, and the error.
Solve:
Check: directly, and . Same. The divider draws about from the battery all the time, : acceptable on a car battery, too much for a coin cell, where you would scale the resistors up by 100 and add a buffer.
In Python: loading and tolerance
Vin, R1, R2 = 12.0, 8.2e3, 3.3e3
def par(a, b):
return a * b / (a + b)
Vopen = Vin * R2 / (R1 + R2)
Rth = par(R1, R2)
print(f"unloaded: {Vopen:.4f} V, source resistance of the divider R1||R2 = {Rth/1e3:.4f} kOhm")
print(" RL (kOhm) Vout (V) error (%)")
for RL in [1e3, 10e3, 33e3, 100e3, 1e6]:
Vout = Vin * par(R2, RL) / (R1 + par(R2, RL))
print(f"{RL/1e3:12.0f} {Vout:10.4f} {100*(Vout-Vopen)/Vopen:10.2f}")
# current divider: 6 mA into 2k || 3k
Is, Ra, Rb = 6e-3, 2e3, 3e3
print(f"I(2k) = {Is*Rb/(Ra+Rb)*1e3:.2f} mA, I(3k) = {Is*Ra/(Ra+Rb)*1e3:.2f} mA")
# worst case with 1 % resistors
corners = [Vin * R2*b / (R1*a + R2*b) for a in (0.99, 1.01) for b in (0.99, 1.01)]
print(f"1 % parts: {min(corners):.4f} V to {max(corners):.4f} V")unloaded: 3.4435 V, source resistance of the divider R1||R2 = 2.3530 kOhm
RL (kOhm) Vout (V) error (%)
1 1.0270 -70.18
10 2.7876 -19.05
33 3.2143 -6.66
100 3.3643 -2.30
1000 3.4354 -0.23
I(2k) = 3.60 mA, I(3k) = 2.40 mA
1 % parts: 3.3946 V to 3.4928 V
Two lessons from the numbers. Loading errors fall roughly as : a load costs only 0.23 %. And 1 % resistors alone move the output by about , which is why ADC readings of a divider are usually calibrated in software against a known voltage.
Guided lab: measure the loading
Hand calculation. From the table: open, with , with .
Simulation. Slide the load in the netlist lab and watch the output fall as approaches :
At it shows ; at the top of the slider, , . The currents in and show the current divider at work.
What you would measure. Build the divider with 1 % parts from a bench supply at (current limit ).
- DMM across (a input, so it loads the divider by only 0.02 %): expect .
- Add across : expect .
- Measure the current split: feed from a supply in constant-current mode (voltage limit ) into . The voltage across the pair is , so expect and , each within about 2 %.
Hazards and safe setup: , current-limited. Largest dissipation: in the of the current divider. Before connecting a divider output to a microcontroller pin, check it with the supply at its maximum voltage: the pin's absolute maximum rating is usually only a few tenths of a volt above its supply.
Pitfalls
- Ignoring the load. A divider is a source with internal resistance ; any load forms a second divider.
- Swapping resistors in the current divider. The current through is , not .
- Using a divider as a power supply. It cannot hold its voltage under a varying load; that needs a regulator.
- Forgetting the standing current in battery-powered designs.
Practice
- Design a divider from to with a total resistance of about , using one E24 value plus any second value; find its .
- A current splits among , and in parallel. Find each branch current.
- What load gives a 5 % error on a divider with ?
Answer
- ; with , (an E24 value) and (use : ). .
- : , , .
- gives .
Test yourself
A divider has (top) and (bottom) on . The unloaded output is…
Seen from its output, a two-resistor divider has an internal resistance of…
- only
- zero
splits between and in parallel. The current in the resistor is…
To keep the loading error of a divider below about 1 %, the load resistance should be at least about…
- equal to