How to CNC Your PCB Prototype Board?

CNC Machining Process Overview

The typical workflow for CNC milling PCBs involves:

1. Design – Creating the PCB layout in CAD software and generating CAM/Gerber files

2. Fixturing – Preparing the PCB blank and securing it onto the CNC machine bed

3. Probing – Work-piece coordinate system alignment to position the endmill over the board

4. Milling – Machining conductive traces by rastering the endmill per the toolpath

5. Deburring – Removing rough edges and burrs from milled conductors

6. Cleaning – Washing away milling debris and dust from the board

7. Visual Inspection – Checking for any shorts, opens or gouges

This basic process transforms the raw PCB blank into a finished board ready for component assembly and testing.

CNC Machines for PCB Prototyping

Various types of CNC machines like desktop routers, small-format mills, and mini-CNC machines are now available for machining custom printed circuit boards.

When selecting a CNC machine, key factors to consider are:

  • Workspace envelope (max PCB size)
  • Spindle speed and power
  • Supported endmills (diameter, length)
  • Drill precision and chip load
  • Software integration and workflow
  • Cost
Machine Description
Desktop CNC Routers Compact and affordable machines for home workshops good for double-sided PCBs up to 200mm x 300mm size
Small Format Mills Industrial grade machines with high spindle speeds and precision suited for faster, more intricate PCB milling
Micro-CNC Machines Specialized systems for milling tiny circuits like sensors down to 25mm x 25mm size with small endmills
Laser CNC Machines Uses a laser cutter instead of a router to ablate unwanted copper without physical contact

Desktop CNC routers provide an economical starting point for prototyping digital circuits at home or in makerspaces.

PCB Design Rules for CNC Milling

To effectively machine your custom PCB board, the layout must be designed while keeping CNC constraints and capabilities in mind.

Follow these key PCB design rules when targeting CNC fabrication:

1. Allow adequate tool clearances: Provide at least twice the cutter diameter as spacing around pads and traces for tool access. Account for tool shoulders too.

2. Include fiducials: Add alignment markers to use optical probing for coordinate system referencing before milling.

3. Set appropriate track sizes: Minimum trace width and gap should exceed bit diameter. A 10 mil end mill yields 8 mil lines.

4. Limit trace angles: Avoid acute angles zones as endmills cannot machine those properly. Use 45°/90° traces.

5. Define board outline: Clearly indicate board contours to machine the outline profile cut. Panelize designs for better fixturing.

6. Minimize vias: Countersunk holes need extra machining time so use judiciously. Bury only critical signals needing layer transitions.

7. Split ground planes: Machine inability to clear large copper areas will require intelligent splits.

By designing upfront for manufacturability, efficient, optimized CNC programs can be generated to machine the boards.

PCB Materials for CNC Milling

The blank PCB substrate selected influences suitable milling parameters and quality of machined traces.  Important considerations when choosing CNC milling PCB materials include:

Machinability: Softer, non-glass reinforced substrates like FR-4 machine faster with lower tool wear. Rogers RO4000 series bonds well but have higher abrasivity.

Dimensional Stability: Lower expansion coefficient substrates sustain precision geometries despite heating during milling better.

Bonding: Good copper foil adhesion prevents lifting or tearing during end mill passes while poor bonding raises chances of delamination.

Heat Tolerance: Glass transition temperatures above the heat generated during milling ensures material retain its strength. Ceramic-filled substrates withstand higher cutting temperatures.

Standard 1.6mm FR-4 blanks with 1oz copper foil offer a reasonable starting point for DIY CNC milling PCB prototypes.

PCB CNC Milling Tools

PCB Milling

Carbide endmills are commonly used to remove unwanted copper when CNC machining PCBs. Various types of tools for specific applications include:

Rigid Endmills – Single piece solid carbide spiral flute tools for general purpose 2D contour milling of traces.

Ball End Mills – Carbide cutters with a ball tip to perform 3D contour machining for sculpted circuits.

V-Bits – ‘V’ shaped carbide mills used make trenches for rectangular milled traces.

Drills  High speed carbide micro-drills create holes for conductive thru-hole vias.

Diamond Cutters – Polycrystalline diamond tools prolong tool life when milling abrasive substrates like ceramic PCBs.

Proper feeds, speeds, stepovers and axial/radial depths based on tool geometries must be set for robust milling performance.

Fixturing Considerations for PCB CNC Milling

Even small PCB blanks can resonate and vibrate extensively during aggressive material removal if not properly secured.

