Sub topic 2
Reading a Control Chart: Center Line, Limits, and Time Order
This chapter assumes you know the mean, range, and standard deviation. It also assumes you understand the difference between common-cause and special-cause variation from the previous chapter. Here you learn what a control chart is made of, how to read one, and what the limits mean.
What a control chart is
A control chart is a run chart with three added lines. It plots a measurement from a process in time order and shows whether the process behaves in a stable, predictable way. The chart does not tell you whether the output is good. It tells you whether the process is consistent.
Walter Shewhart developed the chart at Bell Labs in the 1920s. His aim was to give people a rule for when to act on a process and when to leave it alone. A chart gives that rule in picture form.
The parts of the chart
Every Shewhart control chart has the same parts.
| Part | What it is | Where it comes from |
|---|---|---|
| Data points | One value per sample, such as an individual reading, a subgroup mean, or a proportion | Your process |
| Time axis | The order in which the data were collected | Your sampling plan |
| Center line (CL) | The typical value of the plotted statistic | Usually the mean of the plotted points |
| Upper control limit (UCL) | The upper edge of expected variation | CL plus 3 standard errors |
| Lower control limit (LCL) | The lower edge of expected variation | CL minus 3 standard errors |
A standard error here means the standard deviation of the statistic you plot. For a subgroup mean it is smaller than the standard deviation of single measurements. For a proportion it depends on the sample size.
The limits are placed three standard errors from the center line. If the process is stable and the plotted statistic is roughly normal, about 99.73% of points fall inside the limits. A stable process therefore produces a false signal on about 0.27% of points, or roughly 1 point in 370.
Time order matters
The horizontal axis is time, or the order of production. This is what separates a control chart from a histogram. A histogram pools all values and hides when they happened. Two processes can have identical histograms and very different behavior over time. One may wander slowly upward while the other jumps around a fixed level.
Because the order carries information, do not sort the data or plot it by category. If you collect data in batches, plot the batches in the order they were made.
The chart answers a question about the future: if nothing changes, will the next points look like these? A process that stays inside its limits with no patterns is called in statistical control, or stable. Its next points are predictable within the limits.
Computing the center line and limits
For the individuals chart, the center line is the mean of the data. The limits come from the average moving range, which is the average absolute difference between consecutive points. The constant 2.66 converts that average into three standard deviations. The reason, and the full I-MR method, appear in a later chapter. The code below shows the structure of the calculation so you can see the three lines on real numbers.
import numpy as np
x = np.array([10.2, 9.8, 10.1, 10.4, 9.9, 10.0, 10.3, 9.7, 10.1, 10.2])
mr = np.abs(np.diff(x)) # moving ranges of span 2
x_bar = x.mean()
mr_bar = mr.mean()
x_ucl = x_bar + 2.66 * mr_bar
x_lcl = x_bar - 2.66 * mr_bar
print("LCL:", round(x_lcl, 3))
print("CL: ", round(x_bar, 3))
print("UCL:", round(x_ucl, 3))
outside = np.where((x > x_ucl) | (x < x_lcl))[0]
print("Points outside limits:", outside.tolist())For these ten points the center line is 10.07. The average moving range is about 0.33, so the limits sit roughly 0.88 either side, near 9.19 and 10.95. No point falls outside them, so the chart shows no signal.
Notice that the limits are computed from the data's own short-term variation, not from a target or a customer requirement. The chart reports what the process is doing, not what you want it to do.
Why the limits use short-term variation
The moving range compares neighboring points. It therefore measures variation over a short time span, mostly common-cause variation. If a shift occurs partway through the data, the moving range barely notices it, because only one pair of neighbors straddles the shift. The limits stay narrow and the shifted points stand out.
Compare this with using the overall standard deviation of all the data. A shift or a drift inflates that standard deviation. The limits widen to absorb the very problem you want to detect. The chart then shows nothing. This is why control chart limits use within-subgroup or moving-range estimates rather than a plain standard deviation of everything.
What the limits tell you
The limits describe the voice of the process. They answer the question: how far can a point stray from the center line through common causes alone?
- A point inside the limits is consistent with common-cause variation. A single such point is not evidence of a problem, even when it looks high or low.
- A point outside the limits is unlikely under common causes alone. Treat it as a signal that something special happened, and investigate.
- The limits do not say whether the output meets requirements. Specification limits do that. The next chapter covers the difference in detail.
A signal is evidence, not proof. About 1 in 370 points from a stable process will land outside the limits by chance. If you plot thousands of points, you will see occasional false alarms. Judgment and process knowledge decide whether to investigate.
Two kinds of mistake
A control chart supports a decision with two possible errors.
- Tampering is reacting to common-cause variation as though it were special. A common example is adjusting a machine after every reading that looks off. Tampering adds variation and makes the process worse.
- Neglect is ignoring a real special cause. A tool wears down, or a new supplier changes the material, and nobody investigates because the output still meets the specification.
Wider limits reduce the risk of tampering but raise the risk of neglect. Three standard errors is the traditional compromise. Shewhart chose it for economic reasons, not from a probability formula, and it works well across many distributions.
Reading a chart step by step
Use the same routine each time you look at a chart.
- Check the axis and units. Confirm that points are in time order and you know what each point represents (one measurement, a subgroup mean, a proportion).
- Find the center line. Ask whether the points hover around it or sit mostly on one side.
- Check for points beyond the limits. These are the clearest signals.
- Check for patterns inside the limits. Look for long runs on one side, steady trends, or cycles. The signal-rules chapter lists the formal tests.
- Ask what changed. For each signal, find the time and compare it with logs, shifts, materials, operators, and settings.
- Decide on an action. If the chart shows only common-cause variation, improving the process means changing the system itself, not reacting to individual points.
An example
Suppose a lab weighs one tablet per hour. The center line is 500 mg and the limits are 488 mg and 512 mg. Three readings in a row are 509, 506, and 511 mg.
All three are inside the limits, so none is a signal by the limit rule alone. But a reader who sees the sequence of readings drifting near the top of the band should still notice it and watch the next points. If the next several points also stay above 500 mg, a run rule will flag the shift. Noticing a pattern early is a reason to look closer, not a reason to adjust the process.
Now suppose a fourth reading arrives at 516 mg. This is above the upper limit. The chart says that a common-cause explanation is unlikely, so the operator checks what changed in the last hour, perhaps a new powder lot or a change in press speed.
Edge cases to keep in mind
- Short series. With fewer than about 20 to 25 points, the center line and limits are unreliable. Treat them as provisional.
- Points that are out of order. If the data are not in time order, a trend or run is meaningless.
- Lower limits below zero. For counts and proportions, a computed lower limit can be negative. The limit is then set to zero, because the statistic cannot be negative.
- Unequal sample sizes. For proportion and count charts, limits can differ from point to point. The chart then shows stepped or wavy limit lines. This is correct, not a mistake.
- Rounded data. If the measurement resolution is coarse, the moving ranges are often zero, and the limits become too narrow. Report to more precision where you can.
Summary
A control chart plots data in time order with a center line and limits at three standard errors. The limits come from the process's own short-term variation. A point beyond a limit, or a clear pattern, signals a likely special cause. Points inside the limits with no pattern call for leaving the process alone. The chart exists to prevent both tampering and neglect.
Exercise
A process has a center line of 50 and control limits of 44 and 56. A point plots at 55.5, and the specification is 40 to 60. Is this point a signal? Should you adjust the process? Give your reasoning.
Show answer
The point is not a signal, because 55.5 lies inside the control limits of 44 to 56. It is consistent with common-cause variation. You should not adjust the process, because adjusting in response to common-cause variation is tampering. The specification limits are irrelevant to this decision. They describe what the customer needs, not whether the process is stable.
Exercise
A team computes limits from the overall standard deviation of 30 data points, and a clear step shift occurred at point 15. Explain why this can hide the shift, and name a better way to estimate variation for an individuals chart.
Show answer
The overall standard deviation includes the difference between the two levels before and after the shift, so it is inflated and the limits become wide enough that the shifted points may fall inside them. A better estimate uses the average moving range, which compares only neighboring points and is affected by the shift at only one pair. The limits are then 2.66 times the average moving range on either side of the center line.