9.4 Short-Run SPC and Moving Average Charts
Key Takeaways
- Short-run SPC transforms measurements into a common dimensionless scale so parts with different targets can share one chart.
- The DNOM chart plots deviation from nominal and requires the parts to share a common process standard deviation.
- The standardized Z chart divides deviation from nominal by the part's own standard deviation and removes the common-variance requirement.
- A Shewhart chart uses only the current subgroup, so it is slow to detect small sustained shifts; EWMA and CUSUM accumulate history and detect them quickly.
- The EWMA smoothing constant lambda trades sensitivity to small shifts against responsiveness to large ones.
The short-run problem
A conventional X-bar and R chart needs roughly 20 to 25 subgroups to establish trustworthy limits. A job shop that runs 30 pieces of a part number and then changes over never accumulates them, and it may never run that part again. Yet the process -- the machine, the operator, the method -- is continuous even though the parts are not.
Short-run SPC solves this by charting the process rather than the part, transforming each measurement onto a common scale so that different part numbers can be plotted on one chart.
The DNOM chart
Deviation from nominal subtracts each part's own target from its measurement:
All part numbers then plot around a common centre line of zero, and standard X-bar and R limits apply to the transformed values.
Worked example. Three part numbers on one lathe:
| Part | Target (mm) | Measured (mm) | DNOM |
|---|---|---|---|
| A-100 | 25.00 | 25.03 | +0.03 |
| A-100 | 25.00 | 24.98 | -0.02 |
| B-220 | 40.00 | 40.04 | +0.04 |
| B-220 | 40.00 | 39.99 | -0.01 |
| C-315 | 12.50 | 12.52 | +0.02 |
All five points plot on one chart around zero, and the chart now monitors the lathe's ability to hold nominal regardless of what it is making.
Requirement: the parts must share approximately the same process standard deviation. If part C-315 is turned to a much tighter tolerance with a different feed and speed, its variation will differ from A-100's and pooling them on one DNOM chart produces limits that are wrong for both.
The standardized Z chart
When the parts do not share a common standard deviation, standardize as well as centre:
Now every point is expressed in the part's own standard deviations, so the chart has a centre line of 0 and limits at $\pm 3$ regardless of the part or even the unit of measurement. A diameter in millimetres and a hardness in HRC can share one chart.
| DNOM chart | Standardized Z chart | |
|---|---|---|
| Transformation | Subtract target | Subtract target, divide by part sigma |
| Requires common sigma | Yes | No |
| Requires historical sigma per part | No | Yes |
| Units on the chart | Original units | Dimensionless |
| Interpretation | Direct, in engineering units | Requires back-conversion |
The Z chart's cost is that it needs a prior estimate of sigma for every part number. For a brand-new part with no history, an engineering estimate or a pooled estimate from similar parts is used, and the chart is provisional until data accumulates.
Related short-run tools include the target X-bar and R chart (target lines drawn per part on a common chart) and short-run attribute charts that standardize proportions the same way.
Why Shewhart charts are slow to small shifts
A Shewhart chart makes its decision from the current subgroup only. Its average run length to detect a shift of size $k\sigma$ in the subgroup mean is roughly:
| Shift size | ARL to detect (X-bar chart, 3 sigma limits, no run rules) |
|---|---|
| $0.5\sigma$ | about 155 subgroups |
| $1.0\sigma$ | about 44 subgroups |
| $1.5\sigma$ | about 15 subgroups |
| $2.0\sigma$ | about 6 subgroups |
| $3.0\sigma$ | about 2 subgroups |
A sustained half-sigma shift takes on average 155 subgroups to trigger a point beyond a control limit -- weeks or months of production. Run rules (such as eight points on one side of the centre line) improve this considerably, but the fundamental limitation remains: a chart that looks only at the newest point throws away the information in the previous ones.
Moving average and EWMA charts
Simple moving average
Plots the average of the last $w$ observations:
Averaging suppresses noise, so small sustained shifts become visible. The costs are that consecutive points are correlated (they share observations), which makes run rules invalid, and that the chart lags a real change by up to $w$ periods.
Exponentially weighted moving average
EWMA weights all past observations, with weights decaying geometrically:
with control limits
which widen from a narrow start and converge to a steady-state value.
| $\lambda$ | Behaviour |
|---|---|
| 0.05 - 0.10 | Very heavy smoothing; excellent for very small shifts; slow on large ones |
| 0.20 - 0.30 | Common general-purpose range |
| 1.00 | Reduces exactly to a Shewhart individuals chart |
Typical settings are $\lambda = 0.2$ with $L = 3$, or $\lambda = 0.1$ with $L = 2.7$. The trade-off is explicit: small $\lambda$ means more memory, so small shifts are found faster and large shifts more slowly.
CUSUM
The cumulative sum chart accumulates deviations from target:
with a signal when either statistic exceeds the decision interval $H$. Conventional settings are $K = 0.5\sigma$ (half the shift to be detected) and $H = 5\sigma$.
CUSUM and EWMA have similar performance and are chosen largely by preference; EWMA is easier to plot and explain, CUSUM has a slightly more direct interpretation of the shift magnitude.
Choosing a chart
| Situation | Chart |
|---|---|
| High-volume, single part, detect large shifts | X-bar and R or X-bar and s |
| Individual measurements, single part | Individuals and moving range |
| Many part numbers, short runs, similar variation | DNOM |
| Many part numbers, short runs, different variation | Standardized Z |
| Need to detect a sustained shift of 1 sigma or less quickly | EWMA or CUSUM |
| Autocorrelated process data such as chemical batch | EWMA on residuals from a time-series model |
A practical combination is a Shewhart chart plus an EWMA on the same data: the Shewhart chart catches large sudden shifts and supports run rules, and the EWMA catches the slow drift the Shewhart chart would take months to find.
A job shop runs 25 to 40 pieces of each of 60 part numbers on one machining centre. Parts have different nominal dimensions but similar process variation. Which control chart approach applies?
Why does a standard X-bar chart take on average about 155 subgroups to detect a sustained half-sigma shift in the process mean?
In an EWMA chart, what is the effect of reducing the smoothing constant lambda from 0.4 to 0.1?