Power Electronics5 min readUpdated 2026-11-24
Buck Converter vs LDO: Feedback Resistor Divider Math & PCB Layout Rules
When to stop using AMS1117, how to pick 1% E96 feedback resistors for LM2596 / MP1584 / SY8089, and how to prevent switching noise.
1. Thermal Reality Check: When an AMS1117 LDO Burns Up
A linear regulator dumps the entire voltage drop times load current straight into heat: P_loss = (Vin − Vout) × Iload. Dropping 12V down to 3.3V at 500 mA for an ESP32 wastes 4.35 W in an SOT-223 package (RθJA ≈ 90 °C/W), pushing junction temperature past 400 °C—instant thermal shutdown or smoke! Whenever (Vin − Vout) × Iload exceeds 0.6 W, switch to a synchronous Buck converter (SY8089, MP1584, TPS5430).
2. 4 Golden PCB Layout Rules for Buck Converters
90% of noisy or unstable switching regulators fail because of layout, not schematics:
- Minimize the high-di/dt input hot loop (Cin → VIN → SW → Catch Diode/Low-side FET → GND → Cin). Place Cin right next to VIN and GND.
- Keep the SW (switch node) copper polygon short and compact—do not run a long trace that acts as an EMI antenna.
- Route the Feedback (FB) trace AWAY from the inductor and SW node; place R1 & R2 directly next to the IC FB pin and Kelvin-sense Vout at the output capacitor.
- Use a solid uninterrupted Ground plane directly underneath the buck converter stage with generous stitching vias.
Related Interactive Tools & Verified Libraries
Apply this guide directly in the ChipDocs WorkbenchMore Engineering Guides
ESP32-S3 & ESP32-C3 Strapping Pins, Boot Modes & Minimal PCB Design ChecklistMCU Hardware DesignHow to Import KiCad 8 / 9 Footprints (.kicad_mod), Symbols (.kicad_sym) & 3D STEP ModelsECAD WorkflowQFN / DFN Thermal Pad (EPAD) Design: 60% Windowed Solder Paste & Thermal Vias (IPC-7525)PCB DFM & AssemblySTM32F103C8T6 vs STM32F401 / STM32F411 Hardware Design & Pinout Migration GuideMCU MigrationHow to Read SMD Marking Codes: SOT-23 Transistors/LDOs, 3/4-Digit & EIA-96 1% ResistorsComponent Identification