Chapter 37

Special and Modern Measures

Calipers, micrometers, and dial indicators remain everyday tools, but today an increasing number of inspections are performed using machines that collect data points in space and process them with a computer. In this chapter, we’ll see how a coordinate measuring machine works and how it derives circles, planes, and positions from just a few probed points; then we’ll cover portable arms, laser trackers, 3D scanners, vision systems, electronic height columns, machine-tool-mounted probes, and tool presetting. We’ll conclude with two special workshop measurements—gear tooth thickness and coatings—and with the testing of the machine tool itself: ballbar, laser interferometer, leveling, and thermal drift.

37.1 The coordinate measuring machine

The coordinate measuring machine (abbreviated as CMM, from English coordinate measuring machine) is a highly precise Cartesian robot: three perpendicular axes—X, Y, and Z—support a probe which touches the workpiece at many points. For each contact, the machine records the three coordinates; programs then derive geometric elements (planes, lines, circles, cylinders, cones, spheres) from the sets of points, and from these, the dimensions and tolerances of the drawing, including the geometric tolerances described in Chapter 15.

The advantage over traditional tools is that a single machine measures almost everything, without requiring specialized equipment and without relying on the operator’s skill. The trade-off is that the CMM does not “see” the workpiece: it only sees the points it touches. How many points, where they are located, and what strategy to use are decisions made by the programmer, and the result depends on those choices.

The Facilities

  • Sliding bridge: An inverted U-shaped bridge slides along the granite surface (Y axis); the carriage (X) carrying the vertical column (Z) travels along the bridge. This is the most common configuration in metrology labs for workpieces up to one or two meters in length.
  • A portal crane: The guides are mounted at the top, on columns secured to the floor, and the workpiece rests directly on the base. It is used for workpieces that are several meters long and very heavy (bases, molds, structural steelwork).
  • Horizontal-arm type: A column slides along a floor-mounted guide and supports a cantilevered arm. It is less precise but allows unobstructed access from one side; this is the typical machine used in auto body shops and for stamped sheet metal, often installed in pairs—one on each side.
granite countertopXZY: The bridge movesas a movable bridgethe most common type, workpieces up to 1–2 mlarge span workpiecegantry-typefixed columns, workpieces several meters longmonocoqueYhorizontal-armbodywork, sheet metal
Figure 37.1 · The three most common configurations. In all three, the probe (red dot) moves along three perpendicular axes; what changes is the way the axes are supported.

High-quality machines have work surfaces—and often the beams as well—made of granite (which is stable and not very sensitive to temperature) or ceramic, and the axes slide on air bearings: a thin layer of compressed air just a few micrometers thick keeps the moving parts suspended, with no friction and no wear. This is why a CMM requires dry, clean air and a vibration-free environment.

Optical Lines and Resolution

Each axis has an optical scale: a glass or steel bar with lines and spaces engraved at regular intervals, and a sensor that reads them as it moves along the axis. The light passing through (or reflecting off) the grating produces two nearly sinusoidal signals, out of phase by a quarter of a period: by counting the periods, we know how far we have moved, and from the order in which the two signals change, we can determine the direction of movement. The same type of scale, but more robust, is found on the axes of precision machine tools (Chapter 47).

read heada glass or steel strip with a grid of lines and spaces (here, the period is 20 µm)AB1 period = 20 µmA and B are out of phase by a quarter of a period:they indicate the direction of motion; by interpolation, the reading is 0.1 µm
Figure 37.2 · The read head reads the grating and outputs two phase-shifted signals. One period corresponds to a displacement of 20 µm; the electronics divide this into hundreds of parts.

The period alone would result in a resolution that is too coarse. The electronics therefore interpolate: based on the instantaneous values of the two signals, they calculate where the read head is in the period, and divide the period into hundreds or thousands of parts.

Resolution of an optical line
r = pN
r = resolution, the smallest step that can be read, in µm · p = period of the grating in µm · N = electronic interpolation factor, a pure number
Example 37.1 · The Resolution of a CMM

A CMM has lines with a period of 20 µm and electronics that interpolate to 200. The X-axis is 800 mm long.

r = 20 / 200 = 0.1 µm = 0.0001 mm
periods over the entire travel: 800,000 µm / 20 µm = 40,000
Resolution of 0.1 µm: the machine displays one-tenth of a micrometer, but its uncertainty is a few micrometers (paragraph 37.5)
💡
Resolution does not mean precision. Resolution simply indicates how many digits appear on the display. Errors in the straightness of the guides, the perpendicularity between the axes, temperature, and the probe have a much greater impact than the one-tenth of a micrometer on the scale. This is the same distinction discussed in Chapter 31.

37.2 Probing Systems

The probe is the machine’s “finger.” It has a head that contains the sensor, a stem, and, at the tip, a ball—usually made of synthetic ruby (hard, smooth, and virtually non-deformable)—with diameters ranging from half a millimeter to a few millimeters. Multiple stems can be mounted on the head in different directions (a “star” configuration) to access faces and holes without rotating the workpiece, or a motorized head can be used to orient the stem in increments of a few degrees.

  • Contact probe (switching, touch-trigger): When the ball touches the workpiece, the stylus moves a very small distance, an internal contact opens, and the machine “freezes” the coordinates at that moment. It measures one point at a time: simple, rugged, and economical.
  • Scanning probe (analog): The probe stem is spring-loaded and measured by sensors that continuously record its deflection. The ball rests on and glides across the surface, collecting hundreds of data points per second. It is used to measure shape, roundness, profiles, and free-form surfaces.
  • Non-contact sensors: triangulation lasers, confocal optical sensors, and cameras. They are fast and do not come into contact with delicate or soft workpieces, but they have difficulty detecting shiny or dark surfaces (paragraphs 37.7 and 37.8).
headcontacts or sensorsstemsteel, carbide, ceramicballruby, Ø 0.5 to 8 mmworkpieceapproachrC = center of the sphere(this is the point the machine registers)P = actual point on the surfaceP = C + r · n (n: direction of approach)
Figure 37.3 · On the left are the parts of the probe. On the right is a magnified view of the ball as it touches a wall: the machine knows the position of the center C; the true point P on the surface lies one radius further away.

Calibrating the probe

The machine does not know the “true” diameter of the sphere during the measurement: the stem bends slightly before contact is made, and this deflection depends on the length of the stem and the direction. For this reason, every time a stylus is installed or replaced, it is calibrated against a reference sphere: a ceramic or steel sphere, secured to the table, with a known diameter verified by a certificate. Multiple points on the sphere are probed; the program calculates the sphere that passes through the centers of the probe’s ball and derives the effective diameter of the probe, which also accounts for the deflection. With multiple styli, the calibration also determines the position of each stylus tip relative to the others.

Dreference sphereDiameter D from the certificate: 24.9998 mmcircumference of the centers (dashed line)The machine measures a diameter of D + dMeasured: 26.9960 mmeffective diameter of the probe balld = 26.9960 − 24.9998 = 1.9962 mm
Figure 37.4 · The centers of the probe spheres (the dots at the centers of the red spheres) lie on a larger sphere with diameter D + d. Knowing D from the certificate, the effective diameter d can be calculated.
Effective diameter of the probe
deff = Dmis − Drif
deff: effective diameter of the probe ball, in mm · Dmis: diameter of the ball calculated from the probe centers, in mm · Drif: diameter of the reference ball as stated on the certificate, in mm
Example 37.2 · Calibrating a rod

A stem with a nominal ball diameter of Ø2 mm is calibrated against a reference ball that, according to its certificate, measures 24.9998 mm. The ball calculated from the centers of the probe has a diameter of 26.9960 mm.

deff = 26.9960 − 24.9998 = 1.9962 mm
effective radius reff = 1.9962 / 2 = 0.9981 mm
deff = 1.9962 mm: 3.8 µm less than the nominal value, to account for stem deflection and the contact's actuation point

Spherical Radius Compensation

