AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Geared rotary encoder resolution versus gear train backlash

Sensors, encoders and machine vision on the machine Published 6 min read By AutomateDirectUSA engineering team

Short answer

Gearing a 512-count encoder 5:1 gives 2560 counts and about 0.14° per count at the output, but backlash measured at the output shaft decides whether those counts mean anything. The step-up gearing pays off only when the lash at the output is under about two counts, which calls for a tensioned timing belt or a spring-loaded split gear plus an output-shaft home reference.

On this page
  1. The formula that sets the count size
  2. Where the lash is measured changes the answer
  3. A worked example: 512-count encoder, 5:1 step-up, 1° of output lash
  4. Making the train lash-free enough to count
  5. Signal rate and sensor limits on a cheap optical disc
  6. Prove it: reversal repeatability and drift
  7. Questions asked

Yes, you can gear an encoder up for more counts, and no, it usually does not buy usable resolution. A 5:1 step-up multiplies the counts reaching your controller by five, but the position reading at the output shaft is only as fine as the backlash between the output and the encoder. The decision comes down to one comparison: the angular size of one count at the output versus the lash measured at the output. Below is the arithmetic, the lash test and the threshold that decides.

The formula that sets the count size #

The angular step seen at the output shaft is:

output step = 360 / (N x k x R) degrees

where N is the line or slot count of the encoder per revolution, k is the decode multiplier (1 for single-channel edge counting, 2 or 4 for quadrature) and R is the step-up ratio. Gearing raises R and shrinks the step proportionally. Backlash does not shrink with R. It only shows on direction reversal, but there it appears as a dead zone that can span many counts, and every extra mesh in the train adds its own lash.

The comparison for a lash of one degree measured at the output shaft:

Encoder and mount Counts per output rev Step at output One degree of output lash spans
512 steps/rev, direct 512 about 0.70° over one step
512 steps/rev, R = 5 2560 about 0.14° about 7 counts
512 lines, 4x quadrature, R = 5 10240 about 0.035° about 28 counts
8000 counts, direct 8000 0.045° no train lash at all

The 512 and 8000 figures are common encoder sizes quoted for comparison; every other cell is arithmetic from the formula. The table shows the trap: raising R makes the dead zone wider in counts, not smaller.

Where the lash is measured changes the answer #

If the quoted lash is measured at the output shaft, one degree of output-side play is one degree of output error no matter what the ratio is, and the finer counts only let you see the dead zone more clearly. If the same one degree is measured at the encoder shaft, the equivalent error at the output is the lash divided by the ratio: 1 / 5 = 0.2°, which is comparable to the step size, and there the gearing can pay off.

Measure both ways before deciding. Lock the output shaft, rock the encoder shaft by hand and read the angular play. Then lock the encoder shaft, rock the output and read again. Convert both readings to output degrees using the ratio.

A worked example: 512-count encoder, 5:1 step-up, 1° of output lash #

Inputs: N = 512 steps per encoder revolution (the disc you have), k = 1 (single-channel counting), R = 5 (the gear pair), lash = 1° at the output shaft (the measured value).

The rule: the step-up gearing is worth keeping only if the lash at the output is under about two output steps.

The arithmetic:

counts per output rev = 512 x 1 x 5 = 2560 output step = 360 / 2560 = 0.14° lash in counts = 1 / 0.14 = about 7 counts

Result: the dead zone spans about 7 counts. The extra counts resolve the lash, not the load.

Decision: 7 counts of dead zone is far above the two-count threshold, so this geared setup is rejected as a position feedback scheme. Either move the encoder direct to the output shaft (one 0.70° step, and the lash moves inside the actuator where the controller can measure around it) or rebuild the train with a tensioned timing belt or a spring-loaded split gear and re-measure. If you are replacing the belt in that train, measure the center distance and order a matching timing belt rather than reusing a stretched one. Only if the re-measured lash drops below about 0.28°, which is two steps, does the 5:1 gearing earn its place.

Making the train lash-free enough to count #

Two mechanisms can bring output-side lash under the two-count threshold:

  • A toothed timing belt under tension removes tooth lash at the belt itself; a smooth belt slips, and slip is worse than backlash because it is not repeatable and an incremental encoder never sees it.
  • A spring-loaded split gear pair: two gears that slip slightly against each other, preloaded by a spring so their teeth pinch the mating gear from both flanks and hold lash near zero, at the cost of friction and wear. Set the preload so the mesh stays loaded in both directions without stalling the motor or bending a plastic shaft.

