Servo tuning is the process of setting the drive’s gains so each axis follows its commanded position tightly without buzzing, overshooting or overheating. On a CNC router or nesting machine in a cabinet or joinery shop, the order of work matters more than the gain values: rule out mechanical and feedback faults, tune on the loaded machine, test under production conditions, and record what you changed. If a symptom survives that routine, it is a job for the drive or machine supplier, not for more gain. Anderson Group Australia supplies CNC machinery, servicing and parts to Australian kitchen, cabinet, joinery and furniture manufacturers, so this guide is written for the people who run those machines.
The exact parameters, screens and limits differ by drive brand and by machine configuration. Treat this guide as general guidance on method. Your machine’s manual and the drive manufacturer’s documentation decide the actual values.
TL;DR
- Servo tuning sets the drive’s loop gains so the axis tracks the programmed path. Higher gain gives a stiffer, tighter axis but raises the risk of vibration at rest.
- Rule out mechanical wear, loose couplings, dry guides and noisy feedback first. No gain setting fixes those.
- Tune on the installed machine, loaded as it will run in production, then confirm with real cutting at normal feedrates.
- Follow the drive manual’s safety steps: emergency stop within reach, no-load checks before with-load checks, and a test after every parameter change.
- If an axis still hunts, lags or trips after a careful pass, stop adjusting and contact your machine supplier or the drive manufacturer.
Table of Contents
- What servo tuning actually changes
- Symptoms that point to the servo loop
- Check these before you touch a gain
- How to adjust gains safely
- Proving the result in the real job
- Gains differ by machine type
- When to stop adjusting
- Where Anderson fits
- FAQ
- Sources
What servo tuning actually changes
Each axis on a CNC machine is a closed loop. The controller sends a target position, the encoder reports where the axis really is, and the drive works to close the difference. Kollmorgen’s tuning guide describes tuning as setting the drive coefficients needed for the drive to control the motor optimally for your application, with velocity-loop and position-loop tuning treated as separate jobs.
Three ideas cover most of what you will meet on a drive screen.
Proportional gain (often just “gain”). The correction grows with the position error. PMC’s servo tuning tutorial gives a plain example: with a gain of 1.0 V per count and an error of 5 counts, the command is 5.0 V. Raise it and the axis becomes stiffer and follows the path more closely. Raise it too far and it becomes jittery.
Derivative gain (damping). This reacts to how fast the error is changing and calms overshoot and oscillation. In the same PMC tutorial, adding derivative gain to its example system cut settling time by 25 milliseconds and reduced overshoot significantly.
Integral gain. This slowly trims any steady following error to zero. Automation Technologies’ manual summarises the trade-offs: more proportional action responds faster but is less stable, more derivative improves stability but slows response, and integral removes following error.

