0% found this document useful (0 votes)
8 views

Module02 ControlChartsAndProcessCapability

Uploaded by

Aman Sinha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Module02 ControlChartsAndProcessCapability

Uploaded by

Aman Sinha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 65

Control Charts and

Process Capability
Prof. Sayak Roychowdhury
Sampling
• It is not always possible to measure quality characteristics
of each item in a population.
• Samples are used to provide information about process or
product characteristics at a fraction of cost.
• Necessary for destructive tests
• A sampling design is a procedure by which the
observations in a sample are chosen from the population
• An element is an object for which data are gathered
• A sampling unit is an individual element or a collection of
elements from a population
• A sampling frame is a list of sampling units
Sampling Errors

Random • Inherent sampling variability, e.g. due to


Variation instrument, people etc.

• Happens in opinion polling, customer satisfaction


Misspecification
survey, incorrect listing of sampling frame

• Happens in sample surveys, cases where


Non responses
measurements not possible
Sampling Methods

Sampling

Simple Random Stratified Cluster


Sampling Sampling Sampling
Simple Random Sampling
• A sample of size is chosen from a fixed population of
size . In SRS, each possible sample of size has equal
chance of being selected.
• Random number tables may be used for sampling
• In estimating population mean by the sample mean ,
the variance of the estimator is given by
( sample variance)
( is called finite population correction factor
Precision is inverse of variance.
Stratified Random Sample
• Useful when the population is heterogeneous, e.g.
production from multiple machines, under multiple
operators, samples from different geographical regions.
• Stratified random samples are obtained by separating the
elements of the population in nonoverlapping groups
(strata).
• Proportional allocation of sample size, for strata, let
be the population size of the strata, and .
Sample size from each strata:
Stratified Random Sample
• Sample mean and variance of estimator are given by

Where ,
Cluster Sampling
• When a sampling frame is not available or obtaining
samples from all segments of the population is not
feasible due to geographical reasons, cluster sampling is
used.
• Population is divided into groups of elements, called
clusters
• Clusters are randomly selected and a census data is
obtained.
• Sampling error maybe reduced by choosing many small
clusters rather than choosing a large cluster
Example of Cluster Sampling
A researcher wants to conduct a study to judge the performance
of sophomore’s in business education across the India.
By using cluster sampling, the researcher can club the
universities from each city into one cluster (North, South, East,
West regions).
These clusters then define all the sophomore student
population in India.
Next, either using simple random sampling or systematic
random sampling, randomly pick clusters for the research
study.
Subsequently, by using simple or systematic sampling, the
sophomore’s from each of these selected clusters can be
chosen on whom to conduct the research study.
How to choose sample size?
• Bound on error estimation on population mean:
Let there is probability that the difference
between the estimated mean and the actual mean is not
greater than (tolerable error bound).

An analyst wishes to estimate the average bore size of a large casting. Based on historical
data, it is estimated that the standard deviation of the bore size is 4.2 mm. If it is desired to
estimate with a probability of 0.95 the average bore size to within 0.8 mm, find the
appropriate sample size.
How to choose sample size?
• Bound on error estimation on population proportion:
Let there is probability that the difference
between the estimated proportion and the actual
proportion is not greater than (tolerable error bound).
E.g. proportion of satisfied customers, prop of non
conforming etc.

Either put (sample proportion) or for


conservative estimate
Example
We want to estimate with a probability of 0.90 the
proportion of nonconforming tubes to within 4%. How large
a sample should be chosen if no prior information is
available on the process?
How to choose sample size?
• Estimating difference between 2 population means:

Where B is the tolerance of error for estimating the


difference in population means with sample means

• Estimating difference between 2 population proportions:


7 QC Tools
• Cause and Effect Diagram
• Check Sheet
• Control Chart
• Histogram
• Pareto Chart
• Scatter Diagram
• Stratification / Defect Concentration Diagram
Control Charts
Utility of Control Charts
• Control charts are proven techniques to improve
productivity
• Effective in defect identification and prevention
• Control charts prevent unnecessary process adjustments
• Diagnostic information
• Process capability information
Rational Subgroups (Section 5.3.4
Montgomery)
• Sampling procedure to ensure that the variation within the group is only due
to chance causes.
• Lots from which the subgroups are chosen should be homogeneous, e.g.
same machine, same operator , same mold cavity etc.
• Items of any one subgroup should be produced under essentially same
conditions.
• Instant time method: Parts in the subgroup are chosen in the same time-
instant. The next subgroup is picked after a certain time interval. (Maximum
variation among subgroup)
• Period of time method: Subgroups are sampled from parts produced since
the last sample was taken. It is used to make decisions about acceptance of
products produced since the last inspection.

09.09.2023
In-control or Out of Control
Causes of Variation
Samples maybe out-of-control due to:
• Special Cause or Assignable Cause: Not inherent in the
process, does not affect all the time. It could be the use of
a wrong tool, tool damage, operator mistake, incorrect
measurement etc. Control charts are used to detect the
presence of special causes as soon as possible. Special
causes need to be removed to get the process back to
normality.
• Common Cause: Variability due to common or chance
causes, inherent to a process. It is inherent part of process
design and affects all time. Process need not be changed
due to common cause variations.
Control Limits of Shewhart Control
Chart

• R chart


Derivation
• Centre Line
• UCL and LCL these are 3 sigma

• UCL = =
• LCL = =
Derivation
• Relative Range a random variable
• Parameters of distribution of depend on sample size
• Mean of is
• Estimator of is , we may use as is
the average range of preliminary samples



Derivation
• Standard deviation of is
• Estimator of is
• Standard deviation of can be written as as


• For R chart



Revised Control Limits
Discard out of control samples with assignable causes.

Revised control limits are calculated as below, for total


number of samples and number of defective samples :

( can be found in table)


;
; ;

09.09.2023
X-bar and R chart
• chart monitors between sample variability, chart
monitors within sample variability
• To design chart, the following must be specified:
• Sample size
• Control limit width
• Frequency of sampling
• chart is capable to signal moderate to large process
shifts or larger)
• chart is relatively insensitive to shift in process standard
deviation for small samples
Error in Making Inference
• Type I Error: This error results from inferring a process is
out of control when it is not. It is denoted by . This
happens due to chance causes, when a control charts falls
outside control limits. For limits, probability of type I
error is 0.0027.
• Type II Error: This error results from inferring a process is
in control when it is out of control. It is denoted by . This
can happen when the process mean or the process
variability or both have changed.
Xbar & R Charting
Subgp. X1 X2 X3 X4 Xbar R
• Step 1. (Startup) Collect data for 25. 1 20.50 3.10 2.10 4.00 7.43 18.40

