मुख्य सामग्री पर जाएँ

Footprints and layout rules: clearance, track width, decoupling

Check every footprint against its datasheet before you lay out, set clearance and track width per net class from the board maker's limits and the current, and place decoupling capacitors so close that they really work.

Lesson 2 of 355 minड्राफ़्ट

अनुवाद होने तक यह पाठ अंग्रेज़ी में है।

What the standard asks

Section 3 of the 2026 Electronics standard, Hardware design and development, is worth 20% of the marks (WorldSkills Occupational Standards, Electronics, WorldSkills Shanghai 2026, checked 2026-11-25). It asks you to draw PCB layouts in design software and to produce manufacturing files a factory can use.

The section page lists the steps in Autodesk Fusion from footprints to the design rules check (DRC). This lesson is about three decisions that most often decide whether a board works: is every footprint right, are the tracks wide enough and far enough apart, and does the decoupling really decouple?

Three industry standards stand behind them. IPC-7351 describes land patterns (the copper pads for each package). IPC-2221 is the general PCB design standard, including spacing for voltage and the older curves for track current. IPC-2152 gives newer, measured data for track current. All three are paid documents, sold through the Global Electronics Association (IPC) (नए टैब में खुलता है). We do not copy their tables. Every value below marked "our bench target" is an ARGYNIX practice setting.

Every menu name below is Fusion's, checked against Autodesk's help on 2026-11-25. EAGLE, Fusion's predecessor, uses the same commands typed on the command line, such as DRC and CLASS, and the same layer numbers.

The theory

Footprints: check three things before layout

A wrong footprint passes every check in Fusion and fails on the bench. Check each one against the part's datasheet, once, before you place it.

  1. Pin numbers. In a Fusion library, a component joins a symbol to a footprint, and its Connect table says which pin goes to which pad. That table must match the datasheet's pinout. The traps:
    • SOT-23 transistors. Many BJTs are 1 = B, 2 = E, 3 = C. Many MOSFETs are 1 = G, 2 = S, 3 = D. But makers differ: read the datasheet.
    • TO-92. A BC547 is C, B, E from the left, flat face towards you. A 2N2222A in TO-92 is usually E, B, C.
    • Generic symbols. If you use a generic transistor, check its Connect table. Some carry the pin order in their name, such as BCE or EBC, and it must match your part.
    • Diodes and LEDs. Find in the Connect table which pad the cathode pin goes to, and check that the band on the footprint's silkscreen is beside that pad.
  2. Pads and pitch. Compare them with the land pattern the datasheet recommends. In the footprint editor, Inspect › Measure gives the distance between two pads, centre to centre or edge to edge. For hand soldering, chip resistors and capacitors want pads a little longer than a footprint made for a reflow oven. If your library has none, copy the footprint into your own library and lengthen the pads outward.
  3. Body, keep-out and height. A good footprint draws the space its part needs, with room for tweezers or an iron, on layer 39, ComponentExcludeTop. Fusion's DRC checks that these areas do not overlap (its Components Exclude Clearance rule). The 3D PCB shows height and which way the part faces.

Clearance: the board maker first, then the voltage

Board makers publish their limits. A low-cost maker's page lists a minimum track and gap of 0.10 mm for two-layer boards (JLCPCB capabilities, checked 2026-11-25). Designing at the minimum works, but it leaves no room for error in etching. Our bench targets: 0.2 mm gap and 0.25 mm signal tracks, about twice the minimum.

Higher voltages need wider gaps, and IPC-2221 gives spacing by voltage. At the 5 V and 12 V of a competition board, the maker's limit is the larger one. Mains needs far more, set by product safety standards, and is not covered here. Keep copper 0.5 mm from the board edge (our bench target), where the router cuts.

Track width from the current

A track heats because it has resistance. The usual formula is a curve fitted to the charts in IPC-2221, and many free calculators use it, such as Advanced Circuits' trace width calculator (नए टैब में खुलता है) (checked 2026-11-25). The relation is I = k × ΔT^0.44 × A^0.725, where I is in amperes, ΔT is the temperature rise in °C, A is the track's cross-section in square mils, and k is 0.048 for outer layers and 0.024 for inner ones. The results for 1 oz copper (35 µm) on an outer layer:

CurrentWidth for a 10 °C riseWidth for a 20 °C rise
0.5 A0.12 mm0.08 mm
1 A0.30 mm0.20 mm
2 A0.78 mm0.51 mm
3 A1.37 mm0.90 mm
5 A2.77 mm1.82 mm

IPC-2152's newer data often allows narrower outer tracks, so these widths carry some margin. On 2 oz copper, the width for the same current is about half. Work out your own with the formula, that calculator, or net-classes-and-widths.csv in the downloads.

Heat is not the only limit. A track's resistance is R = ρ × L ÷ (w × t), with ρ = 1.72 × 10⁻⁸ Ω·m for copper. A 0.3 mm track, 50 mm long, in 1 oz copper is 82 mΩ: at 1 A it drops 82 mV, 2.5% of a 3.3 V rail. On low-voltage rails the drop often sets the width, not the heat.

Our bench targets: signal tracks 0.25 mm; power tracks up to 1 A, 0.5 mm; above 1 A, the width from the table at a 10 °C rise, then check the drop.

Net classes and design rules in Fusion

Do not size tracks one by one. Set the rules once, and let the router and the DRC use them.

  • Net classes. In the schematic, on the Validate toolbar, click Class. On the Classes tab, add a class and move its nets from No Member to Member. The classes go to the board with the schematic. In EAGLE, the CLASS command opens the net classes dialog, where each class gets its width, clearance and drill, and the DRC checks them.
  • The board's rules from a file. Board makers often give their rules as a design rules file (.dru). Autodesk's help says to load one before you lay out the board, and especially before you route it. Ours is in the downloads. On the command line, type DRC LOAD and the file's full path, in Fusion or EAGLE. Then, in Fusion, open Rules › Design Rules on the PCB's Rules toolbar and check that the values arrived.
  • Rules for one class. In Fusion's Design Rules dialog, General Rules cover the whole board and Custom Rules cover part of it. A rule for one class goes in Custom Rules with the scope In Net Classes. Each rule has a Minimum, which the DRC enforces, and a Preferred value, which the router uses as you draw.

Our board-wide rules, and where each one lives:

