Measurement system analysis

MSA 5: Gage linearity and bias study with example

TL;DR
  • A linearity study shows whether the bias changes across the measuring range.
  • At least 5 standards across the range, at least 10 measurements each; a straight line describes the bias over the reference value.
  • If the slope is significant, the system is not linear; it is acceptable if the zero line lies within the confidence band.

About 8 min read

Contents

What this is about

A gage can measure exactly right in the middle of its range and be off at the edges. With a dial indicator, for example, the travel of the plunger is often clean in the middle and less so at the beginning and end. With a height gage the guide may be slightly tilted, so that the error grows with height. If the gage is only checked in the middle, for example with a type 1 study, you do not see this.

The linearity study, called MSA 5 here, therefore measures several standards spread over the whole range in use. For each standard you determine the bias, i.e. how far off the gage is. Then you look at whether this bias stays the same or changes with size.

Rule of thumb: linear does not mean “without error” but “the same error everywhere”. A constant error can be corrected; a changing one only with more effort.

The terms in plain words

Bias
The systematic deviation: measured mean minus reference value. Positive means the gage reads too large.
Reference value
The known size of a standard, from the calibration certificate.
Measuring range
The range in which the gage is actually used for this characteristic, not the whole theoretical range of the gage.
Regression line
The line that best fits all points. It summarises how the bias changes with the reference value.
Slope a₁
How much the bias increases or decreases as the reference value gets larger. A slope of zero means: the same bias everywhere, i.e. linear.
Confidence band
A strip around the line in which the true line lies with 95 % certainty. It is narrowest in the middle.
%Linearity
The slope in percent. It says what percentage of a change in size shows up as additional error.

Purpose

The bias from a type 1 study applies to one point only. Linearity shows whether it changes across the measuring range. The AIAG MSA manual (4th edition) calls it linearity and bias.

A separate study is worthwhile mainly if the gage covers a wide range, for example different variants of a part, or if the customer requires it. For a characteristic with a small tolerance that is always close to the same size, the type 1 study is often enough.

How it works

  1. Choose at least 5 standards or reference parts, evenly spread over the measuring range in use: one at the lower end, one at the upper end, the others in between. Their reference values should be much more accurate than the gage being checked.
  2. Measure every standard at least 10 times (AIAG), 12 is common. One appraiser, random order, the standard reloaded every time.
  3. Form the deviations: for every value b = x − xref.
  4. Calculate: bias per standard, then fit a line through all deviations and check whether its slope is real or chance.
  5. Assess: if the slope is significant, the system is not linear. According to AIAG, linearity is acceptable if the zero line lies within the 95 % confidence band of the line over the whole range.

Worked example, step by step

For a length of 50.000 ± 0.100 mm (T = 0.200 mm = 200 µm) an appraiser measures five standards between 49.92 and 50.08 mm 12 times each, N = 60 values in total. The data are artificial and available below as CSV.

Step 1: bias per standard

For each standard, take the mean of its 12 measurements and subtract the reference value. Example, the top standard: the 12 values have the mean 50.0785 mm, the reference value is 50.080 mm, so the bias is 50.0785 − 50.080 = −1.50 µm. Whether a bias is real is checked, as in the type 1 study, by a t test: bias divided by s / √12. For the top standard: −1.50 / (1.78 / √12) = −2.91.

Reference in mmBias in µms in µmp (bias = 0)
49.920+5.172.95< 0.001
49.960+3.832.04< 0.001
50.000+2.753.080.010
50.040+0.332.810.689
50.080−1.501.780.014

The table already shows the pattern: at the bottom the gage reads clearly too large, at the top slightly too small. So the bias moves with the size. A p-value below 0.05 means the bias at this standard is real.

Step 2: the line

Now a line is fitted through the deviations. Its slope says how much the bias changes as the size grows. Because every standard was measured equally often, the slope can be calculated directly from the table above. Take the distance of each standard from the centre 50.000 mm, multiply it by the bias and divide the sum by the sum of the squared distances:

Reference in mmDistance d in mmBias B in µmd · Bd²
49.920−0.08+5.17−0.41330.0064
49.960−0.04+3.83−0.15330.0016
50.0000.00+2.750.00000.0000
50.0400.04+0.330.01330.0016
50.0800.08−1.50−0.12000.0064
Sum−0.67330.0160
a1=∑d·B∑d2=−0.6733µm·mm0.0160mm2=−42.1µm/mm=−0.0421
slope

