UNIT7 - Statistical Process Control
UNIT7 - Statistical Process Control
UNIT 7: STATISTICAL
PROCESS CONTROL
7.1. INTRODUCTION
3
FOUNDATIONS
• In any production process, a certain amount of natural variability will always exist.
A process that is operating with only inherent causes of variation present is said
to be in statistical control.
• The mean and the standard deviation of the process can shift to out-of-control
values due to assignable causes. In that case, the process output will not conform
to requirements.
4
FOUNDATIONS
• No process is truly stable forever, and, eventually, assignable causes will occur.
• The control chart is an on-line process-monitoring technique widely used for this
purpose.
• The control chart may also provide information useful in improving the process. The
CONTROL CHART
• The control chart is a graphical display of a characteristic measured from a sample, e.g.
CONTROL CHART
• If a point plots outside of the control limits, or the points behave in a systematic or
nonrandom manner, is interpreted that the process is out of control, and the
assignable causes for this behavior should be found and eliminated. If so, the
process performance can be improved.
• If the process is in control, all the plotted points should have a random pattern.
exceeds either control limit, we conclude that the process mean is out of control,
which is equal to some value of the process mean μ1 ≠ μ0 (i.e. rejecting the
hypothesis of process mean equal to μ0).
8
EXAMPLE
Semiconductor manufacturing: an important measure during the last step is the flow
width of the resist. Samples of size n = 5 are take every hour. The sample average 𝒙 is
plotted in order to monitor the process
mean.
EXAMPLE
• If the process is in control, 100(1-α)% of the sample means 𝑥̅ would fall between 1.5 +
• It is equivalent to setting up the critical region for testing the hypothesis about the
EXAMPLE
11
GENERAL MODEL
• Let w be a sample statistic that measures some quality characteristic of interest,
whose mean and standard deviation are μw and σw, respectively. Then the control limit
become:
• The “distance” L of the control limits from the center line is expressed in standard
deviation units.
12
• Control Charts for Attributes: we may count the number of nonconforming units
• The design of the control chart consists in the selection of the sample size, control
• By moving the control limits farther from the center line, we decrease the risk of
a type I error, that is, the risk of a point falling beyond the control limits, indicating
an out-of-control condition when no assignable cause is present.
• However, widening the control limits will also increase the risk of a type II error,
i.e. the risk of a point falling between the control limits when the process is really
out of control.
• If we move the control limits closer to the center line, the opposite effect is obtained:
The risk of type I error is increased, while the risk of type II error is decreased.
14
• In the previous example, where 3-sigma control limits were used, if we assume
that the flow width is normally distributed, we find from the standard normal table
that the probability of type I error is 0.0027 (and the probability that an in-control
process will exceed the three-sigma limits in one direction is 0.00135).
• Another option is to choose the type I error probability and calculate the
• We could add additional limits, which are called warning limits (usually at 2-sigma
distance):
0.025 limits.
mean.
• ARL (Average Run Length) is the average number of points that must be plotted
• For the example with 3-sigma limits, the value ARL0 (when the process is in
control) is:
• The drawback is that the standard deviation of the run length is very large (in the
• If the process goes out of control, ARL1 points out the number of samples to detect
the process shift. If n=5 and the process mean shifts to 1.725, the probability of 𝑥̅
falling between the control limits is approximately 0.35.:
1 1
ARL1 1.54
p 1 0.35
ANALYSIS OF PATTERNS
• A control chart may also indicate an out-of-control condition when the plotted points
exhibit some nonrandom pattern of behavior. (If the process were in control, all points
should appear to be random).
ANALYSIS OF PATTERNS
The pattern is nonrandom and the process is out of control if:
1. One or more points outside of the control limits.
2. Two of three consecutive points outside the two-sigma warning limits but still inside the control
limits.
3. Four of five consecutive points beyond the one-sigma limits.
• Warning: when using several
4. A run of eight consecutive points on one side of the center line.
decision rules simultaneously,
5. Six points in a row steadily increasing or decreasing.
the overall type I error (false
6. Fifteen points in a row in zone C. alarm probability) increases:
7. Fourteen points in a row alternating up and down.
8. Eight points in a row on both sides of the center line with none in zone C.
constructing trial control limits. Points that are outside the control limits are
investigated, looking for potential assignable causes and making an effort to
eliminate them. Points outside the control limits are then excluded and a new set of
revised control limits calculated. After several cycles, the process is stabilized.
• Phase II: we use the control chart to monitor the process by comparing the
sample statistic for each successive sample as it is drawn from the process to the
control limits.
23
INTRODUCTION
• A single measurable quality characteristic (can be expressed in terms of a numerical
• it is usually necessary to monitor both the mean value of the characteristic (sample
• Shifts in the process mean or standard deviation can result in a high fraction of
STATISTICAL BASIS
• We know that 𝑥̅ is normally distributed (central limit theorem) with mean μ and
STATISTICAL BASIS
• In practice, μ and σ are not known. In that case, the best estimator of μ is the
• The range of each sample is the difference between the largest and smallest
observation:
STATISTICAL BASIS
STATISTICAL BASIS
• There is relationship between the Range of a sample from a normal distribution and
the standard deviation of that distribution (σ): random variable W = R/σ, called
relative range. The parameters of the distribution of W are a function of the sample
size n (the mean of W is d2). Thus, an unbiased estimator of σ is:
STATISTICAL BASIS
• Now consider the R chart. The standard deviation of W, say d3, is a known function
• The parameters of the R chart with the usual 3-sigma control limits are:
30
EXAMPLE
EXAMPLE
EXAMPLE
PROCESS CAPABILITY
• The control chart data may be used to describe the capability of the process to
• In the previous example, specification limits are 1.50±0.50, and the process
PROCESS CAPABILITY
• Another option is the process capability ratio Cp, where the denominator is the
• We can also compute the percentage of the specification band that the process
uses up:
35
• There is no mathematical or
statistical relationship between the
control limits and specification
limits. The latter are determined
externally.
36
• Phase I: each of the out-of-control points are examined, looking for an assignable
cause. If an assignable cause is found, the point is discarded and the trial control
limits are recalculated.
• Once a set of reliable control limits is established, we use the control chart for
monitoring future production. This is called phase II control chart usage. When a
point plots out of the control limits, we should investigate if an assignable cause has
occurred at or before that time.
37
EXAMPLE
Phase II Operation:
twenty additional
samples were
collected after the
control charts were
established.
38
EXAMPLE: PHASE II
• Samples 43 and 45
• In addition, the
general pattern of
points on the chart
from sample 38
onward is indicative
of a shift in the
process mean.
39
• It is sometimes helpful
INTERPRETATION
• In interpreting patterns on the 𝑥̅ chart, we must first determine whether or not the R
chart is in control. If both charts exhibit a nonrandom pattern, the best strategy is to
eliminate the R chart assignable causes first.
INTERPRETATION
• Mixture: very few points near the center
INTERPRETATION
• Trend: are usually due to a gradual
deterioration of a tool, or operator fatigue.
OPERATING-CHARACTERISTIC FUNCTION
• The probability of not detecting a shift from the in-control mean value μ0 to
OPERATING-CHARACTERISTIC CURVE
• The OC curve plots the β-risk against the
INTRODUCTION
• Not all quality characteristics can be expressed with variables data. Some products
• Attributes data: a control chart for the fraction of nonconforming units could be
STATISTICAL BASIS
• The probability that any unit will not conform to specifications is p. If a random
STATISTICAL BASIS
CONTROL CHART
• By using the mean and the variance of the statistic w that measures the quality
characteristic (L=3):
CONTROL CHART
• When p is unknown, it must be estimated from observed data. The usual procedure
fraction nonconforming p:
• The limits of the
CONTROL CHART
• The control limits previously defined should be regarded as trial control limits
(phase I). Any points that exceed the trial control limits should be investigated. If
assignable causes for these points are discovered, they should be discarded and
new trial control limits determined.
value for the process fraction nonconforming. If future samples indicate an out-of-
control condition, we must determine whether the process is out of control at the
target p but in control at some other value of p.
53
EXAMPLE
• First of all, We construct a phase I control chart using this preliminary data to
determine if the process was in control when these data were collected.
EXAMPLE
• We note that 2 points plot
• Consequently, samples
15 and 23 are eliminated,
and new control limits are
Calculated.
56
EXAMPLE
EXAMPLE
• Analysis of sample 21 does
not produce any reasonable
or logical assignable cause
for this, so we can retain the
point.
• We conclude that the
process is in control at level
p=0.215. The the revised
control limits should be
adopted for monitoring
production (phase II).
58
EXAMPLE
• After machine adjustments, 24 samples of n = 50 observations each are collected:
59
EXAMPLE
• Point from sample 41 is below LCL. However, no assignable cause for this out-of-control
EXAMPLE
• We may formally test the hypothesis that the process fraction nonconforming after
the machine adjustments differs from the process fraction nonconforming in the
preliminary data:
EXAMPLE
• In our example:
• Comparing this to the upper 0.05 point of the standard normal distribution, we find
that Z0 = 7.10 > Zα/2 = 1.645. Consequently, we reject H0 and conclude that there
has been a significant decrease in the process fallout.
62
EXAMPLE
• It seems logical to
revise the control limits
again, using only the
most recent samples
(numbers 31–54).
• If there is one nonconforming unit in the sample, 𝑝̂ > UCL, which is unreasonable :
66
• Using the Poisson approximation to the binomial, we find that λ = n∙p must exceed
3. Since p = 0.01, this implies that the sample size n should be 300.
67
• We should choose n so that the upper control limit exactly coincides with the
• Suppose that p = 0.01, and we want the probability of detecting a shift to p = 0.05 to
be 0.50:
68
control chart will have a positive lower control limit. This force us to investigate
samples containing an unusually small number of nonconforming items.
NP CONTROL CHART
• It is also possible to base a control chart on the number nonconforming rather
50 and 𝑝̅ 0.213:
OPERATING-CHARACTERISTIC FUNCTION
• The operating-characteristic (or OC) function is a graphical display of the probability
OPERATING-CHARACTERISTIC FUNCTION
• For a control chart with parameters 𝑝̅ = 0.2, n=50, UCL=0.3697 and LCL=0.0303:
• When p<0.1 (and sample size is large), the Poisson approximation λ = n∙p can be
used. In case p takes a greater value (at least p=0.5 and n>10; for smaller values of p,
a larger sample size is required, provided that nꞏp>4.5), the Normal approximation
could be used (with mean = n∙p and variance = n∙p(1-p)).
73
OPERATING-CHARACTERISTIC CURVE
• Calculations to generate the OC curve for a control chart with parameters n=50, UCL=0.3697
and LCL=0.0303:
74
OPERATING-CHARACTERISTIC CURVE
• The OC curve is plotted in the following figure:
of the limits:
1
ARL
p(sample point plots out of control)
OPERATING-CHARACTERISTIC CURVE
• The probabilities α and β can be calculated directly from the binomial distribution or
read from an OC curve. Consider a process with 𝑝̅ = 0.2, n=50, UCL=0.3697 and
LCL=0.0303. If the process is in control with p = 𝑝̅ , we will have α = 0.0027:
• Increasing the sample size would result in a smaller value of β and a shorter out-of-
control ARL1.