When the ball touches a surface, the recorded point is the center of the ball, not the point of contact. The program shifts this point by an effective radius along the approach direction (which, if the probe approaches the surface perpendicularly, is the normal to the surface): this is the radius compensation. If the direction is incorrect—for example, because the wall is inclined and the program is unaware of this—a cosine error occurs, similar to that of the comparator (Chapter 31). For this reason, on inclined surfaces, probing is always done perpendicularly, and for “closed” elements such as circles, the compensation is applied to the entire element: the program calculates the circle of centers and then adds or subtracts a radius from it.

Radius Compensation
P = C + reff · n width = x2 − x1 + deff Øhole = Øcenters + deff
P: point on the surface · C: center of the sphere as recorded by the machine · reff: effective radius in mm · n: approach vector (long direction 1) · x1, x2: coordinates of the sphere’s centers on the two faces of a groove, in mm · Øcentri: diameter of the circle of centers, in mm. For a (external) pin, the effective diameter is subtracted rather than added
Example 37.3 · The width of a quarry

The calibrated stem from Example 37.2 is used to probe the two faces of a groove. On the left face (approaching X−), the center of the sphere is at X = 18.7465 mm; on the right face (approaching X+), it is at X = 76.2507 mm.

distance between the centers: 76.2507 − 18.7465 = 57.5042 mm
Left side: 18.7465 − 0.9981 = 17.7484 mm; right side: 76.2507 + 0.9981 = 77.2488 mm
width = 77.2488 − 17.7484 = 59.5004 mm, that is, 57.5042 + 1.9962
Bore diameter: 59,500 mm. If you ignore the compensation, the reading would be 57,504 mm—almost 2 mm less.

37.3 Workpiece Alignment: The 3-2-1 System

The workpiece rests on the CMM table in any position, perhaps slightly rotated. The dimensions in the drawing, on the other hand, are based on the workpiece’s reference points. Before measuring, you must therefore establish the workpiece’s reference system (alignment): from that point on, the machine converts the coordinates of each point from its own to those of the workpiece. This is the same concept as the G54 work zero on a machine tool, with the added consideration of rotation.

The standard method for prismatic workpieces is the 3-2-1 method, which follows references A, B, and C in the drawing (Chapter 15):

  • Three points on the main reference face define a plane: its perpendicular becomes the Z-axis of the workpiece;
  • Two points on a second face define a line, projected onto the plane: it becomes the direction of the X-axis and determines the rotation;
  • 1 point On a third fixed face, theorigin along the X-axis; the Y-axis is therefore perpendicular to the other two axes.
ZXYorigin3 points on the face aboveplane: sets the direction of Z2 points on the front faceline: sets the rotation, i.e., X1 point on the left facepoint: sets the origin of XY is perpendicular to X and Z; the origin lieswhere the three faces meet
Figure 37.5 · The 3-2-1 system. The six points block the six degrees of freedom of the reference frame: three rotations and three translations.

In practice, more points than the minimum are selected (for example, 4 or 5 on the plane) to obtain an “average” plane that is less sensitive to irregularities, and the most suitable elements are used: a cylindrical workpiece, for example, is aligned on a plane and on the axis of a cylinder, with a hole or a slot to prevent rotation.

The Three-Point Plan

For any three non-collinear points, there is always exactly one plane passing through them. If the plane is nearly horizontal, it can be written as z = z0 + a · x + b · y, where a and b are the slopes along the x-axis and the y-axis, respectively.

Example 37.4 · 3-2-1 Alignment of a Plate

Machine coordinates in mm. Upper plane: P1 (20; 20; 50.004), P2 (180; 20; 50.020), P3 (20; 100; 49.996). Front face: A (150; 100), B (250; 100.500). Left side: C (100.200; 120). Then probe the center of a hole at H (180.012; 160.136). Where is the hole located in the workpiece coordinates?

plane: P1 and P2 differ only in x → a = (50.020 − 50.004) / (180 − 20) = 0.016 / 160 = 0.0001 = 0.1 mm/m
P1 and P3 differ only in y → b = (49.996 − 50.004) / (100 − 20) = −0.008 / 80 = −0.1 mm/m
AB line: tan θ = (100,500 − 100) / (250 − 150) = 0.5 / 100 = 0.005 → θ = 0.2865° (approximately 17 prime digits)
since θ = 0.999988 · sin θ = 0.005000
Origin O = the point on line AB closest to C: t = (100.2 − 150) · 0.999988 + (120 − 100) · 0.005 = −49.6994
O = (150 − 49,6994 · 0,999988; 100 − 49,6994 · 0,005) = (100,3012; 99,7515)
H − O: Δx = 180.012 − 100.3012 = 79.7108; Δy = 160.136 − 99.7515 = 60.3845
x-piece = Δx · cos θ + Δy · sin θ = 79.7098 + 0.3019 = 80.0118
y-coordinate = −Δx · sin θ + Δy · cos θ = −0.3986 + 60.3838 = 59.9852
In the workpiece coordinate system, the hole is located at (80.012; 59.985). The plane is tilted by just 0.1 mm/m: the Z-coordinate of the workpiece almost coincides with that of the machine

Without alignment, the reading would have been (79.711; 60.385): the small rotation of 0.29°, over a distance of 100 mm, shifts the hole by nearly 0.4 mm. That is why alignment is the most important step in the entire program.

37.4 Geometric Elements Defined by Points

The CMM program constructs geometric elements from points. Each element has a minimum number of points, but if the exact minimum is used, there is no check: a line through two points must necessarily pass through both, even if one of the points is incorrect. With more points, however, the element is calculated as the one “closest” to all of them, and the deviations indicate how far the workpiece is from the ideal shape.

ElementMinimum PointsRecommended PlacesWhat does it return?
Period11coordinates
Tuition24 to 6direction, straightness
Circle36 to 8center, diameter, roundness
Floor Plan35 to 9normal, flatness
Sphere4from 9 to 13center, diameter, shape
Cylinder5two or more 6-inch circlesaxis, diameter, cylindricity
Cone6two or more 6-inch circlesaxis, angle, vertex

Guidelines: For large elements or those with distinctive shapes, take many more photos—preferably in a sequence.

The line through two points

Two points P1 (x1; y1) and P2 (x2; y2) determine the direction of the line: the angle with the X-axis has a slope of (y2 − y1) / (x2 − x1), as seen for line AB in Example 37.4. The distance of another point from the line indicates how far that point “lies outside” the line.

The three-point line

A single circle passes through three non-collinear points. Geometrically, the center lies at the point where the axes of the chords intersect—the lines perpendicular to each chord at its midpoint. Mathematically, we write that the center (a, b) is equidistant from all three points by a distance R:

Circle for three points
(xi − a)² + (yi − b)² = R² for i = 1, 2, 3
2(x2 − x1) · a + 2(y2 − y1) · b = x2² + y2² − x1² − y1²
a, b: coordinates of the center · R: radius · xi, yi: coordinates of the points, all in mm. Subtracting the equation for point 1 from that for point 2 (and then from that for point 3) eliminates the terms involving the squares of a and b, leaving two linear equations—that is, a system (Chapter 1)
xy2040602040RP1P2P3CP1 (47; 54)P2 (16; 37)P3 (55; 10)center C (40; 30)radius R = 25The red lines are the axes of the chords(perpendicular to the midpoint of the chord): theymeet exactly at the center.
Figure 37.6 · The circle from Example 37.5. The axes of the two chords P1P2 and P1P3 intersect at the center C.
Example 37.5 · Center and Radius of a Hole Determined from Three Points

Three points already marked on the edge of a hole: P1 (47; 54), P2 (16; 37), P3 (55; 10), in mm.

squares: x1² + y1² = 2209 + 2916 = 5125; x2² + y2² = 256 + 1369 = 1625; x3² + y3² = 3025 + 100 = 3125
point 2 minus point 1: 2 · (16 − 47) · a + 2 · (37 − 54) · b = 1625 − 5125 → −62a − 34b = −3500
point 3 minus point 1: 2 · (55 − 47) · a + 2 · (10 − 54) · b = 3125 − 5125 → 16a − 88b = −2000
From the second equation: a = (−2000 + 88b) / 16 = −125 + 5.5b
In the first equation: −62 · (−125 + 5.5b) − 34b = −3,500 → 7,750 − 341b − 34b = −3,500 → 375b = 11,250 → b = 30
a = −125 + 5,5 · 30 = 40
R = √((47 − 40)² + (54 − 30)²) = √(49 + 576) = √625 = 25
Check with P2: √(24² + 7²) = 25 ✓; with P3: √(15² + 20²) = 25 ✓
Center (40; 30), radius 25 mm, diameter 50 mm