Xbarbar is grand average, Rbar is... 2


3
1.20
5.40
2.40
2.20
2.40
2.30
1.40
0.20
1.85
2.53
1.20
5.20
4 1.10 11.00 3.10 1.50 4.18 9.90
• Step 2. (Startup) “Trial” limits: 5 1.40 6.50 2.20 6.50 4.15 5.10
6 2.30 2.30 0.30 19.40 6.08 19.10
• Step 3. (Startup) Find out of control 7 13.10 3.10 2.40 0.40 4.75 12.70

signals. Remove if assignable causes 8


9
0.60
1.60
2.10
1.60
3.30
13.10
5.30
0.50
2.82
4.20
4.70
12.60
are found 10 8.10 1.00 2.20 0.10 2.85 8.00
11 3.20 5.30 9.20 1.30 4.75 7.90
• Step 4. (Startup) Revise limits. 12 4.50 5.40 4.50 14.70 7.28 10.20
13 2.40 1.30 0.20 10.30 3.55 10.10

• Step 5. (Steady State) Plot and local 14


15
1.60
3.20
5.40
9.30
3.10
4.00
7.20
2.10
4.32
4.65
5.60
7.20
authority investigates if out-of-control 16 0.20 0.60 1.30 2.60 1.17 2.40

signals occur (can act). 17


