The gear and gearbox generator is under continuous development and updated almost every day.
Rack and pinion generator

Loading the generator…

Rack and pinion generator

About this generator

Rack and pinion

A pinion and a rack turn rotation into straight-line motion, and in both directions: turning the pinion moves the rack, and pushing the rack turns the pinion. Unlike a lead screw, a rack and pinion is not self-locking, and its length is not limited by a long screw that sags and whips: the rack can be extended segment by segment, and the feed speed depends only on the speed and size of the pinion. That is why it works in long machine axes, sliding gates and car steering systems.

Travel per turn

One turn of the pinion moves the rack by the circumference of its pitch circle, π · m · z – module 1 and 20 teeth give about 62.8 mm. When you enter the travel, the generator chooses the number of pinion teeth and the module so that it comes out exactly, even with a module outside the standard series. With the module lock closed it stays with the chosen module, and when another one would give the travel more accurately, it suggests unlocking. With a stepper motor, the distance of one step is the travel per turn divided by the number of steps per turn – 62.8 mm with 200 steps gives about 0.31 mm; a smaller pinion gives a finer step but a slower feed.

Axis distance and backlash

The most important mounting dimension is the distance from the pinion axis to the base of the rack – it decides whether the teeth mesh with the right backlash. The generator shows it on the drawing and lets you change it and lock it; when you change the module or the number of teeth, the profile shift and the back of the rack adapt so that this distance stays. Because the distance does not change the travel, backlash can also be taken up by moving the rack closer to the pinion.

Pushing force and separating force

The force with which the pinion pushes the rack is the torque on its shaft divided by the pitch radius: a torque of 0.5 N·m on a pinion with a 20 mm pitch diameter gives 50 N. With the same motor, a smaller pinion therefore gives more force and a finer step, a larger one a faster feed – the same choice as when selecting a gear ratio. The teeth do not push exactly along the bar, though: the force acts along the line of action, so part of it pushes the rack away from the pinion – at a 20° pressure angle about 0.36 of the pushing force. The rack guide must take this component. When the rack can bend away from the pinion, the teeth come out of mesh, backlash grows and under heavy load the teeth skip – which is why the rack is supported close to where the pinion works.

Printing and assembly

The generator divides a long rack into segments joined with dovetails and shows it shortened on the drawing. You can screw the rack down through mounting holes or run it in a rail with grooves in its sides; mount the pinion on the motor shaft with a flatted or keyed bore, with a hub and a set screw. The animation shows both parts moving before you print anything.