Troubleshooting
Servo encoder disk slip: fixing the commutation angle after a shift
Short answer
A loosened encoder disk screw let the disk shift, so the drive's commutation angle no longer matches the rotor and the axis trips a following error at power-up. Stop power-cycling and trial rotation: they cannot recover the original reference. Restore the angle with the motor manufacturer's documented alignment procedure, verify against the procedure's error limit, or send the motor to a qualified servo repair shop.

On this page
- Why does a following error appear right after the encoder disk shifted?
- Why does the motor twitch once and then stop at power-up?
- How much does a small slip change the motor's torque?
- Can I find the commutation angle by turning the encoder in 1 mm steps?
- What is the documented way to restore the commutation angle?
- Can an oscilloscope set the disk-to-rotor angle?
- How do I verify the realignment actually fixed it?
- When should the motor go to a servo repair shop instead?
- Questions asked
A loosened disk screw let the encoder disk rotate on its hub, and the drive now trips a following error because the commutation angle between the disk's zero and the rotor's magnetic poles no longer matches. Stop power-cycling and stop turning the encoder in small steps: neither can recover the original reference once the disk has slipped. Restore the angle with the motor manufacturer's documented alignment procedure and verify the result against that procedure's error limit, or send the motor to a qualified servo repair shop if the procedure needs fixtures you do not have. The sections below take the fault in that order: what the shift changed, what the motor's twitch means, what the documented fix is, and how to prove it worked.
Why does a following error appear right after the encoder disk shifted? #
The slip moved the encoder's zero mark away from the rotor's magnetic poles, so the drive builds torque from a wrong electrical angle, the position loop answers the shortfall with extra current, and the axis trips its following-error monitor.
In a synchronous servo motor the drive must know where the rotor's poles are at every instant; it gets that from the encoder's measured angle, scaled by the motor's pole pairs into electrical angle. A mechanical slip of the disk shifts that mapping by the same mechanical angle, one-for-one, so every current vector the drive builds is aimed at the wrong spot. The position loop sees the axis falling behind command, raises current to close the gap, and trips the following-error monitor defined in the axis configuration.
AC servo commutation is built on the rotor's electrical angle rather than shaft position alone, which the companion page on rotor electrical angle and AC servo commutation works through step by step. The same mapping decides any feedback swap: the commutation rules for replacing a resolver with an encoder cover the identical angle problem from the other direction.
A following error by itself names no failed part, but a following error that appears immediately after a mechanical disturbance of the encoder points the first look at feedback and alignment, not at load or tuning.
Why does the motor twitch once and then stop at power-up? #
That twitch is not the drive hunting for the axis; it is the position loop demanding a move the misaligned windings cannot deliver, and the protection monitor — following error, overcurrent or excess position error — disabling torque inside its configured window.
Read the fault sequence before changing anything: the first fault in the history is the diagnosis, and the faults that pile up after the drive disables torque are echoes. Then separate an intentional initialization from the uncontrolled twitch. Some drives run a commutation check or alignment routine only when a documented commissioning step invokes it; the drive's operating state at the moment of the twitch tells you which happened. Motor and drive manuals warn that an incorrectly set commutation angle offset can lead to uncontrolled drive behavior — that warning, not a hidden search routine, is what the one-second twitch represents.
How much does a small slip change the motor's torque? #
Available torque falls with the cosine of the electrical-angle error: on an example motor with 4 pole pairs, a 5° mechanical slip of the disk costs about 6% of torque, while a 30° slip reverses the torque direction outright.
Worked example, calculated for these inputs and not a measured result. Model: for a sinusoidally commutated permanent-magnet motor, available torque follows the cosine of the error between the current vector and its correct electrical angle. Input: pole pairs = 4, an example value; take yours from the motor nameplate or datasheet, and the electrical error equals mechanical slip multiplied by pole pairs.
- Case A: disk slips 5° mechanical. Electrical error = 5° × 4 = 20° electrical. Torque factor = cos 20° ≈ 0.94, so about 94% of rated torque. The free shaft still turns, which is why a no-load bench test lies; under load the drive raises current to cover the missing 6%, and the windings heat.
- Case B: disk slips 30° mechanical. Electrical error = 30° × 4 = 120° electrical. cos 120° = −0.50, so the current vector now pushes the rotor backwards with half-rated torque. At power-up the shaft lurches against the command until the following-error or overcurrent monitor opens — the twitch-and-stop pattern of the reported fault.
Between those cases lies the whole band of angles where the motor appears to run; only the manufacturer's procedure identifies the single angle that is right.
Can I find the commutation angle by turning the encoder in 1 mm steps? #
No — nudging the encoder in 1 mm steps only searches for a spot where torque happens to be positive; a whole band of wrong angles runs an unloaded motor, and every powered attempt on a loose disk risks a lurch in the wrong direction.
The index marker lives in the disk's pattern; loosening the disk screw changed where that pattern, and its zero, sits relative to the rotor, and rotating the housing does not move the pattern back. Trial rotation instead destroys the last datum you had: once the assembly is nudged, even witness marks taken earlier describe a position that no longer exists. Apparent success at no load hides wrong commutation that resurfaces under load as heat, oscillation, or a fault mid-move. Re-establishing the marker-to-rotor reference is its own documented task, which the guide to fixing a grid align error after a servo motor rebuild covers for rebuilt motors.
What is the documented way to restore the commutation angle? #
Use the alignment procedure published for your motor family: manufacturers document either a mechanical restoration against an assembly-drawing datum, or a rotor-locking routine — DC lock-up or a drive-assisted commissioning step — that fixes the rotor at a known electrical position first.
Work it in this order:
- Isolate electrical power by the machine's lockout procedure and support any load that can fall or roll when motor torque disappears — that is the whole safety note this repair needs.
- Record the motor, encoder and drive identifications from the nameplates, back up the drive parameters, and save the fault history before anything is cleared.
- Identify what actually slipped: the disk on its hub, the encoder body on its mount, or a coupling between them — each takes a different correction.
- Inspect the fastening, seating faces, disk, readhead clearance and cable strain relief for looseness, contact marks and contamination, using the inspection method the service documentation specifies.
- Restore mechanical retention with the tightening values and any mandated new fasteners taken from that documentation, never estimated.
- Run the documented electrical alignment for the installed motor and drive. Encoder makers such as Heidenhain publish a DC lock-up method: a controlled DC current in two phases locks the rotor at a known electrical position, and the encoder is then set to the angle documented for that position. Many drive and motor pairs instead offer a commissioning routine that energizes the windings in a controlled sequence and stores the commutation offset; it is valid only for the installed combination and only once the disk is firmly fastened, because drive manuals warn that a wrongly stored offset can make the drive uncontrolled.
- Verify with the procedure's own move and limit, and stop at inspection if the instructions require a factory fixture or restrict internal encoder work to a service facility.
Drive-assisted alignment writes an offset; it cannot hold a disk that can still move. If retention is not sound, fix that first, or the stored offset is wrong the next time the disk shifts.
Can an oscilloscope set the disk-to-rotor angle? #
An oscilloscope proves the feedback signals are healthy, but it cannot set the commutation angle, because the scope has no reference for where the rotor's electrical zero actually sits.
With the interface specification and pinout in hand, the scope does prove:
- A and B are one quarter-cycle apart in quadrature through a full hand-turned revolution.
- Z appears exactly once per mechanical revolution, at a stable position.
- Signal amplitude and levels match the interface specification at the drive end.
- No glitches, dropouts or level shifts occur while the shaft turns slowly.
Setting the angle needs the rotor reference that only the drive routine or a dedicated alignment instrument provides — the fixture servo shops use, and instrument vendors document the adjustment itself as a sub-minute task once the rotor is locked. To separate wiring and signal faults from alignment before you touch the disk, the isolation sequence in servo drive encoder phase alarm: isolate wiring, encoder or drive applies the same tests.
How do I verify the realignment actually fixed it? #
The published alignment procedure for the Siemens 1FK servo family draws the line at 5%: after realignment, any oscillation or following error above 5% of the setpoint means a residual commutation problem — take your own motor's limit from its service documentation.
Worked check with example numbers: the procedure's verification move commands 100 mm. The acceptance limit is 5% of the setpoint, so 5% × 100 mm = 5 mm of permitted following error. A measured peak of 3 mm is 3% and passes; 7 mm is 7% and fails, no matter how smooth the motor sounded.
Three readings decide pass or fail:
- Following error during the verification move, against the 5% limit above or your own motor documentation's limit.
- Current trace through a commanded direction reversal: drive manuals describe an oscillating current on rapid direction or speed changes as a sign of incorrect commutation.
- Commanded versus measured displacement and direction, which must agree once the feedback relationship is right.
Do not raise the axis's following-error limit to make the fault disappear; that hides a wrong angle behind a bigger window.
When should the motor go to a servo repair shop instead? #
Send the motor to a servo repair shop when no documented field procedure exists for your encoder, when the fastening or disk is damaged, or when verification stays above the procedure's limit after one correct attempt.
What to send: the motor with its encoder, the nameplate data, the drive model and the saved fault history. What the shop does that the bench cannot: restore the mechanical mounting to the drawing datum, establish the rotor reference with a fixture or instrument, calibrate the electrical angle, and test the motor under load before release.
Decision, case by case:
- Parts intact, documented procedure available, verification passes: the field repair is complete; record witness marks before the covers go back on.
- No documented field procedure, missing fixtures, or damaged fastening or disk: qualified servo shop.
- Verification still above the procedure's limit after one correct attempt: shop as well — a second blind attempt costs more than one alignment.
Questions asked
Does replacing the encoder remove the alignment step?
No. A replacement encoder still has to be set to the rotor's electrical zero, because the commutation angle lives in the disk-to-rotor relationship, not in the encoder part number. Plan the same documented alignment and verification for a new unit, and confirm the replacement's interface and mechanical fit against the motor's spare-parts documentation before ordering it.
Can the drive's automatic commissioning routine fix a slipped disk?
Only the electrical part. A drive-assisted routine measures and stores the commutation offset for the installed motor, and it assumes the disk is firmly fastened. If the disk can still move, the stored offset is wrong the first time it shifts again. Restore mechanical retention first, then run the routine exactly as the drive documentation sequences it.
What should I mark before opening an encoder at all?
Witness marks across the encoder body and the motor housing, plus the shaft's angular position, photographed before anything is loosened. Marks preserve a relationship that is known to be good; they cannot recreate one that is already lost. That is why they belong before disassembly, and why they are not a recovery method afterwards.
Why did repeated power cycles change nothing?
Power-cycling cannot move the disk back, and the drive re-reads the same wrong angle at every start, so the identical fault returns. What cycling adds is risk: every start with a wrong commutation angle can lurch the axis, stack a new fault on top of the first, and heat the windings while the shaft barely moves.