Design for Manufacture and Gerber Checks

ReviewedAdvanced ProAbout 6 min
In short

Design for Manufacture and Gerber Checks: the short answer

Design for manufacture (DFM) means designing within what the factory can reliably make, with margin. 3 mm between copper and the board edge.

Level
Advanced
Time
About 6 min
Topic
PCB and making
You will learn to

Prepare a board that a fab can make and an assembler can build: rules, panels, fiducials, files and the final checks.

Before this: Your First PCB in KiCad, PCB Layout Rules That Work

Design for manufacture (DFM) means designing within what the factory can reliably make, with margin. Typical low-cost two-layer rules are a minimum track and gap of about 0.127 to 0.15 mm (5 to 6 mil), a minimum finished drill of 0.3 mm, an annular ring of at least 0.13 mm and about 0.3 mm between copper and the board edge. Using larger values where space allows improves yield and cost. Avoid acid traps (sharp acute angles between tracks), keep silkscreen off pads, and give solder mask a clear opening around each pad.

Assembly adds its own rules. Put all SMD parts on one side if possible, since a second side doubles the assembly steps. Keep at least about 0.5 mm between parts for the pick-and-place nozzle and for inspection, orient polarised parts the same way, and add three fiducial marks (bare copper circles about 1 mm wide with a 2 mm mask opening) so the machines can align. Mark pin 1 and polarity clearly on the silkscreen. For small boards, use a panel with rails and V-scores or mouse bites so the factory can handle it.

The file set must be complete and consistent: Gerbers for top and bottom copper, mask, paste, silkscreen and Edge.Cuts, an Excellon drill file (plated and non-plated holes), and for assembly, a bill of materials with manufacturer part numbers and a position (centroid) file. Before ordering, view every file in a Gerber viewer: check the outline is closed, holes line up with pads, nothing is missing on the paste layer, and the board size matches your design. Order one or two samples first; ElectroLark's in-house PCB service checks Gerbers on upload, and bulk quantities are quoted after the samples work.

Design to the maker's rules

Every manufacturer publishes minimum track width, spacing, drill size, annular ring and board-edge clearance. Use these figures as your design rules from the start, instead of discovering after upload that a track is too thin. Keep copper away from the board edge, and allow for the tolerances of drilling and etching.

Add fiducials for assembly, and mark the polarity of diodes, capacitors and connectors on the silkscreen. Keep silkscreen text off pads and make it large enough to read.

What the Gerber files contain

Gerbers are one file per layer: copper layers, solder mask, silkscreen and board outline, plus drill files. Open them in a viewer before you order and check that the outline is closed, the drill holes line up with pads, and the layers are the right way around. The solder-mask openings and the paste layer matter for assembly.

A bill of materials and a pick-and-place file are needed if the maker assembles the board. Check that every part number is in stock and that the footprint and orientation match.

Order a check, not a gamble

Run the design rules check and fix every error, not just the ones you understand. Use the maker's online review if offered. For a first batch, order a few boards and test one before you commit to a larger run.

Common mistakes
  • Designing without the manufacturer's minimum track and spacing rules.
  • Not viewing the Gerber files before ordering.
  • Ordering assembly with a part that is out of stock or in the wrong orientation.
Advanced lesson · Pro plan

Practise this lesson with Pro

The explanation above is free for everyone. The practice for Advanced lessons in every domain are part of the Pro plan at ₹999 a month.

With Pro you also get: a worked example, a hands-on task, a 3-question check.

Common questions

What will I learn in "Design for Manufacture and Gerber Checks"?

Prepare a board that a fab can make and an assembler can build: rules, panels, fiducials, files and the final checks.