AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Do you need to retune after replacing a servo motor

Servo and stepper motion Published 8 min read By AutomateDirectUSA engineering team

Short answer

Usually no. An identical replacement motor on unchanged mechanics keeps the existing tuning, provided configuration and baseline response check out on the assembled, loaded axis. Retune when rotor inertia, load inertia, coupling stiffness or mounting changes, because those shift the resonance frequencies the gains were set around.

On this page
  1. What the existing tuning already contains
  2. The case that keeps its tuning: identical motor, untouched mechanics
  3. What forces a retune: the resonance moved
  4. Verify the replacement before judging the tuning
  5. No load or coupled: the routine decides, not a blanket rule
  6. Baseline first: run the old settings before you overwrite them
  7. When you do retune
  8. Worked example: a heavier rotor moves the resonance 13 percent
  9. The decision for each case
  10. Questions asked

Usually no. A replacement servo motor that matches the one it replaces — same rotor inertia, same feedback, same electrical data — running on mechanics you did not touch can keep the gains already stored in the drive. A retune becomes necessary when the mechanical system changes, because rotor inertia, load inertia, coupling stiffness and mounting stiffness set the resonance frequencies the tuning was built around, and moving any of them moves the resonance. The no-load half of the question is not a blanket rule either: a drive's tuning routines have documented coupling and load requirements that differ between routines, and the routine you select decides the setup. This article gives the decision for each case, the checks that settle it, and a worked example of how far a heavier rotor moves the resonance.

What the existing tuning already contains #

A servo drive's speed and position loop gains are not motor settings; they are settings for one motor driving one mechanical system. A tuned axis encodes the motor's torque constant and rotor inertia, the reflected load inertia, and the compliance of everything between them: coupling, any gearbox or belt stage, ballscrew or lead screw, and the structure holding it all. The gains were chosen to keep control bandwidth below the dominant mechanical resonance with margin.

That is why the replacement question is really a question about the mechanical system. If nothing between motor shaft and load changed, the plant the gains were tuned against is unchanged and the tuning transfers. If any element changed, the tuning's assumptions are stale even when the axis runs and looks acceptable at first.

The case that keeps its tuning: identical motor, untouched mechanics #

The decision rule: a replacement with the same part number, or the manufacturer's approved equivalent with identical rotor inertia, feedback type and electrical data, installed without changing the coupling, transmission or load inertia, keeps the existing gains. Verify rather than retune.

Matching mounting dimensions alone prove nothing: two motors can share a flange and shaft size and differ in rotor inertia, and the gains care about inertia, not bolt patterns. Compare the installed motor's identification data against the drive's configured motor data, and check power, feedback and brake wiring against the connection diagrams before the first enabled move.

A rebuilt motor is its own case. If the feedback was opened or re-stacked during the rebuild, commutation or marker alignment can change even though rotor inertia did not; on drives that reference an absolute marker, that surfaces as the grid align error covered in fixing a grid align error after a servo motor rebuild.

What forces a retune: the resonance moved #

Rotor inertia, load inertia, coupling torsional stiffness, mounting stiffness and transmission compliance together set where the axis's mechanical resonance sits. For a two-mass system the dominant resonance lands at

f = (1/2π)·√(K/J_r)

with K the coupling torsional stiffness in N·m/rad and J_r the reduced inertia of motor and load in kg·m². Change any input and the frequency moves. Gains commissioned with bandwidth below the old resonance can then sit close to, or above, the new one, and an aggressively tuned axis starts exciting vibration that never appeared before.

The inertia ratio shifts at the same time. A substitute with higher rotor inertia lowers the load-to-rotor inertia ratio, which usually makes the axis easier to tune; that benefit is real but it does not rescue the old gains, because the resonance still moved. How strongly that ratio shapes a tuning session is worked through in tuning a servo axis with a 6:1 ballscrew inertia ratio. If the substitute's datasheet does not state rotor inertia, estimate it from the rating data before deciding; a worked WK² estimate for a fixed-speed motor shows the method.

And when changed mechanics degrade tracking before any tuning question arises, the diagnostic order is mechanics first — the same argument made for ghost marks after a ballscrew replacement: mechanical before tuning.