Multiple Points: The Least-Squares Method

If there are more points than the minimum required, no circle passes exactly through all of them. The program then selects the circle that minimizes the sum of the squares of the deviations between the points and the circle: this is the least-squares method (also known as the Gauss method), the default criterion for almost all CMMs. There are other criteria specified by standards for special cases: the circle of minimum area (two concentric circles as close together as possible that contain all the points—this is the definition of roundness in Chapter 15), the maximum inscribed circle (the largest pin that fits into the hole) and the minimum circumscribed circle (the smallest ring that contains the pin). For a round hole, they yield nearly the same result; for an oval or three-lobed hole, the differences may exceed the tolerance, and the criterion must be chosen according to the function (Chapter 34).

Example 37.6 · The Least-Squares Line and Linearity

Along a 100-mm-long edge, 5 points are taken at x = 0, 25, 50, 75, and 100 mm. The measured y-coordinates, in µm relative to a reference dimension, are 0, 3, 2, 6, 4. Find the least-squares line y = m · x + q and the residuals.

n = 5; Σx = 250; Σy = 15; Σxy = 0 + 75 + 100 + 450 + 400 = 1,025; Σx² = 0 + 625 + 2,500 + 5,625 + 10,000 = 18,750
m = (n · Σxy − Σx · Σy) / (n · Σx² − (Σx)²) = (5125 − 3750) / (93,750 − 62,500) = 1,375 / 31,250 = 0.044 µm/mm
q = (Σy − m · Σx) / n = (15 − 11) / 5 = 0.8 µm
straight line through the 5 points: 0.8 · 1.9 · 3.0 · 4.1 · 5.2 µm → deviations: −0.8 · +1.1 · −1.0 · +1.9 · −1.2 µm
difference between the highest and lowest deviations: 1.9 − (−1.2) = 3.1 µm
The edge has a slope of 0.044 µm/mm (44 µm/m), and its straightness is approximately 3.1 µm; using the minimum area criterion, the value may be slightly smaller, but never larger.

37.5 The Program, the Measurement Report, and the Environment

Programming from CAD

A CMM can be operated manually using levers, but in production, a measurement program is used, just as with a machine tool. Today, these programs are almost always created based on the workpiece’s CAD model: you click on the surfaces and holes to be inspected in the model, the software suggests the measurement points and approach paths, verifies that the probe will not collide with the workpiece, and simulates the entire process before starting. If the model also includes tolerances (these are referred to as models with PMI, or Product and Manufacturing Information), the program can read them directly. Data exchange between programs from different manufacturers is possible using the standard DMIS format. Once tested, the program measures every workpiece in the batch in exactly the same way—that is its true value.

The Measurement Ratio

Finally, the program prints the measurement report: for each characteristic, the nominal value, the tolerances, the measured value, the deviation, and the result. There is often a small bar graph showing where the measurement falls within the tolerance; values outside the tolerance are highlighted. The date, program, probe used, and temperature are recorded along with the report.

Example 37.7 · Reading a report and calculating a position

Hole A in Example 37.4 has a nominal position of (80; 60) with a positional tolerance of Ø0.05 mm. The report states:

ElementFeatureNominalToll.MeasuredDeviation.Result
Hall Adiameter20,000+0,021 / 020,013+0,013OK
Hall AX80,00080,012+0,012
Hall AY60,00059,985−0,015
Hall Aposition0Ø0,05??
Courtroom Bdiameter12,000+0,018 / 011,996−0,004OUT
Front sideflatness00,020,012OK
position deviation: √(0.012² + 0.015²) = √(0.000144 + 0.000225) = √0.000369 = 0.0192 mm
The tolerance zone is a circle with a diameter of 0.05: the value to be compared is the diameter, 2 × 0.0192 = 0.038 mm (Chapter 15)
0.038 ≤ 0.05 → compliant
Hole B: 11.996 is below the minimum of 12.000 by 4 µm → non-conforming (hole too small: can be reworked)
Position of hole A = Ø0.038 mm, within specifications; note that hole B is 4 µm below the minimum

Temperature and Environment

These dimensions apply at 20 °C (Chapter 31), and a CMM operates properly only in an air-conditioned room with a stable temperature (usually 20 ± 1 °C or better), free from drafts, direct sunlight, and vibrations. Variations over time (for example, no more than 1 °C per hour) and spatial differences (no more than 1 °C per meter of height) also matter. Many machines have temperature sensors on the toolways and the workpiece and automatically compensate for thermal expansion, but this compensation only works if the workpiece has had time to stabilize: a workpiece that has just come out of the machine tool must be left in the room for hours, not minutes.

The maximum permissible error: ISO 10360

How do you know how accurate a CMM is? The standards in the series ISO 10360 They specify how to test it: calibrated length standards (stepped blocks, ball-end bars) are measured multiple times in various positions and directions, and the results are compared with the values listed on the certificates. The manufacturer declares a maximum permissible error (MPE, maximum permissible error) that increases with the measured length, and the machine passes the test if all errors are below that limit. The same test is repeated periodically as a verification.

Maximum permissible error in lengths (typical form)
MPEE = A + LK
MPEE: maximum permissible error in µm · A: constant in µm · L: measured length in mm · K: constant in mm/µm specified by the manufacturer. For example, “1.8 + L/300” means 1.8 µm plus 1 µm for every 300 mm. The standard also specifies a probe error (MPEP), tested by probing a sphere
Example 37.8 · Is the CMM sufficient for this tolerance?

A CMM has an MPEE of 1.8 + L/300 µm. A center-to-center distance of 450 mm must be inspected with a tolerance of ±0.02 mm (T = 40 µm).

MPEE = 1.8 + 450 / 300 = 1.8 + 1.5 = 3.3 µm
Tolerance ratio: 3.3 / 40 = 0.08, approximately 1/12
at 100 mm: 1.8 + 0.33 = 2.1 µm; at 800 mm: 1.8 + 2.67 = 4.5 µm
The machine is suitable: the permissible error is less than one-tenth of the tolerance (one-tenth rule in Chapter 31). The true measurement uncertainty, however, also includes temperature, the workpiece, and the measurement strategy, and is usually greater than the MPE

37.6 Articulated measuring arms and laser trackers

A CMM is located in the metrology lab, and the workpiece must be brought to it. When the workpiece is too large or cannot be moved (such as a mold mounted in a press, a welded structural assembly, or an aircraft fuselage), the instrument is brought to the workpiece.

The articulated measuring arm

It is an arm with six or seven rotating joints, like that of a robot, but operated by hand: each joint has a highly precise angular encoder, and the computer—knowing the lengths of the segments and the angles—calculates the tip’s position at every moment. A ball probe or a line laser scanner is mounted on the tip. It is secured near the workpiece using a magnetic or vacuum base and covers a spherical volume with a diameter ranging from 1.5 to 4 m. The typical uncertainty is a few hundredths of a millimeter: much less precise than a CMM, but more than sufficient for structural steelwork, molds, and assembly inspections. For workpieces larger than its range of motion, the arm is moved and the reference system is “re-calibrated” by probing common points (a technique known as “frog-hop”).

The Laser Tracker

The laser tracker is a motorized head that emits a laser beam toward a spherical reflector (abbreviated as SMR) held by the operator or placed on the workpiece, and tracks it as it moves. It measures distance using an interferometer or an absolute distance sensor, and the two angles (azimuth—that is, horizontal rotation—and elevation) using encoders. From the distance and angles, it calculates the coordinates of the sphere’s center. It operates over distances of tens of meters: it is used to align machines and assembly lines, test large molds, and assemble wings and fuselages.

