X̄ and R Control Charts
Every process jitters, and a control chart tells everyday jitter apart from a real problem worth chasing. Plot the average and range of small groups of parts against limits three standard errors from the center: a point outside them, or a pattern no steady process would make, means stop and look.
What the symbols mean
- Grand mean
The average of the subgroup means: the x̄ chart's center line.
- Subgroup mean
The average of the n units in subgroup i.
- Average range
The R chart's center line, and the source of the estimate of σ.
- Subgroup range
Largest minus smallest value in subgroup i.
- Number of subgroups
Usually 20 to 25 when limits are first set.
What the symbols mean
- Limit factor
Turns the average range into three standard errors of x̄: 0.577 for n = 5.
- Range constant
The expected range of n normal values in units of σ: E(R) = d₂σ.
- Subgroup size
Units measured per subgroup, usually 4 or 5.
What the symbols mean
- Upper range factor
1 + 3d₃/d₂, where d₃σ is the standard deviation of the range.
- Lower range factor
1 − 3d₃/d₂, or 0 when that's negative (n ≤ 6).
- Estimated σ
The short-term standard deviation of single units, from within-subgroup ranges.
Explanation
A control chart is simply a running plot of a process's measurements with two lines drawn on it, marking how far things normally wander; a point outside them says "something changed, go look." The limits look like a jumble of constants, but each is one idea: center line 3 standard errors. For the chart that's (the grand average, plus or minus a table constant times the average range, which is a quick stand-in for 3σ/√n). The R chart does the same for the ranges. Look up two constants, multiply, and draw lines.
Every process jitters. Weigh five bags from a coffee filler and you get five different numbers: valve timing, bean density and vibration all nudge each fill. That everyday scatter is common-cause variation, built into the process. Then a nozzle partly clogs and every bag comes out light: a special cause, something that changed and can be found and fixed. A control chart tells the two apart, so operators neither ignore real trouble nor "fix" the noise (adjusting a stable process after every reading only adds variation).
Rational subgroups. Every half hour, measure consecutive units, usually 4 or 5. Units made a minute apart share the same conditions, so the variation within a subgroup is pure common cause, and a special cause shows up between subgroups. Plot each subgroup's mean on the chart and its range (largest minus smallest) on the R chart. The gauge has to resolve that variation, or many ranges come out 0 and the R chart breaks (see Measurement Error).
Where the limits come from. If the process is stable with mean and standard deviation , a subgroup mean has standard deviation , and by the central limit theorem it's nearly normal even when single units aren't. So a stable process keeps inside 99.73% of the time. We estimate from the ranges: for normal data the expected range of units is a fixed multiple of , , where depends only on . Then , and
The range has its own standard deviation, , so the R chart's limits are , tabulated as and . For the lower one would be negative, so .
| 2 | 1.880 | 0 | 3.267 | 1.128 |
| 3 | 1.023 | 0 | 2.574 | 1.693 |
| 4 | 0.729 | 0 | 2.282 | 2.059 |
| 5 | 0.577 | 0 | 2.114 | 2.326 |
| 6 | 0.483 | 0 | 2.004 | 2.534 |
| 7 | 0.419 | 0.076 | 1.924 | 2.704 |
Check a row: . Read the R chart first: the limits are built from , so if the spread is out of control they mean nothing.
Two phases. In Phase I, take 20 to 25 subgroups, compute trial limits and look for points outside them. Drop the ones whose cause you find and recompute: the result describes the process when it's stable. In Phase II those fixed limits watch new production.
Run rules. Limits at 3σ are slow to notice a small, steady shift, so most plants add pattern rules. Mark zones at 1σ and 2σ of (that is, at and ) on each side of the center line. A stable process rarely makes any of these:
- One point beyond 3σ.
- Two of three consecutive points beyond 2σ on the same side.
- Four of five consecutive points beyond 1σ on the same side.
- Eight points in a row on one side of the center line.
Rule 4 is a coin-flip argument: each point lands above center with probability ½, so eight in a row on one side has probability . Every extra rule catches small shifts sooner and adds a few false alarms, the type I versus type II trade-off from hypothesis testing.
How often it cries wolf. A stable process puts a point outside 3σ limits with probability . Each subgroup is an independent trial, so the wait for the first false alarm is geometric with mean subgroups: the average run length, . After the mean shifts by , the UCL sits only standard errors above the new mean, so a subgroup signals with probability about , and .
A common mistake. It's tempting to draw the spec limits on an chart, right next to the control limits, so you can see both at once. Don't. Control limits are the voice of the process; spec limits are the voice of the customer. An chart plots averages, and single parts spread times wider: a point comfortably inside the specs can hide parts that aren't. A process can be perfectly in control and still make scrap, which is the question of Process Capability. And subgroups that mix sources (two machines, four filling heads) inflate , widen the limits and blind the chart.
See it
Worked examples
A lathe turns shafts with a nominal diameter of 25.000 mm. Every half hour the operator measures 5 consecutive shafts. After 25 subgroups, mm and mm. Find the limits of both charts and estimate . For : , , , .
- 1
Center lines: mm and mm.
On the same chart, suppose the mean suddenly shifts up by . What's the chance the very next subgroup lands above the UCL, and how many subgroups does the chart need, on average, to signal?
- 1
The UCL sits above the old mean. A shift of is standard errors, so the UCL is now only standard errors above the new mean.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Thin-film resistors are charted in subgroups of . Phase I gives Ω and Ω. With , find the LCL and UCL of the chart, in that order.
For the same resistors, and . Find the UCL of the R chart, in ohms.
Estimate the standard deviation of single resistors from Ω, using for .
A bottling line fills 500 mL bottles. Every hour a technician pulls 5 consecutive bottles and records the subgroup mean and range. After 20 hours the means add up to 10,008 mL and the ranges to 96 mL. Using , find the LCL and UCL of the chart, in that order.
On an chart the last eight points all sit above the center line, every one inside the control limits, and the R chart looks normal. What's the best conclusion?
A filler has four heads. To build each subgroup of four, the operator takes one bottle from each head. Unknown to anyone, head 3 has always run 6 mL high. What will the charts show?
Some plants draw "warning limits" at ±2 standard errors. If operators treated every point beyond them as a signal, how many subgroups would pass on average between false alarms from a stable process? Give 3 significant figures. (Use .)
Phase I for a molded part's wall thickness (in hundredths of a mm) uses 25 subgroups of : and . Subgroup 9 (, ) falls above the chart's UCL, and subgroup 17 (, ) above the R chart's UCL. Both causes were found and fixed. Drop both subgroups and find the revised LCL and UCL of the chart, in that order (, ).
The hardest one here. Get it, and you've got this lesson.
The fill line in the first picture has g for single bags, subgroups of and 3σ limits around 500 g. A worn valve shifts the mean up by 2 g. (a) Find the ARL, the average number of subgroups until the chart signals, to 3 significant figures. (b) What's the smallest subgroup size that would give at least a 50% chance of a signal on the first subgroup after the shift? Enter the ARL, then .
Where it's used
Every high-volume plant runs control charts. Tablet presses chart weight and hardness through each batch, semiconductor fabs chart film thickness and line width on hundreds of tools, and machining cells chart critical diameters right at the machine, often on a screen that flags run-rule violations automatically. The same logic watches processes that aren't factories: infection rates in a hospital, wait times in a call center and response times of a web service.