Section C - Acceptance Sampling: Management of Quality
Section C - Acceptance Sampling: Management of Quality
Take a random sample of size n Inspect each item independently If more defectives are found than c, the Acceptance Number, reject the whole batch, otherwise accept.
A single sampling plan is defined by n and c. The Binomial Distribution describes the probability of obtaining r defectives from a sample of n.
c n! P(Acceptance) = pr q n r r !( n r )! r =0
The probability of acceptance for given c can be plotted against p. This is called the Operating Characteristic (OC) curve of the sampling scheme.
Acceptance Sampling
1.00000 0.90000 0.80000 0.70000 Probability of Acceptance 0.60000 0.50000 0.40000 0.30000 0.20000 0.10000 0.00000 0.03 0.06 0.09 0.00 0.01 0.02 0.04 0.05 0.07 0.08 0.1 0.11 0.12 0.13 0.14 0.15
Batch Pr opo rtio n De fe ctive P(a)50,3 P(a) 100,3 P(a) 200,3 P(a) 300,3
AQL = 0.06
1.0000 Probability of Acceptance p(a) 0.8000 0.6000 0.4000 0.2000 0.0000 0.01 0.02 0.08 0.1 0.11 0.12 0.13 0.00 0.03 0.04 0.05 0.06 0.07 0.09 0.14 0.15
p(a) 100,2
p(a) 100,3
p(a) 100,4
p(a) 100,5
Acceptance Sampling
3. Definitions Acceptance Number (c)- the maximum number of defective items which is acceptable in a defined sample size. Acceptable Quality Level (AQL)- The proportion defective in the batch which is the worst level the consumer is prepared to accept as a process average. or the proportion defective for which it is desired to accept all batches. Lot Tolerance Proportion (Percent) Defective (LTPD) - the poorest proportion defective the consumer will accept for any individual lot (batch). or the proportion defective for which it is desired to reject all batches. Average Outgoing Quality (AOQ) - The average outgoing proportion defective for batches subject to a particular sampling plan. Average Outgoing Quality Level (AOQL) The worst level of AOQ for a particular sampling scheme, as incoming proportion defective varies. 4. Acceptable Quality Level (AQL) and Lot Tolerance Proportion Defective (LTPD)
OC Curve of Single Sampling Plan, n=100, c = 2
1.00000 0.90000 Probability of Acceptance 0.80000 0.70000 0.60000 0.50000 0.40000 0.30000 0.20000 0.10000 0.00000 0.00 0.06 0.07 0.01 0.02 0.03 0.04 0.05 0.08 0.09 0.1
Producers Risk
AQL
LTPD
Consumers Risk
Producers Risk is a Type I Error - the probability that a good batch (better than the AQL) will be rejected. Consumers Risk is a Type II Error - the probability that a bad batch (worse than the LTPD) will be accepted. 5. Designing a Single-sample Sampling Scheme
Acceptance Sampling 3
Supplier and customer agree on batch size N, required AQL and LTPD, and . E.G. N = 1000 AQL = 0.01 = 0.05 LTPD = 0.045 = 0.10 OC should pass through (AQL,) and (LTPD,) A single-sampling scheme is completely specified given values for N, n and c. Since these are integers, the chance of passing exactly through the 2 points is small, and the simultaneous equations involved are non-linear. Tables or nomograms based on the cumulative Binomial or Poisson distributions are used to obtain alternative schemes. These are found in a variety of Sampling Standards and textbooks. Answers n = 137, c = 3 n = 149, c = 3 n = 197, c = 4 n = 178, c = 4 > = 0.050, = 0.134 > = 0.065, = 0.100 > = 0.050, = 0.058 > = 0.043, = 0.100
Acceptance Sampling
AOQL
6. Types of Sampling Scheme a) Single Sampling. A single sample is taken from the batch, and the disposition of the batch depends only on the information contained in that sample. b) Double Sampling. A sample is inspected from the batch, and either: The batch is passed Another sample is taken The batch is rejected c) Multiple Sampling. Similar to double sampling, but more than two samples may be required to reach a decision on batch disposition. d) Sequential Sampling. Small samples or individual items are inspected until a result is obtained. Sampling schemes of all these types can be designed to give equivalent OC curves. Single sampling schemes are simplest, but potentially involve more inspection for clear cut batch decisions. 7. Double-Sampling Schemes Double-Sampling schemes are defined by the following parameters both first and second samples. n1 and n2 are sample sizes c1 and c2 are acceptance numbers Re1 and Re2 are rejection numbers
Acceptance Sampling
The first random sample is usually small, to filter out the obviously poor batches. The batch is accepted immediately if r c1, and rejected if r > Re1. If r is between c1 and Re1, a second sample is taken. n2 is usually larger. Now the combined number of defectives obtained in the two samples is used to determine the batch disposition, using Re2 and c2, where Re2 = c2 + 1. The average amount of inspection is smaller than with a single sampling scheme. NB. sample inspection may be curtailed if c is exceeded for any scheme. 8. Multiple Sampling Plans Multiple sampling plans have a number of cumulative stages, in which small samples are taken. Scheme parameters are n1...ni, c1....ci, Re1....Rei Example A simple seven stage scheme
Sample 1 2 3 4 5 6 7 n 10 10 10 10 10 10 10 n 10 20 30 40 50 60 70 c 0 1 3 4 5 7 10 Re 4 5 7 8 9 10 11
Reject
Accept
9. Acceptance Sampling - Advantages of Different Schemes Advantage Psychological Acceptability Amount of Inspection Admin/Training Single Only one chance Greatest Least Double Adequate Often 10 15% less More Multiple Indecisive & complex Often even less Greatest
Acceptance Sampling
The effectiveness of ongoing sampling inspection is increased by switching between different schemes, depending on the current incoming quality level. When incoming quality deteriorates, inspection switches to tightened scheme according to firm rules. Some standards also make provision for reducing the level of inspection. Example (From MIL-STD 105D/ BS 6001 see Kehoe p123 et seq.) Batch Size 35001 to 150000 AQL 0.25% (p = 0.0025) Single sampling Scheme n c Reduced 200 1 Normal 500 3 Tightened 500 2
Re 4 4 3
N.B. Reduced inspection may lead to ambiguity. Batch is accepted, but normal inspection reinstated with next batch.
Tightened and Reduced Inspection 0.03
Reduce
0.02 AOQ
Norm al
0.01
Tightened
11. Average Sample Number (ASN) The sample number for a single-sampling scheme is fixed. ASN for a double or multiple scheme varies according to the probability of accepting and rejecting first and subsequent samples. Curtailment will also reduce the ASN.
Acceptance Sampling
ASN
A T I= n + (1 P a)( N n)
ATI curve for N = 1000, n = 100, c=2. 14. Zero Acceptance No Zero Defects Lot-by-lot attribute sampling plans: All product to one customer Supplied in lots
Acceptance Sampling
Assumptions
Zero Defects for process or for individual batch is not ensured by making c = 0. Some probability of accepting batches with NC product always
0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 .00 .04 .10 .13 .01 .02 .03 .05 .06 .07 .08 .09 .11 .12 .14
Batch Proportion D efective
P (a)100,0
P (a)100,2
P (a) 100,3
P (a) 100,4
P (a) 100,5
OC curves for c= 0 are always convex Confidence Level Approach. If Acceptance Number is to be zero, a simple method for calculating the required sample size for a given confidence level uses the following formula:-
n>
Log 1 C Log 1 p
Where 100C% is confidence level and p is LTPD E.g. C = 0.95 and p = 0.01
n>
Log 1 0. 95 Log 1 0. 01
Acceptance Sampling
.15
By inspection of 300 items we can be 95% confident that not more than 1% of items are NC if no defectives have been found. 15. Acceptance Sampling using Variables Using measurement, more information can be obtained, and hence the same protection (i.e. equivalent OC curve) can be achieved with a smaller sample, which is useful for very low AQLs. More information can also help with process improvement and control. Measurement however may cost more per item than the collection of attribute data, and attribute plans can cover several different quality characteristics. Distribution of the variable quality characteristic must be normal. Note: It is sometimes possible to reject a batch when no non-conforming items have been found! a) Main Types of Variable Sampling Scheme Proportion non-conforming Process Mean
b) Variables Sampling Plans Sampling plans are based on: - known or must be estimated from sample s. Single (i.e. upper or lower) or double spec limits. k value found from tables depending on AQL. For double spec limits the AQL may be set separately for each of the limits. Shipment size. Procedure: Calculate Z for each spec limit. i.e. for single USL
z = USLs x
If Z is too small, then it is likely that the lot x and/or s has changed. Reject the lot. To decide if Z is too small, compare it with a k value from tables chosen to match the agreed AQL. Example 1. Using MIL STD 414 ( unknown) Find code letter for the batch size from table (Montgomery Table 14.1 p 632). Using Table 14.2 read sample size from the first column, together with a value of k for the appropriate AQL. E.g. A shipment size of 2000 and an inspection level of IV gives code L from Table 14.1 . Table 14.2 for normal inspection with AQL of 2.5% gives sample size of 40 and k = 1.58. We have a single lower specification limit - i.e. not more than 2.5% below 263.4 units 1. 2. Take a sample of 40 and find x and s Calculate Z using:
ZL=
x LSL s
where LSL = 263.4 the lower specification limit 3. Accept the shipment if Z > 1.58, reject if Z< k
Acceptance Sampling 10
16. Variables Plan for Sample Means ( known) Design Procedure - Single Spec Limit 1. Determine
AQL
and
m
LTPD
for sample mean, plus and the Type I and Type II errors.
2. Calculate limit
X
and
=
=
X
X
AQL
+ Z
+ Z
X
Note:-
LTPD
is negative.
3. Solving these equations simultaneously we can obtain n, the sample size, and limiting value of the sample mean. Example 2
, the
A towing rope must have a breaking load of at least 4000kg. It is known that the distribution of breaking loads follows a normal distribution with = 250 kg. Design a single sampling scheme to control the sample mean of incoming batches, given that AQL is 4500kg ( = 0.05) and the LTPD is 4250kg ( = 0.10).
X
and
AQL
+ Z
LTPD
+ Z
250 = 4250 + 1. 28 n n
X = 4359.4kg
m
Answer:- Draw a sample of 9 test ropes, and compare mean breaking load with the batch if sample mean is less than X m . Relationship of X m to Sample mean for Batches of:-
X . Reject
m
Acceptance Sampling
11
= 0.10
= 0.05
xLTPD = 4250
LTPD Quality 16. Acceptance Sampling Plans - Summary a) Acceptable Quality Level (AQL) Methods Application - when an AQL of defective product has been agreed between supplier and customer, and product is supplied in a stream of lots or shipments. Provides confidence that the process is running at or better than the agreed AQL. e.g. BS 6001 (1991), MIL STD 105D (Attributes), MIL STD 404 & ISO3951 (Variables). b) Average Outgoing Quality Level.(AOQL) Methods Application - as for AQL methods, to provide assurance that the overall level of defective product produced is less than the established AOQL. e.g. Dodge-Romig plans and other attribute sampling schemes c) Lot Tolerance Percent Defective (LTPD) Methods Application - For use when protection against receipt of particularly bad lots (worse than LTPD) is required, either in a stream of lots or for isolated shipments. e.g. Dodge-Romig plans and other attribute sampling schemes
xAQL = 4500
AQL Quality
Acceptance Sampling
12
Acceptance Sampling
13
For c= 0 a sample size of 59 will provide the necessary confidence. 2. a) Using the Excel spreadsheet, the OC curve is as follows.
P(a) 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 0 0.01
0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 0.13 0.14 0.15 Proportion Defective in Batch
b) Average Total Inspection (ATI) is given by n + (1 - Pa)(N-n). From OC curve, probability of acceptance Pa at 5% defective is 0.63. ATI = 80 + (1- 0.63)(5000 - 80) = 1900.4 for each batch. There are expected to be 5 similar batches each day, hence the total inspection is likely to be 5 1900.4 = 9502 items. One person can inspect/sort 15 60 7 = 6300 items of fruit per day. hence two people will be required to meet the expected workload. 3. Assuming upward shifts in process mean are as likely as downward shifts. a) Using Normal tables in reverse, ZAQL is found where 2% (0.02) of the distribution is in the tail, i.e.
Acceptance Sampling
14
ZAQL = 2.05. Similarly ZLTPD = 1.81 Hence, as we know the population mean, For batches of AQL quality, X AQL = LSL + ZAQL = 1.4975 + 2.05(0.0005) = 1.498525 For batches of LTPD quality, b) = 0.05 and = 0.10. Z/2 and Z/2 are obtained from tables by entering with (0.5 - /2) = 0.4750 and (0.5 - /2) = 0.4500 respectively.
Z/2 = -1.96 and Z/2 = 1.645 For AQL batches and for LTPD batches
LTPD
=
=
AQL
+ Z /2
n
n
(1) AQL quality
LTPD
+ Z /2
Z/2 = -1.96 =
1. 498525
0. 0005 / n
m
Z/2 = 1.645 =
1. 498405
0. 0005 / n
(2)
LTPD quality
n=
Sample size n = 15.02082 = 225.625 226. c) Substituting in either (1) or (2), shifts.
Upward shift limit is given by 1.5000 + (1.5000 - 1.49846) = 1.50154 Hence the limiting values of shaft diameter sample means to accept the batch are: 1.49846 < sample mean < 1.50154.
Acceptance Sampling
15