Put each capacitor at the pin it serves, keep a buck converter's input loop and switch node small and its feedback trace clear of them, and work out a linear regulator's heat before layout. An AP2112K making 300 mA of 3.3 V from 5 V turns 0.51 W into heat, lifting its junction 94 °C.
Where do a regulator's capacitors go?
At its pins. TI's TLV755P datasheet asks for a linear regulator's input and output capacitors as close as possible to the device. The TLV62569 datasheet asks the same of a buck converter's capacitors and inductor, to keep the power traces short, and wants their low sides joined properly to power ground, so ground does not shift.
Not every maker asks. Diodes' AP2112 datasheet draws 1 µF on each side of the regulator, X7R or X5R if ceramic, and says nothing of where they go.
Our library sets each layout rule's number in the order PCB design rules explains: a limit the maker states, else the distance on the maker's layout example rounded up to the next half millimetre, else our 3 mm for a capacitor the maker asks to be close, 10 mm above 1 µF. So the AP2112K module has no rule for its two capacitors, and the review measures nothing there. The R-78E module, for 6 to 28 V inputs, holds its 10 µF input capacitor within 10 mm of its input pin.
How hot does a linear regulator get?
To a first approximation, the TLV755P datasheet puts a linear regulator's dissipation at (Vin − Vout) × Iout, and its junction temperature at the ambient plus that power times θJA, the thermal resistance from junction to ambient.
The AP2112K-3.3's junction temperature against load current from 5 V to 3.3 V, at 25 °C and 70 °C ambient, worked out from Diodes Incorporated's datasheet.
A worked example
Take the AP2112K-3.3, in Diodes' five-pin SOT25 package. Its datasheet gives 184 °C/W from junction to ambient with no heatsink, and 150 °C for the junction in its absolute maximum ratings. From 5 V at 300 mA:
- It drops 5.0 − 3.3 = 1.7 V and dissipates 1.7 V × 0.3 A = 0.51 W.
- Through 184 °C/W, that lifts the junction 0.51 × 184 ≈ 94 °C above ambient.
- At 25 °C ambient the junction reaches about 119 °C; at 70 °C, about 164 °C, past its maximum.
- Our checks keep it 25 °C under that maximum. At 70 °C that allows (125 − 70) ÷ 184 ≈ 0.30 W: about 176 mA at this drop.
Copper carries the heat away
The TLV755P datasheet says θJA varies with the board's copper area, copper weight and planes, and serves only to compare packages: its exposed-pad SOT-23-5 measures 92.5 °C/W on the JEDEC standard test board and 60.3 °C/W on TI's evaluation module. Its guidelines add copper planes on the device's connections and thermal vias around it. Diodes names no test board for its 184 °C/W: measure the part on your board.
What our checks work out
Our checks reckon from budgets, not measurements, and take the worst case: the input's highest voltage, the rail's lowest, the rail's whole budget plus the part's own current, at the spec's warmest ambient, or 25 °C if it gives none.
- Before anything is placed, a linear regulator that would run within 25 °C of its maximum goes back to the agent that chose it, told that a switching regulator keeps it cool. At 70 °C, a 3.3 V rail of 300 mA from USB would take the AP2112K to about 180 °C, so that rail gets the TLV62569 buck converter.
- After routing, the board review works it out again for each linear regulator whose datasheet gives thermal figures: above its maximum is an error, within 25 °C of it a warning, and one without figures is listed as not checked.
How do you lay out a buck converter?
TI's five steps to a great PCB layout for a step-down converter place a buck converter's parts in order of importance. Our TLV62569 module is the datasheet's typical application, 4.7 µF in, 10 µF out and a 2.2 µH inductor, with three distances held as rules.
A buck converter's layout, simplified and not to scale, drawn from the layout guidance in Texas Instruments' datasheet and application notes.
Keep the input loop small
TI's five steps call the input capacitor the single most important part. Place it first after the IC, as close as the manufacturing rules allow, and route it at once. Inductance between its terminals and the IC's input and ground pins turns the switched current into voltage spikes, by V = L × di/dt, which can make the IC fail. The loop runs from the capacitor into VIN, out of GND and back.
Our module holds that loop, the closed path through its four pad centres, to 11.5 mm. On TI's layout example, Figure 20 of the datasheet, our audit measured 11.35 mm.
Shrink the switch node
The switch node swings between the input voltage and ground with fast edges, the main source of EMI in a switching supply by TI's account. Its copper forms a parasitic capacitor with every other node in the circuit, a path for noise. So the inductor goes as close as possible to the IC, and the node's copper stays small. Our module holds the inductor's pad within 4 mm of the SW pin; TI's example has 3.84 mm.
Route the feedback trace away from it
Noise on the feedback node shows up as poor regulation, so TI's five steps keep that node small. The TLV62569 datasheet keeps the traces to FB away from the switch node, and TI's AN-1149 runs the feedback trace as far from the inductor and noisy power traces as possible, ideally on the other side of the board with a ground plane between. TI gives no distance, so no rule of ours holds it; the module's notes say so. The divider on that node sets the output, which the voltage divider calculator works out.
Return the output capacitor to power ground
TI places the output capacitor to keep the way from the inductor back to power ground short, with no vias between the power parts, since vias add inductance. Our module holds its ground pad within 2.5 mm of the chip's GND pin; TI's example has 2.04 mm.
Placement keeps all three rules, or stops and names the one no spot keeps. After routing, the review measures them again, and a miss is an error. Each is measured between pad centres, not on the routed copper's loop area.
How does current get from the input to each load?
From the input, through a regulator, to each load, and back through ground. AN-1149 wants every high-current trace short, direct and thick. How wide each must be for its current is a calculation of its own, which our PCB trace width calculator does; PCB Agent's review holds each rail's narrowest track to its budgeted current at a 10 °C rise, by IPC-2221. Its layout routes ground as tracks rather than a pour, and the review holds each ground net's narrowest track to all the current the board's own sources supply.
When a ground plane helps
A plane makes connections wide and short, which TI's five steps use to keep inductance low. AN-1149 connects the grounds of the IC and its capacitors close together, straight to a ground plane, ideally on both sides of the board, which cuts ground-loop errors and absorbs the inductor's radiated noise. With more than two layers, a ground plane can separate the power parts from the feedback and compensation parts. The TLV62569 datasheet adds that ground layers can shield, and the TLV755P's guidelines use copper planes to spread heat.
One caution from TI's five steps: keep the noisy ground of the power parts apart from the quiet ground of the small-signal parts, joined at a single point, typically the IC's exposed pad.
Limits
This covers the power section of a low-voltage DC board. Mains-powered and isolated supplies need safety standards and creepage distances it does not cover. A layout rule is not a measurement: a regulator's temperature, the ripple and the switch node's ringing are measured on a working board, and the roadmap says where PCB Agent's own boards stand. Can AI design a PCB? shows what the checks prove and miss, and how an AI PCB design agent works where each runs.
Sources
- TLV755P datasheet: power dissipation and layout guidelines, Texas Instruments
- TLV62569 datasheet: typical application, layout guidelines and layout example, Texas Instruments
- AP2112 datasheet: typical application and absolute maximum ratings, Diodes Incorporated
- AN-1149 Layout guidelines for switching power supplies, Texas Instruments
- Five steps to a great PCB layout for a step-down converter, Texas Instruments, Analog Applications Journal


