Archive for the ‘Made in China’ Category

(Well Executed) Counterfeit Chips

Wednesday, October 17th, 2007

Below are two chip specimen, purchased from an Asian source, that were recently called to my attention. I borrowed them to write this blog post.

The chips claim to be ST19CF68’s, a “CMOS MCU Based Safeguard Smartcard I/O with Modular Arithmetic Processor”. It seems these chips are normally sold in smart-card or diced wafer format, but curiously, these are SOIC-20 packaged devices.

The top chip in the pair has its epoxy top dissolved, and this is what it contains:

Kind of a small die for such a complex MCU, especially in smartcard technology, where process geometries generally trail the mainstream by about 3 or 4 generations…and why are there 20 bondable pads on what should be an 8-pad part?

Zooming in a bit on the die, we find some interesting details:

Well, this chip isn’t made by ST…it’s made by Fairchild Semiconductor (FSC). No bueno.

And in fact, the die within is a Fairchild 74LCX244 “Low Voltage Buffer/Line Driver with 5V Tolerant Inputs and Outputs”, a much cheaper piece of silicon than the reputed ST19CF68 that the package was marked to contain.

Perhaps the most interesting thing about these specimen is the quality of the package and the markings:

Normally, remarked chips are pretty cheesy: they are sanded, painted over, or ground down before being marked, typically with just a silkscreen; rarely do you see a laser used to do the remarking.

These chips show no evidence of any kind of remarking per se. These are original markings — someone acquired blanks of the 74LCX244 chip, and programmed a production laser engraver to put a high-quality fake marking on an otherwise virgin package. I, too, would have been fooled by this up until the chip was decapsulated and examined under a microscope.

This leaves a lot of questions unanswered. How was someone able to acquire unmarked Fairchild silicon? Was it an insider, or was Fairchild sloppy and throwing away unmarked rejects without grinding them up or clipping off leads so they can’t be dumpster-dived and resold? The laser marking machine used isn’t one of the cheap desktop engravers either — the marks are done with a high-power raster engraver, and the engraving artwork is spot-on.

Then again, I shouldn’t be so surprised…I’ve seen brazen remarking of DIMMs in Saige market (Kingston seems to be a popular target for fakes), and many of the counterfeiters openly display their arsenal of professional-quality thermal transfer label printers and hologram stickers at their disposal.

If fakes of this quality become more common, this could present a problem for the supply chain. Clearly, whoever did this, can fake just about any chip they want, and they are gradually finding their way into the US market. Resellers, especially distributors that specialize in buying excess manufacturer inventory, implicitly trust the markings on a chip. I don’t think chip makers will go so far as to put anti-counterfeiting measures on chip markings, but this is definitely something that makes me wary.

Made in China: Automation

Wednesday, September 12th, 2007

I always had this impression that almost everything was made by a machine. Of course, the tours of the textile factories corrected my impression of that very quickly, but still, high-tech stuff like electronics assembly tends to be heavily automated even in China. The only exceptions were, ironically, in the lowest cost sectors, such as toys. These shops are still dominated by lines of workers still stuffing and dip-soldering circuit boards by hand.

On the topic of toy factories, one interesting dichotomy to me is the bimodal distribution of products that use chip-on-board (CoB) technology. CoB assembly directly bonds a silicon die to a PCB. Finished CoB assemblies have the distinctive “glob of epoxy” look to them, as opposed to the finished plastic package look.

At the high end of things, dense electronics assemblies will employ CoB technologies. I’ve done a couple of CoB designs for some 10 Gb optical transceivers in my time, and they were not cheap. At the other end of things, almost all toys use CoB technology, to save the cost of the package! It’s a testament to the tenacity of the cost reduction in China that a toy factory would buy an automated wirebonder and stick it next to lines molding doll heads and sewing up stuffed animals because it saves that nickel.

For those who are not familiar with wirebonders, a typical bonder takes a wire as thin as a human hair and bonds it to a site on a silicon chip not much larger than the wire diameter, and it does this several times a second. It’s a very fast, precise piece of equipment, as you can see below. The bonding happens so quickly that the board seems to swivel smoothly around in the video, but in fact the board stops 16 times as it spins around, each time getting a wire bonded between the chip and the board.