Here are some guidelines for reliably fixturing PCBs to withstand milling forces without movement:

  • Use a spoilboard/sacrificial layer between PCB and machine bed
  • Low profile clamps distribute holding forces closest to milling zone
  • Vacuum beds utilize negative pressure for forceful workholding
  • Adhesives temporarily bond board directly to spoilboard
  • Add stiffening ribs or perimeter supporting fixtures structures
  • Employ self-indicating pressure sensitive films to map grip distribution

Since PCBs expand on heating up during milling, use slip sheets or boundary constraints to permit thermal expansion.

PCB CAM Processing

To translate the PCB layout into toolpaths executable on a CNC machine, CAM (computer-aided manufacturing) software is necessary.

CAM software allows:

  • Importing Gerber, ODB++ and other standard PCB file formats
  • Specifying machine, tools and stock model
  • Setting pass depths, stepover parameters
  • Defining toolpaths (traces, outlines, holes etc.)
  • Simulating milling process visually
  • Calculating accurate cycle time estimates
  • Generating machine-ready G-code programs
  • Adding fiducials markers for probing

With optimal CAM strategies and post-processing, the milled quality of even high density PCBs with 6 mil lines/spaces can approach conventional PCB etched limits.

PCB Probing and Datuming

Workflow:

  1. PCB loaded and clamped to machine bed
  2. Camera centers board in view field
  3. Touch probe electrically contacts added fiducial points
  4. Software records exact coordinate values
  5. Completed board profile aligned to programmed paths

Fiducials as reference datums may be:

  • Round pads ⌀ 0.5 to 1 mm
  • Square pads 1 mm
  • Drilled holes 1 mm diameter
  • Slot or edge markers

Datuming compensates for variations in blank positioning and allows achieving reliable, repeatable milling quality.

PCB CNC Milling Feeds and Speeds

The cutting parameters specify the velocity (feed rate) at which the endmill machines the PCB traces as well as its spindle RPM. This impacts:

  • Material removal rate
  • Cutting forces and torque
  • Tool wear
  • Machined edge finish
  • Process cycle time

General guidelines for initial PCB milling parameters:

Spindle RPM – 15,000 to 20,000 RPM

Feed Rates – 50 to 150 mm/min

Higher number of flutes, adept use of climb versus conventional milling and optimizing chiploads boosts performance. Rigid fixturing is vital for chatter-free milling.

PCB CNC Milling Strategies

Various toolpath strategies exist to clear copper regions when isolating PCB conductors. Key methods include:

Trace Isolation Milling

Thin parallel passes with a certain overlap percentage traces out individual conductors by removing material between them. 50% overlap is commonly used balance cycle time and surface finish. Wider traces may allow faster 75% stepover overlap passes.

Slotting

plunge cutting trenches on both sides to define rectangular milled traces. Requires two pass milling but prevents copper burrs compared to outline milling.

Area Clearance Strategies

Fitting path rasters, direction parallel passes or adaptive clearing patterns remove large copper zones efficiently while preventing tool overload.

Drilling for Vias

Peck drilling, chip breaking and regular retracts during hole boring helps chip evacuation and prevent clogging to achieve clean vertical via holes.

Proper path sorting, entry/exit strategies and optimal tool orientation further boosts milling performance.

Post Processing Steps after PCB CNC Milling

After machining the board, some secondary processing steps help improve milled PCB quality:

Deburring – Removing rough copper edges around traces manually or through automated abrasive flow deburring equipment.

PCB Washing – Thorough cleaning with pressurized water jet sprays or PCB immersion tanks removes swarf, debris and dust.

Nickel Plating – Electroless nickel coating prevents copper traces from oxidation and improves solderability.

Electrical Testing – Validating continuity between intended conductors and absence of any shorts with a multimeter probe.

Visual Inspection – Microscope checks at 30X to 60X magnification confirm channel integrity with no copper smearing or gouges.

These post processing steps enhance machined PCB quality to build fully functional boards.

Lean Manufacturing Aspects

Adopting lean manufacturing principles maximizes CNC machine utilization, optimizes changeover times and improves productivity when milling PCB prototype boards in low volumes.

Some lean aspects that can boost efficiency are:

  • Standardized fixturing elements for quick loading
  • Color-coded setup components
  • Shadow boards to organize endmills by type
  • Custom macros for common parameter sets
  • Probe routines to expedite referencing
  • Storage racks near machines for ready access
  • Digital status indicators for free capacity
  • Preventive maintenance during machine downtime
  • Setup templates to minimize changeover time

With enhanced workflow management, CNC milling works well for fast fabrication of digitally designed PCB innovations.