4 ms·
A couple things that I wish people had pointed out before I got started with PCB's: 1) You will spend your life reading datasheets. 2) Datasheets lie. 3) You
by bsder 10y ago
A couple things that I wish people had pointed out before I got started with PCB's:
1) You will spend your life reading datasheets.
2) Datasheets lie.
3) You will spend way more time in component selection than schematic design or board layout.
4) You will spend way more time creating component footprints than in schematic design or board layout.
5) Lay out the board by hand. You will waste more time fighting an autorouter than if you just laid it out.
6) A 6 layer board is not that much more expensive than a 4 layer board and is VASTLY easier to lay out. 2 layer boards should be avoided unless you you are a masochist or every fraction of a penny really counts.
Some of the given advice is a bit off.
1) He doesn't put enough emphasis behind avoiding BGA. BGA should be avoided like the plague. Period. It will only cause excruciating pain.
2) Small QFN isn't that hard to deal with ... if you tweak the PCB footprints a touch (make sure you have .5 mm of bare copper outside the package outline and you can treat them like QFP).
3) 0603 is actually pretty small. Most people should stick with 1206/1210.
- asimuvPR 10y agoMind sharing more about BGA?
- bsder 10y agoYou mean, other than for me to threaten to stick a red hot poker in your eye if you use it? :) BGA isn't "impossible" for a hobbyist. But it's a huge amount of work for very little gain. All advice here also applies to what people refer to as CSP (chip scale package) as well. 1) BGA packages generally require better than normal PCB rules in order to actually "fan out" the signals to routing. BGA packages can put a lot of signals in a small area (that's why people like them), and you wind up needing very small pitch traces and vias to get everything out. You may even need an 8-layer board to pull it off 2) You can't really inspect BGA without X ray equipment. I don't know of any hobbyist X-ray machines yet (that actually might be a good project...) 3) BGA is prone to strange failures if you don't get ALL the balls down properly. You can get things like unpowered chip sectors because a Vdd ball is a little flaky (chip manufacturers don't always spend money reinforcing the on-chip power grid if they think you are using balls). 4) If you have a "small" (less than 40 pin) BGA, there is almost always a QFN option that is easier to work with and is almost the same size. 5) Thermal management of a BGA can be tricky. There is normally better heat flow out the top of a chip than down into a board, but BGA's normally want to push heat into the board. That having been said IF YOU MUST use a BGA: 1) Use a contract manufacturer Really. This is the best advice. I got some very tiny CSP chip boards done for like $50 per board for 20 boards. Even if your time is only worth $20/hour, the crossover point is 50 hours of work. You'll spend lots more than that if you're playing with BGA. 2) If you have a small number of balls, see if you can adjust the footprint such that you can hand solder things by having copper stick outside the package outline. I can't give you any general advice as this is specific to every chip. However, I have successfully routed things like power regulators which only have a small number of balls this way. I have also routed some bigger things like FPGA's this way (you can reorganize the output pins) where I simply didn't even try to use any pins not on the outermost edges. However, you are at the mercy of the manufacturer as to how many power balls you need hooked up properly. 3) Use a reflow oven. There are lots of reflow oven things on the market for <$500. If you get things placed right, a reflow oven gives you decent results. 4) Don't try to hand rework. Accept that you're going to throw the board out if there is a short. Yes, I'm sure lots of people have done things and been successful with BGA. However, if you do enough, you will find you are at the mercy of luck rather than consistency with BGA unless you let folks who have reflow and X-ray machines do the work.
- CamperBob2 10y agoGood points for the most part, but: 1) 1mm and 0.8 mm BGAs are very common, and most of them can be handled with 5/5 trace/space rules supported by pretty much every board house. Many experienced people are actually more nervous when dealing with QFNs than with BGAs, primarily because of large thermal pads. 0.5 mm BGAs are where life starts to suck. 2) You can get a pretty good view of BGA solder quality with a "brush light," basically a bundle of optical fibers that go between the chip and the board. E.g., http://www.gen3systems.com/downloads/products/optiliabgainspectionsystem.pdf http://www.gen3systems.com/downloads/products/optiliabgainsp... (300 KB .pdf). If you have problems they will usually be pretty obvious -- it won't be that common for a single ball connection to be bad. Re: reflow ovens, you may not really need one for prototyping. Hot air tools alone are fine for many applications (see below). A reflow oven would be nice to have but there are lots of more important tools to acquire first. Re: avoiding hand rework, this is actually terrible advice. Get a good stereo microscope (AmScope is a decent economical brand), a good iron (meaning Metcal-class), and whatever cheap Chinese hot air tools are being hawked on eBay this week. If you're in this business, you are in the rework business, whether you like it or not. Might as well get used to it. (Pro tip: after the items above, your next purchase should be a preheater.)
- lsllc 10y agoThe T962-A reflow oven once modded/re-flashed is an excellent addition to your workshop. I've run several hundred boards through mine and the finish is really professional using stencils (from oshstencils) and hand-placed components. I also use the oven in manual mode to warm the boards to 150C before any hand soldering of through hole components such as headers (so the ground plane doesn't suck the heat out of the soldering iron!). (Now if I could just figure out how to do home-brew wave-soldering of the .100 headers rather than by hand).
- mng2 10y agoI wouldn't say datasheets lie as much as Oh hey I didn't tell you that this sentence here on page 9 is super important and also this little note hidden in the table on page 13 and by the way this little schematic on page 11 of the {document that's not the main datasheet} is critical...
- tomkinstinch 10y agoThis is all great advice. Making component footprints is the worst. You'd think companies would release footprint files for each part along with the datasheet (formatted for different EDA suites), but they don't. Even if manufacturer footprints were available, it would not always be possible to use them, as in the case you point out with making larger custom footprints for QFN parts (a very helpful tip). For SMT parts, I find 1206 parts to be pretty huge and generally prefer to work with 0805s if I'm hand-stuffing prototypes, but then again I'm a cheap 2-layer masochist, so the extra space over 1206 parts makes a difference. Parts 0603 and smaller are fine for pick and place robots, but for humans they tend to blow away when you sneeze. :)
- bsder 10y agoI'm surprised. The 2-layer masochists I know tend to prefer 1206/1210 parts because they can use the part as a "jumper/extra layer" and sneak a routing trace (or two) in the middle between the two pads. 0805 is okay, but I seem to need a microscope for my eyes. Whereas I can just put 1210 components on a board without any magnification most of the time.
- tomkinstinch 10y agoPassing a trace through the middle is a nice trick, and definitely enabled by 1206s. I'll admit to using that one, particularly for amplifier feedback circuits where one or two parts are 1206s to allow trace pass-through, and the rest being 0805s for density.
- Kliment 10y agoHeh, a 6 mil trace fits easily between the pads of 0603 components. I use that one occasionally.
- arcticbull 10y agoYeah I was about to say the same, you can route an 8 mil trace between an 0805 too IIRC. I'm a 2-layer masochist too, and I tend to use 0603s for most components and 0805s when I want to route under :)
- TaylorAlexander 10y agoAgree on most parts. I would say you can learn to love 0603 and even 0402 if you have the right equipment. You need a proper stereo zoom microscope and then everything is big, and smaller components can save a lot of space. But don't go there until you've done the bigger stuff and actually felt a need for more room. Definitely 1206 and 0805 are plenty fine for people who aren't super in to it. Another hard lesson I have learned is that PCB assemblers lie. Even supposedly reputable community friendly ones. If they can save money by swapping out a component for unknown alternatives, there's some nonzero chance that will happen.
- bsder 10y ago> If they can save money by swapping out a component for unknown alternatives, there's some nonzero chance that will happen. Yeah, I don't tend to go full turnkey unless I'm doing everything in China. At which point, I fully expect that they're going to use the cheapest, crappiest components they can find, and I'm going to just have to deal with it. Normally, I buy the components and then ship them if I'm using a US assembly house.
- toomanybeersies 10y agoI was a solder monkey for a summer a few years back, and all I had was a magnifying glass lamp [1], I was soldering resistors down to 0603. Last semester at university I did a hardware design course (sort of by accident), at the lab, they had a stereoscopic microscope similar to [2]. I never realised what I was missing out on until I used one, apparently they're up to 10 grand a pop, so I can see why my old work didn't have one, being a pretty small shop. [1] http://uk.farnell.com/lightcraft/lc8093led-euk/led-table-magnifier-1-75x-4x-mag/dp/2442796 http://uk.farnell.com/lightcraft/lc8093led-euk/led-table-mag... [2] http://www.visioneng.com/products/stereo-microscopes/lynx-dynascope-inspection-microscope http://www.visioneng.com/products/stereo-microscopes/lynx-dy...
- TaylorAlexander 10y agoI've seen that style but never used them. I will say that a $200 AmScope is well worth the investment. Not as nice as a high quality microscope, but vastly superior to a magnifier.
- toomanybeersies 10y ago> 0603 is actually pretty small I disagree, if you have a half decent soldering iron, and some form of magnification (I used to use one of those desk lamps with a magnifying glass), then 0603 is not difficult to solder at all.
- nickff 10y agoI'd like to add a couple of extras: 7) Errata documents can be very important, at least give them a quick glance before deciding on a part. 8) If you are producing any significant quantity of a board, do not use the Digi-Key or Mouser parametric search. Find manufacturers through these and other sources, then look for parts on the manufacturer website. 9) Do not use NRND (not recommended for new designs) parts if you can avoid them. These parts will cause you pain. 10) Read the datasheets for odd packages carefully. The "flags" (pads) underneath TSSOP chips can be connected to VCC, VDD, or GND. 11) There are packages even more painful than BGA (such as LGA).
- elijahparker 10y ago1) I really don't mind BGA as long as the pitch isn't too fine and you're using a stencil. A stencil made the biggest difference for me! I had always tried to save money in the past and just apply paste with a syringe but it's not worth it at all if you have tiny parts. Once the paste is in place, you can drop tiny parts on quite easily. Here's what I use for working with tiny parts, including BGA and 0402: - stencils - they're cheap from oshstencils.com - high quality fine-point tweezers - 10x loupe - it's cheap and works very well for inspection - hot air station - this is a great way to solder everything down without touching - hot plate - I use this for preheating 6-layer boards to about 200c since they're hard to solder if you have pours That's it! It's really only a $200-$300 investment for the basic stuff needed to do prototypes in-house. Here's a time-lapse of me assembling something with BGA and 0402: https://vimeo.com/168423683 https://vimeo.com/168423683
- lsllc 10y ago+1 for oshstencils; I recently tried their new stainless steel stencils -- very nice! Stiffer than the kapton ones (less oozing underneath) and much more durable.
- an_d_rew 10y agoMy God, thank you for posting this comment! When I was getting started in simple PCB design and layout, these were the exact issues I found, and I thought I was just horribly unskilled and losing my mind! Well the former is true, but after reading this I realize the latter was thankfully slightly less true!
- akiselev 10y agoThis is all great info and advice. I just wanted to add some extra info from the perspective of an EE that works for industry (well past the point where advice 1-3 are relevant) 1) this is generally true, except if you're working on something like power electronics (and not just taking a design straight from TI or something) or on a complex mixed mode board, you can spend far more time in simulation, prototyping, and characterization of parts than in datasheets because, as you said in point 2, they lie. I've been in situations where I spent 4 weeks on research and design, only to spend 8 weeks teasing out the differences between three vendors' high power transistors across a dozen batches to figure out how variations in manufacturing changed the efficiency of an inverter. 3) this changes drastically with more complex boards. If you're making an ARM mobo, for example, you can have hundreds of parts most of which are the same (capacitors, resistors, etc). Choosing the processor and peripheral chips takes a lot less time than schematic capture and PCB design, especially if you have experience using the parts. You WILL spend way more time dealing with drivers and firmware though. I need two hands to count the number of times I've had to rewrite vendor provided firmware like standard USB or ethernet implementations because silicon companies are, most ironically, incompetent at software. 4) The more you work in EE the more this changes. A dozen EEs and I share all of our Altium footprints and we spend less than a day on footprints for a month long project, most of which is spent checking the important footprints against the datasheets before sending off to fab. 5) the ONLY time I have seen an auto router do good work (having used Electra, Specctra, cadence, and altium) is on 20+ layer PCBs like Intel motherboards. In this case, there were about 15 EEs, 5 of whom worked almost exclusively on configuring the autorouter and simulating the results. If you're starting out in PCB design, at best you'll get a few traces properly routed (probably in the wrong order) and at worst, it'll be like Jackson Pollock vomiting a bunch of virtual copper. 6) Unless you're high volume, it's almost always better to just increase the number of layers. The sunk costs for finishing a working PCB design are huge but manufacturing can be very flexible and inexpensive if you're willing to wait.