Counting Defects: Binomial and Poisson
A bad unit and a flaw aren't the same thing: one board can carry several flaws. Count bad units with the binomial and flaws with the Poisson. When a unit has lots of chances to go wrong, each one unlikely, the two agree with , and the share of perfect units is .
What the symbols mean
- Units inspected
A fixed number of units, each good or bad.
- Fraction defective
The chance that any one unit is bad, independently of the others.
- Defectives found
The count you're asking about.
What the symbols mean
- Mean defects
The average number of defects per unit (or per square meter, per kilometer).
- Defects per unit
Total defects found divided by units inspected: the shop-floor estimate of λ.
What the symbols mean
- First-pass yield
The fraction of units with no defect at all.
- Rolled throughput yield
The chance a unit gets through every process step with no defect.
What the symbols mean
- Defects per million opportunities
DPU normalized by complexity, so a 2,000-joint board and a 50-joint board can be compared fairly.
Explanation
Defect counting is simply keeping track of what goes wrong on a production line, and the one idea to hold onto is that a defect is a single flaw while a defective unit is one with at least one flaw. The formulas are two models you already met in the intro course, plus bookkeeping: the binomial (how many of units are bad), the Poisson (how many flaws land on one unit, with average ), the yield (the chance a unit has no flaws at all) and DPMO (flaws per million chances, so simple and complex products can be compared). It looks like four formulas, but it's really two old friends and two ratios.
Defects vs defectives. A circuit board has 1,200 solder joints, and it can come off the line with zero, one or several bad ones. Each bad joint is a defect; a board with at least one is defective. The two counts need different models:
- Defectives among units, each bad with probability : the binomial. It runs pass/fail inspection and lot sampling.
- Defects on a unit (or per square meter of sheet or per kilometer of cable): the Poisson with mean , the defects per unit (DPU).
Where the Poisson comes from. Each of the board's joints fails independently with a tiny probability , so the number of bad joints is binomial with huge and tiny. Hold fixed and let grow. The counting factor and the success part give
and the failure part gives
Multiply: . Only survives the limit. You don't need or separately, just the average number of defects, and that's why DPU is the currency of defect counting.
Yield. The fraction of units with no defect is . With DPU 0.6, of boards are perfect, not : some boards collect two or three defects, so more boards escape with none. For small the two agree, since is the start of the Taylor series.
Rolled throughput yield. Steps in a row multiply: casting, machining and painting with DPU 0.10, 0.25 and 0.05 give . DPUs add and yields multiply. The same law runs chip making: a die of area on a wafer with killer defects per cm² has yield , so doubling a chip's area more than halves its yield, which is why big chips are expensive.
DPMO divides DPU by the number of places a defect could occur and scales to a million, so a 2,000-joint board and a 50-joint board can be compared fairly.
When is the Poisson approximation good? When is small, not merely when is large. The binomial variance is smaller than the Poisson's by the factor , and a classical bound says no probability computed with the Poisson is off by more than the smaller of and . The textbook rules of thumb, with or with , are ways of saying " is small". With and the Poisson is badly off.
A common mistake. With DPU 0.6, it's tempting to say 40% of units are perfect, since . That only works if no unit ever has more than one defect. Some units collect two or three, which leaves more units with none, so the yield is . Two related slips: forcing a binomial onto flaws per square meter (there's no fixed number of trials), and forgetting to rescale when the area, length or time changes.
These counts drive p and c control charts and acceptance sampling later in the course. The Poisson also counts failures over time, which leads straight to exponential lifetimes.
See it
Worked examples
A board has 1,200 solder joints, and each joint is defective with probability 0.0005, independently. Find the defects per unit and the first-pass yield, with the Poisson model and then with the exact binomial.
- 1
defects per board.
A supplier's lot is 2% defective. You inspect 50 parts and accept the lot if at most 1 is defective. Find the probability of accepting, exactly and with the Poisson approximation.
- 1
The defectives in the sample are binomial with and : .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Inspectors find 84 paint defects on 120 car doors. Using the Poisson model, what fraction of doors have no defects at all? Give 4 decimal places.
A pump housing is cast (DPU 0.10), machined (DPU 0.25) and painted (DPU 0.05). Find the rolled throughput yield, the chance a housing gets through all three steps with no defect. Give 4 decimal places.
Which of these counts is binomial rather than Poisson?
A small batch has units, each defective with probability 0.3. Find exactly and with the Poisson approximation, to 4 decimal places. Enter both.
Float glass averages 0.4 flaws per square meter, scattered at random. What's the probability that a 1.5 m² windshield blank has at most one flaw? Give 4 decimal places.
A receiving inspector takes 40 parts from a large lot that is 3% defective and accepts the lot if at most 1 part is defective. Find the exact (binomial) probability of acceptance, to 4 decimal places.
A phone board has 2,000 solder joints. The factory wants a first-pass yield of at least 95%. Using the Poisson yield model, what's the largest allowable defect rate per joint, in defects per million opportunities (DPMO)?
The hardest one here. Get it, and you've got this lesson.
Boards come off the line with defects that are Poisson with mean 0.6 per board. Automated optical inspection catches each defect independently with probability 0.9, and every caught defect is repaired. What fraction of boards ship with at least one undetected defect? Give 4 decimal places.
Where it's used
Electronics plants track DPMO for every solder process and plan rework stations from the Poisson split of 0, 1 and 2+ defects per board. Chip makers predict die yield with (and refinements of it) before committing to a chip's size, and paper, film and glass lines report flaws per square meter. Receiving inspection, warranty claims per thousand units and network packet errors are binomial or Poisson counts, and the choice between them is the first modeling decision.