In words: for each millimetre more size, the gage reads 42.1 µm less. Over the 160 µm from the smallest to the largest standard that is 6.7 µm. Relative to the centre, the line itself is:

b=2.12µm−0.0421·(xref−50.000mm)
2.12 µm is the mean bias of all 60 values, i.e. the bias in the centre

Some programs state the line as b = a0 + a1 · xref. Then a0 = 2.106 mm, the value of the line at size zero. That lies far outside the range and has no practical meaning; do not let it confuse you.

Step 3: is the slope real?

Even a line through randomly scattered points almost never has a slope of exactly zero. So you check whether the slope is larger than chance would explain. To do this, divide it by its uncertainty s(a1) = 0.0058, which follows from the scatter of the points around the line.

t=a1s(a1)=−0.04210.0058=−7.3
p<0.001
with N − 2 = 58 degrees of freedom: clearly significant
−5051049.9249.9650.0050.0450.08Bias per standardSingle valuesRegression line with 95 % bandReference value in mmBias in µm
Figure 1: Bias over the reference value with line and 95 % confidence band. At the lowest standard the gage reads 5.2 µm too large on average, at the highest 1.5 µm too small.

How to read the chart: each grey dot is a measurement. The line falls from left to right; that is the negative slope. The light band around the line is the confidence band. The horizontal zero line would mean “no bias”. Where the zero line lies outside the band, the bias there is certainly different from zero.

Step 4: linearity as an index

%Linearity=|a1|·100%=4.2%
linearity=|a1|·T=0.0421·200µm=8.4µm
coefficient of determination R² = 0.48

The second number says: if you measured across the whole tolerance width of 200 µm, the bias would change by about 8 µm. R² = 0.48 means that the line explains just under half of the differences between the deviations; the rest is ordinary repeatability scatter.

InteractiveTry it: bias at the ends, spread and size

This chart needs JavaScript.

Start values and measurements as in the example. When does the slope stop being significant? More measurements per standard reveal even small slopes.

What the result means

The slope is significant and the zero line leaves the confidence band at the ends. According to AIAG, the linearity is therefore unacceptable.

Significant does not automatically mean large, though. The bias changes by about 7 µm across the range with a tolerance of 200 µm. That is measurable, but small relative to the tolerance. Whether that is good enough is decided by the customer or the company guideline. This distinction between “statistically detectable” and “practically important” matters for all tests: with many measurements even a tiny effect becomes significant.

Remedies, if needed: have the characteristic curve of the gage adjusted, restrict the measuring range to the part where the bias is small, or work with a separate setting master for each range.

Common mistakes

  • Standards not spread over the range in use. If they are all close together, no slope can be detected.
  • Reference values too inaccurate. If the uncertainty of the standards is similar to the bias, you measure the standards instead of the gage.
  • Measured sorted by standard. First twelve times the small one, then twelve times the next: warming up during the study then looks like non-linearity.
  • Assessing the intercept a₀. It describes the bias at size zero and is usually meaningless. What matters are slope and bias within the range.
  • Confusing significant with large. Always also look at the size of the effect relative to the tolerance.

In STATlum

Create an “MSA 5” study on the characteristic, enter the standards with their reference values and record the trials per standard. The evaluation shows all indices of this example with the confidence band.

STATlum: measurements of an MSA 5 study
Measurements of an MSA 5 study: one row per standard, one column per trial.
STATlum: results of an MSA 5 study
Results of an example with a significant slope: system not linear, with recommendations.

Frequently asked questions

How many standards does a linearity study need?

At least 5, evenly spread over the measuring range in use, with at least 10 measurements per reference standard (AIAG), 12 is common.

Is a significant slope always a problem?

Not necessarily. Significant only means it is not random. Whether it matters is shown by comparing it with the tolerance, for example via the %linearity and the largest bias per standard.

What are typical acceptance criteria for linearity?

According to AIAG, linearity is acceptable if the zero line lies within the 95 % confidence band of the line across the whole range. It also helps to look at the size of the effect relative to the tolerance. Requirements of your customer or plant take precedence.

What is the difference to the bias from a type 1 study?

The bias from a type 1 study applies only to the one point where the reference standard lies. The linearity study measures several standards across the range and shows whether the bias changes with the size.

Sources

This article explains the method. It does not replace the guideline that applies to your part or the professional assessment of an actual study.