Sei sulla pagina 1di 27

Acceptance Sampling by Attributes

Introduction

Acceptance sampling is concerned with inspection and decision


making regarding products.
Three aspects of sampling are important:
o Involves random sampling of an entire lot
o Accept and Reject Lots (does not achieve quality
improvement)
o Lot sentencing
o Audit tool

Three approaches to lot sentencing:


o Accept with no inspection
o 100% inspection
o Acceptance sampling

Reasons for Acceptance Sampling, not 100% inspection


o Testing is destructive
o Cost of 100% inspection is high
o 100% inspection is not feasible (require too much time)
o If vendor has excellent quality history

121
Advantages of Sampling
o Less expensive
o Reduced damage
o Reduces the amount of inspection error
Disadvantages of Sampling
o Risk of accepting bad lots, rejecting good lots.
o Less information generated
o Requires planning and documentation

Types of Sampling Plans (attribute sampling plans)


o Single sampling plan
o Double-sampling plan
o Multiple-sampling plan
o Sequential-sampling

Lot Formation

Considerations before inspection


o Lots should be homogeneous
o Larger lots more preferable than smaller lots
o Lots should be conformable to the materials-handling
systems used in both the vendor and consumer facilities.

122
Random Sampling
The units selected for inspection should be chosen at random.
Random samples are not used, bias can be introduced.
If any judgment methods are used to select the sample, the statistical
basis of the acceptance-sampling procedure is lost.

Definition of a Single-Sampling Plan


A single sampling plan is defined by sample size, n, and the
acceptance number c.
o N = lot size
o n = sample size
o c = acceptance number
o d = observed number of defectives
N total items in a lot. Choose n of the items at random. If c or less
number of items are defective, accept the lot.
The acceptance or rejection of the lot is based on the results from a
single sample - thus a single-sampling plan

123
The OC Curves
The operating-characteristic (OC) curve measures the performance of
an acceptance-sampling plan.
The OC curve plots the probability of accepting the lot versus the lot
fraction defective.
c
n!
Pa P{d c} p d (1 p ) nd
d 0 d ! ( n d )!

Example. If the lot fraction defective is p 0.01 , n=89 and c=2, then

2
89!
Pa P{d 2} (0.01) d (0.99) 89 d
d 0 d ! (89 d )!

89! 89! 89!


(0.01) 0 (0.99)89 (0.01)1 (0.99) 88 (0.01) 2 (0.99)87
0!89! 1!88! 2!87!
0.9397

The OC curve shows the probability that a lot submitted with a


certain fraction defective will be either accepted or rejected.

124
Effect of OC curves

125
Type-A OC curves based on Hypergeometric distribution
Type-B OC curves based on binomial distribution

Other aspects of OC Curve Behavior:

126
AQL and LTPD
Acceptable quality level (AQL, p1 ) - poorest level of quality for the
vendors process that the consumer would consider to be acceptable
as a process average. The probability of such a process not being
accepted is the Producers risk.
Lot tolerance percent defective (LTPD, p2 ) poorest level of quality
that the consumer is willing to accept in an individual lot. The
probability that a lot with lower quality level is accepted is the
Consumers risk. Also called rejectable quality level (RQL) or
limiting quality level (LQL)
AQL and LTPD can be used for the design of sampling plans

Designing a Single-Sampling Plan with a Specified OC Curve


Let the probability of acceptance be 1 for lots with fraction
defective p1
Let the probability of acceptance be for lots with fraction defective
p2 .

Assume binomial sampling (with type-B OC curves).


The sample size n and acceptance number c are the solution to
c
n!
1 p1d (1 p1 ) n d
d 0 d ! ( n d )!

c
n!
p2d (1 p2 ) n d
d 0 d ! ( n d )!

127
Example. For p1 = 0.01, =0.05 (or 1 0.95 ), p2 = 0.06, = 0.10,
use computer software or a graphical approach, it can be shown that the
necessary values of n and c are 89 and 2, respectively.

128
Rectifying inspection
Following a particular sampling plan
Accepted lots are passed with non-conforming units replaced
Rejected lots are screened with 100% inspection, non-conforming
units are replaced

The number of defective items passing this rectifying inspection is:


Pa p ( N n ) (1 Pa )0 Pa p ( N n )

The average outgoing quality (AOQ) of the lots passing the


inspection can be calculated by:
Pa p ( N n )
AOQ
N
or simply use:
AOQ Pa p

where Pa is the acceptance probability, p is the fraction defective,


N is the batch size and n is the sample size

129
Example. N=10,000, n=89, c=2 and p =0.01. From binomial
distribution or the OC curve, we found that Pa = 0.9397

Then:
Pa p( N n ) (0.9397 )(0.01)(10,000 89)
AOQ 0.0093
N 10,000
or simply:
AOQ Pa p (0.9397)(0.01) 0.0094

Average outgoing quality limit (AOQL) The worst possible average


quality that can be resulted from the rectifying inspection program.

