How-to
Setting Gear Ratio for Degree Moves on a Rotary Servo Axis
Short answer
Divide 360 by every reduction stage between motor and table: a 10:1 belt ahead of a 50:1 gearbox gives 500:1, so one motor revolution turns the load 0.72 degrees. At 0.001 degree per command pulse that is 720 pulses per motor revolution, and the electronic gear must express the encoder ratio exactly, 8192/720 reduced to 512/45, for degree commands to land.
On this page
- How do I turn a total gear ratio into degrees at the load?
- How do I add up the belt and gearbox stages?
- How many command pulses should equal one motor revolution?
- How do I set the electronic gear for those pulses?
- What happens when the division is not exact?
- How fast can the axis run at that pulse rate?
- How do I enter the setting and prove it on the bench?
- Questions asked
Commanding a rotary axis in degrees comes down to one division: 360 divided by every stage of reduction between the motor shaft and the table. Multiply the belt ratio by the gearbox ratio, and that total sets degrees per motor revolution, command pulses per revolution, the electronic gear fraction, and the top speed the pulse train can carry. The arithmetic below runs on a 10:1 belt ahead of a 50:1 gearbox — 500:1 overall, 0.72 degrees per motor revolution — and closes with the bench test that proves the setting.
How do I turn a total gear ratio into degrees at the load? #
Divide 360 by the total reduction between the motor shaft and the table: with 500:1 overall, one motor revolution turns the load 360/500 = 0.72 degrees, and that single number drives every pulse and gear setting that follows. Write it as load degrees per motor revolution = 360 / R_total. Nothing about the motor's poles or encoder enters this step; it is pure kinematics between shaft and table. The same total sets speed: motor rpm divided by 500 equals table rpm, so a 3,000 rpm motor turns the table 6 rpm, which is 36 degrees per second.
How do I add up the belt and gearbox stages? #
Multiply the stage ratios: divide driven teeth by driver teeth for every belt or gear stage, take the gearbox nameplate ratio as given, and multiply them all — the example drive is a 10:1 belt times a 50:1 gearbox, equal to 500:1. For the belt, count actual teeth, for instance an illustrative 20-tooth driver and 200-tooth driven pulley, 200/20 = 10. For the gearbox, read the ratio off the nameplate, not the model number, and confirm it is the output-to-input ratio you assume. Torque and inertia sizing is a separate task from this angle arithmetic; the method is the same one used when sizing servo reduction for a belt-driven axis. One consequence worth noting: a 500:1 ratio divides the load inertia reflected to the motor by 500 squared, or 250,000, which is the opposite problem from the one faced when tuning a servo axis with a 6:1 ballscrew inertia ratio.
How many command pulses should equal one motor revolution? #
Pick the smallest angle you want to command, then divide the degrees per motor revolution by it: at 0.72 degrees per revolution and 0.001 degrees per pulse, the drive needs 0.72/0.001 = 720 command pulses per motor revolution, an exact whole number. A workable rule of thumb for indexing tables is 0.001 degrees per command unit; label it as that, not as a requirement. The check that decides the issue is whether 360 divided by (ratio times resolution) comes out whole. With 500:1 it does at every decimal step: 0.0001 degrees per pulse would give 7,200 pulses per revolution, still whole. Resolution is free until the pulse frequency limit bites, which is a later section.
How do I set the electronic gear for those pulses? #
Divide the encoder's counts per motor revolution by your 720 command pulses, and program that fraction into the electronic gear numerator and denominator: with 8,192 counts per revolution the ratio is 8,192/720 = 512/45 counts per pulse. The electronic gear is the drive function that sets travel per command pulse; the setting lives in the drive's command-scaling parameters, and the exact parameter names plus which number is the numerator come from that drive's manual. The encoder count here is an illustrative input — take yours from the drive documentation. The fraction matters because it is exact: 512/45 places every pulse on the encoder grid with no remainder. A drive that accepted only a whole 11 counts per pulse would move 720 × 11 = 7,920 counts where the encoder counts 8,192 per revolution, so every commanded angle lands 3.2 percent short — a full commanded 360-degree turn would stop at about 348 degrees. Use the fraction.
What happens when the division is not exact? #
A stage ratio whose prime factors never divide 360, such as 7:1, makes 0.001-degree commands impossible as whole pulses, and rounding the pulse count leaves a systematic scale error — about 0.003 degrees per full table revolution in the calculated example here. Take a lone 7:1 belt: 360/7 = 51.428571 degrees per motor revolution, so 0.001-degree units need 51,428.571 pulses per revolution, and programming 51,429 makes a commanded 360,000-pulse turn land at 359.997 degrees. Because 7 never divides 360 times any power of ten, coarsening the unit does not fix it. The decisions: on a 24-station indexing table, 0.003 degrees per turn is noise beside typical gearbox backlash, so accept it; on a contouring axis synchronized with linear axes, change the stage — 6:1 gives 60 degrees per motor revolution and 8:1 gives 45, both dividing cleanly — or command raw pulses and keep the scale in the program.
How fast can the axis run at that pulse rate? #
Multiply pulses per motor revolution by revolutions per second to get the frequency: a 3,000 rpm motor at 720 pulses per revolution needs 720 × 50 = 36,000 pulses per second, or 36 kHz, well inside a typical 200 kHz controller output. Run the same margin check described for checking servo speed margin on a rack and pinion axis: maximum motor speed times pulses per revolution must sit below both the controller's pulse output rating and the drive's input rating. With 720 pulses per revolution, 200 kHz would allow 277 revolutions per second, roughly 16,600 rpm, so the motor, not the pulse train, is the limit in this example. At 36 kHz the pulse period is about 28 microseconds, comfortable for most drives; near a 200 kHz ceiling the half-period shrinks toward 2.5 microseconds, where pulses that arrive too fast get dropped for the same reason a controller misses short input pulses.
How do I enter the setting and prove it on the bench? #
Enter the ratio, jog a commanded 360.000 degrees, and confirm the table mark returns to a fixed indicator within your repeatability target — for this 500:1 example the commanded count is 360,000 pulses at 0.001 degrees each, and the mark should close on itself every time. Run the first commands in jog with hands and tools clear of the table and the stop within reach, because a mis-set ratio can swing the axis far past the intended angle. Then work the list:
- Count the ratio at the machine: driven teeth divided by driver teeth for each belt stage, nameplate ratio for the gearbox; the example gives 10 × 50 = 500.
- Divide 360 by the total and write the result, 0.72 degrees per motor revolution, next to the drive.
- Choose the command resolution, 0.001 degrees as the rule of thumb, and divide: 0.72/0.001 = 720 pulses per motor revolution; confirm the result is whole.
- Take the encoder counts per revolution from the drive manual and reduce the fraction: 8,192/720 = 512/45; enter it in the drive's command-scaling parameters per the manual's convention.
- Check speed: motor top speed in revolutions per second times 720 must stay under the controller's maximum pulse frequency; 3,000 rpm needs 36 kHz.
- Jog-test closure: command +360.000 degrees and watch the mark close; then command +3,600.000 degrees to prove the position counter holds 3,600,000 counts without wrapping.
- Repeat the 90.000-degree point from the opposite direction; a fixed miss after reversal is lost motion, not a ratio error, so chase backlash before touching the scaling.
- Record the total ratio, pulses per revolution, and gear fraction on the cabinet for the next person.
The decision for the worked drive: 500:1 total, 0.001 degrees per pulse, 720 pulses per motor revolution, electronic gear 512/45 on an 8,192-count encoder, proven by the 360-degree closure and the 3,600-degree counter test. A 7:1 stage gets re-geared for contouring or accepted at 0.003 degrees per turn for indexing, and an integer-only gear setting is rejected outright at 3.2 percent scale error.
Questions asked
Can I command degrees over a network instead of a pulse train?
Yes. A network position interface lets you program user units directly and skip the pulse arithmetic: declare one load revolution as 360.000 units, give the drive the 500:1 mechanical ratio, or 0.72 degrees per motor revolution, as its scaling input, and the controller's degree commands travel as absolute positions. The whole-number check still applies to the unit resolution you declare.
Should more of the reduction sit in the gearbox or the belt?
Put the large share in the gearbox. A 50:1 planetary or worm stage is one purchased unit, while reaching 50:1 with a belt would need an extreme pulley spread or several stages. Keep the belt at 2:1 to 4:1 so the pulleys stay a practical size and the belt remains the cheap service item. Tooth counts are exact in both, so the split is about packaging and service, not accuracy.
Is a missed closure point ratio error or backlash?
Approach the same verification point twice from the same direction. If the short arrival grows with the size of the commanded angle, the scale is off, which means a ratio or electronic gear error. If the miss is a fixed amount regardless of angle and appears only after a reversal, that is lost motion in the gearbox or belt, and no gear ratio setting removes it.
What does a ten-revolution move demand from the pulse system?
Ten load revolutions is 3,600.000 degrees, which at 0.001 degree per pulse is 3,600,000 command pulses and 5,000 motor revolutions. At the example's 36 kHz rate the move takes 3,600,000 divided by 36,000, or 100 seconds, and the drive's position counter must hold a 3,600,000 count without wrapping. That is exactly why the multi-turn test belongs in commissioning.