DFM – From Gerber files to PCB production data
DFM (design for manufacturability) refers to design practices that ensure ease of manufacturing for printed circuit boards (PCBs). It involves optimizing PCB layouts and component selection to enable efficient and high-yield PCB fabrication and assembly.
Some key DFM guidelines include:
Adhering to DFM rules helps avoid errors, delays and quality issues during PCB manufacturing, thus reducing overall costs.
In this article, we’ll focus on the DFM aspects in transforming from PCB CAD data (Gerber and drill files) to fabrication data used in PCB production.
Gerber Files
Gerber files are the industry standard output files generated from PCB CAD/EDA tools. They provide 2D vector image data defining copper layers, solder masks, silkscreen and other board details in separate files.
Some key things to know:
Common Gerber Layers
Typical Gerber files generated are:
Additional files may be generated for other layers like plated edge margins or impedance layers. The image below shows a PCB rendered from a full set of Gerber files:
As we can see, Gerber files provide instructions for PCB imaging but don’t contain specific fabrication parameters for production. Those parameters need to be added to transform the data into fabrication files.
From Gerber to Fabrication Data
To generate fabrication data from Gerbers, PCB manufacturers use specialized CAM (computer-aided manufacturing) software. These perform pre-processing on the source Gerber data to make it suitable for target manufacturing processes.
Key steps done by CAM system:
The image below provides an overview:
By packaging the right fabrication parameters with the base PCB imaging data, reliable manufacturing instructions are prepared. Let's look at two sample output data types:
Drill Data
For drilling PCB holes, Gerber drill files specify hole sizes and locations. This data gets further processed to generate machine-specific NC (numerical control) drill files.
Key drill file enhancements by CAM system:
This preprocessed drill data gets transferred to the drilling machine for physically creating the holes.
Imaging Data
Copper and solder mask layers defined in Gerber files undergo additional processing to generate film masks or direct imaging data for PCBpattern creation.
Preprocessing steps include:
The enhanced imaging data contains precise etch-compansation values and is optimized for the target exposure or printing equipment.
By passing such “production-ready” data to fabrication processes, PCB manufacturing yields are maximized.
Key Data Formats
Here are some key standard formats used in transforming Gerber data to fabrication data:
ODB++
ODB++ is an open exchange format that represents PCB data for all fabrication steps - imaging, drilling, testing etc.
Key features:
ODB++ integrates the complete PCB manufacturing dataset avoiding conversions or data losses. However, further post-processing may still be needed to tune parameters for each production machine type.
IPC-2581
IPC-2581 rev B is a vendor-neutral build specification format that defines PCB fabrication and assembly requirements.
It allows transferring detailed PCB product manufacturing information alongside the base CAD data. This facilitates data hand-offs between departments and supply chain partners.
领英推荐
HPGL
HPGL (Hewlett-Packard Graphics Language) is a raster imaging format commonly used in photo-plotters and laser imaging equipment.
Gerber files get rasterized and sliced into HPGL machine instructions specifying vector lines, arcs and scan directions to guide PCB exposure.
DFM Checks in CAM Process
To ensure manufacturing-readiness, CAM systems perform various design rule and DFM checks on incoming PCB data including:
Geometric checks: spacing verification for traces, pads, vias and holes considering fabrication tolerances
Routability checks: Verify track routing is possible between component pins
Test point checks: Ensure adequate testpoints for accessing nets
Layer alignment analysis: Calculate layer offsets impact
Hit counts analysis: Assess drill counts for optimal tooling
Panel utilization checks: Simulate board layouts on fabrication panel to maximize area utilization
By flagging any design violations or weaknesses, designers can rectify issues well before reaching production floor. This prevents costly re-spins later.
Conclusion
Preparing production-ready data from PCB Gerber files involves considerable CAM processing - from layer-based analysis and corrections to data optimization and device-specific conversions.
Using smart DFM checks in this preprocessing stage ensures fabrication reliability, quality and yield for the PCB product. Matching PCB designs to manufacturing capabilities early in the cycle results in faster times to market at lower overall costs and reduced waste.
Frequently Asked Questions
Here are some common questions on Gerber PCB data and DFM fabrication processes:
What are some key advantages of ODB++ format over Gerbers?
ODB++ offers multiple advantages compared to traditional Gerber format:
This unified data exchange reduces back and forth, improves quality and shortens production cycles.
How are imperfections like copper etching and hole offsets accounted for in fabrication data?
CAM systems employ various correction and compensation methods to accommodate common fabrication imperfections in actual PCB production. These include:
Over-etch compensation: Copper image features are slightly enlarged to offset chemical etching losses
Under-drill compensation: Hole diameters are reduced in drill files to address drill wander
Layer-alignment offsets: Imaging layers are intentionally shifted to ensure alignment
By tuning these parameters specific to target equipment and processes, precision fabrication data is generated from source designs.
How do fabrication shops handle data from different PCB tools and formats?
With incoming designs from diverse sources, CAM software helps by normalizing the data - scanning formats, interpreting attributes consistently and converting to production-suitable intermediate files.
Popular exchange formats like ODB++, IPC-2581 and GenCAM greatly simplify data standardization and integration of mixed input sources including from latest PCB tools. This flexibility allows fabricators to easily support a range of customer file types.
How can fabrication shops help designers with DFM practices?
To guide customers on DFM, fabrication shops can provide useful resources like:
Design rule guides: Provide specs on their fabrication capabilities - line width, hole size etc
DFM checklists: List critical checks for manufacturability
CAM feedback: Run sample DFM checks on incoming Gerber data as a free value-added service
Online DFM tools: Help assess manufacturability earlier during layout stages
These resources enforce good DFM awareness and ensure customers design work products keeping manufacturing processes in mind.
What are some ways PCB CAM systems help enhance manufacturability?
Modern CAM platforms provide various features to maximize manufacturing yields beyond just data conversions:
Leveraging such smart CAM capabilities ensures a smooth path from prototypes to volume PCB production.