The electronic gear ratio is the easiest parameter to mis calculate in a servo: set it wrong and one thousand pulses moves the motor ten times the distance you expected. This page gives the formula and three worked examples.
The electronic gear ratio scales the controller pulse count up or down inside the drive to convert pulses into mechanical displacement. It is a fraction numerator over denominator applied to the incoming pulse train so that one pulse equals the desired move. Getting it wrong multiplies every move by the error factor.
Example one: a 17 bit absolute motor 131072 pulses per turn direct on a 10 mm lead screw wants one pulse equal 0.001 mm so the ratio is set accordingly. Example two with a 1:5 reducer divides the per turn displacement by five. Example three with a 10000 line incremental times four equals 40000 pulses per turn. After setting always verify by commanding a known pulse count and measuring actual travel.
| Parameter | Example 1 | Example 2 | Example 3 |
|---|---|---|---|
| Encoder res | 131072 | 131072 | 10000 |
| Reduction | 1 | 5 | 1 |
| Lead screw | 10 mm | 10 mm | 10 mm |
| PPM target | 0.001 mm | 0.001 mm | 0.01 mm |
| Ratio form | num den | num den div5 | times4 |
| Check | measure travel | measure travel | measure travel |
After setting always do a pulse count versus displacement calibration: send a fixed pulse count measure actual travel and back calculate the pulse per mm then compare with setting. When changing gear ratio also change the controller pulse count to match.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Servo parameter and interface see IEC 61800-3 and electrical safety see GB/T 5226.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.