AutomateDirectUSAMotion LibraryShop the parts catalog

How-to

Correcting Rack and Pinion Speed and Torque for a Gantry Retrofit

Motors, gearboxes and drives sizing Published 6 min read

Short answer

Travel per pinion revolution is πN/DP inches, not the pitch diameter. With an 8:1 reduction and a 22-tooth DP 16 pinion, 500 ipm needs about 926 rpm per gantry motor; the DP 20 carriage at 128/22 needs about 842 rpm. Size acceleration torque from moving weight, pinion radius, reduction and efficiency before buying drives.

On this page
  1. Travel per revolution is a circumference
  2. Corrected motor speed at 500 ipm
  3. Size acceleration torque before picking a motor
  4. Read the curve at the operating speed
  5. Verify the mechanics before buying drives
  6. The decision
  7. Questions asked

Your rpm figures are π times too high, and that changes the whole motor decision. Travel per pinion revolution is the pitch circumference, π × N ÷ DP inches, not the pitch diameter N ÷ DP — the 2,900 rpm computed for the gantry is exactly what you get when π drops out of the arithmetic. Corrected, 500 ipm needs about 926 rpm at each gantry motor (8:1 reduction, 22-tooth DP 16 pinion) and about 842 rpm at the carriage motor (128/22 reduction, 22-tooth DP 20 pinion). Both axes reach target speed below 1,000 motor rpm, so keep the gear train and spend the effort on acceleration torque and motor verification, in that order.

Travel per revolution is a circumference #

An N-tooth pinion meshing with a rack of diametral pitch DP — the inch-system convention of teeth per inch of pitch diameter, with module as its ISO metric counterpart in millimeters per tooth — has a pitch diameter of N ÷ DP inches. One revolution rolls that pitch circle one full circumference along the rack, so the axis advances π × N ÷ DP inches per pinion revolution. In module terms, pitch diameter = module × teeth and travel = π × module × teeth; a 12-tooth module 1 pinion has a 12 mm pitch diameter and moves its rack 37.7 mm per turn. For the geometry behind how rack travel per pinion revolution is calculated, the pitch circle is the rolling diameter: tooth tips and roots never set travel.

For this machine:

  • Gantry pinion, 22 teeth on a DP 16 rack: pitch diameter 22 ÷ 16 = 1.375 in, travel = π × 1.375 = 4.32 in per revolution.
  • Carriage pinion, 22 teeth on a DP 20 rack: pitch diameter 22 ÷ 20 = 1.100 in, travel = π × 1.100 = 3.456 in per revolution.

Corrected motor speed at 500 ipm #

Motor rpm = axis speed × reduction ÷ travel per pinion revolution:

Axis Reduction Travel per pinion turn Motor speed at 500 ipm
Gantry, two slaved motors 176 ÷ 22 = 8:1 π × 22 ÷ 16 = 4.32 in 500 × 8 ÷ 4.32 = 926 rpm
Carriage, one motor 128 ÷ 22 = 5.82:1 π × 22 ÷ 20 = 3.456 in 500 × 5.82 ÷ 3.456 = 842 rpm

The fingerprint of the dropped π: multiply each corrected speed by π and the originals come back — 926 × π = 2,909 and 842 × π = 2,645, against the 2,900 and 2,644 first calculated. At these speeds a brushless servo sits in the flat part of its torque curve, while a stepper must prove itself from its own curve at the actual drive voltage, because 900 rpm is where stepper torque is weakest. Whether a specific motor holds margin at these speeds is precisely the exercise in checking servo speed margin for a rack and pinion axis.

Size acceleration torque before picking a motor #

Speed rarely sizes a glue-dispensing gantry; acceleration does. What follows is a calculated example for the stated inputs, not a measured result.

Inputs for the gantry:

  • Moving weight W = 200 lb: 160 lb gantry plus 40 lb of Z-axis and glue head.
  • Acceleration a = 150 in/s² (0.39 g), chosen so the axis reaches 500 ipm in about 0.06 s over 0.23 in.
  • Pinion pitch radius r = 1.375 ÷ 2 = 0.6875 in; reduction R = 8; motors sharing the load n = 2.
  • Efficiency η = 0.85, assumed for the compound spur train plus the rack mesh; guide friction μ = 0.05, a rule of thumb for rolling guides.

Force: F = (W ÷ g) × a + μ × W = (200 ÷ 386) × 150 + 0.05 × 200 = 77.7 + 10.0 = 87.7 lbf.

Torque per motor: T = F × r ÷ (R × η × n) = 87.7 × 0.6875 ÷ (8 × 0.85 × 2) = 60.3 ÷ 13.6 = 4.43 lbf·in ≈ 71 oz-in.

Same method for the carriage, with W = 40 lb, r = 0.55 in, R = 5.82, n = 1:

F = (40 ÷ 386) × 150 + 0.05 × 40 = 15.5 + 2.0 = 17.5 lbf, and T = 17.5 × 0.55 ÷ (5.82 × 0.85) = 9.6 ÷ 4.95 = 1.94 lbf·in ≈ 31 oz-in.

These are peak demands during acceleration at full speed. Continuous torque at a steady 500 ipm is only friction and losses, but the motor must deliver the peak at 926 or 842 rpm, and the reflected inertia of rotors and gears adds to the same demand, so keep the load-to-rotor inertia ratio inside the drive manufacturer's stated guidance. Sensitivity check: every 10 lb added to the Z-axis costs about 3.5 oz-in per gantry motor.

Read the curve at the operating speed #

