SMD vs. NSMD

In general, we and just about everyone else on the planet recommend NSMD (non solder mask defined) pads for your BGA land. Using copper to define the land gives more precision than using solder mask and, more importantly, gives a more reliable solder joint.

BGA on HASL close with vias between pads There are a few cases where SMD (solder mask defined) pads might be more appropriate. The Beagleboard folks, with their 0.4mm pitch Ti OMAP processor found that at that small a pitch, NSMD pads increased the chances of bridging.

Interestingly, IPC writes that the main advantage of SMD pads is to prevent pad lifting. They further note that since the corner balls are most likely to have lift issues, due to the greater concentration of stresses. If you have concerns about corner pad lifting, you might want to use SMD pads just in the corner for a little extra holding power. (ref IPC-7095B, 6.2.2)

Duane Benson
Danger! 50,000 Ohms

http://blog.screamingcircuits.com/

Modularity and Standards

Eons ago, (well, it seems like eons) when IBM designed its original PC, it took note of the success of the Apple II with it’s modular expansion system — easily accessible card slots with loads of clear documentation — and added its own variety of modular expansion system. By doing so, the cost of accessories to consumers stayed low, the cost of installing or replacing said accessories stayed low and a whole new industry emerged to create compatible accessories.

I just read a Twitter Tweet (“Tweet” sounds too cutesy to me, so I’m never quite sure what to call those; maybe a “Twoot”?) from Mike Buetow that linked to an article about the latest Toyota recall. It seems that there are a couple of specific solder joints prone to cracking in the ECM (Engine Control Module) of certain models.

The last time I had any real data on the cost to replace an ECM, it was on the order of $1,500. Just scanning around the Internet, I found numbers ranging from $1,000 to $2,000. I’m guessing (I am speaking from near complete ignorance) that maybe two or three hours of that are labor at $90/ hour. That’s a lot of cost in the electronics as well as labor hours that can’t be used for billable hours. With so much of new cars being electronic, this issue is only going to become more extreme.

So, why can’t the auto industry take a cue from the PC industry? Create a standard, easily accessible, electrical bus with standard, easy to manipulate mechanical attributes. Even if they were just standard within each manufacturer, it would still be a big improvement.

Consider this scenario: Buy a Toyota mid-size-car ECM at the local auto parts store. Take it home, plug it into a USB port on your home computer. It auto-runs a link to a specific web site. Enter your car’s VIN number and the site loads firmware that matches the ECM to your car. Take the ECM outside, open your hood, flip a few latches on the water-tight electronics box, pull the old one out and plug the new one in. There you go. Done.

Instead of what is pretty much a massively expensive dealer-only operation, you have half a dozen standard bus ECMs to choose from and about 15 minutes of work that’s not much more difficult than installing a new printer on your PC. And, you’d have less expensive aftermarket options as well. And, a new industry would emerge to design and build those aftermarket options.

Duane Benson
Sadly, not in my lifetime, Batman…

http://blog.screamingcircuits.com/

The Top 10 Generic Things

I’m in a bit of a ranting mood. That just happens sometimes. Usually it’s on a specific subject, but today, I seem to have mini-rants about a whole bunch of  things. Well, maybe 10 things. So here they are, 10 generic things that bug me:

#4:    Not listening to customers enough. It’s nice when a company has a good idea and wants to build it, but if they don’t get outside of their own heads for a bit, we consumers end up with UIs that don’t make any sense, features that we’ll never use or products never tested under real-world conditions (see #4).

#4:    Test cycles that are too short. “Beta test the world” or “Ship it and fix it later” may get something to market sooner, but at what cost. So many companies seem to think that since “they” do that on the web, everyone should go ahead and operate that way. But what happens when the not fully tested design has a hardware problem? Where’s your field upgrade then? Or what happens when the product is mission critical? Oops, too late …

#4:    Listening too much to customers. What??? Yes. That’s what I said. Most customers want way more than they need for way less than you can afford to build. You need to listen to customers a lot and very carefully, but you need to translate for them. You can’t just take raw comments and try to directly put them in as product features.#4:   “Half-gallon” containers that aren’t a half gallon any more. It really annoys me to buy a half gallon of ice cream knowing that it’s only 3/8th of a gallon.

#4:    Not considering the whole story. This is where the law of unintended consequences comes in. Okay, we want to reduce our consumption of fossil fuel so we subsidize corn ethanol. Fine, except by doing so, we tie a major food staple in developing nations to the volatile price of filling giant SUVs. People go hungry because of it.

#4:    Rushed design cycles. Yes, we, ourselves, contribute to this by reducing the turn-times for electronics assembly, but I’m not really talking about the assembly phase. More about the design, layout and kitting. (and test — see #4) We all need to chill a little and take some extra time to run a few more tests, double-check the component footprints and make sure we’ve done a thorough job of it.