Angular encoder couplingsprobeor scannerarticulated measuring armreflectordistance delevationazimuthlaser tracker
Figure 37.7 · On the left, the articulated arm: the position of the tip is calculated from the angles of the joints. On the right, the laser tracker: the position of the reflector is calculated from a distance and two angles.
Coordinates from the laser tracker
x = d · cos ε · cos φ y = d · cos ε · sin φ z = d · sin ε
d: distance measured in mm · φ: azimuth, horizontal angle from the x-axis · ε: elevation, angle above the horizontal plane · x, y, z: coordinates of the reflector's center relative to the head, in mm
Example 37.9 · A point measured with a laser tracker

The tracker reads d = 8000 mm, azimuth φ = 30°, elevation ε = 10°. The manufacturer specifies an MPE of 15 µm + 6 µm/m (values typical of a mid-range model).

cos 10° = 0.98481; sin 10° = 0.17365; cos 30° = 0.86603; sin 30° = 0.5
x = 8000 × 0.98481 × 0.86603 = 6822.9 mm
y = 8000 × 0.98481 × 0.5 = 3939.2 mm
z = 8,000 × 0.17365 = 1,389.2 mm
MPE at 8 m: 15 + 6 × 8 = 63 µm
The point is located at (6822.9; 3939.2; 1389.2) mm with a permissible error of approximately 0.06 mm: excellent for 8 meters, but useless for a workpiece intended for a metrology lab

37.7 3D Scanners, Tomography, and Non-Destructive Testing

Structured-light scanners and laser scanners

3D scanners do not touch the workpiece: they “photograph” it in three dimensions. The structured light scanner projects a series of light strips or patterns onto the workpiece and captures them with one or two cameras from a different angle: the strips distort to follow the surface, and the software calculates the position of each pixel using triangulation. The laser scanner does the same using a laser line that scans across the workpiece; it can be mounted on an arm, a CMM, or a robot, or held in the hand, with adhesive targets on the workpiece that allow it to determine its position.

The result is a point cloud—often consisting of millions of points—which the software converts into a surface made up of triangles (STL format or similar). Highly glossy, transparent, or black surfaces do not reflect light well; they are made matte using a special spray, which, however, adds a few micrometers of thickness.

Comparison with the Color Map CAD

The most straightforward way to interpret a scan is to superimpose it on the CAD model (after alignment, as described in section 37.3) and color each point based on its distance from the nominal surface: green where it is within tolerance, yellow and red where there is excess material, and light blue and blue where material is missing. At a glance, you can see deformations, mold shrinkage, warping after welding, and mold wear. From the same point cloud, you can then extract cross-sections, diameters, and positions just as you would with a CMM, with an uncertainty typically ranging from a few hundredths to a few tenths of a millimeter, depending on the instrument.

+0.18+0.09−0.07 (wide hole)−0.06within ±0.05over +0.15from +0.05 to +0.15from −0.05 to +0.05from −0.15 to −0.05beyond −0.15deviation (mm)
Figure 37.8 · Color map of a printed circuit board compared to the CAD model: the upper-right corner is raised (up to +0.18 mm), and there is material missing along the left edge and in the hole (which is wider than the nominal size).
📏
How many points? A scanner that takes one point every 0.05 mm on a 100 × 80 mm surface collects approximately (100 / 0.05 + 1) · (80 / 0.05 + 1) = 2,001 · 1,601 ≈ 3.2 million points. A contact CMM, on the same surface, would take a few dozen: much more precise individually, but without the big picture.

Industrial Tomography (Overview)

Industrial computed tomography works just like a hospital CT scan: the workpiece rotates on a table between an X-ray source and a detector, and from hundreds of X-ray images taken from different angles, the computer reconstructs the entire volume, inside and out. This makes it possible to measure even internal surfaces that no probe can reach (injection molds, assembled workpieces, molded plastics) and to detect internal porosity and cracks. It is expensive, slow, limited to workpieces of modest size and density, and requires shielded facilities; for dimensional measurement, it is used primarily on plastics, aluminum, and small components.

Non-destructive testing

In addition to dimensional measurements, there are non-destructive tests, which detect defects without damaging the workpiece; we have already discussed them in relation to welds (Chapter 18) and materials (Chapter 19). Here we will review the principle behind them:

  • penetrating fluids: A colored or fluorescent liquid seeps into the cracks on the surface; the area is cleaned, a white developer is applied, and the liquid trapped in the cracks “draws” the crack;
  • magnetic particle inspection: a ferromagnetic workpiece is magnetized and coated with iron powder; where a surface crack or a crack just below the surface disrupts the magnetic field, the powder accumulates;
  • Ultrasound: A probe sends pulses at a frequency of a few megahertz into the workpiece; an internal defect reflects an echo, and the depth is calculated based on the return time. The same principle is used to measure the thickness of pipes and tanks from a single side;
  • X-ray inspection: X-rays or gamma rays pass through the workpiece, and a film or detector reveals internal voids as darker areas.
Depth of an ultrasonic echo
s = v · t2
s: depth of the defect or thickness, in m · v: speed of sound in the material, in m/s (longitudinal waves; approximate values: steel about 5920, aluminum about 6320, cast iron from 3500 to 5600) · t round-trip time of the echo in s. The “2” is included because the pulse travels the distance twice
Example 37.10 · What is the depth of the defect?

On a steel shaft, the probe receives a defect echo after 10 µs and a background echo after 33.8 µs.

defect: s = 5920 × 10 × 10−6 / 2 = 0.0296 m = 29.6 mm
base: s = 5920 × 33.8 × 10−6 / 2 = 0.1000 m = 100.0 mm (the shaft diameter: used to check the calibration)
Internal defect 29.6 mm from the surface on which the probe rests

37.8 Vision systems, profile projectors, and height gauges

Profile Projector and Vision Systems

The profile projector illuminates the workpiece from behind and projects its shadow—magnified by a lens (10×, 20×, 50×)—onto a screen with a reticle. It is used for small and complex profiles: threads, radii, small gears, inserts, and springs. In the past, the shadow was compared to a scale drawing on the screen; today, the screen has been replaced by a camera and software that automatically recognizes the workpiece’s edges and compares them to the drawing. These are vision systems (or optical measuring machines): some measure the workpiece resting on a glass plate in a single shot, without any adjustments, making them the ideal solution for small stamped, turned, or mass-produced workpieces.

Magnification and Pixel Size
Lworkpiece = LscreenM ppx = CNpx
Lscreen measurement displayed on the screen · M lens magnification · ppx dimension on the workpiece of one pixel · C width of the framed field · Npx number of pixels along that width
Example 37.11 · Projector and Camera

On a projector with a 20× lens, the insert radius, measured on the screen, is 64.0 mm. A vision system, on the other hand, captures a 30-mm-wide field of view with a 2,448-pixel sensor.

true radius = 64.0 / 20 = 3.20 mm
pixels: 30 / 2448 = 0.01225 mm = 12.25 µm
The software detects the edge with an accuracy of about 1/10 of a pixel: 12.25 / 10 ≈ 1.2 µm
Radius: 3.20 mm. The vision system “reads” approximately 1.2 µm, but its actual uncertainty—under real lighting conditions and with real edges—is a few micrometers.

The Electronic Height Column

The height column (or electronic height gauge) is an evolution of the vernier caliper described in Chapter 32. A vertical column with an optical scale, mounted on a base that slides on the reference surface (often on an air cushion), carries a ball probe. It measures heights from the reference surface with a resolution of 0.001 mm or better, and with a small built-in computer, it also calculates diameters, centers, and center distances of holes and pins, and even straightness and perpendicularity when slid along the workpiece.

For a hole with a horizontal axis, probe the bottom wall (by pushing down) and the top wall (by pushing up). It is best to find the reversal point: by moving the workpiece slowly, the instrument records the lowest value at the bottom and the highest at the top—that is, the dimension relative to the true diameter, not to a chord. The column knows the sphere’s diameter from calibration on a block and compensates for it automatically; if done manually, the rules from Example 37.3 apply.

