PCB Design Basics: The Rules That Decide Whether Your Board Works

Reviewed against IPC-2221C (2023) and IPC-2152 (2009) practice

Most PCB design guides open with a tour of the software menu and close with a list of habits: keep traces short, avoid right angles, pour a ground plane. None of that is wrong. It is just not where boards fail.

Boards fail in three places. A net connected to the wrong pin. A trace sized for the average current instead of the peak. A return current with nowhere to go. All three are decided long before the layout looks finished, and all three are invisible in a 3D render.

So this guide is built around the decisions that survive contact with a fabricator — the copper you cannot etch thinner, the spacing you cannot shrink, the stackup that fixes your impedance before you route a single trace. If you are new to the board itself, start with the parts that make up a circuit board and come back; if you already know what a via is, skip to the trace width section and read the arithmetic.

Risposta rapida

  • Progettazione di circuiti stampati is the process of converting a circuit netlist into three artifacts: a schematic that defines connectivity, a layout that defines copper geometry, and a fabrication package that tells the board house how to build it.
  • A PCB design rule is a constraint on copper geometry — trace width, spacing, annular ring, drill size or via aspect ratio — derived from current, voltage, impedance or a fabricator’s process limit.
  • The 3W rule states that two parallel traces should be at least three times the trace width apart, measured centre to centre; at that distance roughly 70% of the electric-field crosstalk between them is removed, and at 10W roughly 98%.
  • Clearance is the shortest distance through air between two conductors; creepage is the shortest distance along the surface of the insulation between them.
  • Design for manufacturability (DFM) is the review that compares a finished layout against one specific fabricator’s process capability before the Gerbers are released.

The short version: width and spacing are calculated from current, voltage and impedance — not copied from a checklist. Everything else in this guide follows from that.

What PCB Design Actually Produces

A finished design is five files that leave your desk and go to four different people. Treating them as one thing is why so much rework happens at the handoff instead of in the editor.

A PCB layout is the physical realization of a schematic: it assigns every net to a copper layer, every component to a position, and every connection to a trace width that can carry its current.

ArtifactWhat it definesWho reads itWhat breaks if it is wrong
Schematic (netlist)Which pin connects to whichYou, ERC, the test engineerA net on the wrong pin; silent rework after assembly
Layout (Gerber)Copper geometry, layer by layerThe fab houseOpens, shorts, impedance that misses its target
Drill and routHole positions, sizes, board outlineThe drill and routing stationsHoles off the pad; a board that will not fit the enclosure
BOMPart numbers, values, quantitiesProcurement and the SMT lineWrong part, wrong package, missing DNP flag
Pick-and-place (CPL)X/Y position and rotation of every partThe placement machineRotated or offset parts, tombstoning, a line stop

The first two are electrical. The last three are mechanical and logistical, and they are where most first-article surprises come from. A board can pass every simulation you own and still be unbuildable because the drill file used a different origin than the Gerbers.

Where the handoff usually breaks

  • Gerber layers exported with the wrong polarity — inner layers come out negative and the fab has to call you.
  • A BOM that lists a 10µF 0603 cap while the layout used an 0805 footprint, because the schematic symbol was generic.
  • No stackup drawing. The fab builds a symmetrical 4-layer board with 0.2 mm prepreg, your 50 Ω traces land at 58 Ω, and nobody finds out until the impedance coupon is measured.

If you want to see how those files turn into physical copper, how a PCB is fabricated, step by step walks the whole fabrication sequence; the rules in this article are the ones that sequence enforces on you.

The Design Workflow, Stage by Stage

There is no single correct order, but there is a wrong one: routing first and discovering the constraints afterwards. The sequence below keeps the expensive decisions early, where changing them is still free.

PalcoscenicoOutputWhat it prevents
1. Requirements and constraintsVoltage and current envelope, thermal budget, enclosure size, EMC classA board that works on the bench and fails certification
2. Schematic captureNetlist with a clean ERCWrong connections that cost a full respin
3. Footprint verificationLibrary parts checked against datasheetsPads that do not match the reel
4. Stackup and design rulesLayer assignment, dielectric heights, impedance targetsA 50 Ω trace that is not 50 Ω
5. PlacementFloorplan, keepouts, connector positionsRouting that cannot be closed without a jumper
6. RoutingCopper on every layerCrosstalk, opens, unnecessary vias
7. DRC and DFMReports against the fab’s capabilityA design bounced at the CAM stage
8. ReleaseGerber, drill, BOM, CPL, assembly drawingA build that differs from what you simulated

Two stages deserve more time than they usually get. Stage 4, because the stackup sets impedance and EMI before a trace exists. Stage 7, because a DFM review costs an afternoon and a respin costs four weeks.

The step almost everyone skips

Stackup selection is treated as a purchasing decision — pick 4 layers because 4 layers is standard. In practice the stackup is an electrical decision. It fixes the dielectric height under each signal layer, and that height, not the trace width, is what sets a microstrip’s impedance. Once the board is laminated you cannot change it.

The Four Inputs You Cannot Start Without

Every project that started late started because one of these four was missing and nobody noticed until routing.

InputWhere it comes fromWhat happens without it
StackupThe fabricator, in writingImpedance targets are guesses; layer count changes at the last minute
Component libraryDatasheets plus supplier land patternsFootprints that look right and are 0.1 mm wrong
Mechanical drawingThe enclosure or the customerConnectors that do not line up with the cutouts
Electrical constraintsYour own SI/PI budgetRules set by habit rather than by current and edge rate

A footprint is a copper pattern matched to one specific package drawing — not to a part number. The same part number can ship in two packages, and the same package name can have two different pad geometries.

The most expensive mistake in this list is a wrong footprint. It passes DRC, it passes ERC, it looks correct in 3D, and it only shows up when the reel arrives. Verify the land pattern against the datasheet drawing, not against the symbol name in your library.

Two habits make this cheap. First, keep a house library where every part has a datasheet link and a revision date, so a footprint is either verified or visibly unverified. Second, on any board with more than about 200 parts, add a 1:1 paper print of the land patterns for the fine-pitch devices and lay the actual parts on it. It takes ten minutes and catches pad geometry errors that no DRC will flag.

Schematic Rules That Prevent Layout Rework

A schematic is not a drawing of the circuit. It is a netlist with pictures attached, and the pictures matter only because humans read them at 11 pm.

RuleWhy it existsTypical failure when ignored
Name nets by function, never leave NetC1_1The layout engineer routes what they can readA clock net treated as a slow GPIO
Run ERC with zero errors before layoutCatches unconnected pins and conflicting outputsTwo drivers on one net
Put a power flag on every supply railERC cannot infer where power comes fromDozens of false ‘not driven’ warnings that hide the real one
Draw decoupling next to the pin it servesPlacement follows the drawingA 0.1 µF cap 15 mm from the die
Assign net classes for power, clocks and high speedClasses become layout rules automaticallyEvery net inherits the default 6 mil width
Use no-connect flags on unused pinsFloating pins are invisible to ERCAn unused enable pin that floats into oscillation
Keep analog and digital returns separate until one join pointDefines where the two domains meetA return current crossing the whole board

Electrical rule check (ERC) verifies that a schematic is internally consistent: no outputs shorted together, no inputs left floating, no power net without a source. It says nothing about whether the circuit is correct.

That distinction matters. A clean ERC means the netlist does not contradict itself. A design that passes ERC can still drive an LED from a pin rated for 4 mA, or tie a 5 V signal into a 3.3 V input. ERC is a lint pass, not a design review.

The one schematic habit worth adopting above all others: write the intent into the net name and the note. “CLK_25M_FPGA” tells the next person three things that “NET0042” does not. When the layout is done by someone else — or by you, eight months later — that name is the only context left.

Component Placement Decides the Routing, Not the Other Way Round

Component placement is the assignment of position and orientation to every part on the board. It fixes the length, the coupling and the thermal environment of every net before a single trace is drawn.

