Kathmandu University Course: MATH 208, ENVE II/II Prepared By: Kiran Shrestha, Dr. Samir Shrestha Introduction To Statistical Quality Control
Kathmandu University Course: MATH 208, ENVE II/II Prepared By: Kiran Shrestha, Dr. Samir Shrestha Introduction To Statistical Quality Control
1
SQC reduce waste of time and material to the absolute minimum by giving an early warning of the cost of production
and hence may lead to more profit.
One of the methods used to detect the presence of assignable cause of variation in a production process is „Cotrol
Chart‟.
Control Charts
Introduction
Control chart is a simple pictorial device for detecting unnatural pattern of variation in data resulting from repetitive
processes.
The concept of control chart was first discovered and developed by Walter A. Shewart, a physicist, in 1924.
These charts provide criteria for detecting lack of statistical control.
Control charts are based on the theory of probability and sampling.
Control charts provide a powerful tool of discovering and correcting the assignable causes of variation, thus enabling
us to stabilize and control processes at desired performance and thus bring the process under statistical control.
Control charts are simple to construct and easy to interpret.
If fact, control charts tell us whether the sample points fall within 3 limits or not.
Any sample point going outside the 3 limits is an indication of lack of control, i.e., presence of some assignable
causes of variation which must be identified and eliminated.
CL =
Example 1: A plastics manufacturer extrudes blanks for use in the manufacture of eyeglass temples. Specifications
require that the thickness of these blanks have = 0.150 and = 0.002 inches. Use the specifications to calculate a
central line, lower control limit and upper control limit for 𝑥 chart with n = 5.
Solution: For 𝒙 chart
Here, = 0.150 inch. = 0.002 inchand 𝑛 = 5
The control lines for a 𝑥 chart are given by
𝐶𝐿 =
3
𝐿𝐶𝐿 = −
𝑛
3
𝑈𝐶𝐿 = +
𝑛
𝐶𝐿 = = 0.150
3
𝐿𝐶𝐿 = − = 0.150 – 1.342 × 0.002 = 0.147
𝑛
3
𝑈𝐶𝐿 = + = 0.150 + 1.342 × 0.002 = 0.153
𝑛
3
𝑛
1
𝑥𝑖 = 𝑥𝑖𝑗
𝑛
𝑗 =1
and the grand mean of the 𝑘 sample means is
𝑘
1
𝑥= 𝑥𝑖
𝑘
𝑖=1
This statistic is used to estimate the process mean 𝜇. Note here that it is an unbiased estimate of the process mean 𝜇.
In the same way, the process standard deviation can be estimated either from the standard deviation or from the range of
𝑘 samples.
Case II (a) - Using sample standard deviation to estimate control lines (when both process mean and standard
deviation are unknown)
If 𝑠𝑖 is the standard deviation of 𝑖 𝑡ℎ sample, then
𝑛
1 2
𝑠𝑖 = 𝑥𝑖𝑗 − 𝑥𝑖
𝑛−1
𝑗 =1
and the mean of sample standard deviation ‘𝑠’ is
𝑘
1
𝑠= 𝑠𝑖
𝑘
𝑖=1
Thus, the control lines, when both process mean and standard deviation are not known and range is used to estimate the
standard deviation are given by
𝐶𝐿 = 𝑥
𝐿𝐶𝐿 = 𝑥 − 𝐴1 . 𝑠
𝑈𝐶𝐿 = 𝑥 + 𝐴1 . 𝑠
The values of 𝐴1 for different sample sizes are listed in the Table XIII (Factors for Quality Control, Page 633)
Example 2: Construct an 𝒙 chart for 20 samples of size 3 which had sample mean 𝑥 equal to 21.2, 19.4, 20.4, 20.4,
20.4, 19.0, 20.3, 21.1, 21.6, 22.1, 24.4, 23.9, 24.9, 24.1, 21.8, 19.5, 20.3, 22.5, 23.4, 23.3 and sample standard deviation 𝑠
is equal to 2.0, 0.8, 1.1, 0.9, 1.0, 0.3, 1.3, 2.0, 0.8, 1.0, 1.5, 1.0, 1.5, 0.8, 1.3, 2.9, 4.3, 1.2, 0.3, 3.1
For 𝒙 chart,
21.2 + 19.4 … … … … … … … … … … … … … . +23.3
𝑥= = 21.7
20
2.0 + 0.8 + ⋯ … … … … … … … … … … … … . +3.1
𝑠= = 1.455
0
𝐶𝐿 = 𝑥
𝐿𝐶𝐿 = 𝑥 − 𝐴1 . 𝑠
𝑈𝐶𝐿 = 𝑥 + 𝐴1 . 𝑠
4
𝐿𝐶𝐿 = 𝑥 − 𝐴1 . 𝑠 = 21.7 − 2.394 × 1.455 = 18.22
𝑈𝐶𝐿 = 𝑥 + 𝐴1 . 𝑠 = 21.7 + 2.394 × 1.455 = 25.18
30
25 UCL
CL
20
LCL
15
10
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Figure: 𝑥 chart
Case II (b) - Using sample range to estimate control lines (when both process mean and standard deviation are
unknown)
Since the sample size commonly used in connection with the control charts for measurements is small, there is
usually very little loss of efficiency in estimating from sample ranges.
Let 𝑅𝑖 be the range of 𝑖 𝑡ℎ sample, and the mean of ranges of 𝑘 samples be 𝑅, i.e.,
𝑘
1
𝑅= 𝑅𝑖
𝑘
𝑖=1
Thus, the control lines, when both process mean and standard deviation are not known and range is used to estimate the
standard deviation are given by
𝐶𝐿 = 𝑥
𝐿𝐶𝐿 = 𝑥 − 𝐴2 . 𝑅
𝑈𝐶𝐿 = 𝑥 + 𝐴2 . 𝑅
The values of 𝐴2 for different sample sizes are listed in the Table XIII (Factors for Quality Control, Page 633)
5
R-Chart
R-chart measures process variability based on sample ranges. In this chart, it is assumed that the distribution of range of
samples is approximately normal. We consider 𝑘 samples each of size n from a process. Let 𝑅𝑖 be range of 𝑖 𝑡ℎ sample. By
sampling distribution of sample range, we can see that
𝐸 𝑅𝑖 = 𝑅
𝑘
1
𝑤ℎ𝑒𝑟𝑒, 𝑅= 𝑅𝑖
𝑘
𝑖=1
In this case since the sample size commonly used in connection with the control charts for measurements is small, there is
usually very little loss of efficiency in estimating from sample ranges.
As such following relations of sampling distribution of sample range are used to devise control limits.
So, the control lines for R-chart are given by
𝐶𝐿 = 𝑅
𝐿𝐶𝐿 = 𝐷3 𝑅
𝑈𝐶𝐿 = 𝐷4 𝑅
The values of 𝐷3 𝑎𝑛𝑑 𝐷4 for different sample sizes are listed in the Table XIII (Factors for Quality Control, Page 633)
Example 3: In 20 successive random samples of size 5, following values of means and ranges are obtained
Sample Mean Sample No.
No. Range Mean Range
1 0.152 0.004 11 0.149 0.003
2 0.147 0.006 12 0.153 0.004
3 0.153 0.004 13 0.15 0.005
4 0.153 0.002 14 0.152 0.001
5 0.151 0.003 15 0.149 0.003
6 0.148 0.002 16 0.146 0.002
7 0.149 0.006 17 0.154 0.004
8 0.144 0.001 18 0.152 0.005
9 0.149 0.003 19 0.151 0.002
10 0.152 0.005 20 0.149 0.004
Calculate 𝑥 𝑎𝑛𝑑 𝑅 of these data and use them to construct 𝑥 chart and R chart.
Here,
0.152 + 0.147 + ⋯ … … … … … … … … … … … … . +0.149
𝑥= = 0.15015
20
0.004 + 0.006 + ⋯ … … … … … … … … … … … … . +0.0.004
𝑅= = 0.00345
20
For 𝒙 chart
The control lines are given by
𝐶𝐿 = 𝑥
𝐿𝐶𝐿 = 𝑥 − 𝐴2 . 𝑅
𝑈𝐶𝐿 = 𝑥 + 𝐴2 . 𝑅
From table (See table XIII, Page 633) for 𝑛 = 5, 𝐴1 = 1.596 𝑎𝑛𝑑 𝐴2 = 0.577
6
𝐶𝐿 = 𝑥 = 0.15015
𝐿𝐶𝐿 = 𝑥 − 𝐴2 . 𝑅 = 0.15015 − 1.596 × 0.00345 = 0.144644
𝑈𝐶𝐿 = 𝑥 + 𝐴2 . 𝑅 = 0.15015 + 1.596 × 0.00345 = 0.155656
0.156 UC
0.154
0.152
0.15 CL
0.148
0.146
LCL
0.144
0.142
0.14
0.138
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Figure: 𝑥 chart
For 𝑹 chart
The control lines are given by
𝐶𝐿 = 𝑅
𝐿𝐶𝐿 = 𝐷3 𝑅
𝑈𝐶𝐿 = 𝐷4 𝑅
From table (See table XIII, Page 633) for 𝑛 = 5, 𝐷3 = 0 𝑎𝑛𝑑 𝐷4 = 2.115
𝐶𝐿 = 𝑅 = 0.00345
𝐿𝐶𝐿 = 𝐷3 𝑅 = 0 × 0.00345 = 0
𝑈𝐶𝐿 = 𝐷4 𝑅 = 2.115 × 0.00345 = 0.007297
When the production is very slow or costly it is impractical to allow the sample size to be greater than one. Other cases
include processes where every observation can be measured due to automated inspection. Then the Shewhart control chart
for individual measurement is appropriate in these situations. The Shewhart chart uses the moving range, MR of two
successive observations for estimating the process variability. The moving range for 𝑚 observation 𝑥1 , 𝑥2 , … . , 𝑥𝑚 is
defined by
𝑀𝑅𝑖 = 𝑥𝑖 − 𝑥𝑖−1 , 𝑖 = 2,3, … , 𝑚
The control limits for individual control chat are calculated as
𝐶𝐿 = 𝑥
𝑀𝑅
𝐿𝐶𝐿 = 𝑥 − 3
𝑑2
7 𝑀𝑅
𝑈𝐶𝐿 = 𝑥 + 3
𝑑2
1 𝑚 1 𝑚
where 𝑥 = 𝑖=1 𝑥𝑖 sample is mean of the observation data 𝑥𝑖 and 𝑀𝑅 = 𝑖=2 𝑀𝑅𝑖 is the sample mean of the
𝑚 𝑚 −1
moving range 𝑀𝑅𝑖 .
The values of 𝑑2 for different sample sizes are listed in the Table XIII (Factors for Quality Control, Page 633)
The control limits for the moving range control chart are
𝐶𝐿 = 𝑀𝑅
𝐿𝐶𝐿 = 𝐷3 𝑀𝑅
𝑈𝐶𝐿 = 𝐷4 𝑀𝑅
The values of 𝐷3 𝑎𝑛𝑑 𝐷4 for different sample sizes are listed in the Table XIII (Factors for Quality Control, Page 633)
a) They are charts for variables only, i.e., for quality characteristics which can be measured and expressed in
numbers.
b) In certain situations, they are impracticable to construct, e.g., if the number of measurable characteristics is too
large such as a radio, or a television, or any other electric appliances
(In such case it would be appropriate to construct the control charts for attributes.)
In spite of wide applications of 𝑥 and R charts for detecting the assignable causes of variations in a production process,
their use is restricted because firstly they are charts for variables only, i.e., for quality characteristics which can be
measured and expressed in number and secondly, in some cases they are impracticable and un-economic to construct.
In situations like this it would be more appropriate to construct the control charts for attributes.
For control limits of 𝑝 − 𝑐ℎ𝑎𝑟𝑡, 𝑐 − 𝑐ℎ𝑎𝑟𝑡 𝑎𝑛𝑑 𝑢 − 𝑐ℎ𝑎𝑟𝑡 and examples, see in the BOOK: PAGES 520-525