center-to-center distance 45.010top holecenter 80.010 · Ø 20.020lower holecenter 35.000 · Ø 20.026lower probedimensions measured from the reference plane
Figure 37.9 · The height column measures the walls of each hole above and below; it uses these dimensions to calculate the diameter, center, and center-to-center distance.
Hole measured with the column (positions of the center of the sphere)
Ø = Hsup − Hinf + d Hcenter = Hsup + Hinf2 center-to-center distance = HCenter 2 − HCenter 1
Hsup, Hinf: dimensions from the center of the sphere to the upper and lower walls of the hole, in mm · d: effective diameter of the sphere in mm. The center of the hole does not depend on d, because the compensation is the same above and below
Example 37.12 · Diameters and Center-to-Center Distances with the Column

Sphere Ø5,000 mm. Lower hole: center of sphere at Hinf = 27.487 and Hsup = 42.513 mm. Upper hole: Hinf = 72.500 and Hsup = 87.520 mm.

lower hole: Ø = 42.513 − 27.487 + 5.000 = 20.026 mm; center = (42.513 + 27.487) / 2 = 35.000 mm
upper hole: Ø = 87.520 − 72.500 + 5.000 = 20.020 mm; center = (87.520 + 72.500) / 2 = 80.010 mm
center-to-center distance = 80.010 − 35.000 = 45.010 mm
Ø20.026 and Ø20.020 mm, centers at 35.000 and 80.010 mm from the plane, center-to-center distance 45.010 mm

37.9 Probes on the Machine Tool

The same principle as that of a contact probe is incorporated into the machine tool. The in-machine probe (also called a sensor) has a cone similar to a tool holder; it is stored in the tool magazine and is mounted in the spindle using a standard tool changer (Chapter 50); it transmits the contact signal to the control via radio or infrared. When the ball tip touches the workpiece, the control instantly records the position of the axes: on Fanuc, the measuring movement is controlled using the G31 jump function, which halts the block upon receiving the signal; on Siemens, using the MEAS instruction. In practice, individual movements are not programmed: the probe or machine manufacturer provides ready-made probing cycles, which are called up with a block (on Fanuc, often with G65; on Siemens, with the control’s measurement cycles), and these cycles handle approach movements, contact detection, calculations, and the recording of results.

There are three main uses:

  • Set the workpiece zero: The cycle detects an edge, the center of a hole or pin, or the dimension of a face, and automatically sets the workpiece zero (G54, G55...). This saves time compared to manual zeroing and eliminates transcription errors;
  • Machine measurement: After a semi-finishing pass, the workpiece is measured without disassembling it, corrected, and finished correctly on the first try. This is very useful for large and expensive workpieces;
  • Tool compensation: Based on the measured dimension, the cycle calculates the error and updates the wear compensation for the tool that was used.

Note: On-machine measurement uses the machine’s own axes, with their inherent errors and temperature variations. If a machine error caused the workpiece to be incorrect, that same error may make it appear correct. Final inspection measurements are therefore performed off the machine, and the machine must be checked periodically (sections 37.13 and 37.14).

Step 1tap 2YXG54workpiece (top view)X+Y+X−Y−center
Figure 37.10 · On the left, probing an edge: one probe touch in the X direction and one in the Y direction determine the work zero. On the right, probing a hole: four probe touches, in opposite pairs, determine the center and diameter.

The Edge and the work zero

Example 37.13 · Reset G54 on an edge

Probe with an effective radius of 2.998 mm. As the probe approaches the left face of the workpiece in the X+ direction, contact occurs with the center of the ball at X = 352.418 (machine coordinates). When approaching the front face in the Y+ direction, at Y = −148.731.

Face X: The sphere touches with its side facing toward X+ → face = 352.418 + 2.998 = 355.416
Face Y: The sphere touches with its side facing Y+ → face = −148.731 + 2.998 = −145.733
The machine zero G54 is set to X = 355.416, Y = −145.733 (machine coordinates)

On a Fanuc, you would include a line like this in the program (the probing cycle is handled automatically):

G10 L2 P1 X355.416 Y-145.733 (SCRIVE LO ZERO PEZZO G54)

The center of a four-point hole

For a hole, the cycle starts at a point near the center, probes at X+ and X−, moves to the midpoint between the two contacts, and only then probes at Y+ and Y−. The order matters: if the probe were not at the center in the X direction, the two touches in the Y direction would measure a chord instead of the diameter (Chapter 31, off-center hole measurement). The best cycles then repeat the X-direction touches from the new center.

Center and Diameter of a Four-Point Hole
xc = x+ + x−2 yc = y+ + y−2 Ø = x+ − x− + deff
x+, x−, y+, y−: positions of the sphere's center at the four contact points, in mm · deff: effective diameter of the probe, in mm. For a pin (contacts from the outside toward the center), Ø = x+ − x− − deff, where x+ is the contact on the right side
Example 37.14 · Center of a hole probed at four points

Probe with deff = 5.996 mm. Contacts (center of ball, machine coordinates): X+ = 147.038; X− = 103.022; Y+ = 96.988; Y− = 52.972.

xc = (147,038 + 103,022) / 2 = 250,060 / 2 = 125,030
yc = (96,988 + 52,972) / 2 = 149,960 / 2 = 74,980
Ø in X = 147.038 − 103.022 + 5.996 = 50.012; Ø in Y = 96.988 − 52.972 + 5.996 = 50.012
Center (125.030; 74.980), hole Ø50.012 mm. If the work zero is at the center of the hole, the cycle writes these values to G54

Automatic Tool Correction

Example 37.15 · A milled pin that is too small

A milling cutter machined a nominal Ø40.000 pin using radius compensation (G41). The probe measured Ø39.982 mm.

Error in diameter: 39.982 − 40.000 = −0.018 mm; in radius: −0.018 / 2 = −0.009 mm
The pin is smaller: the milling cutter cuts “wider” than the control system expects → the radius in the offset must be increased by 0.009 mm
Milling cutter radius wear: +0.009 mm. The next workpiece comes out at Ø40.000 (for a hole larger than the nominal size, the correction would have the same sign: in that case, too, the milling cutter removes too much material).

37.10 Tool Presetting

Each tool has its own length (from the spindle reference line to the tip) and its own radius. The control must know these values to adjust the program correctly: these are the length and radius offsets (G43 and G41/G42 on the milling machine, X and Z offsets on the lathe; chapters 27, 26, and 50). Measuring them is called presetting.

Off-camera: the preset bench

The presetting bench has a reference spindle with the same mounting as the machine (ISO cone, HSK, Capto...) and an optical head that moves in the X and Z axes. The tool is mounted in its toolholder, the cutting edge is aligned with the camera’s sighting system, and the bench displays the lengths and radii, and often the angles and condition of the cutting edges as well. The values are entered into the machine’s tool table or, better yet, transmitted over the network or via a chip on the tool holder. The main advantage is that tools are prepared while the machine is running: the machine does not stop to measure them.

spindlereferenceLRreference linecameramoves in the X and Z directionsL = 152.346R = 7.994Ø = 15.988T05 toolThe values are entered into the machine’s compensatorsof the machine, either manually or via the network
Figure 37.11 · The presetting bench: L is measured from the spindle reference line to the tip; R is measured from the axis to the cutting edge.

In the car: probe or laser

Two systems are used inside the machine. The tool probe is a sensor mounted on the table (or an arm that lowers near the spindle on a lathe): the tool descends slowly until it touches the probe plate, and the control calculates the length from the Z dimension to the point of contact. The laser, on the other hand, acts as a barrier: a laser beam passes through the work area, and the rotating tool interrupts it. The laser does not touch the tool; it measures both radius and length while the spindle is rotating at operating speed (thus accounting for actual thermal expansion) and detects broken tools or chipped inserts. Both systems are calibrated using a reference tool of known length.

Tool length with the probe or laser
L = Lcamp + (Zut − Zcamp)
L: tool length in mm · Lcamp: sample tool length in mm · Zut, Zcamp: dimensions of the spindle at contact (or where the radius ends) with the tool and with the sample, in mm. A longer tool makes contact first, i.e., with the spindle positioned higher.
Example 37.16 · Bench Presetting and Laser Inspection

On the workbench, a Ø16 milling cutter measures L = 152.346 mm and R = 7.994 mm. On the machine, the 100.000 mm-long sample interrupts the laser with the spindle at Z = −250.000; the milling cutter at Z = −197.654.