A useful way to think about it: routing is the consequence of placement, and rework is the consequence of routing badly. If a board takes three days to route, the placement was wrong on day one.

The order that works

  1. Connectors and mechanical parts first — they are fixed by the enclosure and cannot move later.
  2. Power conversion next: input protection, regulator, inductor, output capacitors, in the order current flows.
  3. Clocks and references: crystal or oscillator, then the load capacitors, kept short and away from switching nodes.
  4. High-speed devices and their termination, grouped by interface rather than by schematic page.
  5. Analog and sensitive front ends, placed so their return currents stay inside their own area.
  6. Everything else, then test points and programming headers last.
PCB floorplan colour-coded by functional block
Placement decisionRule of thumbCost of ignoring it
Connector positionAt the board edge, silkscreen facing outwardA cable that cannot be inserted with the lid on
Decoupling capacitorsSame side as the pin, within 2–3 mmSupply droop on every switching edge
CrystalWithin 5 mm of the pins, no trace underneathFrequency drift that only appears warm
Switching regulatorKeep the hot loop under 10 mm²Radiated emissions you cannot filter out later
Analog vs digitalSeparate areas, single join pointNoise floor 20 dB worse than expected
ThermalHeat sources at the edge, vias under padsA board that derates itself in a sealed box

One more constraint that never appears in a design guide: assembly. If a part is taller than 3 mm and sits next to a fine-pitch connector, the placement machine may not be able to reach it, and the reflow profile may not be uniform across the board. surface mount technology explains why the assembly sequence quietly rules out some placements.

Trace Width: The Arithmetic Nobody Shows You

Trace width is the copper dimension that sets a trace’s cross-sectional area, and therefore its resistance and temperature rise. It is calculated from current, copper weight and an acceptable temperature rise — not chosen by eye.

Three variables decide the number: how much current the trace carries, how thick the copper is, and how much temperature rise you are willing to accept. A fourth — impedance — overrides all of them once the signal edge gets fast.

The IPC-2221 relationship

The classic chart in IPC-2221 is a curve fit of this equation, where I is current in amps, ΔT is temperature rise in °C, and A is the trace cross-section in mils²:

I = k · ΔT0.44 · A0.725    k = 0.048 external, 0.024 internal

The constant is the interesting part. Internal layers get half the current capacity of external ones for the same copper, because the laminate on both sides traps the heat. That single factor explains why a power plane on an inner layer needs roughly twice the width of the same net on the top layer.

CurrentExternal width (1 oz, 10 °C rise)Internal width (1 oz, 10 °C rise)
0.5 A0.13 mm (5 mil)0.25 mm (10 mil)
1 A0.25 mm (10 mil)0.51 mm (20 mil)
2 A0.64 mm (25 mil)1.27 mm (50 mil)
3 A1.27 mm (50 mil)2.54 mm (100 mil)
5 A2.79 mm (110 mil)5.59 mm (220 mil)
10 A10.2 mm (400 mil)20.3 mm (800 mil)

Read that table with the copper weight in mind. These numbers assume 1 oz (35 µm) finished copper. Doubling to 2 oz roughly halves the width you need, which is often cheaper than spending board area on wide traces — but 2 oz copper also raises the minimum etchable width, so it is not free.

Why IPC-2152 gives a different answer

IPC-2152, published in 2009, revisited the current-carrying problem with better thermal modelling, including the effect of adjacent copper and the board itself acting as a heatsink. In practice it typically allows traces 1.5–2× narrower than the legacy IPC-2221 curve for the same temperature rise.

This is a genuine disagreement between two standards, not a rounding error. If you are sizing a 3 A rail, the difference between 1.27 mm and 0.8 mm is real estate. The safe habit: size with IPC-2221, then check whether your fabricator’s current calculator — which usually implements IPC-2152 — would let you go narrower. Do not go the other way round.

The margin nobody budgets

