topic 4. statistical process control (control charts) and acceptance sampling

59
Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Upload: william-byrd

Post on 30-Dec-2015

230 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Topic 4. Statistical Process Control (Control Charts) and Acceptance

Sampling

Page 2: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Statistical Process Control

I. Statistical Process Control:

– graphical presentation of samples of process output over time

– used to monitoring (production) process and detect quality problems

Page 3: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Two Types of Variations

• Nature vs. Assignable Variations

Nature Assignable

Characteristics Stable Unstable

Caused by Technology Limits

Malfunction of machine or

people

Actions Technology Innovation

Find the cause, correct it

Page 4: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Idea Behind Control Charts

• If (production) process is normal– only natural variations exist– samples of output is Normally distributed– within 3 std. 99.7% of time

• Therefore,– If not within 3 std. ==> assignable variations

exist!– UCL (Upper Control Limit) and LCL (Lower

Control Limit) are set to correspond to the 3 std. lines if no specification

Page 5: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

In control Signals

• In control: plots Normally distributed, unbiased, no patterns– indicating no assignable variations exist

Page 6: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Out of control Signals

• one plot outside UCL or LCL (for all charts)

• 2 of 3 consecutive plots out of 2 std. Line (for X-bar chart)

• 7 consecutive plots on one side (for X-bar chart)

indicating assignable variations exist, sign of quality problems.

Page 7: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Types of control chart

• Variable Charts: for continuous quality measure– X-bar ( ) chart: process average– R chart: process dispersion and variation

• Attribute Charts: for attribute quality measure– p chart: defective rate– c chart: number of defectives

X

Page 8: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (X-bar Charts)

• Construct X-bar chart – 1. based on some process information: If

process (population) mean and standard deviation are known.• CL =

• UCL =

• LCL =

– n: sample size– z: normal score (two tails), equals 3 without

specification

nz

*

nz

*

Page 9: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (X-bar Charts)

– Some important normal scores• Z= 3 (99.7%)• Z= 2.5 (98.75%)• Z= 2.33 (98%)• Z= 2.17 (97%)• Z= 2 (95.5%)• Z= 1.96 (95%)• Z=1.645 (90%)

Page 10: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Example 1 for X-bar Chart

by Method 1)

• Example 1 – Samples taken from a process for making

aluminum rods have an average of 2cm. The sample size is 16. The process variability is approximately normal and has a std. of 0.1cm. Design an X-bar chart for this process control.

Page 11: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (X-bar Charts)

• Construct X-bar Chart – 2. If process mean and standard deviation are

unknown, X-bar Chart can be constructed based only on past samples

• Assume k past samples with sample size n.• Sample i (i = 1, 2, …, k) has n observations

• Sample mean for sample i is • Sample range for sample is

inii xxx ,,, 21

n

xxxx iniii

21

iniiiniii xxxxxxR ,,,min,,,max 2121

Page 12: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (X-bar Charts)

– 2. If process mean and standard deviation are unknown, X-bar Chart can be constructed based only on past samples (continuous)• The average of past k samples is

• The range average of past k samples is

k

xxxx k

21

k

RRRR k

21

Page 13: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (X-bar Chart)

– 2. If process mean and standard deviation are unknown, X-bar Chart can be constructed based only on past samples (continuous)

• X-bar chart is:

– Mean factor is a function of sample size n

zero) (otherwise ,02

2

RAXLCL

RAXUCL

XCL

2A

Page 14: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts

Sample Size (n) Mean Factor (A2) Upper Range (D4)

Lower Range (D3)

2 1.880 3.268 0

3 1.023 2.574 0

4 0.729 2.282 0

5 0.577 2.115 0

6 0.483 2.004 0

7 0.419 1.924 0.076

8 0.373 1.864 0.136

9 0.337 1.816 0.184

10 0.308 1.777 0.223

Page 15: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (X-bar Chart)

• 3. Differences between method 1. and method 2.– Method 1 is based known process (target or

standard) information, while method 2 is based on past data information (target or standard unknown)

– Therefore, if there is a out of control signal by method 1, we can say it is different from the target (standard). However, if there is a out of control signal by method 2, we cannot say it is different from the target (standard).

Page 16: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (R Chart)

• Construct R chart (based on past samples)

are functions of sample size n

RDLCL

RDUCL

RCL

3

4

34 ,DD

Page 17: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Example 2 for X-bar and R

Charts by Method 2)

• Example 2:– Five samples of drop-forged steel

handles, with four observations in each sample, have been taken. The weight of each handle in the samples is given below (in ounces). Use the sample data to construct an X-bar chart and an R-chart to monitor the future process.

Page 18: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Example 2 for X-bar and R

Charts by Method 2)• Continuous

Sample 1 Sample 2 Sample 3 Sample 4 Sample 5