workpiece: Ø = 2 × 7.994 = 15.988 mm (the end mill was resharpened: 12 µm less than the nominal value)
laser: L = 100,000 + (−197,654 − (−250,000)) = 100,000 + 52,346 = 152,346 mm
The two measurements match: L = 152.346 mm goes in the length field, R = 7.994 mm in the radius field

37.11 Gear Dimensions

On a gear, the most important dimension to check in the workshop is the tooth thickness: the clearance between the teeth of two meshing gears depends on it. The thickness along the pitch circle, however, corresponds to an arc and cannot be measured directly; two indirect methods are used. Here we consider cylindrical gears with straight teeth, with a pressure angle α = 20° and no profile shift; the geometry of gears (module, pitch diameter, involute) is explained in Chapter 40.

The chord dimension with the double-vernier caliper

The double-vernier caliper (or tooth caliper) has two perpendicular scales. The vertical scale is used to adjust a stop that rests against the tooth head at a depth of h; the horizontal scale is used to measure the chord s of the tooth at the dimension of the pitch circle. It is simple and inexpensive, but its accuracy depends on the outer diameter of the wheel (on which the stop rests) and the operator’s skill.

jokeshprimitive circumferenceh: height from the headto the chords: chord on theprimitive circumferencefixed beakand movable beak
Figure 37.12 · The gear tooth m 3, z 30 to scale: the stop rests on the head, and the calipers measure the chord s at the height of the pitch circle.
Dimension (wheels with α = 20°, without profile offset)
s = m · z · sin 90°z h = m · (1 + z2 · (1 − cos 90°z))
s: tooth pitch on the pitch circle, in mm · h: height at which the backface is set, measured from the tooth tip, in mm · m: module, in mm · z: number of teeth. The angle 90°/z is half the angle occupied by a tooth on the pitch circle (the tooth occupies half of the angular pitch 360°/z)
Example 37.17 · Dimension of the chord of a wheel with m = 3 and z = 30
90° / z = 90° / 30 = 3°; sin 3° = 0.052336; cos 3° = 0.998630
s = 3 × 30 × 0.052336 = 90 × 0.052336 = 4.7102 mm
h = 3 · (1 + 15 · (1 − 0.998630)) = 3 · (1 + 15 · 0.001370) = 3 · 1.02056 = 3.0617 mm
Set the stroke to h = 3.062 mm and measure s = 4.710 mm (minus the expected clearance deviation). The arc is m · π / 2 = 4.7124 mm: the chord is slightly shorter

The Wildhaber method using a plate micrometer

The Wildhaber dimension (or dimension between k teeth, span measurement) is the distance between two parallel planes that touch the opposite flanks of k consecutive teeth. It is measured using a dial micrometer (Chapter 32). Due to a property of the involute, the two planes touch the flanks along a line tangent to the base circle, and the dimension does not depend on either the outside diameter or the exact location where the jaws rest; this is why it is the most commonly used and most precise method in the workshop. The number of teeth k is chosen so that the plates touch the flanks near the pitch circle.

W = 32.258 mm for k = 4 teethplateof the micrometertangent to thebase circumferencebase circumference (hatched)
Figure 37.13 · The Wildhaber dimension of the m 3, z 30 gear over k = 4 teeth, to scale. The plates touch the outer flanks of the first and fourth teeth on the line tangent to the base circle.
Wildhaber Dimension (α = 20°, without profile shift)
W = m · cos α · (π · (k − 0.5) + z · inv α) inv α = tan α − αrad
k = z9 + 0.5 (rounded to the nearest integer) for α = 20°: cos α = 0.939693 · inv α = 0.014904
W dimension between k teeth in mm · m module in mm · α pressure angle · k number of teeth engaged by the washers · z number of teeth on the wheel · inv α evolutive (involute) function of the angle, with αrad the angle in radians: tan 20° − 0.349066 = 0.363970 − 0.349066 = 0.014904
Example 37.18 · Wildhaber dimensions of the wheel m 3, z 30
k = 30 / 9 + 0.5 = 3.33 + 0.5 = 3.83 → k = 4 teeth
π · (k − 0,5) = π · 3,5 = 10,99557
z · inv α = 30 · 0.014904 = 0.44713
m · cos α = 3 · 0.939693 = 2.81908
W = 2.81908 · (10.99557 + 0.44713) = 2.81908 · 11.44271 = 32.258 mm
W = 32.258 mm over 4 teeth. The drawing usually specifies W with a negative deviation (for example, from −0.06 to −0.12 mm) to create clearance: if the micrometer reads 32.180 mm, the tooth thickness has decreased by approximately (32.258 − 32.180) / cos 20° = 0.078 / 0.9397 = 0.083 mm
WheelkW (mm)s (mm)h (mm)
m 2, z 1729,3333,1372,073
m 3, z 30432,2584,7103,062
m 4, z 48667,6366,2824,051
m 5, z 24338,5827,8485,129

Values calculated using the formulas in this section, for α = 20° and without a profile shift; with the correct wheels, the dimensions change and can be read from the drawing.

Roll Control (Overview)

The two-flank roll check involves meshing the wheel to be tested with a reference wheel, which is pressed against it by a spring with no clearance. As the wheels rotate, the center distance varies slightly due to tooth errors, eccentricity, and thickness: a dial indicator or transducer records these variations on a graph. It is a quick test, suitable for production, that summarizes the overall effect of the errors in a single number. Detailed analysis of the profile, helix, and pitch, on the other hand, is performed on dedicated gear measuring machines.

37.12 Hardness and Thickness of Coatings in the Workshop

Workshop Hardness Testers

The Brinell, Vickers, and Rockwell hardness tests are described in Chapter 19. In the workshop and during acceptance testing, faster instruments that can be used directly on the workpieces are also needed:

  • Benchtop Rockwell hardness testers with digital readouts, for small and medium-sized workpieces;
  • Rebound hardness testers (Leeb method): A small probe with a spherical tip is launched against the workpiece, and the instrument measures its velocity before and after impact; the harder the material, the more it rebounds. The value is converted to HRC or HB using tables specific to each material family. This method is suitable for large, heavy workpieces, but not for thin or lightweight ones;
  • Ultrasonic impedance hardness testers (UCI): A vibrating Vickers indenter is pressed against the workpiece, and the change in vibration frequency indicates the hardness. It leaves a very small indentation, making it suitable for finished parts and hardened layers;
  • Calibrated hardness files: the easiest way to tell if a surface has been hardened; they only provide a threshold.

All portable methods are indirect and must be checked frequently against standard hardness blocks; conversions between scales are approximate and apply only to the material for which they were derived.

The thickness of the coatings

Paint coatings, zinc plating, nickel plating, and anodizing (Chapter 22) have thicknesses of a few micrometers or a few tenths of a millimeter, as specified in the drawing. They are measured without damaging them using probe-type coating thickness gauges, of which there are two types:

  • Magnetic induction: for non-magnetic coatings (paint, zinc, chrome, plastic) on steel or cast iron. The probe contains a magnet or a coil, and the attraction to the base metal decreases with distance—that is, with the thickness of the coating;
  • Induced currents (eddy currents): for insulating coatings (paint, anodic oxide, plastic) on non-magnetic metals such as aluminum, copper, brass, and austenitic stainless steel. The probe coil induces currents in the base metal, which weaken with distance.

Many instruments have two probes and can detect metal on their own. They are zeroed on bare metal of the same type and calibrated using plastic calibration sheets of known thickness, selected close to the value to be measured. Measurements should be taken away from edges and corners, on surfaces that are not too curved, and several measurements should always be taken, because the thickness of a coating varies greatly from point to point.

Example 37.19 · A Paint Job Worth Accepting

The specifications require a paint thickness of at least 100 µm at every point on steel structural members. The induction coating thickness gauge, zeroed on a bare workpiece and verified with a 125 µm standard plate, yields the following readings at five points: 118, 124, 131, 112, and 127 µm.

average = (118 + 124 + 131 + 112 + 127) / 5 = 612 / 5 = 122.4 µm
minimum value = 112 µm ≥ 100 µm
Accepted: average of 122.4 µm and no point below 100 µm. If the specifications require a minimum “at every point,” the lowest value counts, not the average.

