MachinesSelection and acceptance

The ballbar test (ISO 230-4)

Checking a CNC machine by running it round a circle against a telescoping bar: what the ballbar measures, ISO 230-4 and its terms, how the test is run, how backlash, reversal spikes, squareness, servo mismatch and scale errors show on the plot, and what follows.

LiveUpdated 30 October 20268 min read

nominal circlecounter-clockwiseclockwise

A ballbar between the spindle and the table, and the magnified trace of the circle in both directions

Two runs, one in each direction, are the standard test (Renishaw)
CW + CCW
Overshoot Renishaw suggests on the 360° test arc
90° or 180°
Partial arc in the vertical planes with the QC20-W centre pivot (Renishaw)
220°
QC20-W measurement accuracy, L the measured length; valid 15–25 °C (Renishaw)
±(0.7 + 0.3% L) µm

A ballbar is a telescoping bar with a ball at each end, one held at the spindle and one on the table. The machine moves the spindle round a programmed circle, and the bar’s transducer records how the radius varies; Renishaw: it “is used to measure variations in radius as the ballbar is rotated around a fixed point.” The lecture notes of Seoul National University put the idea plainly: “Perfect (or error free) machine will give perfect (ideal) circle corresponding to the nominal circle.” Apart from the bar’s own small uncertainty, the deviations come from the machine, and different faults leave different shapes. For how a control interpolates a circle in the first place, see G00, G01, G02, G03.

The test is standardised in ISO 230-4. Its current edition is the third, approved in February 2022 (ISO; SIS): “This document provides methods for the determination of the contouring performance of numerically controlled machine tools.” The standard is not tied to the ballbar; HEIDENHAIN, for example, cites it for its non-contact grid encoder. Its terms have changed: the 2005 edition replaced “circular hysteresis H by bi-directional circular deviation G(b)” and introduced “the mean bi-directional radial deviation, D”, and the 2022 abstract specifies the testing and evaluation of the “bi-directional circular error” and describes “differences between circular errors and radial errors”; its definitions were not seen for this page. The headline number is the spread of radii. Renishaw, in a white paper written before the 2022 edition: “The recorded data is centred and the difference between the maximum and minimum radii is computed.” “In ISO 230-4 and B5.54 standards, this result is called the ‘circular deviation’.” Woźniak and Majda, citing the 2005 edition, define the circularity deviation G as “a difference between maximum and minimum distance of points of actual path” from the centre of the least-squares circle.

Running the test

  • Both directions. Renishaw: “The standard test calls for the machine tool to perform two consecutive circles; one in a clockwise direction, the other counter-clockwise.”
  • Overshoot. “In practice there is an extra arc added before and after the test circle to allow for the machine speeding up and slowing down.” (Renishaw). Its white paper suggests 90° or 180°, which “will ensure reliable capture of axis reversal features.”
  • Planes. Haas runs the test “on each available axis combination, XY, XZ, and YZ”. With the QC20-W’s centre pivot the vertical planes are tested as a 220° arc, so all three planes can be checked “without the need to reposition the centre pivot” (Renishaw); Woźniak and Majda ran their YZ and XZ tests “in range from -20° to 200°” and the XY test as a full circle.
  • Radius. The QC20-W tests with “100, 150, 250, 300, 400, 450, 550 or 600 mm radii”, with extensions up to 1350 mm, and “The optional small circle kit allows tests with a 50 mm radius” (Renishaw). Renishaw’s 2024 QC20 brochure calls 100 mm the standard kit’s minimum, while its specification table gives test radii from 30 mm to 1,350 mm. Small circles “emphasise the effects of servo and dynamic errors on the machine” (Renishaw); HEIDENHAIN, for its grid encoder, writes that “Circular interpolation tests with large radii deliver machine geometry data.”
  • Feed. No single standard feed was found. Haas’s procedure uses a 150 mm radius at 254 mm/min; Renishaw, when the test is to be compared with a machined part, writes: “The feedrate for the ballbar test should be the same as that used for the finishing cuts during the machining test.”
  • The bar itself. “Ideally the ballbar length should be calibrated before the test starts, using the ballbar calibrator.” (Renishaw); Haas lets the calibration kit “adjust to the ambient temperature for a minimum of 30 minutes.” Renishaw gives the QC20-W’s accuracy as ± (0.7 + 0.3% L) µm, where L is the length over which the error is measured, valid from 15 to 25 °C, with a resolution of 0.1 µm.

Reading the plot

Renishaw sorts the errors by how they react to the feed. Positional errors, among them scaling and squareness: “These errors remain the same magnitude regardless of feedrate.” Dynamic errors, among them backlash, reversal spikes and servo gain: “These errors will vary according to feedrate.” The direction is the second test: some shapes flip when the circle is run the other way, some do not.

Largest minus smallest radius, counter-clockwise
—
Largest minus smallest radius, clockwise
—