If your drive offers “servo gain” adjustment, that is the first of these, and it is the answer to the common question of what gain adjustment does: it sets how stiff the axis feels to the controller. Some drives also expose bandwidth or stiffness settings, an error limit that trips a following-error alarm, and a dead-band compensation. Flashcut’s servo drive manual notes that higher gain tracks the toolpath tighter but makes the motor more susceptible to high-frequency vibration at rest. That single sentence is why you cannot simply turn gain up until the cut looks sharp.
Symptoms that point to the servo loop
Not every axis problem is a tuning problem, and not every tuning problem looks the same. Control engineers separate them, because they have different causes:
| Symptom | Common cause to investigate |
|---|---|
| High-pitched whine or buzz at standstill | Gain too high, or noisy feedback |
| Slow, low-frequency hunting around the stop position | Excess integral action, or backlash |
| Overshoot at the end of a move | Position gain too high for the velocity loop |
| Following error that grows with feedrate | Gains too low, or torque limit reached |
| Vibration at one particular speed | Mechanical resonance |
| Vibration only when the axis reverses | Backlash or mechanical play |
| Random jitter or sudden following-error faults | Encoder noise, dropouts or grounding |
| Fine with a cold machine, oscillating when warm | Temperature-dependent friction or resonance |
These pairings come from Engineer Underground’s servo troubleshooting table. Use it as a starting list of suspects, not a diagnosis.
One trap is worth knowing. PMC’s tutorial shows that an over-damped loop can sound like too much proportional gain. With identical gain settings, shortening the derivative sampling period from 1 ms to 0.5 ms produced significant oscillation and a grinding noise, because the controller was overreacting to excessive derivative gain. Changing the wrong gain in response would have made things worse.
On a nesting machine, the visible results are usually at the part: tight corners that round off, a slight ripple on a long routed edge, or a witness mark where a drilling cycle stops. A poor edge finish can also come from the tool, the vacuum hold-down or the spindle, so the servo is one suspect among several. Our guide to CNC spindle options covers the spindle side.
Check these before you touch a gain
Most of the time spent on “tuning” is really time spent finding a fault that tuning cannot fix. Work through this list first.
- Mechanical condition. Look for a loose coupling, loose motor mounting, damaged bearing, slack belt, dry linear guide or badly adjusted ball screw. These can look like a control problem, and OtomasyonAVM’s control guide lists them among the checks to make before adjusting a loop.
- Drive and motor setup. Confirm the motor and drive combination, feedback type, motor direction, electronic gearing or command scaling, travel limits and, on a vertical axis, the holding brake.
- Feedback health. Encoder noise, a dropout or a grounding fault can mimic poor tuning, producing random vibration and sudden following errors. Rule the encoder out first. Our notes on absolute encoders and on linear scales in dusty panel shops explain the feedback devices involved.
- Routine maintenance. Lubrication, clean guides and tight fasteners are part of a CNC preventive maintenance routine, and they remove many apparent servo problems before anyone opens a parameter list.
The principle is simple: if a mechanical problem is present, software gain only hides it, and it will come back as wear.
How to adjust gains safely
The steps below are general guidance drawn from drive manufacturers’ manuals. Your drive’s own manual overrides them. Tuning should be done by a person trained on that drive.
1. Prepare the machine and the people
Drive manuals are consistent about safety. Delta’s ASDA-B2 manual requires that the emergency stop can be activated at any time before operation, and that couplings and belts are separated for the first trial run. It places the no-load inspection before the with-load inspection. AutomationDirect’s SureServo2 manual requires AC power to be disconnected before maintenance, work by a qualified technician, proper grounding of drive and motor, and verification that the emergency stop will stop the servo before it runs with the mechanical system connected, as set out in its user manual.
For electrical work on a drive, Mitsubishi’s MDS-EJ/EJH manual tells the user to wait at least 15 minutes after power-off and confirm the CHARGE lamp is out before wiring. Servo drives store energy, so this is not optional. Electrical work on a machine in Australia must be done by a licensed electrician.

