PCB Design · 3 · simulator
Stack-up Simulator
Load or build a 6-, 8-, 10- or 12-layer stack-up and see what it does to power delivery, decoupling count, DC drop and signal routing. Every number uses the formulas derived in Stack-up for High-Current Compute Boards.
Builds onLoop inductance · Stack-up for high-current boards · MLCC decoupling · Decoupling strategies
Design inputs
Core rail
Decoupling and vias
DC path, regulator to SoC
Signals
Signal layers
Power planes
1Compare 6, 8, 10 and 12 layers
Every preset evaluated with the design inputs above. Change an input (say, the load step or the frequency) and the whole table updates. Click a row to load it.
Layer count is not what fixes the power delivery. Where the power–ground pairs sit, and how thin they are, is. A 6-layer board with a sandwiched core plane under the SoC beats a 10-layer board with its only core cavity in the middle of the stack. What extra layers buy is the freedom to have both: tight PDN cavities near each surface and enough ground-referenced stripline for escape routing, while staying symmetric.
2What the simulator computes
- Geometry. Copper thickness is 1.37 mil per ounce; outer layers are ½ oz plus plating, taken as 1.9 mil. Layer positions are stacked from the top, so every distance includes the copper in between.
- Cavities. For each power layer, the nearest ground above and below (not through another power plane) forms a cavity of height \(h\). It is tight only if the ground is directly adjacent. All cavities on the core rail act in parallel: $$L_\square = \Big(\sum_k \frac{1}{\mu_0 h_k}\Big)^{-1},\qquad \frac{C}{A} = \sum_k \frac{\varepsilon_0\varepsilon_r}{h_k}$$
- Via loop. A capacitor's via pair runs from the surface to the middle of the nearest core cavity, depth \(\ell\): $$L_\text{via} = \frac{\mu_0\ell}{\pi}\ln\frac{s}{r}$$ $$L_\text{mount} = \text{ESL} + L_\text{pads} + L_\text{via}$$ The SoC's own vias always start from the top; they are \(L_\text{via}\) at the top-side depth divided by the number of ball pairs.
- Budget and count. \(Z_t = V\cdot\text{tol}/\Delta I\), \(L_\text{max} = Z_t/2\pi f_\text{max}\), spreading \(L_\text{sp} = (L_\square/2\pi)\ln(r_2/r_1)\) (see the stack-up page), and $$N = \left\lceil \frac{L_\text{mount}}{L_\text{max} - L_\text{sp} - L_\text{BGA}} \right\rceil$$ With the number of capacitors you actually place, the target holds up to \(f = Z_t / 2\pi(L_\text{mount}/N_\text{placed} + L_\text{sp} + L_\text{BGA})\).
- DC drop. Each core-rail layer has sheet resistance \(\rho/t\). Supply layers act in parallel, as do all ground layers for the return, over \(\text{length}/\text{width}\) squares.
- Impedance (IPC-2141), for a trace of width \(w\) and thickness \(t\). Microstrip at height \(h\) over its plane, and stripline between planes \(b\) apart: $$Z_\text{ms} = \frac{87}{\sqrt{\varepsilon_r+1.41}}\ln\frac{5.98h}{0.8w+t}$$ $$Z_s(b) = \frac{60}{\sqrt{\varepsilon_r}}\ln\frac{4b}{0.67\pi(0.8w+t)}$$ An off-centre trace, \(h_1\) and \(h_2\) from its two planes, is approximated as $$Z \approx \frac{2\,Z_s(2h_1+t)\,Z_s(2h_2+t)}{Z_s(2h_1+t)+Z_s(2h_2+t)}$$
3Reading the presets
- 6 layers. The low-cost S-G-S-S-P-S leaves the power plane without an adjacent ground and puts L6 over power. Moving the plane next to a ground (S-G-S-P-G-S) helps only if the capacitors go on the bottom, near that cavity. The PDN-first 6-layer sandwiches the core plane right under the SoC but keeps just two routing layers and is asymmetric.
- 8 layers. The classic S-G-S-P-G-S-G-S has good signal references but a single core cavity in the middle of the board: deep vias and a long capacitor list. Pulling the pair up to L2–L4 fixes the PDN at the cost of one power-referenced stripline layer.
- 10 layers. Enough layers to sandwich the core rail under the top and the auxiliary rail over the bottom, with two inner routing layers. The routing-first variant gives six signal layers but buries the core cavity at the centre.
- 12 layers. The PDN-first stack from the stack-up page: two sandwiched pairs near the surfaces, four ground-referenced routing layers, symmetric. The routing-first 12 shows that adding layers without moving the power pair does not fix the PDN.
4Limits of the model
- It is a first-order planning tool. Mutual inductance between capacitor vias, plane resonances, ESR and damping, package inductance, and the frequency dependence of every term are ignored. Confirm the final stack with a PDN field solver and the SoC vendor's design guide.
- Impedances use closed-form IPC-2141 approximations, good to about ±10% inside their range (roughly \(0.1\lt w/h\lt 2\)). Use the fabricator's field-solver widths for the real board.
- Prepreg thickness after lamination depends on the copper fill of the neighbouring layers; the fabricator's stack-up report gives the pressed values.
- The DC model assumes a uniform rectangular path; via fields, anti-pads and neck-downs make the real drop larger. Run a DC IR-drop analysis after placement.