7.4 Special Process Control & Advanced SPC
Key Takeaways
- EWMA charts apply an exponential weighting parameter λ ∈ (0, 1] to past observations, making them optimal for detecting small mean shifts (0.5σ to 1.5σ) with steady-state variance σ_EWMA^2 = σ^2 * [λ / (2 - λ)].
- CUSUM charts accumulate positive and negative deviations from target μ0 using decision interval parameters k (slack value, typically k = 0.5σ) and h (decision limit, typically h = 4σ or 5σ), achieving rapid Average Run Length (ARL_1) detection for subtle process shifts.
- Short-run SPC techniques, such as z-charts and Difference-from-Nominal (DNOM) charts, standardize variable data via z_i = (x_i - x_bar) / s or DNOM = x_ij - T_j to monitor multiple low-volume part numbers on a single control chart.
- Multivariate SPC utilizes Hotelling's T^2 statistic to simultaneously monitor p correlated process characteristics, overcoming the severe inflation of Type I error (false alarms) caused by using p separate univariate Shewhart charts.
7.4 Special Process Control & Advanced SPC
Traditional Shewhart control charts ($ºr{X}-R$, $ºr{X}-S$, and $I-MR$) rely exclusively on the information contained in the most recent sample point. While highly effective for detecting large process shifts (greater than $1.5\sigma$ to $2.0\sigma$), Shewhart charts possess a "memoryless" property that makes them relatively insensitive to small, persistent process shifts ($0.5\sigma$ to $1.5\sigma$). Furthermore, modern manufacturing environments frequently encounter low-volume high-mix production (short runs) or multiple correlated quality attributes that violate the assumptions of univariate Shewhart control charts.
Advanced Statistical Process Control (SPC) techniques—including Exponentially Weighted Moving Average (EWMA), Cumulative Sum (CUSUM), Short-Run SPC, and Multivariate SPC ($Hotelling's\ T^2$)—provide quality engineers with specialized tools to maintain statistical control under these challenging conditions.
1. Exponentially Weighted Moving Average (EWMA) Charts
The Exponentially Weighted Moving Average (EWMA) control chart monitors small process shifts by calculating a moving average that assigns geometrically decreasing weights to older observations.
Mathematical Formulation
The EWMA statistic $z_i$ is calculated recursively:
Where:
- $x_i$ is the $i$-th sample observation (or sample mean $\bar{X}_i$).
- $\lambda$ is the weighting constant, constrained to $0 < \lambda \le 1$.
- $z_0 = \mu_0$ (the target or historical process mean).
When $\lambda = 1$, the EWMA chart simplifies to a standard Shewhart individual control chart. As $\lambda \to 0$, past observations exert greater influence, increasing sensitivity to small shifts.
Control Limits Calculation
The variance of the EWMA statistic $z_i$ is given by:
For individual observations ($n=1$), the upper and lower control limits are:
Where $L$ is the width factor of the control limits (typically $L \approx 2.7$ to $3.0$). As the sample index $i$ increases, the term $(1 - \lambda)^{2i} \to 0$, yielding the steady-state asymptotic control limits:
| EWMA Parameter | Recommended Range | Practical Exam Guideline |
|---|---|---|
| Weighting ($\lambda$) | $0.05 \le \lambda \le 0.25$ | Smaller $\lambda$ ($0.05 - 0.10$) for small shifts ($0.5\sigma$); larger $\lambda$ ($0.20 - 0.25$) for moderate shifts ($1.0\sigma - 1.5\sigma$). |
| Limit Width ($L$) | $2.7 \le L \le 3.0$ | $L = 2.7$ with $\lambda = 0.1$ yields an in-control $ARL_0 \approx 370$, matching a $3\sigma$ Shewhart chart. |
Worked Example: EWMA Calculation
Suppose a chemical process has a target viscosity $\mu_0 = 50.0 \text{ cP}$ and known standard deviation $\sigma = 2.0 \text{ cP}$. We select $\lambda = 0.10$ and $L = 2.7$.
- Steady-state control limits:
- First observation ($x_1 = 52.5 \text{ cP}$):
- Second observation ($x_2 = 53.0 \text{ cP}$):
2. Cumulative Sum (CUSUM) Control Charts
The Cumulative Sum (CUSUM) chart directly accumulates deviations of sample values from a target mean $\mu_0$. Like EWMA, CUSUM is exceptionally effective for detecting small shifts ($0.5\sigma$ to $1.5\sigma$).
Tabular CUSUM Formulation
The standard approach in modern quality software is the Tabular (or Two-Sided) CUSUM. It maintains two cumulative statistics:
- $C_i^+$: Accumulates positive shifts above target (Upper CUSUM).
- $C_i^-$: Accumulates negative shifts below target (Lower CUSUM).
Where $C_0^+ = C_0^- = 0$.
CUSUM Parameters
- Reference Value ($k$): Also called the slack value or allowance. It is set midway between the target mean $\mu_0$ and the out-of-control mean $\mu_1 = \mu_0 + \delta \sigma$: For detecting a $1.0\sigma$ shift ($\delta = 1.0$), $k = 0.5\sigma$.
- Decision Limit ($h$): The threshold distance beyond which an out-of-control signal is triggered. An out-of-control signal occurs if $C_i^+ > H$ or $C_i^- > H$, where $H = h \sigma$. Typically, $h$ is chosen as $4$ or $5$ (meaning $H = 4\sigma$ or $5\sigma$). Setting $h = 4.77$ with $k = 0.5$ provides an in-control Average Run Length $ARL_0 \approx 370$.
CUSUM Signal Threshold H = h*σ
─────────────────────────────── Threshold H (Out of Control!)
/ \
/ \ <- C_i+ Accumulation
───────────/──────\──────────── Baseline (0)
V-Mask Geometry
Historically, CUSUM charts utilized a graphic alignment tool called a V-Mask placed over the cumulative sum plot $S_i = \sum_{j=1}^i (x_j - \mu_0)$. The V-mask origin is placed on the latest point; if previous data points fall outside the V-mask arms (defined by origin distance $d$ and mask angle $\theta$), the process is out of control. Tabular CUSUM is mathematically equivalent and preferred for digital implementation.
3. Short-Run SPC for Low-Volume Manufacturing
Standard SPC charts require $20$ to $25$ sub-groups of homogenous production to establish reliable control limits. In high-mix, low-volume environments (job shops, custom machining), batch sizes may be as small as $5$ to $50$ units, rendering traditional charts ineffective.
Standardized Z-Charts
Short-run SPC solves this by plotting standardized data ($Z$-scores) rather than raw measurements, allowing multiple part numbers with different means ($\mu_j$) and standard deviations ($\sigma_j$) to be monitored on a single chart.
Where $T_j$ is the target value for part type $j$. Because $Z_i$ has a mean of $0$ and a standard deviation of $1$, fixed control limits apply across all part numbers:
Difference-from-Nominal (DNOM) Charts
For short runs where the process variability $\sigma$ is constant across part numbers, but nominal targets $T_j$ differ, the Difference-from-Nominal ($DNOM$) transformation is applied:
The deviations $y_{ij}$ are plotted on a single $\bar{X}-R$ or $I-MR$ control chart with a center line of $0$.
4. Multivariate SPC & Hotelling’s $T^2$
Modern products often require simultaneous control of $p$ correlated characteristics (e.g., length, width, and height of a precision component). Monitoring $p$ variables using $p$ independent univariate Shewhart charts introduces two critical failure modes:
- Inflated Type I Error Rate: If each chart has $\alpha = 0.0027$ ($3\sigma$ limits), the overall probability of false alarm across $p$ independent charts is: For $p = 10$ variables, $\alpha_{\text{overall}} = 1 - (0.9973)^{10} \approx 0.0267$ (a false alarm every $37$ samples instead of $370$).
- Distorted Control Boundaries: Independent limits form a rectangular control region, ignoring covariance between variables and missing out-of-control conditions that fall outside the true elliptical correlation boundary.
Variable Y ^
| / Elliptical Multivariate Boundary (T^2)
Rectangular /
Univariate / * Out of Control in T^2 (Missed by Rectangular!)
Limits | o /
+----+
| |
+----+---------> Variable X
Hotelling’s $T^2$ Statistic
For subgrouped data of $p$ correlated variables with sample size $n$, sample vector mean $\bar{\mathbf{x}}$, target mean vector $\boldsymbol{\mu}_0$, and sample covariance matrix $\mathbf{S}$:
For individual observations ($n=1$):
Control Limits for Hotelling’s $T^2$
Unlike univariate charts, $T^2$ is a non-negative scalar distance measure; hence, $T^2$ charts have only an Upper Control Limit ($UCL$) and an $LCL = 0$.
For Phase II monitoring with $m$ preliminary samples of size $n$:
Diagnosing Out-of-Control Signals
When $T^2 > UCL$, the chart signals that the vector of variables has shifted, but it does not specify which variable(s) caused the shift. Quality engineers apply Mason-Young-Tracy (MYT) decomposition or Principal Component Analysis (PCA) to decompose $T^2$ into individual indicator components and isolate the root cause.
5. Advanced SPC Method Comparison
| Chart Type | Primary Application | Key Strength | Main Limitation |
|---|---|---|---|
| EWMA | Continuous processes, small mean shifts ($0.5\sigma - 1.5\sigma$) | Smooths noise; configurable sensitivity via $\lambda$ | Lag in responding to sudden large shifts |
| CUSUM | Discrete/continuous manufacturing, small shifts ($0.5\sigma - 1.5\sigma$) | Fastest detection of small persistent shifts | Complex setup ($k, h$ parameters); non-intuitive to operators |
| Short-Run ($Z$-Chart) | Flexible manufacturing, job shops, low volume | Combines multiple part numbers onto one chart | Requires reliable estimates of target $T_j$ and $\sigma_j$ |
| Hotelling’s $T^2$ | Complex assemblies with $p$ correlated dimensions | Accounts for covariance; controls overall Type I error | Requires matrix inversion; complex root-cause diagnosis |
A quality engineer needs to set up an EWMA control chart to detect a small process mean shift of 0.5σ in a chemical production line. The historical process mean is μ0 = 100.0 and σ = 4.0. If λ = 0.10 and L = 2.7, what are the steady-state control limits for individual observations?
When monitoring 8 correlated dimensional characteristics on a precision machined housing, why is using 8 individual univariate X-bar control charts at the 3-sigma (α = 0.0027) level objectionable?
In a CUSUM control chart designed to detect a 1.0σ process mean shift (δ = 1.0) with standard deviation σ = 2.0, what are the standard values for the reference value k and the decision limit H (assuming h = 5.0)?