PCB Layout for SMPS Guide: Shrink the Hot Loop, Silence the Ground Bounce and Size Traces That Stay Cool

Author: Abloom Spark Date: December 01, 2026

A switching power supply can be perfect on paper and still fail on the bench — ringing on the switch node, a feedback voltage that jitters, a trace too hot to touch — and every one of those faults is a layout fault, not a circuit fault. The schematic decides what the supply does; the PCB decides how loudly it does it. This guide works through the three layout numbers that matter most — the hot loop, the ground return and the trace width — for a 24 V to 5 V, 5 A buck converter at 300 kHz, and turns them into rules you can check with a ruler.

Two printed-circuit-board layouts of the same buck converter: a tight layout with a 1 square centimetre switching loop and 15 nanohenry inductance, and a loose layout with a 12 square centimetre loop and 40 nanohenry inductance, beside a chart of trace temperature rise against trace width at 5 amps showing 36 degrees at 1 millimetre and 8 degrees at 2.5 millimetres

Figure 1: (a) The same buck converter laid out twice. The red loop is the path the switching current takes every cycle: 1 cm² in the tight layout, 12 cm² in the loose one. (b) Trace heating at 5 A on 1 oz copper (IPC-2221B): a 1 mm trace runs 36 °C above the board, a 2.5 mm trace only 8 °C. (Schematic, not to scale.)

The hot loop — the one loop that radiates

In a buck converter the current through the input capacitor, the high-side switch, the inductor and the output capacitor does not flow steadily: it switches between two paths every cycle, and the loop formed by Cin, Q1, Q2 and Cout carries the full switching current with sharp edges. That loop is the "hot loop", and its inductance is what turns fast edges into voltage spikes: Vspike = L × di/dt. The MOSFET in our buck turns 5 A off in about 20 ns, so di/dt = 5 / 20 ns = 2.5 × 10⁸ A/s.

In the tight layout of Figure 1 (a) the loop is 20 mm by 5 mm — an area of 1 cm² — and its inductance is typically about 15 nH. The spike is Vspike = 15 nH × 2.5 × 10⁸ = 3.75 V, so the switch node peaks at 24 + 3.75 = 27.8 V — a 30 V MOSFET survives it comfortably. In the loose layout the input capacitor sits far from the switches, the loop is 60 mm by 20 mm — 12 cm² — and the inductance is about 40 nH. The spike is 40 nH × 2.5 × 10⁸ = 10 V, so the switch node peaks at 34 V and the same 30 V MOSFET fails. The circuit is identical; only the layout changed.

The same loop area sets the radiated EMI. A switching loop is a loop antenna, and the radiated field is proportional to the loop area, the current and the square of the frequency. The loose loop has 12 times the area of the tight one, so it radiates 20 × log10(12) = 21.6 dB more — more than ten times the field strength — for the same circuit, the same parts and the same switching speed. That is why the first layout rule is always the same: put Cin touching the FETs, Cout touching the inductor, and the return path straight underneath on the ground plane. Shorten the loop; do not widen it.

Worked example — the ground that bounces

The second layout fault is the ground return. In the buck, the switching current returns to the input capacitor through the ground, and any resistance in that path becomes a voltage that every circuit sharing the ground can see. Take a ground trace 1 mm wide and 50 mm long on 1 oz copper (35 µm thick). Its resistance is R = ρ × L / (w × t) = 1.68 × 10⁻⁸ × 0.05 / (1 mm × 35 µm) = 0.024 Ω. With the full 5 A returning through it, the ground at the far end sits at V = 5 × 0.024 = 120 mV above the ground at the capacitor — and it moves with the switching current, 300,000 times a second.

120 mV sounds small until you compare it with the voltages the circuit actually measures. The feedback divider of a typical buck controller compares its output against a 0.8 V reference, so 120 mV of ground bounce is 15% of the reference — enough to make the output voltage jitter by hundreds of millivolts, or to make the controller misread its own current sense. The fix is a ground plane, not a ground trace: a solid plane has a resistance of about 1 mΩ between the same two points, so the bounce falls to 5 × 0.001 = 5 mV. And the sensitive parts — the feedback divider, the current-sense amplifier — must connect to that plane at one single point, right at the controller's ground pin, so the switching current never flows through their ground at all. That single-point (star) connection is the difference between a quiet supply and one that hums.

