Alternating Motion Mechanism: How It Works, Diagram, Parts, Formula and Uses Explained

← Back to Engineering Library

This alternating-motion mechanism uses a toothed sector pinion between two opposing racks on a guided frame. As the shaft keeps turning in one direction, the sector drives one rack and then the other, reversing the frame’s travel. Compare pitch-arc travel and cycle rates with the calculator, and see how sector angle affects engagement and unpowered dwell.

Alternating Motion Interactive Calculator

Compare theoretical pitch-arc travel and cycle rates for a sector pinion driving a double-rack frame. Sectors above 180° create interference in this layout.

0°

Theoretical pitch arc
--
Nominal Cycle
--
Low Cycle
--
High Cycle
--

Equation Used

S = pi * Dp * (theta_t / 360); f_cyc = N_in / 60

The calculated pitch arc is π times pitch diameter times the sector fraction of a revolution. For sectors up to 180°, it describes ideal one-way travel during engagement in this double-rack model. Above 180°, the arithmetic still gives an arc length, but the opposing rack constraints interfere. Cycle rates assume one out-and-back sequence per shaft revolution.

  • Ideal engaged travel equals the pitch arc for the non-interfering sector range.
  • One shaft revolution produces one full extend-and-retract reciprocation cycle.
  • The pitch-arc calculation omits slip, backlash, tooth deflection and tooth-entry dynamics; the animation includes unpowered gaps for sectors below 180°.
  • The three speed inputs are independent comparisons, not a validated production throughput.

A sector above 180 degrees conflicts with both opposing racks. The pitch-arc result remains a geometric calculation, but is not a feasible stroke for that setting. Sectors below 180 degrees include unpowered dwell.

Watch the Alternating Motion in motion
Related video: Alternating Motion 1. The interactive diagram illustrates a sector pinion and opposing racks.
Same mechanism and inputs as the interactive calculator.

One rotating pinion, two opposite engagements

The guided output frame carries an upper and lower rack facing inward. A pinion with teeth over only part of its circumference sits between them. Its teeth push the upper rack in one direction; half a turn later they engage the lower rack and push the same frame in the opposite direction.

At constant shaft speed, ideal engaged rack speed follows the pinion pitch-line speed. Changing sides reverses the required direction. This simplified geometric model does not supply a smooth physical acceleration through reversal, so the drawing is not a complete tooth-entry or dynamic design.

Parts in the animation

  • Sector pinion: provides the active tooth arc and toothless gap.
  • Opposing racks: are attached to the same output frame.
  • Guides: constrain the frame to linear travel.
  • Input shaft: rotates continuously in one direction.

A sector below 180° leaves intervals when neither rack is driven. The animation holds the frame during these intervals, but a loaded real mechanism needs an appropriate holding arrangement. A sector above 180° attempts to engage both racks at once with incompatible motion; the animation marks that interference.

Studying reciprocating drives

The arrangement demonstrates how intermittent gear engagement can produce back-and-forth travel without reversing the input shaft. It can help compare a mechanically timed reciprocator with a crank-slider, scotch yoke or cam drive.

Reciprocation is also used in packaging, machine tools and pumps, but that does not mean each machine uses this sector-and-double-rack layout. A quick-return shaper, wobble-plate saw and sector-pinion drive have different mechanisms and motion profiles.

A working design needs load, inertia, holding, tooth-entry, strength, guide and drive calculations. The displayed pitch arc and cycle frequencies do not establish allowable speed, motor size, product-transfer timing or fatigue life.

Pitch arc and cycle frequency

For pitch diameter Dp in millimetres and sector angle θ in degrees, theoretical pitch arc S = πDpθ/360. Each entered speed N in rpm gives a comparison frequency f = N/60 cycles per second. These three speed values are independent inputs; their labels do not automatically sort them.

In the illustrated non-interfering range, each revolution includes two engagement intervals of θ degrees. For θ below 180°, each unpowered gap is 180° − θ. At constant N, gap time per end is (180 − θ)/360 × 60/N seconds. The total unpowered fraction is 1 − θ/180.

Thus a 180° sector has no geometric dwell. A 90° sector gives two 90° gaps, so half the full cycle is unpowered, not three-quarters. At θ above 180°, the calculated arc must not be read as a feasible stroke for this arrangement.

The formulas use pitch diameter, not outside tooth diameter. They do not predict peak force, contact stress or impact severity. Actual engagement requires compatible tooth geometry and a dynamic design beyond the ideal pitch-line relation.

Worked example: travel and dwell

With Dp = 32 mm and θ = 180°, theoretical one-way travel is π × 32 × 180/360 = 50.27 mm. At nominal 90 rpm the cycle rate is 1.5 Hz and the full-cycle period is 0.6667 s. Each ideal direction lasts 0.3333 s, with no dwell at this sector angle.

The comparison speeds of 45 and 120 rpm give 0.75 and 2 Hz respectively. These values alone do not establish whether the load can safely reverse at those rates.

Changing the sector to 150° reduces the pitch arc to 41.89 mm. At 90 rpm, each 30° gap lasts 0.05556 s, or 55.56 ms. The frame is unpowered during those gaps and needs an appropriate holding arrangement in a loaded implementation.

A 210° input produces a numerical pitch arc of 58.64 mm, but also produces interference in the double-rack layout. It is not a longer usable stroke.

Comparing reciprocating motion profiles

Mechanism Ideal motion characteristic Design consideration
Sector pinion and double rack Constant pitch-line speed during engagement, with changeover and possible gaps. Reversal and holding behavior need separate design.
Scotch yoke Sinusoidal displacement at constant crank speed. End velocity is zero, but acceleration and inertia forces are not.
Crank-slider Continuous reciprocation affected by rod-length ratio. Rod and guide loads depend on geometry and inertia.

None is universally impact-free or suitable for a quoted maximum frequency. Backlash, compliance, loading and construction determine actual forces and service life.

Alternating-motion questions

The pinion acts on opposite sides of its rotation when it engages the upper and lower racks. Those racks are on the same guided frame, so alternate engagement reverses frame travel.

Not in this double-rack arrangement. It would engage opposing racks simultaneously and demand incompatible frame motion. The arc result remains arithmetic, not a feasible stroke.

No. The ideal engagement intervals fill the revolution. Physical tooth entry and reversal still need a design that this pitch-line model does not supply.

There are two unpowered gaps of90° per revolution, totaling180° or half the cycle. These gaps do not themselves lock the output under load.

No. It uses pinion pitch diameter. Outside tooth diameter is a different dimension.

No. They are independent numerical comparisons. Changing rpm changes cycle rate without calculating load, contact stress, motor capacity or fatigue.

Not from this calculator. Reversal forces depend on moving mass, acceleration, compliance and tooth engagement. A generic multiplier does not establish adequate strength.

The pitch arc assumes ideal engagement. Tooth entry, backlash, compliance and guide behavior can affect an actual mechanism. This calculator does not diagnose a specific fault or prescribe clearances and repairs.

References and further reading

KHK USA: Converting Rotary to Linear Motion Using Rack and Pinion explains the relationship between pitch geometry, rotation and travel. It supports the pitch-arc relation, not a strength or operating-speed rating for the intermittent double-rack mechanism.

Building or designing a mechanism like this?

Explore the precision-engineered motion control hardware used by mechanical engineers, makers, and product designers.

← Back to Mechanisms Index
Share This Article
Tags: