Académique Documents
Professionnel Documents
Culture Documents
Introduction
The production processes are not perfect!
Which means that the output of these processes will not be
perfect correct and deterministic.
Successive runs of the same production process will produce
non-identical parts.
Alternately, seemingly similar runs of the production process
will vary, by some degree, and impart the variation into the
some product characteristics.
Because of these variations in the products, we need
probabilistic models and robust statistical techniques to
analyze quality of such products.
2
Introduction
No matter how carefully a production process is controlled,
these quality measurements will vary from item to item, and
there will be a probability distribution associated with the
population of such measurements.
If all important sources of variations are under control in a
production process, then the slight variations among the
quality measurements usually cause no serious problems.
Such a process should produce the same distribution of quality
measurements no matter when it is sampled, thus this is a
stable system.
Introduction
Objective of quality control is to develop a scheme for
sampling a process, making a quality measurement of interest
on sample items, and then making a decision as to whether or
not the process is in the stable state, or in control.
If the sample data suggests that the process is out of control,
a cause is for the abnormality is sought.
A common method for making these decisions involves the
use of control charts.
These are very important and widely used techniques in
industry, and everyone in the industry, even if not directly
related to quality control, should be aware of these.
4
SPC
Statistical process control
Methodology for monitoring a process to identify special
causes of variation and signaling the need to take corrective
action.
When special causes are present, the system said to be
statistically out of control.
If the variations are due to common causes alone, the process
is said to be in statistical control.
SPC relies heavily on control charts.
The x chart
A typical quality control plan requires sampling one or more
items from a production process periodically, and making
the appropriate quality measurements.
Usually more than one items are measured each time to
increase accuracy and measure variability.
The x chart helps the quality control person decide whether
the center (or average, or the location of central tendency)
of the measurement has shifted.
The x chart
Suppose that n observations are to be made at each time in
which the process is checked.
Let Xi be the ith observation (i = 1,,n) at the specified time
point.
Let X j be the average of n observations at time j. If
E X i and Var X i 2
for a process in control, then X j should be approximately
normally distributed with
E X j and Var X j 2 / n.
The x chart
Now since X j has approximately a normal distribution, we
can find the interval that will have a probability of 1- of
containing X j .
This interval is z / 2
n
If the mean and variation of the population (the and ) is
known then,
we can set the lower control limit at
,
n
z / 2
,
n
10
The x chart
If a control chart is being constructed for a new process, the
and (the population parameters) will not be known and
hence must be estimated from the sample data.
For establishing control limits, it is generally recommended
that at least 30 time points be sampled before the control
limits are calculated.
For each of the k samples, we compute the sample mean, the
sample variance, and the range ( X j , S j , R j ) .
Note that the range of a sample is the difference between the
largest and smallest value in the sample.
11
The
x chart
S `2j
The
x chart
S`
is an unbiased estimator for .
c2
S`
becomes : X z / 2
n
c2 n
3
c2 n
The x chart
Computation of the mean standard deviation can be avoided
by using the range data instead of calculating the adjusted
standard deviation.
1 k
R Rj.
k j 1
Though R has a relationship with , it is not an unbiased estimator.
R
However, the ratio is! Here, d 2 is obtained from std. ref. tables.
d2
14
The x chart
Thus, the new control limit becomes :
X z / 2
R
d2 n
where A2
or X A2 R ,
3
d2 n
15
The r-Chart
Deciding whether the center of the distribution of quality
measurements has shifted up or down may not be enough.
It is frequently of interest to decide if the variability of the
process measurements has significantly increased or
decreased.
A process that suddenly starts turning out highly variable
products could cause severe problems in the operations.
Since we already have established the fact that there is a
relationship between the ranges (Rj) and , it would be natural
to base our control chart for variability on the Rjs.
A control chart for variability could be based on the adjusted
std dev also (Sj), but use of ranges provides nearly as much
accuracy for much less computation.
16
The r-Chart
Using the same argument as control chart for central tendency
(x-bar), one could argue that almost all the Rjs should be
within three standard deviations of the mean of Rj. Now
E R j d 2 ;
Var R j d 32 2 ;
where d 2 and d 3 are found in std ref. tables.
The confidence interval, then, is :
d 2 z / 2 d 3 d 2 z / 2 d 3
17
The r-Chart
As in the previous chart, if is not specified, it must be
estimated from the data. The best estimator of based on the
range is R / d 2, and the estimator of the control then becomes:
R
d3
d 2 z / 2 d 3 ; or R 1 z / 2
d2
d2
18
The r-Chart
d3
d3
Letting, 1 3 D3 ; and 1 3 D4 , the control limit becomes
d2
d2
R D , R D .
3
19
R
i 1
x
i 1
UCLR D4 R;
UCLx x A2 R
LCLR D3 R;
LCLx x A2 R
20
1.
2.
21
24
25
Process capability
Particularly process characteristics study: Performed over a
period of time under actual operating conditions to capture the
variations in material and operators.
Here we differentiate between the control limits and specified
tolerance limits (also called specification limits).
Control limits are obtained from the data itself. Probability of
finding similar data within the calculated control limits can be
found.
Specification limits are specified by product/process designers.
Process capability study checks the probability of getting
product dimension within the specified limits.
26
Process capability
Note that we are interested in finding individual product
dimensions within limits (and not the sample means).
We need to use the estimate for population variance and
not variance of sample mean.
From the previous analyses, we have:
R
S`
Population std.dev. : or
c2
d2
Process capability
Let the specified tolerance limits be (a, b).
To determine that the process of capable of producing parts
within these limits, we calculate the probability of finding
parts outside these limits. Hence, calculate
bx
x a
z1 and z 2
Process capability
From the numerical example, let a 16.0, b 16.75.
x 16.37; S ` 0.31
0.31
For n 5, c2 0.8407.
0.37.
0.8407
16.75 16.37
z1
1.027
0.37
16.37 16.0
z2
1.0
0.37
Prob. to the right of z1 is 0.5 - 0.348 0.152
Prob. to the left of z 2 is 0.5 - 0.341 0.159
Total prob. that product does not meet the specification 31.1%
29
Process capability
From the numerical example, let a 16.0, b 16.75.
x 16.37; R 0.85
0.85
For n 5, d 2 2.326.
0.365.
2.326
16.75 16.37
z1
1.041
0.365
16.37 16.0
z2
1.013
0.365
Prob. to the right of z1 is 0.5 - 0.3508 0.149
Prob. to the left of z 2 is 0.5 - 0.3438 0.156
Total prob. that product does not meet the specification 30.5%
30
Process capability
PCI Process Capability Index
UTL LTL
.
6
For the numerical example :
b a 16.75 16.0
Cp
0.337.
6
6 * 0.37
Cp
The p-Chart
The control charts we looked at so far were applicable to
quality measurements that possessed continuous probability
distribution.
This sampling is commonly referred to as sampling by
variables.
In many cases we merely want to assess whether or not a
certain item is defective.
We can observe a number of defective items from a particular
sample of series of samples. This is referred as sampling by
attributes.
32
The p-Chart
Suppose a series of k independent samples, each of size n, is
selected for a particular process.
Let p denote the proportion of defective items in the
population (total production for a certain time period) for a
process in control.
Let Xi denote the number of defective items in the ith sample.
Then Xi is a binomial variable, assuming random sampling
from a large lot, with mean E(Xi) = np, and Var(Xi) = np(1-p).
We typically consider the fraction of defective items in a
sample (Xi/n) rather than the observed number of defectives.
33
The p-Chart
All sample fractions should lie within three standard deviations
of their mean, or in the interval
p (1 p )
p3
n
since, E X i / n p and Var X i / n p (1 p ) / n.
Since p is unknown, we must estimate the control limits,
using the data from k samples.
The unbiased estimator of p :
k
X
i 1
nk
.
34
The p-Chart
Thus the estimated control limits are given by:
p (1 p )
p3
.
n
35
The c-Chart
In many quality control problems the particular items being
subjected to inspection may have more than one defect.
We may wish to count # of defects instead of merely
classifying at item as to whether or not it is defective.
If Ci denotes the # of defects observed in the ith inspected
item, we can safely assume that Ci has a Poisson distribution.
Let this Poisson distribution have a mean of for a process in
control.
For us to be 99.74% sure, almost all the Cis should fall within
three standard deviations of the mean if the process is in
control.
36
The c-Chart
Since E Ci and Var Ci , the control limits are :
3 .
If k items are inspected, then the unbiased estimator of is :
1 k
C Ci .
k i 1
The estimated control limits then become :
C 3 C .
37
40
P Reject H 0 when p p0
P Y a, p p0
1 P Not rejecting H 0 when p p0
P Accepting the lot when p p0 P ( A)
43
44
OC curve plotting
For the first sampling plan, we have:
p
0.1
0.2
0.3
0.4
0.6
P(A)
0.736
0.376
0.15
0.046
0.002
0.4
0.1
0.2
0.3
P(A)
0.764
0.234
0.033 0.002
46
OC curve plotting
47
OC curve plotting
Note that OC curve for first plan (n = 10, a = 1) drops slowly
and does not get appreciably small until p is in the
neighborhood of 0.4.
For p around 0.3 this plan still has fairly high probability of
accepting the lot.
The other curve for the second plan (n = 25, a = 3) drops
much more rapidly and falls to a small P(A) at p = 0.3.
Hence, the second plan would be better for inspection if the
plant can afford to sample n = 25 items out of each lot before
making a decision.
48
Demings kp rule
Objective is to minimize the average total cost of inspection of
incoming materials and final products for processes that are
stable.
It calls for 0% or 100% inspection.
It can be shown that, if the process is stable, the distribution of
the nonconforming items in the sample is independent of the
distribution of nonconforming items in the remainder of the
lot.
Items are submitted in lots, and a random sample is drawn
from that lot to make a decision regarding the entire lot.
49
Demings kp rule
Assumptions
Inspection process is completely reliable.
All items are inspected prior to moving forward to the next
customer in the process.
The vendor provides the buyer with an extra supply of items in
order to replace any nonconforming items that are found. The
cost is assumed to included in the contract.
50
Demings kp rule
Notations
p: average proportion of nonconforming items in the lots
k1: cost of initial inspection of an item
k2: cost of repair or reassembly due to the usage of a
nonconforming item
k: average cost to find a conforming item from the additional
supply to replace a detected nonconforming item = k1/(1-p)
xi =1 if item i is nonconforming; 0 otherwise.
51
Demings kp rule
The unit cost of initial inspection and replacement, if an
item is nonconforming, is given by:
k1 kxi if item i inspected
C1
if item i not inspected
0
Demings kp rule
If the item is inspected, the total cost is (k1+kxi). If the item is
not inspected, the total cost is (k2+k)xi.
It can be extended to the whole lot, where the proportion of
nonconforming items is p.
So, the average total cost per item if items are inspected is
(k1+kp). And the average total cost per item if items are not
inspected is (k2+k)p.
The break-even point for p is obtained by equating the average
total costs.
We get: p = k1/k2.
53
Demings kp rule
If k1/k2 is greater than p, conduct no inspection. This situation
occurs if the proportion of nonconforming items is low, cost of
inspection is high, and cost of repairing a nonconformity is
low.
If k1/k2 is less than p, conduct 100% inspection. In this
situation, it is quite expensive for a nonconforming item to be
allowed into production.
If k1/k2 is equal to p, either no or 100% inspection may be
conducted. Usually, if the estimated value of p is not very
reliable, 100% inspection is conducted.
54
55
57