Statistical Process Control
Statistical Process Control
8 STATISTICAL
PROCESS
CONTROL
Objectives
After studying this chapter you should
8.0
Introduction
147
8.1
Control charts
(3)
(1)
Action limit
Warning limit
Target value
(2)
If the sample mean lies within the warning limits (as point (1)) the
process is assumed to be on target. If it lies outside the action
limits (as point (2) the process is off target and the machine must
be reset or other action taken. If the mean is between the warning
and action limits (as point (3)) this is a signal that the process may
be off target. In this case another sample is taken immediately. If
the mean is still outside the warning limits action is taken. If
however the second sample mean is within the warning limits
production is assumed to be on target.
Activity 1
Here are the weights, in grams, of 100 Mars Bars (unwrapped)
59.55
64.57
63.34
58.55
59.80
61.82
59.90
62.17
68.11
60.46
62.33
60.14
60.01
65.36
61.45
58.98
57.73
61.29
65.46
59.05
63.68
62.51
59.11
63.03
60.78
62.63
67.08
69.01
57.81
61.06
67.10
62.02
62.57
61.71
61.89
59.68
63.25
63.31
64.73
55.08
56.85
60.16
58.48
62.26
63.91
62.79
64.20
62.92
63.27
61.60
57.84
61.45
60.25
62.05
58.53
63.90
61.16
64.13
64.63
63.85
64.40
58.42
61.42
60.42
59.29
62.64
61.03
62.46
59.70
64.42
148
60.26
58.19
63.25
58.77
62.24
61.96
65.79
60.61
54.59
62.91
62.05
65.65
63.46
62.69
61.12
64.14
62.43
61.58
61.83
63.54
64.29
65.90
63.33
66.20
60.60
60.70
62.75
60.71
59.21
60.69
Warning limit
Action limit
61.5 1.96
2.6
5
61.5 2.28
61.5 3.09
2.6
5
61.5 3.59
1.96
3.09
2
3
and
n
n
149
Activity 2
(a) Draw a control chart for means for the Mars bars.
(b) Calculate the sample mean for each of the following ten
samples. Plot the means on the chart.
Sample
1
10
59.55 64.57 63.34 58.55 59.80 61.82 59.90 62.17 68.11 60.46
62.33 60.14 60.01 65.36 61.45 58.98 57.73 61.29 65.46 59.05
63.68 62.51 59.11 63.03 60.78 62.63 66.03 69.01 57.81 65.06
67.10 62.02 62.57 60.72 61.89 59.68 64.25 63.31 64.73 55.08
56.85 60.16 58.48 62.26 63.91 62.70 65.20 62.92 63.27 61.60
Activity 3
A machine filling packets of breakfast cereal is known to operate
with a standard deviation of 3 g. The target is to put 500 g of
cereal in each packet. Production is to be controlled by taking 4
packets at regular intervals and weighing their contents.
(a) Set up a control chart for means.
(b) What action, if any, would you recommend if the next sample
weighed
(i)
503,497,499,496
(ii) 501,491,492,492
(iii) 502,500,507,505
(iv) 500,501,501,501?
In what way are statistical processes controled by hypothesis
testing ralated?
Target values
In some cases the target value is not known or not attainable. For
example the target for strength of malleable iron castings is 'as
large as possible'. The target value for percentage impurity is
probably zero but it will be recognised that this is unattainable (and
even if it was attainable it would be nonsense to set up charts with
lower limits set at negative values of impurity). In these cases a
large sample should be taken when the process is believed to be
running satisfactorily and the sample mean used as a target value.
150
148 1.96
2.5
3
145.2 150.8
2.5
3
143.5 152.5
A sample mean less than 143.5 would lead to action being taken in
the usual way. A sample mean greater than 152.5 would indicate
that the average strength had increased. This would not of course
lead to action to reduce the mean but might lead to an investigation
to see how the improvement may be maintained.
Control of variability
Referring back to the Mars bar example, the next sample weighed
59.35 62.46 48.67 68.79 71.23.
151
8.2
The limits for the range are found by multiplying the short term
standard deviation by the appropriate value of D found from tables.
In the case of the Mars bars with samples of size 5 and a short term
standard deviation of 2.6
the upper action limit is
Activity 4
Draw a control chart for sample ranges for the Mars bars. Plot the
ranges of the ten samples given in activity 2. Are there any signals
to stop production?
8.3
These are calculated and operated in exactly the same way as the
charts for ranges. The only difference being that the appropriate
factor is selected from a different table. The standard deviation
chart gives a slightly better chance of detecting an increase in the
variability when one exists. The risk of a false alarm is the same
for both charts.
For the Mars bar example
the upper action limit is
As with the range charts the lower limits often are not used.
Note the sample standard deviations should be calculated using the
formula =
( x x )2
n 1
Activity 5
Draw a control chart for sample standard deviations for the Mars
bars. Plot the sample standard deviations for the ten samples given
in activity 2. Are there any signals to stop production?
Activity 6
Set up a chart for sample standard deviations for the packets of
breakfast cereal in activity 3.
What action, if any, would you recommend if the next sample
weighed
(i)
502,496,499,496,
(ii) 505,495,496,496,
(iii) 499,490,505,505,
(iv) 506,510,508,508,
(v) 497,498,498,497?
Note that a sample must lie within the warning limits on both the
mean and the standard deviation (or range) chart for production to
be considered satisfactory without further checking.
8.4
( x x )2
n 1
This is how the standard deviation was estimated for the Mars
bars. The same sample may also be used for estimating a suitable
target value when one is required. This procedure is called a
process capability study.
153
10
4.97 4.98 5.13 5.03 5.19 5.13 5.16 5.11 5.07 5.11
5.09 5.15 5.05 5.18 5.12 4.96 5.15 5.07 5.11 5.19
5.08 5.08 5.12 5.06 5.10 5.02 4.97 5.09 5.01 5.13
5.06 4.99 5.11 5.05 5.04 5.09 5.09 5.08 4.96 5.17
0.0873
0.0171
0.0660
0.0365
154
Example 1
In the production of bank notes samples are taken at regular
intervals and a number of measurements made on each note. The
following table shows the width, mm, of the top margin in eight
samples each of size 4. The target value is 9 mm.
Sample 1
9.0 10.4
8.2
7.9
8.2
8.4
7.4
7.6
8.1
9.0
9.2
7.7
9.0
8.1
8.0
8.5
8.7
7.9
7.9
7.7
7.4
8.4
8.9
8.1
7.5
7.2
7.7
9.3
8.6
8.7
9.8
8.8
mean
8.325
8.625
8.25
8.15
8.3
8.4
8.525
8.25
range
1.5
3.2
1.5
1.6
1.6
0.6
2.4
1.2
155
13.6
= 1. 7
8
estimated standard deviation = 0. 4857 1. 7 = 0.826
1.96 0.826
8.19 9.81
4
3.09 0.826
7. 72 10.28
4
Sample
mean (mm)
Action limit
10
Warning limit
Target value
Warning limit
Action limit
Sample number
1
0.595 0.826 = 0. 49
Sample
Sample
range (mm)
mean (mm)
Action limit
4
Warning limit
3
1
Warning limit
Action limit
Sample number
0
1
156
(i)
( x x )2
(n 1) . This would be a satisfactory method if the mean
had not changed while the eight samples were taken but would
tend to overestimate the short term standard deviation if it had.
In this case the eight plotted means suggest that the mean has
remained constant (although below target).
Another alternative is to calculate the standard deviation separately
for each sample. If these values are 1 , 2 , K, 8 the estimate of
the standard deviation will be
12 + 2 2 + K + 8 2
8
another alternative is to use
1 + 2 + K + 8
.
8
This method will be satisfactory even if the mean has changed and
even if the data is not normally distributed.
157
8.5
Tolerance limits
z1 =
z2 =
( 4.9 5.0 )
0.06
(5.1 5.0 )
0.06
= 1.67
1 0.9524
1.67
= 1.67
158
1 0.9524
1.67
Example 2
The copper content of bronze castings has a target value of 80%.
The standard deviation, is known to be 4%. During the production
process, samples of size 6 are taken at regular intervals and their
copper content measured.
(a) Calculate upper and lower warning and action limits for
control charts for
(i) means,
(ii) standard deviations.
(b) The following results were obtained from samples on three
separate occasions
(i) 82.0 83.5 79.8 84.2 80.3 81.0
(ii) 75.8 68.4 80.3 78.2 79.9 73.5
(iii) 79.5 80.0 79.9 79.6 79.9 80.4
For each sample calculate the mean and standard deviation and
recommend any necessary action.
(c) If the process currently has a mean of 76% with a standard
deviation of 4%, what is the probability that the mean of the
next sample will lie within the warning limits?
(d) The tolerance limits are 73% and 87%. A process capability
index, C p , is defined by
(i)
Calculate C p =
tolerance width
6
4
6
76.8 83.2
80 3.09
4
6
74.95 85.05
Action limits
2.03 4 = 8.12
1.60 4 = 6. 4
0. 41 4 = 1.64
0.20 4 = 0.8
z2 =
( 76.8 76)
4
(83.8 76)
4
= 0. 490
= 4. 777
160
0.68793
0.490
4.777
(d) (i)
Cp =
(87 73)
= 0.583
(6 4 )
Outside
tolerance
Outside
tolerance
Outside
tolerance
8.6
usual way.
In this case warning limits for p are
0.865
100
0.068 0.202
161
0.865
100
0.029 0.241
Proportion
non-conforming
0.25
Action limit
Warning limit
0.20
0.15
0.10
Warning limit
0.05
Action limit
Sample number
0
1
10
The lower limits are not needed but may be retained as a check
on errors in the data or to indicate that an improvement has
occurred.
4.
5.
6.
If the samples are too small the normal approximation will not
be valid. It would be necessary to use exact binomial
probabilities to calculate the limits. However as small samples
do not give good control using proportion defective this
problem is not likely to arise. Small values of p would also
cause the normal approximation to be invalid. However good
control cannot be maintained for small values of p. This
problem can be overcome by tightening up the definition of
non-conforming.
162
11
12
Example
At a factory making ball bearings, a scoop is used to take a sample
at regular intervals. All the ball bearings in the scoop are
classified as conforming or non-conforming according to whether
or not they fit two gauges. This is a very quick and easy test to
carry out.
Here is the data for ten samples
Sample
Number in scoop 95
99
Number
non-conforming
16
10
115 120
84
107
97
119
92
112
11
11
13
14
10
13
10
16 + 6 + 11 + 10 + 11 + 5 + 13 + 14 + 10 + 13 = 109
the total number of ball bearings observed is
95 + 99 + 115 + 120 + 84 + 107 + 97 + 119 + 92 + 112 = 1040
n=
1040
= 104 ,
10
p=
109
= 0.1048
1040
0.8952
104
0.046 0.164
163
0.8952
104
0.012 0.198
Action limit
Warning limit
0.15
0.10
0.05
Warning limit
Action limit
Sample number
0
1
20
= 0.217 above action limit. Take action.
92
164
1
= 0.010 below action limits. Process has
104
improved. Try to maintain the improvement.
10
8.7
Miscellaneous Exercises
64
76
52
40
10
53
7
41
56
62
31
17
44
26
54
62
51
27
37
69
61
16
54
32
48
17
44
46
49
48
72
76
64
41
59
80
68
214.5
210.0
212.0
203.5
214.0
204.5
209.0
198.5
203.0
213.5
217.5
216.0
217.0
214.0
209.5
211.0
198.0
209.5
213.5
213.5
224.0
220.0
224.0
218.5
210.0
210.0
208.0
210.0
220.0
211.0
165
( USL LSL )
.
6
Comment on the ability of the process to
meet this specification.
5. Lengths of cloth produced at a mill often
have to be 'mended' by hand before being
saleable. In sets of 50 the numbers needing
mending were as follows;
17, 14, 13, 16, 14, 16, 22, 19, 15, 16, 12
166
2
9
3
7
4 5
15 10
6
8
7 8
13 12
9
6
10
7