Indice dei contenuti

Design Rule Checking in PCB Design: From Altium DRC to SMT Assembly

Published on September 10, 2024 · Updated on October 22, 2026

Verifica delle regole di progettazione (DRC) is the final automated step in the PCB layout process before going into manufacturing – and for most design teams, the green tick that pops up after completing the process is akin to crossing the finish line. It’s not. This article will explore what Design Rule Checking does, what type of rules it checks for, and how to do DRC in PCB design and solve any issues found in Altium Designer. It will also discuss what DRC does not catch: the assembly issues that fail at every geometric rule but emerge in the form of solder bridges, open BGA connections, and even reversed components during the Processo di assemblaggio SMT. For engineers from an OEM organization or project managers preparing their designs for overseas manufacturing, the sections about DRC versus DFA/DFM and assembly issues are for you.
Design Rule Checking in PCB Design - From Altium DRC to SMT Assembly

What is Design Rule Checking (DRC)​

Verifica delle regole di progettazione (DRC) is a process used in electronic design automation (EDA) to verify that a PCB design adheres to a set of predefined rules or constraints. These rules ensure that the design is manufacturable, reliable, and meets the necessary performance standards.
 
I DRC funzionano confrontando il layout del progetto PCB con una serie di regole predefinite stabilite dal progettista o dal produttore. Queste regole si basano sugli standard industriali, sulle capacità produttive e sui requisiti specifici del progetto.
 
The primary goal of DRC check is to detect errors early in the design process that could lead to difetti di produzione or functional failures in the final product. By adhering to DRC rules, designers can minimize risks, reduce the need for rework, and ensure that the fabricated PCB is both reliable and manufacturable.
 
But passing DRC is only the first gate — the question a PCBA partner ultimately answers is whether the board can be assembled at yield, not just whether it matches a rule deck.

Perché il controllo delle regole di progettazione (DRC) è essenziale nella progettazione di PCB

La verifica delle regole di progettazione (DRC) è un aspetto fondamentale della Progettazione di PCB che assicura la scheda sia producibile e affidabile. Aderendo a una serie di regole predefinite, il DRC aiuta a identificare i potenziali problemi nelle prime fasi del processo di progettazione, evitando costosi errori e garantendo che il prodotto finale soddisfi gli standard necessari. Ecco perché il DRC è essenziale nella progettazione di PCB:
 

Preventing Manufacturing Defects

Durante Produzione di PCB, processes such as photolithography, etching, drilling, and plating must adhere to specific parameters to avoid defects. Without strict adherence to design guidelines, the PCB can experience open circuits, short circuits, or complete failure. DRC is essential because it catches these potential issues before production begins, ensuring the design stays within the manufacturing process’s capabilities and prevents defects that could compromise the board’s functionality.
 

Ensuring Electrical Integrity

Electrical integrity is crucial for a PCB’s performance. DRC ensures that design elements like trace widths, via placement, and spacing meet the necessary electrical design rules. This is essential to prevent issues such as high resistance, crosstalk, and signal interference. Properly configured DRC rules help maintain the PCB’s electrical integrity, ensuring that it performs reliably and efficiently in its intended application.
 

Ensuring Compliance with Industry Standards

Compliance with industry standards is critical, especially in sectors like aviation, automobilistico, e dispositivi medici, where safety and reliability are paramount. DRC is essential in verifying that the PCB design adheres to these strict standards, providing designers with confidence that their boards will meet regulatory requirements. This compliance not only ensures a safe and reliable final product but also streamlines the certification process, which is often required in these industries.
 

Accelerating Time-to-Market

In un'industria dai ritmi serrati, è fondamentale che i prodotti arrivino rapidamente sul mercato. Gli errori scoperti durante o dopo la produzione possono causare ritardi significativi. Il DRC è essenziale perché identifica tempestivamente i potenziali problemi, riducendo la probabilità di riprogettazioni e rifacimenti che richiedono molto tempo. Individuando gli errori nella fase di progettazione, il DRC consente una transizione più rapida dallo sviluppo alla produzione, aiutando le aziende a portare i loro prodotti sul mercato in modo più efficiente.
 

Enhancing Cost Efficiency

Fissazione PCB design errors after manufacturing can be expensive, especially if faulty boards need reworking or scrapping. DRC is essential in minimizing these costi di assemblaggio by identifying errors during the design phase, before any physical boards are produced. This proactive approach not only reduces labor and materiale costs but also leads to more financially sustainable project outcomes. By ensuring the design is manufacturable from the start, DRC contributes to a more cost-effective Processo di produzione dei PCB.