Immediately before bonding, the chip is glued very carefully to the board by hand, and immediately after bonding, the chip is encapsulated by an operator dispensing epoxy very carefully by hand–so this is the only automated piece of equipment on the line. Gives me a new sense for what goes into those talking Barney dolls that sell for $10 in Target.

Back to the general topic of automation. I think it’s absolutely mesmerizing to see a chip shooter in action. The chumby PCB assembly factory in China has dozens of lines filled with tried and true Fuji chip shooters.

The chip shooters are capable of placing something on the order of 10,000-20,000 components per hour per machine. This means that each machine can put down about 3-6 components per second–the robotic assemblies move faster than the eye can see, and it all turns into an awe-inspiring blur. In the video below, you can see the chip shooter in action. It has a “gatling gun” style action. The gun itself is fixed, and the board dances around beneath the gun. The chip shooter actually “looks at” each chip and rotates it to the correct orientation before putting it down on the board. I wish bandwidth were a bit cheaper so I could encode this video at a rate where you can really see all the detail going on here.

Chip shooters do the fast and furious work of putting down the simpler components, such as capacitors, which are quite numerous in a typical design. For the more complex/expensive devices that demand a greater precision of placement, a pick and place machine is used. Instead of a gatling-gun style head, a pair of robotic arms with pneumatic plungers pick components out of their trays and very accurately places them on the PCB.

The particular factory shown here also produces name-brand PC motherboards, and they seem to have no problem pushing out well over 10,000 such complex assemblies each day.

The end of the line for this chumby core board assembly….

Made in China: Quality (or, The Challenge)

Wednesday, September 12th, 2007

With all the press about lead paint in toys, industrial chemicals in food, and items made in China, it’s clear that with the low cost of China-made goods comes a great challenge in quality management.

First, let me start this post with a few personal perspectives on recent events. I think an important perspective to keep in mind is “Hanlon’s Razor”, somewhat paraphrased here: Never attribute to malice that which can be adequately explained by ignorance. Actually, I just read the Wikipedia entry for it, and there’s a nice pithy version the Brits have: “Cock-up before conspiracy”. While it is true that some people are out there to make a buck at any cost, I think the majority of the mistakes are made out of ignorance. Most of the rank-and-file in factories don’t know what their product is ultimately used for, yet are under intense pressure to reduce costs, so bad decisions get made. I have also seen situations where products are either woefully underspecified, or customers overwhelm the factory with all kinds of frivolous requirements, most of which the customer doesn’t follow up on. In the end, the factories play this game of “ship and find out” — if the customer doesn’t notice a spec was missed, then the spec must not have been important. It’s not a great game to be playing, and it means that companies need to be ever vigilant about audits and keeping the quality standard up.

So one fundamental problem is that many of the Chinese do not understand or appreciate basic things that we take for granted in America, and vice versa. Many of the workers, while well educated in the fundamentals, did not grow up in a “gadget culture” like we have in the US, so you can’t assume anything about their subjective abilities to interpret specifications for a product. For example, you can tell a US engineer “I’d like a button on that panel”, and you’ll probably get something back pretty close to what you expected in terms of look and feel, since you and the engineer share a lot of common experiences and expectations for a button on a panel. However, if you did the same in China, you’ll probably get something that looks a little awkward, performs a little klunky, but is darn cheap and is really easy to build and test (which isn’t a bad thing, but Americans gadget connoisseurs just won’t buy something that looks awkward and has klunky performance).

Which brings me to my next point: ultimately it’s the consumers who want — nay, demand — low priced goods that drives the decision to go to China. And the trouble is that aside from the label on the product that says “Made in China” or “Made in the USA”, consumers really don’t care about the manufacturing process that went into it. What markup would you pay for a gadget that said made in the USA on it? The cost premium for labor is over 10x between the US and China — think about it. Can the average US factory worker be 10x more productive than the average Chinese factory worker? It’s a hard multiplier to play against. I’m not saying there is no value in domestic vendors: it would be a lot less effort and less risk for me to get stuff made in the US. In fact, most of the early prototypes are made in the US because of the enormous value that the domestic vendors can add. However, the pricing just doesn’t work out for a mass-market product. Nobody would buy it because its price wouldn’t justify its feature set. One could even accuse me of being lazy if I were to just stick with a domestic vendor and pawn the cost off onto the customers.

