← ANALYSIS
DESIGN · EMBEDDEDT1Dec 10, 2025· 7 min read

Engineering Stable Power Supplies for Embedded Systems

Transformer sizing, rectifier selection, decoupling strategies, and protection circuits for robust microcontroller power delivery

BS
Beamed Silicon
Semiconductor Intelligence

Designing a stable power supply for a digital embedded system — whether an STM32 microcontroller, an ESP32 module, or an FPGA evaluation board — requires more than selecting a voltage regulator with the right output. Noise on the supply rail propagates directly into ADC measurements, clock jitter, and RF performance. Inadequate protection against overvoltage or undervoltage events can destroy components or corrupt memory. The power subsystem is often the last thing designers think about and the first thing that causes problems in production.

From Mains to DC: Transformer, Rectifier, and Filter

A basic linear supply for an embedded system consists of three stages. The transformer steps down the mains AC voltage to a level appropriate for the target rail — typically 8–12V AC for a 5V or 3.3V output — while providing galvanic isolation. Transformer sizing is determined by the volt-ampere product: a 9V, 1A secondary requires at minimum a 9VA transformer, with practical designs adding 20–30% headroom for efficiency losses and inrush current. The rectifier converts the transformer's AC output to pulsating DC; a four-diode bridge achieves full-wave rectification, using both halves of the cycle and delivering higher average voltage with lower ripple than a single-diode arrangement.

Following the rectifier, a large electrolytic filter capacitor smooths the ripple. The capacitor value is determined by the acceptable ripple voltage, the load current, and the supply frequency: C = I_load / (2 × f × ΔV), where ΔV is the peak-to-peak ripple voltage. For a 1A load at 50Hz with 500mV acceptable ripple, this works out to approximately 2,000µF — a physically large component that dominates the supply's volume and cost. Specifying this capacitor conservatively is good practice: a capacitor rated at twice the calculated minimum will operate at lower voltage stress and lower ESR, improving both ripple performance and long-term reliability.

Decoupling Capacitors: Suppressing Transient Noise

Every digital IC draws transient current spikes as its internal logic switches. A 32-bit microcontroller switching at 100MHz may draw current pulses lasting nanoseconds — too fast for the bulk supply capacitors to respond. Decoupling capacitors placed directly at each VCC/GND pin pair provide a local energy reservoir that supplies these transient currents without allowing the supply voltage to sag. The placement rule is absolute: decoupling capacitors must be as close as possible to the power pins, minimising the PCB trace inductance between the capacitor and the IC.

A three-layer decoupling strategy is typical for sensitive mixed-signal applications: bulk capacitors (10–100µF electrolytic) handle low-frequency supply droop; mid-frequency capacitors (0.1–1µF ceramic) handle switching transients; high-frequency capacitors (10–100nF, 0402 or smaller) damp resonances in the GHz range. The choice of ceramic dielectric matters: X5R and X7R ceramics maintain capacity under DC bias and temperature variation, while Y5V and Z5U types exhibit severe capacity loss at operating voltages and should be avoided for decoupling.

Overvoltage, Undervoltage, and Power-On Reset

Microcontrollers require the supply voltage to be within a defined range before executing code. Operating outside this range produces undefined logic levels, incorrect clock frequencies, and memory corruption. Overvoltage Lockout (OVLO) circuits disconnect the load if the input exceeds a safe threshold; Undervoltage Lockout (UVLO) holds the system in reset until the supply reaches a stable operating level. Both are typically implemented with a voltage supervisor IC — a dedicated comparator with a precision reference and an open-drain output that asserts the RESET pin.

Power-On Reset (POR) is a mandatory feature of every microcontroller: an internal circuit holds the processor in reset for a defined period after the supply crosses the minimum operating threshold, ensuring the supply is fully stable before code execution begins. Many POR circuits integrate a brownout detector (BOD) that monitors the supply during operation and re-asserts reset if voltage dips below the minimum threshold, with hysteresis of typically 100–300mV to prevent repeated toggling on a slowly falling supply. The combination of POR and BOD guarantees the processor never operates in an ambiguous supply state.

SOURCES & FURTHER READING

Published by Beamed Silicon Intelligence. Analysis reflects publicly available information as of publication date. Nothing herein constitutes investment advice.