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

Get Instant Quote

CNC Knowledge

Parameters of the Perceiving Machine at High Speed

This page explains how the sensing loop of a fast machine tool works, which parameters set its bandwidth, and where the loop runs out of time. It is written for engineers and buyers who need to judge whether a machine can hold tolerance at speed, not just at rest.

±0.005 mm tolerance127 CNC machines5-axis sensingISO 9001:2015
Parameters of the perceiving machine at high speed on a vertical machining center
Signal chain

What the perceiving machine at high speed actually senses

A perceiving machine at high speed is not one sensor. It is a chain: glass scale or encoder, a read head, an interpolator, the drive current loop, and the spindle or table that finally moves. Each link adds delay. At 200 mm/s of feed, a 1 ms delay already means 0.2 mm of position error before the tool touches the part. That number is why the chain matters more than any single spec on a brochure.

The three quantities that carry most of the information are position, force and vibration. Position tells the control where the axis is. Force, measured on the spindle or the tool holder, tells it how hard the cut is pushing. Vibration, read from accelerometers on the headstock, tells it whether the cut is stable. Position is fast and cheap. Force and vibration are slower but explain why a cut fails.

Speed changes the weighting. Below 100 mm/s you can ignore most transport delays and treat the loop as static. Above roughly 300 mm/s, every millisecond of latency becomes a positioning error, and the control has less time to correct. The machine is still perceiving, but it is perceiving the past.

  • 1
    Position loopScale to control, typically 1–4 kHz update on modern drives.
  • 2
    Force loopSpindle or table dynamometer, bandwidth often below 1 kHz.
  • 3
    Vibration loopAccelerometers on the head, useful for chatter detection.
Bandwidth

Sampling rate, resolution and bandwidth of the sensing loop

Sampling rate sets the ceiling. A loop that samples at 1 kHz sees the world every 1 ms and cannot correct anything faster than about 100 Hz in a stable way. The usable control bandwidth is usually one tenth to one fifth of the sampling frequency, so a 4 kHz position loop gives you roughly 400–800 Hz of real correction. Push the gain past that and the axis starts to ring instead of following.

Resolution is separate from accuracy. A 0.1 μm scale resolution does not mean the machine holds 0.1 μm; thermal drift, ball screw pitch error and servo following error sit on top of it. For most production parts, a scale resolved to 0.5 μm with a following error under 5 μm is more useful than a fine scale on a loose axis.

Bandwidth also depends on mass. A small 5-axis trunnion can be tuned to 80–120 Hz of position bandwidth. A 4,000 mm gantry cannot. Its first structural mode may sit near 20 Hz, so the loop must stay well below that or the machine will excite its own frame.

  • 1
    Rule of thumbControl bandwidth ≈ sampling rate ÷ 5 to ÷ 10.
  • 2
    Small rotary axes80–120 Hz position bandwidth is realistic.
  • 3
    Large gantriesStructural modes near 20 Hz cap the loop.
  • 4
    Following errorKeep under 5 μm on axes used for finishing.
Latency

Latency and filter delay: where the loop loses time

Every filter in the chain costs phase. A low-pass filter set at 500 Hz to kill noise will also delay the signal by roughly 1 ms. Add encoder interpolation, fieldbus transfer and drive processing, and total latency on a typical machine lands between 1 ms and 5 ms. At 400 mm/s, 5 ms is 2 mm of unrecovered position.

This is why feed-forward matters more at speed. Instead of waiting for the error to appear and then correcting it, the control uses the programmed path to predict the next command. Velocity feed-forward removes most following error on a constant feed. Acceleration feed-forward removes the lag at corners. Both rely on knowing the machine mass and stiffness, so they must be re-tuned if you change fixtures or add a heavy vise.

Look-ahead is the other lever. A control that reads 200 blocks ahead can slow down before a tight corner rather than overshoot it. With 20 blocks of look-ahead, high-speed finishing on a 2 mm corner radius will show visible gouging. With 200 blocks, the corner is clean. Block count is a real parameter, not a marketing number.

  • 1
    Typical latency1–5 ms from sensor to motion, depending on drive and bus.
  • 2
    Filter trade-offLower cutoff means less noise and more delay.
  • 3
    Feed-forwardCuts following error without raising gain.
  • 4
    Look-aheadNeeds 200+ blocks for tight 3D corners.
Limits

Stability limits when speed rises

Raise the gain and the axis follows better, until it does not. The limit is set by the lowest mechanical resonance in the loop. On a mill with a long tool, that resonance can drop below 100 Hz, and the control must back off to stay stable. The same machine with a stubby tool may allow twice the gain and half the following error.