Where DRC Stops and DFM / DFA / DFT Begin

DRC design rule check is necessary but not sufficient. It checks geometry against the rules you loaded into the EDA tool; it does not check whether those rules match the assembly line that will build the board. The table below draws the boundary.
Check TypeCore QuestionCovered by DRC?
DRCDoes the design comply with the configured geometric and connectivity rules?Sì
DFM (including DFF)Can the bare board be reliably manufactured by a specific fab‘s etching, drilling, copper plating, and solder mask processes?Partially — only when the rules are bound to that fab’s process window
DFACan components be reliably placed and soldered on a specific SMT line?No
DFTCan the assembled board be effectively tested by ICT / flying probe?No
DRC is a hard pass/fail connectivity and spacing check; DFM is more concerned with features in the PCB topology that have the potential to cause manufacturing problems. DFA errors, by contrast, do not surface until the board reaches the SMT line — which is the root cause of DRC-clean designs failing at Assemblaggio di PCB.

Regole chiave per il controllo delle regole di progettazione (DRC)

  1. Clearance Rules

  • Spaziatura minima: Si tratta di una delle regole più critiche, che garantisce uno spazio adeguato tra i diversi elementi conduttivi come tracce, piazzole e vias. Una distanza adeguata impedisce i cortocircuiti elettrici, che potrebbero causare malfunzionamenti del circuito o addirittura guasti catastrofici.
  1. Regole di larghezza della traccia

  • Larghezza della traccia: Garantire che la larghezza delle tracce sia conforme alle specifiche di progetto è fondamentale per trasportare la corrente richiesta senza surriscaldarsi. Questa regola è fondamentale per mantenere l'affidabilità e la sicurezza del PCB, soprattutto nelle applicazioni ad alta corrente.
  1. Via Rules

  1. Annular Ring Rules

  • Anello anulare minimo: A sufficient annular ring is essential for the mechanical strength of vias. If the ring is too small, it may cause pads to detach or lead to poor solder joint quality, which compromises the board’s reliability.
  1. Solder Mask Rules

  • Maschera di saldatura Espansione: This rule is critical to preventing solder bridges during assembly. Ensuring that the solder mask is correctly expanded around pads and traces helps to avoid cortocircuiti and manufacturing defects.
  1. Plane Connection Rules

  • Rilievo termico: Applying proper thermal relief to pads connected to large copper planes is crucial for both manufacturability and reliability. Without thermal relief, cuscinetti may become difficult to solder, leading to poor connections and potential field failures.
  1. Signal Integrity Rules

  • Controllo diafonia e impedenza: In alta velocità designs, controlling crosstalk and ensuring that traces maintain the correct impedenza are critical for signal integrity. These rules prevent data corruption and ensure that signals are transmitted accurately across the PCB.
  1. Component Placement Rules

  • Posizionamento All'interno dei bordi del pannello e dei vincoli di altezza: Proper component placement ensures that components are secure and that the PCB can be housed properly within its intended enclosure. Violating these rules can lead to mechanical stress or damage during assembly or use.

What DRC Does Not Catch and Why It Matters at Assembly

All eight of these rule categories are crucial; however, they all have one common problem: they function using the rule values which were imported to the EDA tool. In case the rule is either set too loosely, not included into the checking process, or just does not exist for the given failure mode, DRC check would say that the design is clean even though it contains the flaw.
 
Scenario 1: Bridging of the solder dam between fine-pitch pads. 0.5 mm pitch QFP with 4 mils wide solder mask dam passes DRC when rule minimum is 3 mils. However, fabrication facility that has ±2 mil registration tolerance has about 50% probability of having the dam bridged during the imaging process. If DFM checks are run against the capabilities of the fabrication facility, the check will catch it and recommend 5 mils instead of 4 mils. The DRC verified the rule but it did not verify the process window for the rule.
 
Scenario 2: Via in Pad with no resin filling. DRC finds a valid via within a valid pad and does not report any violation of rule. During reflow, solder travels through the via and starves the ball joint in BGA, resulting in an open that passes AOI but fails functional test. There is no geometric rule violation here because the problem is in process physics.
 
Scenario 3: Silkscreen polarity marking that is not consistent with the footprint. Generally speaking, EDA tools do not have any strict rules about serigrafia, thus it is possible to put pin 1 marking upside down or just not place it for the BGA package; this will not cause failure in the DRC process. The operator and AOI system on the SMT line work according to the silkscreen marking and will put the component upside down during the test funzionali. DRC checks connectivity and clearance.
 