Calculated widths are minimums at nominal copper thickness. Plating thickness varies across a panel, etch undercut removes copper at the trace edges, and a trace that runs at exactly 10 °C rise in simulation may see 25 °C in a sealed enclosure at 60 °C ambient. Add 20–50% on power paths and treat the result as the starting width, not the target.

A trace is a resistor, and a resistor is a fuse if you get it wrong. A 0.25 mm trace carrying 3 A on an inner layer will not fail in the lab. It will fail after two months in the field, at the point where the laminate has been cooked long enough to delaminate.

Spacing and Clearance: Three Numbers People Keep Confusing

“Spacing” is used for at least three different constraints in a layout review, and they are not interchangeable. Mixing them up produces boards that are either needlessly large or quietly unsafe.

What you are protecting againstGoverned byTypical value
Etching — the fab cannot resolve two features closer than thisProcess capability, rises with copper weight0.10–0.15 mm (4–6 mil)
Arcing between nets at different voltagesIPC-2221 voltage clearance, IEC 62368 for mains0.1 mm at low voltage, millimetres at mains
Crosstalk between two signal tracesGeometry and stackup, not a safety standard3× trace width (the 3W rule)
Tracking across a contaminated surfaceCreepage, from the safety standardAlways ≥ clearance

Coated and uncoated are different rows

Solder mask is a coating, and IPC-2221 gives a smaller minimum spacing for a coated conductor than for an exposed one. Most spacing tables copied around the internet collapse the two into one column, which is why you see numbers that disagree with each other by a factor of five.

Working voltage (DC or AC peak)Internal conductorsExternal, solder-mask coatedExternal, uncoated
≤ 30 V0.10 mm0.10–0.13 mm0.10–0.13 mm
31–100 V0.10 mm0.13 mm0.60 mm
101–150 V0.20 mm0.20 mm0.60 mm
151–300 V0.20 mm0.20 mm1.25 mm
301–500 V0.25 mm0.25 mm2.50 mm
Coated versus uncoated conductor spacing, with clearance and creepage paths

Those are the widely published values from IPC-2221 Table 6-1. The standard itself is the authority, and any safety-critical product should be checked against the current revision plus the relevant product standard — but the pattern is what matters: the uncoated column jumps by roughly 5× once you leave the low-voltage band, because air breaks down and contaminated surfaces track.

A coated conductor is one covered by solder mask or conformal coating over its full length. The moment a pad, a test point or a connector pin is exposed inside the gap, that gap is uncoated — and the larger number applies.

Clearance vs creepage

Clearance is the straight line through air. Creepage is the path along the surface, and it is always longer because surfaces get dirty and humidity makes them conductive. For a 3.3 V logic board the distinction never comes up. For anything that touches mains, or a patient, it decides the layout.

If your product has a mains input, a medical applied part, or a 250 V DC bus, stop treating spacing as a layout preference. Get the applicable standard — IEC 62368-1 for IT equipment, IEC 60601-1 for medical — and derive the numbers from the working voltage, pollution degree and insulation type. PCB fabrication can build to those gaps, but only if the drawing specifies them.

Stackup: What Actually Decides 4, 6 or 8 Layers

A stackup is the ordered sequence of copper and dielectric layers in a board, with a thickness for each. It fixes the impedance of every signal layer, the board’s EMI behaviour and its mechanical warp before routing begins.

The usual reason given for going to four layers is “more routing room”. The better reason is that a four-layer board lets you put a solid reference plane 0.2 mm under the signal layer, which does more for signal integrity than doubling the routing area.

Four-layer PCB stackup cross-section with dielectric heights
Numero di stratiTypical stackWhen it is the right choiceWhat it costs
2Signal / signalLow-speed, low part count, cost-drivenNo reference plane; 3H spacing rule dominates
4Signal / ground / power / signalThe default for anything with a microcontroller and a clockOne prepreg thickness to choose carefully
6Signal / ground / signal / power / ground / signalDDR, USB 3, dual-rail analogue, dense BGAsTwo more layers of tooling and laminate
8+Multiple signal and plane pairsHigh-speed serial, HDI, fine-pitch BGA escapeCost and lead time both climb

Two rules that are not negotiable

  • Symmetry. The copper distribution and dielectric thickness should mirror around the board centre. An asymmetric stackup warps during reflow, and a warped board is a placement defect, not a cosmetic one.
  • Every signal layer needs an adjacent plane. If a signal layer sits between two signal layers, its return current has no defined path and will find one through the nearest via — usually across half the board.

Layer count also changes the meaning of a rule. On a 1.6 mm two-layer board the dielectric under the trace is about 1.4 mm, so crosstalk is dominated by the distance to the reference, not by the distance to the neighbouring trace. That is why the 3H rule exists and why 3W alone disappoints on cheap boards. If you are still choosing between single, double and multilayer boards, the layer-count decision usually decides which spacing rule you need.

Material choice follows the same logic. Standard FR-4 has a dielectric constant around 4.3 and a glass transition temperature of 130–140 °C; high-Tg FR-4 pushes that to 170–180 °C for lead-free reflow and thicker boards. choosing a PCB material covers the trade-off, including when a low-loss laminate is genuinely worth the price.

Grounding Is a Return Path Problem, Not a Ground Problem

“Ground” is a name, not a physical property. Every signal current that leaves a driver comes back to it, and at anything above a few hundred kilohertz it comes back through the path of least impedance — which is the plane directly underneath the trace, not the path of least resistance.

A return path is the route current takes from a load back to its source. On a PCB it is defined by the reference plane adjacent to the signal layer; if that plane is split, the return current has to detour, and the loop it forms becomes an antenna.

MistakeWhat it looks like on the benchFix
Signal crossing a split in the reference planeRadiated emissions at a harmonic of the clock; eye diagram closedReroute around the split, or stitch the two planes with capacitors near the crossing
Analog and digital grounds joined at two pointsLow-frequency hum and a noisy ADCOne join point, under the converter
Plane removed under a connector for clearanceCommon-mode current on the cableKeep a ground plane under, or add a chassis connection
Vias placed far from the decoupling capacitorSupply collapse on fast edgesVia inside the pad pair, or two vias per terminal
Ground pour on a signal layer with no stitchingA floating copper island that couples noiseStitch to the plane every 5–10 mm, or remove the pour

The amplifier that hums and the board that fails EMC often have the same root cause: a return current that was forced to take a long path. It is cheaper to fix in the layout than in a shielded enclosure, and much cheaper than a second prototype.

Test access matters here too. If you cannot probe the return at the point where the noise appears, you will spend a week guessing. Put ground test points next to the sensitive nodes, not only at the connector — PCBA testing covers what each measurement can and cannot prove.

The 3W Rule: What It Does, What It Does Not

The 3W rule states that the centre-to-centre distance between two parallel traces should be at least three times the trace width. At that spacing, roughly 70% of the electric-field crosstalk between them is removed; at 10W, roughly 98%.

The rule is old, empirical, and widely misquoted. Two details decide whether you are applying it or just saying it:

  • Centre to centre, not edge to edge. A 0.2 mm trace at 3W means 0.6 mm between centrelines, which is 0.4 mm of actual gap. If you measure 0.6 mm of gap you have built 4W — safe, but you spent area you did not need.
  • It is about parallel runs, not proximity. Two traces that cross at 90° couple for a fraction of a millimetre. Two traces that run side by side for 40 mm couple for 40 mm.
GuidelineGeometryWhat it controlsWhen it is worth the area
3WCentre-to-centre ≥ 3× trace widthAbout 70% crosstalk reductionLong parallel runs of fast signals
4W / 5W4–5× trace widthFurther reduction; used above roughly 500 MHzDDR, PCIe, RF, fast differential pairs
10W10× trace widthAbout 98% reductionOnly where the victim is extremely sensitive
3HSpacing ≥ 3× dielectric heightCoupling when the reference plane is far awayTwo-layer boards, thick dielectrics
20HPower plane inset 20H from the ground plane edgeEdge radiation from plane pairsMultilayer boards with power/ground pairs
Guard traceGrounded trace between victims, stitched to the planeShielding; can replace extra spacingDense analogue or RF sections

