Machine Tool Control Methods: A Practical Setup Guide
This page is for engineers who have to choose, set up or debug the control loop on a CNC machine. It covers the four machine tool control methods we work with daily, what each one can and cannot hold, and the checks that stop a good control loop from producing bad parts.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
What matters before you touch the panel
How machine tool control methods divide by feedback
Every machine tool control methods decision starts with one question: does the controller know where the axis actually is? If the answer is no, you have an open-loop system. A stepper-driven router or a simple drilling head is the classic case. The controller sends a pulse train and assumes the motor moved exactly that many steps. Nothing measures the result.
Open-loop control is cheap and simple, and on light cuts it works. Its weakness is that it cannot detect or correct a missed step. As soon as cutting force, chip packing or a dry guideway causes the motor to stall for a few milliseconds, the part is scrap and the controller has no idea. That is why open-loop machines usually run light passes in aluminium, plastics and wood rather than heavy steel.
Closed-loop control adds an encoder or a linear scale and closes the position loop in the drive or the CNC. The controller compares commanded position with measured position and applies correction every servo cycle, typically 1 to 4 kHz on modern drives. This is the default on machining centers, lathes and mill-turn machines, and it is what lets us hold ±0.005 mm on a stable process.
The third family is adaptive and model-based control. Here the controller changes feed, spindle speed or even trajectory while cutting, based on spindle load, vibration or thermal data. It is not a replacement for the position loop. It sits on top of it. On a deep pocket in 4140, adaptive feed control can keep tool load near a target and cut air time, but it will not fix a loose ball screw.
- 1Open-loopNo position feedback; low cost; light cuts only.
- 2Closed-loopEncoder or scale feedback; standard for metal cutting.
- 3AdaptiveModifies feed or speed from load and vibration signals.
- 4HybridClosed position loop plus adaptive feed override on the same axis.
Encoder, scale or both: where the loop closes
A rotary encoder on the motor shaft measures motor rotation, not table position. It cannot see backlash in the ball screw nut, thermal growth of the screw, or deflection of the thrust bearing. On a machine with 8 μm of backlash, a motor encoder loop will happily hold the motor in place while the table sits 8 μm off. Linear scales solve this because they read the table directly.
The trade-off is cost and setup. A full closed-loop with linear scales on all axes adds hardware and needs careful scale alignment, plus compensation for the scale's own thermal behaviour. On a 4,000 mm travel machine, screw growth from a 5 °C shop temperature swing can move the tool several tens of microns, which is why large gantry machines often run scales on X and Y but not on a short Z.
Semi-closed loop, meaning motor encoder only, is common on 3-axis mills and on many lathes. It is fine when the ball screw is preloaded, the machine is thermally stable, and the tolerance is looser than 0.02 mm. For bearing bores, spigots and mating faces at ±0.005 mm, we prefer scale feedback or an in-process probe check.
One more hardware point: the servo update rate and the position loop gain interact. Raising gain tightens following error but eats phase margin. Push too far and the axis will sing at 200 to 400 Hz, leave ripple on the surface, and eventually trip an overcurrent alarm. Tune in small steps and cut a test part after each change.
- 1Motor encoderSees motor rotation only; blind to screw and nut error.
- 2Linear scaleReads table position; catches backlash and thermal growth.
- 3Dual feedbackScale for position, encoder for velocity and commutation.
Interpolation, look-ahead and corner behaviour
Position hold is only half the job. On a profiled part, the controller must keep the tool on a path while all axes move together. Linear and circular interpolation are the baseline. NURBS and spline modes matter on mold work and on airfoil shapes where thousands of short G01 blocks would otherwise choke the block processing rate.
Look-ahead is what makes high feed rates usable. The controller reads 50 to 200 blocks ahead, plans acceleration limits, and decides where to slow down. Turn look-ahead off and a machine that happily runs 8,000 mm/min in a straight line will overshoot every corner. Turn it up too aggressively on a block-processing-limited control and you get jerky motion instead of smooth motion.
Corner behaviour is a specification you should set deliberately. Exact stop mode gives sharp corners and a visible dwell, which is right for a square shoulder but slow on a 3D surface. Continuous mode blends corners within a tolerance you define, often 0.01 to 0.05 mm. If that blend tolerance is larger than the part tolerance, the corner will be rounded off and the part fails inspection for a reason no one can see on the drawing.
For five-axis work, the kinematic model inside the control has to match the real machine. Rotary table centre offsets, pivot distance and tool length all feed the transformation. A wrong pivot distance of 0.1 mm shows up as a taper or a twisted wall on a contoured surface, and no amount of servo tuning will remove it.
- 1Look-ahead depth50–200 blocks; deeper is smoother but needs CPU headroom.
- 2Corner toleranceSet to 10–20% of the tightest part tolerance.
- 3Five-axis kinematicsVerify pivot distance and rotary offsets before the first cut.
Adaptive control and thermal compensation in production
Adaptive control reads spindle load, axis current or vibration and adjusts feed or speed in real time. On roughing, the usual goal is constant tool load. In a pocket with a varying radial engagement, a fixed feed either burns the tool at full engagement or wastes time at low engagement. Adaptive feed keeps the chip load near target and can cut cycle time noticeably.
The caution is that adaptive control changes the cutting conditions, and surface finish follows cutting conditions. If you leave adaptive feed on during a finishing pass, the surface will show load-driven feed marks. Use it for roughing and semi-finishing, then switch to a fixed feed for the final pass.
Thermal compensation is the other production-level control method. The CNC builds a model of screw and spindle growth from temperature sensors and applies a correction to the commanded position. On a machine running all day in a shop without tight climate control, this can recover 20 to 40 μm of drift on a long axis. It cannot fix a machine that is still warming up, so we run a warm-up cycle before any tight-tolerance job.
Both methods depend on data quality. A load sensor with a slow sample rate will lag a fast-changing cut. A temperature sensor glued to the casting instead of the screw will report the wrong thermal state. Mount sensors where the error actually occurs, and log the data for a few days before trusting the model.
- 1Adaptive feedRoughing and semi-finishing only; disable for final pass.
- 2Thermal modelSensor on the screw, not the casting; warm up first.
- 3LoggingCollect a few days of data before enabling compensation.
Step by step: verifying a control loop before production
Run these in order on any machine before a tight-tolerance job.
- 1Warm up the machine for 20 to 30 minutesRun the spindle at 60 to 80% of the job speed and exercise all axes through their working range. Cold starts are the largest single source of first-part error on long axes.
- 2Check backlash on each axisCommand a small move in one direction, zero the indicator, then approach from the opposite direction. Anything above 5 μm on a finishing axis needs mechanical attention before tuning.
- 3Measure following error at the real feed rateRun a straight move at the feed you will use, not at a slow jog speed. Following error grows with feed; a value that looks fine at 500 mm/min can be 3× larger at 5,000 mm/min.
- 4Verify the feedback device against a known standardUse a granite square, a ballbar or a laser interferometer. Compare commanded position with measured position at several points along the travel, not just near the home position.
- 5Set corner tolerance to match the partStart at 10% of the tightest tolerance on the drawing. Cut a test corner and inspect it. Increase only if cycle time demands it and the corner still passes.
- 6Confirm five-axis kinematics with a test cutCut a simple cone or sphere, then measure. A roundness error that repeats with rotary position points to a kinematic offset, not to servo tuning.
- 7Run the first part and inspect it fullyDo not release the run on a sample check. Measure every critical feature on part one, adjust offsets, then confirm on part two before batch production.
Choosing between machine tool control methods
Match the method to the feature, the material and the tolerance.
| Control method | Typical accuracy | Best for | Avoid when |
|---|---|---|---|
| Open-loop stepper | ±0.05 mm or looser | Light cuts, wood, plastic, drilling | Heavy steel cuts or unattended runs |
| Semi-closed loop | ±0.01 to ±0.02 mm | 3-axis milling, general turning | Long axes with thermal drift |
| Full closed loop with scales | ±0.005 mm and tighter | Bearing bores, spigots, mating faces | Dirty shops without scale protection |
| Adaptive feed control | Depends on position loop | Roughing with varying engagement | Final finishing passes |
| Thermal compensation | Recovers 20–40 μm of drift | Long-axis, all-day production | Cold starts and unstable shops |
| Five-axis kinematic control | ±0.005 mm with verified offsets | Contoured and angled features | Unverified pivot distance or tool length |
Pick the loop that matches the feature, not the brochure
Open-loop is fine for light work; closed-loop with scales is what holds ±0.005 mm; adaptive and thermal control are production tools, not fixes for a loose machine.
Questions engineers ask about control loops
Can I improve accuracy just by raising servo gain?
Only up to a point. Higher gain reduces following error during acceleration, but it also reduces phase margin. Push past the stable limit and the axis will oscillate, leave ripple on the surface, and eventually trip an overcurrent alarm.
Fix mechanical backlash, thrust bearing play and belt tension first. A tight machine tolerates higher gain; a loose one does not.
Do I need linear scales on every axis?
No. Scales pay off on long axes where thermal growth and screw error are largest, and on axes that hold tight-tolerance features. Short Z axes on a stable machine often run fine on motor encoders.
If the drawing calls for ±0.005 mm on a bore or a spigot, put the scale on the axis that generates that feature.
Why does the surface show feed marks after I enable adaptive control?
Adaptive control varies feed to hold tool load, and surface finish tracks feed. The marks are the controller doing its job.
Use adaptive feed for roughing and semi-finishing, then switch to a fixed feed for the final pass. The final pass should cut a constant chip load.
How often should I re-check backlash and following error?
After any crash or heavy interrupted cut, and on a scheduled interval for production machines. A practical interval is monthly for machines running two shifts, and after any spindle or ball screw service.
Log the values. A slow upward trend in backlash tells you more than a single out-of-tolerance reading.
Does thermal compensation replace a warm-up cycle?
No. Compensation corrects a modelled drift; it does not remove the transient while the machine is still warming. The first 20 to 30 minutes of a cold machine are the hardest to predict.
Warm up, then let compensation handle the slow drift over the rest of the day.
What tolerance can GreatLight hold on a controlled machine?
We hold ±0.005 mm (±0.0002 in) on stable processes, with surface finish from Ra 0.2–0.8 μm on fine work to Ra 1.6–3.2 μm as-machined. Every part is inspected before shipment and reports are available on request.
Tolerance depends on the feature, the material and the control loop, so send the drawing and we will confirm what the process can hold.
Send the drawing and we will confirm the control method
Upload your files for a quotation and free DFM analysis within 12 hours. Uploads are secure and confidential, and an NDA is available on request.
12-hour quoteFree DFM analysis100% inspectionNo minimum order quantity