18
1.30
2.00
1.30
6.10
5.10
5.10
0.30
5.20
2.00
4.60
4.80
4.10
19 2.30 1.10 6.10 5.20 3.67 5.00
20 2.40 4.60 0.60 6.20 3.45 5.60
21 3.00 1.60 6.50 1.20 3.07 5.30
22 5.60 14.10 6.50 2.30 7.12 11.80
23 0.50 1.10 2.10 1.10 1.20 1.60
24 1.40 3.00 4.40 2.20 2.75 3.00
25 2.30 2.20 1.40 2.40 2.08 1.00
Xbarbar= 3.86 Rbar=7.3
Trial Limits
d2(n=4) = 2.059
sest = 7.300/2.059 = 3.55

D2 = 4.698
10
D1 = 0.000
8
s0
UCLXbar = Xbarbar + 3.0 ×
n 6
UCL
Signals on the R chart. Do 4 Xbar
detective work. Overnight
stays. Not fair to keep. 2

So remove. 0
1 6 11 16 21

21

16

11 UC
LR

1
1 6 11 16 21

09.09.2023
Revised Limits
Phase I Phase II

d2(n=4) = 2.059
9
sest = 6.300/2.059 = 3.062 8
D2 = 4.698 7 Range of Times (4
patients, not including one Revised
D1 = 0.000 6 "extra-long" overnight UCLXbar
5 Xbar
6s0 = the process capability 4 CLXbar
= 18.4 hours 3 LCLXbar

(range for hospital) 2


1 Evidence of
No specs. so no Cpk
0
1 6 11 16 21 26 31
Subgrou
16
Range of Times (4 patients, not including one "extra-

11
UCLR
R
CLR
6

1
1 6 11 16
Subgroup 21 26 31

09.09.2023
Revision Formula
Xbarbar,revised = [25 Xbarbar,trial – (removed)] ÷ (25 – # removed)]
(25*3.86 – 7.43 – 6.08) ÷ 23 = 3.6 hours
Makes a small difference but it is fair as long as we clarify we are not
considering overnight stays
Only remove if an assignable cause was found and eliminated.
Otherwise leave data in (common or chance causes).

Process capability: Measurement of the Common Cause variation/system


quality:
6 s0 derive fairly measures common cause variation
18.4 hours (you can pretty much count on range less than that)

09.09.2023
X bar and S chart
• It is occasionally desirable to monitor process standard
deviation directly, rather than indirectly as done in
chart.
• and chart are preferable when
• The sample size is moderately large for or 12.
• The sample size is variable
• The unbiased estimator of population variance is
sample variance

• The sample sd estimates , sd of is


*
Xbar and S Chart
• Since the center line is . The 3 sigma limits
of the s-chart is given by
X bar and S chart with Sample Estimators
• Consider as an unbiased estimator of
• For preliminary samples with sd , the average of m
standard deviation is given by

Where and
X bar and S chart with Sample Estimators
• Control limit for corresponding chart is given by
Probability of an Xbar False Alarm
Assume that the subgroups are rational (skipping and
representative of a homogeneous group) and the
system is under control (no assignable causes so
distribution is the same), what is probability of a false
alarm on the next subgroup from the Xbar chart?
CLT  Xbar ~ N[m,s/sqrt(n)]
1-Pr{LCLXbar = m – 3s/sqrt(n) ≤ Xbar ≤ UCLXbar = m +
3s/sqrt(n)} =1- Pr{-3 ≤ Z ≤ 3} = 1-2 Pr{Z ≤ -3} = 0.0027
Even if you are doing everything correctly, you have a
0.0027 chance of a false alarm.
(Average Run Length (ARL) in control 1÷0.0027= 370.4)

09.09.2023
Average Run Length (ARL)
• To measure the performance of a control chart, ARL is used.
• ARL denotes the number of samples, on average, required to
detect and out of control signal.
• If is the probability that a process is out of control then run
length is 1 with probability , 2 with probability ,
3 with . Hence

• For a process in control, is (probability of type I error)


• For an in-control process, ARL should be as large as possible.
• For an out of control process . Probability of
Type II error.
• For out of control process, ARL should be as small as possible.
ARL Curve

Source: QCI, Amitava


Mitra
Analysis of Pattern in Control Chart
• Process should be investigated when there is non-random
pattern in control chart
• Most sample averages
are below centre line !
• Continuous rise (run-up)
or fall (run-down)

• A run length of 8, or consecutive


8 points above or below centre
line may indicate out-of-control
• Cycles are another type of
pattern 
Analysis of Pattern in Control Chart

• A mixture pattern when


most points are near
control limits, result of two
or more distributions

• A shift in the process may occur


due to introduction of new
operator, material, machine,
inspection method etc.

Analysis of Pattern in Control Chart
• A trend occurs when there
is continuous deterioration
of tools. In chemical
processes they occur due
to settling or separation of
components.

• Stratification is when points


cluster artificially near centre
line. This may happen when
rational subgrouping is not
done.
Rules of Identifying Out of Control Points
1. If single point plots are outside control limits
2. If 2 out of 3 consecutive points plots fall outside
warning limits on the same side of centre line
3. If 4 out of 5 consecutive points fall beyond limit on
the same side of centre line
4. If 9 or more consecutive points fall on one side of centre
line
5. If 6 or more consecutive points steadily increases or
decreases
Process Capability Analysis
1. Predicting how well the process will hold the tolerances
2. Assisting product developers/designers in selecting or
modifying a process
3. Assisting in establishing an interval between sampling for
process monitoring
4. Specifying performance requirements for new equipment
5. Selecting between competing suppliers and other aspects of
supply chain management
6. Planning the sequence of production processes when there is
an interactive effect of
processes on tolerances
7. Reducing the variability in a process
Process Capability
• Assumptions:
• The quality characteristic has normal distribution
• Process is in statistical control
• Process Capability Ratio (PCR) :

• gives the percentage of the specification


band used by the process.
• is used to
determine if the process is centered.
Process Capability
Is Adequate?
Is Adequate?
• The process capability ratio was initially developed
because does not adequately deal with the case of a
process with mean that is not centered between the
specification limits.
• However, alone is still an inadequate measure of process
centering.
• Both processes A and B have = 1.33, yet their centering is
clearly different.
• For process A, = = 1.33, implying that the process is
centered, whereas for process B, = 2.67 > = 1.33,
implying that the process is off-center.
• For any fixed value of in the interval from LSL to USL,
depends inversely on and becomes large as approaches 0.
Process Capability
• A process capability ratio that is a better indicator of centering

• is the squared root of expected squared deviation from


target

Where
Process Capability
• A necessary condition for is

Thus, a given value of places a constraint on the


difference between and the target value T.
Type I and Type II Error in CC
• Type I Error ( : Detecting a shift in process when there is
no shift (False Alarm)
• Wider the control limits, lower is the probability of Type I Error
• Type II Error ( : Not detecting a shift in process when
there is a shift
• Closer the control limits, smaller is the probability of Type II
Error
• Decreases with increase in sample size
• OC-curve is used to as a visual tool to analyze the change in
probability of Type II Error with the change in process
parameter.
• Sample size should be chosen judiciously, so that a
balance in probabilities of Type I and Type II Error is
maintained.
OC-curve for chart
OC-curve for chart


=
Attribute Control
Charts, I-MR Chart
Prof. Sayak Roychowdhury
Control Charts
P-chart (fraction of non-conforming)
• Step 1. (Startup) Obtain the total fraction of nonconforming units or systems
using 25 rational subgroups each of size n.
• Step 2. (Startup) Calculate “trial” limits:
̅( ̅)
• (Minitab>Stat>Control charts>Attribute Charts>P)
̅( ̅)

• Step 3. (Startup) Identify all the periods for which p = fraction nonconforming in
that period and p < LCLtrial or p > UCLtrial. Investigate, remove if unfair.
• Step 4. (Startup) Calculate the total fraction nc. using remaining. New =
“process capability”. Calculate revised limits.
• Step 5. (Steady State) Plot the fraction nonconforming, pj, for each period j and
alert designated local authority if out-of-control signals occur.
https://www.spcforexcel.com/knowledge/attribute-control-charts/p-control-
charts#example
P-chart

New Trainee Training implemented


P Chart of nc
P Chart of nc
1
0.30 0.12
UCL=0.1169

1 0.10
0.25
1
0.08

Proportion
0.20
0.06
_
Proportion

P=0.0509
0.15 UCL=0.1555 0.04

0.02
0.10
_
P=0.076 0.00 LCL=0

0.05 1 3 5 7 9 11 13 15 17 19 21
Sample
Results exclude specified rows: 14:16
0.00 LCL=0

1 3 5 7 9 11 13 15 17 19 21 23 25
Sample
Capability = 0.0909
np-chart (# of non-conforming)

• Subgroup size needs to be constant


• Calculate “trial” limits:



Variable Sample Size for Non conforming
Attribute Control Charts
1. Variable Control Limits:
,
2. Control limits based on average sample size:
, where

is the average sample size.

3. Standardized control chart:


with control limits +3, and -3.
OC-Curve for p-chart (7.2.4)



C-chart (count of non-conformities)
• Step 1. (Startup) Collect data
• Step 2. (Startup) Subgroup size is one inspected unit (e.g. 1 airplane, 1 case
of pencils)
• Step3.Calculate trial limits
• , (average count of non-
conformities)

• Step 3. (Startup) Find out of control signals. Remove if unfair.
• Step 4. (Startup) Revise limits Revised is process capability
• Step 5. (Steady State) Plot and local authority investigates if out-of-control
signals occur (can act).

(Minitab>Stat>Control charts>Attribute Charts>C)


U-chart (count of non-conformities/unit)
• Step 1. (Startup) Collect data for m periods. where
is the count of defects (non conformities) in each subgroup
• Step 2. (Startup) Calculate “trial” limits for sample:
• ,

• Step 3. (Startup) Find out of control signals. Remove if unfair.


• Step 4. (Startup) Revise limits Revised is process capability
• Step 5. (Steady State) Plot and local authority investigates if out-of-control
signals occur (can act).

(Minitab>Stat>Control charts>Attribute Charts>U)


U-chart
moving to a new
Average # nonconformities hospital one time
per patient (not usual or fair)
2.500
A verage D emerits Per Patient

2.000

1.500

1.000

0.500

0.000
1 3 5 7 9 11 13 15 17 19 21 23 25
Subgroup Number
Demerit Chart
• Determine 4 classes of non-conformities, very serious (A), serious (B)
moderately serious (C), and minor (D). Assign weights , , and .
• For sample size , let denote the total number of defects of
each class.
• Determine standard non-conformities per unit ,

• Demerits per unit is given by


• CL =
+


Chart Comparison
Method Advantages Disadvantages
Xbar & R Uses fewer inspections, gives Requires 2 or more
charting greater sensitivity charts for single type of
unit
p-charting Requires only go-no-go data, Requires many more
intuitive inspections, less sensitive
Demerit charting Addresses differences between Requires more
nonconformities inspections (but less than
p), less sensitive
u-charting Relatively simple version of Requires more
demerit charts inspections (but less than
p), less sensitive
c-charting Simple (u with n = 1) Requires more
inspections (but less than
p), less sensitive
Np-charting Simpler (equivalent to p just Same as p plus cannot
no ÷ n) have variable n
I-MR (Individual, Moving Range) Chart
• For some cases, rate of production is low, it is not feasible
for a sample size to be greater than 1.
• When testing process is destructive, and the cost of item
is high, then sample size might be chosen to be 1.
• If every unit is inspected, sample size is 1.
• Data comes slowly, so samples with elements produced at
long intervals creates problem for rational subgrouping.
I-MR chart (ch 6.4)
• Control chart for individual measurements
• Useful for detection of system stability
• (moving ranges)
• Trial Limits
• 𝑈𝐶𝐿 = 𝑥̅ + 3 ∗ (for n=2, 𝑑 =1.128) 𝑈𝐶𝐿 = 𝐷 𝑀𝑅, 𝐷 = 3.267 𝑓𝑜𝑟 𝑛 = 2
• 𝐶𝐿 = 𝑥̅ 𝐶𝐿 = 𝑀𝑅
• 𝐿𝐶𝐿 = 𝑥̅ − 3 ∗ 𝐿𝐶𝐿 = 0

• Revised Limits
• 𝜎 = 0.8865𝑀𝑅 , 𝑥 = 𝑥̅


• Minitab > Stat> Control charts > Variable charts for individuals > I-MR
• Researchers have indicated that MR chart cannot really provide additional
information on variability, MR values are not independent.

You might also like