Go Back

New Year's Resolution: Full Metric for PCB Layout

Monday, January 07, 2013
It's that time of the year where everyone gets to look back at the previous year, and think about the new one ... and as usual I find myself wondering what I could and should improve in 2014.

My big resolution for the upcoming year? Finally step into the 19th century!

I'm going to try to use the metric system exclusively for PCB layout this year, and see how many DRC problems I'll face with board houses, etc.  It's easier to make a move like this here in Europe -- most Chinese and European board houses specify their drill tolerances, annular rings, etc., in mm -- and footprints have been listed in mm for ages, but the obvious hold out is trace width.  Trace width is still almost always indicated in mil (6/6, 6/7, 8/8, etc.).

It's a bit ambiguous to route traces in mm since natural metric units are ever so slightly smaller than the mil equivalents (ex.: 6 mil -- a common trace width/space -- is 0.1524 mm, whereas the natural metric equivalent is 0.15mm).  I often use 7 mil traces and 6 mil spaces on tight pitch boards, and 7 mil is an even more awkward 0.1778mm.  Thankfully 0.175mm will pass, though, since you're probably paying for 6/6 tolerances.

I normally align traces and parts on a 5 mil scale in the past, but I'm going to start with the following and see how it goes:

Part Alignment:
Tight pitch parts/signals: 0.1mm grid
Discrete components: 0.5mm grid
ICs: 1.0mm grid

Traces:
Tight pitch/4 layer: 0.15mm (6mil) spaces and 0.175mm (7 mil) traces.
Low-cost/2 layer: 0.2mm (8 mil) or 0.25mm (10 mil).

I'll post an update on how this goes, but it feels like a long overdue decision on my part, and I honestly thing it's going to make the move from PCB to product easier (designing custom enclosures, finding appropriate cases, etc.).

Any thoughts on this yourself?  Feel free to post a comment up below!

Update: 14 Jan 2013


As I sit down to try to route my first complex board in purely metric, I'm already confronted with a number of problems in Eagle.  First, the default grid when you move from the schematic to a new board file is 0.1in and this seems to be hard-coded.  What this means is that by default none of your parts are aligned on a metric friendly grid or position.

Problem 1: Switching to a Metric Grid

To set the grid to something sane to start with you can click the 'Grid' icon in the top-right corner of the board editor, and set the values to (for example):

Size = 1.0mm
Alt = 0.5mm

Then click 'OK', right-click on the 'Grid' icon again and select 'New...', and then save these metric friendly settings as something like 'MetricGrid'.

Not whenever you right-click the grid icon you at least have quick access to the standard metric grid.

Problem 2: Snap existing components to the metric grid.

You can select the 'Move' command and then 'Ctrl+Click' any single component and it will snap it to the nearest grid intersection.  If you only have a few components this is pretty quick and painless.

Alternatively, type 'run cmd-snap-board.ulp' in the command bar and set the value to 1.0mm and click OK and this should align every component on your board to the specified grid.

Now to see how painful actually routing is!

Full story  | Comments (1)

PCB Manufacturing Process Photos

Wednesday, March 23, 2011

We usually use PCB Pool for protoypes here since they generally have good service and they toss in a free metal laser cut stencil with any prototype order, but one nice little bonus is that they will also (at your request) send you photos of your PCB as it goes through the manufacturing process.  If you're curious how PCBs are made, you might find these photos from a recent prototype interesting.

Drilling

PCB Manufacturing - Drilling

Exposing

PCB Manufacturing - Exposing

Stripped

PCB Manufacturing - Tin Strip

UV Curing

PCB Manufacturing - UV Curing

We didn't request a silk screen for this board since it's just an early prototype, but the silk screen would then be added as a final step.

Full story  | Comments (2)

LPC2148 PCBs Are Finally In

Friday, November 27, 2009

