The DRC is Your Friend

By The MacroFab Team  |  December 18, 2015

Updated October 2024

Have you ever reached the end of a PCB assembly layout only to realize you forgot to set up and run the Design Rule Check (DRC) on your board? If this situation has happened to you then you have likely been greeted with a board that looks like this:

DRC issues everywhere! This is the point where you ask yourself, “why did I not set up and run the DRC earlier?”

Mastering PCB Layout: The Importance of Design Rule Checks (DRC)

When laying out a PCB assembly, each item (components, holes, traces, vias) will have to adhere to a set of design requirements to prevent issues with circuit performance and ensure manufacturability. Even simple layouts with a low part count can have a significant number of these requirements.

Managing all the trace width, clearance, power, and drill rules in your head can quickly become a daunting task as the complexity of your designs increases. This is where the DRC steps in to actively handle and check all these rules as the PCB is routed. (Note: see ourPCB trace width calculator for additional help.)

The Role of DRC

The DRC acts as a moderator, constantly checking your design for issues as you lay out your PCB assembly. It will automatically review the decisions made by the designer and flag any issues. Identifying and fixing issues during the layout process instead of after the board is complete can save a lot of time (and headaches).

Configuring DRC: A Crucial First Step

For any new PCB design, configuring the DRC should be the first step before any traces are laid down. Fortunately, configuring the DRC is simple and only takes a few minutes to setup. The image below shows an example of the DRC window in Diptrace:

In this window, all design requirements are defined. MacroFab has a list of values to use for general PCB design at Assembly Capabilities. The design rule information on this link shows typical minimum values used for PCB design. These values will be sufficient for most layouts unless fine pitch parts (such as BGA chips) are used or the board has high voltage/power requirements.

Benefits of DRC

The benefits of configuring the DRC are actually two-fold. First, the rules prevent electrical design issues resulting in compromised performance and second, they prevent added cost to manufacture the boards.

The design rules on the MacroFab help pages represent the minimum requirements for our standard PCBs. Deviating from these values is allowed, but will result in higher PCB costs. In general, it is best to design a board with these values.

The Reward of a Well-Designed PCB Assembly

Consider the DRC as a useful tool instead of a nuisance and configuring it before laying out your PCB as a good habit to develop. Regardless of the complexity of the board, the DRC can prevent annoying (and potentially costly) issues from creeping into your design.

Read more ways to clean up your PCBA design layout now.

If the DRC is properly configured and all rules are followed, instead of a list of errors you will be greeted with the following image.

No pcb layout errors
Related Topics
Adding External Part Libraries, DRCs, and CAM files to Diptrace

This article will discuss the process of adding part libraries and DRC rule files to Diptrace.

Update to the USB Micro Connector for Eagle EDA Tool

Today we have an update to our MicroUSB-RIGHT connector in the Eagle MF-Connectors Library. We changed the footprint to reduce DRC errors!

About MacroFab

MacroFab offers comprehensive manufacturing solutions, from your smallest prototyping orders to your largest production needs. Our factory network locations are strategically located across North America, ensuring that we have the flexibility to provide capacity when and where you need it most.

Experience the future of EMS manufacturing with our state-of-the-art technology platform and cutting-edge digital supply chain solutions. At MacroFab, we ensure that your electronics are produced faster, more efficiently, and with fewer logistic problems than ever before.

Take advantage of AI-enabled sourcing opportunities and employ expert teams who are connected through a user-friendly technology platform. Discover how streamlined electronics manufacturing can benefit your business by contacting us today.