Why Is an Interpolator in a CNC Machine Essential for Accurate Motion?
The interpolator in a CNC machine converts a stream of G-code blocks into coordinated axis motion. When it is misconfigured or starved of data, you get chatter, overshoot, and out-of-tolerance contours. This guide is for engineers and buyers who need to tell a controller problem from a mechanical one, and to know what to check first.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Interpolation faults: symptom, cause, action
| Symptom | Likely cause | What to do |
|---|---|---|
| Facets or flat spots on a curved wall | Chord error / coarse tolerance setting | Tighten tolerance, re-post with finer arcs |
| Chatter on inside corners | Acceleration limit too high for tool mass | Lower accel, add corner rounding |
| Axis overshoot at the end of a move | Servo gain out of tune with the interpolator | Re-tune velocity and position loops |
| Slow feed on short 3D segments | Look-ahead buffer starved by block rate | Increase look-ahead depth, simplify CAM output |
| Visible witness marks between passes | Mismatch between programmed and actual feed | Check feed override and drive calibration |
| Alarm mid-contour | Following error exceeds limit during dynamic moves | Raise error limit slightly, then re-tune |
Fix the data before you touch the drive
Most contour faults we see start in the toolpath or the tolerance setting, not in the servo. Check CAM output and chord error first, then re-tune only if the test cut still fails.
What the interpolator in a CNC machine actually does
A CNC program never tells a machine to move a single axis to a single point. It hands the controller a sequence of blocks, each describing an endpoint, a feed rate, and a shape such as G01, G02, or G03. The interpolator is the part of the control that takes those endpoints and decides, thousands of times per second, where every axis should be at each moment along the path. Without it, you would get point-to-point motion and stepped contours.
The interpolator works in two stages. First it plans the geometry, breaking a commanded arc or spline into small segments and checking the chord error against the tolerance in the control. Then it plans the velocity, blending segment speeds so the machine does not stop at every block boundary. Both stages run ahead of the actual motion, which is why look-ahead depth matters on complex 3D surfaces.
The output is a position command stream to the servo drives. Each drive closes its own position loop, but the shape of the path is decided upstream. This is the key point for troubleshooting: a bad contour is not always a bad servo. It can be a geometry decision made by the interpolator before any axis moved.
- 1Geometry stageConverts arcs and splines into segments within a tolerance band.
- 2Velocity stageBlends feed between segments so axes never fully stop.
- 3Look-aheadReads blocks ahead to plan deceleration before corners.
- 4Servo outputSends synchronized position commands to each drive.
Chord error and tolerance: the trade you cannot avoid
Every curved path is approximated by straight segments. The distance between the true arc and the straight chord is the chord error. If you allow 0.01 mm chord error, the interpolator can use longer segments and run faster. If you demand 0.002 mm, segments get shorter, block rate goes up, and the control may run out of look-ahead. That is the trade.
On a part held to ±0.005 mm, a chord error around 0.002–0.003 mm is usually safe for finishing passes. Roughing can sit at 0.01–0.02 mm with no harm to the final size. The mistake is leaving a finishing tolerance in the control while roughing, or the reverse: finishing with a coarse tolerance and blaming the machine for facets.
Surface finish follows the same logic. For Ra 0.8–1.6 μm you usually need tighter chord error and a stable feed, not just a finer tool. If the control is fighting to keep up with block rate, feed drops in the corners and you get visible marks even though the toolpath looks clean on screen.
- 1Roughing0.01–0.02 mm chord error is typically fine.
- 2Finishing at ±0.005 mmTarget 0.002–0.003 mm chord error.
- 3Fine finish Ra 0.2–0.8 μmTighten further and slow the feed slightly.
How to tell an interpolator problem from a mechanical one
Start with a simple test. Run the same program in dry run, first with the part removed, and watch the axis load and following error on the control. If the error spikes at the same block every time, the interpolator or the program is the suspect. If the error spikes at the same physical position, look at the machine: backlash, loose preload, or a sticky way.
Second, compare a short arc cut at two different feed rates. A mechanical fault usually gets worse as feed rises. An interpolation or look-ahead fault often appears as a sudden feed drop, not a gradual degradation. Plot commanded feed against actual feed if the control supports it.
Third, check the servo tuning after any change to acceleration limits. Interpolators and drives share parameters. Raising acceleration to improve cycle time without re-tuning the position loop will show up as overshoot at the end of fast moves. That looks like a contour error but it starts in the drive.
- 1Repeatable at one blockProgram or interpolator setting.
- 2Repeatable at one positionMechanical or drive issue.
- 3Worse at high feedUsually mechanical, sometimes look-ahead.
Why five-axis work stresses the interpolator most
In three-axis milling, the interpolator only coordinates X, Y, and Z. Add two rotary axes and the problem changes shape. A small move of the C axis near the part center can swing the tool tip by a large distance. The interpolator must synchronize linear and rotary motion so the tool tip follows the intended path, not the machine axes.
This is why five-axis surface finish often depends more on the control than on the spindle. If the rotary axes are not blended with the linear axes at the same look-ahead depth, you get witness marks where the rotary axis reverses. On a Ø400 mm rotary table, even a small reversal can leave a visible step.
For parts with compound angles and undercuts, the interpolator also manages tool orientation. The post processor defines the intended contact angle; the control has to hold it while the path curves. When that synchronization drifts, the tool rubs instead of cutting, and you see burnishing or rapid tool wear on one edge.
- 1Rotary reversalCommon source of witness marks on five-axis parts.
- 2Tool tip vs axis motionThe control must compensate for rotary offset.
- 3Orientation driftShows up as rubbing, not cutting.
What we check before blaming the control
In our Dongguan and Singapore plants, a contour problem goes through the same checklist before anyone touches the interpolator parameters. We verify the CAM output first: arc tolerance, point spacing, and whether the post processor is writing G02 and G03 or just tiny G01 moves. A program made of thousands of 0.05 mm line segments will starve any look-ahead buffer.
Next we check the actual feed against the commanded feed, block by block, on a dry run. If the actual feed collapses on short segments, the problem is data rate, not servo gain. We then confirm the chord error setting against the drawing tolerance. Many facets disappear when the finishing tolerance is tightened to 0.002 mm and the program is re-posted with true arcs.
Only after that do we look at drive tuning, and we change one parameter at a time. On parts held to ±0.005 mm, a small acceleration change can move the contour by more than the tolerance if the position loop is not re-tuned. We inspect 100% of parts before shipment, so we would rather spend twenty minutes on the checklist than scrap a batch.
- 1CAM output firstCheck arc tolerance and segment length.
- 2Feed comparisonCommanded vs actual, block by block.
- 3One parameter at a timeNever change accel and gain together.
Step by step: isolate an interpolation fault
- 1Run the program dry, no partWatch following error and axis load. Note the block number where the error peaks.
- 2Repeat at 50% and 100% feedIf the fault scales with feed, suspect mechanics. If it jumps at one block, suspect the program.
- 3Check the chord error settingFor finishing at ±0.005 mm, set 0.002–0.003 mm. For roughing, 0.01–0.02 mm is fine.
- 4Inspect the CAM outputLook for arc tolerance and segment length. Replace dense G01 chains with G02 and G03 where possible.
- 5Check look-ahead depthIf actual feed collapses on short 3D segments, increase look-ahead blocks before touching servo gain.
- 6Re-tune the servo loopsOnly after the above. Adjust velocity and position gain in small steps and re-cut a test arc.
- 7Verify with a test cutCut a 50 mm arc and a 90° corner in the same material, then measure on the CMM.
Frequently asked questions
Does every CNC machine have an interpolator?
Any control that can cut a straight line or an arc has interpolation logic. On simple point-to-point machines it may only handle rapid moves. On milling and turning centers it handles linear, circular, and often spline interpolation.
The difference between machines is not whether interpolation exists, but how deep the look-ahead is and how well the linear and rotary axes are blended.
Can a post processor cause interpolation problems?
Yes, often. A post that outputs thousands of short line segments instead of true arcs will overload the look-ahead buffer and force feed reductions.
Check your arc tolerance in CAM. A value of 0.01 mm or coarser is common for roughing but too coarse for finishing at ±0.005 mm.
Why does the feed rate drop in corners?
The interpolator slows the axes to stay within the acceleration limit and the chord tolerance. That is normal. It becomes a problem when the drop is severe enough to leave witness marks.
Corner rounding, a slightly higher acceleration limit, or a less dense toolpath usually fixes it without touching the servo gain.
Is a finer chord error always better?
No. Tighter tolerance means shorter segments and a higher block rate. If the control cannot keep up, actual feed falls and finish gets worse, not better.
Match the chord error to the drawing tolerance and the finishing requirement. That is usually 0.002–0.003 mm for parts held to ±0.005 mm.
How do you check interpolation accuracy on a finished part?
Cut a test arc and a compound-angle feature, then measure on a CMM. Look for facet height and step position, not just overall size.
We inspect 100% of parts before shipment and can supply reports on request, so the test cut data stays with the job.
Can interpolation issues be fixed without changing the program?
Sometimes. Adjusting the chord error tolerance, look-ahead depth, or acceleration limit in the control can help. But if the CAM output is a dense chain of line segments, control changes will only go so far.
Fix the program first, then tune the control.
Send us the part that keeps failing the contour check
Upload your 3D model and tolerance callouts. We return a quotation and free DFM analysis within 12 hours, with production ready to start in 24 hours.
12-hour quote±0.005 mm tolerance100% inspectionNo minimum order quantity