Gear Train Simulator Back
Mechanical Design & Kinematics

Gear Train Simulator (Spur & Planetary Gears)

Animated meshing gear pairs, compound trains, and planetary gear sets. Auto-calculate gear ratio, output speed, torque ratio, and pitch circle diameter.

Mode
Driver Teeth N₁20
Driven Teeth N₂40
Input Speed1000RPM
Module m2mm
Results
Velocity Ratio i
2.000
Output Speed
500RPM
Torque Ratio
1.96×
Total Efficiency
98.0%
d₁ Pitch Dia.
40mm
d₂ Pitch Dia.
80mm
Center Distance
60.0mm

Key Formulas

Velocity ratio: $i = N_2/N_1$
Pitch circle: $d = m \cdot Z$
Center distance: $a = m(Z_1+Z_2)/2$
Planetary (ring fixed): $n_c = n_s \cdot Z_s/(Z_s+Z_r)$

Animation: each gear rotates at its correct angular velocity ratio

What is a Gear Train?

🧑‍🎓
What exactly is a "gear ratio," and how do I see it in this simulator?
🎓
Basically, the gear ratio tells you how much the speed and torque change between two meshing gears. In a simple spur gear pair, it's just the ratio of their tooth counts. In the simulator, try setting the 'Driver Teeth N₁' to 20 and 'Driven Teeth N₂' to 40. You'll see the smaller driver gear spins twice as fast as the larger driven gear, giving a ratio of 2:1 for speed reduction (or 1:2 for torque multiplication).
🧑‍🎓
Wait, really? So the "module" (m) slider changes the gear size but not the ratio? What's it for?
🎓
Exactly! The ratio depends only on tooth counts. The module defines the physical *size* and strength of the teeth. A larger module means bigger, stronger teeth for transmitting more torque, but the gears also get physically larger. Slide the 'Module m' control and watch the pitch circles grow. For two gears to mesh in reality—and in this simulator—they must have the *same* module.
🧑‍🎓
That makes sense. The planetary gear setup looks more complex. What's the main advantage of cramming all those gears in one place?
🎓
Great observation! Planetary gears (or epicyclic gears) are a game-changer. They provide high reduction ratios in a compact, coaxial package—meaning input and output shafts are in line. In the simulator, with the ring gear fixed, change the 'Sun Gear Teeth Zs'. You'll see a large speed reduction from the sun gear (input) to the carrier (output) without needing multiple bulky gear stages. This compactness is why they're inside automatic transmissions.

Physical Model & Key Equations

The fundamental relationship for a simple spur gear pair is the velocity ratio (or gear ratio) i, defined as the ratio of the driven gear's teeth to the driver's teeth. This inversely relates their rotational speeds.

$$i = \frac{N_2}{N_1}= \frac{\omega_1}{\omega_2}$$

Where \(N_1, N_2\) are the numbers of teeth on the driver and driven gears, and \(\omega_1, \omega_2\) are their angular speeds. If \(i > 1\), you have a speed reducer (output is slower but has more torque).

The physical size of a gear is determined by its module and tooth count. The pitch circle diameter is the theoretical circle on which gears mesh perfectly.

$$d = m \cdot Z$$

Where \(d\) is the pitch circle diameter, \(m\) is the module (in mm), and \(Z\) is the number of teeth. The center distance between two meshing gears is the average of their pitch diameters, crucial for proper assembly.

$$a = \frac{m(Z_1 + Z_2)}{2}$$

For a planetary gear train with the ring gear fixed, the relationship between the sun gear speed (\(n_s\)), carrier speed (\(n_c\)), and ring gear speed (\(n_r=0\)) is given by the following kinematic equation.

$$n_c = n_s \cdot \frac{Z_s}{Z_s + Z_r}$$

Where \(Z_s\) and \(Z_r\) are the tooth counts of the sun and ring gears, respectively. This shows the compact speed reduction possible: for example, a small sun and large ring yield a very low output speed at the carrier.

Real-World Applications

Automotive Transmissions: Planetary gear sets are the heart of automatic transmissions. By using clutches and brakes to hold different elements (sun, carrier, ring) stationary, a single planetary set can provide multiple gear ratios, reverse, and a neutral state, all in an incredibly compact space.

Industrial Gearboxes: Multi-stage spur gear trains, like the 2-stage model in the simulator, are used in conveyor systems, mixers, and heavy machinery. Engineers use the module to design teeth strong enough to handle high torque loads without failure over years of operation.