Why 3W fails on a two-layer board

On a 1.6 mm two-layer board, the dielectric under a top-layer trace is roughly 1.4 mm. Three times the trace width — say 0.6 mm for a 0.2 mm trace — is less than half the distance to the reference plane. The return current is spread wide and the field couples sideways into the neighbour. In that geometry the binding constraint is 3H: about 4.2 mm. Most cheap boards simply cannot afford it, which is why the honest answer for a noisy two-layer design is usually “go to four layers” rather than “space the traces further apart”.

Guard traces and other exceptions

A guard trace is a grounded copper trace run between two victims and stitched to the reference plane with vias every few millimetres. Done properly it is effective and can allow tighter spacing. Done as a floating copper line — no vias, both ends open — it is worse than nothing, because it picks up the aggressor and radiates it into the victim.

Two cases where 3W does not apply at all. Inside a differential pair, the spacing is set by the target impedance, not by crosstalk; widening it to 3W destroys the coupling the pair depends on. And for a short parallel run — under about a quarter of the rise-time electrical length — the coupled energy is too small to matter, so spacing there is wasted area.

3W is not a voltage clearance. It does nothing for arcing, tracking or safety isolation. A board can satisfy 3W everywhere and still fail a 250 V hipot test, because the number that matters there comes from the safety standard, not from crosstalk geometry.

Rules That Get Enforced vs Guidelines You Can Bend

A fabrication constraint is a limit the fabricator’s process physically enforces — if you exceed it, the board cannot be built. A design guideline is a heuristic that may or may not apply to your stackup, your edge rate and your enclosure.

This is the distinction that saves the most time in review. Half of the “rules” repeated in PCB forums are guidelines wearing a uniform.

ItemTypeTypical limitCan you bend it?
Minimum trace width / spacingConstraint0.10–0.15 mm at 1 oz; wider at 2 ozNo — but you can pay for a finer process
Annular ringConstraintPad − drill, ÷2; typically 0.13–0.20 mmNo; below the minimum the ring breaks out
Via aspect ratioConstraint8:1 standard, 10:1 advancedNo; plating will not reach the middle
Board edge clearanceConstraint0.25 mm minimum, 0.3–0.5 mm recommendedNo; routing tolerance removes copper
Solder mask damConstraintAbout 0.10 mm between padsNo; the mask will not hold
45° cornersGuideline—Yes. A right angle adds roughly 50 fF; it matters above about 1 GHz, not at 10 MHz
Via countGuideline—Yes, within reason; each via adds inductance, not failure
Numero di stratiCost decision—Yes; it changes price and lead time, not correctness
Star groundingGuideline—Yes, and often wrong above 1 MHz — use a plane

About the right-angle myth

The claim that 90° corners cause reflections is mostly folklore below a gigahertz. A right-angle bend adds on the order of 50 fF of excess capacitance — negligible next to a via, which adds far more inductance. Route 45° because it is neat and because acute angles (< 90°) genuinely trap etchant, not because a right angle will break your USB signal.

Field plot comparing 90-degree and 45-degree corners

What does matter is what the corner does to length matching. A 90° corner is electrically shorter than two 45° corners by a small amount, and on a matched-length bus those millimetres accumulate. That is a length problem, not a corner problem.

DFM Check Before You Release: The 12 Items That Get Bounced

A DFM review is not a second DRC. DRC checks your own rules; DFM checks those rules against one specific fabricator’s process. These are the twelve items that cause most CAM-stage questions.