Back to the topic of the Challenge of Quality. In the end, there is no substitute for going out to China and getting directly involved in the quality process. I suspect that the toy manufacturers and food manufacturers don’t fly technicians out to factories in China to oversee things on a regular basis. Contrast that with what Apple does — they send out a cadre of engineers that work intense two-week shifts in the factories (well, Foxconn typically — affectionately nicknamed “Mordor” by some). I bumped into them frequently at the expat bars in Shenzhen. Western-style management and quality control based in China is one of the important services that PCH China Solutions offers us. If we have a problem with a vendor, PCH sends a guy to their factory right away to see what’s going on — no phone tag, no fedex filibuster. Factory owners in China tend to be very responsive when you show up at their doorstep.

Thus, Chumby’s approach to the quality conundrum is a holistic one. We started by having an engineer (me) out there almost on day one to survey the situation at the factory. It’s important to learn what the factory can and cannot do. You look at what’s being built on the line, and the techniques used. Then, when it comes time to engineer the product, you try to use the processes and techniques that are most comfortable for the factory. When you must do something new — and any good, innovative product will need to do this — you pick your battles and you focus on them, because anything new you try will be a multi-week challenge to get right. This applies to even the smallest detail; if the factory shrink-wraps goods in plastic, and you want to wrap it in paper, then plan on spending a lot of focus developing the paper-wrapping process, because it’s quite possible that none of the line workers there have even seen a paper-wrapped product before.

Of course, the preferred approach to developing a process is to be in the factory. There’s nothing like standing on the line and showing the workers who will be building the device how it should be done. Below is a video of me training the line on how to attach a piece of copper tape to the LCD assembly to form a proper EMI shield.

Typically, when you are able to demonstrate a process in this detail and intimacy, they will get it right within hours. This is part of the reason why I have spent so much time in China the past few months.

Above is a photo of Steve Tomlin (Chumby’s CEO) and Susan Kare (our Artistic Director) at the sewing factory working out the details of logo silkscreening. <shameless plug>Everyone gets involved in the quality process at Chumby!</shameless plug>

However, it’s not always possible for us to send someone out there — I for one like to be here in the US, and so does my girlfriend — so we rely a lot on PCH to watch the quality and make sure things go well. The Irish guy in the video below is Joe from PCH, and he’s reviewing the process for assembling the chumby bag with the line manager in one of our factories.

Often times, due to the challenges of working long distance, new processes will take weeks to phase in if you aren’t there to tweak and approve on the spot, because every single tweak involves almost a round-trip through fedex. Now that I’ve been through this a few times, as a rule of thumb I allocate two weeks per tweak, as opposed to the few hours it takes when you’re out there.

You can see how that adds up fast.

Given the difficulty of overseeing operations oversees, a strategic capability to have in place is remote electronic monitoring of the products’ test results. I developed for chumby a set of testers that programs, personalizes, boots, verifies and measures every device. All of the data from the process is recorded to a log, and at the end of the day, the log is transferred to a server in the US. From this data you can debug a plethora of problems on the floor. I can tell if an operator at a particular tester is having trouble with their barcode scanner, for example; or, I can tell immediately if there is a yield problem that day, or if the throughput is slower than expected. It’s very powerful to have this home-grown audit capability in place, because the factory knows you are watching them. In fact, having such a capability in place can make relationships with the factory run better because the factory eats the cost of yield problems (at least initially) — so they appreciate it when the design engineer can offer expedient advice and help before any problems get out of hand.

A pair of chumby test stations in the factory in China. If you ever meet me in person, ask me about those laptops. There’s quite a story behind the trouble we went through getting them into China.

