Back to library
DOCUMENT IDB-PCB-014

IDB-PCB-014

Electronics · PCB · schematic · layout

Electronics and PCB design

Reference for schematic capture, PCB layout, decoupling, power integrity, signal integrity, and the layer stack-up choices that determine yield and EMC outcome.

Revision1.0
IssuedMay 2026
OwnerIdeambox engineering
CompanionPDF reference

Abstract

PCB design is where electrical schematic intent becomes manufacturable geometry. Choices made at layout time — layer stack-up, decoupling strategy, ground topology, signal routing — determine whether the product passes EMC the first time, hits the yield target, and behaves consistently across the production batch.

Section 1 covers schematic best practices. Section 2 covers layer stack-up selection. Section 3 covers power and decoupling. Section 4 covers signal integrity and high-speed routing. Section 5 covers grounding and EMC layout. Section 6 covers design-for-manufacturing constraints and DRC rules.

01 Concept Intent Constraints 02 Design CAD · PCB DFM review 03 Prototype Test plan Iterate 04 Source RFQ · BOM Contract 05 Sample Golden Approval 06 Produce QC · cert Ramp 07 Ship Freight Customs HARDWARE PRODUCT DEVELOPMENT — 7-STAGE PIPELINE PHASE 1 · DEFINE PHASE 2 · BUILD PHASE 3 · PRODUCE PHASE 4 · DELIVER
PCB design sits at the heart of Phase 2 (Build). The decisions made here determine the EMC, thermal, manufacturing, and field-failure profile of the product.

1.Schematic capture

The schematic is the single source of truth for electrical intent. Layout follows; quality of layout depends entirely on quality of schematic.

1.1Schematic hygiene

  • Hierarchical structureGroup by function (power, MCU, sensors, comms, connectors). One sheet per functional block; 1–4 sheets typical for a 4-layer consumer board.
  • Net naming conventionsPower nets in caps with voltage (VDD_3V3, VBAT, GND). Signal nets in mixed case (SPI_CLK, I2C_SDA). Differential pairs explicitly (USB_DP, USB_DN).
  • Component reference designatorsSequential, mapped per IEEE Std 200 (R, C, L, U, Q, D, J, Y, etc.).
  • Pin numbering on every componentIncluding non-obvious mechanical (J1.MH for mounting hole tied to GND).
  • Net labels everywhereNo floating wires. Labels visible at every termination.

1.2Documentation per page

  • Title blockProject, board name, schematic revision, designer, date, sheet X of Y.
  • Off-page connectorsNamed labels for inter-sheet signals.
  • Revision historyPer page, dated changes.
  • Components grouped visuallySensor block, power section, MCU peripherals.

1.3Bill of materials (BoM) alignment

  • Schematic generates the BoM via design tool (Altium, KiCad, Eagle, OrCAD).
  • Every component has an MPN + manufacturer in its properties.
  • Critical components flagged (single-source, long-lead, allocated risk).
  • Cross-check BoM count with reference designator count; mismatches indicate floating or duplicate components.

1.4Design rules to check at schematic completion

CheckMethod
Power supply currents balanceSum max load across rails
All bypass capacitors per datasheetOne per VCC pin, one per power-rail bank
Pull-up/pull-down resistors per protocolI2C: 1k-10k; USB: per spec; reset: 10k
All MCU pins assigned (no floating)Tie unused to GND or VDD
Test points on all power rails + critical signalsMin 1 per net, more for ICT coverage
ESD protection on accessible portsTVS arrays on USB-C, audio jacks, exposed contacts
Reset signal robustnessWatchdog + voltage supervisor on power-up
Boot mode selection visibleBootloader pins available for programming

2.Layer stack-up

The stack-up determines impedance, thermal performance, EMC behaviour, and manufacturability cost. Pick before routing.

2.1Standard stacks for consumer hardware

StackLayersUseCost relative
2-layer (1.6 mm FR-4)TOP / BOTSimple logic, prototype
4-layer (1.6 mm FR-4)TOP / GND / VCC / BOTMost consumer electronics2–3×
6-layer (1.6 mm FR-4)TOP / GND / SIG / SIG / VCC / BOTRF, high-speed digital4–6×
8-layer+Mix per designComplex SoC, BGA6–10×
4-layer impedance-controlledper specUSB, MIPI, Ethernet3–5×
HDI (high-density interconnect)Microvias + buriedSmartphone, smartwatch8–15×

2.2When to go to 4 layers

  • Component density: >10 components per cm²
  • High-speed signals: USB 2.0+, Ethernet, MIPI, DDR
  • Multiple voltage rails (3+ supplies)
  • BGA packages (any size)
  • EMC sensitivity (radio, sensor inputs, audio)

2.3Layer assignment for 4-layer board