The bottom line: DRC ensures that your design adheres to the rules which you entered into your system. However, DRC does not ensure that these rules take into account the processo di assemblaggio of building the board. Layout review conducted by the real assembly partner would discover 30 to 50 percent more problems than any generic rule set review.

Come utilizzare la verifica delle regole di progettazione (DRC) in Altium Designer

Passo 1: accedere all'Editor delle regole di progettazione

  1. Aprire il progetto PCB: Avviare Altium Designer e aprire il progetto PCB.
  2. Passare all'Editor PCB: Assicurarsi di essere nell'area di lavoro di PCB Editor.
  3. Aprire l'Editor delle regole di progettazione: Accedere al menu superiore e selezionare Design > Regole. Si apre l'Editor regole e vincoli PCB, dove è possibile configurare e gestire tutte le regole di progettazione.
Passo 1 Accedere all'Editor delle regole di progettazione

Passo 2: Configurazione delle regole di progettazione

  1. Selezionare una categoria di regole: A sinistra pannelloscegliere la categoria corrispondente al tipo di regole che si desidera configurare (ad esempio, Elettrica, Instradamento, Produzione).
  2. Aggiungere o modificare le regole:
    • Aggiungi nuova regola: Per creare una nuova regola, fare clic sul pulsante Nuova regola nella parte inferiore della finestra.
    • Fare doppio clic per modificare: È possibile fare doppio clic su una regola esistente nel pannello centrale per modificarne le impostazioni, oppure selezionare la regola nel pannello di sinistra per visualizzare i relativi parametri da modificare.
  3. Impostazione dei parametri della regola:
    • Nome: Assegnare alla regola un nome significativo che rifletta il suo scopo.
    • Ambito di applicazione: Definire l'ambito della regola, specificando se si applica a tutte le reti, a reti specifiche, a livelli o a componenti.
    • Attributi: Impostare gli attributi specifici della regola, come la larghezza della traccia, il gioco o le dimensioni dei passaggi. Questi parametri devono essere in linea con le capacità di produzione e con i requisiti del progetto.
  4. Privilegiare le regole: Se ci sono regole che si sovrappongono, fare clic sul pulsante Priorità per impostare l'ordine di precedenza per l'applicazione delle regole.
DRC Passo 2 Configurazione delle regole di progettazione

Fase 3: Esecuzione della verifica delle regole di progettazione (DRC)

  1. Avviare l'RDC:
    • Vai a Strumenti > Controllo regole di progettazione dal menu superiore.
    • Si apre la finestra di dialogo DRC, dove è possibile configurare il controllo.
  2. Configurazione delle impostazioni DRC:
    • Selezionare le regole da controllare: Scegliere le regole da applicare durante il DRC. È possibile selezionare tutte le regole o categorie specifiche, a seconda di ciò che si desidera convalidare.
    • Opzioni di uscita: Decidete come volete ricevere i risultati: come marcatori sullo schermo, in un rapporto dettagliato o in entrambi.
  3. Eseguire il DRC:
Passo 3 Eseguire il controllo delle regole di progettazione 1
Passo 3 Eseguire il controllo delle regole di progettazione2

Fase 4: Esame e risoluzione delle violazioni del DRC

  1. Esaminare i risultati:

    • Le eventuali violazioni delle regole saranno visualizzate nella finestra di dialogo Messaggi window, as shown on the right side of your Progettista Altium workspace.
    • Ogni violazione è in genere elencata con dettagli quali il tipo di violazione, la rete o il componente interessato e la sua posizione sul PCB.
    • È anche possibile generare un rapporto dettagliato che elenca tutte le violazioni, con descrizioni e luoghi.
  2. Individuare direttamente le violazioni:

    • Fare clic su Violazioni: Nel Messaggi fare clic su una violazione specifica. Altium Designer ingrandisce automaticamente ed evidenzia l'area esatta del layout del PCB in cui si trova il problema. Ciò consente di identificare e risolvere rapidamente i problemi senza dover cercare manualmente nel progetto.
  3. Risolvere le violazioni:

    • For each violation, examine the highlighted area in the PCB layout.
    • Modificare il layout per risolvere il problema. Ciò potrebbe comportare la regolazione della larghezza delle tracce, della spaziatura o del posizionamento dei componenti.
    • Dopo aver apportato le modifiche, eseguire nuovamente il DRC per assicurarsi che la violazione sia stata risolta.
Fase 4 del DRC Esame e risoluzione delle violazioni del DRC
rapporto sulle violazioni