Example. For rectifying inspection plan with n=89, c=2, we have:

p 0.0005 0.010 0.020 0.030 0.040


Pa 0.9897 0.9397 0.7366 0.4985 0.3042
AOQ 0.000495 0.009397 0.014732 0.014955 0.012168

p 0.050 0.06 0.070 0.080 0.090


Pa 0.1721 0.0919 0.0468 0.0230 0.0109
AOQ 0.008605 0.005514 0.00327 0.00184 0.000981

130
AOQL is the
maximum point on
the curve

Average total inspection (ATI) per lot


ATI n (1 Pa )( N n )

Example. For N=10,000, n = 89, c = 2 and p =0.01, we have Pa =0.9397.


Then ATI n (1 Pa )( N n ) 89 (1 0.9397)(10000 89) 687

131
Double Sampling Plans
Procedure
o n1 = sample size of the first sample
o c1 = acceptance number of the first sample
o n2 = sample size of the second sample
o c2 = acceptance number for both samples

132
Example. For the plan with n1 =50, c1 =1, n2 =100, c2 =3, a random sample
of 50 will be taken from the lot. If d1 1 , the lot will be accepted. If
d1 3 , the lot will be rejected. If d1 2 or d1 3 , the second sample of

100 will be taken. If d1 d 2 3 , the lot will be accepted. If d1 d 2 3 , the


lot will be rejected.

Remarks
o Possible less inspection
o Second chance
o More complicated
o Less inspection may not be realized

133
Multiple Sampling Plans
Similar to double sampling
Possible less inspection
More complicated
May be further discussed later

134
Military Standard 105E (ANSI/ASQC Z1.4, ISO 2859)
Developed during World War II
Widely used acceptance-sampling system for attributes
Gone through four revisions since 1950.
a collection of sampling schemes to make a sampling system
Based on AQL

Description of the Standard


Three types of sampling are provided for:
1. Single
2. Double
3. Multiple
Provisions for each type of sampling plan include
1. Normal inspection
2. Tightened inspection
3. Reduced inspection
The AQL is generally specified in the contract or by the authority
responsible for sampling
Different AQLs may be designated for different types of defects
Defects include critical defects, major defects, and minor defects
Tables are used to determine the appropriate sampling scheme

135
Switching Rules
1. Normal to tightened 2 out of five lots are rejected
2. Tightened to normal 5 lots are accepted
3. Normal to reduced
10 lots have been accepted under normal inspection
total number of defectives of the 10 lots is less than
given limit
stable production
authorized
4. Reduced to normal
a lot is rejected
procedure terminates without meeting acceptance or
rejection criteria. Accept the lot and change to normal
production is not stable
other conditions
5. Discontinuance of inspection 10 consecutive lots remain on
tightened inspection. Discontinue and take actions.

136
Procedure
1. Choose the AQL
2. Choose the inspection level
3. Determine the lot size
4. Find the appropriate sample size code letter from Table 15-4
5. Determine the appropriate type of sampling plan to use
(single, double, multiple)
6. Enter the appropriate table to find the type of plan to be used.
7. Determine the corresponding normal and reduced inspection
plans to be used when required

137
Example
Suppose a product is submitted in lots of size N = 2000. The
AQL is 0.65%. Assume that we want to generate normal single-
sampling plans. For lots of size 2000 and general inspection level II,
Table 15-4 indicates the appropriate sample size code letter is K.
From Table 15-5 for single-sampling plans under normal
inspection, the normal inspection plan is n = 125, c = 2. This means that
we accept the lot if there are 2 or less defective units in a random sample
of 125. We reject the lot if there are 3 or more defective units.
If tightened inspection is to be used after inspecting 5 lots with
normal inspection, then Table 15-6 shows that n = 125, c =1 for
tightened inspection. This means that we accept the lot if there is 1 or 0
defective units in a random sample of 125. We reject the lot if there are
2 or more defective units.
If reduced inspection can be used after accepting 10 consecutive
lots with normal inspection, and all other conditions satisfied, then Table
15-7 shows that in the reduced inspection, the sample size is n =50 Ac=1
and Re=3. This means that:
If there are 1 or less defectives in the sample, we will accept the lot
If there are 3 or more defective units, we will reject the lot and use
normal inspection for inspecting the next lot.
If there are 2 defective units, we will accept the lot and use normal
inspection for inspecting the next lot.

138
139
140
Discussion
Several points to be emphasized:
MIL STD 105E is AQL-oriented
The sample sizes selected for use in MIL STD 105E are limited
The sample sizes are related to the lot sizes.
Switching rules from normal to tightened and from tightened to
normal are subject to some criticism.
A common abuse of the standard is failure to use the switching rules
at all.
ANSI/ASQC Z1.4 or ISO 2859 is the civilian standard counterpart of
MIL STD 105E.
Differences include:
1. Terminology nonconformity, nonconformance, and
percent nonconforming is used
2. Switching rules were changed slightly to provide an option for
reduced inspection without the use of limit numbers
3. Several tables that show measures of scheme performance were
introduced
4. A section was added describing proper use of individual
sampling plans when extracted from the system
5. A figure illustrating switching rules was added

