Sub topic 8
Voltage and current dividers
This chapter assumes you can rearrange algebraic equations, use SI prefixes, and apply Ohm's law (V = IR) to series and parallel resistor combinations. A divider uses those ideas to split a voltage or a current into a predictable fraction.
The voltage divider
A voltage divider is two resistors in series across a source. The same current flows through both. The source voltage splits in proportion to the resistances.
Take R1 on top, R2 on the bottom, and measure the output across R2. The series current is I = Vin / (R1 + R2). The voltage across R2 is I × R2, so:
Vout = Vin × R2 / (R1 + R2)
The larger resistor drops the larger share of the voltage.
The code below reuses the helper functions from the series and parallel chapters. Each result can be checked by hand.
def series(*resistors):
return sum(resistors)
def parallel(*resistors):
return 1.0 / sum(1.0 / r for r in resistors)
def divider_out(v_in, r_top, r_bottom):
return v_in * r_bottom / (r_top + r_bottom)
print(series(100, 220, 330)) # 650 ohms
print(parallel(100, 100)) # 50.0 ohms
print(divider_out(5.0, 10_000, 10_000)) # 2.5 voltsTwo equal resistors halve the input. A 5 V source across two 10 kΩ resistors gives 2.5 V.
The loading error
The formula assumes nothing else draws current from the output. A real load, such as an input pin or another circuit, sits in parallel with R2. That lowers the bottom resistance and pulls Vout down.
Suppose a 10 kΩ load is connected across the 10 kΩ bottom resistor. The bottom branch becomes parallel(10000, 10000) = 5 kΩ. Then:
Vout = 5 × 5 000 / (10 000 + 5 000) ≈ 1.67 V
The unloaded answer was 2.5 V. The error is large because the load is no bigger than R2.
The current divider
A current divider is two resistors in parallel. Both have the same voltage across them, so the current splits in inverse proportion to resistance. The smaller resistor carries more current.
For a total current Itotal entering the pair, the current through R1 is:
I1 = Itotal × R2 / (R1 + R2)
Notice that R2 appears in the numerator for the current through R1. This is the reverse of the voltage divider, where the output resistor appears in the numerator for its own voltage.
def current_through_r1(i_total, r1, r2):
return i_total * r2 / (r1 + r2)
i_total = 30e-3 # 30 mA
i1 = current_through_r1(i_total, 100.0, 200.0)
i2 = i_total - i1
print(f"I1 = {i1 * 1000:.1f} mA, I2 = {i2 * 1000:.1f} mA")The output is I1 = 20.0 mA and I2 = 10.0 mA. The 100 Ω branch carries twice the current of the 200 Ω branch.
Common errors
- Using the voltage formula with the resistors swapped. Check that Vout is measured across the resistor in the numerator.
- Ignoring the load. Recompute with parallel(R2, Rload) when the load is not negligible.
- Using the current divider formula for more than two branches. With three or more, find each current as Itotal × Gk / Gtotal, where G is conductance (1/R).
- Forgetting power. Check that each resistor's power, from the rating chapter, stays within its limit.
Exercises
Exercise
A 12 V source drives a divider with R1 = 8 kΩ on top and R2 = 4 kΩ on the bottom. What is Vout across R2, and what happens to it if a 4 kΩ load is added across R2?
Show answer
Unloaded, Vout = 12 × 4 000 / (8 000 + 4 000) = 4 V. With the load, the bottom branch is 4 kΩ in parallel with 4 kΩ = 2 kΩ, so Vout = 12 × 2 000 / (8 000 + 2 000) = 2.4 V.
Exercise
A 90 mA current enters two parallel resistors of 60 Ω and 30 Ω. How much current flows through each?
Show answer
The 60 Ω branch carries 90 mA × 30 / (60 + 30) = 30 mA. The 30 Ω branch carries 90 mA × 60 / 90 = 60 mA. The currents add to 90 mA.