2. Note the starting values
Write down every parameter before changing anything. If a change makes things worse, you need a clean way back. Mitsubishi’s manual also warns against making large parameter changes, because operation can become unstable, and says to test operation after each change before returning to production.
3. Use auto-tuning as a starting point
Most modern drives offer inertia estimation and auto-tuning. The Delta manual’s tuning chapter covers inertia estimation, auto and semi-auto tuning, a limit on the inertia ratio, mechanical resonance suppression and manual tuning. The SureServo2 manual likewise describes auto-tuning from the keypad or software and a stiffness (frequency-response bandwidth) setting.
Auto-tuning gives a sensible first pass, but it is not the end. The Flashcut manual’s author notes that the built-in optimiser finds only a local optimum that may not suit the machine, and suggests watching the machine run, noting parameter sets that look smooth with low position error, and then choosing between the optimiser’s values and your own best observations.
4. Tune loaded, as it will run
A tuning that is perfect on a bench can misbehave in production. The CNC Cookbook’s advice is to tune the servo installed on the machine, set up as close to production as possible, with the gibs adjusted and any fixtures fitted, because even a change in workpiece weight can shift the best settings. On a panel machine this means a realistic sheet on the table, vacuum on, and the tool or drilling head the axis will actually carry.
5. Change one thing at a time
Move one gain, run the same test move, and compare. Increase stiffness in small steps until you hear whine or see overshoot, then back off. Add damping if the end of the move rings. Do not raise gain to chase a following error that appears only under acceleration. OtomasyonAVM points out that when following error rises sharply only during acceleration, the axis may simply need more torque than the motor can deliver, and loop gain cannot create motor torque.
6. Listen for resonance
If the drive’s resonance tool finds a low frequency, suspect the mechanics, such as a bracket, mount or coupling, before you mask it by lowering position gain. Notch filters and resonance suppression are legitimate tools, but they are for the last few percent, not for a loose mount.
Proving the result in the real job
A tuned axis is one that cuts well in production. After the gain work, confirm it with the following.
- Real payload and real moves. Run the axis at normal acceleration over its normal travel distance with repeated direction changes, as in the production program.
- Full travel, production feedrate. An axis that is stable on the bench but unstable in production was usually tuned unloaded or at the wrong speed. Re-check at working feedrate over the whole stroke.
- Temperature. Run long enough for the machine to warm up. An axis that is quiet cold and restless warm has a friction or resonance issue that a five-minute test will not show.
- The parts themselves. Cut a test nest or a drilling pattern and measure the parts against your own tolerance. Our CNC tolerances guide explains how tolerances relate to ISO 2768, and the CNC reliability guide describes a ballbar test as a way of checking machine geometry and servo behaviour together.
If the motor or drive runs hot after tuning, the gains are probably too aggressive. Reduce them and check the drive’s current readout rather than judging by hand.
Keep a record: the parameters, the date, the load condition and the test result. It makes the next service visit faster, and it shows whether a drift is wear or a change someone made.
Gains differ by machine type
A tuning approach that suits one machine does not carry over to another. Keep these separate:
- Nesting and routing machines move a gantry carrying a spindle over a whole sheet. Long axes and a moving mass make gantry squareness and mechanical stiffness as important as gain.
- Edgebanders are driven by feed and pressing systems, so their motion problems look different from router axes. Anderson lists the AFS range as edgebanders, including the AFS 568 PRO Servo Edgebander. Check the model page and manual for what each model’s drives allow you to adjust.
- Machining centres for metal carry heavier cutting loads, and feature such as automatic pallet changers or fifth axes change what the axes carry. Do not assume a feature from a family name or axis count. Confirm the exact model and configuration.
That last point matters when you ask for support: give the model, configuration and drive type, because the answer depends on them.
When to stop adjusting
Stop and call for help in any of these cases:
- The axis still hunts, lags or trips after a careful, loaded pass.
- The drive reports a resonance at a low frequency, which is a pointer to the mechanics.
- Following-error faults appear randomly, which can be a feedback or grounding issue.
- You would have to push a gain to a value that makes the axis noisy to get acceptable following error.
- A drive or motor is overheating.
- The fix needs the inside of an electrical cabinet.
At that point, more gain is not progress. Contact your machine supplier, or the drive manufacturer, with your recorded parameters, the symptom, the load condition and the machine model. For machines supplied by Anderson, ask us to confirm the agreed service scope for your machine, since the right path depends on the model and your arrangement.
Where Anderson fits
Our work is supplying CNC machinery, servicing and parts to Australian manufacturers, with kitchen, cabinet, joinery and furniture makers as our main customers. If you are planning a new nesting, drilling or edgebanding line, our wood machinery range is the place to start, and the machines page lists the machining centre categories we supply for metal and other materials. When you discuss your application, tell us what you cut and how many sheets or parts a shift you run, and we will help you choose machinery for your own production.
For an existing machine with a servo symptom, tell us the model, the symptom and what you have already checked, and we will advise on the next step for your configuration. We supply machinery, service and parts, and we do not offer subcontract cutting or machining.
FAQ
What does servo gain adjustment do on a CNC axis?
It sets how stiffly the drive pushes the axis toward its commanded position. Higher gain tracks the path more tightly but increases the chance of vibration at rest. Lower gain is calmer but lets the axis lag. Damping and integral settings balance it.
Can I fix a noisy axis by lowering the gain?
Sometimes, but first find out why it is noisy. Loose couplings, worn bearings, dry guides and encoder faults can all cause noise, and lowering gain only hides them. Check the mechanics and feedback first, then adjust gains.
Is auto-tuning enough?
It is a good starting point, not a final answer. Drive manuals describe auto-tuning alongside manual adjustment and resonance suppression, and a result should be confirmed with the real load, normal acceleration and a test cut.
Who should tune the servos on my machine?
A person trained on that drive and that machine. Drive manuals require qualified technicians for maintenance and electrical work, and a licensed electrician must carry out electrical work in Australia. Ask your machine supplier to confirm the agreed service scope for your model.
Sources
- Kollmorgen AKD2G tuning guide
- PMC servo tuning tutorial
- Automation Technologies PID tuning manual
- Flashcut servo drive manual
- Engineer Underground servo systems and tuning
- OtomasyonAVM PID control with servo motors
- Delta ASDA-B2 user manual
- AutomationDirect SureServo2 user manual
- Mitsubishi Electric MDS-EJ/EJH instruction manual
- CNC Cookbook servo motor tuning


