RUE Logo

Tutorial 5.9: DRC & Design Rule Verification

Comprehensive guide to running, interpreting, and resolving Design Rule Check violations for manufacturing readiness

Introduction to Design Rule Verification

Design Rule Check (DRC) is the automated verification that your PCB layout meets all defined constraints for manufacturing, electrical performance, and assembly. A clean DRC (zero violations) is a mandatory prerequisite before generating fabrication outputs. Every violation represents either a real manufacturing defect or a rule that needs refinement.

The DRC engine is only as good as its configuration. A DRC that reports zero violations against incorrect or incomplete rules provides false confidence. The review of DRC results must include verification that the rules themselves are correctly defined for the design's requirements and the selected fabricator's capabilities.

DRC Impact on Manufacturing Yield

Violation TypeManufacturing ImpactTypical Yield Loss
Clearance violation (<4mil)Copper bridging (short circuit)2-5% of boards affected
Annular ring violation (<3mil)Broken pad connection (open)1-3% of affected vias
Acid trapOver-etched trace (open or thin)0.5-2% at affected locations
Copper sliverLoose copper causing random shortsVariable, hard to detect
Unconnected netNon-functional board (100% failure)100% if not caught in test

DRC Categories

DRC Philosophy: Zero Tolerance

The goal is ZERO DRC violations before tape-out. Every violation must be either:

  1. Fixed: The layout is corrected to eliminate the violation
  2. Waived with justification: An engineering rationale documents why the violation is acceptable (signed off by the responsible engineer)
  3. Rule refined: The rule itself is incorrect and needs adjustment (e.g., clearance was set too conservatively)

Never simply ignore or suppress violations without documented justification.

Checkpoint: All DRC Errors Resolved

Review Criteria

The final DRC report shows zero errors and zero unresolved warnings. Any waived violations have documented engineering justification. DRC was run with ALL rule categories enabled (not selectively disabled).

DRC Execution Procedure

  1. Verify all design rules are correctly configured (not left at tool defaults)
  2. Enable ALL rule categories - do not disable categories to reduce error count
  3. Run full-board DRC (not just selected area)
  4. Review the error report categorized by type
  5. Fix errors in priority order: connectivity > clearance > manufacturing > cosmetic
  6. Re-run DRC after fixes to confirm no new violations were introduced
  7. Document any waivers with engineering rationale
  8. Archive the final DRC report with the design release package
Altium Designer - Running DRC

Tools > Design Rule Check. Enable all categories in the DRC dialog. The "Report" pane shows all violations grouped by rule. Double-click a violation to zoom to its location. Use "Violation Overlay" mode to see all violations highlighted on the PCB. Export report as HTML or CSV for review documentation.

KiCad - Running DRC

Inspect > Design Rules Checker. Click "Run DRC" to check all rules. KiCad groups violations by type (Errors, Warnings, Exclusions). Right-click a violation to "Exclude" with comment (creates documented waiver). Use "Show All" to see violations on the board. Export report as text file.

Cadence Allegro - Running DRC

Tools > Update DRC for real-time checking (checks as you work). Tools > Design Rule Check for batch DRC. Violations appear in the Constraint Manager spreadsheet with hyperlinks to board locations. Use Display > Status > DRC Errors for summary counts. Export report via Tools > Quick Reports > DRC.

Common Pitfall: Disabling Rules to Get "Clean" DRC

Under schedule pressure, designers sometimes disable rules that generate many violations (e.g., "Minimum Annular Ring" or "Silk over Pads") to achieve a "clean" DRC report. This creates a false sense of readiness. The fabricator's DFM check will catch these issues and either reject the design or produce boards with defects. Always fix the violations or properly waive them - never hide them by disabling the rule.

Checkpoint: Clearance Violations at Zero

Review Criteria

No copper-to-copper clearance violations exist anywhere in the design. This includes trace-to-trace, trace-to-pad, pad-to-pad, copper-pour-to-trace, and via-to-trace clearances on all layers.

Common Clearance Violation Sources

Violation TypeCommon CauseFix Strategy
Trace-to-trace too closeDense routing in BGA breakoutUse approved neck-down rules for the breakout region
Copper pour to tracePour clearance less than routing clearanceSet pour clearance >= routing clearance + 1mil tolerance
Pad-to-pad overlapComponents placed too closeMove components or use smaller footprint variant
Via-to-trace on inner layerVia anti-pad too small for trace clearanceIncrease anti-pad or reroute trace away from via
Copper-to-board-edgePour extends too close to board edgeIncrease board edge pullback on copper pour settings
Plane-to-plane clearanceDifferent voltage planes too close on same layerIncrease gap between plane shapes (min 8-10mil)