141
Dodge-Romig Sampling Plans
Based on AOQL or LTPD
Use developed tables
AOQL plans
o Minimize average total inspection
o Rejected lots will be 100% inspected
o Fraction nonconforming is known or can be estimated
o The plan also presents the LTPD values corresponding to
Pa 0.10 on the OC curve of the plan. Or 90% of the lots will

be rejected if its percent defective is higher than the


corresponding LTPD value.
Example. N=5000, p=1%. From Table 15-8, we find that the plan with
AOQL=3% will be n=65, c=3. The corresponding LTPD value at
Pa 0.10 is 10.3%.

142
If the incoming quality is indeed at the level of p=1%, we can calculate
or check the corresponding OC curve to see that the acceptance
probability is Pa 0.9957 for p=1%. Then the average total inspection
will be: ATI n (1 Pa )( N n ) 65 (1 0.9957)(5000 65) 86.22

LTPD plans
o Provide plans for different LTPD values with lot acceptance
probability of 10%.

Example. N=5000 and incoming percent defective is p=0.25%. We can


find from Table 15-9 that the plan with LTPD=1% will be n=770, c=4.
The corresponding AOQL value for this plan is 0.28%.

143
Similarly, we can find that if indeed that the incoming percent defective
is p=0.25%, we can calculate or check the corresponding OC curve to
see that the acceptance probability is Pa 0.9541 for p=0.25%. Then the
average total inspection will be:
ATI n (1 Pa )( N n ) 770 (1 0.9547 )(5000 770 ) 961.62

Item-by-Item Sequential Sampling Plans


The procedure is to take one unit from the lot to test at one time and
continue for a number of items. Based on the test results, the entire lot
will be accepted or rejected. In doing so, it may reduce the total number
of items to be tested. This procedure is also indexed on p1 , p2 and .
It calculates the following 2 lines for each sample:

X A h1 sn (acceptance line)
X R h2 sn (rejection line)

144
If the total number of nonconforming units is less than or equal to the
integer part of X A , we accept the lot.

If the total number of nonconforming units is equal to or greater than the


integer above X R , we reject the lot.

These parameters are calculated by:

1 1 p (1 p1 )
h1 log / k , h2 log / k , k log 2 and
p1 (1 p 2 )
1 p1
s log / k
1 p 2

Example. Assume that p1 =0.01, =0.05 , p2 =0.06 and =0.10, then:

p2 (1 p1 ) 0.06 0.99
k log log 0.80066
p1 (1 p2 ) 0.01 0.94
1 0.95
h1 log / k log / 0.80066 1.22
0.10
1 0.90
h2 log / k log / 0.80066 1.57
0.05
1 p1 0.99
s log / k log / 0.80066 0.028
1 p 2 0 .94

Then we have:

X A h1 sn = 1.22 0.028n (acceptance line)


X R h2 sn 1.57 0.028n (rejection line)

When n = 1, we have:
X A h1 sn = 1.22 0.028n = 1.22 0.028 1.192
X R h2 sn 1.57 0.028n 1.57 0.028 1.598

145
As we just take one sample, these results tell us nothing. When n = 2, we
have: X A h1 sn = 1.22 0.028 2 1.22 0.056 1.164
X R h2 sn 1.57 0.028 2 1.57 0.056 1.626

So it says nothing about accepting the lot but the lot will be rejected if
both items are bad.

For this plan, the process continues for X A until n = 44 when X A


becomes positive. On the other hand, the rejection numbers are shown in
Table 15-3.

As the process continues, if there are int[ X R ] 1 bad ones, reject the lot.
If the first 44 are all good ones, accept the lot. Otherwise, continue and
stop sampling when you reach 89 3 267 items. The number of 89
corresponds to the single sampling plan for p1 =0.01, =0.05 , p2 =0.06
and =0.10.

146
A similar example is to assume that p1 =0.01, =0.05 , p2 =0.10
and =0.10. In this case, we have:

X A h1 sn = 0.939 0.04n (acceptance line)


X R h2 sn 1.205 0.04n (rejection line)

The results for n =1, 2, 3... 26 are tabulated below.

n accept reject n accept reject


1 x x 14 x 2
2 x 2 15 x 2
3 x 2 16 x 3
4 x 2 17 x 3
5 x 2 18 x 3
6 x 2 19 x 3
7 x 2 20 x 3
8 x 2 21 x 3
9 x 2 22 x 3
10 x 2 23 x 3
11 x 2 24 0 3
12 x 2 25 0 3
13 x 2 26 0 3

If it continues, we have the following values:


n 49 58 74 83 100 109
Acceptance 1 1 2 2 3 3
Rejection 3 4 4 5 5 6

The corresponding single sampling plan is (52, 2) and the sampling may
stop after 156 sample items are taken.

147

Potrebbero piacerti anche