A voltage regulator is a circuit or integrated device that maintains a stable output voltage regardless of variations in input voltage or load current. In embedded systems, voltage regulators supply the precise, clean supply rails that processors, peripherals, and sensors require.
In practice
Embedded designs commonly use two broad regulator families: linear regulators (LDOs and standard linear types) and switching regulators (buck, boost, buck-boost, and charge pumps). Linear regulators such as the LM7805 or AMS1117 dissipate power proportional to the input-to-output voltage difference multiplied by the load current as heat and are simple to apply with few external components, making them appropriate when the input-output differential is small and load currents are modest (typically under a few hundred milliamps). Switching regulators convert energy using inductors, capacitors, or transformer coupling (depending on topology) and can achieve efficiencies of 85-95% under favorable conditions, making them the preferred choice when powering a Cortex-A SoC, a high-current motor driver, or any application running from a battery where quiescent current and efficiency matter.
Output voltage accuracy depends on the regulator's reference, feedback network, and operating conditions. As covered in "Tolerance Analysis," stacking tolerances across a regulator's reference voltage, resistor divider, and load regulation specification can push the actual rail further from nominal than any single error suggests. Always budget total rail tolerance against the target device's supply voltage range rather than assuming the nominal output is what the load will see.
Thermal behavior is a common pitfall with linear regulators. Power dissipation equals (Vin - Vout) multiplied by load current; a 5 V input feeding a 3.3 V rail at 500 mA dissipates 850 mW in the regulator package, which can push a small SOT-223 into thermal shutdown without adequate copper area or a heatsink. "Voltage Drops Are Falling on My Head" covers operating-point analysis and thermal runaway in detail, and the concepts apply directly to linear regulator selection. LDOs are a subcategory of linear regulator that can operate with very small input-output differentials (as low as 100-200 mV on modern parts), enabling them to regulate from a nearly depleted Li-Ion cell down to a 3.3 V or 1.8 V rail.
Switching regulator selection introduces its own concerns: output ripple, electromagnetic interference from the switching node, minimum load requirements on some topologies, and loop stability when the output capacitor and feedback compensation are not co-designed. Layout is critical: the high-frequency switching loop carrying peak inductor current should be kept as tight as possible, and analog sense lines should be routed away from the switching node. Many modern PMICs (power management ICs) integrate multiple regulators and LDOs into a single package, which is common on designs built around application processors such as the NXP i.MX series or Qualcomm Snapdragon modules.
Frequently asked
What is the difference between a linear regulator and an LDO?
All LDOs (low-dropout regulators) are
linear regulators, but not all linear regulators are LDOs. A standard linear regulator such as the LM7805 typically requires an input voltage at least 2-3 V above the output to regulate properly, though the minimum dropout varies across non-
LDO parts and families. An LDO uses a different internal pass
transistor topology (usually a PMOS or PNP pass element) that can operate with input-output differentials as low as 100-300 mV, which is critical when the input supply is close to the required output or is a battery nearing end-of-discharge.
When should I choose a switching regulator over a linear regulator?
Use a
switching regulator when efficiency matters (battery-powered designs, high load currents, or large input-output voltage differences) or when you need a voltage higher than your input (boost topology). A
linear regulator is a better fit when simplicity, low noise, and small component count outweigh efficiency concerns, such as supplying a low-current analog front end from a supply only slightly above the required rail. For example, supplying a 3.3 V
MCU from a 3.6 V LiPo cell is a natural fit for an
LDO; supplying the same MCU from a 12 V wall adapter at 500 mA would waste 4.35 W in a linear regulator and warrants a
buck converter instead.
How much output voltage tolerance should I assume when designing a power rail?
Read the regulator's datasheet for initial accuracy (often ±1-3%), load regulation (output shift from no-load to full-load), line regulation (output shift across the input voltage range), and temperature coefficient. Then perform a worst-case or statistical tolerance
stack as described in 'Tolerance Analysis' and verify the result falls within the target device's supply voltage limits across all operating conditions. Assuming the nominal output voltage equals what the load sees is a common design mistake.
What causes a linear regulator to get hot, and how do I fix it?
A
linear regulator dissipates power equal to (Vin - Vout) x Iload. A large input-output differential or a heavy load current produces significant heat in the package. Fixes include: choosing an input supply closer to the regulated output voltage, reducing load current (check for unnecessary peripherals left powered), selecting a package with better thermal resistance or adding copper pour, or replacing the linear stage with a switching pre-regulator that brings the voltage close to the output before the linear regulator handles final filtering.
What is a PSRR specification and why does it matter?
Power supply rejection ratio (PSRR) measures how well a regulator attenuates noise and ripple present on its input from appearing at its output, expressed in dB as a function of frequency. A
linear regulator with 60 dB PSRR at 1 kHz ideally reduces input noise at that frequency by a factor of 1000, though actual attenuation depends on operating conditions such as load current, dropout voltage, and frequency. PSRR typically degrades significantly at higher frequencies (often above 10-100 kHz depending on the part), so a linear regulator is not a substitute for proper
decoupling capacitors on sensitive analog or
RF supply pins. PSRR is especially important when powering
ADC reference pins, PLLs, or RF front ends from a rail that may carry switching noise.
Differentiators vs similar concepts
Voltage regulator is sometimes used loosely to mean only
linear regulators, but the term correctly encompasses switching regulators (buck, boost, buck-boost, SEPIC), linear regulators, LDOs, and charge pumps. An
LDO is a specific subtype of linear regulator optimized for low input-output differential. A voltage reference (such as a bandgap reference or a shunt like the TL431) produces a stable reference voltage but typically cannot source enough current to power a circuit directly; a voltage regulator is designed to supply load current while holding its output voltage stable.