10.2 10.3 9.7 9.9 9.8

9.9 9.8 9.9 10.3 10.2

9.8 9.9 9.9 10.1 10.3

10.1 10.4 10.1 10.5 9.7

Page 19: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Use X- bar chart and R

chart) • Use X-bar chart and R chart

– Calculate averages and ranges of new samples

– Plot on the X-bar chart and R chart, respectively

Page 20: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Example 2 Continuous)

• Five more samples of the handles are taken. Is the process in control (changed)?

Sample 6 Sample 7 Sample 8 Sample 9 Sample 10

10.4 10.5 9.9 10.3 9.9

9.8 9.9 9.9 10.4 10.4

9.9 9.9 9.9 10.6 10.5

10.3 10.5 10.3 10.5 9.9

Page 21: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (p Chart)

• Construct p chart (defective rate chart) based past samples– Assume there are k past samples with sample

size n.– Each item in a sample may only have two

possible outcomes: good or defective– In sample i (i = 1,2, …, k), there are number

of defectives out of n items.id

Page 22: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (p Chart)

– The defective rate for sample i is

– The average number of defectives in past k samples is

– And the average defective rate in the past samples is

n

dp ii

k

dddd k

21

n

d

k

pppp k

21

Page 23: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (p Chart)

– P Chart is

• Again, z is normal score (two tails)

zero otherwise ,0

1

1

n

ppzpLCL

n

ppzpUCL

pCL

Page 24: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (p Chart)

• Use p-chart– Calculate defective rates of new samples– Plot on the p-chart

Page 25: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Example 3 for p Chart)

• Example 3 A good quality lawnmower is supposed to start at the first try. In the third quarter, 50 craftsman lawnmowers are started every day and an average of 4 did not start. In the fourth quarter, the number of lawnmower did not start (out of 50) in the first 6 days are 4, 5, 4, 6, 7, 6, respectively. Was the quality of lawnmower changed in the fourth quarter?

Page 26: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (c Chart)

• Only used when sample size is unknown

• Number of complaints received in a postmaster office

• Assume there are k past samples with unknown sample size

• Sample i has number defectives

• The average defective number in past samples is

ic

k

cccc k

21

Page 27: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (c Chart)

• c Chart is

– Again, z is normal score (two tails)

zero otherwise ,0

czcLCL

czcUCL

cCL

Page 28: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (c Chart)

• Use c-chart– Count number of defectives in new samples– Plot on the c-chart

Page 29: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Construct and Use Control Charts (Example 4

for c Chart)• Example 4

– There have been complaints that the sports page of the Dubuque Register has lots of typos. The last 6 days have been examined carefully, and the number of typos/page is recorded below. Is the process in control?

Day Mon. Tues. Wed. Thurs. Fri. Sat.

Typos 2 1 5 3 4 0

Page 30: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

II. Acceptance Sampling

• Acceptance Sampling: Accept or reject a lot (input components or finished products) based on inspection of a sample of products in the lot

• Tool for Quality Assurance

Page 31: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Role of Inspection– Involved in all stages of production process– Inspection itself does not improve quality– Destructive and nondestructive inspection

• Why sampling instead of 100% inspection?– Destructive test– Worker's morale– Cost consideration

Page 32: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Single Acceptance Sampling Plan:

– Take a sample of size n from a lot with size N

– Inspect the sample 100%

– If number of defective > c, reject the whole lot; otherwise, accept it.

• need to determine n and c.

Page 33: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Operating Characteristic (OC) Curves

– to evaluate how well a single acceptance sampling plan discriminates between good and bad lots

Page 34: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Draw an OC curve approximately for a given n and c

Page 35: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Idea:– The number of defectives in a sample of size

n with defective rate p follows a Poisson distribution approximately with parameter = n*p, when p is small, n is large, and N is even larger.

Page 36: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

c

i

i

i

e

pn

cP

cPP

0

!

mean th Poisson wion based

, defectives of #

defectives of #acceptance

Page 37: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Procedure:– 1. Create a series of p = 1% to 10%.– 2. Calculate = n*p for each p.– 3. Use the Poisson table of Appendix B to find

P(acceptance) for each and c.– 4. Link P(acceptance) to form a curve.

Page 38: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Example 5 for OC curve: A single sampling plan with n=100 and c=3 is used to inspect a shipment of 10000 computer memory chips. Draw the OC curve for the sampling plan.

P(%) 1 2 3 4 5 6 7 8 9 10

= n*p

P(accpt)

Page 39: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Concepts related to the OC Curve– AQL: Acceptable quality level, the defective

rate that a consumer is happy to accept (considers as a good lot)

– LTPD: Lot tolerance percent defective, the maximum defective rate that a consumer is willing to accept

Page 40: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Concepts related to the OC Curve (continued)

– Consumer's risk: the probability that a lot containing defective rate exceeding the LTPD will be accepted.

– Producer's risk: the probability that a lot containing the AQL will be rejected.

Page 41: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Example 5 continued: The buyer of the memory chip requires that the consumer’s risk is limited to 5% at LTPD = 8%. The producer requires that the producer’s risk is no more than 5% at AQL = 2%. Does the single sampling plan meet both consumer and producer’s requirements?

Page 42: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Sensitivity of OC curve, consumer's risk, and producer's risk to N, n, c.

– Changing n, keeping c constant:• n increase, and c constant, tougher

– Changing c, keeping n constant:• c increase, and n constant, easier

Page 43: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Sensitivity of OC curve, consumer's risk, and producer's risk to N, n, c.

– Changing both n and c, keeping c/n constant:• Both n and c increase, more accurate

– Changing N:• N increase, less accurate

Page 44: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Average Outgoing Quality (AOQ) – the quality after inspection (by a single

sampling plan), measured in defective rate, assuming all defectives in the rejected lot are replaced

– = P (acceptance for a lot with defective rate p), can be found from the OC curve

aa Pp

N

nNPpAOQ

aP

Page 45: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Example 5 continued: The average defective rate of the memory chip is about 5% (based on the past data). Calculate the AOQ of the memory chip after it is inspected by the sampling plan in Example 5.

Page 46: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Other Sampling Plans

– Double sampling plan• Given n: sample size• : acceptable level of the first sample• : acceptable level of both samples

1c

2c

Page 47: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Example: • n = 100, = 4, = 7, Number of defective in the

first sample = 5.1c 2c

Page 48: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Sequential sampling plan– Given:

• n: sample size and upper and • lower limits of number of defectives allowed

Page 49: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

– Procedure: • Count # of total defectives found in all

previous samples• If # of defectives > upper boundary, reject

the lot• If # of defectives <= lower boundary, accept

the lot• Otherwise, take a new sample and repeat.

Page 50: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Acceptance Sampling

• Advantages of double and sequential samplings:– Psychologically:– Cost: less inspection for the same accuracy

Page 51: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

• Problem 1

A manufacturing company wants to use control charts to monitor a continuous process to cut plastic tubes into standard lengths. Samples of five observations each were taken yesterday, and the results are in the table below.

1. Using these sample data to construct appropriate control charts to monitor the future cutting process.

Page 52: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

Sample

1 2 3 4 5 6

79.1 80.5 79.6 78.9 80.5 79.7

78.9 78.8 79.7 79.4 79.5 80.6

80.0 81.0 80.4 79.8 80.4 80.5

78.4 80.4 80.3 80.3 80.7 80.0

81.0 80.1 80.8 80.6 78.8 80.1

Page 53: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

• 2. Four more samples of the same size have been taken today, and the results are given below. Based on the control charts you constructed, did you notice any major changes in today’s cutting process?

Page 54: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

Sample 1 (today) Sample 2 (today) Sample 3 (today) Sample 4 (today)

78.0 81.0 79.0 79.1

82.5 82.0 81.2 81.0

80.0 81.5 83.1 78.5

82.5 82.2 80.0 79.6

79.0 82.3 79.5 82.0

Page 55: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

• Problem 2• An automatic screw machine produces hex nuts.

If a hex nut does not meet the quality standard, it is considered as defective. Samples of 200 hex nuts each were taken to monitor the production. The number of defective hex nuts from the past 13 samples is listed below. Construct an appropriate control chart and determine whether or not the process is in control. (Hint: The quality here is measured by defective rate)

Page 56: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

Sample

1 2 3 4 5 6 7 8 9 10 11 12 13 

# of defectiv

es

1 2 2 4 2 3 2 0 2 10 3 2 1 

Page 57: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

• Problem 3The postmaster of a small western city receives a certain number of complaints about mail delivery each day. The number of complaints in the past 14 days is given below. Construct a control chart to see if the quality of mail delivery is in control (stable)?

Hint: For Problem 2 and 3, use the same data to construct control charts and plot on the charts constructed.

Page 58: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

Day 

1 2 3 4 5 6 7 8 9 10 11 12 13 14

# ofcomplaints

4 10 14 8 5 6 3 12 9 7 5 4 2 10

Page 59: Topic 4. Statistical Process Control (Control Charts) and Acceptance Sampling

Homework for SPC and Acceptance Sampling

• Problem 4Answer the following questions for a single sampling plan with sample size n = 80 and c = 4.Draw the OC curve for the sampling plan, using the Poisson table distributed in classIf AQL = 2% and LTPD = 8%, what would be the producer's and consumer's risks associated with the sampling plan?If the sampling plan is used to inspect a lot of 10,000 products with an average defective rate of 5%, what would be the average quality after inspection, assuming all the defectives will be replaced if the lot is rejected?