Sampling OC
Sampling OC
Procedures
Inspection by Attributes
2
Sampling Plans
Ø Acceptance sampling: Form of
inspection applied to lots or
batches of items before or after
a process, to judge conformance
with predetermined standards
Ø Sampling plans: Plans that
specify lot size, sample size,
number of samples, and
acceptance/rejection criteria
Ø Single-sampling
Ø Double-sampling
Ø Multiple-sampling
3
Acceptance Sampling
Ø Acceptance Sampling most useful when
ØA large number of items must be
processed in a short time
ØThe cost consequences of passing
defects are low
ØDestructive testing is required
ØFatigue or boredom leads to inspection
errors
4
Introduction
Ø BS 6001-1 1999 (ISO 2859-1:1999)
Sampling
procedures for inspection by attributes.
Part 1:
Sampling schemes indexed by
acceptance quality
limit (AQL) for lot-by-lot inspection.
Ø ISO 2859-2:1985 Sampling procedures for
inspection by attributes. Sampling plans
indexed
by limiting quality (LQ) for isolated lot
inspection.
5
Ø ISO 2859-0:1995 - Part 0: Introduction to
ISO 2859 Part 1
14
Sample size code letters
(cont.)
Lot Size Special Inspection Levels General Insp. Levels
S1 S2 S3 S4 I II III
1201-3200 C D E G H K L
3201-10000 C D F G J L M
10001-35000 C D F H K M N
35001-150000 D E G J L N P
150000- D E G J M P Q
500000
>=500000 D E H K N Q R
15
Single Sampling plans
selected segment of normal inspection table
Code Letter Sample Size AQL
0.010 0.015 0.025 0.040 0.065 0.10 0.15
Ac Re AC Re AC Re AC Re AC Re AC Re AC Re
G 32 ↓ ↓ ↓ ↓ ↓ ↓ ↓
H 50 ↓ ↓ ↓ ↓ ↓ ↓ ↓
J 80 ↓ ↓ ↓ ↓ ↓ ↓ 01
K 125 ↓ ↓ ↓ ↓ ↓ 01 ↑
L 200 ↓ ↓ ↓ ↓ 01 ↑ ↓
M 315 ↓ ↓ ↓ 01 ↑ ↓ 12
N 500 ↓ ↓ 01 ↑ ↓ 12 23
P 800 ↓ 01 ↑ ↓ 12 23 34
Q 1250 01 ↑ ↓ 12 23 34 56
R 2000 ↑ ↑ 12 23 34 56 78
16
Double Sampling Plans
normal Inspection
Code Sample Sample Size Cumulative AQL
Letter Samples
1.5 2.5 4.5 6.5 10
Ac Re AC Re AC Re AC Re AC Re
G FIRST 20 20 02 03 13 25 36
G SECOND 20 40 12 34 45 67 910
H FIRST 32 32 03 13 25 36 59
J FIRST 50 50 13 25 36 59 711
17
OC Curves
Operating Characteristic Curves
19
Typical OC Curve
1
Probability of accepting lot
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
3%
0.1
0
0 .05 .10 .15 .20 .25
Lot quality (fraction defective)
20
Decision Criteria
1.00
Probability of accepting lot
Ideal
Not very
discriminating
“Good” “Bad”
21
Sampling Terms
Ø Acceptance quality level (AQL): the
percentage of defects at which
consumers are willing to accept lots as
“good”
Ø Lot tolerance percent defective
(LTPD): the upper limit on the
percentage of defects that a consumer
is willing to accept
Ø Consumer’s risk: the probability that a
lot contained defectives exceeding the
LTPD will be accepted
Ø Producer’s risk: the probability that a
lot containing the acceptable quality 22
level will be rejected
Consumer’s and Producer’s
Risk
1
α = .10
Probability of accepting lot
0.9
0.8
0.7
0.6
0.5
LTPD
0.4
0.3
0.2 “Good” Indifferent “Bad”
0.1 β = .10
0
0 .05 .10 .15 .20 .25
AQL Lot quality (fraction defective)
23
OC Curve
e.g. (n = 10, c = 1)
1
.9139
0.9
Probability of acceptance
0.8 .7361
0.7
0.6 .5443
0.5
0.4 .3758
0.3 .2440
0.2 .1493
0.1 .0860
0
0 .10 .20 .30 .40 .50
Fraction defective in lot
24
Average Quality
25
Example : AOQ
0 0
0 .0 5 0 .0 4 6
AOQ ( Fraction defective out )
Incoming fraction
defective
26
OC Curve
27
OC Curve example
Ø Code Letter M
Ø AQL 1.5
Ø Sample size - 315
Ø Accept: 10, Reject: 11
Ø What happens if a batch with 3% defectives is
submitted ?
Ø Find 3% on the X axis, and follow a vertical line up
until it meets the 1.5% curve.
Ø Take a horizontal line across to the Y axis, and read
off the value of 65%.
Ø I.e., 65% of batches would be accepted and 35%
rejected.
28
More OC curve examples
Pa AQL for Sample Plan M AQL for Sample Plan J
1.0 1.5 2.5 4.0 1.0 1.5 2.5 4.0
99 0.929 1.53 2.40 4.05 0.55 1.04 2.28 3.73
95 1.27 1.97 2.96 4.78 1.03 1.73 3.32 5.07
90 1.48 2.24 3.29 5.20 1.39 2.20 3.99 5.91
75 1.89 2.74 3.90 5.95 2.16 3.18 5.30 7.50
50 2.43 3.38 4.65 6.87 3.33 4.57 7.06 9.55
25 3.06 4.11 5.49 7.87 4.84 6.30 9.14 11.9
10 3.71 4.85 6.33 8.84 6.52 8.16 11.3 14.3
5 4.13 5.33 6.86 9.46 7.66 9.41 12.7 15.8
1 5.01 6.29 7.93 10.7 10.1 12.0 15.6 18.9
29
More examples
Ø Pinholes
Ø General inspection level 1, AQL 1.5%.
Ø Minimum Sample size code lettre L (200
Sample)
Ø If a batch with 3% pinholes is submitted,
there is a 75% chance of them being
accepted.
Ø Container
Ø Agreed AQL of 0.65%, general Inspection
level I.
Ø Sample code L (200 Sample).
Ø If a batch with 5% leakers is submitted,
there is a 99% chance of them being 30
Setting an Inspection Level
Ø Select the required AQL (as an average).
Ø Decide what quality should have a high
chance of rejection.
Ø Choose the appropriate sampling plan
by inspecting the OC curves.
31
Setting an Inspection Level
Example
Ø An AQL of 1.5% defective items has been chosen.
Ø It is desired to have at least an 80% chance of
rejecting a 6%
defective batch under normal inspection.
Ø Code letters A->J fail to meet the requirement.
Ø Code letter K almost meets it, codes L-P more than
meet it.
Ø Decide the batch size. If batch size is 1000, check
sample size code letters table - we can use
general inspection level III.
Ø The sampling plan would therefore be AQL=1.5%,
General
Inspection Level=III.
32
Switching Rules
Ø Normal to tightened: Shall be implemented as soon as
two out
of five (or fewer than five) consecutive lots have been
non-acceptable on original inspection.
Ø Tightened to normal: Shall be reinstated when five
consecutive
lots have been considered acceptable on original
inspection.
Ø Normal to reduced: implemented when the switching
score is at
least 30, production is at a steady state, and reduced
inspection is
considered desirable by the responsible authority.
Ø Discontinuation of inspection: is implemented when
the
number of lots not accepted in a sequence of 33
consecutive lots on
Switching scores
Single Sampling Plans
Ø Used when deciding whether to switch to reduced
inspection.
Ø Set switching score to 0 at start of normal inspection.
Ø Score updated following the inspection of each lot.
Ø When the acceptance number is >= 2, add 3 to the
switching
score if the lot would have been accepted if the AQL
had been
one step tighter; otherwise reset score to 0.
Ø When the acceptance number is 0 or 1, add 2 to the
switching
score if the lot is accepted; otherwise reset score to 0.
Ø As in the previous slide, when the switching score is at
least 30
and production is at a steady state, switch to reduced 34
Important points
Ø Setting an AQL does not guarantee to the
customer that batches of a worse quality will
not be accepted.
Ø If the average quality of batches being
submitted are a little worse than the AQL, a
number of batches will probably be accepted
before a switch to tightened inspection is
called for.
Ø In general, the customer gets a quality which is,
on average, better than the AQL, since the
tables are arranged to provide an economic
incentive -the manufacturer cannot afford to
have more than a small proportion of batches
rejected, and so will improve the quality if this
proportion is exceeded. 35