AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Auto, adaptive or manual servo tuning: what decides

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

Short answer

Auto-tune is a one-shot inertia-identification routine, adaptive control keeps adjusting as the load changes, and manual tuning is the documented gain sequence you fall back on. Run the routine documented for your exact drive, verify positioning under the real load, and go manual only when the routine is missing, will not converge, or misses the positioning requirement.

On this page
  1. What each method actually does
  2. What decides the method
  3. Worked example: a 0.5 kg disc on a 400 W class motor at a 4.6 to 1 inertia ratio
  4. Verify the result before you accept it
  5. What a failed routine actually tells you
  6. The decision, for each case
  7. Questions asked

Run the tuning routine documented for the exact drive and motor installed on the axis, verify the result against the machine's positioning requirement under the real load, and fall back to the documented manual gain sequence only when the routine does not exist, will not converge, or misses the requirement. Auto-tune, adaptive control and manual tuning are three different drive capabilities, not three names for the same adjustment, and the choice between them comes from the drive's documented features plus one number you can calculate: the inertia ratio the loop will see. This article defines each method, works that inertia check on a real example, and ends with the decision for each case.

What each method actually does #

Auto-tune is a one-shot routine the drive runs on command. The drive performs a defined test motion, estimates the connected inertia from the motor's response, and writes a starting set of loop gains and filter settings to match. Observer-based inertial identification is the published method behind this class of routine: a state estimator reconstructs the motor-and-load response and derives the inertia the control loops must handle. What it produces is a baseline, computed from one measured condition.

Adaptive control continues after that baseline. An adaptive speed loop measures the load torque and the axis response while the machine runs and adjusts gain or compensation online as the load changes. The published schemes pair a proportional-integral controller with a load-torque compensator that tracks the load, which is exactly what a pick-and-place arm or a machine with changing tooling needs. It is not a substitute for a correct starting tune; it corrects around one.

Manual tuning is the documented sequence in which you set the gains yourself: typically an inertia-ratio or stiffness setting first, then the speed loop, then the position loop, in the order the drive's manual defines. It is the fallback, and it is also the only option when the drive documents no routine at all.

Method What it does Fits when
Auto-tune One test motion, estimates inertia, writes a starting gain set Fixed load, routine documented for the drive
Adaptive control Adjusts gains or compensation online as load torque changes Load varies in service, documented on the drive
Manual You set gains in the documented order No routine, routine fails, or the result misses the requirement

What decides the method #

Four things decide, and the first three come from documentation you already have or can get for the exact installed model.

First, the drive's documented capability. Whether the installed drive offers a tuning routine, adaptive control, or neither is stated in its own manual. Nothing transfers between drive families: a routine that exists on one model is not assumed to exist on another.

Second, the load. A fixed load suits a one-shot routine; a load that changes in service needs adaptive control on top of the baseline if the drive documents it.

Third, the mechanics. A routine and a gain set can only work on sound mechanics. Backlash, a loose coupling or a resonance the drive's filters cannot reach will defeat any tuning method, and no gain change will smooth it; the mechanical checks come first, as covered in why gain changes cannot smooth a rough servo axis.

Fourth, the positioning requirement. The machine specification defines the repeatability and settle time the axis must hold. That requirement, not smoothness on the screen, is what the tune is accepted against.

Worked example: a 0.5 kg disc on a 400 W class motor at a 4.6 to 1 inertia ratio #

This is a calculated example with illustrative inputs; take the motor value from the datasheet of your exact motor.

Inputs. Load: a solid aluminium disc, mass 0.5 kg, radius 40 mm, driven directly with no gearbox. Motor: a mid-range 400 W class AC servo with a rotor inertia of 0.87 kg·cm², an illustrative datasheet value for that class. The load mass and dimensions are example inputs for this case.

Rule. For a solid disc driven directly, the reflected load inertia is half the mass times the radius squared. The inertia ratio is the load inertia divided by the motor rotor inertia. As a rule of thumb, not a universal limit: below roughly 10 to 1, a documented routine normally converges and lands near-final gains; above roughly 30 to 1, expect manual work or a gearbox. Where your drive draws its own line is in its manual, which documents the inertia range the routine identifies.

Arithmetic.

  • Load inertia: J = ½ × m × r² = ½ × 0.5 kg × (0.04 m)² = ½ × 0.5 × 0.0016 = 4.0 × 10⁻⁴ kg·m²
  • Motor rotor inertia: 0.87 kg·cm² = 8.7 × 10⁻⁵ kg·m²
  • Inertia ratio: (4.0 × 10⁻⁴) ÷ (8.7 × 10⁻⁵) = 4.6

Result. The axis presents a 4.6 to 1 inertia ratio to the loop.

Decision. At 4.6 to 1, run the documented auto-tune routine first and expect it to converge; trim manually only if the verification below misses the requirement. The calculation is the cheap half of the decision, and it takes two minutes before any routine touches the machine. On the high side of the range, where the ratio lands around 6 to 1 and higher on ballscrew axes, tuning gets harder in specific, documented ways; tuning a servo axis with a 6:1 ballscrew inertia ratio covers that case.

