GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

CNC control basics

What Are the Speed Controls for Precision Machining by Digital Computer Control

Speed in a CNC is not one number. It is a stack of loops: spindle rpm, feed rate, rapid and acceleration limits, servo position gains, and the interpolator clock that ties them together. This page explains what each loop does, where it stops helping, and how to tell when a speed limit, not the tool, is holding your tolerance back.

±0.005 mm16 five-axis centersRa 0.2–0.8 μm12-hour quote
Machining by digital computer control on a 5-axis CNC for custom auto spare parts
The control stack

The five speed loops inside machining by digital computer control

A CNC does not run at one speed. It runs at five, and each one is a control loop with its own sensor, its own bandwidth, and its own failure mode. The spindle loop holds rpm under cutting load. The feed drive loop holds axis velocity along the programmed path. The interpolator decides how those axes share motion. Acceleration limits cap how fast velocity can change. The servo position loop closes the gap between commanded and actual location.

These loops are nested. The position loop sits inside the velocity loop, which sits inside the interpolator. When you raise feed rate, you are asking every outer loop to move faster, and the inner loops have to keep up. If the position loop cannot track the command, the tool drifts off the path. The part still gets cut, but the dimension drifts with it.

This is why two machines with the same spindle horsepower can hold very different tolerances. The limit is rarely raw power. It is how quickly the control can measure error and correct it, and how much mechanical stiffness sits between the motor and the cutting edge.

On our 16 simultaneous 5-axis centers, we treat the position loop as the tolerance loop and the spindle loop as the surface finish loop. Feed rate is the compromise between them. Push it too far and you trade one for the other.

  • 1
    Position loopHolds the tool on the programmed path. Governs dimensional accuracy.
  • 2
    Velocity loopHolds axis speed under changing cutting load. Governs surface consistency.
  • 3
    Spindle loopHolds rpm. Governs chip load and tool life.
  • 4
    InterpolatorDivides motion between axes. Governs path shape on curves and corners.
Spindle and feed

How spindle speed and feed rate interact in precision cutting

Spindle speed sets the surface speed at the cutting edge. Feed rate sets the chip thickness. Together they set the chip load, which is the number that actually decides whether the cut is stable. For aluminum 6061 with a 10 mm carbide end mill, a surface speed of 300–500 m/min and a chip load of 0.05–0.10 mm per tooth is a normal starting window. Step outside it and you get chatter, built-up edge, or a burned finish.

The control does not choose these numbers. It only holds them. If the spindle droops 200 rpm under a heavy radial cut, the chip load rises and the tool deflects. A rigid setup with a well-tuned spindle loop keeps rpm within a few revolutions per minute, so the chip load stays where the programmer put it.

Feed rate is where most shops lose tolerance on contoured parts. The control reads the programmed feed in mm/min, but the actual velocity at the tool tip changes as the path curves. On a tight internal corner, the machine has to slow down or the servo will overshoot. Look-ahead and feed override handle this automatically on modern controls, but the acceleration limit is what caps how fast the corner can be taken.

For finishes down to Ra 0.2–0.8 μm, we usually reduce feed and raise spindle speed rather than the reverse. Lower feed thins the chip and reduces cutting force. Higher spindle speed keeps the surface speed up so the tool still cuts instead of rubbing.

  • 1
    Chip load firstSet feed and rpm so chip load stays in the tool maker's window.
  • 2
    Watch rpm droopA 1–2% rpm drop under load shifts chip load noticeably.
  • 3
    Corners need slackAcceleration limits force slowdown on tight radii. Plan for it.
Rapid and acceleration

Rapid traverse and acceleration limits: where speed stops helping

Rapid traverse moves the tool between cuts. It does not cut metal, so it does not directly affect tolerance. It affects cycle time. On a part with many short features, rapid speed and acceleration matter more than spindle speed for total cycle time.

The trap is that rapid and acceleration settings are often tuned for speed, not for precision. A machine set up for fast positioning can overshoot slightly on arrival, and the control then has to settle before the next cut starts. If the settling window is short, the first few millimeters of the next cut can carry a small error. On tight-tolerance features, the fix is to reduce acceleration on the approach, not to slow the whole program.

Acceleration also drives vibration. Every time an axis changes velocity, it excites the machine structure. High acceleration on a light casting rings through the tool and shows up as chatter marks. Lower acceleration costs cycle time but buys surface finish. There is no setting that gives both at once.

A practical rule: on finishing passes, cap acceleration well below the machine maximum. On roughing, let it run. The roughing pass does not care about a few micrometers of overshoot; the finishing pass does.

  • 1
    Rapid speedAffects cycle time only, not cut quality.
  • 2
    AccelerationAffects settling, vibration, and corner accuracy.
  • 3
    Finishing passesLower acceleration to reduce chatter and overshoot.
Servo tuning

Servo position gains and what they mean for dimensional accuracy

The servo position loop compares the commanded position to the encoder reading and corrects the difference. The gain is how aggressively it corrects. Higher gain means tighter tracking. Too high, and the axis becomes unstable and starts to hum or oscillate. Too low, and the axis lags behind the command, which rounds off corners and loses depth control.