37.13 Machine Tool Calibration: Ballbar and Laser Interferometer

A machine tool is itself a tool: workpieces cannot be more precise than its axes. For this reason, it is calibrated upon installation and periodically checked in accordance with the ISO 230 series of standards. Two tools have made these tests quick and easy, even in the workshop.

The Ballbar

The ballbar (telescopic ball bar) is a rod with a ball at each end and a highly precise displacement transducer in the center. One ball rests against a magnetic cup mounted on the table, and the other against a cup in the spindle. The machine performs a programmed circular path (G02 and G03) with a radius equal to the length of the bar, for example, 100 mm: if the axes were perfect, the bar would never change in length. Instead, the transducer records deviations of just a few micrometers, which the software draws on a highly magnified polar graph. Every defect in the machine leaves a recognizable “signature”:

  • clearance: a step at the points where an axis reverses its motion, that is, at 0° and 180° for the X-axis, and at 90° and 270° for the Y-axis;
  • inversion spikes: brief spikes at the same points, caused by friction and servo calibration (Chapter 48);
  • perpendicularity error: the circle becomes an ellipse with axes at 45° and 135°;
  • difference in scale between the axes: an ellipse with axes along the X and Y directions (one axis moves a little more than it should);
  • Dynamic errors: The circle's radius changes with speed because the two axes do not follow the command with the same delay.
XY45°135°gray circles: ±5 µm90° and 270° steps: Y-axis clearanceresults (R = 100 mm)X-axis clearance4 µmY reversal play7 µmXY perpendicularity18 µm/mX/Y scale difference24 µm/mCircularity7.9 µmGraph scale: 1 µm = 8 px;errors are magnified thousands of times
Figure 37.14 · Ballbar graph from Example 37.20. The hatched line represents the ideal circle; the red line represents the actual circle, with the deviations magnified.
Perpendicularity and Scale from the Ballbar
εXY = Ø45 − Ø1352 · R Δscale = RX − RYR
εXY Perpendicularity error between X and Y, in µm/m (or in radians) · Ø45, Ø135 Diameters of the ellipse along the 45° and 135° diagonals, in µm of deviation · R scope of the test · RX, RY radiuses measured along the X-axis and along the Y-axis · Δstaircase difference in scale between the two axes, in µm/m
Example 37.20 · Reading a ballbar graph

Test on a machining center with R = 100 mm. From the graph: increments of 4 µm at 0° and 180°, and 7 µm at 90° and 270°; the diameter along the diagonal at 45° is 3.6 µm larger than that at 135°; the radius along the X-axis exceeds that along the Y-axis by 2.4 µm.

Reversal clearance: X = 4 µm, Y = 7 µm
Perpendicularity: ε = 3.6 µm / (2 × 100 mm) = 3.6 µm / 200 mm = 0.018 µm/mm = 18 µm/m
scale: Δ = 2.4 µm / 100 mm = 0.024 µm/mm = 24 µm/m (X moves slightly more than Y)
First, adjust the Y-axis (the largest one; compensate by adjusting the control or adjusting the screw), then adjust the scale; the perpendicularity of 18 µm/m—that is, 18 µm per meter—should be compared with the manufacturer’s tolerances

The Laser Interferometer

The laser interferometer measures displacements by counting the interference fringes between a reference beam and a beam reflected by a prism mounted on the moving part: the wavelength of the laser light, approximately 0.633 µm, serves as the “ruler.” It is the most precise instrument for testing linear axes: the axis is programmed to stop at a series of positions (for example, every 100 mm), back and forth, multiple times, and the interferometer measures where the axis actually is. A weather station corrects the wavelength for temperature, pressure, and humidity, and a sensor on the machine normalizes the measurement to 20 °C. Using different optical systems, the straightness, pitch, and yaw of the guides are also measured.

The test determines the positioning error along the travel, repeatability, and clearances during reversal. The numerical control system then allows for the compensation of repeatable errors: a point-by-point correction table (compensation for lead screw pitch error) and a clearance compensation value are loaded. Random errors, however, cannot be compensated for.

laserinterferometerreflector on the tabletest axis051015200100200300400500error (µm)position (mm)Forwardreturnplay 4 µm
Figure 37.15 · Above: the test diagram; below: the axis errors from Example 37.21. The distance between the two curves represents the clearance, while their slope represents a screw pitch error or thermal expansion.
Example 37.21 · From the laser table to compensation

X-axis of a milling machine, errors in µm (actual position minus commanded position):

Position (mm)0100200300400500
wavelength (µm)03591114
reflectance (µm)479121518
clearance at each position (return leg − first leg): 4 · 4 · 4 · 3 · 4 · 4 → average 23 / 6 = 3.8 µm
Average error between the forward and backward passes: 2 · 5 · 7 · 10.5 · 13 · 16 µm
Total error range: 18 − 0 = 18 µm
Forward slope: 14 µm over 500 mm = 28 µm/m (the screw “lengthens” the travel: pitch error or expansion)
Compensate for the clearance by approximately 4 µm and load a correction table with values of −2, −5, −7, −10.5, −13, and −16 µm; when the test is repeated, the residual error should decrease to a few micrometers

37.14 Squaring, Leveling, and Thermal Drift

Leveling

A tool that is not properly supported will warp: the base will bend, the guides will lose their straightness, and the axes will lose their perpendicularity. The first test is therefore the leveling, made with a precision level a spirit level or electronic level placed on the table or on the guides, by adjusting the machine’s feet. The goal is not so much to have the machine “level” in an absolute sense, but rather to avoid twisting: the reading must be the same in all positions of the axes. Precision levels have a sensitivity of 0.02 mm/m (or 0.01 mm/m) per division.

Precision Level
slope = n · S elevation gain = slope · B
n = number of divisions by which the bubble has shifted · S = sensitivity of the level in mm/m per division · B = distance between the support points in m · the elevation difference is given in mm
Example 37.22 · Leveling and Checking the Square

A level with a graduation of 0.02 mm/m, placed along the base, shows the bubble shifted by 3 graduations. The feet are 2 m apart. Then, using a 300-mm-high granite square and a dial indicator mounted on the Z-axis, a variation of 0.015 mm from top to bottom is measured.

slope = 3 × 0.02 = 0.06 mm/m; height difference between the feet = 0.06 × 2 = 0.12 mm
Perpendicularity of Z: 0.015 mm over 300 mm = 0.00005 = 50 µm/m
angle: arctan 0.00005 = 0.00286° ≈ 10 arcseconds
The lower foot is raised by 0.12 mm; the Z-axis is out of square by 50 µm/m, compared to the manufacturer's specified inspection tolerance

Squaring

Squaring checks the perpendicularity between the axes: calibrated granite or cast-iron squares, gauge cylinders, and dial indicators are used, or a ballbar and an interferometer with specialized optics. An error between the X and Y axes causes rectangles to appear as parallelograms and circles as ellipses; an error between the Z axis and the table results in tilted holes and walls that are not perpendicular to the bottom surface. This is corrected through mechanical adjustments or, on many modern machines, through compensation in the control system.

Spindle thermal drift

When the spindle rotates, the bearings and motor heat up; the spindle and column expand, and the tool’s zero point shifts, especially in the Z-axis. This is thermal drift, often the leading cause of errors in precision workpieces. It is measured using a dial indicator or a non-contact sensor aimed at a test spindle: the spindle is rotated at a fixed speed, and the displacements are recorded over time until they stabilize, and then during cooling.

01020300306090120first 30 minElongation in the Z direction (µm)Time (min) at 8,000 rpm19 µm out of 26 (73%) reachwithin the first half hour
Figure 37.16 · Thermal drift in the Z-axis of a spindle running at 8,000 rpm: the drift increases rapidly at first and then slows down until it stabilizes.
Example 37.23 · How long should the warm-up last?

Z-axis runout of the spindle at 8,000 rpm: 0 µm at startup, 12 after 15 minutes, 19 after 30, 23 after 60, 25 after 90, 26 after 120 minutes. The workpieces have a tolerance of ±0.01 mm on the Z-axis dimensions.

