PCB design and EMC · Part 25 of 36

Printed circuit board basics

Expert 18 min

Layers and stack-ups, footprints, trace width and current, vias, design rules and the KiCad workflow from schematic to Gerber files.

What you will learn

  • You can describe a PCB stack-up and the parts of a board.
  • You can size traces for current with IPC-2152 tools.
  • You can follow the schematic-to-manufacturing workflow and run DRC.

Before this: MOSFETs: voltage-controlled switches

What a PCB is

A printed circuit board is a sandwich of insulating material — usually FR-4 glass-fibre epoxy, 1.6 mm thick — with thin copper layers (typically 35 µm, "1 oz") etched into traces and pads. Vias (plated holes) connect layers. A solder mask (usually green) covers what shouldn't be soldered; the silkscreen prints labels.

Common stack-ups:

  • 2 layers: cheap, fine for simple, slow circuits.
  • 4 layers: signal – ground – power – signal. The continuous ground plane makes high-speed signals and EMC dramatically easier; for any design with a microcontroller, USB or radio, 4 layers is usually worth the modest extra cost.
  • 6+ layers for dense, fast designs (processors with DDR memory).
Exploded layers of a printed circuit board: solder mask, copper traces, core and ground plane

The workflow

  1. Schematic capture: draw the circuit, assign values and footprints (the copper pattern a component needs).
  2. ERC (electrical rules check): unconnected pins, outputs shorted together, missing power.
  3. Layout: place components (connectors and mechanical constraints first, then critical parts like regulators, crystals and decoupling), then route traces.
  4. DRC (design rules check) against the manufacturer's limits: minimum trace width and spacing (commonly 0.1–0.15 mm for low-cost fabs), drill sizes, clearances to the board edge.
  5. Outputs: Gerber (or ODB++/IPC-2581) files for each layer, drill files, a bill of materials (BOM) and pick-and-place data for assembly.

KiCad, the free, open-source suite, released version 9 in February 2025 and is widely used by hobbyists and companies alike.

Trace width and current

Traces heat up like any conductor (lesson "Conductors and resistance"). The old IPC-2221 charts were replaced by the more accurate IPC-2152 (2009), which accounts for board material, copper planes nearby and internal vs external layers. Rough orientation for 35 µm copper on an outer layer with a 10 °C rise: about 0.3 mm for 1 A, about 1.5–2 mm for 3–4 A — use a calculator for real designs, and remember voltage drop on long traces.

Vias have current limits too; use several in parallel for power paths.

Clearance and safety

Voltage needs distance: clearance through air and creepage along the surface. For low-voltage circuits, manufacturing limits dominate. For anything mains-connected, safety standards (such as IEC 62368-1 for IT/AV equipment) require millimetres of creepage between mains and touchable low-voltage parts, often with slots milled into the board. Mains-side design is a job for people trained in those standards.

A green circuit board with copper traces, vias and soldered components

Placement rules of thumb

  • Decoupling capacitors as close as possible to the power pins they serve (next lesson).
  • Crystals right next to their chip, with short traces and ground around them.
  • Keep noisy switching converters away from sensitive analogue inputs and antennas.
  • Respect antenna keep-out zones on radio modules — no copper under or near the antenna.
  • Leave test points for debugging and production testing.

From design to boards

Online fabs can make 5–10 two- or four-layer boards for a few euros/dollars plus shipping and offer assembly. Before ordering, look at the Gerbers in a viewer, check footprints against the datasheets (pin 1 orientation is a classic mistake) and print the layout at 1:1 to test-fit components.

Key points

  • PCB = FR-4 core with copper layers, vias, solder mask and silkscreen; 4 layers with a ground plane suit most modern designs.
  • Workflow: schematic → ERC → placement → routing → DRC → Gerber/drill/BOM.
  • Size traces with IPC-2152 calculators; parallel vias for current.
  • Clearance and creepage matter; mains-side layout follows safety standards.
  • KiCad 9 (February 2025) is a free, professional-grade tool.

Flashcards

Question: What does a via do?
Answer: Connects traces on different layers through a plated hole.
Question: Which standard sizes PCB traces for current?
Answer: IPC-2152 (replacing the older IPC-2221 charts).
Question: What does DRC check?
Answer: That the layout meets the manufacturer’s rules for widths, spacing, drills and clearances.
Question: Why use a 4-layer board with a ground plane?
Answer: Short, controlled return paths: better signal integrity and EMC.

Check yourself

Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.

  1. Order the PCB workflow.

    Show the answer

    Schematic capture → ERC → Placement and routing → DRC → Gerber and drill output

    Design, check logic, lay out, check geometry, manufacture.

    Source: KiCad 9 documentation

  2. Which file set does a board manufacturer need?

    • Gerber (or ODB++/IPC-2581) plus drill files
    • Only the schematic PDF
    • The BOM only
    • A photo of the breadboard
    Show the answer

    Gerber (or ODB++/IPC-2581) plus drill files

    Gerbers describe each layer; drill files the holes.

    Source: KiCad 9 documentation

  3. Which are good placement practices?

    • Decoupling capacitors next to power pins
    • Crystals close to their chip
    • Copper pour under a module’s antenna
    • Test points for debugging
    Show the answer

    Decoupling capacitors next to power pins; Crystals close to their chip; Test points for debugging

    Antennas need keep-out zones without copper.

    Source: IPC-2221B / module datasheets

  4. What is creepage?

    • The shortest distance between conductors along the board surface
    • The trace width
    • The copper thickness
    • The time a via takes to heat up
    Show the answer

    The shortest distance between conductors along the board surface

    Creepage is measured along surfaces; clearance through air.

    Source: IPC-2221B / IEC 62368-1

Sources

Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.