Trace width — the IPC-2221 numbers

The third number is heat. A PCB trace is a resistor, and at 5 A even a small resistance makes real heat: the same 1 mm × 50 mm trace above dissipates P = I² × R = 25 × 0.024 = 0.6 W in a strip of copper the size of a matchstick. The IPC-2221B standard gives the temperature rise directly: I = 0.048 × ΔT^0.44 × A^0.725, where A is the trace cross-section in circular mils. For 5 A on 1 oz copper, Figure 1 (b) shows the result: a 1 mm trace rises 36 °C above the board (about 61 °C in a 25 °C room — too hot to touch), a 1.5 mm trace rises 18 °C, a 2 mm trace 11.5 °C, and a 2.5 mm trace only 8 °C. The 2.5 mm trace has a resistance of 0.0096 Ω, so it drops only 0.048 V and burns 0.24 W — less than half the heat of the 1 mm trace, for two and a half times the width.

A good design target is a rise of 10 °C or less, which for 5 A on 1 oz copper means a trace at least 2 mm wide. The same formula works the other way for heavier loads: a 10 A trace needs about 5.6 mm of 1 oz copper for a 10 °C rise, or 2.8 mm if you pay for 2 oz copper. And remember that the rule applies to the whole path — a wide trace with a single narrow neck at a via or a connector is a 1 mm trace with extra steps. Where a trace must change layers, use several vias in parallel: each via adds roughly 0.5–1 nH of inductance and a few milliohms, and a single via in a 5 A switching path is both a hot spot and a spike source.

Design it for something else — the input capacitor's ripple current

One more number closes the layout: the input capacitor of a buck does not carry the load current — it carries the chopped version of it, and its RMS current is Irms = Io × √(D × (1 − D)). For our 24 V to 5 V buck, D = 5 / 24 = 0.208, so Irms = 5 × √(0.208 × 0.792) = 2.03 A. That current flows in the hot loop, through the capacitor's ESR, every cycle. A single 10 µF ceramic capacitor with 5 mΩ of ESR drops only 2.03 × 0.005 = 10 mV and burns 2.03² × 0.005 = 21 mW — which is why ceramics, not electrolytics, sit at the input of a switcher. But the capacitor must be rated for 2 A of ripple current, and it must sit within a few millimetres of the switches: every millimetre of distance adds roughly 1 nH to the hot loop, and 1 nH at 2.5 × 10⁸ A/s is another 0.25 V of spike. The layout checklist, in order, is: Cin touching the FETs; the switch node as short as possible and never routed under the feedback divider; the inductor and Cout next to the switches; a solid ground plane; and the feedback divider close to the controller, away from the switch node.

Key points to remember

  • Worked example: a 24 V to 5 V, 5 A buck at 300 kHz switches 5 A in 20 ns (di/dt = 2.5 × 10⁸ A/s). A tight 1 cm² hot loop (15 nH) gives a 3.75 V spike (27.8 V peak); a loose 12 cm² loop (40 nH) gives a 10 V spike (34 V peak) that kills a 30 V MOSFET.
  • Radiated field is proportional to loop area: 12× the area means 20 × log10(12) = 21.6 dB more EMI from the same circuit.
  • A 1 mm × 50 mm ground trace on 1 oz copper is 0.024 Ω, so 5 A of return current lifts the far end by 120 mV — 15% of a 0.8 V feedback reference. A ground plane (≈1 mΩ) cuts that to 5 mV.
  • IPC-2221B at 5 A, 1 oz copper: a 1 mm trace rises 36 °C, a 2.5 mm trace only 8 °C. Design for a 10 °C rise or less — 2 mm wide at 5 A, 5.6 mm at 10 A.
  • The input capacitor carries Irms = Io × √(D × (1 − D)) = 2.03 A at D = 0.208, and every millimetre it sits from the switches adds about 1 nH — 0.25 V of spike — to the hot loop.
  • Layout order: Cin touching the FETs, a short switch node kept away from the feedback divider, inductor and Cout next to the switches, a solid ground plane, and one single-point ground for the sensitive circuits.