Sub topic 1
Why you must check the ruler before you measure the process
Prerequisites
This chapter assumes you already know:
- Mean, variance and standard deviation, including that variances add for independent sources.
- The basic shape of a normal distribution.
- How to read a run chart or a control chart.
- Process improvement terms such as process variation and specification limits.
You do not need any gage R&R mathematics yet. The later chapters build that up. This chapter explains why the analysis is worth doing and what it covers.
Every number is a measurement, not the truth
A process improvement project runs on data. You collect measurements, plot them, compute averages and capability indices, and decide what to change. Each of those steps treats the numbers as if they described the product. They do not. They describe what the measurement system reported.
A measurement system is everything that produces a number: the instrument or gage, the operator, the method, the fixture that holds the part, the environment, and the software that records the result. Each of these parts can add error.
A measurement is therefore the true value of the characteristic plus an error that comes from the system. The true value is never directly visible. You see only the sum.
If the error is small compared with the variation you are trying to study, you can ignore it. If it is large, the data mislead you. You may chase variation that does not exist in the process, miss variation that does, or accept bad product. Measurement system analysis (MSA) is the set of studies that tells you which situation you are in. Gage R&R is the best known of these studies.
What goes wrong when you skip it
Measurement error does not stay in the measurement step. It affects every later decision.
Capability looks worse than it is
Measurement noise adds to the real process spread. The standard deviation you calculate from the data is larger than the true process standard deviation. Capability indices such as Cp and Cpk divide the tolerance width by that spread, so they fall. A process that is truly capable can look incapable. A team may then spend money on a process change that was never needed.
Control charts give false signals or hide real ones
On a control chart, the limits come from the observed variation. Noisy measurements widen the limits and reduce the chance of seeing a small shift. A system with a bias that changes over time, for example because a gage drifts, can produce a signal that looks like a process shift. Someone then adjusts a process that was fine.
Good parts are rejected and bad parts are accepted
When a part is near a specification limit, a small error can move the reported value to the other side. Two kinds of mistakes follow:
- A conforming part is reported as out of spec. This causes scrap, rework and false alarms.
- A nonconforming part is reported as in spec. This sends defects to the customer.
The size of both mistakes depends on how large the measurement error is compared with the tolerance.
Experiments and improvement tests lose power
If you test whether a change moved the mean, measurement noise adds to the variation that the test has to see through. You need more samples to detect the same shift, or you miss the effect completely. Many failed improvement projects were not failures of the idea. The measurement could not detect the improvement.
A small simulation
The chapter on variance decomposition covers the exact relationship. For now, a simulation is enough to see the effect. The script below creates a process whose true spread gives a Cp of exactly 1.0. It then adds measurement error of increasing size and reports the apparent Cp and the share of truly conforming parts that are reported as nonconforming.
import numpy as np
rng = np.random.default_rng(7)
n = 100_000
true_mean, true_sd = 10.0, 0.10
lsl, usl = 9.7, 10.3 # tolerance width 0.6, so true Cp = 0.6 / (6 * 0.10) = 1.0
true_values = rng.normal(true_mean, true_sd, n)
truly_ok = (true_values >= lsl) & (true_values <= usl)
print("meas_sd apparent_Cp good_parts_rejected_%")
for meas_sd in (0.0, 0.03, 0.05, 0.10):
error = rng.normal(0.0, meas_sd, n)
observed = true_values + error
apparent_cp = (usl - lsl) / (6 * observed.std(ddof=1))
reported_ok = (observed >= lsl) & (observed <= usl)
false_reject = np.mean(truly_ok & ~reported_ok) / np.mean(truly_ok)
print(f"{meas_sd:7.2f} {apparent_cp:11.3f} {100 * false_reject:21.2f}")With no measurement error the apparent Cp is about 1.0 and no good part is rejected. As the error standard deviation grows, the apparent Cp falls and the false rejection rate rises. The process itself never changed. Only the ruler changed.
The expected apparent Cp values follow from adding variances. The observed standard deviation is the square root of the true variance plus the measurement variance.
| Measurement error SD | Observed SD | Apparent Cp |
|---|---|---|
| 0.00 | 0.1000 | 1.00 |
| 0.03 | 0.1044 | 0.96 |
| 0.05 | 0.1118 | 0.89 |
| 0.10 | 0.1414 | 0.71 |
An error SD of 0.05 is only half the process SD, yet it already pushes Cp from 1.00 to 0.89. Errors that look modest in absolute terms can matter.
Two questions an MSA answers
An MSA is not a single number. It asks two separate questions about a measurement system.
- Is the system centered on the truth and stable? This is about location: bias, linearity and stability. A gage can read 0.2 units too high, read too high only at large sizes, or drift over weeks.
- How much random scatter does the system add? This is about spread: repeatability and reproducibility. The same person measuring the same part repeatedly gets different values. Different people may also get different values.
A system can pass one question and fail the other. A very precise gage with a constant offset gives consistent but wrong numbers. An unbiased gage with large scatter gives right answers on average and poor answers on any one reading. The later chapters treat each property and the study that tests it.
Where gage R&R fits
Gage R&R, short for gage repeatability and reproducibility, is the study of the spread question. It measures a set of parts several times by several operators, then splits the observed variation into the part-to-part variation and the variation that comes from measuring. The outputs are a few percentages and a count of distinct categories, which you compare to widely used acceptance guidelines.
The usual order of work in a project is:
- Define what is measured and how, and agree on the measurement procedure.
- Check location properties: bias, linearity, stability.
- Run a gage R&R study for continuous data, or an attribute agreement study for pass/fail or graded data.
- Decide whether the system is adequate for the purpose, such as process control, capability study or product acceptance.
- Improve the system if it is not adequate, then repeat the study.
Do this before collecting the main project data. Running an MSA after you have already analyzed the process data wastes the analysis if the result is poor.
Adequate for what?
There is no single answer to whether a measurement system is "good". Adequacy depends on the use.
- To accept or reject parts near a specification limit, the error must be small compared with the tolerance.
- To study or control the process, the error must be small compared with the real process variation.
The same gage can pass for one purpose and fail for the other. If a process is very consistent, even a decent gage may be too coarse to see differences among parts. If the tolerance is very tight, a gage that is fine for a loose tolerance becomes unusable. This is why later chapters report both a percentage of the observed variation and a percentage of the tolerance.
Common mistakes at this stage
- Assuming that a calibrated gage is a good measurement system. Calibration checks the instrument against a standard. It says nothing about operator differences, fixturing or the scatter on real parts.
- Trusting resolution as accuracy. A digital display with many digits can still be noisy or biased. Displayed digits are not information.
- Testing the system on easy parts only. A study that uses parts spread across the process range is fair. A study that uses nearly identical parts will make the gage look bad for the wrong reason, and a study with very different parts will make it look good. The study design chapter returns to this.
- Studying the system only once. Drift and wear mean a system that passed last year may not pass now.
- Ignoring the cost of the measurement itself. A better gage costs money. The goal is adequate for the purpose, not perfect.
Exercises
Exercise
A process has a true standard deviation of 0.20 and a tolerance width of 1.2, so true Cp is 1.0. A measurement system adds independent error with standard deviation 0.15. What Cp will you calculate from the observed data?
Show answer
Observed variance = 0.20² + 0.15² = 0.04 + 0.0225 = 0.0625, so observed SD = 0.25. Apparent Cp = 1.2 / (6 × 0.25) = 0.80. The measurement error turns a capable-looking process into one that appears incapable.
Exercise
A gage reads exactly 0.5 units too high on every part, and repeated readings of the same part never differ by more than 0.01 units. Does this system have a location problem, a spread problem, or both? What would you do next?
Show answer
It has a location problem (bias) but not a spread problem, because the scatter is tiny. The constant offset can be corrected by adjustment or by subtracting it, after checking with a reference standard that the bias is the same across the range (linearity) and does not change over time (stability).
Exercise
Give two reasons why a calibration certificate does not prove that a measurement system is adequate for process improvement work.
Show answer
Calibration compares the instrument with a standard and does not reveal operator-to-operator differences (reproducibility), scatter when real parts are measured with the real method (repeatability), or whether the error is small compared with the process variation or tolerance for the intended use.