#CheckWhat the fab is looking atTypical reject
1Minimum trace and space vs copper weightEtch capability at 1 oz or 2 oz6 mil features specified on 2 oz copper
2Annular ringPad diameter minus finished hole0.05 mm ring on a 0.3 mm drill
3Drill-to-copperDistance from hole wall to adjacent copperHole breaks into a trace on an inner layer
4Hole-to-hole webRemaining material between two holesTwo vias 0.2 mm apart
5Aspect ratioBoard thickness divided by drill diameter0.2 mm drill in a 2.0 mm board
6Solder mask damMask width between adjacent pads0.05 mm dam that collapses
7Silkscreen over padInk on a solderable surfaceReference designator printed across a pad
8Board edge clearanceCopper to the rout pathCopper exposed after routing
9Copper balanceDistribution across the panelA large isolated pour that causes warpage
10Via tenting / fillMask over vias, or filled vias in padsUntented via next to a BGA pad
11Impedance couponTest structures on the panelNo coupon requested for a controlled-impedance stackup
12Panel utilizationHow the board tiles on the standard panelA 2 mm strip of wasted panel that adds cost

Items 11 and 12 are the ones engineers forget, because neither appears in the CAD tool. If you specify controlled impedance, ask for the coupon and the measured result — otherwise you have specified an intention, not a board. If your outline wastes panel area, the quote will carry it and nobody will tell you why.

Run DFM before you order, not after you receive the quote. A fab that finds these issues at CAM will either ask you to redesign or fix them silently and charge for it. Neither is a conversation you want on a deadline.

Gerber, Drill and BOM: What “Design Complete” Actually Means

“The design is done” usually means the layout looks right on screen. What the factory needs is a different set of files, and each one has a failure mode.

FileWhat it carriesCommon error
Gerber, one per copper and mask layerCopper, mask, silkscreen, outlineWrong layer polarity, missing inner layer
NC drillHole coordinates, diameters, plated vs non-platedDifferent origin from the Gerbers
Gerber job fileStackup and layer orderOmitted; the fab guesses the layer sequence
BOMReference, quantity, value, MPN, packageGeneric value instead of a real MPN; no DNP column
Pick-and-place (CPL)X/Y and rotation for every placed partRotation convention differs by tool; bottom-side mirroring
Assembly drawingPolarity, connectors, no-fit areasSilkscreen obscures the polarity mark
Stackup drawingDielectric heights, copper weight, impedance targetsSent as a verbal note rather than a drawing

A CPL file lists the position and rotation of every component on the assembly, in the machine’s coordinate system. A rotation offset of 90° between the CAD export and the machine library will place every SOP part sideways — which is why assembly houses ask for a first-article report before running the batch.

The split matters: fabrication needs Gerber and drill, assembly needs BOM, CPL and an assembly drawing. Sending all seven to both vendors is the simplest way to avoid a missing file. Assemblaggio di circuiti stampati covers what the assembly side does with them, and choosing a PCBA manufacturer explains how to tell whether the partner you picked will actually check them.

PCB Design: Frequently Asked Questions

Do I need four layers, or will two do?

Two layers are fine for a low-speed board with few parts and no clock above a few tens of megahertz. The moment you have a microcontroller with an external crystal, a switching regulator and a connector carrying a cable off-board, four layers usually cost less than the time you will spend chasing noise on two. The deciding factor is not part count, it is whether you can keep a solid reference plane under every signal.

What trace width do I need for 1 A?

On 1 oz copper with a 10 °C rise, about 0.25 mm on an external layer and 0.5 mm on an internal layer. Those come from the IPC-2221 relationship and assume reasonable airflow. In a sealed enclosure at 60 °C ambient, add 50% and check with the fabricator’s calculator, which probably implements IPC-2152 and will let you go narrower.

Is the 3W rule mandatory?

No. It is a guideline for crosstalk between parallel traces, and it is not a standard requirement. It is worth applying to long parallel runs of fast signals, and it is largely wasted on short runs, low-speed nets and differential pairs. What is mandatory is the voltage clearance from the applicable safety standard, which is a different number.

What is the difference between clearance and creepage?

Clearance is the shortest path through air between two conductors; creepage is the shortest path along the surface of the insulation between them. Creepage is always at least as large because surfaces collect contamination. The distinction only matters when there is a safety requirement — mains, medical, high-voltage DC — but there it decides the layout.

