Ch3 How the SPC works
Ch3 How the SPC works
2
Chapter Outline
• Section 3.1: Hypotheses: In Control and Out-of-control
Process
• Section 3.2: Control Charts
• Section 3.3: Choice of Control Limits, Sample Size and
Sampling Frequency
– Average Run Length (ARL)
– Average Time to Signal (ATS)
• Section 3.4: Phase I and Phase II of Control Chart Application
3
Section 3.1
Hypotheses: In Control and Out-of-control Process
4
In Control and Out-of-control Process
Variations in a process can be classified by either of the following:
1. Common Cause of Variation:
– Driven by natural variability (i.e. background noise)
– Cumulative effect of many small, unavoidable causes in each
production step (inherent in all process)
2. Special Causes of Variation:
– Arises from (i) improperly controlled machines, (ii) wrong tool,
(iii) defective raw material, (iv) operating errors, …
– Usually LARGE compared with the background noise
=> unacceptable to the process performance.
Definition: An in control process is a process that is operating with
common causes of variation ONLY.
Definition: An out-of-control process is a process that is operating
in the presence of special causes. 5
Common and Special Causes of Variation
Special causes of variation would cause (1) a shift in mean,
and/or (2) an increase in variability of the quality characteristic
Process Shift in mean and
Out-of-Control increase in
variability:
Increase in
variability
Shift in mean:
Special cause of
Process in variation is present
control: Only
common cause
of variation
6
Hypothesis Testing in SPC
1. Samples of products are obtained periodically
2. At each time point,
– Measure the quality characteristics of the sample
– Obtain the summary statistics of the quality characteristics
– Test the following hypotheses:
H0: Process in control
H1: Process out-of-control
Challenge: Too complicated to perform hypothesis testing one-
by-one over time
Solutions: Construct Acceptance Regions over time, and
compare them with the summary statistics obtained from the
sample => Control Chart
7
Section 3.2
Control Charts
8
Statistical Basis of the Control Chart
• Control Chart: Plot of summary statistic of a quality
characteristic for different samples over time
• Typical control chart: Contains (1) a center line (CL), (2) an
upper control limit (UCL) and (3) a lower control limit (LCL)
Typical Control Chart
quality characteristic
Sample Mean of a
Acceptance
0 region with
significance
level α
Sample number 10
Identification of In Control and Out-of-control Processes
If a point plots outside the control limits, we reject H0 and
conclude that the process is out-of-control.
Action: Investigation of special cause + corrective action to
eliminate the special cause
If all the points plot within the control limits, we accept H0
and conclude that the process is in control.
** However, if the points behave in a systematic or non-
random manner over time (next 5 pages), it could be an
indication that the process is out-of-control in the near future -
May want to stop the process and figure out the possible
causes.
11
Systematic Pattern from the Control Charts
1. Cyclic Pattern: May due to the systematic change in
environment, such as
(a) temperature
(b) regular rotation of operators/machines
(c) fluctuation in voltage or pressure.
12
Systematic Pattern from the Control Charts
2. A Mixture – Points mostly around the two control limits,
with relatively few points near the center line
• The pattern could be generated from two (or more)
distributions with different mean values
• Causes: (a) frequent process adjustment by the operator
(b) output products from several sources (e.g. parallel
machines) feeding into a common stream before sampling
13
Systematic Pattern from the Control Charts
3. Shift in Process Level: May due to
(a) the introduction of new workers
(b) changes in raw material/machines
(c) change in inspection method/standard
(d) change in skill/attentiveness/motivation of the operator
14
Systematic Pattern from the Control Charts
4. A Trend: May due to
(a) gradual deterioration of a tool/process component
(b) human causes. E.g, operator fatigue without the
presence of supervision
15
Systematic Pattern from the Control Charts
5. Stratification – Points cluster around the center line.
• Lack of natural variability
• May due to incorrect calibration of control limits.
E.g. During Phase I, a sample of size 5 is obtained by taking
one observation from each of the five parallel processes –
which takes the between-sample variability into a sample.
16
Shewhart Control Charts
Walter Shewhart (pronounced like "shoe-heart”)
• an American statistician, known as the father
of statistical quality control.
• worked in Bell Telephone Laboratories to
improve the reliability of the transmission
system – introduced control charts
• Shewhart control charts: The first and the
simplest kind of control charts.
17
Shewhart Control Charts
Let w be a sample statistic (e.g. x ) of a quality characteristic.
Let μw and σw be the mean and standard deviation of W
Shewhart Control Charts: The center line (CL), upper control
limit (UCL) and lower control limit (LCL) can be expressed by
the following over all samples:
UCL w L w
CL w Lσw
LCL w L w Lσw
19
Section 3.3
Choice of Control Limits, Sample Size
and Sampling Frequency
20
Choice of Control Limits
Choice of Control Limits: Critical decisions in designing a
control chart:
• If the control limits are too far away from the center line,
– decrease the probability of a type I error α
i.e. Pr(out-of-control signal | Process in control)
– increase the probability of a type II error β
i.e. Pr(in control signal | Process out-of-control)
• If the control limits are too close to the center line,
– increase the probability of type I error α
– decrease the probability of type II error β
21
Choice of Control Limits
• Standard Practice in the US: 3-sigma control limits
Assume that the quality characteristic is normally
distributed(*).
α =Pr(Type I error) = 2( 3) = 2(0.00135)= 0.0027
Interpretation: We expect 27 incorrect out-of-control
signals generated in every 10,000 points, sampled from an
in control process
Unless specified, we assume that all the control limits
are 3-sigma control limits for the rest of this course.
Easier to
n=5 detect small
shifts using
large samples
n=10
n=15
0.002 ARL=370
0.001
0
53
106
477
0
159
212
265
318
371
424
530
583
636
689
742
795
848
901
954
1007
1060
27
Average Time to Signal (ATS)
• Definition: Average Time to Signal (ATS) is the expected
time (in hours) to obtain an out-of-control indication. That
is,
ATS ARL h
where h (in hours) is the sampling frequency.
• Example: Consider a normal 3-sigma control chart
(i.e. p=2(-3)=0.0027 and ARL=1/p=370). If the sampling
takes place every 30 minutes, then the average time to
signal when the process is in control is given by
ATS = 370x(0.5 hour)= 185 hours
In other words, we expect a false alarm (out-of-control
indication during an in control process) in every 185 hours.
28
Average Time to Signal (ATS)
Example: In a production of wafers (晶圓), the target value of the
flow width is 1.5microns (10-6 metre). The process is currently out-
of-control, with the mean shifted to 1.725microns.
Suppose that sample size n=5 and sampling frequency = 1 hour.
(a) What is average run length and average time to signal of the
process?
Pr(LCL< x-bar < UCL)
n=5
n=10
n=15
31
Average Time to Signal (ATS)
Solutions (cont’d): By comparing (i) ATS = 0.77 hour and (ii)
ATS = 1.09 hour, we conclude that the increase in sampling
frequency * would be more effective in detecting an out-of-
control condition.
32
Section 3.4
Phase I and II of Control Chart Application
33
Phase I and Phase II of Control Chart Application
Phase I (Testing Phase)
• Large sample of process data is
gathered for retrospective (i.e.
backward looking) analysis,
Phase II
• Construct trial control limits
(Production Phase)
• If there are points outside the trial
control limits, • Stable Control Limits
from in Phase I to
– Investigate potential special
monitor the process
causes, and eliminate those
causes from the process
– exclude those points and
obtain a revised control limits
• Repeat the previous step until
stable control limits are obtained.
34
Implementation of Phase I
During Phase I,
• Shewhart control charts are very effective because
– they are easy to be constructed and interpreted, and
– they are effective in detecting both large, sustained shifts
in the process parameters and outliers
– patterns on Shewhart control charts are easy to interpret
and have physical meaning.
• Average run length (ARL) is not a good performance
measure: More interested in probability of an special cause
to be detected, but not the occurrence of false alarms.
35
Implementation of Phase II
• Special causes of variation are smaller, as most of the ugly
sources of variability have been removed during phase I.
• Average run length (ARL) is a good measure to evaluate
the performance of a control chart.
• Shewhart control charts are less likely to be effective in
phase II because they are not very sensitive to small and
moderate size process shifts (Chapter on Process Capability)
36