A ballbar plot, magnified: the deviation from the nominal 100 mm circle, counter-clockwise (red) and clockwise (blue), the pen tracing it as the machine goes round. One error at a time with its size on the slider; the data are centred, the scale in µm per division (in the middle) adapts to the size of the error, and the readout is the largest minus the smallest radius of each run. The shapes come from this page’s first-order models of a single error (backlash as a lag of half the backlash on each side of a reversal, squareness as a skew between the axes, a scale error on X, and servo mismatch as one axis lagging the other by a time Δt); they show the shapes the sources describe, not a measured machine.
  • Backlash. A step where an axis reverses. Józwik and co-authors: “the backlash can be observed in the pie chart as a leap of the motion radius inside out or inside of the curve”, with causes such as “the backlash in the screw-cap link”. The SNU notes read it as the jump in radius at the reversal point. Renishaw: backlash “may need adjusting or compensating”.
  • Reversal spikes. A short spike at the reversal points. Józwik and co-authors: the spike appears when the direction changes, and “The main reason for the error is too slow a response from the servo drive to the control system signal.” On their lathe the Z-axis spike grew with feed, from −0.2 µm at 500 mm/min to −3.7 µm at 2000 mm/min, while the X-axis spike stayed between −1.8 and −2.1 µm. A trade article explains it as the axis that “may pause momentarily at the turnaround point.”
  • Squareness. An oval on the diagonals. Józwik and co-authors: the plot takes “the shape of the oval or the shape of a peanut rotated aslant at a 45° or 135° angle”, and its axis is “the same for both directions of the circular interpolation cycle, clockwise as well as anticlockwise.” Their measured squareness stayed between −66 and −84 µm/m over feeds from 500 to 2000 mm/min. Renishaw: “The squareness of the machine may need adjusting or compensating.”
  • Servo mismatch. Also an oval at 45°, but one that turns by 90° when the direction changes, from mismatched servo gains (MoldMaking Technology); the SNU notes give the term the opposite sign in the two directions. Renishaw expresses it as a time: an example plot is labelled “0.2mS servo mismatch”; how Renishaw defines that value was not found. In this page’s model, one axis lagging by Δt at feed v gives an oval whose largest minus smallest radius is v·Δt: 1 ms at 1000 mm/min is about 17 µm, whatever the radius (the SNU notes’ servo term has no radius in it either), while geometric errors such as squareness grow with the radius.
  • Scale mismatch. An oval along one axis, from an axis that travels too far or not far enough (MoldMaking Technology). Renishaw: with a calibrated ballbar the software “calculates absolute (rather than relative) errors for axis scaling and radial deviation values”.

Renishaw’s software names more: among others lateral play, cyclic error, straightness and stick-slip. Trade press describes cyclic error as a waviness from a flaw in the leadscrew or its mounting (MoldMaking Technology); the plot shapes of the others were not found in the sources read for this page.

After the test

Renishaw’s Ballbar 20 software “ranks each diagnosed error according to its impact on overall machine accuracy”, and Renishaw writes that “many errors can often be fixed in minutes.” Its white paper lists what may follow: backlash, squareness and axis guideway straightness “may need adjusting or compensating”, and for backlash or play: “The axis backlash may need adjusting or compensating and/or guideway play adjusting.” No source found gives a full list of what the control can compensate and what needs mechanical work.

No source found sets an interval for testing a machine. MoldMaking Technology describes one user who tests new equipment first, again after a machine is moved, crashes or loses a spindle, and once a year. Renishaw’s 12 months is for recalibrating the ballbar itself: “Renishaw recommend the QC20 ballbar is recalibrated every 12 months to be confident that it is measuring within specification.”

0 / 5 checked
  1. 01Directions

    Check
    Whether both runs were made.
    Fix
    One clockwise and one counter-clockwise circle (Renishaw).

    Renishaw

  2. 02Overshoot

    Check
    The arcs before and after the test circle.
    Fix
    90° or 180° of overshoot, for the reversal features (Renishaw).

    Renishaw

  3. 03Planes and radius

    Check
    Which planes and which radius.
    Fix
    XY, XZ and YZ (Haas); 220° arcs in the vertical planes with the centre pivot; small radii for servo and dynamic errors (Renishaw).

    Haas; Renishaw

  4. 04Temperature

    Check
    The ballbar and the calibrator.
    Fix
    Let the kit settle at least 30 min (Haas); calibrate the bar length before the test; accuracy valid 15–25 °C (Renishaw).

    Haas; Renishaw

  5. 05Feed

    Check
    Whether the errors change with feed.
    Fix
    Positional errors stay the same, dynamic ones change (Renishaw), so a run at a second feed tells them apart.

    Renishaw

Sources (13)

Every value and quotation on this page comes from the documents below.

  1. ISO 230-4:2022, Test code for machine tools — Part 4: Circular tests for numerically controlled machine tools, edition 3 (catalogue page)
  2. SIS (Swedish Institute for Standards), ISO 230-4:2022 product page: edition 3, approved 2022-02-22, status valid
  3. ISO 230-4:2005, second edition (preview: foreword and contents)
  4. Renishaw, QC20-W wireless ballbar system, brochure L-8014-1588-07-A
  5. Renishaw, QC20 ballbar, brochure L-8014-9054-01-A, 2024
  6. Renishaw, white paper “Ballbar testing in tandem with circle, diamond, square machining tests”, H-5650-2055-01-A
  7. Renishaw, application note “Errors diagnosed using partial arc analysis”, H-8014-1639-01-A
  8. Haas Automation, “Ballbar - QC20-W - Analysis”, 2020
  9. HEIDENHAIN, KGM 200 series grid encoders (product page)
  10. J. Józwik, Ł. Semotiuk, I. Kuric, “Diagnostic of CNC Lathe with QC 20 Ballbar System”, Advances in Science and Technology Research Journal 9(28), 2015, 96–102
  11. M. Woźniak, P. Majda, “Analysis of results of circular tests for numerically controlled machine tools…”, Advances in Manufacturing Science and Technology 40(3), 2016
  12. Seoul National University OCW, Precision Metrology, Week 11: Contour measurement using the ball-bar sensor (lecture notes)
  13. C. Warren, “The In’s and Out’s of Ballbar Calibration”, MoldMaking Technology, 2003 (updated 2023)