RuleOur bench targetIn our .dru fileThe same rule in Fusion's Design Rules
Gap between copper of different nets0.2 mmmdWireWire and the other md distancesCopper Clearance
Copper to board edge0.5 mmmdCopperDimensionBoard Outline Clearance
Narrowest track0.25 mmmsWidthCopper Width
Smallest drill0.3 mmmsDrillDrill Size
Copper ring around a via0.15 mm, so a 0.3 mm drill gives a 0.6 mm viarlMinViaOuterAnnular Ring
Copper ring around a pad10 mil, about 0.25 mm (Autodesk's default, kept)rlMinPadTop, rlMinPadBottomAnnular Ring
Silkscreen to a mask opening0.15 mmnot in a .dru fileSolder Mask - Silkscreen Clearance

Decoupling that really decouples

A decoupling capacitor supplies the fast bursts of current a chip draws on each clock edge. At those frequencies the inductance of the capacitor and its tracks, not the capacitance, limits how well it works.

A small ceramic capacitor has roughly 0.5 to 1 nH of its own. Each millimetre of thin track to it adds up to about 1 nH more, less over a solid ground plane: a rough rule, not a law. For a 100 nF capacitor:

  • Right at the pin, about 0.7 nH in total: it resonates at 19 MHz, and its impedance at 50 MHz is 0.22 Ω.
  • 10 mm away, about 10.7 nH: it resonates at 4.9 MHz, and its impedance at 50 MHz is 3.4 Ω, about 15 times worse.

How to place it:

  • One capacitor per power pin, on the chip's side of the board. Our bench target: within 2 mm of the pin, joined by a short, wide track.
  • A via to the ground plane right at the capacitor's ground pad, so the current passes through the capacitor between the pin and the plane.
  • A bulk capacitor, such as 10 µF, where power enters the board or at the regulator's output.

X5R and X7R ceramics lose capacitance as their DC voltage rises: a small 10 µF part at its rated voltage can keep half or less. Check the maker's curve.

The ground plane

On a two-layer board, keep the bottom a solid ground pour and route on top where you can. A fast signal's return current runs in the plane right under its track. A slot under the track sends it the long way round, and that loop radiates and picks up noise.

Worked example

The battery monitor from the lesson From a brief to a checked schematic: 50 mm × 40 mm, two layers, 1 oz copper. Its relay switches a 5 A, 12 V load through screw terminals.

Step 1. Footprints, checked before layout.

RefPartFootprintCheckResult
U2ATmega328PTQFP-32, 0.8 mm pitchPads against the datasheet's drawingMatch
Q1BC547TO-92 inlineConnect table: C, B, E to pads 1, 2, 3, against the datasheetMatch
D1SS14SMACathode pin's pad at the bandMatch
D21N4148WSOD-123Cathode pin's pad at the bandMatch
K112 V cube relayRelay footprintCoil and contact pins against this maker's drawingCoil pins swapped: replaced
R1 to R408050805Pad length for an ironChanged to our own 0805 with longer pads

The relay is the classic catch: many small relays look the same and share a body size, but their pinouts differ between makers.

Step 2. Net classes and rules.

ClassNetsTrackClearanceWhy
DefaultSignals0.25 mm0.2 mmTwice the maker's minimum
PowerVBAT, VBAT_P, +5V0.5 mm0.2 mmUnder 0.1 A; low drop
LoadLOAD_IN, LOAD_OUT (the relay contacts)2.8 mm0.5 mm5 A at a 10 °C rise

The classes were made in the schematic with Class, and argynix-practice-rules.dru was loaded with DRC LOAD before any part was placed. Then every value in the table of board-wide rules was read in Rules › Design Rules. A value that does not match gets typed in there. Last, three custom rules, each with the scope In Net Classes: Copper Width 0.5 mm for Power, Copper Width 2.8 mm for Load, and Copper Clearance 0.5 mm between Load and any other copper.

Step 3. Check the load track. 25 mm long, 2.8 mm wide, 35 µm thick: R = 1.72 × 10⁻⁸ × 0.025 ÷ (2.8 × 10⁻³ × 35 × 10⁻⁶) = 4.4 mΩ. At 5 A it drops 22 mV and makes 0.11 W of heat.

Step 4. Decoupling at U2. On the TQFP-32, the power pins come in pairs with their grounds: pins 4 (VCC) and 3 (GND), pins 6 (VCC) and 5 (GND), pin 18 (AVCC) with pin 21 (GND), and pin 20 (AREF). Four 100 nF capacitors, one per pair and one on AREF, each within 2 mm, each with a ground via at its own pad. Measured with Inspect › Measure: 1.2, 1.4, 1.8 and 1.5 mm.

Step 5. DRC. Re-fill Copper Pours, then Rules › Check Design Rules. The first run found a track 0.3 mm from the board edge in two places (Board Outline Clearance, against the 0.5 mm rule) and a Load track narrowed to 1.0 mm where it left a pad (Copper Width). Both fixed; the next run was clean.

Practice task

  1. Take the schematic from the brief-to-schematic lesson, or any design of 20 to 40 parts.
  2. Before you place anything, fill a row of footprint-check.csv for every part with three or more pins, and every polarised part, from its datasheet.
  3. Make the net classes from net-classes-and-widths.csv and move their nets into them. Load argynix-practice-rules.dru with DRC LOAD, check every value in Rules › Design Rules against the table above, and add the custom rules for your classes.
  4. Place and route. Put every decoupling capacitor within 2 mm and record the measured distances.
  5. For each power net, write the current, the width from the table, the length and the voltage drop.
  6. Run the DRC until it shows no errors, then look at the board in the 3D PCB.

Target: 90 minutes for a 30-part, two-layer board.

Common mistakes

  • Trusting a footprint because it has the right name. Check pins and pads against this maker's datasheet.
  • A BJT footprint used for a MOSFET in the same package. The pinouts differ.
  • Designing at the maker's minimum gap. It works until one board does not.
  • Track width from heat only. On a 3.3 V rail, the voltage drop usually matters more.
  • Decoupling capacitors placed where there was room. Within 2 mm of the pin, with a via at the capacitor's ground pad.
  • One ground via shared by several capacitors, or a long track to a distant via.
  • Slots in the ground plane under fast tracks.
  • Widths set by hand instead of net classes. The next track you draw will be the default width.
  • Rules loaded and never read. After DRC LOAD, open the Design Rules and check the values you care about. A rule you assume is there is the one that is missing.

Self-check

  1. You place a SOT-23 MOSFET using the footprint and symbol of a SOT-23 BJT. What can go wrong?
  2. How wide must an outer-layer track in 1 oz copper be for 2 A with a 10 °C rise?
  3. A 0.3 mm track 50 mm long carries 1 A to a 3.3 V chip. What is the voltage drop, and is it acceptable?
  4. Why does a 100 nF capacitor placed 10 mm from the pin do so little at 50 MHz?
  5. The maker allows a 0.1 mm gap. Why design at 0.2 mm?
  6. The load track needs 2.8 mm in 1 oz copper, and there is only room for 1.5 mm. Give two ways out.
  7. Where does the ground via of a decoupling capacitor go, and why there?
  8. In Fusion, where do you make the DRC demand 2.8 mm for every track in the Load class?
Show answers
  1. The pin functions do not match. A common BJT pinout is 1 = B, 2 = E, 3 = C, and a common MOSFET pinout is 1 = G, 2 = S, 3 = D, so the gate lands where the source should be. The board looks fine and does not work. Use the MOSFET's own component and check its Connect table against its datasheet.
  2. About 0.78 mm, from the formula fitted to the IPC-2221 charts. Round up to 0.8 mm or more, and check the voltage drop too.
  3. R = 1.72 × 10⁻⁸ × 0.05 ÷ (0.3 × 10⁻³ × 35 × 10⁻⁶) = 82 mΩ, so 82 mV at 1 A: 2.5% of 3.3 V. It eats much of a typical ±5% supply margin before anything else. Widen it to 1 mm or more (about 25 mV) or use a pour.
  4. At 50 MHz the inductance in its path matters more than its capacitance. The extra 10 mm adds roughly 10 nH, raising its impedance from about 0.2 Ω to about 3.4 Ω, so the chip's fast current comes from elsewhere and the supply at the pin gets noisy.
  5. For margin. Etching varies from board to board, and at the minimum a small error becomes a short or a broken track. Twice the minimum costs nothing on a simple board.
  6. Run the track on both layers in parallel, joined by several vias, which roughly halves the width needed on each. Or order 2 oz copper and use about 1.4 mm. A copper pour shaped for the load path is a third way.
  7. Right at the capacitor's own ground pad, straight down to the ground plane. Then the chip's current flows from its power pin, through the capacitor, to the plane, in the smallest loop possible. A via far away, or shared, adds inductance and undoes the capacitor's work.
  8. In Rules › Design Rules, Custom Rules: a Copper Width rule with the scope In Net Classes = Load, and a Minimum of 2.8 mm. Give it a Preferred value a little above that, such as 3 mm, because the router draws the Preferred width. A general rule cannot do it, because it applies to every track on the board.

Downloads

  • argynix-practice-rules.dru: our design rules file for Fusion and EAGLE. It is Autodesk's default rules file with our bench targets for clearance, edge distance, track width, drill and via ring, and nothing else changed. Load it with DRC LOAD before you lay out, then check the values.
  • net-classes-and-widths.csv: the worked example's net classes and custom rules, the board-wide rules to type in by hand if a .dru file will not load, and a calculator for track width and voltage drop from current, length and copper weight.
  • footprint-check.csv: one row per footprint to check against its datasheet before layout, with the worked example's rows.

Practise in ARGYNIX Lab

Nothing in this lesson runs in ARGYNIX Lab: footprints, tracks and planes are laid out in Fusion. Practise in Fusion instead. Each week, lay out one small board from a datasheet's application circuit with the net classes and rules from the downloads, check every footprint first, and measure your decoupling distances. Then open the board in the 3D PCB and look for every part that faces the wrong way.

सिर्फ़ इसी डिवाइस पर सेव होता है।

स्रोत: WorldSkills Occupational Standard, Electronics, 2026; help.autodesk.com; help.autodesk.com; help.autodesk.com; help.autodesk.com; help.autodesk.com; help.autodesk.com; help.autodesk.com; advancedpcb.com; electronics.org; jlcpcb.com; ti.com. जाँचा गया 25 नवंबर 2026.

आधिकारिक मानक से हमारे अपने शब्दों में लिखा गया। यह WorldSkills का आधिकारिक दस्तावेज़ नहीं है।