Total deviation: 26 µm, which exceeds the total tolerance of 20 µm
in the first half hour: 19 / 26 = 0.73, or 73% of the drift
After 30 minutes, 26 − 19 = 7 µm remain; after 60 minutes, 3 µm remain
A 30- to 60-minute warm-up cycle before machining precision workpieces (or a new zeroing operation with the probe after the warm-up) reduces the error from 26 to 3–7 µm. Many control systems also feature thermal compensation that uses temperature sensors on the machine
✅
A reasonable sequence for the testing process: leveling, then geometry (straightness and perpendicularity), then axis alignment using the interferometer and offsets, then a ballbar test for overall verification, and finally thermal drift and a workpiece measured in the metrology lab. Repeating the ballbar test every few months takes half an hour and detects wear and impacts early on.

37.15 The Formulas in This Chapter

WhatFormulaUnits
Resolution of an optical liner = p / Nµm
Effective diameter of the probedeff = Dmis − Drifmm
Radius CompensationP = C + reff · n · width = x2 − x1 + deffmm
Three-point line2(x2 − x1)a + 2(y2 − y1)b = x2² + y2² − x1² − y1² (and the same applies to point 3)mm
Least-Squares Regressionm = (nΣxy − ΣxΣy) / (nΣx² − (Σx)²) · q = (Σy − mΣx) / n
Rotation within the workpiece systemx' = Δx · cos θ + Δy · sin θ · y' = −Δx · sin θ + Δy · cos θmm
Position ToleranceØ = 2 · √(Δx² + Δy²)mm
Permissible error of a CMMMPEE = A + L / Kµm
Laser trackerx = d cos ε cos φ · y = d cos ε sin φ · z = d sin εmm
Ultrasounds = v · t / 2m
Projector and CameraLpezzo = Lschermo / M · ppx = C / Npxmm
Hole with the column heightØ = Hsup − Hinf + d · Hc = (Hsup + Hinf) / 2mm
Four-point-drilled holexc = (x+ + x−) / 2 · Ø = x+ − x− + deffmm
Tool length with probe or laserL = Lcamp + (Zut − Zcamp)mm
Cord dimensions = m · z · sin(90°/z) · h = m · (1 + z/2 · (1 − cos(90°/z)))mm
Wildhaber PassW = m · cos α · (π(k − 0.5) + z · inv α) · k = z/9 + 0.5mm
Perpendicularity from the ballbarε = (Ø45 − Ø135) / (2R)µm/m
Levelslope = n · S · elevation difference = slope · Bmm/m, mm

37.16 Exercises

Try to solve them on your own, using a calculator, before looking at the solution.

Exercise 1. An optical line has a period of 40 µm, and the electronics interpolate by a factor of 100. What is the resolution?
Solution

r = 40 / 100 = 0.4 µm.

Exercise 2. A rod with a nominal sphere of Ø3 is calibrated against a reference sphere of 19.9995 mm. The center sphere measures 22.9947 mm. What are the effective diameter and radius?
Solution

deff = 22.9947 − 19.9995 = 2.9952 mm; reff = 1.4976 mm.

Exercise 3. Find the center and radius of the circle that passes through P1 (15, 32), P2 (22, 15), and P3 (−3, 20).
Solution

Squares: 1249, 709, 409. Point 2 minus point 1: 14a − 34b = −540. Point 3 minus point 1: −36a − 24b = −840. From the first, a = (−540 + 34b) / 14; substituting: −36 · (−540 + 34b) / 14 − 24b = −840 → multiplying by 14: 19,440 − 1,224b − 336b = −11,760 → 1,560b = 31,200 → b = 20; a = (−540 + 680) / 14 = 10. R = √(5² + 12²) = 13. Center (10; 20), R = 13.

Exercise 4. A hole is probed on a machine with deff = 3.990 mm. Coordinates: X+ = 88.512; X− = 51.478; Y+ = 42.020; Y− = 4.990. Find the center and the diameters.
Solution

xc = (88.512 + 51.478) / 2 = 69.995; yc = (42.020 + 4.990) / 2 = 23.505. Average on the X-axis = 88.512 − 51.478 + 3.990 = 41.024; Average on the Y-axis = 42.020 − 4.990 + 3.990 = 41.020.

Exercise 5. A hole with a nominal position of (40; 25) and a positional tolerance of Ø0.05 mm measures (40.021; 24.988) on the CMM. Is it within specification?
Solution

Ø = 2 · √(0.021² + 0.012²) = 2 · √0.000585 = 2 · 0.0242 = 0.048 mm ≤ 0.05: compliant, but at the limit.

Exercise 6. Calculate k, the Wildhaber dimension, and the chord dimension (s and h) for a wheel with m = 2, z = 17, and α = 20°.
Solution

k = 17 / 9 + 0.5 = 2.39 → 2. W = 2 · 0.939693 · (π · 1.5 + 17 · 0.014904) = 1.87939 · (4.71239 + 0.25337) = 1.87939 · 4.96576 = 9.333 mm. 90°/17 = 5.294°: s = 2 · 17 · sin 5.294° = 34 · 0.092268 = 3.137 mm; h = 2 · (1 + 8.5 · (1 − 0.995734)) = 2 · 1.03626 = 2.073 mm.

Exercise 7. Dimension of Wildhaber for a gear with m = 5 and z = 24 (α = 20°).
Solution

k = 24 / 9 + 0.5 = 3.17 → 3. W = 5 · 0.939693 · (π · 2.5 + 24 · 0.014904) = 4.69846 · (7.85398 + 0.35771) = 4.69846 × 8.21169 = 38.582 mm.

Exercise 8. A CMM has an MPEE of 1.8 + L/300 µm. What is the permissible error over a length of 800 mm? Using the rule of tenths, what is the minimum total tolerance that can be achieved over that length?
Solution

MPE = 1.8 + 800 / 300 = 1.8 + 2.67 = 4.47 µm, approximately 4.5 µm. T ≥ 10 · 4.5 = 45 µm, that is, approximately ±0.023 mm (and the true uncertainty will be greater than the MPE).

Exercise 9. A 300-mm-long aluminum workpiece (α = 23 × 10⁻⁶ /°C) is measured at 24 °C on a CMM that compensates for its own temperature but not for that of the workpiece. By how much does the reading differ from the length at 20 °C?
Solution

ΔL = 23 × 10⁻⁶ × 300 × 4 = 0.0276 mm: it reads 27.6 µm more. On a workpiece of steel, the error would be half that (13.8 µm).

Exercise 10. In an aluminum plate (v = 6320 m/s), an ultrasonic wave produces an echo from a defect after 8 µs. At what depth is the defect located?
Solution

s = 6320 · 8 · 10⁻⁶ / 2 = 0.02528 m = 25.28 mm.

Exercise 11. Given a column of height and a sphere with a diameter of 4.000 mm, the center of the sphere lies at Hinf = 12.345 and Hsup = 27.371 mm above a hole. What are the diameter and height of the center of the hole?
Solution

Ø = 27.371 − 12.345 + 4.000 = 19.026 mm; Hcenter = (27.371 + 12.345) / 2 = 19.858 mm.

Exercise 12. In a ballbar test with R = 150 mm, the length of the 45° diagonal exceeds that of the 135° diagonal by 6 µm. What is the perpendicularity error?
Solution

ε = 6 µm / (2 × 150 mm) = 6 / 300 = 0.02 µm/mm = 20 µm/m.

Exercise 13. A vision system captures a 12-mm frame with 1,920 pixels. What is the value of one pixel on the workpiece?
Solution

12 / 1920 = 0.00625 mm = 6.25 µm.

Exercise 14. A sample tool 100,000 mm long touches the probe with its spindle at Z = −250,000; a drill bit touches it at Z = −214,870. How long is the drill bit?
Solution

L = 100,000 + (−214,870 + 250,000) = 100,000 + 35,130 = 135,130 mm.

Exercise 15. A spirit level with a scale of 0.02 mm/m per division shows the bubble shifted by 2 divisions; the feet are 1.5 m apart. How much must the lower foot be raised?
Solution

Slope 2 · 0.02 = 0.04 mm/m; elevation difference 0.04 · 1.5 = 0.06 mm.