How much spacing do I need for 230 V mains?

It depends on pollution degree, insulation type and whether the gap is coated — which is why no honest answer fits in a table row. For reinforced insulation in a typical indoor product you are usually in the range of several millimetres of creepage, and the number comes from IEC 62368-1 rather than from a PCB design guide. Get the standard, or get the number in writing from the safety lab before you route.

Are 90-degree corners actually a problem?

Below about 1 GHz, no. A right-angle bend adds roughly 50 fF of excess capacitance, which is far less than a single via. The real issues are acute angles below 90°, which trap etchant during fabrication, and length matching on a bus, where the corner geometry shifts the electrical length. Route 45° because it is tidy, not because the signal will fail.

What is the smallest via I should use?

A 0.3 mm drill with a 0.6 mm pad is the comfortable default and costs nothing extra. Going to 0.2 mm starts to raise the aspect ratio and the plating risk; 0.15 mm usually means laser drilling and a higher price tier. If you need microvias, that is an HDI decision, not a routing preference.

Do I need controlled impedance?

If you have USB, Ethernet, HDMI, DDR, PCIe or an RF path, yes. If you have a 16 MHz microcontroller and a relay, no. When you do need it, the stackup sets the impedance and the trace width only fine-tunes it — so specify the stackup and ask for the impedance coupon. A “50 Ω” note without a stackup drawing is not a specification.

How do I know my footprint is correct?

Compare the land pattern to the package drawing in the datasheet, not to the symbol name in your library. Pay attention to pad length and to the distance between pad centres, which is where the 0.1 mm errors live. For fine-pitch parts, print the pattern at 1:1 and place the real component on the paper.

What files does a PCB fab house need?

Gerber files for every copper, mask and silkscreen layer plus the board outline, an NC drill file, and a stackup drawing if impedance or a specific laminate matters. Assembly needs the BOM, a pick-and-place file and an assembly drawing. Send all of them, labelled, in one archive.

Who is responsible for DFM — me or the factory?

You are responsible for the design; the factory is responsible for telling you when the design does not fit its process. In practice the handoff works when the fab runs a DFM check and sends you the report before tooling. If your supplier does not do that, the first article becomes the DFM check, which is the most expensive possible time to find out.

Can you review a design before it goes to fab?

Yes. send us the Gerbers and BOM — Gerbers, drill, BOM and any stackup notes are enough for a first pass. We check the twelve DFM items above and send back a marked-up list with the items that would stop a build, separated from the ones that are merely preferences.

Send the Design Before You Order the Boards

The cheapest moment to find a 0.05 mm annular ring is before the panel is tooled. If you are close to release, send the Gerbers and the stackup notes and we will run them against our process window — send us the Gerbers and BOM and we will come back with the specific list, not a generic checklist.

If you are earlier than that — still choosing between four and six layers, or deciding whether the board needs impedance control at all — start with PCB fabrication to see what our process can hold, and treat this article as the list of questions to bring.

Informazioni sull'autore

Andrew Zhan – Ingegnere di ricerca e sviluppo presso JKRGLO.com

Con oltre 14 anni di esperienza nel settore della ricerca e sviluppo ingegneristico nel campo dei circuiti stampati, Andrew Zhan vanta una profonda competenza nell’ottimizzazione della progettazione dei circuiti e nell’implementazione del DFM. Il suo obiettivo è tradurre complessi requisiti di progettazione in soluzioni pronte per la produzione, promuovendo l’innovazione tecnica sia per la realizzazione di prototipi che per la produzione in serie.
Lavorando a stretto contatto con team interfunzionali e con i clienti, garantisce una rigorosa verifica della qualità e una comunicazione tecnica fluida durante l’intero ciclo di vita del progetto. Andrew si impegna a fornire soluzioni PCB affidabili e ad alte prestazioni che superino costantemente le aspettative dei clienti.

Indice

Torna all'inizio della pagina