Troubleshooting
Why a Z axis oscillates while holding position after a repair
Short answer
A Z axis that hums only while holding position after a disturbance usually points at the repaired drive train or the position loop, not at the gains. Record the baseline parameters, rule out coupling slop, locknut preload and misalignment, then test the documented position-loop low-pass filter option before touching P, I or D.

On this page
A Z axis that hums only while holding position after a disturbance is a limit cycle in the position loop, and the fix to try first is the documented position-loop low-pass filter option, not a gain change. On the 2007 machine in question, enabling LowPass+2X on parameter 29 stopped the oscillation while every gain stayed at its recorded baseline. Before that test, spend an hour on the mechanical suspects the ballscrew and bearing replacement left behind, because new friction and alignment changed the plant the loop was tuned against.
Why does the axis hum only after a disturbance? #
Machining loads, high spindle speed and a tool clamp bump each inject a small position error, and the loop should settle it out. When it instead settles into a steady audible hum, the axis is cycling around the command. A vibration meter on the head read 0.3 mm/s at standstill, and changing the commanded position by one micron stopped it immediately. Both facts say the loop is the active element; they do not say the loop parameters are wrong.
Is it the repair or the tuning? #
Treat the repair as the prime suspect, because the axis ran fine before it. The failure chain was real: the bearing-block locknut came loose, the bearings went off kilter, wore into the screw shaft and seized it. That seizure and the repair that followed changed at least four things the old tuning depended on: bearing preload, alignment, friction and any residual drag from the damaged components. A control loop tuned against higher friction can now overshoot a lighter, freer axis. Check the cheap mechanical items before you open a parameter screen.
What should you record before changing anything? #
Write down every servo parameter for all three axes before the first change, so any test can be reversed exactly. The recorded baseline for this machine was:
| Parameter | X axis | Y axis | Z axis |
|---|---|---|---|
| P Gain | 32 | 32 | 32 |
| I Gain | 48 | 48 | 64 |
| D Gain | 6000 | 6000 | 4000 |
| D 2 Gain | 1000 | 1000 | 1000 |
| Deadzone | 0 | 0 | 0 |
| Acc/Dec T constant | 500 | 500 | 350 |
| Torque Preload | 0 | 0 | 600 |
Do not conclude that the Z axis differences are wrong. A vertical axis carries gravity and justifies a higher I Gain and a nonzero Torque Preload, and its lower D Gain and shorter Acc/Dec T constant may simply reflect a lighter or stiffer stack. These are recorded values from one machine, not factory targets.
What mechanical checks come before any gain change? #
Work down this list from cheapest to most invasive, and confirm each with a measurement rather than a look:
- Coupling wear and slop. Indicator the coupling for backlash and runout; worn elastomer elements on an Oldham or jaw style coupling hide until the loop hunts. The symptom and the confirming checks are covered in article:oldham-coupling-backlash-on-a-ballscrew-axis-find-the-source-first.
- Bearing-block locknut torque. Torque the locknut to the bearing manufacturer's specified value and verify the preload the rebuild called for; the procedure in article:fixing-ballscrew-thrust-bearing-axial-play-and-preload shows how to set and measure it.
- Alignment. Check the motor-to-screw coupling alignment for parallel and angular offset with a dial indicator, because a repaired mount is rarely back exactly where it was.
- Residual drag and binding. With the drive disengaged or the axis in a low-friction state, rotate the screw by hand through its full travel and feel for tight spots left over from the bearing damage or a mis-seated nut.
- Way lubrication and cover drag. New way wipers or changed lubrication alter static friction, which shifts where the stick-slip boundary sits and can start a standstill cycle on its own.
If every one of these passes, the mechanical hypothesis is spent and the position-loop filter test is the next move.
What is the position-loop filter test? #
The control offers a documented low-pass filtering option for the position loop: LowPass+2X, set on parameter 29. It filters the position-loop correction, which damps the feedback path that sustains the limit cycle, without changing any gain. The test procedure is four steps:
- Confirm the baseline parameter table above is written down and saved.
- Enable LowPass+2X on parameter 29.
- Leave P Gain, I Gain, D Gain, D 2 Gain, Deadzone, Acc/Dec T constant and Torque Preload untouched.
- Restore the machine covers, then run the verification below.
On the reported machine, the oscillation stopped with the filter enabled and no gain moved. Treat that as a successful corrective test, not a closed-out repair, because the report itself still required testing with the covers on.
How do you verify the fix? #
Recreate every disturbance that started the hum before: a cut under load, sustained high spindle speed, and a tool clamp and unclamp cycle. With the covers installed, listen at the head and repeat the vibration measurement at the same point; the comparison target is the 0.3 mm/s reading recorded at standstill, and the pass condition is no return of the hum across a full shift of normal production. If the hum comes back under any of those disturbances, revert parameter 29 and move to the last question below.
When do you actually touch the gains? #
Only after the mechanical list passes and the filter test fails. Do not freehand increases to D Gain, cuts to I Gain or Torque Preload, or a nonzero Deadzone without the control manufacturer's tuning documentation for this exact control in hand: those changes can mask the symptom while leaving the machine less stable under cutting load, and a Deadzone trades resolution for quiet. If you do make a documented change, move one parameter at a time from the recorded baseline and repeat the full disturbance verification after each move. If the gains cannot be recovered, the servo motor itself is the last suspect, not the first.
One safety note: run these verification cuts only with the guards and interlocks the machine was built with, and treat any test that needs covers off as a setup step with the spindle disabled, not as the proof of the fix.
Questions asked
Can worn coupling slop cause a servo axis to oscillate at standstill?
Yes. Slop or backlash in the coupling sits between the motor and the screw, so the position loop keeps correcting a load that moves late. That delay can close a limit cycle at standstill the same way a marginal gain does. Check the coupling for wear and backlash as part of the mechanical pass, before changing any gains.
What does a one-micron setpoint change stopping the oscillation tell you?
It tells you the axis is sitting on a self-sustaining limit cycle around the commanded position rather than hunting an external disturbance. Nudging the setpoint moves the operating point and breaks the cycle, which is consistent with a position-loop response problem. It does not by itself prove the cause is electronic, so still complete the mechanical checks.
Should Torque Preload be reduced to stop a standstill hum?
Not as a first move. On this machine the Z axis carried a nonzero Torque Preload while the other axes were at zero, which may simply reflect gravity holding on the vertical axis. Reduce it only if the filter test fails and you have the manufacturer's tuning documentation for the exact control in front of you, and restore the recorded baseline if the hum worsens.
How long should you test before calling the repair confirmed?
At least a full shift of normal production with the covers installed, repeating every disturbance that started the hum before: cutting loads, high spindle speed and tool clamp or unclamp bumps. Compare vibration readings at the same measurement point on the head. A fix that only holds during a brief open-cover test has not been proven.


