About Duane

Duane is the Web Marketing Manager for Screaming Circuits, an EMS company based in Canby, Oregon. He blogs regularly on matters ranging from circuit board design and assembly to general industry observations.

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/

0.4 mm Pitch BGAs — Staggered?

I wrote not long ago and not far, far away about the type of pad recommended for 0.4mm pitch BGAs, as in non-soldermask defined vs. soldermask defined (NSMD vs SMD). The wisdom being that with the pads being so close on a 0.4 mm pitch land, the BGA balls may be too close together and may bridge if the pads are NSMD.

I got a comment from an engineer stating that not all 0.4mm pitch BGAs are  created equal, that some have staggered lands which would still require NSMD pads. I searched and couldn’t find a picture of such a part or corresponding land — too many millions to go through — so I simulated what that might look like in this image.Staggerd .4mm NSMD pads

IPC calls this an “Interspersed array” (IPC-7095B, March 2008, Figure 6-13) or a “Staggered Matrix” (IPC-7351A, February 2007, Figure 14-8). The thought being that, when staggered like this, the center to center distance between the pads is 0.57mm even though the column center to center distance is 0.4mm and that would put it back in the realm of getting better results with NSMD pads because 0.5’s and above generally want NSMD pads.

Hmmm. Makes sense. Thanks Mr. Pythagoras for the extra 0.1656854mm of space.

Duane Benson
Use the reflow, Luke. Use the reflow

http://blog.screamingcircuits.com/

And What Is Wrong Is …

What is wrong is

Quick: If you haven’t had your chance to answer the question, go back and read it first.

Done? Okay.

#1. This is an OSP (organic surface preservative) finished PCB. That in itself isn’t a problem. However, take notice of the two different colors of pads. The darker pads are oxidized or otherwise contaminated — not a well-preserved surface. And that means that this board isn’t going to work.

#2. Oops. I already answered #2 in with my answer to #1. It’s got some oxidized/contaminated pads. Perhaps the PCBs weren’t stored properly, were kept too long or the OSP finish wasn’t well applied at the fab house.

#3. Planet 10.

#4. Real Soon.

And, no it can’t be used as is. The solder most likely just wont take on those bad pads.

A couple of other notes: The mask registration isn’t bad. Not perfect, but not bad. Big pitch BGAs like this do tend to work best with NSMD (non solder mask defined) pads like this. That permits the BGA ball to sag a bit and grasp the side edges of the copper pad for improved adhesion. (Note that for extra fine pitch BGAs, like 0.4 mm pitch, you need soldermask defined pads) And, note that there is a good web of soldermask between the pad and the via. This will keep the solder from being sucked down the via.

Duane Benson
I’ve been ionized, but I’m okay now

http://blog.screamingcircuits.com/