Thermal behavior is the slow limit. A ball screw grows about 12 μm per meter per degree Celsius. Run a machine hard for two hours and the screw can be 3 °C warmer than the scale, which is 36 μm of drift per meter. No bandwidth fixes that. It is handled with cooling, pre-tension, or by keeping the scale on the same thermal path as the screw.

The practical boundary is this: speed and accuracy trade against each other through the loop, not through the spindle. If the part needs ±0.005 mm, the limiting factor is usually the sensing and servo loop at the required feed, not the cutter. Test at the real feed before committing a process.

  • 1
    Chatter edgeLowest structural mode caps usable gain.
  • 2
    Tool overhangLong tools push resonance down and force lower gain.
  • 3
    Thermal driftAbout 12 μm per meter per °C on steel screws.
Tuning

What to check and how to tune for a real job

Start with a circular test at the feed you actually run. A ballbar or a simple circular cut shows following error, reversal spikes and servo mismatch in one picture. If the circle looks round at 50 mm/s and egg-shaped at 300 mm/s, the problem is the loop, not the geometry.

Then check the scale mounting. A scale that is not parallel to the axis within 0.1 mm over its length will produce a periodic error synchronized with the screw pitch. It looks like a mechanical fault but it is a sensing fault. Clean the read head, verify the gap, and re-run the test.

Finally, tune at temperature. Do the gain and feed-forward work after 30 minutes of warm-up, not cold? A machine tuned cold will drift as it heats, and the operator will blame the program. On parts held to ±0.005 mm, we warm up spindles and axes before the first cut and re-check the first article.

  • 1
    Circular testRun at production feed, not at a safe slow speed.
  • 2
    Scale alignmentKeep parallelism within 0.1 mm over the full travel.
  • 3
    Warm-upTune and inspect after the machine reaches steady temperature.
Parameter guide

Sensing and servo parameters compared

Typical values for a 3-axis mill and a 5-axis trunnion. Use as a starting point, then verify on the machine.

ParameterSlow finishingHigh-speed finishingWhat it controls
Position loop rate1–2 kHz4–8 kHzHow often the axis is corrected
Control bandwidth20–40 Hz80–120 HzHow fast the axis can follow
Following errorUnder 10 μmUnder 5 μmLag behind the commanded path
Look-ahead blocks20–50200–500Corner speed planning
Scale resolution1 μm0.1–0.5 μmSmallest position step seen
Filter cutoff200–300 Hz500–1000 HzNoise versus delay
Feed-forwardOptionalRequiredError removed before it forms

When the loop, not the cutter, is the limit

If your part runs under 100 mm/s and holds ±0.02 mm, a standard 1–2 kHz position loop is enough and you should spend money on fixturing instead. If it runs above 300 mm/s and needs ±0.005 mm, the sensing loop decides the result: demand 4 kHz or better, look-ahead of 200 blocks, and a scale aligned to the screw. Buy the loop, then the spindle.

FAQs

Questions engineers ask about high-speed sensing

Does a higher sampling rate always improve accuracy?

No. Sampling rate sets the ceiling, but the usable bandwidth is one fifth to one tenth of it. If the mechanical resonance sits at 60 Hz, a 8 kHz loop still cannot run at 800 Hz of gain without ringing.

Match the loop to the structure first, then raise the rate if the structure allows it.

Why does my machine hold tolerance at low feed but not at high feed?

Because following error scales with feed. At 50 mm/s a 2 ms latency is 0.1 mm of lag, which the loop absorbs. At 400 mm/s the same latency is 0.8 mm, and the loop cannot catch up inside the block.

Check feed-forward settings and look-ahead depth before blaming the mechanics.

Can force sensing replace position feedback?

No. Force tells you the cut is heavy; it does not tell you where the axis is. Force and vibration sensing are useful for adaptive control and chatter detection, where they change feed and speed.

Position feedback stays the primary loop. The other channels inform it.

How often should the sensing chain be calibrated?

Verify scale alignment and following error after any crash, after a screw replacement, and at least once a year on production machines.

On parts held to ±0.005 mm we check the first article against the drawing and re-verify after warm-up.

Does tool overhang change the tuning?

Yes. A long tool lowers the lowest structural mode, which lowers the gain the servo can use. A 4× diameter overhang can cut the stable bandwidth in half.

Shorten overhang or reduce gain. Do not raise gain to compensate for a flexible tool.

Send the drawing, get a process answer

Upload your part and we will tell you which machine, feed and sensing setup it needs, with a quotation and DFM feedback within 12 hours.

12-hour quoteNo minimum order quantity100% inspection before shipmentNDA on request

Follow

More CNC process notes

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