#4:    More science and less hype. No one can really tell if global warming is man-caused or not. I’m sure the real data is floating around somewhere, but everyone talking about it has a personal agenda. There’s so much pseudo-science and political ranting thrown about that anything that an interested citizen might use to come to an informed conclusion is obscured by all of the exaggerated and faked material.

#4:   How about some electronics-targeted legislation that actually makes sense from a technical and social perspective. As with things like global warming in #4, there’s too much hype, too much cash-based lobbying and not enough actual understanding going into some of these laws that affect all of us in the electronics industry.

#4:    Allocation. It really annoys me. Related into this is the proliferation of specialized chips. There are a seriously larger number of varieties of every form of chip you might imagine. That’s great for design, You can pick the microcontroller that pretty meets your exact specifications, or just the right buck/boost controller. That’s cool, but I think it also makes forecasting and the allocation of foundry time simply crazy. That can only exacerbate the supply issues that cause parts to go into allocation mode.

#4:   Missed opportunities due to personal-agenda based hype. So many people want to replace fossil fuel so they bend reality and call the electric car the green replacement to gas cars. Then everyone is disappointed that they can’t drive 600 miles with just one or two five-minute fill-up stops. They focus on far too far into the future and make everyone dismiss as hype what is otherwise a perfectly viable technology. Market electrics as a second car. It’s not the main car for trips and the ultimate in convenience. It’s the run to get a gallon of milk car, the back and forth to community college car, the “I’m going to a friend’s house” car. Market electric cars like that and they are 100% viable right now.

I’m not sure which of these things bug me more or less than any other, so they all tie at No. 4.

Duane Benson
Have a nice day

http://blog.screamingcircuits.com/

What, What, What?

Quick. Pretend this is the footprint for a diode. Which way does the cathode face?

Okay, if you can’t figure out which side gets the cathode, how about the anode. Which side does it go on?

Hah! It’s a trick question. You can’t tell based on the limited amount of information available on this PCB footprint mock-up. Sadly, this image is all too frequently real. In theory, with a properly constructed centroid file (see yesterday’s post), we really shouldn’t need any marking on a PCB at all. And, if everything is properly done, and if no gremlins are swimming through the air, we won’t need any marking.

However, when you get the thing back in your shop and hand it off to a technician to measure current and signal quality and slew rate and all of that junk, or if something does go wrong and it needs some troubleshooting, those missing or ambiguous markings can make a big difference.

I’d go ahead and put a little diode symbol there or maybe an “A” for anode. You can use a “C” for cathode too but just make sure it’s clearly identified as a diode so it won’t be mistaken for a rogue capacitor.

Duane Benson
No. It’s not a contest. Just a question.

http://blog.screamingcircuits.com/

Updated Centroid Documentation

Passives orientation r2 A little housecleaning is usually a good thing. Here at Screaming Circuits, we try to be as flexible as possible and we’ll do a lot of different things — standard and non-standard. But we really should, when passing on documentation, give out the standard form of data. And that’s what housecleaning has done for us today.

I got a comment on an old blog post calling out an error relating to our centroid (AKA XY rotation / pick & place file), so I went back and cleaned up the blog post and linked to a PDF we have describing our centroid file requirements. It matches IPC-7351A now. And that kind of match is a good thing.

Duane Benson
Matchmaker, Matchmaker,
Plan me no plans
I’m in no rush
– actually, we’re always in a rush.

http://blog.screamingcircuits.com/

Mask Control

I wonder. Is solder mask difficult to control in most CAD packages? Or do we just not need to control it very often so we forget? Take this little footprint here. Oval pad

It looks like someone just used a little flood fill to create the thermal pad rather than creating a new custom footprint. That would have been fine except that the flood fill area has solder mask on it.

In Eagle, if you want to keep the mask off of an area that would other wise have mask, you draw a polygon in layer 29, tStop (or 30 bStop for the bottom) over the are you want to keep mask off of. Not difficult, but not necessarily obvious either. With Sunstone PCB123, you pretty much do the same thing with the SS Top or SS Bottom layers. I don’t know about any other packages, but I would guess it would be a similar approach.

Of course, just making the footprint with the library package editor would take care of it too, but sometimes it’s just more expedient to take a footprint that’s close and mod it up with a polygon or something similar.

Duane Benson
Is Oregon like a Polygon?
No, because it hasn’t “gone” anywhere

http://blog.screamingcircuits.com/

All Leadless

It wasn’t too terribly long ago that just about any design could be built all through-hole. Okay, maybe it was a little longer ago than that. Once the big CPU chips stopped showing up in PGA (pin grid array), through-hole PC motherboard possibilities went out. Then when Bluetooth and ZigBee came around, most if not all of those chips came out in BGA, LGA or QFN forms — no through-hole. Anyway, it’s not too difficult to do pretty much any design in all SMT now, but what about all leadless?

Okay, we don’t really consider passives to be leadless, but they kind of are. So, we have all of our passives in a leadless like form. Now all we have to worry about are the chips.

