Linearity is the metrological parameter that quantifies how closely a sensor’s output characteristic curve follows an ideal straight line across its full measurement range. A sensor with perfect linearity produces an output change that is exactly proportional to the corresponding change in the measurand at every point from zero to full-scale output (FSO). In practice, all real sensors exhibit linearity error — a systematic deviation of the actual output curve from that ideal reference line.
For industrial 3D sensors and infrared cameras, linearity directly determines the consistency and comparability of measured values across the entire working range. A linearity error of 0.1 % FSO in a sensor with a 100 mm measurement range produces a systematic deviation of up to 0.1 mm at the worst measurement point. In automated inline inspection and 100 % quality control, this systematic deviation adds to the total measurement uncertainty budget and affects the reliability of pass/fail decisions.
Table of Contents
Key Facts
-
Definition:Maximum deviation of a sensor’s output characteristic curve from a defined reference straight line, expressed in µm or % FSO.
-
Reference line methods:2 methods are used in industrial metrology — the Best-Fit Line (least squares) and the End-to-End Line. The choice of method directly affects the stated linearity error value for the same sensor.
-
Error types:4 linearity error patterns are identified in sensor characteristic curves — S-curve error, saddle error, monotonic deviation, and zero-offset error. Each has a distinct cause and correction strategy.
-
Reporting formats:3 formats are in common use — peak-to-peak deviation, maximum deviation, and RMS. Values expressed in different formats are not directly comparable across manufacturers.
-
Systematic nature:Linearity error is systematic, not random. It does not average out with repeated measurements and must be explicitly included in the GUM measurement uncertainty budget.
-
Accuracy component:Linearity is 1 of 4 sensor accuracy components alongside hysteresis, repeatability, and zero offset. It is a required parameter in MSA studies per AIAG and IATF 16949.
What Is Linearity in Measurement Technology and How Is It Defined?
Linearity is the maximum deviation of a sensor’s real output characteristic curve from a defined reference straight line, expressed either in absolute units (µm or mm) or as a percentage of the full-scale output (% FSO). The reference line is not the same for all specifications — 2 reference line methods are used in industrial metrology: the Best-Fit Line method and the End-to-End Line method. The choice of reference line method directly affects the stated linearity error value for the same sensor.
Best-Fit Line vs. End-to-End Line
The Best-Fit Line is calculated by the method of least squares: it minimizes the sum of squared residuals across all calibration data points. The End-to-End Line connects 2 fixed points — the zero-point output and the full-scale output — in a straight line. The Best-Fit method yields a smaller stated linearity error because the reference line is positioned to minimize maximum deviation. The End-to-End method typically produces a larger stated linearity error because the reference line is constrained to pass through 2 fixed endpoints.
| Attribute | Best-Fit Line (Least Squares) | End-to-End Line |
|---|---|---|
| Definition | Line minimizing the sum of squared residuals across all calibration points | Line connecting the zero-point and the full-scale output point |
| Residual distribution | Balanced — positive and negative deviations cancel out | Asymmetric — maximum deviation typically near mid-range |
| Resulting error value | Smaller stated linearity error (optimized reference) | Larger stated linearity error (conservative reference) |
| Typical use | Precision metrology, laboratory sensors | Industrial sensors, simple specification compliance |
| Comparability risk | Values differ between vendors even for identical sensor performance | Values differ between vendors even for identical sensor performance |
Practical consequence for sensor datasheets: 2 sensors from different manufacturers can have identical physical linearity performance but different stated linearity errors if one manufacturer uses the Best-Fit method and the other uses the End-to-End method. Before comparing linearity specifications, engineers must identify which reference line method the manufacturer applies.
Reference Quantity: Full Scale Output (FSO)
Full Scale Output (FSO) is the difference between the sensor output at the maximum measurement position and the output at the minimum measurement position. Linearity error expressed as % FSO is independent of the absolute measurement range — a sensor with 0.1 % FSO linearity error maintains the same relative performance whether its measurement range is 10 mm or 500 mm. Absolute linearity error in µm scales proportionally with the measurement range.
The relationship between relative and absolute linearity error is expressed as:
\[ E_{\text{abs}} \; [\mu m] = \frac{\text{Linearity} \; [\% \text{FSO}]}{100} \times \text{Measurement Range} \; [\mu m] \]
For a 3D triangulation sensor with a 200 mm measurement range and a specified linearity of \( 0.05\,\% \) FSO, the maximum absolute deviation from the ideal output line is 0.1 mm.
Factors That Influence Linearity
Linearity error in industrial sensors is determined by 4 primary factor categories: optical path characteristics, electronic signal processing, thermal behavior, and mechanical deformation.
Optical path non-linearity occurs in laser triangulation sensors when the relationship between the measured object position and the spot position on the detector is not perfectly linear — a result of lens distortion, detector geometry, and optical axis alignment. Electronic non-linearity originates in amplifier stages, analog-to-digital converter (ADC) transfer characteristics, and signal conditioning circuits. Thermal effects cause linearity drift when the sensor operates outside its calibrated temperature range — thermal expansion of optical components and temperature-dependent gain changes in detector circuits contribute to this drift. Mechanical deformation under mounting stress or vibration can introduce additional position-dependent output deviations that appear as linearity error.
What Types of Linearity Error Exist and How Are They Assessed?
Linearity error is not a single uniform deviation — 4 distinct error patterns are identified in industrial sensor characteristic curves. Each pattern has a different cause and requires a different correction strategy.
| Error Type | Characteristic Shape | Common Cause |
|---|---|---|
| S-curve error | Output crosses the reference line twice, deviates in both directions | Non-linearity in signal amplification stage or optical path distortion |
| Saddle error | Output deviates symmetrically above or below reference near mid-range | Mechanical hysteresis, coupling non-linearity in the transducer |
| Monotonic deviation | Output consistently drifts above or below reference from start to end | Gain error, temperature-dependent offset across the measurement range |
| Zero-offset error | Parallel shift of output curve relative to reference line | Electronic zero-point drift; correctable by offset calibration |
Reporting Formats for Linearity Error
Linearity error is reported in 3 standard formats in industrial sensor specifications: peak-to-peak deviation, maximum deviation, and RMS (Root Mean Square) deviation. Each format communicates a different aspect of the output curve quality.
| Format | Expression | Interpretation |
|---|---|---|
| Peak-to-peak (PtP) | ± x µm or ± x % FSO | Maximum positive deviation plus maximum negative deviation — worst-case total span |
| Maximum deviation | x µm or x % FSO | Largest single residual — distance from reference line at the worst measurement point |
| RMS (Root Mean Square) | x µm RMS or x % FSO RMS | Statistical average of all squared residuals — reflects overall curve quality |
The RMS value is always smaller than the peak-to-peak value for the same sensor. A sensor datasheet that reports linearity as RMS appears more favorable than one reporting the same sensor’s performance as peak-to-peak. Engineers must confirm the reporting format before comparing specifications across manufacturers.
Normative References for Characteristic Curve Evaluation
The evaluation of sensor characteristic curves and linearity specifications references 3 primary standards in industrial metrology: IEC 60770-1 for transmitters used in process control, VDI/VDE 2634 Part 1 for optical 3D measuring systems, and ISO 12012 for laser trackers. These standards define terminology, test procedures, and reporting requirements — they do not prescribe which reference line method must be used. The automotive standard IATF 16949 requires measurement system analysis (MSA) documentation that includes linearity assessment for all measurement systems used in production.
How Is Linearity Measured and Verified in Sensors?
Linearity verification is performed by recording the sensor output at a defined number of calibration points distributed across the full measurement range, comparing each output value against the corresponding reference value from a calibration standard, and computing the residuals. The residuals are the signed differences between measured output and expected output at each calibration point.
The standard test sequence for linearity verification of a 3D sensor consists of 5 steps: (1) mounting the sensor in a thermally stable environment at the calibrated operating temperature, (2) positioning a calibration reference at a series of known distances across the measurement range, (3) recording the sensor output at each position, (4) computing the best-fit or end-to-end reference line from the recorded output data, and (5) calculating and plotting the residuals as a function of measurement position.
Linearity Verification for 3D Laser Triangulation Sensors
3D laser triangulation sensors are verified for linearity using 3 types of calibration references: gauge blocks (step gauges) for discrete position calibration, optical flats for surface reference, and motorized precision stages with encoder feedback for continuous range scanning. Step gauges with nominal step heights traceable to national length standards provide the highest calibration accuracy. A typical linearity test covers a minimum of 10 equidistant calibration positions across the full measurement range.
The residual plot from a triangulation sensor linearity test visualizes the deviation of the sensor output from the reference line at each calibration position. A well-performing sensor produces a residual plot with no systematic pattern — deviations are distributed symmetrically around zero without a repeating shape. An S-curve or saddle pattern in the residual plot indicates a systematic optical non-linearity that requires factory correction or software-based curve correction.
Linearity Verification for Infrared Cameras
Infrared cameras are verified for linearity across their temperature measurement range using blackbody radiation sources. A blackbody radiator is a calibration reference that emits thermal radiation at a precisely controlled and traceable temperature, providing a known radiance level at each calibration point. The linearity test for an infrared camera records the digital output value (detector counts or temperature output) at a minimum of 8 temperature setpoints distributed across the camera’s full measurement range.
Thermal sensors characteristically exhibit higher linearity error at the extreme ends of their temperature measurement range — near the lower and upper range limits — than in the mid-range region. This behavior results from the non-linear relationship between blackbody radiation and temperature described by Planck’s radiation law. The detector’s response function and the camera’s signal processing chain introduce additional non-linearity, particularly at high-radiance input levels near the upper measurement limit.
Linearity is one of the 5 MSA characteristics evaluated for a measurement system alongside bias, stability, repeatability, and reproducibility. Linearity assessment for infrared cameras in production environments follows the MSA Reference Manual (AIAG) procedure for linearity studies, which requires measurements at a minimum of 5 reference values and the calculation of linearity bias over the range.
Calibration as a corrective measure: If linearity verification identifies a systematic error pattern, factory calibration applies a correction polynomial or lookup table to the sensor output to reduce the linearity error to within the specified limit. Calibration intervals for 3D sensors and infrared cameras are typically 12 months in industrial environments, with interim verification checks after mechanical shocks, temperature excursions, or replacement of optical components.
Why Does Linearity Matter in Industrial Inspection and Quality Assurance?
Linearity determines the measurement consistency of a sensor across its full operating range. A sensor with poor linearity produces measurement values that are accurate near the calibration reference position but systematically deviate at other positions within the range. In automated inline inspection, this means that a component measured at one distance from the sensor gives a correct result while an identical component measured at a different distance shows a false deviation — producing false rejects or missed defects depending on the direction of the error.
The measurement uncertainty contribution of linearity error is always systematic, not random. Systematic errors do not average out with repeated measurements and cannot be reduced by statistical filtering. Linearity error must be explicitly included in the measurement uncertainty budget according to the Guide to the Expression of Uncertainty in Measurement (GUM). For a sensor with 0.05 % FSO linearity error operating over a 150 mm range, the maximum linearity contribution to measurement uncertainty is 0.075 mm — a value that must be considered relative to the dimensional tolerances of the measured components.
Linearity Requirements in Industry Standards
3 industry standards define linearity requirements for measurement systems used in production: VDI/VDE 2634 Part 2 specifies acceptance and reverification tests for optical 3D measuring systems — linearity is evaluated as part of the probing error and length measurement error tests. ISO 10360-10 addresses coordinate measuring systems using laser trackers and triangulation sensors — it defines maximum permissible linearity errors as a function of the measurement volume. IATF 16949 (Automotive) requires that all measurement systems used in production and process control undergo MSA studies that include linearity evaluation — the acceptable linearity bias limit is typically defined as less than 5 % of the process tolerance.
In robot-guided measurement applications, linearity error has additional significance: the robot positions the sensor at varying distances from the measurement target depending on the workpiece geometry. If the sensor’s linearity error is not corrected or compensated, the robot path determines not only the measurement position but also the systematic measurement error. This coupling between robot positioning and sensor linearity error is a critical source of uncertainty in flexible automated measurement cells.
How Does Linearity Differ from Related Metrological Parameters?
Linearity is 1 of 4 sensor accuracy components evaluated in industrial metrology. It is frequently confused with accuracy, resolution, and repeatability — each parameter describes a distinct aspect of measurement system performance.
| Parameter | Relationship to Linearity | Related Article |
|---|---|---|
| Accuracy | Overarching term. Linearity is 1 of 4 accuracy components alongside hysteresis, repeatability, and zero offset. | Accuracy |
| Resolution | Independent parameter. Resolution describes the smallest detectable change; linearity describes the output curve shape. | Resolution |
| Repeatability | Independent parameter. Repeatability quantifies scatter of repeated measurements; linearity quantifies systematic curve deviation. | Measurement System Analysis (MSA) |
| Measurement System Analysis (MSA) | Evaluation framework. MSA includes linearity as a sub-characteristic alongside bias, repeatability (GRR), and stability. | Measurement System Analysis (MSA) |
| Gauge Capability | Capability assessment. Cg and Cgk indices incorporate linearity as an input alongside gauge resolution and tolerance. | Gauge Capability |
Table of Contents