Sub topic 10
Choosing resistor values: ratio, power, and tolerance
This chapter assumes you can use the voltage divider rule, Vout = Vin * R2 / (R1 + R2). It also assumes you know how a load resistance changes the divider's output. The ratio R2 / (R1 + R2) fixes the output voltage, but many pairs of resistors give the same ratio. Three practical limits decide which pair to use: the load, the power budget, and the resistor tolerance.
The design procedure
Step 1: Ratio and total resistance
The ratio alone gives R2 / (R1 + R2) = Vout / Vin. You then choose the total resistance. This choice trades two effects against each other.
- A small total draws a large current. It wastes power and loads the source.
- A large total draws little current, but the output becomes sensitive to a load. The Thevenin resistance of the divider is R1 in parallel with R2. A common rule of thumb is to keep the load at least 10 times that value, which limits the loading error to about 10%. For a smaller error, use a larger factor.
Suppose you must produce 3.3 V from 12 V for an input that draws almost nothing, and it has a 100 kΩ resistance. A divider current of about 1 mA gives a total of 12 kΩ. Then R2 = 12 kΩ × 3.3 / 12 = 3.3 kΩ and R1 = 8.7 kΩ. The Thevenin resistance is about 2.4 kΩ, far below 100 kΩ, so the load is acceptable.
Step 2: Standard values
Resistors come in standard series. The E24 series (5% parts) has no 8.7 kΩ, and its nearest values, 8.2 kΩ and 9.1 kΩ, give 3.44 V and 3.19 V. The E96 series (1% parts) includes 8.66 kΩ, which gives a much closer result. Choose the series that matches the accuracy you need.
Step 3: Power
Both resistors carry the same current I = Vin / (R1 + R2). Each one dissipates P = I²R. The larger resistor dissipates more. Compare the result with the resistor's rating, and leave a margin. A common practice is to use no more than half of the rating.
Step 4: Tolerance
A resistor with 1% tolerance can be off by 1% in either direction. The worst case for the output occurs when the two resistors move in opposite directions. The following script checks all three points.
def vout(vin, r1, r2, rl=None):
"""Divider output. If rl is given, it is connected across r2."""
if rl is not None:
r2 = r2 * rl / (r2 + rl)
return vin * r2 / (r1 + r2)
vin, r1, r2, tol = 12.0, 8_660, 3_300, 0.01
nominal = vout(vin, r1, r2)
low = vout(vin, r1 * (1 + tol), r2 * (1 - tol))
high = vout(vin, r1 * (1 - tol), r2 * (1 + tol))
loaded = vout(vin, r1, r2, rl=100_000)
i = vin / (r1 + r2)
print(round(nominal, 3), round(low, 3), round(high, 3)) # 3.311 3.263 3.359
print(round(loaded, 3)) # 3.234
print(round(i * i * r1 * 1000, 1), round(i * i * r2 * 1000, 1)) # 8.7 3.3 (mW)The nominal output is 3.311 V, and the 1% parts allow it to range from about 3.263 V to 3.359 V. The 100 kΩ load pulls the nominal value down to 3.234 V, which is a shift of about 2.3%. The resistors dissipate 8.7 mW and 3.3 mW, so a 1/8 W part is more than adequate.
Summary of trade-offs
| Choice | Effect of making it larger | Effect of making it smaller |
|---|---|---|
| Total resistance | Less power, more loading error | More power, less loading error |
| Resistor tolerance | Larger output error | Smaller error, higher part cost |
| Power rating | More margin, larger part | Risk of overheating |
Exercise
A 5 V source feeds a divider that must give 2 V to a 50 kΩ load. You choose a divider current of 0.5 mA when unloaded. What are the unloaded R1 and R2, and what is the power in R1?
Show answer
The total resistance is 5 V / 0.5 mA = 10 kΩ. R2 = 10 kΩ × 2 / 5 = 4 kΩ and R1 = 6 kΩ. The power in R1 is I²R1 = (0.5 mA)² × 6 kΩ = 1.5 mW. Note that the 50 kΩ load would lower the output to about 1.85 V, so the values would need adjusting if the output must be exactly 2 V.