Planetary gear simulator

Ring teeth
Input
Output
Speed ratio
Torque

A sun gear in the middle, planets on a carrier around it, and a ring with teeth on the inside. Hold one part and drive another: the same gears give different speeds. Automatic car gearboxes change gear this way.

The formula

(ωs − ωc) / (ωr − ωc) = −zr / zs

This is Willis' equation. Seen from the carrier, the gears are an ordinary train: the sun drives a planet, the planet drives the ring, and the ring turns the other way at zs/zr of the sun's speed. Hold one part (set its ω to 0) and the equation gives the other two:

Which sets can be built

The planets have to fill the gap between sun and ring, so zr = zs + 2zp. For n planets spaced evenly to all mesh at once, (zs + zr) / n must be a whole number. And the planets must not touch each other. The planet slider only offers counts that pass all three. With 18 or more teeth everywhere (the fewest that need no undercut at 20°), every gear is drawn with exact involute teeth.

Tested: a set assembles only when ring teeth = sun teeth + 2 × planet teeth and (sun + ring teeth) ÷ planets is whole, the speed ratio with each part held, and every planet meshes with sun and ring without overlap (packages/mechanics/test/planetary.test.ts).

Related: Gear ratio · Clock motion work · Gear generator