Clearance Verification Method

  1. Run DRC with clearance checking enabled for ALL layers (including inner planes)
  2. Filter results to show only clearance violations
  3. Group by layer to identify if violations are concentrated on specific layers
  4. Check if violations are in BGA region (may need region-specific rules)
  5. Verify copper pour has re-filled after routing changes (stale pours cause false violations)
  6. After fixing, re-pour all copper zones and re-run DRC
Good: Clean Clearance Check

DRC report shows 0 clearance violations across all 8 layers. BGA breakout region has a defined "Advanced" rule set with 3.5mil/3.5mil clearance (documented fabricator approval). All copper pours are freshly regenerated. Plane layers show clean clearance between voltage domains.

Bad: Ignored Violations

DRC report shows 47 clearance violations. 23 are in the DDR region (designer says "it will be fine"). 15 are copper pour issues on inner layers (not visible, so ignored). 9 are trace-to-board-edge (assumed "fabricator will handle it"). None are documented or waived.

Checkpoint: Unconnected Nets at Zero

Review Criteria

All nets in the netlist are fully connected (zero unrouted connections). No ratsnest lines remain. Any intentionally unconnected pins are explicitly marked with "no-connect" flags in the schematic. The design matches the schematic netlist exactly.

How to Verify Connectivity

  1. Run full design DRC with connectivity checking enabled
  2. Verify unrouted net count = 0
  3. Enable ratsnest display for all nets - no visible ratsnest lines should appear
  4. Check for "orphaned" copper (copper connected to wrong net or no net)
  5. Cross-reference PCB net count with schematic net count (should match)
  6. Verify all multi-pin nets have all pins connected (not just some)

Common Causes of Unconnected Nets

CauseHow to IdentifyResolution
Missing routeVisible ratsnest line between two pinsRoute the connection
Broken trace (DRC violation)Trace appears connected but DRC shows breakRepair trace, check for accidental deletion
Wrong footprint pin mappingRatsnest connects to unexpected pinFix footprint pin numbering in library
Copper pour not connectingPad appears in pour but not connectedCheck thermal relief settings or direct connect rule
Via not connected to netVia present but DRC shows it as floatingAssign via to correct net or reconnect trace
Schematic change not syncedNet exists in PCB but not schematic (or vice versa)Re-sync netlist from schematic (ECO)

Common Pitfall: Single-Pad Nets on Ground Planes

A component's ground pin appears connected because it sits on a copper pour. However, if the pour has thermal relief that is too restrictive (minimum connection = 2 spokes), and the pad is in an area where the pour cannot reach (isolated by anti-pads), the pin may actually be unconnected. Always run DRC AFTER regenerating all copper pours to catch these "phantom connections."

Checkpoint: Manufacturing DRC Passed

Review Criteria

All manufacturing-specific design rules pass: minimum annular ring, acid traps, copper slivers, starved thermals, and minimum feature sizes are all within fabricator capability.

Manufacturing Rule Specifications

RuleMinimum (Standard)RecommendedDescription
Annular ring (outer)4 mil (0.1mm)5 mil (0.125mm)Copper ring around drill hole
Annular ring (inner)3.5 mil (0.09mm)4 mil (0.1mm)Less critical (no soldering)
Acid trap angle> 90 degrees> 100 degreesNo acute angles at trace junctions
Copper sliver width3 mil (0.075mm)4 mil (0.1mm)Thin copper fragments that may detach
Copper sliver lengthCannot exceed 50x width20x widthLong thin slivers are worse
Minimum copper feature3.5 mil (0.09mm)4 mil (0.1mm)Smallest copper that can be reliably etched
Starved thermal spoke8 mil width minimum10 mil widthThermal relief spoke too thin
Solder mask sliver3 mil (0.075mm)4 mil (0.1mm)Mask web between pads

Annular Ring Calculation

Annular ring = (Pad diameter - Drill diameter) / 2

Minimum annular ring must account for drill registration tolerance:
  Effective ring = Annular ring - Drill position tolerance

Example:
  Pad diameter: 0.6mm
  Drill diameter: 0.3mm
  Annular ring: (0.6 - 0.3) / 2 = 0.15mm (6 mil) -- GOOD

  Pad diameter: 0.45mm
  Drill diameter: 0.3mm
  Annular ring: (0.45 - 0.3) / 2 = 0.075mm (3 mil) -- MARGINAL

  With drill tolerance of +/- 0.05mm:
  Worst case: 0.075 - 0.05 = 0.025mm (1 mil) -- WILL FAIL!

IPC-6012 Class 2 requirement: minimum 50um (2mil) annular ring
IPC-6012 Class 3 requirement: minimum 50um (2mil) annular ring (with tighter drill tolerance)
            

Acid Trap Detection

Acid traps occur at trace junctions where the angle between traces is less than 90 degrees (acute angle). During PCB etching, the etchant pools in these acute corners and over-etches, potentially breaking the trace. Modern fabricators with spray etching are less susceptible, but acid traps remain a DFM violation per IPC standards.

