PCB Design Rules and Guidelines: A Complete Best Practices Guide
13 min
- What Are PCB Design Rules
- Schematic Design Rules for a Flawless Handoff
- PCB Layout Guidelines: Logic to Physical Reality
- Advanced Layout Rules for High-Performance Design
- DFM and DFA: The Rules for Getting Your Board Built
- FAQs about PCB design rules
Key Takeaways
- Avoid Respins: Run early Schematic ERCs to stop design errors before layout begins.
- Protect SI/PI: Follow the 3W rule and never route high-speed traces over split ground planes.
- Match JLCPCB DFM: Set your DRC to JLCPCB capabilities (e.g., ≥ 3.5 mil trace/space, ≥ 0.15 mm vias).
- Use Free POFV: Utilize Via-in-Pad for dense boards—free on JLCPCB 6 to 20-layer stackups.
- Pre-Verify Designs: Use JLCPCB’s free online DFM and impedance tools to ensure first-time production success.
A great schematic is just an idea. To turn it into a real, working product, you need to follow a robust set of Printed Circuit Board Design Rules. Ignoring these rules leads to costly respins, signal integrity (SI) failures, and boards that are physically impossible to build.
This guide is a technical resource for the entire design process. We'll cover the essential rules for schematics, layout, and manufacturing that every engineer and hobbyist needs to know for a successful design.
What Are PCB Design Rules
PCB design rules are the "laws of physics" for your board. They are a set of constraints that define everything from trace widths to component spacing.
These mandatory rules are precisely what your fabrication house (e.g., JLCPCB) follows to manufacture and assemble PCBs. Disregarding them is the primary reason for project delays and manufacturing holds.
The rules fall into three main categories:
1. Schematic Rules: Ensuring your design is logical and electrically correct before layout.
2. Layout Rules: Translating the schematic into a physical layout that performs correctly.
3. Manufacturing Rules (DFM/DFA): Ensuring the board you designed can actually be built.
Schematic Design Rules for a Flawless Handoff
It is not possible to produce a high-quality layout without a clean schematic/layout. It is essentially your blueprint, and errors here will be amplified later.
Key Schematic Practices: Clarity and Verification
● Group Circuits by Function: Use hierarchical sheets (e.g., Power Supply, MCU Core, RF Section). This will significantly streamline the layout process.
● Maintain a Clear Signal Path: For optimal clarity, arrange symbols to illustrate a clear signal path, with inputs on the left and outputs on the right. This organization simplifies understanding the circuit's function.
● Use Standard Symbols: Ensure your components are from a trusted and verified PCB library. A symbol with an incorrect footprint is a common and frustrating error.
● Label Nets Clearly: Don't just use VCC. Use descriptive names like +5V_DDR or +3V3_RF. This is critical for assigning specific layout rules later.
● Perform an Electrical Rule Check (ERC): It's best to run your schematic’s ERC before moving into layout. It can detect logical errors, such as unconnected pins or shorted outputs. This is your first defensive step.
● Annotate and Document: Add notes identifying specific layout requirements, e.g., "Place C5 as close as possible to U1 pin 6" or "50-ohm impedance" for high-speed traces.
Learn More: Creating High-Quality Schematic Diagram: A Professional and Simplified Workflow
PCB Layout Guidelines: Logic to Physical Reality
This marks the transition from a logical netlist to a physical circuit of copper. This transition is governed by your EDA (Electronics Design Automation) tools, built-in Design Rule Check (DRC).
The layout stage is where the complexity rapidly increases, and if you need to verify or tune your design for performance and cost, JLCPCB Layout Service offers that takes care of any 2-layer boards to complex high-density designs.
Initial Setup: Board Stackup and Component Placement
● Board Outline and Constraints: Define your board's mechanical outline, incorporate mounting holes, and lock the location of critical parts (e.g., connectors).
● Understanding PCB Board Layers (The Stackup): Your layer stackup is a critical decision.
○ 2-Layer Boards: 2-Layer Boards are the low-cost option for straightforward designs.
○ 4-Layer and Multilayer Boards: 4-Layer Boards and Multilayer Boards are the default option for most modern designs. As they utilize dedicated inner planes for Ground (GND) and Power (VCC), they have stable reference planes for signals, enhance power integrity, and streamline routing.
| Layer | 4-Layer Stackup (1.6mm) | Purpose | 6-Layer Stackup (1.6mm) | Purpose |
|---|---|---|---|---|
| L1 | Signal (Top) | Components & high-speed signals | Signal (Top) | Components & high-speed signals |
| L2 | GND (Plane) | Solid Ground reference, shielding | GND (Plane) | Solid Ground reference, shielding |
| L3 | VCC (Plane) | Power distribution | Signal (Internal) | Low-speed signals, impedance control |
| L4 | Signal (Bottom) | Lower-speed signals, routing | VCC (Plane) | Power distribution |
| L5 | --- | --- | GND (Plane) | Second Ground reference, shielding |
| L6 | --- | --- | Signal (Bottom) | Lower-speed signals, routing |
Comparison table of 4-layer and 6-layer PCB stackups showing layer type, material, and purpose.
Strategic Component Placement:
● When designing a PCB, it's crucial to prioritize the placement of essential components such as connectors, microcontrollers, and power sources.
● Place similar components together to remain organized, for example, the entire power supply section.
● Keep analog, digital, and power sections physically separated to avoid interference.
Decoupling capacitors must be placed right next to the VCC/GND pins of every IC to ensure power integrity. This is an extremely important rule.
Routing Basics: Traces, Vias, and Planes
● Trace Width and Spacing (Clearance):
○ Trace Width: It is determined by the current it needs to carry.
Read: Track Width v/s Current Capacity: PCB Layout Tips for Power Routing.
○ Spacing: Determined by the voltage difference between traces and the manufacturer's guidelines.
● Copper Thickness (Weight): For applications that require higher currents, you may select 2oz (70µm) or thicker copper, which allows much narrower traces for the same current, which saves space. Internal traces will need to be wider than traces that are external for the same current due to heat dissipation in internal layers being less efficient.
| Current | External, 1oz Copper | Internal, 1oz Copper | External, 2oz Copper | Internal, 2oz Copper |
|---|---|---|---|---|
| 0.5A | ~5 mil | ~10 mil | ~2 mil | ~5 mil |
| 1.0A | ~10 mil | ~20 mil | ~5 mil | ~12 mil |
| 2.0A | ~30 mil | ~50 mil | ~12 mil | ~30 mil |
| 3.0A | ~50 mil | ~85 mil | ~20 mil | ~45 mil |
| 5.0A | ~100 mil | ~175 mil | ~40 mil | ~90 mil |
Reference table for PCB trace width based on current capacity for internal and external layers(Approx. 10°C Rise).
● Routing Practices: Keep traces short and direct. Use 45° angles for turns; don’t use 90° angles.
● Vias: These are plated holes that connect layers. Minimize their use on high-speed traces to reduce parasitic inductance. For dense designs (such as tight BGA routing), standard vias consume too much space. In such cases, utilize Via-in-Pad (POFV - Plated Over Filled Vias) technology. JLCPCB currently offers free POFV processes for 6- to 20-layer boards, allowing you to place vias directly inside surface mount pads without the risk of solder wicking during assembly.
● Power and Ground Planes: On a 4+ layer board, your ground plane should be a solid, continuous sheet. Never route a high-speed trace over a "split" in your ground plane. This forces the signal's return current to take a massive loop, creating EMI and signal integrity failure.
Learn More:
● The Ultimate Guide to PCB Layout Design
● Comprehensive Layer Stack-Up Design for High-Speed Controlled Impedance PCBs
Advanced Layout Rules for High-Performance Design
This section addresses important rules that apply to modern high-speed designs in which traces are transmission lines.
● Signal Integrity(SI) in PCB Layout: Signal integrity (SI) describes the reception of a signal exactly as it was transmitted. However, high-speed signals often experience degradation, ringing, overshoot, and errors upon reception.
○ Key Rules: Keep all traces for high-speed signals short. Route them on top of a solid, unbroken ground plane (the return path). Keep a large distance between every two parallel traces to prevent near-end crosstalk (electromagnetic coupling). The rule of thumb is the "3W" rule: The distance from one trace to another must be at least three times the width of one trace.
● Impedance Matching in PCB Layout: For high-frequency signals (e.g., USB, Ethernet, RF, DDR memory), the trace itself has a characteristic impedance. To ensure maximum power transfer and prevent signal reflections (which cause data corruption), the trace's impedance must match the source and load impedance (typically 50Ω for single-ended or 90-100Ω for differential pairs).
○ How it's controlled: This impedance is precisely determined by the trace width, the dielectric (insulating) material of the PCB, and the distance from the trace to its reference ground plane.This is why your layer stackup (Table 1) is so critical. To achieve precise impedance, JLCPCB utilizes specific standard Prepreg (PP) materials such as 3313, 7628, and 2116. When using the JLCPCB Impedance Calculator, it automatically applies these material dialectic constants. During manufacturing, JLCPCB will dynamically adjust your trace width by approximately ±20% (or ±10% for high-precision requirements) to compensate for manufacturing etching tolerances and hit your exact target impedance.
● Differential Pairs: A differential pair consists of two traces, such as D+ and D-, that carry equal and opposite signals. This configuration is commonly employed in high-speed communication, like USB, due to its excellent resistance to common-mode noise.
○ Key Routing Rules: To ensure signals arrive simultaneously at the receiver, the two traces must be routed parallel, maintaining an identical length (length-matched). It's crucial to keep a consistent, small gap between them and route them symmetrically. Vias should be avoided if possible; if necessary, use them symmetrically on both traces.
For precise impedance control, consider using JLCPCB's free online impedance calculator tool, which can help you design your PCB traces to meet specific impedance requirements.
● Power Integrity(PI) in PCB Layout: Power integrity (PI) is important for supplying stable, clean power (smooth DC voltage) to all components. Modern integrated circuits (ICs) switch very quickly and demand current immediately. Poor PI can lead to voltage droop, noise, or ultimately system failure.
○ Key rules: To achieve the best possible power distribution with a low-inductance power path, use a solid power plane (on 4+ layer boards), and provide decoupling (bypass) capacitors for each IC with bulk capacitance (1-10uF) for low-frequency power variations, and smaller decoupling capacitors (0.1uF, 0.01uF) at high frequencies that are placed as close as possible to the power pins on each IC.
● EMI in PCB Layout: Good EMI management ensures your board neither generates excessive Electromagnetic Interference (EMI) that will disturb other devices (Electromagnetic Compatibility - EMC) nor is exposed to EMI from other devices.
Learn more: https://jlcpcb.com/blog/emivsemc
○ Key rules:
● Ground Plane: A solid ground plane serves as the most effective shield.
● High-Frequency Traces: Keep high-frequency traces (e.g., clocks) short, minimizing their current loops (trace + return path).
● Filtering: Implement filtering components like ferrite beads on power lines and I/O signals.
● Shielding: For sensitive RF sections, utilize metal shielding cans when necessary.
Learn more: How to Tackle EMI_EMC and Signal Integrity Issues in HF PCB Design.
DFM and DFA: The Rules for Getting Your Board Built
Even designs that clear all electrical checks can present manufacturing challenges. This is precisely why Design for Manufacturability (DFM) and Design for Assembly (DFA) are crucial.
DFM in PCB Layout (Design for Manufacturability)
Rules of DFM (Design for Manufacturability) are very important to ensure the reliable handling of a bare board. These are rules that the manufacturer provides, and they are very strict. The significant rules are:
● Minimum Trace/Space: manufacturer can produce reliably. While 5mil/5mil is a safe standard for 2-layer boards, modern complex layouts require finer limits. JLCPCB supports advanced trace/space parameters down to 3.5mil/3.5mil (0.09mm) for 4+ layer boards.
Minimum Drill Size & Annular Ring: The minimum mechanical drill size at JLCPCB is 0.3mm for 1-2 layers, but goes down to 0.15mm (6mil) for multi-layer boards.
Table: JLCPCB Standard vs. Advanced Manufacturing Capabilities
| Capability | 1-2 Layer Boards | 4-6 Layer Boards | High-Density (8-20 Layers) |
|---|---|---|---|
| Min Trace/Spacing | 5 mil / 5 mil | 3.5 mil / 3.5 mil | 3.5 mil / 3.5 mil |
| Min Via Hole Size | 0.3 mm | 0.15 mm / 0.2 mm | 0.15 mm |
| Min Annular Ring | 0.13 mm | 0.10 mm | 0.10 mm |
| Via-in-Pad (POFV) | Not Supported | Supported (Free for 6+ layers) | Supported (Free) |
● Minimum Drill Size & Annular Ring: The annular ring is the copper remaining around a drill hole. If this ring is too small, the via may fail.
● Solder Mask Clearance: A minimum clearance is required to ensure the copper pad remains completely free of solder mask.
For checking your design before ordering, you can use JLCPCB's free DFM tool.
DFA in PCB Layout (Design for Assembly)
It is important to follow Design for Assembly (DFA) rules to ensure that components are soldered to the board for PCB assembly. The most important considerations to keep in mind are:
● Component Spacing: Enough space must be maintained for pick-and-place machines.
● Footprint Accuracy: You should always verify PCB library footprints with the relevant component's datasheet.
● Fiducial Marks: Fiducial marks are optical markings printed on your boards to assist automated assembly machines during the positional alignment process.
Component Orientation: Polarized components (e.g., diodes and LEDs) should be oriented in the same direction as much as possible to simplify assembly
FAQs about PCB design rules
Conclusion
Following this guide, we've traced the path from a logical Schematic to a high-performance Layout and finally to a board that is ready for manufacturing via DFM/DFA. Mastering these printed circuit board design rules is the most critical skill for turning your concepts into reliable, real-world hardware.
Many projects encounter delays during the layout process, particularly with complex boards. The challenges of managing high-speed signals, controlling impedance, and arranging dense component placement can be substantial. To expedite your project and guarantee an optimized, manufacturable design, consider utilizing JLCPCB's professional assistance.
Our expert layout service transforms your schematic into a production-ready board, handling all the complex details for you. Our "review first, pay later" system offers reliable protection and peace of mind.
Keep Learning
PCB Design Rules and Guidelines: A Complete Best Practices Guide
Key Takeaways Avoid Respins: Run early Schematic ERCs to stop design errors before layout begins. Protect SI/PI: Follow the 3W rule and never route high-speed traces over split ground planes. Match JLCPCB DFM: Set your DRC to JLCPCB capabilities (e.g., ≥ 3.5 mil trace/space, ≥ 0.15 mm vias). Use Free POFV: Utilize Via-in-Pad for dense boards—free on JLCPCB 6 to 20-layer stackups. Pre-Verify Designs: Use JLCPCB’s free online DFM and impedance tools to ensure first-time production success. A great schem......
BGA PCB Design Complete Guide: Layout and Routing Guidelines
Key Takeaways Define pad type first: Always confirm SMD or NSMD pad strategy before routing BGA fanout. NSMD is generally preferred for better solder joint formation, while SMD suits very small pads or tight mask registration. Match the process to the pitch: 0.8 mm BGAs work with dog-bone fanout and standard vias; 0.5 mm BGAs typically need via-in-pad or HDI routing. Picking the right via strategy early saves layers and cost. Place decoupling capacitors on the bottom side: Mount MLCCs directly under t......
Mastering PCB Design: A Step-by-Step PCB Layout Process Guide
Key Takeaways Process over improvisation: A repeatable, standardized PCB layout process—not luck—is what turns a working schematic into a board that succeeds on the first spin. Placement drives everything: Component layout and functional block partitioning are the most impactful steps; good placement makes routing easy, poor placement makes it impossible. Route critical signals manually first: Clocks, differential pairs, sensitive analog nets, and power switching loops must be hand-routed before auto-......
Multilayer PCB Design Guidelines: Stack-up and Layout Best Practices
Key Takeaways Stack-up is the foundation: The layer arrangement defines signal integrity, impedance control, and EMI performance — plan it before routing a single trace. Symmetric, reference-heavy designs prevent failures: A balanced stack-up with ground planes adjacent to every signal layer avoids warpage, ensures return path continuity, and minimizes crosstalk. DFM rules ensure manufacturability: Aspect ratio, annular rings, material selection, and symmetric copper distribution are critical to produ......
How to Reduce Noise and EMI in PCB Layout: A Comprehensive Design Guide
Key Takeaways EMI origins: EMI stems from structural layout deficiencies — poor return paths, interrupted reference planes, and large loop areas create antenna structures that radiate unwanted energy. Loop area is critical: Minimizing current loop areas through solid ground planes adjacent to signal layers is the single most effective EMI reduction technique. Placement defines noise: Component placement establishes current loops before routing. Group by function (power, analog, digital, RF), isolate a......
What is the Difference Between PCB Design and Layout?
The difference between PCB design and PCB layout trips up more engineers than you’d expect. While often used interchangeably, these are distinct disciplines. The gap between them is where many projects quietly go sideways. Simply put, PCB design is the logical foundation, while PCB layout is the physical implementation. A flawless schematic can fail in production due to poor layout, and even the best layout engineer can’t rescue it. Below, we provide a detailed breakdown of the differences between the......