Verify the replacement before judging the tuning #

A configuration error is not a tuning problem, and no gain change can correct it. Before judging response, confirm the drive's configured motor data matches the installed motor, run the manufacturer's motor or feedback commissioning where the drive requires it, and clear every motor and encoder diagnostic. For a replaced or re-stacked encoder this commissioning is a procedure of its own, covered in commissioning a replacement servo encoder with motor ID data. Only a drive that accepts the installed motor and feedback without unresolved diagnostics is ready for a motion test whose result means anything.

No load or coupled: the routine decides, not a blanket rule #

Separate two activities that both get called tuning. Motor identification establishes the motor's electrical model — resistance, inductance, torque constant, inertia — and its documented coupling state belongs to that routine alone. Axis optimization adjusts the controller to the coupled mechanics; done on an uncoupled motor it never sees the load inertia or the resonances the controller faces in service, so the settings it produces can be wrong the moment the load is reconnected. Some routines genuinely do require an uncoupled motor, and running them coupled commands motion the machine cannot make. The blanket always-tune-at-no-load rule fails in both directions; run each routine in exactly the coupling and load state its function manual states.

Automatic routines follow the same logic. Siemens documents One Button Tuning for the SINAMICS S120 and S210 servo drive families as automatic optimization of the speed and position controller, and the commissioning documentation has the drive measure the mechanical drive train with short test moves against a selected dynamic response setting; on the S210 the entry point is the Commissioning > Tuning page and the Start Tuning... action. Those test moves consume travel, and the function manual states the coupling state, load limits and brake handling for the routine you selected — the automation removes none of those requirements. Where the motor carries a holding brake, its handling during the routine follows the manual, and the brake's role is set out in what a servo motor holding brake does and does not do.

One safety note: these routines move the axis under drive control with no part in the workholder, so keep guards closed, stops live and people out of the envelope for the whole routine.

Baseline first: run the old settings before you overwrite them #

Save the complete drive configuration before changing anything, so a failed tuning attempt never becomes the only configuration on the drive. Then run a representative move on the assembled, loaded axis with the existing gains and record commanded and actual position and speed, following error, peak current and any diagnostics.

Three outcomes follow. Following error inside the machine's documented limit with clean settling means the tuning holds and the job is done. High current or weak torque is a measurement question before it is a tuning question, and the sequence in servo motor torque below datasheet: measure before you change applies. Oscillation or long settling points to the retune below.

When you do retune #

Retune when the mechanics changed or the baseline failed. Correct mechanical defects first: alignment, fastener torque, binding, backlash. A binding axis needs mechanical correction, and raising gains over the defect manufactures oscillation — the ordering behind servo motor noise: mechanics or tuning first and the standstill case in why a servo axis hunts at standstill after tuning.

Where the drive's automatic routine matches the machine's documented conditions, use it as the first pass. Where it does not, change one gain at a time and repeat the identical test move each time, judging tracking and settling together: lower following error is not an improvement if it arrives with vibration or overshoot.

Worked example: a heavier rotor moves the resonance 13 percent #

Example inputs, not measured values: original rotor inertia J_m = 2.0×10⁻⁴ kg·m², load inertia reflected to the motor shaft J_L = 6.0×10⁻⁴ kg·m², coupling torsional stiffness K = 1500 N·m/rad.

Reduced inertia: J_r = (J_m × J_L)/(J_m + J_L) = (2.0×10⁻⁴ × 6.0×10⁻⁴)/(8.0×10⁻⁴) kg·m² = 1.5×10⁻⁴ kg·m².

Stiffness over reduced inertia: 1500 N·m/rad ÷ 1.5×10⁻⁴ kg·m² = 1.0×10⁷ 1/s². Square root: 3162 rad/s. Resonance: 3162 ÷ (2π) = 503 Hz.

Now fit a substitute motor with rotor inertia 3.0×10⁻⁴ kg·m² against the same load and coupling: J_r = (3.0×10⁻⁴ × 6.0×10⁻⁴)/(9.0×10⁻⁴) kg·m² = 2.0×10⁻⁴ kg·m². Then 1500 N·m/rad ÷ 2.0×10⁻⁴ kg·m² = 7.5×10⁶ 1/s², square root 2739 rad/s, resonance 436 Hz.