Stall torque is a zero-speed number. The existing motors' 175 oz-in stall rating says nothing about torque at 926 rpm, so it can neither clear nor condemn the retrofit by itself. Select from the published torque-speed curve at the operating point:

  • Gantry: with a 2× rule-of-thumb margin over the 71 oz-in demand, each motor should show about 140 oz-in at 926 rpm, in the peak region, with a duration rating that survives repeated acceleration bursts.
  • Carriage: about 62 oz-in at 842 rpm on the same basis.

Decision on motor type: brushless servo on both axes. This duty is short acceleration bursts at moderate speed with two axes synchronized as one, which is servo work; integrated motor-and-drive packaging is an option, but the requirement is the curve. A stepper stays in play only if its curve at your actual supply voltage shows the same numbers at the same speed.

Verify the mechanics before buying drives #

  1. Confirm the gear facts on the hardware: count pinion teeth, and check rack pitch by counting teeth over a measured span — 20 teeth in 1.250 in is DP 16, and 20 teeth in 1.000 in is DP 20.
  2. Roll-test the travel: mark the pinion, turn the motor shaft exactly one revolution, and measure 4.32 ÷ 8 = 0.540 in of gantry travel or 3.456 ÷ 5.82 = 0.594 in of carriage travel. A dial indicator settles it in minutes.
  3. Measure the mounting interface before shopping: shaft diameter and form (round, D-cut, keyed), pilot or boss diameter, bolt pattern and hole size, usable body length, and any brake.
  4. Fix the acceleration from the real work: the shortest glue segment and the longest transit move set the a in the torque math. If the paths demand 300 in/s² instead of 150, per-motor gantry torque rises to about 134 oz-in — recompute before ordering.
  5. Bench-test before full travel: verify direction and travel per motor revolution with the pinions disengaged, then engage and confirm the two gantry drives' current demands track through the same move. Two slaved motors fighting across a stiff gantry can wreck the rack and frame, so lock out the machine for mechanical changes and prove each drive singly before pairing them.

The decision #

  • Keep the reduction. Both axes reach 500 ipm below 1,000 motor rpm, so the 8:1 and 128/22 trains already on the machine are doing their job; re-gearing buys nothing here.
  • Gantry: two brushless servo motors, each showing about 140 oz-in at 926 rpm on its curve, slaved as one axis. The old 175 oz-in stall motors stay only if a curve or a bench test proves them at speed; without one they are unverified, not acceptable.
  • Carriage: one brushless servo showing about 62 oz-in at 842 rpm.
  • Recompute the torque if the real acceleration, moving weight or efficiency differs from the inputs above: at 150 in/s², 200 lb and 40 lb, the demand is 71 oz-in per gantry motor and 31 oz-in at the carriage, and every pound of added tooling moves those numbers.

Questions asked

Why were my rpm numbers almost exactly three times too high?

They used the pitch diameter where the pitch circumference belongs. Since pi is about 3.14, 926 times pi gives 2,909 and 842 times pi gives 2,645, matching the 2,900 and 2,644 rpm that were calculated. The same slip happens in metric when module times teeth is used instead of pi times module times teeth. Multiplying a corrected speed by pi and recovering the old number is a quick way to confirm the error.

How do I confirm rack diametral pitch without a datasheet?

On a rack, DP equals teeth per inch of rack length. Count teeth over a measured span: 20 teeth in 1.250 in means DP 16, and 20 teeth in 1.000 in means DP 20. Then confirm with a roll test, because one full pinion revolution should move the axis pi times teeth divided by DP inches, which is 4.32 in for the DP 16 pinion and 3.456 in for the DP 20 pinion.

Do the two gantry motors each carry half the torque?

Nominally, but only after pinion engagement and drive tuning are verified. Two motors on one stiff gantry share the load as the mechanics force them to, not as the math assumes. Compare the two drives' torque or current demand during the same acceleration; a persistent imbalance points to unequal rack mesh or one pinion arriving loaded. Until that checks out, keep the full per-motor margin in the sizing.

Can the existing 175 oz-in stall motors be reused at 926 rpm?

Not on the strength of the stall number. Stall torque is a zero-speed figure, and a servo's usable torque at speed is a property of its torque-speed curve, not derivable from the stall rating. If no curve exists for the old motors, a bench test with a known inertia and measured current gives the answer; otherwise treat them as unverified and plan to replace them.

Keep reading

  • Explainer

    Checking Servo Speed Margin for a Rack and Pinion Axis

    Speed here is kinematics, not tuning: 875 ipm through a 30:1 reducer and a 2-inch pitch-diameter pinion takes about 4,178 motor rpm against a 4,200 rpm ceiling, leaving 22 rpm of margin. Cap the ratio near 24:1, or fit a pinion near 2.5 in pitch diameter, so the motor runs at 80% of rated speed at full feed; the torque budget easily follows.

    Motors, gearboxes and drives sizing

  • How-to

    How to Choose Servo Gearing for a Ballscrew Router Axis

    Run 3:1 to 4:1 belt reduction on the X and Y axes and 2:1 on Z. The ratio comes from required rapid speed and the continuous torque rating, not the 190 oz-in stall figure; above about 4:1 a single timing-belt stage needs pulleys that do not fit a router.

    Motors, gearboxes and drives sizing

  • Selection guide

    Sizing BLDC Torque and Reduction for a Robot Arm Joint

    Size each robot arm joint by the continuous output torque it must hold at the required speed, not by motor wattage. A 5 lb payload held 500 mm from the shoulder axis demands about 11.1 N·m of gravity torque before any link mass, so that joint fixes the reduction ratio and the motor's continuous current. If loaded holding current exceeds about 80% of the continuous rating, change the motor or raise the ratio.

    Motors, gearboxes and drives sizing