PracticeVideosBlogFlashcards

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.

Last updated: September 2026

7.4 Special Process Control & Advanced SPC

Traditional Shewhart control charts (Xˉ−R\bar{X}-R, Xˉ−S\bar{X}-S, and I−MRI-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σ1.5\sigma to 2.0σ2.0\sigma), Shewhart charts possess a "memoryless" property that makes them relatively insensitive to small, persistent process shifts (0.5σ0.5\sigma to 1.5σ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 T2Hotelling'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 ziz_i is calculated recursively:

zi=λxi+(1−λ)zi−1z_i = \lambda x_i + (1 - \lambda) z_{i-1}

Where:

  • xix_i is the ii-th sample observation (or sample mean Xˉi\bar{X}_i).
  • λ\lambda is the weighting constant, constrained to 0<λ≤10 < \lambda \le 1.
  • z0=μ0z_0 = \mu_0 (the target or historical process mean).

When λ=1\lambda = 1, the EWMA chart simplifies to a standard Shewhart individual control chart. As λ→0\lambda \to 0, past observations exert greater influence, increasing sensitivity to small shifts.

Control Limits Calculation

The variance of the EWMA statistic ziz_i is given by:

σzi2=σ2(λ2−λ)[1−(1−λ)2i]\sigma_{z_i}^2 = \sigma^2 \left( \frac{\lambda}{2 - \lambda} \right) \left[ 1 - (1 - \lambda)^{2i} \right]

For individual observations (n=1n=1), the upper and lower control limits are:

UCL=μ0+Lσλ2−λ[1−(1−λ)2i]UCL = \mu_0 + L \sigma \sqrt{\frac{\lambda}{2 - \lambda} \left[ 1 - (1 - \lambda)^{2i} \right]} LCL=μ0−Lσλ2−λ[1−(1−λ)2i]LCL = \mu_0 - L \sigma \sqrt{\frac{\lambda}{2 - \lambda} \left[ 1 - (1 - \lambda)^{2i} \right]}

Where LL is the width factor of the control limits (typically L≈2.7L \approx 2.7 to 3.03.0). As the sample index ii increases, the term (1−λ)2i→0(1 - \lambda)^{2i} \to 0, yielding the steady-state asymptotic control limits:

UCLsteady=μ0+Lσλ2−λUCL_{\text{steady}} = \mu_0 + L \sigma \sqrt{\frac{\lambda}{2 - \lambda}} LCLsteady=μ0−Lσλ2−λLCL_{\text{steady}} = \mu_0 - L \sigma \sqrt{\frac{\lambda}{2 - \lambda}}
EWMA ParameterRecommended RangePractical Exam Guideline
Weighting (λ\lambda)0.05≤λ≤0.250.05 \le \lambda \le 0.25Smaller λ\lambda (0.05−0.100.05 - 0.10) for small shifts (0.5σ0.5\sigma); larger λ\lambda (0.20−0.250.20 - 0.25) for moderate shifts (1.0σ−1.5σ1.0\sigma - 1.5\sigma).
Limit Width (LL)2.7≤L≤3.02.7 \le L \le 3.0L=2.7L = 2.7 with λ=0.1\lambda = 0.1 yields an in-control ARL0≈370ARL_0 \approx 370, matching a 3σ3\sigma Shewhart chart.

Worked Example: EWMA Calculation

Suppose a chemical process has a target viscosity μ0=50.0 cP\mu_0 = 50.0 \text{ cP} and known standard deviation σ=2.0 cP\sigma = 2.0 \text{ cP}. We select λ=0.10\lambda = 0.10 and L=2.7L = 2.7.

  1. Steady-state control limits: UCL=50.0+2.7(2.0)0.102−0.10=50.0+5.40.101.90=50.0+5.4(0.2294)=51.24 cPUCL = 50.0 + 2.7 (2.0) \sqrt{\frac{0.10}{2 - 0.10}} = 50.0 + 5.4 \sqrt{\frac{0.10}{1.90}} = 50.0 + 5.4 (0.2294) = 51.24 \text{ cP} LCL=50.0−5.4(0.2294)=48.76 cPLCL = 50.0 - 5.4 (0.2294) = 48.76 \text{ cP}
  2. First observation (x1=52.5 cPx_1 = 52.5 \text{ cP}): z1=0.10(52.5)+0.90(50.0)=5.25+45.0=50.25 cPz_1 = 0.10 (52.5) + 0.90 (50.0) = 5.25 + 45.0 = 50.25 \text{ cP}
  3. Second observation (x2=53.0 cPx_2 = 53.0 \text{ cP}): z2=0.10(53.0)+0.90(50.25)=5.30+45.225=50.525 cPz_2 = 0.10 (53.0) + 0.90 (50.25) = 5.30 + 45.225 = 50.525 \text{ cP}

2. Cumulative Sum (CUSUM) Control Charts

The Cumulative Sum (CUSUM) chart directly accumulates deviations of sample values from a target mean μ0\mu_0. Like EWMA, CUSUM is exceptionally effective for detecting small shifts (0.5σ0.5\sigma to 1.5σ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:

  • Ci+C_i^+: Accumulates positive shifts above target (Upper CUSUM).
  • Ci−C_i^-: Accumulates negative shifts below target (Lower CUSUM).
Ci+=max⁡(0,xi−(μ0+k)+Ci−1+)C_i^+ = \max \left( 0, x_i - (\mu_0 + k) + C_{i-1}^+ \right) Ci−=max⁡(0,(μ0−k)−xi+Ci−1−)C_i^- = \max \left( 0, (\mu_0 - k) - x_i + C_{i-1}^- \right)

Where C0+=C0−=0C_0^+ = C_0^- = 0.

CUSUM Parameters

  • Reference Value (kk): Also called the slack value or allowance. It is set midway between the target mean μ0\mu_0 and the out-of-control mean μ1=μ0+δσ\mu_1 = \mu_0 + \delta \sigma: k=δ2σ=∣μ1−μ0∣2k = \frac{\delta}{2} \sigma = \frac{|\mu_1 - \mu_0|}{2} For detecting a 1.0σ1.0\sigma shift (δ=1.0\delta = 1.0), k=0.5σk = 0.5\sigma.
  • Decision Limit (hh): The threshold distance beyond which an out-of-control signal is triggered. An out-of-control signal occurs if Ci+>HC_i^+ > H or Ci−>HC_i^- > H, where H=hσH = h \sigma. Typically, hh is chosen as 44 or 55 (meaning H=4σH = 4\sigma or 5σ5\sigma). Setting h=4.77h = 4.77 with k=0.5k = 0.5 provides an in-control Average Run Length ARL0≈370ARL_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 Si=∑j=1i(xj−μ0)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 dd 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 2020 to 2525 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 55 to 5050 units, rendering traditional charts ineffective.

Standardized Z-Charts

Short-run SPC solves this by plotting standardized data (ZZ-scores) rather than raw measurements, allowing multiple part numbers with different means (μj\mu_j) and standard deviations (σj\sigma_j) to be monitored on a single chart.

Zi=xij−xˉjsjorZi=xij−TjσjZ_i = \frac{x_{ij} - \bar{x}_j}{s_j} \quad \text{or} \quad Z_i = \frac{x_{ij} - T_j}{\sigma_j}

Where TjT_j is the target value for part type jj. Because ZiZ_i has a mean of 00 and a standard deviation of 11, fixed control limits apply across all part numbers:

UCL=+3.0,Center Line=0,LCL=−3.0UCL = +3.0, \quad \text{Center Line} = 0, \quad LCL = -3.0

Difference-from-Nominal (DNOM) Charts

For short runs where the process variability σ\sigma is constant across part numbers, but nominal targets TjT_j differ, the Difference-from-Nominal (DNOMDNOM) transformation is applied:

yij=xij−Tjy_{ij} = x_{ij} - T_j

The deviations yijy_{ij} are plotted on a single Xˉ−R\bar{X}-R or I−MRI-MR control chart with a center line of 00.


4. Multivariate SPC & Hotelling’s T2T^2

Modern products often require simultaneous control of pp correlated characteristics (e.g., length, width, and height of a precision component). Monitoring pp variables using pp independent univariate Shewhart charts introduces two critical failure modes:

  1. Inflated Type I Error Rate: If each chart has α=0.0027\alpha = 0.0027 (3σ3\sigma limits), the overall probability of false alarm across pp independent charts is: αoverall=1−(1−α)p\alpha_{\text{overall}} = 1 - (1 - \alpha)^p For p=10p = 10 variables, αoverall=1−(0.9973)10≈0.0267\alpha_{\text{overall}} = 1 - (0.9973)^{10} \approx 0.0267 (a false alarm every 3737 samples instead of 370370).
  2. 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 T2T^2 Statistic

For subgrouped data of pp correlated variables with sample size nn, sample vector mean xˉ\bar{\mathbf{x}}, target mean vector μ0\boldsymbol{\mu}_0, and sample covariance matrix S\mathbf{S}:

T2=n(xˉ−μ0)′S−1(xˉ−μ0)T^2 = n (\bar{\mathbf{x}} - \boldsymbol{\mu}_0)' \mathbf{S}^{-1} (\bar{\mathbf{x}} - \boldsymbol{\mu}_0)

For individual observations (n=1n=1):

T2=(x−μ0)′S−1(x−μ0)T^2 = (\mathbf{x} - \boldsymbol{\mu}_0)' \mathbf{S}^{-1} (\mathbf{x} - \boldsymbol{\mu}_0)

Control Limits for Hotelling’s T2T^2

Unlike univariate charts, T2T^2 is a non-negative scalar distance measure; hence, T2T^2 charts have only an Upper Control Limit (UCLUCL) and an LCL=0LCL = 0.

For Phase II monitoring with mm preliminary samples of size nn:

UCL=p(m−1)(n−1)mn−m−p+1Fα,p,mn−m−p+1UCL = \frac{p(m-1)(n-1)}{mn - m - p + 1} F_{\alpha, p, mn - m - p + 1}

Diagnosing Out-of-Control Signals

When T2>UCLT^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 T2T^2 into individual indicator components and isolate the root cause.


5. Advanced SPC Method Comparison

Chart TypePrimary ApplicationKey StrengthMain Limitation
EWMAContinuous processes, small mean shifts (0.5σ−1.5σ0.5\sigma - 1.5\sigma)Smooths noise; configurable sensitivity via λ\lambdaLag in responding to sudden large shifts
CUSUMDiscrete/continuous manufacturing, small shifts (0.5σ−1.5σ0.5\sigma - 1.5\sigma)Fastest detection of small persistent shiftsComplex setup (k,hk, h parameters); non-intuitive to operators
Short-Run (ZZ-Chart)Flexible manufacturing, job shops, low volumeCombines multiple part numbers onto one chartRequires reliable estimates of target TjT_j and σj\sigma_j
Hotelling’s T2T^2Complex assemblies with pp correlated dimensionsAccounts for covariance; controls overall Type I errorRequires matrix inversion; complex root-cause diagnosis
Loading diagram...
Advanced SPC Control Chart Selection Workflow
Test Your Knowledge

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?

A

UCL = 102.48, LCL = 97.52

B

UCL = 110.80, LCL = 89.20

C

UCL = 105.40, LCL = 94.60

D

UCL = 101.20, LCL = 98.80

Test Your Knowledge

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?

A

Univariate charts cannot calculate sample standard deviations for sample sizes greater than n=5.

B

The 3-sigma limits automatically double when sample size exceeds n=10.

C

The overall probability of at least one false alarm across the 8 charts inflates to approximately 2.14%, far exceeding 0.27%.

D

Univariate control charts require historical data from at least 1,000 preliminary sub-groups.

Test Your Knowledge

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)?

A

k = 2.0, H = 5.0

B

k = 1.0, H = 10.0

C

k = 0.5, H = 4.0

D

k = 1.5, H = 8.0

Sections you finish are checked off in the contents.