SPC Introduction Final
SPC Introduction Final
Process Control
Kvalitetsflow 2015
1
2
Suggested Program
Day 1
08.00-09.50 8.00-8.30 Welcome – Presentation and introduction
8.30-8.55 Over view of SPC – The basics
9.00 – 9.50 The reason for SPC – flow chart Variation
Coffee
10.10.-12.10 10.10-11.00 SPC – Cpk – Six Sigma – short discussion
11.05-12.10 What type of chart in different situations
Lunch
12.40-15.00 12.45-13.15 Setting up SPC Systems
13.20-14.15 Checklist : Ready to measure ?
14.20-14.40 Discussion – What do need the most ?
14.50-15.00 Planning for day 2
3
Suggested Program
Day 2
08.00-09.50 8.00-8.30 Setting up SPC in QDA
8.30-8.55 Make QDA fit to your data
9.00 – 9.50 Case: try it on your data
Coffee
10.10.-12.10 10.10-11.00 Case: try it on your data
11.05-12.10 Analysis and reporting
Lunch
12.40-15.00 12.45-13.15 Analysis and reporting
13.20-14.15 Additional theory?
14.20-14.40 Analysis on your data – setting up reports
14.50-15.00 Evaluation and actions agreed
Training in SPC
and Setting up
SPC in QDA
4
5
Sigma = = Deviation
( Square root of variance )
1
2
3
5
6
7
0
4
between + / - 1 68.27 % result: 317300 ppm outside
(deviation)
between + / - 2 95.45 % 45500 ppm
Problem Definition
• What do you want to improve?
• What is your ‘Y’?
Reduce
Complaints
(int./ext.)
Reduce Reduce
Defects Cost
Control Phase
How to create a Control Plan: (one
suggestion...)
Control Phase
Control Plan Tools:
Control Phase
How do we select the correct Control Chart:
Attributes Variables
Type
Data
Measuremen
Individuals t of
Defects Graph defects Defectives
of defectives
Ind. Meas. or subgroups
subgroups
Yes
Oport. Area Yes
Normally dist. Interest in Yes
constant from
C, u data X, Rm sudden mean
sample to
changes
sample
No No
No
If mean is big, X
u and R are effective MA, EWMA or X-R
too CUSUM and Rm
Yes
Size of the
subgroup p, np Use X - R chart
constant
with modified
More efective to
rules
No detect gradual
Ir neither n nor p
changes in long
are small: X - R, X
term
p - Rm are effective
15
16
Variability
8
7
Deviation = distance between 10
observations and the mean (or 8
average) 9
Emmett
Results for “Emmett”
Observations Deviations
10 10 - 8.4 = 1.6
9 9 – 8.4 = 0.6
8 8 – 8.4 = -0.4
8 8 – 8.4 = -0.4
7 7 – 8.4 = -1.4 Jake
averages 8.4 0.0
19
Variability
Deviation = distance between
observations and the mean (or average)
Emmett
Observations Deviations
7 7 – 6.6 = 0.4 7
7 7 – 6.6 = 0.4 6
7 7 – 6.6 = 0.4 7
6 6 – 6.6 = -0.6 7
6 6 – 6.6 = -0.6
6 Jake
averages 6.6 0.0
20
Variability 8
7
Variance = average distance between 10
observations and the mean squared 8
9
Emmett
Variability
Variance = average distance between
observations and the mean squared
Emmett
Variability
Variance = average distance between
observations and the mean squared
Emmett
Variability
Standard deviation = square root of
variance
Emmett
Jake
24
Variability
The world tends to be bell-shaped
Variability
Even outcomes that are equally likely (like dice),
Here is why: when you add them up, become bell shaped
26
Causes of Variability
Common Causes:
Random variation (usual)
No pattern
Inherent in process
adjusting the process increases its variation
Special Causes
Non-random variation (unusual)
May exhibit a pattern
Assignable, explainable, controllable
adjusting the process decreases its
variation
28
Process
mean
+/- 3 Sigma
+/- 6 Sigma
29
Sampling Distribution
Sampling
distribution
Process
distribution
Mean
31
Normal Distribution
Standard deviation
99.74%
32
Control Limits
Sampling
distribution
Process
distribution
Mean
Lower Upper
control control
limit limit
33
SPC Errors
Type I error
Concluding a process is not in control when
it actually is.
Type II error
Concluding a process is in control when it is
not.
34
Type I Error
/2 /2
Mean
LCL
1 2 3 4
Sample number
36
Control Chart
Control Chart
Purpose: to monitor process output to see if
it is random
A time ordered plot representative sample
statistics obtained from an on going
process (e.g. sample means)
Upper and lower control limits define the
range of acceptable variation
37
Control Chart
Abnormal variation Out of
due to assignable sources control
UCL
Mean
Normal variation
due to chance
LCL
Abnormal variation
due to assignable sources
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Sample number
38
Attribute data
For “defectives” (p-chart, np-chart)
For “defects” (c-chart, u-chart)
42
Use QDA it is
much easier
44
Next Steps
Determine trial control limits
Center line (process average)
Compute UCL, LCL
Analyze and interpret results
Determine if in control
Eliminate out-of-control points
Recompute control limits as necessary
45
Limits
Process and Control limits:
Statistical
Process limits are used for individual items
Control limits are used with averages
Limits = μ ± 3σ
Define usual (common causes) & unusual
(special causes)
Specification limits:
Engineered
Limits = target ± tolerance
Define acceptable & unacceptable
Process vs. control limits
46
Distribution of averages
Control limits
Specification limits
Distribution of individuals
Process limits
R max( X i ) min( X i )
48
X bar charts
Center line is the grand mean (X double
bar)
m
Points are X bars
x / n
X j 1
j
X
m
UCL X z x LCL X z x
-OR-
UCL X A2 R LCL X A2 R
49
R Charts
Center line is the grand mean (R bar)
Points are R
D3 and D4 values are tabled according
to n (sample size)
UCL D4 R LCL D3 R
50
c
c i 1
centerline
m
LCL c z c
UCL c z c
Attribute Charts
p charts – used to track
a proportion (fraction)
defective
m
p x n
x
p j 1
centerline
i
ij p
i
i 1
n
m nm
p (1 p ) p (1 p )
UCL p z LCL p z
n n
53
UCL
UCL
Does not
R-chart
detect shift
LCL
55
Sampling
Distribution (process variability is increasin
UCL
Does not
x-Chart
LCL
reveal increase
UCL
Use of p-Charts
When observations can be placed into
two categories.
Good or bad
Pass or fail
Operate or don’t operate
Whenthe data consists of multiple
samples of several observations each
58
Use of c-Charts
Use
only when the number of
occurrences per unit of measure can be
counted; non-occurrences cannot be
counted.
Scratches, chips, dents, or errors per item
Cracks or faults per unit of distance
Breaks or Tears per unit of area
Bacteria or pollutants per unit of volume
Calls, complaints, failures per unit of time
59
Run Tests
Run test – a test for randomness
Any sort of pattern in the data would
suggest a non-random process
All points are within the control limits - the
process may not be random
61
Nonrandom Patterns in
Control charts
Trend
Cycles
Bias
Mean shift
Too much dispersion
62
Cycles
66
Trend
67
Final Steps
Use as a problem-solving tool
Continue to collect and plot data
Take corrective action when necessary
Compute process capability
68
Process Capability
Tolerances or specifications
Range of acceptable values established by
engineering design or customer
requirements
Process variability
Natural variability in a process
Process capability
Process variability relative to specification
69
Process Capability
Lower Upper
Specification Specification
A. Process variability
matches specifications
Lower Upper
Specification Specification
B. Process variability
Lower Upper
well within specifications Specification Specification
C. Process variability
exceeds specifications
Process Capability Ratio
specification width
Process capability ratio, Cp =
process width
70
71
Traditional
cost function
Cost
Taguchi
cost function
Taguchi
Quality
through
design
1) Product must
bee robust
to variation The ”Taguchi” philosophy
Lower tolerance Upper tolerance
in process
2) Loss is equal
to distance
from
nominal
But in reality it looks like this ?
The OK /NOK quality
Lower tolerance Upper tolerance
75
Limitations of Capability
Indexes
Process may not be stable
Process output may not be normally
distributed
Process not centered but Cp is used
Process Capability
Theratio of process
variability to design Text Text Text Text Text Text
The natural
-3σ -2σ - µ +1σ +2σ +3σ spread of the
1σ data is 6σ
Lower Upper
Spec Spec
77
Empirical Rule
-3 -2 -1 +1 +2 +3
68%
95%
99.7%
78
Gauges and
Measuring Instruments
Variable gauges
Fixed gauges
Coordinate measuring machine
Vision systems
79
Examples of Gauges
80
Metrology - Science of
Measurement
• Accuracy - closeness of agreement
between an observed value and a
standard
• Precision - closeness of agreement
between randomly selected individual
measurements
81
Repeatability and
Reproducibility
Repeatability (equipment variation) –
variation in multiple measurements by an
individual using the same instrument.
Reproducibility (operator variation) -
variation in the same measuring
instrument used by different individuals
82
Repeatability and
Reproducibility Studies
Quantify
and evaluate the capability of a
measurement system
Select m operators and n parts
Calibrate the measuring instrument
Randomly measure each part by each
operator for r trials
Compute key statistics to quantify
repeatability and reproducibility
83
Use QDA it is
Parts (j from 1 to n) in
Trials (k from 1 to r)
M ijk
xi j k average for each op erator
much easier
nr
xD max ( xi ) min ( xi ) difference (range) of op erator averages
i i
R ij max ( M ijk ) min ( M ijk ) range for each p art for each op erator
k k
Rij
Ri j average range for each op erator
n
Ri
R i average range of all
m
84
Use QDA it is
Rep eatability or Equip ment Variation
EV K1 R K1 is a constant tied to # of trials
Rep roducibility or op erator (ap p raisal) variation
EV 2
K 2 xD 2
much easier
AV nr K 2 is a constant tied to # of op erators
Rep eatability and Rep roducibility
R&R EV 2 AV 2
R&R Constants
Number of Trials 2 3 4 5
Number of Operators 2 3 4 5
R&R Evaluation
Under 10% error - OK
10-30% error - may be OK
over 30% error - unacceptable
87
Process Map
Fishbone
Historical Data
88
RATIONAL SUBGROUPS
Minimize variation within subgroups
BLACK NOISE Maximize variation between subgroups
(Signal)
WHITE NOISE
(Common Cause
Variation)
RESPONSE
PROCESS
TIME
RATIONAL SUBROUPING Allows samples to be taken that
include only white noise, within the samples. Black noise
occurs between the samples.
89
Within Group
Time 1
Time 2
Time 3
Time 4
Time 1
Time 2
Time 3
Time 4
•Called shift (truly a
measurement in sigmas of how
far the mean has shifted)
•Indicates our process control
st + shift = total •The vital few
Between Groups
91
Assignable Cause
Outside influences
Black noise
Potentially controllable
How the process is actually performing
over time
Fishbone
92
Gauge R&R
In many cases, the data sample can be transformed so that it is approximately normal. For example, square roots,
logarithms, and reciprocals often take a positively skewed distribution and convert it to something close to a bell-
shaped curve
95
What do we Need?
LSL USL LSL USL
75% 9
DBP 1
10 0 Day DBP
9 4 1
10 50% 9
0
9
4 9
1
DBP
25%
99 9
0 Operator
14
94
4
0
9 9
9
1
0 Shift 9
Statistical Analysis
5
20
Frequency
Frequency
4
3
10
2
0 0
0.000 0.005 0.010 0.015 0.020 0.025 0.000 0.005 0.010 0.015 0.020 0.025
New Machine Machine 6 mths
Regression Analysis
Regression Plot
Y = 2.19469 + 0.918549X • Is the factor really important?
R-Sq = 86.0 %
50
40
the factor?
Y
30
10 Regression
95% PI
0
5 15 25 35 45 55
impact
X
M.A.D
Stop
Adjust
Technical process &
design
Requiremen
t
Con- Preliminary Identify
Obtain Data on Calculate Z Rev 0
sumer Drawing/Databas Critical
Similar Process values Drawing
Cue e Process s
Identity
CTQs
Stop
Fix process
1st piece & design
inspection
Z<3
Prepilot Recheck
Data ‘Z’ levels
Obtain data
Z>= Design
Intent M.A.I.C
Pilot data
100
Excercise