Process monitoring
Which Control Chart for Which Data: I-MR, X̄-R, p and c Charts with One Plating Line
A selection guide for process engineers who already know what a control chart is and need to decide which one to draw.
Quick answer
The chart is chosen by how the data arrive, not by how important the parameter is. Ask three questions in order.
- Is each data point a measurement or a count? A measured value such as a thickness, a concentration or a temperature goes on a variables chart. A count of bad units or of flaws goes on an attributes chart.
- For measurements: one value at a time, or a small group taken together? One value per shift, per lot or per titration goes on an Individuals and Moving Range (I-MR) chart. A rational subgroup of two to ten values taken under the same conditions, such as five pillars from one wafer, goes on an X̄-R chart.
- For counts: counting defective units, or counting defects? A unit is either defective or not, so the number of defective units in a sample follows a binomial model and goes on a p chart (or an np chart when every sample is the same size). Defects such as voids or scratches can occur several times on one unit, follow a Poisson model and go on a c chart (or a u chart when the inspected area or unit count varies).
On the same copper plating line, the bath copper concentration titrated once per shift is an I-MR chart, the pillar height measured on five pillars per lot is an X̄-R chart, the number of rejected units in a 200-unit visual sample is a p chart, and the number of voids found per inspected wafer is a c chart. This guide works the first three with their limits and shows what each chart can and cannot see.
About the example. The line, the lots and every number below are synthetic and chosen to show the arithmetic. The constants come from the standard tables in Montgomery (2013), Appendix VI; the formulas are the textbook ones and are written out where they are used.
The question that picks the chart
A control chart compares each new point with limits computed from the process's own short-term variation. Every chart type is the same idea with a different estimate of that variation, and the estimate depends on how the data were collected.
| How the data arrive | Model of the variation | Chart | What the limits are built from |
|---|---|---|---|
| One measurement per time point | Normal, estimated from consecutive differences | I-MR | Average moving range MR̄ |
| k measurements taken together per time point (n = 2 to 10) | Normal, estimated within subgroups | X̄-R | Average subgroup range R̄ |
| k measurements per time point, n above 10 | Normal, estimated within subgroups | X̄-s | Average subgroup standard deviation s̄ |
| Number of defective units in a sample of n | Binomial | p (fraction) or np (count, constant n) | Average fraction defective p̄ |
| Number of defects on a unit or area | Poisson | c (constant unit) or u (per unit, varying size) | Average defects per unit c̄ or ū |
Two things follow from the table. First, the same parameter can need different charts in different places: a pillar height measured once per lot at an inline gauge is I-MR data; the same pillar height measured on five pillars per lot at a metrology station is X̄-R data. Second, a count can sometimes be turned into a measurement, and the measurement is almost always the better chart: the number of out-of-tolerance pillars per lot is a p chart, but the pillar heights themselves are an X̄-R chart that signals a drift long before any pillar leaves the tolerance.
Charts for measurements: I-MR against X̄-R
Both charts estimate the short-term standard deviation from ranges, and both use the constant d₂ to turn an average range into a standard deviation. The difference is where the range comes from.
I-MR. With one value per point, the only range available is between consecutive points, the moving range MRᵢ = |xᵢ − xᵢ₋₁|. The chart of individual values has limits x̄ ± 3 MR̄/d₂, with d₂ = 1.128 for ranges of two values, so the multiplier 3/1.128 = 2.66 appears in every I-MR formula. The moving-range chart has an upper limit D₄ MR̄ = 3.267 MR̄ and no lower limit. The I-MR chart guide works this chart in detail; the summary here is that an I-MR chart is the right chart when the process produces one number at a time and the time between numbers is the shortest interval you can get.
X̄-R. When several values are taken together, under the same conditions and close in time, the range within each subgroup measures the common-cause variation directly. The chart of subgroup means has limits X̿ ± A₂ R̄, the range chart has limits D₃ R̄ and D₄ R̄. For subgroups of five, A₂ = 0.577, D₃ = 0 and D₄ = 2.114, and the standard deviation estimate is R̄/d₂ with d₂ = 2.326. A₂ is 3/(d₂ √n): the mean of five values varies √5 times less than one value, so the X̄ limits are narrower than the spread of the individual pillars, and that is why the X̄ chart sees a small shift in level that an individual-value chart would miss. The Subgroup Control Chart Calculator sets X̄-R or X̄-s limits from pasted subgroups with the same constants as this guide.
The subgroup has to be rational: the values inside it should differ only by common-cause variation, so that anything between subgroups shows up as a signal. Five pillars from one wafer are a rational subgroup for the plating step. One pillar from each of five wafers plated in different tanks is not; the tank-to-tank difference would sit inside the range, inflate R̄ and widen the limits until the chart stops seeing anything.
Charts for counts: p and c
p chart. Each unit in a sample of n is classified as conforming or not. If the true fraction defective is p, the number of defectives in a sample is binomial, with mean np and standard deviation √(np(1 − p)). The chart of the sample fraction has centre line p̄ and limits p̄ ± 3 √(p̄(1 − p̄)/n). When n is the same for every sample the count itself can be charted instead (np chart, limits n p̄ ± 3 √(n p̄(1 − p̄))). When the lower limit comes out negative it is set to zero; a single point can then only signal a deterioration, and an improvement shows up only through a run rule, such as a long run of points below the centre line. With thousands of units per sample the limits can be too tight for ordinary day-to-day variation; Overdispersion in p and u charts shows how to check for that and what the Laney p′ chart does about it.
c chart. Defects are counted on a unit of fixed size, such as one wafer or one square centimetre of inspected area, and a unit can carry several. If defects occur at a constant average rate c the count is Poisson with mean c and standard deviation √c, so the limits are c̄ ± 3 √c̄. When the inspected size varies from unit to unit, divide by the size and use a u chart, whose limits ū ± 3 √(ū/nᵢ) change with each point. The Attribute Control Chart Calculator sets p, np, c or u limits from pasted counts, per sample when the sample size varies.
The distinction between the two is whether the thing counted is units or occurrences. A wafer that is scrapped for voids is one defective unit and belongs on a p chart; the twelve voids on that wafer are twelve defects and belong on a c chart.
Worked example: three data streams from one line
A copper pillar plating line produces three kinds of data every shift. The numbers below are synthetic; each stream is charted with the formulas above.
Stream 1: bath copper concentration, one titration per shift (I-MR)
Twelve consecutive shifts, copper concentration in g/L:
48.2, 47.9, 48.5, 48.1, 47.6, 48.3, 48.0, 47.8, 48.4, 48.2, 47.7, 48.1
The mean is x̄ = 48.067 g/L. The eleven moving ranges are 0.3, 0.6, 0.4, 0.5, 0.7, 0.3, 0.2, 0.6, 0.2, 0.5, 0.4, which sum to 4.7, so MR̄ = 0.427 g/L.
| Chart | Centre | Limits |
|---|---|---|
| Individuals | 48.067 | 48.067 ± 2.66 × 0.427 = 46.930 to 49.203 g/L |
| Moving range | 0.427 | UCL = 3.267 × 0.427 = 1.396 g/L, no LCL |
Every titration lies inside 46.93 to 49.20 and every moving range is below 1.396, so the bath concentration shows only common-cause variation over these twelve shifts. The estimated short-term standard deviation is MR̄/d₂ = 0.427/1.128 = 0.379 g/L.
Stream 2: pillar height, five pillars per lot (X̄-R)
Eight lots, five pillars measured per lot, height in µm:
| Lot | Readings (µm) | X̄ | R |
|---|---|---|---|
| 1 | 60.2, 59.8, 60.5, 60.1, 59.9 | 60.10 | 0.7 |
| 2 | 59.7, 60.3, 60.0, 59.6, 60.4 | 60.00 | 0.8 |
| 3 | 60.4, 60.0, 59.8, 60.6, 60.2 | 60.20 | 0.8 |
| 4 | 59.9, 60.1, 59.5, 60.3, 60.0 | 59.96 | 0.8 |
| 5 | 60.3, 59.7, 60.2, 60.0, 59.8 | 60.00 | 0.6 |
| 6 | 60.0, 60.4, 59.9, 60.1, 60.5 | 60.18 | 0.6 |
| 7 | 61.4, 61.0, 61.7, 61.2, 61.5 | 61.36 | 0.7 |
| 8 | 60.1, 59.8, 60.3, 60.0, 59.6 | 59.96 | 0.7 |
The grand mean of the eight subgroup means is X̿ = 60.22 µm and the average range is R̄ = 0.7125 µm.
| Chart | Centre | Limits |
|---|---|---|
| X̄ | 60.22 | 60.22 ± 0.577 × 0.7125 = 59.809 to 60.631 µm |
| R | 0.7125 | UCL = 2.114 × 0.7125 = 1.506 µm, LCL = 0 × 0.7125 = 0 |
All eight ranges are between 0.6 and 0.8 µm, well inside the R chart. On the X̄ chart, lot 7 at 61.36 µm is above the upper limit of 60.631: the process level moved for that lot while its spread did not. That is exactly the pattern the pair of charts is designed to separate. Every single reading in lot 7 is still within a 58 to 62 µm tolerance, so a p chart of out-of-tolerance pillars would have shown nothing.
Because lot 7 is included in X̿ and R̄, the trial limits are slightly inflated by it. Recomputing without lot 7 gives X̿ = 60.057 µm, R̄ = 0.714 µm and X̄ limits of 59.645 to 60.469 µm; lot 7 is further outside, and the remaining seven means lie inside. Trial limits are revised this way once the cause of a signal is known, not before.
Stream 3: rejected units in final visual inspection (p chart)
Ten lots, 200 units inspected from each, number rejected: 6, 4, 7, 5, 3, 8, 5, 6, 4, 5. The total is 53 defectives in 2,000 units, so p̄ = 0.0265.
The standard deviation of a sample fraction at n = 200 is √(0.0265 × 0.9735 / 200) = 0.01136, so the limits are 0.0265 ± 3 × 0.01136: UCL = 0.0606, LCL = −0.0076, which is set to zero. In counts, the upper limit is 0.0606 × 200 = 12.1 rejected units per lot. The worst lot, 8 rejects or 0.040, is inside the limit, so the reject rate is stable at about 2.7 %; stable is not the same as acceptable, which is a decision for the specification and the customer, not the chart.
With p̄ = 0.0265 the expected number of rejects per 200-unit lot is 5.3, enough for the chart to behave. Had the sample been 20 units per lot, most lots would show zero rejects, the lower limit would be zero and a single lot could only signal by jumping to three or more rejects.
Stream 4: voids per wafer (c chart), in brief
If the same line counts voids on one inspected wafer per lot and ten lots give 3, 5, 2, 4, 6, 3, 4, 2, 5, 3 voids, then c̄ = 3.7 and the upper limit is 3.7 + 3 √3.7 = 9.47 voids; the lower limit is negative and becomes zero. The difference from stream 3 is only in what is counted: there, a unit was either rejected or not; here, one wafer can carry any number of voids.
Common mistakes
- Charting one value per lot as a subgroup of one and calling it X̄-R. With n = 1 there is no within-subgroup range; the chart is an I-MR chart and needs the moving range. The reverse error, averaging five pillars into one number and charting the averages on an I-MR chart, throws away the range information and gives limits that depend on how the subgroups happened to be formed.
- Building subgroups across the source of variation you want to detect. One reading from each of five tanks is not a rational subgroup for comparing tanks. The tank difference ends up inside R̄, the limits widen, and the chart goes quiet. Rational subgrouping works through an example with numbers.
- Using specification limits as control limits. Control limits come from the process's own variation; specification limits come from the drawing. In stream 2, every pillar in lot 7 is within tolerance and the X̄ chart still signals, because the chart is asking a different question. The Cpk vs Ppk guide covers what the two kinds of limit each tell you.
- Charting a count when the measurement is available. The 200-unit visual sample in stream 3 answers "how many are bad", but if the rejects are for pillar height, the heights themselves on an X̄-R chart signal the drift before any unit is rejected.
- Charting defects on a p chart or defectives on a c chart. A p chart assumes each unit is one trial with one outcome; a c chart assumes occurrences at a steady rate on a fixed unit. Counting twelve voids on one wafer as twelve defective units breaks the binomial model and the limits are wrong.
- Reading a negative lower limit as a lower limit. For p and c charts a lower limit below zero means there is none, so no single point can show that a reject rate has improved; only a run rule, such as a long run of points below the centre line, can. Increasing the sample size until the lower limit is positive, or switching to the measurement, fixes that.
- Revising limits to make a point fit. Trial limits are recomputed after a signal only when its cause has been found and removed, and the excluded point is noted. Recomputing until nothing signals turns the chart into a record of whatever happened.
Using the tools and guides with this guide
The constants above are enough to set limits in a spreadsheet, and the I-MR chart guide shows the individuals chart end to end on ordered thickness data. The I-MR Control Chart Calculator sets those limits from pasted readings and lists the points outside them; the Subgroup Control Chart Calculator does the same for X̄-R and X̄-s charts and the Attribute Control Chart Calculator for p, np, c and u charts. Once a chart shows that the process is stable, the Process Capability Calculator turns the same individual readings into Cp, Cpk, Pp and Ppk; the Cpk vs Ppk guide explains why capability is only meaningful after stability has been shown. For the inspection side, the AQL sampling plan guide covers accepting or rejecting a lot, which is a different question from monitoring the process that made it. Every constant used above, with its definition and the rows for n = 2 to 25, is in the control chart constants table. The twelve titrations of Stream 1 reappear in the statistical tables guide, which builds confidence intervals for their mean and standard deviation from the t and chi-square tables.
Sources and further reading
- Montgomery, D. C., Introduction to Statistical Quality Control, 7th ed., Wiley, 2013: Chapter 5 (rational subgroups and the choice between charts), Chapter 6 (variables charts: X̄-R, X̄-s and individuals), Chapter 7 (attributes charts: p, np, c and u), Appendix VI (factors for constructing variables control charts).
- NIST/SEMATECH e-Handbook of Statistical Methods, Section 6.3, Univariate and Multivariate Control Charts (chart types, formulas and constants).
- Kitstead Labs guides: I-MR control charts, Cpk vs Ppk.