Verify the result before you accept it #

A completed routine or a finished manual sequence is not an accepted tune until the axis holds the machine's positioning requirement under the real load. Verification is a measurement, not a look at the trace:

  • Command the production move profile, not a gentle test move, at production speed and acceleration.
  • Run at least ten cycles and record the measured stop position each cycle; the spread of those stops is the repeatability the machine actually has.
  • Check overshoot and settle time against the machine's cycle requirement.
  • Repeat at the extremes of the load range if the load varies: empty and full, cold machine and warm.

One safety point belongs here: a tuning routine moves the axis on its own schedule, so clear the area and confirm guarding and the machine's risk assessment before you start any routine or manual test that turns the motor.

Accept the tune when every measured stop sits inside the machine's positioning requirement with margin. Reject it and move down the decision ladder when it does not.

What a failed routine actually tells you #

A routine that faults or produces a rough axis tells you one of four things, in the order they are cheap to check:

  • The routine aborted. Likely cause: the connected inertia falls outside the range the drive documents for identification, or the mechanics cannot make the test motion because of a limit, a fixture or a brake. Confirming check: compare the calculated inertia ratio with the documented range, and confirm the axis can travel freely through the routine's stroke.
  • The gains are stiff but the axis hunts at standstill. Likely cause: the identification was accurate and the mechanics or a resonance are the limit. Confirming check: drop stiffness one documented step; if the hunting pattern does not change, the cause is mechanical or structural, and the axis needs the standstill-hunting diagnosis rather than more tuning.
  • The result passes empty but fails loaded. Likely cause: the load varies beyond what the baseline covers. Confirming check: run the verification at both load extremes; if only the loaded case misses, adaptive control, where the drive documents it, is the fix.
  • No routine exists at all. Then manual tuning in the documented order is the method, one gain at a time, saving the previous settings before each change so any step can be reversed.

The decision, for each case #

Fixed load, routine documented, calculated ratio inside the documented range. Run the auto-tune routine, verify positioning repeatability under the real load, accept, and trim only if verification misses. This is the normal case, and the worked example above is it.

Load varies in service, adaptive control documented. Run the routine to establish the baseline, enable adaptive control, then verify at both load extremes. Accept when both pass; a tune that passes empty and fails loaded is not a tune.

No routine documented, or the routine faults, or verification misses after it. Use the manual gain sequence the drive's manual defines, in that order, one change at a time, with the previous settings recorded. Verify exactly as above. Manual is not a lesser method here; it is the correct method for that drive and that result.

What never decides the method: a setting copied from another drive or another machine. It can be a starting point for verification, but the routine or sequence written for the installed drive, checked against the machine's own positioning requirement, is what the axis is accepted on.

Questions asked

Can I copy gains from an identical machine instead of running a tune?

Gains from a mechanically identical machine are a usable starting point, not a finished tune. Small differences in belt tension, coupling stiffness, guideway friction and load mass change the inertia the loop sees. Copy the settings, run a short verification of overshoot, settle time and stop position under the real load, and only then decide whether a full routine or manual trimming is needed.

Does adaptive control remove the need to tune at all?

No. Adaptive control adjusts the loop around a baseline, so the drive still needs a correct starting gain set from an auto-tune routine or manual setup. What it buys you is stability when the load changes in service, such as a pick-and-place arm carrying a part or a machine that runs different tooling. Verify positioning at both the lightest and heaviest load the machine will see.

What result should I accept after tuning an axis?

Accept the tune when the measured result meets the machine's own positioning requirement, not when the motion simply looks smooth. Command the production move profile at least ten times, record the measured stop position each cycle, and check overshoot and settle time. If the machine specification calls for repeatability to plus or minus 0.05 mm, every measured stop must stay inside that band with some margin.

Why do auto-tuned gains still leave the axis rough or hunting?

Auto-tune identifies inertia and writes gains to match it, but it cannot fix mechanics. Backlash, a worn coupling, guideway stick-slip or a loose mount produce disturbances no gain set can cancel, and pushing stiffness higher usually makes the noise worse. Check the mechanical side first, then re-verify the tune on the repaired machine.

Keep reading

  • Troubleshooting

    Why Gain Changes Cannot Smooth a Rough Servo Axis

    Gain changes cannot smooth an axis that sticks, has backlash, or lacks torque: the position loop only commands correction, and into stick-slip or clearance the stronger correction hits harder. Check breakaway versus running torque, reversal lost motion, and the load-to-rotor inertia ratio first; on a mechanically clean axis, raise the position-loop gain in small recorded steps until instability appears and back off one step.

    Servo and stepper motion

  • How-to

    Tuning a Servo Axis With a 6:1 Ballscrew Inertia Ratio

    Yes, a 6:1 load-to-motor inertia ratio is tunable. The 5:1 figure is a screening guideline, not a stability limit; 5:1 to 10:1 axes commission routinely at modest bandwidth. Verify the reflected-inertia arithmetic, fix backlash and compliance first, raise gains stepwise, and notch-filter only a resonance you have measured.

    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