Finally, once everything is set up, things can run autonomously at the factory. At our PCB factory, the first pass of final inspection is done manually — a set of human eyes go over every circuit board, and then with the help of a cardboard template, another operator ensures that no components are missing. The units then go on to automated testing.

No, those aren’t children working on the line. If you think they are, go guess an Asian woman’s age. She’ll be flattered — or annoyed that she’s still being carded at the bar.

Periodically, both PCH and the factory perform RoHS (a hazardous chemical safety standard required in Europe, but ironically not in the US) spot testing on the units to ensure that there is no contamination with a specified set of potentially harmful chemicals, including lead. This is done routinely on all products, even those only shipping to the US, because the latent contamination on the line could prevent other products manufactured on the same line from shipping to Europe.

It’s also important for Chumby in the US to continue to sample units for QC purposes. To this end, we order devices regularly and characterize them, and then dissect them to ensure that all the operating procedures are being followed.

Despite all these safeguards, you have to expect some mistakes to be made. Every product goes through an initial phase where all the bugs that weren’t caught by internal QA get pounded out. You have to rely on a top-notch customer service and support team and you have to plan on being very agile and innovative during this time to solve these problems and prevent them from ever happening again. If your chumby has hardware problems, you might get a call from me — I want to know what went wrong, and fix it so the problem never happens again, to you or to anyone else! What I really hope never happens is what happened to Microsoft and the Xbox360 red ring of death. This is a problem that exhibited itself only after years of use in the field, after millions of units have been shipped. These are the things that a product engineer’s worst nightmares are made of. So you see, getting the chumby to the point where we’re shipping is just the beginning. The real challenge starts now.

Wish me luck!

Made in China: Precision

Tuesday, September 11th, 2007

A subject that I had to learn about in the course of engineering the chumby is injection molding. For an electronics guy with little mechanical background, this is not a small hill to climb. The concept seems simple: you make a cavity out of steel and you push molten plastic into it at high pressure, let it cool, and voila, a finished part comes out. Just like the Play-Doh molds from elementary school!

Oh if only things were that simple.

There’s all kind of nuances to the process. Plastic flows, but it’s not particularly runny. So it moves slowly, and it cools as it flows. The color of the plastic is impacted by this, and you can see flow lines and knit lines in an improperly designed mold. There’s also a whole assortment of issues with how the part is pulled from the tool, how the tool is made and finished, where the gates and runners are for getting the plastic in there…

Fortunately, we have experts in China who know all about this, and I get to learn mostly by watching.

If I were to summarize injection molding with a single adjective, it would be “precision”. The molds are precise to better than hair-thin tolerances, yet they are made out of hard steel. Achieving this level of precision out of such a durable material is no mean feat. It’s impressive to see a mold being cut out of raw steel.

The machine above is moving around a block of steel that weighs probably several hundred pounds in quite a hurry! Below is a photo of the whole machine, so you can get a sense of how big it is.

However, this is only the roughest step in mold making. After the rough shape is cut out, the mold is put into a machine called an “EDM”–Electron Discharge Machine–where a burst of electrons are used to knock microscopic chunks off the steel surface. If this sounds like a terrifically tedious process to you, it is. I’ve watched many EDMs do their job and it’s like watching paint dry (which is why I don’t have a video of it here). However, these things are wicked precise and they yield spectacular, repeatable results. All told, a mold transforms form a block of raw steel into a first-shot tool in about 4-6 weeks. I think, from a project management standpoint, the phenomenally long lead times of production-quality injection molded plastics was the biggest eye opener for me. I had to go to China and see the tooling shop do its work before I was convinced that there wasn’t some gross amount of schedule padding going on. What’s even more harrowing from the risk management standpoint is that there are no good simulation tools (to my knowledge) to predict how plastics will flow through the mold. So those visible blemishes like flow lines and knit lines? Well, you have to wait 4-6 weeks to see if you got it right. Ouch! Fortunately, the toolmakers we use in China anticipate this and they make the tools so as to err on the side of having excess steel, because it’s much easier to remove material to fix a problem, than it is to add material. Sort of like the old carpenter’s saying of measure twice, cut once, and if you have to cut wrong, cut long.