The resonance drops 67 Hz, about 13 percent, and the inertia ratio improves from 3:1 to 2:1. This is a calculated example for those inputs, not a measured result. Decision: the friendlier inertia ratio does not preserve the tuning — gains set with margin against a 503 Hz resonance now sit proportionally closer to a 436 Hz one, so run the baseline and retune if vibration or slow settling appears.

The decision for each case #

  • Identical motor, unchanged coupling, transmission and load, configuration verified, baseline inside the machine's limits: keep the existing tuning.
  • Different rotor inertia or electrical data, changed load, different coupling, altered mounting or transmission: retune on the assembled, loaded axis after the mechanical checks pass.
  • Routine documented for an uncoupled motor: uncouple for that routine only, then re-verify the assembled axis before production.
  • Binding, looseness, misalignment or backlash found: correct the mechanics, then repeat the baseline before touching a gain.
  • Rebuilt or re-stacked feedback: recommission the feedback per the manufacturer's procedure and treat the motor as unverified until the diagnostics are clear.

Questions asked

Can I just copy the old motor's parameters into the drive?

Copying the saved configuration is the right starting point, not the finish. It restores the gains, motor data and offsets in one step, but only a motor with matching identification data can use them unchanged. After a copy, verify feedback and commutation before enabling motion, then run the baseline move: if following error and settling reproduce the recorded values, the copy holds; otherwise treat it as the starting point to retune from.

Does replacing only the coupling require a retune?

Yes, treat it like a mechanical change. Coupling torsional stiffness sets the resonance frequency the tuning must stay below, and a different coupling type, size or even installed length moves it. Run the baseline with the existing gains first; if the axis reproduces the recorded following error and settles cleanly, no retune follows, but expect the resonance shift to matter more on aggressively tuned axes.

What following error limit proves the replacement is acceptable?

The reference is the axis's own commissioned performance, not an industry number. Run one standard test move and require the replacement to reproduce the recorded following error, settling time and peak current within a band agreed with whoever owns the machine's acceptance criteria; on a machine with no record, commission a fresh baseline on the replacement before production and make that the reference from then on.

Why is the axis noisier after swapping in a datasheet-identical motor?

Datasheet-identical is not mechanically identical. A small rotor inertia difference or a slightly different coupling installation shifts the resonance downward, and gains that sat safely under the old resonance now sit close to the new one, so the speed loop excites vibration that never showed before. Drop the gains to confirm the noise is structural, then retune against the new resonance; noise that persists at reduced gains points to a mechanical cause instead.

What if the machine cannot give the tuning routine enough travel?

Short travel changes which routine fits, not whether the axis can be commissioned. Reduce the test move where the drive allows it, or fall back to manual gain changes with one repeated short move. Never clamp the axis during a routine that has to move it, and never run a long-stroke optimization into a hard stop; pick the routine whose documented motion the machine can actually execute.

Keep reading

  • Explainer

    Why a robot needs a servo controller between it and the motor

    A robot cannot drive a servo motor through its network port; the motor needs a drive and positioning controller in between. For indexed work — four preset positions, each complete before the robot cuts — the controller stores the positions, takes a trigger over a documented protocol such as Modbus/TCP, and reports confirmed position and completion. A successful connection proves transport, not motion.

    Servo and stepper motion

  • Troubleshooting

    Brushless servo motor overheating with no load: commutation first

    At rest with the axis enabled and zero command, a correctly commutated brushless servo is silent, still and draws near-zero current, so it cannot heat itself. Rapid no-load heating is therefore a commutation problem first: read standing current on the drive monitor, map the three U, V and W signals through all six orders one de-energized change at a time, confirm the motor's voltage rating from its nameplate, and only then review tuning and the drive's switching frequency.

    Servo and stepper motion

  • How-to

    Configuring a PLC pulse-output servo axis before PLS2 moves

    The drives are not plug and play: keep command scaling in one place, the drive's gearing or the PLC program, and stay under the 100 kHz pulse ceiling, which at 10,000 pulses per revolution caps the motor at 600 rpm. Prove direction, limits and homing first, then tune for the load.

    Servo and stepper motion