Precision Robotics & Aerospace Actuators: High-reduction planetary gearheads are attached to motors in robotic joints and aircraft flap actuators. They provide the high torque and precise, backlash-controlled motion needed for accurate positioning from a small, lightweight package.

Wind Turbines: The gearbox in a wind turbine is a prime example of a massive, multi-stage speed increaser. The slow rotation of the blades is converted into the high-speed rotation required by the electrical generator, using principles identical to those in the simulator's multi-stage setup.

Common Misconceptions and Points to Note

First, while playing with the simulator, have you ever thought, "As long as the tooth counts match, any combination will mesh"? Actually, there's a major pitfall. Gears won't mesh properly unless they share the same module (tooth size). For example, a 20-tooth gear with module 2 (pitch circle diameter 40mm) and a 20-tooth gear with module 2.5 (pitch circle diameter 50mm) might look similar but will absolutely not mesh. In design, the golden rule is to unify the module you use before even considering tooth counts.

Next, when calculating reduction ratios, it's easy to think "a single stage can do anything." Theoretically, you can create a ratio of 100:1 in one stage. However, if the pinion has 10 teeth, the larger gear would need 1000 teeth, which is impractical. It would be enormous and inefficient. In practice, it's standard to keep the reduction ratio per stage to around 3 to 6. For instance, if you need a total ratio of 36, a two-stage configuration of 6×6 allows you to build much more compact gears. Try using the "compound gear train" in the simulator to change the tooth counts for each stage while keeping the overall ratio constant; you should experience firsthand how the balance of gear sizes changes.

Also, regarding "fixing" in planetary gears. The tool deals with the case of a fixed ring gear, but in actual mechanisms, by switching which element is fixed (sun, ring, or carrier), you can achieve various transmission characteristics like reduction, increase, reversal, or direct drive (1:1). This "choice of the fixed element" is the key to designing planetary gear mechanisms. The ability to generate diverse motions from a single set is why planetary gears are highly valued in applications like transmissions.

Related Engineering Fields

The principles handled by this gear simulator are actually your first step into the world of CAE. The most directly connected field is mechanism analysis (multi-body dynamics). Gear meshing is modeled as a "constraint condition" that transmits rotational motion. The basic concept of "constraint and motion transmission" is the same in software that simulates more complex linkages or robot arm joint movements (e.g., ADAMS or RecurDyn).

Next, it's deeply related to vibration and noise analysis (NVH). The "smoothness" of gear meshing dictates vibration and noise. Design techniques like "tip relief" (slightly modifying the tooth profile) or designs that increase the contact ratio are born from the challenge of making the simple rotation you see in this simulator smoother and quieter. Fluctuations in rotational speed or torque change the force on the teeth, becoming a source of vibration.

Furthermore, the torque and rotational speed calculated here become the foundational data for motor selection and shaft strength calculations. For example, if you need 100 Nm of torque on the output side of a mechanism with a 10:1 reduction ratio, the torque on the motor shaft (input side) only needs to be 10 Nm, one-tenth of that. Conversely, the thickness of the shaft transmitting that torque and the selection of bearings are based on this calculated torque value. The simulator is also a tool for experiencing the first step in power transmission system design.

For Further Learning

Once you're comfortable with this tool, as a next step, peek into the world of "tooth profile curves." The gears in this simulator are simple plates, but actual gear teeth are made of complex curves. The involute curve is particularly standard; thanks to this curve, gears can operate smoothly even if the center distance is slightly off (center distance tolerance). Investigating the mathematical background of this curve (the trace of the end of an unwinding string) will show you the depth of gear design.

Also, to deepen your understanding of planetary gear mechanisms, I strongly recommend deriving Willis' fundamental equation by hand. It's a magical formula that expresses the rotational speed relationship of all components (sun, ring, carrier, planetaries) in a single equation. Understanding it allows you to calculate all speed ratios when changing the fixed component. The formula in the tool is merely one specific solution of this general equation. Deriving it requires the concept of relative velocity, an important foundational concept in mechanical dynamics.

To get closer to practical work, try considering adding parameters like "efficiency" or "backlash (tooth play)" to your simulation. Real gears have losses due to friction and don't transmit 100% of the power. Also, too little backlash can cause meshing to be too tight, leading to seizing, while too much worsens positioning accuracy. Imagining how the ideal motion you learned with this tool trades off with real-world non-ideal factors (efficiency, strength, cost, manufacturing precision) in actual design will be your next significant learning step.