Showing posts with label Quality Assurance. Show all posts
Showing posts with label Quality Assurance. Show all posts

14 December 2009

If you buy a hard disk, and look carefully at the small print on the casing, you will find a number estimating the “Mean Time To Failure” (MTTF) or “Mean Time Between Failures” (MTBF) – to all practical intents and purposes, for the buyer, they are the same thing.

When I first bought a hard disk (to go in an Amstrad PC1512, since you ask; 40 Megabytes, of which the operating system could make use of only 32), MTBF figures were quite small on the scale of things. The mean time before I could expect to hear the heads crashing noisily into the platters and sending all my hard work to the great erasure in the sky was in the credibly near future. Worse still, it was only a mean figure, with no accompanying measure of dispersion; if that conveys nothing to you, don't worry about it ... in essence, the mean figure was useless, since actual failure could happen at any unquantifiable time either side of it1.

Now, as it happens, I have only once had a hard disk die on me before I replaced it on other grounds – usually because I need a bigger one. But the thought of everything vanishing at an arbitrary moment gave me a paranoid devotion to backup régimes, so it seems that MTTF has its uses.

Nowadays, MTTF figures are up in the million hours range ... which means, of course, since a million hours is a little over 114 years, that the disk expects to last longer than I do. It also means that somebody has extrapolated some sophisticated guesswork and we don't really know. And there is still no measure of dispersion, so it's not much use anyway. So, I fall back on empirical experience: I have had hard disks between 100 and 320 Gigabytes in use for some years, and they have never let me down even though some of them have been dropped onto hard surfaces while running. I still run those paranoid backup routines, though: I'm not taking any chances.

This has all come back to mind in a different context.

When Pentax brought out their first digital SLR, the IstD, I shifted my majority photographic practice to it from the LX and K2 film bodies which I had used until then. I have set of *istD bodies, and have stuck to them. New models came and went, ignored.

I would be quite happy to stick with the IstD's forever. Newer bodies have useful new features, and because of what I do I don't have to actually pay for them. But consistency, knowing that every body I pick up is exactly the same, that my hands can operate them unconsciously without distracted my eyes or brain from higher tasks, is more important to me than a new trick or a better bell and whistle.2

Alas, in a world which moves on, it's not always possible to freeze one's own part of it.

Two of my IstD's having bitten the dust3, I automatically looked to the second hand market for replacements. Because most buyers of digital SLRs take a different approach from me, upgrading to new models as they become available, a second hand IstD body now only costs about \100. But the number of available bodies is reducing, and will probably dry up in time. And then again, there is the new spectre of “expected shutter life”.

Expected shutter life is quoted in terms of a number of “actuations”: the number of times the button is pressed. As a crude approximation, this is the number of photographs which the use can expect to take before the shutter assembly fails. So far as I know, this was not given for the IstD; but for its newer models Pentax is quoting an expected shutter life of one hundred thousand actuations; other manufacturers are around the same.

This is very similar in many ways to the MTTF of a hard disk. In particular, it comes with no dispersion measure and so is meaningless as a planning assumption. It may be more realistic than MTTF, in so far as there is no practical barrier to Pentax firing off a test batch of production shutters one hundred thousand times over, let's say, a couple of weeks.

These newer models store within their picture files the number of shutter actuations to date. The IstD did not, so I don't have details for each of my existing bodies. On average, however, I can say with certainty that I passed the one hundred thousand mark for each body about three years ago and have more than doubled it by now. On the basis of normal usage patterns, it's a fair guess that each one of them has passed the dreaded 100K barrier and one or more may well have quadrupled it. So, am I on borrowed time?

The first Pentax body I owned (thanks to the generosity of my parents, who could ill afford it) was a Spotmatic bought in 1968. I still have it, and the shutter still works perfectly in all respects except that the top speed has slipped from the marked 1000th second to a 750th. That slip of the top setting started in 1995, so the camera was 27 years old at the time. I have no way to precisely say how many actuations that represents but, from knowledge of throughput and negative records it must have been somewhere approximately in the region of three hundred thousand. Later bodies have seen similar usage volumes and none of them, where they survive, show any shutter deterioration.