After a brief delay sorting everything out with the courier (who apparently hasn't yet advanced to a level of hand-eye co-ordination that allows him to knock on a door or press a button), we finally got our first batch of PCBs for the LPC2148 Reference Design along with a simple breadboard we whipped up to make prototyping a bit easier.  It's the first largish order we've placed with PCB Cart (we'd been using Gold Phoenix previously), and it was a trial run for us but their service was excellent, and the boards were not only well manufactured but they even cut them all out for us (which was unexpected).

They were very well packaged (in small air-sealed bags with dessicant and protective foam), and had a nice overall finish.  The only unfortunate surprise for us was that PCBCart seems to lay down the ink for the silkscreen a bit heavier than we were used to with Gold Phoenix.  We generally used a 12% ratio for larger text with Gold Phoenix, whereas you probably want to stick with Eagle's default 8% ratio for PCBCart.  We'll play around with this a bit on the next order and try to get some more empirical data.  On the whole, though, we're exceptionally pleased with the entire process from ordering (straight-forward) through to validation (quick with clear communication on their part), manufacturing and delivery (on time ... for their part).  Plus the prices are more than fair.  (It's worth noting that if you reorder an existing design that you've had manufactured with them you don't have to pay the tooling fees again, which on runs of 50-100 boards is often half of the cost.)

LPC2148 Reference Board Bare PCBHere you can see a photo of the bare LPC2148 PCB (click on the thumbnail for a larger image).  The silkscreen issues are only visible up close and on the smaller text (you can't really see it in this photo), but that's really not the fault of PCBCart either.  With any manufacturer (of just about any type of product) you need to learn what their own quirks and peculiarities are, and we were carrying over a problem we've had with Gold Phoenix to a new supplier.  Had we left the silk screen ratio at Eagle's default (8%) the text may have come out a bit better.  As we mentionned above, we'll try with the next order and report the results and some suggestions here.

These boards were all produce using PCBCart's "Standard" service (0.4mm minimum drill size, 8mil traces/spaces, though we cheated a bit on the annular rings and used 10mil instead of the stated minimum of 12mil/0.3mm ... no one seems to have noticed or complained, though).  We've also sent out some prototype boards with 4mil/0.1mm annular rings (which required extra tooling costs and slightly increased the per board cost, but allows far more freedom routing complex boards).  We'll post the results once we get the boards in.

Don't forget to take a look at the Eagle DRU file's we've produced for PCBCart if you're interested in using PCBCart yourself!  The two relevant blog posts can be found below:

Full story  | Comments (0)

More Eagle Design Rules Checks (DRUs) for PCBCart

Tuesday, November 24, 2009

Not long ago we posted a Design Rules Check (DRU) file for Eagle for PCBCart's Standard service (8mil/0.2mm minimum traces and spacing, 12mil/0.3mm annular rings, and 0.4mm/16mil minimum drill size).  We've been working on some larger boards with 200+ pin ICs since then, and routing them is a definate problem with so many large vias on the PCB.  To work around this, we've decided to reduce the size of the annular rings (the metal ring around the drilled hole on your vias), as well as reducing the minimum drill size.  We've put together two more DRU files for Eagle to check against these tighter limitations:

PCBCart: 0.3mm holes 0.1mm annular ring
Description Version
Download DRU file
  • Minimum traces/spacing: 8mil/0.2mm
  • Minimum annular rings: 4mil/0.1mm
  • Minimum drill size: 12mil/0.3mm
0.1
PCBCart: 0.2mm holes, 0.1mm annular rings
Description Version
Download DRU file
  • Minimum traces/spacing: 8mil/0.2mm
  • Minimum annular rings: 4mil/0.1mm
  • Minimum drill size: 8mil/0.2mm
0.1

Please keep in mind that you will need to manually set the drill size to 0.2mm or 0.3mm if you want a drill size that small!  Eagle doesn't seem to go below 0.5mm by itself.

Full story  | Comments (0)

  1. 1
  2. 2
  3. Next page