Copper Sliver Issues

Copper slivers are thin, elongated copper features that can:

Prevention: Set copper pour minimum connection width and eliminate thin copper features in pour settings. Most tools have a "minimum spoke/connection width" parameter for pours.

Manufacturing DRC Configuration

Altium: Enable manufacturing rules in Design Rules > Manufacturing: Minimum Annular Ring, Acute Angle, Minimum Solder Mask Sliver, Board Edge Clearance. Import your fabricator's DFM rules file if available.
KiCad: DRC includes manufacturing checks by default (annular ring, minimum drill, track width). Custom rules can be added in Board Setup > Custom Rules using the rule language.
Allegro: Manufacture > Run DFM Checks provides dedicated manufacturing verification beyond standard DRC. Includes acid trap, sliver, and annular ring analysis.

Checkpoint: Copper-to-Edge Clearance Met

Review Criteria

All copper features (traces, pours, pads, vias) maintain minimum clearance from the board outline. This prevents copper exposure at routed edges and ensures structural integrity at the board perimeter.

Edge Clearance Requirements

FeatureMin ClearanceFabricator TypicalReason
Copper trace0.2mm (8mil)0.25mm (10mil)Router tolerance + copper pullback
Copper pour0.25mm (10mil)0.5mm (20mil)Standard pour pullback
Via (drill edge)0.3mm (12mil)0.5mm (20mil)Drill registration + structural
PTH pad (pad edge)0.5mm (20mil)1.0mmPrevents copper exposure + cracking
Component body0.5mm1.0mmPick-and-place clearance

Special Edge Cases

Checkpoint: Drill-to-Copper Clearance Verified

Review Criteria

Non-plated holes and mounting holes maintain adequate clearance from all copper features on all layers. Plated holes maintain correct anti-pad clearance on non-connected layers. No risk of drill hitting copper that would create unintended connections.

Drill-to-Copper Clearance Rules

ScenarioMinimum Clearance (drill edge to copper)Notes
NPTH to trace (all layers)0.25mm (10mil)Must clear on every layer the drill passes through
NPTH to copper pour0.3mm (12mil)Pour must have relief around NPTH
PTH anti-pad to trace0.15mm (6mil)Between anti-pad edge and nearest trace
PTH to PTH (different nets)0.2mm (8mil) drill-to-drillAfter accounting for drill tolerance
Mounting hole to copper0.5mm (20mil)Extra clearance for isolation + screw torque stress

Verification Process

  1. Run DRC with drill-to-copper checking enabled on ALL layers
  2. Pay special attention to non-plated holes (mounting, tooling) - they need clearance on every layer
  3. Check that copper pour regeneration has created proper relief around all holes
  4. Verify that drill registration tolerance is factored into clearance calculations
  5. For blind/buried vias, verify clearance only on layers they actually pass through

Common Pitfall: Forgotten Clearance on Inner Layers

A non-plated mounting hole is added to the board. The designer adds keep-outs on the top and bottom layers, but forgets that the drill passes through ALL inner layers. On an inner power plane, the drill passes directly through the copper with no clearance. Result: the mounting screw contacts the power plane copper, creating a short to the chassis or unpredictable behavior. Solution: NPTH holes must have clearance (anti-pad) on EVERY layer they pass through, including inner planes.

Industry Standards References
  • IPC-2221B Section 6.2: Conductor spacing requirements (clearance tables)
  • IPC-6012E Section 3.3: Annular ring requirements by class
  • IPC-6012E Section 3.6: Plated through-hole requirements
  • IPC-2222 Section 9: Hole and via requirements for rigid boards
  • IPC-A-600J: Acceptability of Printed Boards (inspection criteria for manufacturing defects)
  • IPC-6013D: Qualification and Performance Specification for Flexible/Rigid-Flex Printed Boards

DRC Resolution Workflow

Systematic Approach to Zero Violations

DRC Resolution Priority Order:
================================

1. CONNECTIVITY ERRORS (Critical - board will not function)
   - Unconnected nets (missing routes)
   - Short circuits (unintended connections)
   - Net assignment errors
   Priority: Fix ALL before proceeding to other categories

2. CLEARANCE VIOLATIONS (Critical - board may not be manufacturable)
   - Copper-to-copper clearance
   - Copper-to-edge clearance
   - Drill-to-copper clearance
   Priority: Fix ALL - these cause fabrication rejections

3. MANUFACTURING VIOLATIONS (Major - affects yield and reliability)
   - Minimum annular ring
   - Acid traps
   - Copper slivers
   - Minimum feature size
   Priority: Fix ALL - these cause defects in production