What I want to do is replace both of the lost IstD bodies ... but nagging intimations of mortality urge me to go for a complete newer replacement set. What I've finally settled for is one IstD replacement and one new: a K7 which bears the closest physical similarity to the IstD. I suspect that I have caved into insecurity driven by marketing hype.


  1. If you are interested: the measure of dispersion around the mean is “standard deviation” (SD). If, for example, the MTTF of a disk was given as 100000 hours with SD of 500 hours, it would mean that there was a roughly 70% confidence that failure would occur between 99500 hours and 100500 hours, or about 99% confidence that it would be between and 98500 and 101500 hours.
  2. I have only changed camera bodies three times since 1968. The first time was when Pentax switched lens mount from screw thread to bayonet; to get new lenses which I needed, I had to also get new bodies which would accommodate them – but chose the KX which was very similar to the Spotmatic. The second was addition of LXs; the KXs continued in use, as a set, for work where battery dependency was an issue, but the LX set took over many other types. Finally, the digital IstD replaced the LX while the KX continued (and continues) for film based work.
  3. Curious, the number of euphemisms we have for death and (by anthropomorphic extension) destruction or cessation of function. “Bit the dust”. “Kicked the bucket”. “Popped his clogs”. “Gone west”. “Gone for a Burton”. “Gone to the great [insert own jocular noun here – I used erasure above] in the sky”. “Passed on”. “Shuffled off this mortal coil”. Presumably it reflects superstitious fear of ... well, “The last great adventure”.

24 February 2008

The science of perfection

In a long ago school history lesson, I was told that one factor in the victory of industrial north over agrarian south in the American Civil War lay in the interchangeability of rifle bolts. The bolt of a southern rifle, we were told, was machined to precisely fit the weapon for which it was made; a northern bolt, by contrast, was a sloppier thing, mass produced and matched randomly to other parts made to the same standards. The result, apparently, was that a Confederate soldier with a damaged bolt held a completely inoperative firearm while his Union counterpart could simply replace the damaged part. I have no idea whether or not this account was true, but it did make a point: control of accuracy in manufacturing process is a strategic issue, with a gamut of consequences to be envisaged and planned against rather than assumed.

A decade or so later, as a maths’n’stats undergraduate working graveyard shifts in a valve factory, fruit cannery or beverage bottling plant to pay my way, I learnt the economics of quality control in a vividly personal form. Any fault which escaped my attention caused a deduction from my wages; so did any losses when I mistakenly pulled a satisfactory item from the line or, worse still, stopped the line itself. There was astonishingly little science in the control of production quality, however. Canned fruit was assessed by eye (through a foggy Pyrex window) before the lid went on. Even in an armaments factory, randomised sampling meant pulling a component from the output box when I happened to feel like it and subjecting it to a crude ‘go, no go’ gauge.

Fast forward to 2008, and huge strides have been made in some ways, but remarkably little in others. We now have industries controlling production quality to tolerances that would have been unthinkable at that time, and others at a level that would not have taxed the manufacturing capabilities of the late 18th century.

Nor is the division always between large, wellresourced organisations and small ones on a tight budget. [read more...]

04 January 2008

Birds, bees and growing things

[Bee on Rape image ©2007 by Judith Acland]

No area of work is more closely associated with data analysis than agriculture. Statistics as a concept grew out of the need to quantify agricultural production for taxation purposes. Modern statistics as a coherent, mathematically-based field was shaped by a need to quantify agricultural investigation. Most generic methods can be traced back to an agricultural point of origin. The great landmark adventure of recent years, the sequencing of the human genome, concludes an intellectual story line that started with a statistical view of inheritance in peas. Astronomy and mathematics owe most of their history to the need to better predict seasons and the flooding of farmlands.

And it is inevitably so. No other strategic concern of the human race is so much at the mercy of a statistical universe. Within the controlled environments of manufacturing, ever smaller numbers of components escape the ever-tightening loop of quality control. In the fields, we remain concerned with the percentage of crop that can be brought to usable yield.

Agriculture has, to be sure, done serious quality control loop tightening of its own; but fewer of the affecting factors are amenable to human control than is the case in manufacturing – and the degree of control is less complete by many orders of magnitude. If production quality for left-handed silicon widgets is temperature dependent then I can easily control the temperature of the manufacturing environment within a few degrees. If I am a wheat farmer, however, I am limited to modest and partial amelioration of what the climate throws at me. The individual ear of wheat cannot be protected; my aim has to be maximising the number of ears per hectare that survive to be harvested and eaten.

