23-Ind-A5 Quality Planning, Control, and Assurance · May 2016
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
National Exams, May 2016. Closed-book examination. Any five of the six questions constitute a complete paper; all six are answered in full below. Relevant statistical tables (cumulative standard normal distribution, MIL-STD-105E sample-size code letters and master sampling table) are reproduced/applied from the paper's own attached appendices.
Reference texts: Montgomery, Introduction to Statistical Quality Control (8th ed.) — Ch. 1–2 (quality philosophy and management), Ch. 5–6 (variables control charts), Ch. 7 (attributes charts and average run length), Ch. 9 (EWMA/CUSUM and the SPC/EPC interface), Ch. 8 & 13 (designed experiments, Taguchi methods, reliability and life testing), Ch. 15 (acceptance sampling by attributes, MIL-STD-105E and Dodge–Romig plans).
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
An ordinary Shewhart $\bar X$ chart assumes the underlying process mean is constant (in control at a fixed target) between assignable-cause events; a "trend" process such as tool wear violates that assumption by design — the mean drifts monotonically and predictably as the tool wears, so a fixed centre line and fixed 3-sigma limits will signal a false "out of control" alarm almost immediately as the natural, expected drift carries the mean past the limits, even though nothing abnormal has happened. The traditional-chart fix is to chart against a MOVING target rather than a fixed one: fit (or specify from engineering knowledge) the expected trend line for the mean over time, and plot each sample's DEVIATION from the value the trend line predicts at that time, with control limits computed for those residuals exactly as for an ordinary characteristic. Any residual outside the (now-appropriately-centred) limits signals a genuine departure from the EXPECTED wear pattern — an abnormally fast or slow drift, a step change, or a new source of variation — while the expected wear itself no longer trips the chart.
Engineering Process Control (EPC) and Statistical Process Control (SPC) represent two different philosophies for handling process variation. SPC assumes the process, once brought into a state of statistical control, should be left alone: only assignable-cause variation should trigger an adjustment (a control chart signal), because any adjustment made in response to ordinary common-cause noise ("tampering") actually increases output variability, per Deming's funnel experiment. EPC (also called automatic/feedback process control) instead assumes the process is subject to a continuously drifting disturbance (exactly a trend process such as tool wear, or a raw-material property that wanders) that CANNOT economically be eliminated at its source, and compensates for it continuously by adjusting a manipulable process variable (e.g. a machine offset) via a feedback or feedforward control law, so the output stays near target even though the underlying disturbance is never removed. In short: SPC seeks to detect and eliminate the CAUSE of variation and otherwise not touch the process; EPC accepts an inevitable, structured disturbance and continuously COMPENSATES for its effect on the output.
The EWMA (exponentially weighted moving average) statistic, $z_t=\lambda x_t+(1-\lambda)z_{t-1}$, is used for both purposes because of what that recursion actually computes. As an SPC tool, $z_t$ is a weighted average that discounts old observations exponentially, so it accumulates evidence of a small, sustained shift across several consecutive samples, giving it far greater sensitivity to SMALL mean shifts than a memoryless Shewhart chart (which only looks at the current sample) — exactly the shift-detection improvement SPC wants. As an EPC tool, the identical recursion IS the classical exponentially-weighted forecast of the process level one step ahead, and is mathematically equivalent to the update law of a discrete integral (PI-type) feedback controller: $z_t$ is precisely the quantity an EPC scheme would compute as its best current estimate of "where the process is heading" and adjust against. Because the same statistic simultaneously serves as (i) a sensitive detector of sustained shifts for a control chart and (ii) the natural one-step-ahead predictor a compensating controller needs, EWMA is the standard bridge used to combine SPC monitoring with EPC compensation on the same trending process: the EPC loop uses $z_t$ to keep the mean on target, while an EWMA (or similar) chart of the RESIDUALS after compensation continues to watch for genuine assignable causes the controller was never designed to compensate for.
Given. $n=4$ per sample, 30 samples, $\bar{\bar X}=20$, $\bar R=4.56$. Control-chart factors for $n=4$ (Appendix VI): $A_2=0.729$, $D_3=0$, $D_4=2.282$, $d_2=2.059$.
Find. The 3-sigma limits for the $\bar X$ and $R$ charts; $\hat\mu$ and $\hat\sigma$; and $P(\text{miss the shift to }\mu_1=25\text{ on BOTH of the next 2 samples})$.
The chart is quite effective against this size of shift ($\delta=(25-20)/2.215=2.26\hat\sigma$ in the mean): roughly 93.5% of the time it flags the very first sample after the shift, and the probability of running two consecutive samples without a signal is under half a percent.
| Quantity | Value |
|---|---|
| $\bar X$-chart limits | $UCL=23.324,\ CL=20,\ LCL=16.676$ |
| $R$-chart limits | $UCL=10.406,\ CL=4.56,\ LCL=0$ |
| $\hat\mu$ | 20 |
| $\hat\sigma$ | 2.215 |
| $P(\text{miss}\mid 1\text{ sample after shift to }25)$ | 0.0651 |
| $P(\text{miss both of next 2 samples})$ | 0.0042 (0.42%) |
Given. $\hat\mu_0=20$, $\hat\sigma=2.215$ (from part (b)); shift target $\mu_1=23$; required average run length $ARL\le 4$; the $\bar X$ chart keeps its standard $\pm3\hat\sigma/\sqrt n$ limits about $\mu_0=20$ for each candidate $n$.
Find. The minimum future sample size $n$.
Approach. $ARL=1/p$, where $p$ is the probability a single sample signals once the mean has shifted to $\mu_1$; require $p\ge 1/ARL=0.25$ and search over integer $n$, recomputing the $\pm3\hat\sigma/\sqrt n$ limits and $p(n)$ each time.
| Quantity | Value |
|---|---|
| Required $p=1/ARL$ | $\ge 0.25$ |
| $n=2$: $p$, ARL | 0.139, 7.19 (fails) |
| $n=3$: $p$, ARL | 0.257, 3.90 (passes) |
| Minimum sample size | $n=3$ |