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 Workbench

More Engineering Guides

All Guides