Оглавление

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

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

Проверка правил проектирования (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 ПЕЧАТНАЯ ПЛАТА дизайн 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 Процесс сборки 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)​

Проверка правил проектирования (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.
 
DRC работают путем сравнения макета печатной платы с набором предопределенных правил, установленных дизайнером или производителем. Эти правила основаны на промышленных стандартах, производственных возможностях и специфических требованиях проекта.
 
The primary goal of DRC check is to detect errors early in the design process that could lead to производственные дефекты 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.

Почему проверка правил проектирования (DRC) важна при проектировании печатных плат

Проверка правил проектирования (DRC) - это фундаментальный аспект Дизайн печатной платы, обеспечивающий ее является технологичным и надежным. Придерживаясь набора заранее определенных правил, DRC помогает выявить потенциальные проблемы на ранних этапах процесса проектирования, предотвращая дорогостоящие ошибки и гарантируя, что конечный продукт будет соответствовать необходимым стандартам. Вот почему DRC необходима при проектировании печатных плат:
 

Preventing Manufacturing Defects

Во время Производство печатных плат, processes such as photolithography, etching, drilling, and plating must adhere to specific parameters to avoid defects. Without strict adherence to design guidelines, the ПЕЧАТНАЯ ПЛАТА 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, автомобильныйи медицинские приборы, 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

В быстро развивающейся промышленности быстрое поступление продукции на рынок имеет решающее значение. Ошибки, обнаруженные во время или после производства, могут привести к значительным задержкам. DRC очень важна, поскольку она выявляет потенциальные проблемы на ранней стадии, снижая вероятность трудоемких переделок и повторного производства. Выявляя ошибки на этапе проектирования, DRC обеспечивает более быстрый переход от разработки к производству, помогая компаниям выводить свои продукты на рынок более эффективно.
 

Enhancing Cost Efficiency

Исправление PCB design errors after manufacturing can be expensive, especially if faulty boards need reworking or scrapping. DRC is essential in minimizing these затраты на сборку by identifying errors during the design phase, before any physical boards are produced. This proactive approach not only reduces labor and материал 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 Процесс производства печатных плат.

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?Да
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?Нет
DFTCan the assembled board be effectively tested by ICT / flying probe?Нет
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 Сборка печатной платы.

Ключевые правила проверки правил проектирования (DRC)

  1. Clearance Rules

  • Минимальное расстояние: Это одно из самых важных правил, обеспечивающее достаточное пространство между различными проводящими элементами, такими как дорожки, площадки и отверстия. Правильный зазор предотвращает электрические замыкания, которые могут привести к сбоям в работе схемы или даже к катастрофическому отказу.
  1. Правила ширины трассы

  • Ширина трассировки: Обеспечение соответствия ширины трасс проектным спецификациям жизненно важно для пропускания необходимого тока без перегрева. Это правило имеет решающее значение для поддержания надежности и безопасности печатной платы, особенно в сильноточных приложениях.
  1. Via Rules

  1. Annular Ring Rules

  • Минимальное кольцевое кольцо: 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

  1. Plane Connection Rules

  • Тепловая разгрузка: Applying proper thermal relief to pads connected to large copper planes is crucial for both manufacturability and reliability. Without thermal relief, колодки may become difficult to solder, leading to poor connections and potential field failures.
  1. Signal Integrity Rules

  • Перекрестные помехи и контроль импеданса: На сайте высокоскоростной designs, controlling crosstalk and ensuring that traces maintain the correct импеданс are critical for signal integrity. These rules prevent data corruption and ensure that signals are transmitted accurately across the PCB.
  1. Component Placement Rules

  • Размещение Границы доски и ограничения по высоте: 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 Шелкография, 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 функциональное тестирование. 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 процесс сборки 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.

Как использовать проверку правил проектирования (DRC) в Altium Designer

Шаг 1: Войдите в редактор правил дизайна

  1. Откройте Ваш проект печатной платы: Запустите Altium Designer и откройте Ваш проект печатной платы.
  2. Перейдите к редактору печатных плат: Убедитесь, что Вы находитесь в рабочей области PCB Editor.
  3. Откройте редактор правил дизайна: Перейдите в верхнее меню и выберите Дизайн > Правила. Откроется редактор правил и ограничений печатной платы, где Вы можете настраивать и управлять всеми правилами проектирования.
Шаг 1 Перейдите в редактор правил дизайна

Шаг 2: Настройте правила проектирования

  1. Выберите категорию правил: В левом панельВыберите категорию, соответствующую типу правил, которые Вы хотите настроить (например, Электричество, Маршрутизация, Производство).
  2. Добавьте или отредактируйте правила:
    • Добавить новое правило: Чтобы создать новое правило, нажмите кнопку Новое правило Кнопка в нижней части окна.
    • Двойной щелчок для редактирования: Вы можете дважды щелкнуть по существующему правилу на средней панели, чтобы изменить его настройки, или выбрать правило на левой панели, чтобы вызвать соответствующие параметры для редактирования.
  3. Установите параметры правила:
    • Имя: Дайте правилу осмысленное название, отражающее его цель.
    • Область применения: Определите область действия правила, указав, применяется ли оно ко всем сеткам, определенным сеткам, слоям или компонентам.
    • Атрибуты: Установите специфические атрибуты правила, такие как ширина трассы, зазор или размеры отверстий. Эти параметры должны соответствовать производственным возможностям и требованиям Вашего дизайна.
  4. Расставьте приоритеты в правилах: Если есть перекрывающиеся правила, нажмите на кнопку Приоритеты Кнопка позволяет установить порядок очередности выполнения правил.
DRC Шаг 2 Настройка правил проектирования

Шаг 3: Запустите проверку правил проектирования (DRC).

  1. Инициируйте DRC:
    • Перейти к Инструменты > Проверка правил проектирования из верхнего меню.
    • Откроется диалоговое окно DRC, в котором Вы можете настроить проверку.
  2. Настройте параметры DRC:
    • Выберите правила для проверки: Выберите, какие правила будут применяться во время DRC. Вы можете выбрать все правила или определенные категории, в зависимости от того, что Вы хотите проверить.
    • Варианты вывода: Решите, как Вы хотите получить результаты - в виде маркеров на экране, в подробном отчете или в обоих случаях.
  3. Запустите DRC:
Шаг 3 Выполните проверку правил проектирования 1
Шаг 3 Выполните проверку правил проектирования2

Шаг 4: Рассмотрите и устраните нарушения DRC

  1. Изучите результаты:

    • Если есть какие-либо нарушения правил, они будут отображены в Сообщения window, as shown on the right side of your Altium Designer workspace.
    • Каждое нарушение обычно перечисляется с указанием таких подробностей, как тип нарушения, затронутая сеть или компонент и их расположение на печатной плате.
    • Вы также можете создать подробный отчет, в котором будут перечислены все нарушения с описанием и указанием местоположения.
  2. Прямое обнаружение нарушений:

    • Нажмите на Нарушения: В Сообщения В окне нажмите на любое конкретное нарушение. Altium Designer автоматически увеличит масштаб и выделит точную область на схеме печатной платы, где находится проблема. Это позволяет быстро выявлять и решать проблемы без ручного поиска по всему дизайну.
  3. Устранение нарушений:

    • For each violation, examine the highlighted area in the PCB layout.
    • Измените схему, чтобы решить проблему. Это может быть связано с изменением ширины трасс, расстояния между ними или расположения компонентов.
    • После внесения изменений повторно запустите DRC, чтобы убедиться, что нарушение устранено.
DRC Шаг 4 Рассмотрение и устранение нарушений DRC
отчет о нарушениях

Шаг 5: Завершите работу над дизайном

  1. Повторное управление DRC: После устранения всех нарушений запустите DRC еще раз, чтобы убедиться в отсутствии оставшихся проблем.
  2. Сохраняйте и документируйте: Как только Ваш дизайн пройдет DRC без нарушений, сохраните свой проект. Также полезно задокументировать использованные правила и любые исключения для будущих справок или для Вашего партнера-производителя.
  3. Подготовка к изготовлению: With all DRC issues resolved, your PCB design is now ready for the next steps in the fabrication process.

Как импортировать настройки Design Rule Check (DRC) в Altium Designer?

Подумайте об использовании функции импорта правил проектирования в Altium Designer, когда Вам нужно обеспечить единые стандарты для всех проектов, легко согласовать их с конкретными производственными требованиями или оптимизировать процесс проектирования, особенно в начале нового проекта или при работе в команде. Это поможет сократить количество ошибок и сделать совместную работу более плавной.

Шаг 1: Откройте редактор правил дизайна

  1. Откройте Ваш проект печатной платы: Запустите Altium Designer и загрузите Ваш проект печатной платы.
  2. Доступ к редактору правил дизайна: Перейти к Дизайн > Правила В верхнем меню откройте Редактор правил и ограничений печатной платы.
Шаг 1 Перейдите в редактор правил дизайна

Шаг 2: Импорт или экспорт правил

  1. Щелкните правой кнопкой мыши на папке "Правила дизайна".: В редакторе правил и ограничений печатной платы щелкните правой кнопкой мыши на Правила дизайна Папка в верхней части левой панели.

  2. Выберите Импорт или Экспорт:

    • Правила импорта: Выберите Правила импорта чтобы ввести правила дизайна из внешнего файла.
    • Правила экспорта: Выберите Правила экспорта чтобы сохранить текущие правила проектирования во внешнем файле.
  3. Выберите правила: В Выберите тип правила проектирования На появившейся панели выберите конкретные правила, которые Вы хотите импортировать или экспортировать. Вы также можете нажать Ctrl + A выберите все правила.

  4. Завершите действие:

    • Для импорта: После выбора Правила импорта, выберите .rul файл из Вашей системы и нажмите кнопку OK.
    • Для экспорта: После выбора Правила экспорта, укажите место и имя файла для сохранения .rul файл и нажмите кнопку OK.
Правила импорта или экспорта DRC
Выберите тип правила проектирования

Заключение

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 здесь, чтобы помочь. Мы предлагаем экспертное руководство и услуги, чтобы обеспечить соответствие Ваших проектов самым высоким стандартам, оптимизируя путь от концепции до производства. Позвольте нам помочь Вам воплотить Ваши проекты в жизнь с уверенностью и эффективностью.

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.

Сотрудничайте с FS Technology и получите профессиональное обслуживание печатных плат.

Похожие блоги