Some day, perhaps, all food will be synthetic: biomass grown in orbital tanks, on nutrient broth mined from the asteroids and Saturn’s rings, then knitted into palatable forms, all under quality control comparable to current silicon chip production. Perhaps. That day is a long way off, though. More modest industrialisations, such as greenhousing, polytunnel cloching and hydroponic production are with us already, but are generally focused on market value position or marginal capacity. In the foreseeable future, a rising population will for the most part depend upon nutrition grown in dirt, under sky, battered by weather. In improving the efficiency with which we discern and exploit the patterns within that environment, computerised methods are as important as in any other area of science.

In this battle to maximise yield, data analysis is applied across a range of scales, but they can be split crudely into tactical and strategic approaches. Strategic application seeks to refine global understanding of the factors that affect success; tactical use is aimed at specific application of that understanding to a particular area, location or context. Linking the two, embracing both, is a mesh of research and modelling cycles.

All of this makes for a huge subject, and trying to address agricultural data analysis in a few pages has more than a hint of hubris. All that anyone can hope to achieve is a representative lucky dip into diverse topics. [read more...]

07 December 2005

Quality software on a shoestring

When it comes to quality, small companies are often at a disadvantage. They want to get a better grip on their quality assurance issues, and they want software help in doing it, but they can't justify a thousand dollars here and two thousand there as an initial upfront investment. What to do?

If your business falls into this category, first take a long, hard look at exactly what your priority needs are. Those thousands of dollars spent on top-name products will certainly get you top quality, maximum power, first-rate support, luxurious interfaces and the latest and most subtle algorithms; but will it actually get you what you need to have and know how to use best? When you buy a vehicle for your business, you don't usually go for a Formula One racing car. For the same very good reasons, chances are you probably don't need software capable of running the economy of a small country.

Before rushing off to buy anything, ask yourself two pertinent questions, and answer them honestly:

• How much expertise do you have in the field you're trying to enhance with this software?

• How much time and effort are you prepared to invest to reduce your investment in dollars

Software is like any power tool: It dramatically increases your reach, but it doesn't necessarily give you the skill to use that reach wisely. If your new software is going to be a benefit to your business, you must either already have the knowledge to use it well or be prepared to acquire that knowledge. That needn't be as intimidating as it sounds; contributors regularly offer tutorials in the pages of Quality Digest, excellent books are available and your local community college offers courses that will give you a quick start on the road to productivity.

You'll need to decide what area of work you want to concentrate on first; better to pick off one priority at a time, and do it well, than to try doing everything at once. My own area of expertise is statistical analysis, and because it's the subject that most of my clients want to know more about, I'll start there. The area in which they need the most help as they learn new software methods is general organization of their quality assurance efforts, so I'll finish up with that. [Read more]

01 December 2004

Avoid wind and welds for successful manufacturing

I've been intermittently tied up with two different challenges over recent months. Both were concerned with industrial quality issues but, despite that superficial semblance of a link, they couldn't have been more different. One was in a large plant, part of a regional economic development plan with government start-up funding; the other concerned a small village co-operative. One could offer me live access to its own data stores. The other had no process records or quality assurance expertise of any kind, until I started to design some; no telecommunications either, and the staff would have to do most of the work themselves under my intermittent direction. Both were concerned with manufacture of containers: milled steel in one case; fired clay in the other. Losses in the first, though so eye-wateringly large that my contingency fee was a pinprick, were being covered by deficit funding in the interest of public relations; those in the other were tiny, but would quickly cripple the co-operative, if not stemmed.

The two cases called for different approaches to a similar question: what production factors led to delayed fracture faults in a significant minority of the finished units?

I had encountered a detective-style case similar in some ways to the milled steel problem a couple of years ago, putting a review copy of Statistica Data miner release 6 to good use. I learnt a lot on that job, and applied the knowledge to the current concerns. It also happened, by a happy coincidence, that Statistica release 7 had just come to hand as this current pair of challenges hove into sight - so I earmarked it immediately for the larger-scale plant. The small village enterprise, though, called for a very different approach: something that could be applied by inexperienced and untrained users, so that every stage didn't have to wait on communications back to me. I had a copy of SigmaStat 3.0 lying around, which had impressed me by the ease with which it was accessed by novice users during a trial run in another industrial context; Systat International advised that a new 3.1 update was available, and sent a copy of for use in the co-op. [more...]