Because belt creep or a skipped tooth is invisible to an incremental encoder, fit a home reference on the output shaft and read it at start-up. The home position must repeat to within one encoder turn divided by R, or the counted position is ambiguous after any missed event. For the mounting choice between belt drive and direct coupling as a system decision, see the comparison in timing belt versus direct mount for a rotary encoder.

Signal rate and sensor limits on a cheap optical disc #

Edge frequency per channel is f = N x (rpm_output x R / 60). A 100-slot disc at 60 rpm output through a 5:1 step-up turns 5 revolutions per second: 500 Hz per channel, 2 kHz decoded in quadrature. That rate is easy for a hardware timer in encoder mode. The weak point is the bare phototransistor: its edge speed depends on the load resistor, and slow rounded edges cross the logic threshold at amplitude-dependent points, adding jitter. Condition the signal with a Schmitt-trigger input set near mid-swing. More slots on a printed disc hit the limits of print accuracy and phototransistor speed before the count becomes useful, which is why people reach for gearing in the first place. Wear matters too: the small gear runs at R times the output speed, and plastic teeth shed dust that coats the optical slot and eventually drops counts.

Prove it: reversal repeatability and drift #

  1. Drive the output to a mark from the clockwise side at ten positions, then from the counterclockwise side. The count difference at each mark is the reversal error; compare it with the measured lash.
  2. Run 100 full-scale cycles and return to home. Net count drift means missed edges, slip or a threshold problem.
  3. Repeat at the highest operating speed, because missed counts rise with edge rate.
  4. Inspect the optical slot for plastic dust after the run.

For a contactless alternative that avoids the train entirely, a magnet on the output shaft with a Hall-effect angle sensor removes gear lash completely; magnet axis alignment and air gap set the accuracy.

Questions asked

Does encoder quadrature decoding change the comparison?

Yes, in your favor. Decoding both channels on both edges gives four counts per line, so a 512-line disc reads 2048 counts per revolution, about 0.18° at the output when mounted direct. That is finer than one degree of output-side lash, but the lash still spans about 5.7 counts, so the gear train remains the limiting element, not the disc.

What edge frequency does a step-up gear create?

Edge rate per channel is the line count times the encoder revolutions per second. A 100-line disc at 60 rpm output through a 5:1 step-up turns 5 revolutions per second, giving 500 Hz per channel and 2 kHz of decoded counts. That is easy for a hardware timer, but the bare phototransistor edge speed depends on its load resistor, so condition the signal with a Schmitt-trigger input.

Why does an absolute encoder become ambiguous behind a step-up gear?

A single-turn absolute encoder behind a 5:1 step-up turns five times for each output revolution, so its reading repeats five times per turn of the load and cannot tell which of the five turns it is in. You need a multi-turn sensor or a home switch on the output shaft, with the home position repeatable to within one encoder turn divided by the ratio.

Keep reading

  • How-to

    What Steps per Revolution Mean for a Resolver Technology Object

    For the 1FK7032-2AK71-1UA2's three-pole-pair resolver, enter 3 steps per revolution and 11 fine-resolution bits (STARTER P418), use standard telegram 3 at both interfaces, and select Rotary incremental in the TIA Portal V13 technology object. The resulting 6144 increments per motor revolution is calculated scaling, not an accuracy rating.

    Sensors, encoders and machine vision on the machine

  • Explainer

    Spindle encoder resolution changes with each gear: what decides it

    A motor-mounted spindle encoder needs a new resolution entry in every gear because counts per tool-spindle revolution equal ppr times the quadrature multiplier times the gear ratio. Compute that number, check pulse frequency at top motor speed, and if per-gear retuning keeps failing, mount a spindle-side encoder at a fixed 1:1 ratio so one calibration serves all gears.

    Sensors, encoders and machine vision on the machine

  • Selection guide

    Choosing Encoder Resolution to Match a Stepper Step Response

    A 50 ppr encoder read in x4 gives 200 counts/rev — one count per 1.8° full step, so the loop sees only before and after each step and ±1 count is ±1.8°. Size the encoder by counts per full step: 10 counts per step, which is 500 ppr in x4 at 2000 counts/rev and 0.18° per count, is the working minimum to reproduce a stepper's damped step response.

    Sensors, encoders and machine vision on the machine