Sub topic 9
Input and Output Capacitors for Stable Regulation
Assume you understand voltage, current, resistance, and basic breadboard wiring. You should also be able to read a regulator's datasheet and identify its input, output, and ground pins.
Why regulators need capacitors
A voltage regulator tries to keep its output voltage steady while the input voltage or load changes. A microcontroller, radio, or motor can suddenly draw more current. The regulator cannot respond instantly, so the output voltage may briefly dip or oscillate.
A capacitor stores electrical energy. It can provide a short burst of current during a load change and absorb some unwanted voltage variation. Regulators commonly use two capacitors:
- The input capacitor connects between the regulator's input pin and ground.
- The output capacitor connects between the regulator's output pin and ground.
The input capacitor reduces noise arriving from the battery and supplies current when the regulator's input wiring has noticeable resistance or inductance. The output capacitor smooths the regulated voltage and helps the regulator control its feedback loop.
Choosing capacitor types and values
Use the regulator datasheet as the primary source for capacitor values. A common design might use a 10 µF electrolytic or ceramic capacitor at the input and a 10 µF capacitor at the output, plus a 0.1 µF ceramic capacitor near a digital device. However, the correct values depend on the regulator.
| Capacitor type | Strength | Important limitation |
|---|---|---|
| Ceramic | Low resistance, good for fast noise | Effective capacitance can fall with voltage |
| Electrolytic | High capacitance and inexpensive | Polarized and usually higher resistance |
| Tantalum | Compact and stable in some designs | Can fail dangerously when reversed or overstressed |
The datasheet may specify a minimum capacitance and a maximum equivalent series resistance, or ESR. ESR is the small internal resistance of a capacitor. Some older regulators need a certain ESR range to remain stable. A very low-ESR ceramic capacitor can cause instability if the regulator was designed for an electrolytic capacitor.
Check the capacitor's voltage rating. It should exceed the highest possible voltage in the circuit, not only the battery's nominal voltage. Electrolytic capacitors are polarized, so connect their positive terminal to the higher voltage and their negative terminal to ground.
Placement and wiring
Place the input capacitor physically close to the regulator's input and ground pins. Place the output capacitor close to the output and ground pins. Long breadboard wires add inductance and resistance, which reduce the capacitors' effectiveness.
A 0.1 µF ceramic bypass capacitor near an Arduino's supply pins handles fast, small current changes. It does not replace the larger capacitors required by the regulator. If a radio or motor causes resets, add local bulk capacitance near that load, while still following the regulator's limits.
Common mistakes
- Leaving out the input capacitor because the battery seems stable.
- Installing the output capacitor several wires away from the regulator.
- Reversing an electrolytic capacitor.
- Using a capacitor with too low a voltage rating.
- Assuming a larger capacitor is always better. Excess capacitance can slow startup or exceed the regulator's specified limits.
- Connecting a ceramic capacitor without checking whether its marked value remains valid at the circuit voltage.
Test the regulated output with a multimeter first. Then test it while the real load is active. A stable reading with no load does not prove that the circuit remains stable during radio transmissions, motor starts, or other current spikes.
Exercise
A regulator datasheet requires a 10 µF input capacitor and a 10 µF output capacitor. Where should you place them, and what must you check before using electrolytic parts?
Show answer
Place each capacitor close to the corresponding regulator pin and ground. Check voltage rating, polarity, capacitance, and the datasheet's ESR requirements.