Linear Module Straightness Reports: Reference Lines and Residuals
November 5, 2026 · 7 min read
A straightness result needs its measured direction, travel interval and reference-line method. Two reports can use the same observations yet show different residuals after removing a linear trend. Agree how the result will be evaluated before comparing a proposed linear module with an acceptance requirement.
Identify the transverse motion being measured
For travel along a defined X axis, a straightness test observes displacement in a specified transverse direction, such as Y or Z, as the carriage moves. State that direction explicitly. Some stage literature calls the vertical component “flatness”; the label alone does not identify the measurement plane or evaluation method.
This is different from positioning error along X and from angular motion about an axis. A table of commanded and measured X positions does not establish lateral straightness. A transverse result at one defined point also does not describe every point on an offset tool. Use the existing XY geometry and tool-offset guide for that separate geometric review.
Keep the test arrangement with the data: what moves, what stays fixed, the reference artefact or optics, and the observation point. Different arrangements can respond differently to carriage rotation. A measured trace needs a setup definition, rather than only an instrument name.
Specify the reference line used to calculate residuals
A small relative slope between the measurement reference and travel can introduce a linear trend. Two common data treatments subtract either the line through the first and last observations or a least-squares line fitted to the observations. They answer a defined evaluation question; neither treatment physically straightens the axis.
For the simple component model used here, let x be travel in mm and y the transverse reading in µm. A chosen line has the form yref = a + bx, with a in µm and b in µm/mm. The displayed component residual is r = y − yref. The sign follows the stated transverse direction.
An unweighted least-squares fit minimises the sum of squared component residuals for the included points. It does not, by that definition, minimise their maximum-to-minimum range. An endpoint fit instead fixes the two endpoint residuals at zero. Keep the original readings and the removed line so a reviewer can distinguish the evaluated shape from its alignment to a machine datum.
Compare two reference lines on the same assumed readings
The following five invented observations illustrate the arithmetic only. They are not module measurements, a recommended sampling grid or an acceptance limit. All readings belong to one assumed run, with no filtering or averaging.
On narrow screens, scroll the table horizontally to read all columns.
| Travel x (mm) | Reading y (µm) | Endpoint residual (µm) | Least-squares residual (µm) |
|---|---|---|---|
| 0 | 0 | 0 | −5.8 |
| 25 | 12 | 9.5 | 4.0 |
| 50 | 15 | 10.0 | 4.8 |
| 75 | 14 | 6.5 | 1.6 |
| 100 | 10 | 0 | −4.6 |
The endpoint line is yref = 0.100x. Its sampled residual range is 10.0 − 0 = 10.0 µm. The unweighted least-squares line is yref = 5.8 + 0.088x. Its sampled residual range is 4.8 − (−5.8) = 10.6 µm.
The observations and hardware have not changed. Only the reference-line calculation changed. These are component residual ranges at the five samples, not a minimum-zone geometric-tolerance result or evidence about the unsampled path. The least-squares result is not automatically the smaller range.
Compare like quantities over the same interval
Retain the evaluation interval and included points. Removing an end region can change both the fitted line and the remaining extrema. A shorter reported interval must not silently stand for the full working travel. Similarly, a range is not interchangeable with a “±” value around an unspecified zero.
Identify any run averaging, direction separation, filtering or other processing. A trace produced after averaging several runs is a different data product from the individual traces. Preserve those distinctions when comparing reports; do not select a processing option simply because it gives a favourable number.
Specify the applicable test and decision rule with the supplier or integrator, including relevant uncertainty. This example defines no standard-compliance test or pass/fail threshold. If the requirement concerns alignment to another axis or machine datum, retain that relationship separately rather than assuming a detrended trace proves it.
Request the observations and evaluation settings together
- Quantity: travel axis, measured transverse direction, working point and sign convention.
- Setup: fixed and moving elements, reference, instrument, mounting and relevant uncertainty.
- State: configuration, load, approach direction, temperature and compensation state.
- Data: original observations, positions, run identities, complete and evaluated travel intervals.
- Evaluation: reference-line coefficients/method, processing, residual definition, agreed metric and limit.
The axis acceptance guide covers the wider test agreement. The error-map guide addresses controller correction and independent verification, which is a separate task from subtracting a reporting reference line.
Confirm the proposed single-axis module and any inspection deliverable. No straightness tolerance, reference-line method or calibration service is established here for a supplied model.
