# MDN-100 routing rules (rev C5.2 placement) — message for the Flux agent

**Rev C5.2 changes (2026-10-05):** PS1 pins 3/4 are at X 31.2 / 35.2 (your part is right; the earlier 32.6 / 36.6 was a mis-read of the Bel drawing); the 12 V MLCC bank is 0.3 mm further +X (C2/C3 48.8, C4/C5 53.5, C36/C37 58.2); TP24 → (44.8, 42.6) and FID6 → (47.6, 43.5), both clear of the three Ø 0.99 TC2030 locator holes at (44.46, 40.0) / (49.54, 41.27) / (49.54, 38.73); the mains isolation is enforced by the two copper regions, and the MAINS net-class clearance is **1.0 mm** (not 3.0 / 3.2 — see §Isolation); U5 fan-out clearance 0.2 mm like everything else; the GND pours are defined as explicit polygons (§Ground).

Good — the four shared-pad warnings (J1/W2/W3, J2/W4/W5) are intentional. Before routing, add the five missing fiducials, then apply the rules below. Coordinates are the project frame (mm, origin at the J1 board corner).

**Fiducials (1 mm copper dot, 3 mm mask opening, unconnected, no silk within 3 mm):** FID1 (5.0, 30.0) top — a floating dot in the mains zone, keep ≥ 3.2 mm from mains copper; FID2 (55.0, 8.5) top; FID3 (44.0, 33.0) top; FID4 (58.5, 11.0) bottom; FID5 (70.5, 9.5) bottom; FID6 **(47.6, 43.5)** bottom (rev C5.2: moved from (50.0, 39.4), which put the dot 0.2 mm into the J4 locator hole at (49.54, 38.73)). Every fiducial gets a Ø 3 mm copper-free ring (pour keep-out) and no silk within 3 mm.

## Net classes

- **MAINS**: L, L_FUSED, L_CHOKE, N, N_CHOKE, VCAP_P, VCAP_N
- **SW**: SW, VBST
- **RAIL12**: 12V
- **DIM**: DIM+, DIM-, DIM_P_F, DIM_N_F, DIM_P_PROT, DIM_SENSE, SRC_R, Q9_D
- **ANALOG**: SETPOINT, TP7_NET, PWM_RC1, SINK_INT, SINK_FB, SINK_OUT, SRC_FB, SRC_OUT, Q1_GATE, Q1_SRC, DIM_FB_ADC, VRAIL_ADC, NTC_ADC, AUX_ADC, VREF_3V0, REF_1V65
- **Default**: everything else (3V3, EXP_3V3, GND, BTN_SW, GPIO nets)

## Isolation (IEC 62368-1 reinforced, PD2, material group IIIb) — the rules that replace the 0.127 mm global clearance for mains

1. **MAINS to any non-MAINS copper: ≥ 3.0 mm clearance and ≥ 8.9 mm creepage measured around the slot — enforced by the two copper regions below, not by a net-class clearance number.** Region M: no MAINS copper at X ≥ 37.0 (Y 6–46), X ≥ 30.0 (Y < 6), X ≥ 33.0 (Y > 46). Region S: no non-MAINS copper at X ≤ 41.5 (Y 3.5–46) and X ≤ 46.5 (Y < 3.5 and Y > 46), the fiducial FID1 excepted. With both in force the gap between any mains and any SELV copper is ≥ 4.5 mm straight and > 9 mm around either slot end, so the net-class clearance of MAINS can stay at 1.0 mm. In words: mains copper never beyond **X 37.0** (the PS1 pin-4 pad ends at 36.1), never beyond X 33.0 at Y > 46 and never beyond X 30.0 at Y < 6; SELV copper never below **X 41.5** in the slot band (Y 3.5–46) and never below **X 46.5** in the two solid bridges (Y < 3.5 and Y > 46). **No copper of any kind in the barrier band X 38–41** except the PS1 and CY1 pads. **No SELV copper on either layer under the PS1 primary half** (X 21.5–41.0, Y 1.1–19.7).
2. **MAINS to MAINS, different nets:** net-class clearance **1.0 mm** (functional insulation between L and N: a fault there opens F1). Route the L/N/VCAP traces ≥ **3.2 mm** apart wherever the board allows — a routing target that I check on the Gerbers, not a DRC number; inside the J1 / F1 / L1 / RV1 / PS1 pad fields the component pitch governs (2.2–2.6 mm pad-edge gaps, set by the recognised parts).
3. Mains copper to board edge ≥ 1.0 mm; mains pads ≥ 6.4 mm from the (4,4) and (4,41) hole keep-outs (already true by placement).