I’ll start with a Microchip PIC18F4550 in a QFN44 package. It’s got built-in USB, so I don’t have to worry about a separate USB chip. I’ll load up a bootloader and it will all be happy. Wireless will have to wait for version 2.0. This is going to control a two side-by-side wheel platform scooter type thing, so I’ll need a gyro and accelerometer. Digi-Key just sent out its “techzone” mini-catalog/magazine featuring just some of these type parts. I’ll take the Analog Devices ADXL345 three-axis accelerometer in LGA form-factor.

I need only worry about pitch and yaw, so a dual axis gyro should be fine. I’ll try out the ST Micro LPY550AL in a 5x5mm QFN package. For voltage regulation in the prototype, I’ll use a Linear Technology LTC3642 in a 3x3mm DFN package. It has a 3.3V output and can accept 5 to 45V in. That gives me the flexibility of powering off of a dedicated battery pack or off the scooter main battery.

All LGA or QFN/DFN. The only problem is soldering up the prototypes and next half-dozen or so units, for all of my friends, after that. I’m not going to stick those things in a toaster, and I certainly can’t hand-solder them like I could with the old through-hole or TSSOP and SOIC chips.

Oh wait. I work for a company that does that.

Duane Benson
Fight Uni!

http://blog.screamingcircuits.com/

Global Shifting

Friday morning, I walked my way to the office in a slight drizzle. It was overcast and cool in the morning, eventually warming to near August temperatures later in the day. We had a long, mild winter; a long, cool spring; and it looks like we’re having a very short, not terribly hot, summer. Yet, the statistics (probably) don’t lie. Global warming seems to be very real everywhere but here. The peat bogs around Moscow are burning, giant ice islands are breaking off of Greenland, and it’s like 900 degrees over on Venus. All that, yet still nice and mild here in Oregon.

I think the same kind of things may be happening in manufacturing. By some accounts, it’s all doom and gloom for North American manufacturing. We seem to be losing all of our manufacturing to other continents. But, maybe we aren’t losing all of our manufacturing. Maybe it’s just a shift. The high volume, low-value add stuff is likely gone, but to me, it appears that there’s a thriving manufacturing industry for low-volume high-tech items. And not just in the contract manufacturing area.

There seems to be a re-emergence of small companies that are performing their own assembly in house too. They outsource what makes sense to outsource and in-source what doesn’t. Adafruit and Sparkfun are two examples. The Arduino folks (in Italy) are building locally-to-them too. The Beagleboard from big-player Texas Instruments is built in North America. Screaming Circuits and other small-volume companies like us seem to be doing quite well these days.

Is it possible that the North American manufacturing industry isn’t dying, just changing? That’s what I think.

Duane Benson
“Comet due to explode the earth at 9:42 this evening. Details at 11:00”

http://blog.screamingcircuits.com/

Does Angle Matter?

It’s standard practice to avoid joining small PCB traces at 90 degrees, but instead to join them at an angle. But does it matter for thick traces?

Right angle traces

Above and below are some 0.020″ or 0.024″ traces. Is it really going to matter, with a pad-size trace, what angle the joining trace hits the other one?

Convention would have you do something like the alternative layout below. Either like “A” or like “B.” But, is it really necessary and worth the extra time required to do that?

Not right angle traces

Part of me really wonders and another part of me says, it shows attention to detail and implies that the entire design was produced with the same care. It’s that elegance in design thing.

The other question I have relates to “B,” in the bottom image. Does it matter which direction the 45 degree trace intersects? Does it matter based on the direction of current flow or does it matter at all?

Which of the three illustrated techniques do you prefer and use?

Duane Benson
Winslow Leach says hi.

http://blog.screamingcircuits.com/

Lots of Things Can Be Fixed

I recently posted a bit of a bad OSP board with the conclusion that it was only worthy of scrap. Over on the  CIRCUITS ASSEMBLY blog, Mike commented that if the board was expensive enough, he’d rework it and make it usable. He gave a pretty detailed description of the process he’d use, too. And he’s absolutely right. A picture of the full BGA land pattern is below. You can see just how many pads were messed up and how random the pattern seems to be.

OSP_bad_BGA_finish

While not everything can be fixed, a lot of things can. It all depends on the cost of remaking vs. reworking, the time to remake vs. the time to rework and what you need ultimately in reliability. In the prototype world, we do a lot of work to just make messy things work simply because of the time constraints.

Most of things would never be done in a production environment these days, but sometimes they are. Not that long ago, judicious use of mod wires was commonplace on shipping PCB assemblies.

Here’s an example of something yucky that we made work.

Center pad oops both

We’ve also cleaned tarnish off of silver boards and done a bunch of other things to recover from difficult challenges. As always, when we do do something like this, you’re really in test-pilot mode.

Duane Benson
Rolly polly fish heads
Eat them up, yum.

http://blog.screamingcircuits.com/