`` TOP layer: Components + short signal routing GND layer: Solid ground plane (no splits) PWR layer: Power planes (can have multiple voltage zones) BOT layer: Routing + some components (BGA fanouts) ``

Common error: routing power on the GND layer. Don't do this — break the ground plane and lose return-path integrity.

2.4Standard impedance reference

Trace typeWidth × Spacing × ThicknessImpedance
Single-ended 50 Ω (FR-4, 4-layer, 0.20 mm dielectric)0.30 mm50 Ω
Single-ended 50 Ω (FR-4, 4-layer, 0.10 mm dielectric)0.18 mm50 Ω
Differential 90 Ω (USB 2.0)0.12 mm × 0.20 mm gap90 Ω diff
Differential 100 Ω (Ethernet, LVDS)0.13 mm × 0.18 mm gap100 Ω diff
Coplanar waveguide (RF)Width tuned per stack50 Ω (Z₀)

Verify with your supplier's impedance calculator (Polar SI9000, Saturn PCB, manufacturer-specific tool).

3.Power + decoupling

Power integrity decisions made at layout time are nearly impossible to fix in production. Get them right at the start.

3.1Decoupling capacitor selection

Frequency rangeCapacitor typeTypical valuePlacement
<1 kHz (line ripple)Electrolytic / tantalum10–100 µFNear regulator output
1 kHz – 1 MHz (switching ripple)Ceramic X7R0.1–10 µFPer power-supply pin bank
1 MHz – 100 MHz (RF, fast switching)Ceramic X5R / NPO10 nF – 100 nFAdjacent to IC power pins
100 MHz – 1 GHz (RF, decoupling)Ceramic NPO1 nF – 10 nFMultiple per power pin
>1 GHzHigh-Q resonators10 pF – 100 pFRF design specific

3.2Bypass cap placement rules

  • One ceramic 100 nF per VCC pin of every IC. Within 5 mm of the pin.
  • One bulk cap (1–10 µF) per power-rail bank (e.g., per side of an FPGA, per regulator).
  • Multiple ceramics in parallel (10 nF + 100 nF + 1 µF) at high-current IC pins (MCU, comms IC).
  • Place caps on the bottom layer adjacent to the IC, with through-hole connection to power plane. Minimises return path length.

3.3Power-rail decoupling diagram

`` +5V (USB) ────┬──── 5V regulator (LDO or buck) ──┬──── +3.3V_MCU │ │ C1 (10 µF) C2 (10 µF) │ │ GND GND │ ├──── + per IC: 100 nF + 10 nF │ within 5 mm of pin │ └──── + bulk: 4.7 µF per bank ``

3.4Power supply considerations

  • LDO vs. buck regulatorLDO if Vdrop < ~1 V and current < 500 mA; buck for higher drop or current.
  • Quiescent currentCritical for battery-powered designs. Look for <10 µA Iq in regulators.
  • Load step responseBuck regulators have slower response; size output cap for transient.
  • Efficiency curveLook at efficiency vs. load. Often peaks at 50–70 % of rated.

3.5Trace width for power

CurrentTrace width (1 oz Cu, ext)Trace width (2 oz Cu, ext)
100 mA0.30 mm0.20 mm
500 mA0.80 mm0.50 mm
1 A1.5 mm0.8 mm
3 A4.0 mm2.5 mm
5 A6.0 mm4.0 mm

Internal layers carry ~50 % of external trace current at same width. Use IPC-2152 calculator for precise sizing.

4.Signal integrity + high-speed

High-speed signals (>100 MHz fundamental, or fast edge rates < 1 ns) need careful routing.

4.1High-speed routing rules

  • Match trace lengthsWithin a differential pair: ±0.1 mm. Within a parallel bus: ±5 mm (DDR3) or per protocol.
  • Avoid stubsStubs over 1/4 wavelength of the signal frequency create reflections. Use vias for all branch connections.
  • Reference plane changesWhen transitioning between layers, place return-path vias adjacent to signal vias.
  • Avoid 90° bendsUse 45° angles or curves. 90° creates impedance discontinuity.
  • Spacing between tracesCoupling decreases as the cube of distance. 3W spacing reduces coupling by ~20 dB vs. 1W spacing.

4.2Differential pair routing

  • CouplingTraces must be edge-coupled (close together) for full benefit of differential signaling.
  • Length matchingWithin a single pair: 0.1–0.5 mm typical, depending on data rate.
  • Skew matchingBoth traces should have the same number of vias, layer transitions, and bends.
  • Avoid asymmetric layoutsOne trace going around an obstacle while the other doesn't = skew.

4.3Common high-speed signals