Fase 5: finalizzare il progetto

  1. Rilanciare la RDC: Dopo aver risolto tutte le violazioni, eseguire nuovamente il DRC per verificare che non vi siano problemi residui.
  2. Salvare e documentare: Una volta che il progetto ha superato il DRC senza violazioni, salvare il progetto. È inoltre buona norma documentare le regole finali utilizzate e le eventuali eccezioni per riferimento futuro o per il partner di produzione.
  3. Preparare la fabbricazione: With all DRC issues resolved, your PCB design is now ready for the next steps in the fabrication process.

Come importare le impostazioni di Design Rule Check (DRC) in Altium Designer?

Considerate l'utilizzo della funzione di importazione delle regole di progettazione in Altium Designer quando volete garantire standard coerenti tra i progetti, allinearvi facilmente a specifici requisiti di produzione o semplificare il processo di progettazione, in particolare all'inizio di un nuovo progetto o quando lavorate in team. Ciò può contribuire a ridurre gli errori e a rendere più fluida la collaborazione.

Passo 1: aprire l'Editor delle regole di progettazione

  1. Aprire il progetto PCB: Avviare Altium Designer e caricare il progetto di PCB.
  2. Accedere all'Editor delle regole di progettazione: Vai a Design > Regole nel menu superiore per aprire l'Editor regole e vincoli PCB.
Passo 1 Accedere all'Editor delle regole di progettazione

Passo 2: Importazione o esportazione di regole

  1. Fare clic con il tasto destro del mouse sulla cartella delle regole di progettazione: Nell'editor delle regole e dei vincoli del PCB, fare clic con il tasto destro del mouse sulla voce Regole di progettazione nella parte superiore del pannello di sinistra.

  2. Scegliere Importazione o Esportazione:

    • Regole di importazione: Seleziona Regole di importazione per inserire le regole di progettazione da un file esterno.
    • Regole di esportazione: Seleziona Regole di esportazione per salvare le regole di progettazione correnti in un file esterno.
  3. Seleziona le regole: Nel Scegliere il tipo di regola di progettazione Nel pannello che appare, selezionare le regole specifiche che si desidera importare o esportare. È anche possibile premere Ctrl + A per selezionare tutte le regole.

  4. Completare l'azione:

    • Per l'importazione: Dopo aver selezionato Regole di importazione, scegliere il .rul dal sistema e fare clic su OK.
    • Per l'esportazione: Dopo aver selezionato Regole di esportazionespecificare la posizione e il nome del file in cui salvare il file .rul e fare clic su OK.
Regole di importazione o di esportazione della RDC
Scegliere il tipo di regola di progettazione

Conclusione

Design Rule Checking (DRC) is vital for ensuring that your PCB designs are error-free, reliable, and ready for manufacturing. By integrating DRC into every stage of your design process, you can catch issues early, reducing costs and avoiding delays.
 
If you need support with DRC check or any other aspect of PCB design, FS PCBA è qui per aiutarvi. Offriamo una guida esperta e servizi per garantire che i vostri progetti soddisfino gli standard più elevati, semplificando il percorso dall'ideazione alla produzione. Lasciate che vi assistiamo per dare vita ai vostri progetti con sicurezza ed efficienza.

FAQs about Design Rule Check

Does passing DRC mean my PCB is ready for assembly?
No. DRC verifies geometry against the rules loaded in your EDA tool, but it does not confirm those rules match the assembly line‘s process window or catch failures like solder bridging, via-in-pad wicking, or silkscreen polarity errors. A DRC-clean design can still fail at SMT.
DRC checks geometry against configured rules. DFM checks whether the bare board can be built reliably at a specific fab. DFA checks whether components can be placed and soldered reliably on a specific SMT line. DRC is largely a hard pass/fail check; DFM and DFA address process issues that may not violate a geometric rule.
Yes. Common examples include solder bridging on fine-pitch pads where the mask dam is legal per the EDA rule but narrower than the fab’s registration tolerance can reliably produce, via-in-pad without resin fill that opens at functional test, and silkscreen polarity markers that contradict the footprint.
Ask for a review against their actual line capabilities: minimum solder-mask dam width at their registration tolerance, via-in-pad fill specification, component clearance for pick-and-place, panelization and fiducial requirements, and silkscreen polarity consistency. A partner that only runs DRC and quotes is not performing an assembly-side review.
A pre-release review against the builder‘s process window typically costs 2–4 hours of engineering time. A re-spin caused by a missed assembly-side issue costs $5,000–$25,000 and 4–8 weeks at the low end; industry averages for a single PCB re-spin run higher, around $46,000. Catching the gap earlier is cheaper by roughly an order of magnitude per stage.

Collabora con FS Technology e ottieni un servizio professionale di assemblaggio di schede elettroniche (PCBA).

Blog correlati