4. PLACEMENT/MECHANICAL (Major - affects assembly and fit)
   - Component courtyard overlap
   - Component-to-edge clearance
   - Height violations
   Priority: Fix ALL - these cause assembly failures

5. HIGH-SPEED/SI VIOLATIONS (Major - affects performance)
   - Impedance width violations
   - Length matching out of tolerance
   - Diff pair symmetry
   Priority: Fix or waive with simulation evidence

6. COSMETIC/ADVISORY (Minor - affects aesthetics/documentation)
   - Silkscreen overlap
   - Silkscreen over pads
   - Text size violations
   Priority: Fix for professionalism, waive only if non-impactful
            

Waiver Documentation Template

DRC Waiver Record
=================
Violation ID: DRC-2024-001
Rule Violated: Minimum Clearance (Trace-to-Trace) - 5mil required, 4mil actual
Location: Layer 3, coordinates (45.2mm, 22.8mm)
Nets Involved: DDR4_DQ7, DDR4_DQ6
Justification: BGA escape zone. Fabricator (JLCPCB Advanced) confirmed
               3.5mil capability in writing (Ref: Quote #QT-20240315-001).
               Signal integrity simulation shows acceptable crosstalk at 4mil
               spacing for 0.8mm segment length.
Risk Assessment: Low. Within fabricator confirmed capability.
Approved By: [Engineer Name, Date]
            

Advanced DRC Techniques & Tips

Manufacturing DRC vs Electrical DRC Comparison

CategoryManufacturing DRCElectrical DRC
PurposeEnsure board can be fabricated correctlyEnsure board functions correctly
Annular ringVerifies drill-to-pad relationshipNot applicable
ClearancePrevents etching/plating defectsPrevents short circuits and arcing
ConnectivityNot applicableVerifies all nets are complete
ImpedanceNot applicableVerifies controlled-Z trace widths
SliversPrevents copper fragment defectsNot applicable
Length matchingNot applicableVerifies timing constraints
Acid trapsPrevents over-etchingNot applicable

Online DFM Verification Services

Before submitting to a fabricator, use their online DFM checker for a second opinion:

ServiceURL/AccessWhat It ChecksCost
JLCPCB Order SystemUpload Gerber at order pageOutline, drill, clearance, annular ring, min featureFree
PCBWay Instant QuoteUpload at quote pageLayer count, board size, special featuresFree
EuroCircuits PCB Visualizereurocircuits.comFull DFM analysis with detailed reportFree
Sierra Circuits DFM Checkprotoexpress.comAdvanced DFM with clearance/annular ringFree
Altium 365 DRCaltium.com/365Full DRC in browser without Altium licenseFree (limited)

DRC Before vs After Copper Pour Regeneration

CRITICAL: DRC results depend on copper pour state!

Before pour regeneration:
  - Stale pours may show false "unconnected" errors (pad not in pour)
  - Old pour shape may not have clearance to newly routed traces
  - Islands may exist that have since been connected by routing

After pour regeneration:
  - All clearances recalculated against current routing
  - Connections to pads verified against current net assignments
  - Islands identified accurately
  - Slivers from tight pour clearance correctly detected

ALWAYS regenerate ALL copper pours/zones BEFORE running final DRC.
Sequence: Regenerate pours -> Run DRC -> Fix violations -> Repeat
            

Common DRC Violation Fixes Quick Reference

ViolationQuick FixRoot Cause Fix
Clearance (trace-trace)Move trace to increase gapReview if routing density requires more layers
Clearance (pour-trace)Increase pour clearance settingEnsure pour clearance >= trace clearance + tolerance
Unconnected netRoute the missing connectionVerify schematic connectivity is correct
Minimum annular ringIncrease pad sizeReduce drill size or use larger via padstack
Acid trapChange junction angle to >=90 degUse 45-degree routing mode exclusively
Copper sliverDelete or widen the thin featureIncrease minimum pour connection width
Silk over padMove text away from padSet DRC rule to auto-clip with clearance margin
Board edge clearanceMove copper inwardSet proper edge pullback in pour settings
Drill-to-copperMove via or traceIncrease NPTH keep-out zone on all layers
Length mismatchAdd serpentine tuningRe-route for more direct path to reduce total length

DRC Report Archival Requirements

For production release, the DRC report must be archived as part of the design documentation:

Industry Standards References
  • IPC-2221B Section 6.2: Conductor spacing requirements (clearance tables)
  • IPC-6012E Section 3.3: Annular ring requirements by class
  • IPC-6012E Section 3.6: Plated through-hole requirements
  • IPC-2222 Section 9: Hole and via requirements for rigid boards
  • IPC-A-600J: Acceptability of Printed Boards (inspection criteria for manufacturing defects)
  • IPC-9252: Requirements for Electrical Testing of Unpopulated Printed Boards
  • IPC-2524B: PWB Fabrication Data Quality Rating System (output quality standards)