Here’s what a final mold looks like in the injection molding machine:

This is the mold that is used to create Chumby’s back bezel. It’s actually a very complex mold, because it involves a process called overmolding. If you happen to buy a chumby (I hope you do!), take a look at the back side and you’ll see what I mean. There is a rubbery TPE surrounding the hard ABS bezel. Many people assume this was glued on rubber band. In fact, the TPE is molded in-place on the back piece. This requires a two-shot mold. Watch in the video below what happens:

You can see that there are actually two molds, and one side of the mold spins around so that the alternating material systems can be molded at the right points in the process. Just as a bonus, I swiveled around at the end of the video to show you an unrelated product where a robotic arm is doing the mold extraction. The part is a very high-gloss part and a robot arm is used to prevent getting fingerprints or nicks on the work piece as it is still soft from the heat of the mold.

High-gloss steel molds are really impressive to see in real life, because the exposed mold surfaces are mirror-polished. I don’t have a video of this, but all of the steel surfaces that are exposed to the end users’ eyes are hand-polished by a crew of women. They spend days rubbing and picking at blocks of steel using specially cut bamboo rods, cotton swabs, and very fine grit polish. This step happens after the EDMs are done doing their thing, or anytime the mold has sat unused for a long time or has been opened for rework.

There is a lot of hard work that goes into those humble plastic parts!

Made in China: Craft

Tuesday, September 11th, 2007

I’d like to introduce you to a man who I know simply as “Master Chao”.

Master Chao is the person in the foreground; in the background is Joe Perrott, who you will see in many of the photos and videos I have from China. Joe is our excellent project engineer from PCH China Solutions. But I digress.

Why am I introducing you to Master Chao? Because I’m pretty sure you have used or seen something in your lifetime that was crafted by the Master. When I went to the sample room for this factory, I was shocked at how many items I saw on their shelf that I had myself purchased, used, or seen in a store in the US — top-tier consumer brands manufacture their stuff here — and to the best of my knowledge the factory has just one master pattern maker, and this is him. Indulge me with a moment of philosophy.

The advent of modern CAD tools have brought about a rather coarse attitude towards the arts and crafts. It used to be that the finest furniture was designed and built only with the intuition and skill of a master craftsman; now, we all go to Ikea and get our CAD-designed, supply chain managed, picture-book assembly furniture kits and despite all that it doesn’t look too shabby. As a result, the word “craft” has been relegated to describe some scrapbook or needlepoint kit you buy at Michaels and put together on a slow weekend. We’ve sort of forgotten that in an age before machines, “craft” was the only way that anything of any quality used to be built.

It turns out there are still things where Craft, and I use it with a capital “C” here, matters–it’s where CAD tools haven’t brought about the ability to simulate out our mistakes before we build them. The creation of a flat pattern for textile goods is a good example of a process that requires a Craftsman. A flat pattern is the set of 2-D shapes used to guide the cutting of fabrics. These 2-D shapes are cut, folded and sewn into a complex 3-D shape. Mapping the projection of an arbitrary 3-D shape onto a 2-D surface with minimal waste area between the pieces is hard enough; the fact that the material stretches and distorts, sometimes in an anisotropic fashion, and the fact that sewing requires ample tolerances for good yields makes it a difficult problem to automate. On the chumby, we add another level of complexity, because we sew a piece of leather onto a soft plastic frame. As you sew the leather on, the frame will distort slightly and stretch the leather out, creating a sewing bias dependent upon the direction and rate of sewing. This force is captured in the seams and contributes to the final shape of the device. I challenge someone to make a computer simulation tool that can accurately capture those forces and predict how a device will look at the end of the day.

Yet, somehow, Master Chao’s proficiency in the art of pattern making enables him to very quickly, and in very few iterations, create and tweak a pattern that compensates for all of this. It’s astounding how clever and how insightful the results can be. And really, the point of this particular post is to introduce you to a person whose old-world skills — absent computers, all done with cardboard, scissors and pencils — has likely played a role in the production of something that you have used or benefited from in the course of your life.

Not a single computer in this office, yet the products developed here wrap around a wide array of high-tech products.