SignalFrequency / data rateImpedanceLength match
USB 2.0480 Mbps90 Ω diff±0.15 mm
USB 3.0 / 3.15–10 Gbps90 Ω diff±0.1 mm
Ethernet 100/1000100/1000 Mbps100 Ω diff±0.15 mm
MIPI CSI / DSIUp to 6 Gbps100 Ω diff±0.1 mm
DDR3 / DDR4800–3200 Mbps40–50 Ω SE±5 mm per byte lane
LVDSUp to 1.5 Gbps100 Ω diff±0.5 mm
HDMIUp to 6 Gbps100 Ω diff±0.1 mm

4.4Crosstalk reduction

  • SpacingMaintain 3× trace width (3W rule) between adjacent traces.
  • Routing layersAggressors and victims on different layers when possible.
  • Guard tracesGrounded traces between sensitive signals (rarely necessary in consumer designs).
  • TerminationSeries resistor (33–100 Ω) at the driver for fast logic outputs.

5.Grounding + EMC layout

Ground topology determines EMC performance and immunity. Most EMC failures trace back to ground design.

5.1Ground strategies

  • Single ground planeBest for digital + low-frequency analog. Use solid copper pour on a dedicated layer.
  • Split groundOnly when high-isolation needed (audio, sensitive analog). The split must be bridged at one point — typically near the ADC reference.
  • Star groundFor mixed-signal designs. All grounds (analog, digital, chassis) connect at one point.

5.2Common grounding mistakes

  • Splitting ground under high-speed tracesForces return current to take a long path; radiates strongly.
  • Cutting ground for thermal isolationCreates antenna-like structures.
  • No connection from chassis to PCB groundStatic charge has no return path; ESD damage likely.
  • Multiple ground vias far apartCreates ground bounce. Add adjacent vias for low impedance.

5.3EMC layout fundamentals

  • Minimise loop areaKeep current loops small. Every signal trace has a return current; the loop area determines radiation.
  • Place sensitive circuits in low-noise zonesAudio, ADC, antenna away from switching power supplies.
  • Shield switching power suppliesUse a shielding can or keep the supply region tightly contained.
  • Ferrite beads on cablesAdd to USB, audio, and other cables to suppress conducted emissions.
  • Common-mode chokes on power inputsReduces conducted emissions on power lines.

5.4ESD protection

  • TVS diodes on every accessible signalUSB-C, audio jack, switch inputs.
  • TVS placementAt the connector, not at the IC. Clamps the surge before it propagates.
  • Bidirectional TVSFor AC signals (audio).
  • ESD test ratingIEC 61000-4-2: ±8 kV contact / ±15 kV air for level 4.

6.DFM + DRC

Manufacturing rules that prevent yield problems. Set these in the design tool.

6.1Standard DRC rules

ParameterStandardPremium
Trace / space0.20 mm / 0.20 mm0.125 mm / 0.125 mm
Annular ring (PTH)0.20 mm0.15 mm
Drill diameter (vias)0.30 mm0.20 mm (laser: 0.10 mm)
Aspect ratio8:110:1
Soldermask dam0.10 mm0.075 mm
Silkscreen line width0.15 mm0.10 mm
Min text height0.8 mm0.6 mm
Edge-to-copper0.20 mm0.20 mm
Pad-to-pad0.15 mm0.10 mm

6.2Component placement rules

  • Component-to-component spacingMinimum 0.5 mm SMD, 1 mm for hand-rework accessibility.
  • Orientation consistencyGroup similar components in same orientation to reduce machine-vision verification time and AOI false-positives.
  • Polarity markingsCapacitors, diodes, ICs clearly marked on silkscreen.
  • Fiducial marksThree global fiducials (preferred) or two diagonal. Local fiducials for 0402 + finer or BGA.
  • Test points1.0 mm diameter pads, 2.54 mm spacing for ICT. At least one per net.
  • Keep-out zones1 mm around connectors, 2 mm around antennas, 3 mm around shielding cans.

6.3Production-readiness checklist

  • [ ] All Gerber files generated and verified in CAM viewer
  • [ ] Drill file matches PCB design
  • [ ] Pick-and-place file (X, Y, rotation per component)
  • [ ] BoM in supplier's preferred format
  • [ ] Assembly drawing with PCB dimensions + critical mechanical features
  • [ ] Stencil file for SMT
  • [ ] Test point report for ICT
  • [ ] Panelization details (V-score lines, tabs, mouse-bites)
  • [ ] Soldermask + silkscreen artwork verified
Final note.PCB design is a discipline of trade-offs. Every routing decision affects EMC, thermals, yield, and cost. The best PCB designs start with a clear schematic, a deliberate stack-up choice, and a rigorous DRC. The worst PCBs are routed in a hurry; they reveal their problems in batches of failed lab tests and field returns six months later.