## Mains copper

- Every mains net is a defined trace, **≥ 1.0 mm wide, no pours, no thermal relief** (solid pad connections), vias only if unavoidable and then ≥ 1.0 mm dia / 0.5 mm hole.
- **L**: J1 pin 1 (4.0, 20.24) → F1 pin 1 (10.36, 20.6) — 1.5 mm, top layer, straight, no via: this is the only un-fused copper. **N**: J1 pin 2 (4.0, 15.16) → L1 pad 1 (13.25, 9.65), 1.5 mm, staying ≥ 3.5 mm from the (4,4) hole. **L_FUSED**: F1 pin 2 (15.44, 20.6) → L1 pad 3 (13.25, 17.15). **L_CHOKE**: L1 pad 4 (18.25, 17.15) → PS1 pin 1 (23.2, 18.2) and → RV1 pad 1 (13.0, 24.5), 1.0–1.5 mm (the RV1 branch may use the bottom layer). **N_CHOKE**: L1 pad 2 (18.25, 9.65) → PS1 pin 2 (27.2, 18.2) and → RV1 pad 2 (20.5, 24.5). **VCAP_P**: PS1 pin 3 (31.2, 18.2) → C1 pad 1 (30.25, 26.0); **VCAP_N**: PS1 pin 4 (35.2, 18.2) → C1 pad 2 (35.25, 26.0) and → CY1 pad 1 (35.9, 22.3) — 1.0 mm, keep VCAP_P ≥ 3.2 mm from the CY1 pad. (R3/R4 are the wire links in L1's pads: with L1 unfitted the path is pad 3 → wire → pad 4 and pad 1 → wire → pad 2.)
- No top copper under the RV1 housing (X 8.25–25.25, Y 25.5–47.5) or under the C1 can (X 27.25–38.25, Y 27.5–49) other than their own pads; bottom-layer mains links under C1 are allowed.

## SELV

- Default clearance **0.2 mm** everywhere (no U5 exception); inside the U5 (module) courtyard 0.2–0.3 mm traces, fan-out ≤ 12 mm. ANALOG class to SW / DIM / RAIL12 copper: **≥ 1.0 mm as a routing target for traces, checked on the Gerbers — not a DRC pair rule** (rev C5.2g: a pair rule flags the pads of R17, R19, R20, R45, C19 and Q1, which each bridge the two classes across one 0402/0603/SOT-23 pitch). SELV copper to board edge ≥ 0.4 mm; to the slot rim ≥ 0.3 mm (no mask, no silk on the rim).
- Widths: 12V ≥ 0.5 mm; 3V3 ≥ 0.3 mm; DIM+, DIM-, DIM_P_F, DIM_N_F ≥ 0.5 mm (surge path J2 → F2 → D1 → R62). **SW node**: ≥ 0.5 mm, top layer only, ≤ 10 mm total, **no vias** — U4 pin 5 (49.4, 28.2) → L2 pin 1 (51.3, 26.3) as a 0.8 mm stub plus the short stub to C9; nothing but SW, GND, 3V3, 12V, VFB, BUCK_EN copper in the buck pocket X 44–52, Y 24–31. (rev C5.2e: this allowed-net rule applies to the TOP layer west of X 54.3 — U1's courtyard edge; U1's own pads, the stubs leaving them, the DNP C42/C43/C19 pads and bottom-layer analog traces under X 54.3–56 are exempt, and the two analog escapes SINK_FB/SINK_INT use the via well X 56.3–59.4 / Y 30.2–30.7 under U1.) PWM_DIM ≤ 15 mm. SETPOINT: the C10/C15 → U1 pin 5 stub ≤ 12 mm (the star net as a whole is not length-limited), tented vias, no exposed pad.
- Vias: 0.3 mm hole / 0.6 mm dia, tented; no via-in-pad; no vias in the TC2030 (J4) pads; inside the U5 footprint only GND vias; ≥ 8 GND stitching vias under U5 in the gaps between and around the centre GND pads.

## Ground

One GND net, three returns: **power GND** (buck, the 12 V MLCC bank, PS1 pin 5) on a bottom pour under X 46.5–61 / Y 3–14 and X 41.5–55 / Y 14–38, stitched to a **top pour under the buck block** that carries the hot loop C6 → U4 pin 3 → pin 4 → C6 GND (all top, ~3 × 5 mm); the **analog stage returns** (R10, C10/C15, the sense dividers, C16, D1/D3 anodes, R62) join the bottom pour along its east edge (X 58–64), the buck's enter from the west (rev C5.2b: the 0.6 mm slit at X 50 is **withdrawn** — with the rev C5 re-grid the analog passives straddle X 50, the 1.1 MHz hot loop is closed on the top pocket P2, and P1 carries DC return only; the buck's GND vias land in P1 at Y ≤ 30, below the analog grid); **module GND**: solid pour on both layers under U5 (X 66.65–79.65, Y 15.65–29.35). No pours anywhere in the mains zone.

**Pour definitions (rev C5.2 — draw exactly these; delete any board-wide GND plane):**

| # | Layer | Net | Polygon (project frame, mm) | Notes |
|---|---|---|---|---|
| P1 | bottom | GND | (46.5, 0.4) (79.6, 0.4) (79.6, 48.6) (46.5, 48.6) (46.5, 46.0) (41.5, 46.0) (41.5, 3.5) (46.5, 3.5) | the SELV power/analog return; no slit (withdrawn, C5.2b); 0.3 mm clearance to the slot rim; the hole keep-outs come from the Ø 7 rule; Ø 3 mm ring at FID4/5/6 |
| P2 | top | GND | (43.5, 23.7) (56.0, 23.7) (56.0, 35.0) (43.5, 35.0) | buck hot-loop pocket, extended east/north so U1 pin 4 (55.23, 30.80) lands inside it with its ≥ 30 mm² of copper; 4 vias to P1 next to pin 4 |
| P3 | top | GND | (66.65, 15.65) (79.65, 15.65) (79.65, 29.35) (66.65, 29.35) | under U5; ≥ 8 stitching vias to P1 |
| — | top | — | none at X < 43.5 | no mains-side pour of any net |

Thermal relief on SELV pads is fine (default); solid connections for the U5 centre pads and the C6/C11 GND pads. **Order:** traces first, pours last. If the router treats a GND fill as a protected plane that other nets cannot cross, remove P1–P3 for the routing pass and re-draw them from this table afterwards; then add the stitching vias (4 at U1 pin 4 P2 → P1, ≥ 8 under U5 P3 → P1, 0.3/0.6 tented) and run DRC. Stitching vias, thermal-relief choices and the U1 copper-area check are deliverables of the routing pass, not conditions for starting it.

## Keep-outs (unchanged)

**PS1 underside part (rev C5.2c, from Bel's STEP model): no top-layer copper, vias or parts in X 45.0–48.0 / Y 5.0–9.7** — the module carries a 2.3 mm-tall component on the underside of its PCB there; take the 12V/GND runs from PS1 pins 5/6 to the MLCC bank on the bottom layer or around that rectangle. Ø 7 mm copper keep-out at the four holes; label area (bottom) X 7.5–24.5 / Y 26.5–43.5: no bottom footprints or silk; MHF plug Ø 6 at (77.85, 27.4): no parts > 2 mm; pigtail corridor X 72.5–80 / Y 29.35–37.5: parts ≤ 2 mm; TC2030 plug envelope X 43.8–50.2 / Y 35.2–44.8: no parts > 1 mm; nothing but J4's own nets (3V3, GND, UART0_TXD, UART0_RXD, EN, BTN_USER) routed through J4's courtyard.

## Silkscreen

Reference designators both sides (none in the bottom label area, none within 3 mm of a fiducial, nothing on the slot rim). Required text: `L`, `N` and `12-22 AWG Cu, 0.5 Nm` at J1; `F1 1A T 300V`; `WARNING 305 VAC - MAINS` on the mains side; `NYLON ONLY` rings at (4,4) and (4,41); `0-10V DIM - SELV`, `DIM+`, `DIM-` at J2; `EXP` with pin 1 marked at J3; `MDN-100 rev C5`. **No "Class 2" text anywhere.**

## Deliverables when routing is done

DRC report against these rules (zero mains/SELV violations; list any waived item), Gerbers (RS-274X) + Excellon with the slot on the board-outline/cutout layer, pick-and-place for both sides, the final BOM, top/bottom 3D screenshots, and the routed lengths of SW, VIN (C6 → U4 pin 3), SETPOINT, PWM_DIM and DIM+ (J2 → F2 → D1).
