Diagnosis of tracking errors and position loss in servo drives

Technical analysis: Troubleshooting servo drive following error and position loss: encoder feedback, mechanical coupling

Diagnóstico de errores de seguimiento y pérdida de posición en servoaccionamientos - UNITEC-D Industrial MRO
Guía técnica para diagnosticar y resolver errores de seguimiento y pérdida de posición en servoaccionamientos. Enfocada en encoder, mecánica y sintonía PID.

1. Description of the Problem and Scope

Following Error occurs when the difference between the commanded position and the actual position of the motor axis exceeds the limit configured in the servo drive. Position loss occurs when the system cannot maintain the origin reference, resulting in collisions, defective products or emergency stops in CNC machinery, robotic arms and automated assembly lines. This document focuses on closed-loop control systems that use incremental or absolute encoders. The severity is classified as critical, as it directly affects the safety of the operation and the mechanical integrity of the equipment.

2. Safety Precautions

WARNING: Before performing any intervention, execute the Lockout/Tagout protocol. Residual energy in DC bus capacitors can be lethal; Wait at least 10 minutes after disconnection before touching the power terminals. Wear appropriate personal protective equipment (PPE), including insulated gloves and eye protection.

3. Diagnostic Tools

ToolSpecification/ModelRange/AccuracyPurpose
digital oscilloscopeMinimum 2 channels, 100 MHz0 - 500VNoise analysis in encoder signals
True RMS MultimeterClass III/IV0 - 1000 VAC/VDCVerification of control and power voltages
vibration analyzerFFT (Fast Fourier Transform)0 - 10kHzDetection of misalignment or mechanical looseness
thermal cameraMin resolution 160x120-20°C to 300°CIdentification of hot spots in couplings
torque wrenchRange 5 - 50 Nm+/- 3% accuracyTightening verification of couplings and motors

4. Initial Checklist

ObservationAction
Alarm historyRecord the last 5 error codes and timestamp.
Operating conditionsCheck if the load is higher than the nominal (overload).
Recent changesConfirm if there have been firmware updates or mechanical changes (replacements, adjustments).
AroundCheck for the presence of metal chips, oil or excessive humidity.

5. Systematic Diagnostic Flow

  1. If dynamic tracking error occurs (during motion):
    1. Check current/torque limits: Does the motor reach its torque limit before following the trajectory? If yes, investigate mechanical load (friction or inertia).
    2. Check PID tuning: Is there oscillation? If yes, adjust gains (Kp, Ki, Kd) or notch filters.
  2. If static tracking error occurs (at rest or low speed):
    1. Check feedback: Does the position fluctuate without movement? If yes, diagnose noise in the encoder wiring or encoder failure.
    2. Check mechanical coupling: Does the motor rotate but the load does not? If yes, inspect flexible couplings or cotter pins.

6. Matrix of Failures and Causes

SymptomProbable CauseDiagnostic TestExpected Result
F error in accelerationExcessive inertia / insufficient gainMonitor % current vs nominal torqueCurrent < 150% of nominal
Position driftEncoder noiseOscilloscope in A/B/Z signalsClean signal, without high frequency peaks
Error after stopMechanical play (Backlash)Compare motor encoder vs load encoderDifference within tolerance (e.g. <0.05mm)

7. Root Cause Analysis

Encoder failure

Signal degradation occurs due to electromagnetic interference (EMI) or pollution. If the signal arrives distorted, the drive calculates an incorrect position. Damage: Premature bearing wear if the motor compensates for high frequency vibrations.

Mechanical Clearance

Wear on loose couplings or keys creates a delay between motor and load. The tuning of the system is destabilized. Damage: Mechanical fatigue from shock loads when closing the clearance gap.

Improper PID Tuning

Too high gain values induce instability; Too low causes delay. Damage: Overheating of the motor winding due to excessive compensation currents.

8. Resolution Procedures

  1. Mechanical Readjustment: Check the tightening of the coupling screws. Standard torque: 12 Nm for M6 class 12.9 screws. Check laser alignment (angular misalignment < 0.2°).
  2. Electrical Validation: Ensure shielding of the encoder cable connected to ground at only one end (drive chassis). Check encoder supply voltage: it should be 5V +/- 5%.
  3. PID recalibration: Perform auto-tuning at idle, then apply load. Adjust integrator (Ki) to eliminate static error, ensuring it does not cause overshoot.

9. Preventive Measures

Root CauseStrategyMonitoringInterval
EMI noiseSeparate power/signal cablesVisual inspectionSemester
ClearanceCheck torquesVibration analysisMonthly
Encoder wearPreventive replacementHours of operationAccording to OEM

10. Spare parts and components

DescriptionSpecificationWhen to ReplaceUNITEC Category
Flexible CouplingShaft diameter 14mm-20mmIf it has axial playMechanical/Couplings
Absolute Encoder20-bit multiturnFrequent communication errorServo/Electronics
power cablesArmored, 4x1.5mm2Insulation damageCables/Accessories

For specific spare parts, visit our online catalog: https://www.unitecd.com/e-catalog/

11. References

  • ISO 230-1: Test codes for machine tools.
  • EN 60034-1: Rotating electric machines.
  • Specific user manuals from the drive manufacturer.

Related Articles