Hardware & electrical · topic E12 · 40 hours
Board design & fabrication
«Designing a board is not drawing wires.» Between the schematic and a small board that actually runs lies a string of details people skip: power tree, power-up sequencing, decoupling, return paths, test points. This skill decides whether you can «only buy modules» or «build a product».
What to learn
- The four steps of reading a schematic: power tree → interfaces → clock and reset → protection and test points
- Power tree: where LDO ends and DCDC begins, power-up sequencing, soft start, current limiting and reverse-polarity protection
- Decoupling and filtering: why 100 nF and 10 µF sit in parallel, where to put them, how to reckon loop area
- Stackup and return paths: what separates 2-layer from 4-layer, ground-plane integrity, the price of crossing a split
- Critical traces: differential pairs, clock lines, high-current paths, Kelvin sensing
- Packages and soldering: hand-soldering feasibility of 0402 / 0603 / QFN, stencils and reflow, the reality of BGA
- Fabrication flow: DRC / DFM checks, panelization, impedance control, silkscreen and assembly drawings
- Power-up flow: current-limited supply → staged verification → test-point priority (power first, then clock, then comms)
- Being able to: use LCEDA (EasyEDA) or KiCad to design a 4-layer board of «power + MCU + one driver + one comms port» and bring it up
The lesson · plain words
Board-level design is the full path from schematic to fabricated, populated boards. The rule of thumb: the schematic decides «right or wrong», layout decides «usable or not». This page lines up the high-frequency traps of both.
The schematic review checklist
Power: decoupling caps for every chip (E1), power-tree voltage and current re-check, reverse-polarity protection (PMOS or diode). Interfaces: ESD diodes on USB, a CAN termination-resistor jumper, pin headers left on the debug UART. These three spots have the highest rework rate.
Passing ERC/DRC is merely the passing grade. The real review is manual: go pin by pin against the datasheet — pin function multiplexing (you wired an LED to the BOOT pin?), package versus physical dimensions, the direction of polarized parts. One wrong pin = one respin = one month.
Placement and routing: position is performance
Placement priority: place the «electrically tense» combinations first — crystal hugging the MCU, decoupling caps on the power pins, sense resistors far from switching devices, antenna area kept clear. Everything else comes after. Zoning: power / digital / analog / RF, none crossing into another.
Routing iron rules: power traces sized by current, thick before thin (1 A ≈ 0.4 mm at 1 oz); high-speed differential pairs equal-length and equal-spacing (USB/CAN/EtherCAT); a return ground via at every layer change; analog and digital grounds zoned separately and joined at a single point (E7).
Interactive figure · drag it and see
The engineering flow of fabrication and assembly
The fabrication five-step: Gerber output (DRC passing) → order from the board house (impedance control must be written into the order!) → send stencil/BOM/pick-and-place coordinates to the assembler → first-article inspection (placement and polarity) → hand-solder the critical parts. Skip writing impedance control and the fab builds to a default stackup — every impedance ends up off.
Version discipline: every board revision logged in a CHANGELOG (what changed, why, verification result); silkscreen carries version number and date. Three months later you are holding three boards — without records they are three pieces of scrap.
Acceptance: the first-board debugging method
Power-up order for the first board: measure for shorts before inserting any chip → solder the power section alone and measure → solder the MCU and check clock and reset → add peripherals step by step. Solder everything at once in your haste and when smoke rises you will not know what blew.
Acceptance metrics: power-rail ripple, waveforms of critical signals (crystal, PWM, comms), full-load temperature rise (E5). Record all three in the CHANGELOG — only then is this board revision «closed-loop».
Three questions — do you really get it?
1. Which PCB fabrication item is most often overlooked with the heaviest consequences?
- ASilkscreen font
- BBoard color
- CWriting impedance control into the order
Show answer
C. Without impedance control the fab uses its default stackup; every high-speed line's impedance is off, and the problem only explodes at system integration.
2. What should be placed first during layout?
- AThe biggest chip
- BThe tense combinations: crystal / decoupling / sense resistors / antenna area
- CConnectors
Show answer
B. The tense combinations set the zoning skeleton. Place them first and everything else falls into place.
3. The correct first-board bring-up order is?
- AStaged soldering: power first, then MCU, then peripherals one by one
- BSolder everything, then power up
- CSolder the chips but skip the capacitors
Show answer
A. Staged power-up localizes faults one unit at a time. A fully soldered board that blows means starting over from scratch.
Keep going deeper
Links without a marker stay on this site; the rest point to the Chinese edition until its translation batch lands.
How it fails in the field
- Looking only at function and never at power: wrong power-up order, DCDC self-oscillation, a load transient diving straight into reset
- Decoupling caps placed too far from the pin: loop area balloons, equivalent to not placing them at all
- Ground plane shredded by traces: return current takes a detour, and noise and bit errors rise together
- Powering on right after soldering: no current limiting, no staged verification — one puff of smoke takes out a strip of chips
You have learned enough when
The Chinese edition carries the full topic page for Board design & fabrication, including the complete outline, depth requirements per career track, and further derivations: robotguide.dev/k/E12/.