Gain is not a single number. It is set per axis, and the axes have to be matched. If the X axis tracks more tightly than the Y axis, a circular interpolation becomes an ellipse. The error is small, often a few micrometers, but it is systematic. It shows up on every circular feature on the part.

This is why a machine that holds ±0.005 mm on a straight cut can still be out of round on a bore. The straight cut only exercises one axis at a time. A bore exercises two axes together, and the mismatch between their gains shows up as roundness error.

We check roundness and position on a sample before running a production lot. If a bore is consistently oval in the same direction, the fix is usually gain matching, not a new tool. If it is random, look at the tool, the holder, or the workpiece clamping first.

  • 1
    High gainTighter tracking, but risks oscillation and instability.
  • 2
    Low gainStable, but corners round off and depth drifts.
  • 3
    Matched gainsRequired for round bores and true arcs.
Interpolation

Interpolation speed and path accuracy on complex geometry

Interpolation is how the control turns a programmed path into coordinated axis motion. For a straight line it is simple. For a curve, the control breaks the path into small segments and moves each axis through them. The segment length and the rate at which the control processes them set the path accuracy.

Older controls used a fixed segment length and a fixed block processing rate. If the segments were too long, the path looked faceted. If the control could not process blocks fast enough, the feed rate had to drop or the path drifted. Modern controls use look-ahead: they read hundreds of blocks ahead and plan velocity through the curve so the machine does not have to stop at every segment.

Look-ahead is what allows high feed rates on complex 3D surfaces without chatter. It is also what makes the difference between a control that can run a smooth blend at 3,000 mm/min and one that stutters at 800 mm/min on the same geometry.

For most production parts, the practical question is not the maximum interpolation rate. It is whether the control can hold the programmed feed through the tightest feature on the part without exceeding the acceleration limit. If it cannot, the control slows down automatically, and the cycle time estimate has to account for it.

  • 1
    Segment lengthShorter segments give smoother curves but more blocks to process.
  • 2
    Look-aheadPlans velocity across many blocks to avoid stops at corners.
  • 3
    Block processing rateCaps how fast complex geometry can be cut.
Speed loop reference

Speed control loops: what they govern and when they limit the cut

Use this to decide which loop to adjust when a cut is not holding tolerance or finish.

Control loopWhat it governsTypical settingWhen it becomes the limit
Spindle rpmSurface speed and chip load300–500 m/min for aluminumHeavy radial cuts, long tools
Feed rateChip thickness and cycle time0.05–0.10 mm/tooth, 10 mm cutterTight internal corners
Rapid traverseNon-cutting move timeMachine maximumNever affects cut quality
AccelerationVelocity change and settlingReduced on finishing passesChatter and corner overshoot
Servo position gainPath tracking accuracyMatched across axesRound bores and true arcs
Interpolation rateCurve smoothness at feedLook-ahead enabledComplex 3D surfaces

Which speed control to adjust first

If the dimension is off, check servo gain and acceleration before touching spindle speed. If the finish is off, check spindle speed and feed rate first. If the cycle time is off but the part is good, the limit is rapid speed, not cutting speed.

FAQs

Common questions about CNC speed control

Does a higher spindle speed always give a better finish?

No. Higher spindle speed raises surface speed, which helps up to a point. Past the tool maker's recommended surface speed, the edge wears faster and the finish degrades.

The useful move is to raise spindle speed and lower feed together, so chip load stays in range. Raising spindle speed alone thins the chip and can cause rubbing instead of cutting.

Why does my machine hold tolerance on straight cuts but not on bores?

A straight cut exercises one axis at a time. A bore exercises two axes together, so any mismatch in servo gain or acceleration between the axes shows up as roundness error.

Check gain matching and acceleration symmetry before changing the tool or the speeds. The error is usually systematic, not random.

Can I run finishing passes at the same acceleration as roughing?

You can, but you will usually see more chatter and corner overshoot. Every velocity change excites the machine structure, and the finishing pass is where that shows.

Capping acceleration on finishing passes costs cycle time but gives a more consistent surface. On tight-tolerance features it is usually worth it.

What is look-ahead and why does it matter for speed?

Look-ahead lets the control read many blocks ahead and plan velocity through a curve instead of stopping at each segment. Without it, complex geometry forces the feed rate down.

With look-ahead, the machine can hold a high feed rate through a blend as long as acceleration limits allow. The acceleration limit, not the feed rate setting, is usually what caps the real speed.

How do I know if the speed limit or the tool is causing the problem?

If the error repeats in the same direction on the same feature, suspect the control loop. If it is random or varies part to part, suspect the tool, holder, or clamping.

A quick check is to slow the feed rate on the problem feature. If the error shrinks, the control was tracking poorly. If it stays the same, the tool or setup is the cause.

Does rapid speed affect part quality at all?

Not directly. Rapid moves happen between cuts, so they do not touch the workpiece. They affect cycle time only.

The indirect effect is settling. If a machine arrives at the next cut position with residual vibration and starts cutting before it settles, the first few millimeters can carry error. That is an acceleration and settling issue, not a rapid speed issue.

Send us a part with a tolerance you are struggling to hold

We will review the geometry, the material, and the tolerance, and tell you which control loop is likely to be the limit on our machines before you commit to a run.

12-hour quote±0.005 mm100% inspectionNo minimum order

Follow our work

More from GreatLight

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC