Alternating Rectilinear via Worm and Rack: How the Mechanism Works, Parts, Diagram and Uses

← Back to Engineering Library

Alternating Rectilinear via Worm and Rack is a motion-control mechanism that converts continuous rotary input into reversing linear output by running a worm against a rack whose teeth wrap around both faces, so the nut travels one way to the end of the rack, then automatically engages the return face and travels back. Typical strokes run 100–600 mm at 10–80 cycles per minute. The purpose is to get reciprocating linear motion from a single-direction motor — no reversing contactor, no clutch. You see it on metal shapers, flatbed scanners, and reciprocating saw tables where a continuously running motor must drive a back-and-forth stroke.

Alternating Rectilinear Worm and Rack Interactive Calculator

Vary the worm pitch radius, transition radius, and allowed tolerance to see whether the rack reversal curve will pass the worm cleanly.

Nominal Radius
--
Minimum Radius
--
Maximum Radius
--
Radius Error
--

Equation Used

R_transition = R_worm +/- tol; error = abs(R_transition - R_worm)

The rack end curve should match the worm pitch radius. This calculator reports the nominal transition radius, the allowable minimum and maximum, and the absolute mismatch between the selected transition radius and the worm pitch radius.

  • Transition curve is checked against the worm pitch radius.
  • Positive margin means the worm should enter the return face without radius mismatch.
  • Tooth finish, lubrication, and axial float are not included in this radius-only check.
Watch the Alternating Rectilinear via Worm and Rack in motion
Video: Worm gear rack jack by Nguyen Duc Thang (thang010146) on YouTube. Used here to complement the diagram below.
Worm and Rack Mechanism Diagram A side-view engineering diagram showing how a worm travels around a closed-loop rack with teeth on both faces. Motor input (one direction) Carriage Worm (constant spin) Top teeth Bottom teeth Transition zone Transition zone Forward → ← Return Transition radius ≈ worm pitch radius (±0.05 mm) Typical stroke: 100–600 mm Key Principle: Worm spins one way; rack geometry reverses travel
Worm and Rack Mechanism Diagram.

Inside the Alternating Rectilinear via Worm and Rack

The trick is in the rack. Instead of a flat strip of teeth on one side, the rack has teeth wrapping around in a continuous loop — a U-shaped or oval tooth path with a smooth transition at each end. The worm rides in this groove. As the worm spins in one direction the rack pulls the carriage along the top face. When the carriage hits the end, the worm rolls smoothly into the curved transition section and picks up the bottom face, which sends the carriage back the other way. The motor never reverses. The mechanism reverses for it.

The geometry that makes this work cleanly is the transition radius at each end of the rack. If that radius is too tight the worm jams or skips a tooth — you'll hear a sharp click and the carriage will stall mid-stroke. If it's too generous you waste stroke length and the carriage dwells at the ends longer than it should. We typically hold the transition radius to within ±0.05 mm of the worm pitch radius on a 6 mm worm, and the tooth-flank surface finish below Ra 0.8 µm. Anything rougher and the worm chatters as it crosses the transition.

Why this design at all? Because a reversing linear mechanism driven by a non-reversing motor is mechanically simple, self-locking under load (the worm won't back-drive the rack), and quiet. The common failure modes are predictable: worn transition zones from undersized worms, lost lubrication that lets the worm gall the rack flank, and timing skew if the worm has axial play above 0.1 mm. Catch those three and the mechanism runs for years.

Key Components

  • Driving Worm: Single- or double-start cylindrical worm, typically 6–25 mm pitch diameter, machined from hardened steel (HRC 55–60). The worm runs continuously in one direction at 30–300 RPM. Axial float must be held under 0.1 mm or the carriage will skip teeth at the transition zones.
  • Closed-Loop Rack: The defining part — a rack with teeth wrapping around both long edges and joined by curved transition sections at each end. Made from bronze or hardened alloy steel depending on duty. The transition radius must match the worm pitch radius within ±0.05 mm.
  • Carriage / Nut Housing: Holds the worm and its bearings, rides on linear guides parallel to the rack. The carriage is what the load attaches to. Guide rails take the side load so the worm sees only torque, not bending.
  • Transition Guide: A small follower or shoe at each end of the carriage that helps shepherd the worm from one rack face to the other. Without it, high-speed builds skip teeth at reversal. Adjustable via shim stack, typically 0.5 mm shim increments.
  • Drive Motor: A standard non-reversing AC or DC gearmotor, 30–300 RPM output. Because the worm is self-locking the motor doesn't need a brake. Sized for the peak torque demand at the transition zone, which is roughly 1.4× the steady-state stroke torque.

Industries That Rely on the Alternating Rectilinear via Worm and Rack

You find this mechanism wherever a designer needs reversing linear motion from a single-direction motor and wants to avoid the cost, wiring, and wear of a reversing drive. It shines in machines that run continuously through long shifts where reversing-contactor wear would be a real maintenance burden. The applications below are the classic real-world homes for it.

  • Metalworking: Shaper machines like the South Bend 7-inch shaper used the worm-and-rack-style reciprocator concept on the ram drive in early designs, giving the cutting tool a forward stroke and return stroke from a single motor.
  • Document Imaging: Flatbed scanners — the carriage drive in older Canon and HP large-format scanners used a closed-loop linear reversing mechanism to sweep the sensor bar across the platen and return.
  • Textile Machinery: Traverse mechanisms on yarn winders use this principle to lay yarn evenly across a bobbin. Schweiter and SSM winders rely on similar closed-rack reversers to maintain consistent stroke at 100–400 cycles per minute.
  • Woodworking: Reciprocating sanders and stroke sanders, including older General International stroke-sander tables, used closed-loop worm-and-rack drives to push the sanding belt platen back and forth under the workpiece.
  • Industrial Automation: Reciprocating spray paint booths — Graco and Nordson finishing systems have used this drive type on gun carriages where uninterrupted stroke cycles run for hours and a reversing motor would prematurely fail.
  • Test Equipment: Wear and abrasion testers, including Taber-style linear abrasion machines, where a specimen must travel back and forth thousands of times per test under controlled stroke length.

The Formula Behind the Alternating Rectilinear via Worm and Rack

The number that matters most for a builder is the carriage linear speed, because it sets cycle time, stroke quality, and whether the transition zones can keep up. At the low end of the typical range — say 30 RPM input — the carriage crawls and you'll see long dwell at each end, which is fine for paint booths but useless for a shaper. At the high end — 300 RPM input — the worm crosses the transition fast enough that the carriage can skip teeth if the transition radius is loose. The sweet spot for most builds sits between 60 and 120 RPM. The formula below converts worm RPM into carriage linear speed during steady-state stroke.

vc = (Nw × p × Zs) / 60

Variables

Symbol Meaning Unit (SI) Unit (Imperial)
vc Carriage linear speed during steady stroke m/s in/s
Nw Worm rotational speed RPM RPM
p Rack tooth pitch (axial pitch of the worm) m in
Zs Number of worm starts (1 for single-start, 2 for double) dimensionless dimensionless

Worked Example: Alternating Rectilinear via Worm and Rack in a reciprocating spray-paint booth carriage

You are sizing the carriage drive for a reciprocating spray-paint booth that finishes 1.2 m wide cabinet doors. The carriage carries two HVLP guns and must traverse 800 mm of stroke. You have a single-start worm with 5 mm axial pitch driven by a 90 RPM gearmotor. The rack is a closed-loop bronze rack with transition radii machined to match the 12 mm worm pitch diameter.

Given

  • Nw = 90 RPM
  • p = 0.005 m
  • Zs = 1 starts
  • Stroke length = 0.800 m

Solution

Step 1 — at nominal 90 RPM, compute the steady-state carriage speed:

vc,nom = (90 × 0.005 × 1) / 60 = 0.0075 m/s

That's 7.5 mm/s, which means a single 800 mm pass takes about 107 seconds. For a paint booth this is fine — the gun lays down a controlled wet film and the operator hears a quiet, even stroke.

Step 2 — at the low end of the typical operating range, 30 RPM, the carriage slows proportionally:

vc,low = (30 × 0.005 × 1) / 60 = 0.0025 m/s

At 2.5 mm/s the carriage takes over 5 minutes per pass. You'd only run this slow for ultra-heavy-build coatings or test cycles. The worm dwells at each transition long enough that any backlash in the carriage shows up as a visible pause — fine for finish work, frustrating for production.

Step 3 — at the high end, 300 RPM input:

vc,high = (300 × 0.005 × 1) / 60 = 0.025 m/s

25 mm/s sounds workable on paper but in practice the worm hits the transition radius at the end of each stroke roughly every 32 seconds, and at this speed the worm tooth crosses the curved section in under 50 ms. If the transition radius is even 0.1 mm off the worm pitch radius you'll hear a sharp tick on every reversal and the carriage will start skipping teeth within a few hundred cycles. Most builds cap useful speed around 120–150 RPM input for that reason.

Result

Nominal carriage speed comes out to 0. 0075 m/s, or 7.5 mm/s, giving a clean 107-second stroke across the 800 mm path. The low-end 30 RPM case crawls at 2.5 mm/s — useful only for slow-cure coatings — while the 300 RPM high-end case theoretically reaches 25 mm/s but in practice tops out near 12–15 mm/s before reversal-zone tooth skip becomes audible. If your measured carriage speed comes in 15% lower than predicted, the most common culprits are: (1) worm axial play above 0.1 mm letting the worm shuttle instead of driving, (2) lost lubrication in the rack groove causing stick-slip you can hear as a low growl, or (3) a misaligned transition guide shoe that's loading the worm sideways and stealing torque from forward motion.

Alternating Rectilinear via Worm and Rack vs Alternatives

Worm-and-rack alternating rectilinear is one of several ways to get reversing linear motion from a rotary input. The right choice depends on stroke length, cycle rate, accuracy demand, and whether you can tolerate a reversing motor or want to avoid one. Here's how it stacks up against the two most common alternatives.

Property Worm and Rack Alternating Scotch Yoke Reversing Ball Screw
Typical cycle rate 10–150 cycles/min 60–600 cycles/min 30–300 cycles/min
Stroke length range 100–600 mm 20–200 mm 50–3000 mm
Positional accuracy ±0.2 mm ±0.05 mm at midstroke, sinusoidal ±0.01 mm
Cost (relative) Medium — custom rack required Low High — needs servo and reversing drive
Self-locking under load Yes — worm won't back-drive No No (most pitches)
Maintenance interval Re-grease every 500 hours Bushing inspection every 1000 hours Ball-nut re-lube every 200 hours
Best application fit Continuous-duty reciprocators with single-direction motor High-speed short-stroke pumps and feeders Precision positioning with programmable stroke

Frequently Asked Questions About Alternating Rectilinear via Worm and Rack

Asymmetric tooth skip almost always traces back to the transition radius being machined slightly differently on the two ends of the rack. Even a 0.05 mm difference between ends shows up as skip on the tighter side because the worm has to climb a sharper curvature at the same instantaneous angular speed.

Pull the carriage and measure both transition radii with a radius gauge or pin set. If one end is tighter, you can either re-machine the rack or shim the transition guide on the bad end by 0.2–0.5 mm to give the worm a bit more lead-in. Don't try to fix it by slowing the motor — the geometry is wrong, not the speed.

Pick a Scotch yoke when stroke is short (under 200 mm), cycle rate is high (above 150 cycles per minute), and you want sinusoidal velocity — slower at the ends, faster in the middle. Yokes are mechanically simpler and cheaper.

Pick worm-and-rack when you need constant velocity through most of the stroke, longer travel (300+ mm), self-locking behaviour under load, or when you cannot tolerate the high reversal acceleration that a Scotch yoke punishes the load with at the dead-centres. Paint booths, scanners, and stroke sanders all want constant velocity, which is why they use this mechanism.

Steady-state worm torque is straightforward — it's just the load force times pitch radius divided by efficiency (typically 0.5–0.7 for worm gears). The trap is that at each transition zone the worm geometry briefly demands more torque because the tooth engagement angle changes and the lubricant film thins.

Rule of thumb: size the gearmotor for 1.4× the steady-state torque demand and confirm the motor's stall torque is at least 2× steady-state. If your motor barely makes the stroke and stalls at reversal, you sized it for the wrong operating point.

Heat-induced noise on a worm-and-rack reciprocator is almost always lubricant viscosity falling off as the rack and worm warm up. Cold grease holds a thick film at the transition zones; once it thins, the worm starts metal-to-metal contact at the curved sections and you'll hear a rising whine or chatter.

Two fixes: switch to a higher-viscosity grease rated for the actual operating temperature (NLGI 2 with EP additives is a common upgrade), or add a small fan over the rack to keep bulk temperature under 50 °C. If neither helps, your worm and rack flank surface finish is too rough — Ra above 1.6 µm will not hold a film at temperature.

You can get equal stroke, but only if the rack is symmetric end-to-end and the carriage limit switches (if you have any) are set off the carriage centreline rather than the worm position. The worm itself has a small axial pickup distance at each transition — typically 1–3 mm — and if your rack is machined symmetrically this distance is identical at both ends, so net stroke is symmetric.

If you measure stroke and find one direction is 4–6 mm shorter than the other, the rack is biased. Rotate or flip it and re-measure before you blame the carriage.

Double-start (Zs = 2) doubles the carriage speed at the same RPM, which sounds like a free upgrade. The catch is that double-start worms have a steeper lead angle and lose self-locking behaviour above about 6° lead — meaning the load can back-drive the worm under the right conditions.

For a horizontal carriage with no gravity load (paint booth, scanner) double-start is fine and lets you run at half the RPM for the same speed, which extends gearmotor life. For vertical or loaded applications, stay with single-start so the mechanism holds position when the motor stops.

References & Further Reading

  • Wikipedia contributors. Rack and pinion. Wikipedia

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: