# 4 Gears in a Circular Pattern - Calculating the Proper Distances for Meshing

I have recently been working on a gearbox for a robot. I have this pattern of 4 gears with each gear connected to its 2 neighbors. It looks like this: You will probably notice something though. Large gear on the right and the small one in the center do not properly mesh. I made sure that the center to center distance of the all the gears was the sum of their respective pitch radii so that is not the issue: There only seems to be a few positions where the gears engage one another properly. By moving things around and eyeballing it I got a set of constraints where everything appears to mesh properly but it is unlikely that it is perfect:  So my question is how do I calculate distance between the small gear in the center and the large one on the bottom so the gears will all mesh properly. I don't like eyeballing it because I don't think the gears will mesh perfectly. Also, it makes it harder to improve my design if I can't make these calculations.

Thanks,
Ben

Some specs on the gears:

Large Gears: 44 tooth, 2.2" pitch diameter, 2.3" outer diameter, 14.5 deg pressure angle, 20 Diametrical Pitch.
Small Gears: 12 tooth, 0.6" pitch diameter, 0.7" outer diameter, 14.5 deg pressure angle, 20 Diametrical Pitch

A similar question that got no answer: How to find angle of timing gears

Let’s consider gears as being represented by a pitch circle on which lie several equally spaced dots with a number equal to the number of teeth. These dots can either represent the teeth or the gaps between teeth, and they follow the rule that, as a pair of meshing gears rotate, the dots of one gear will coincide with the dots of the other gear as the dots pass the point of tangency of the pitch circles: The distance between neighbouring points measured along the pitch circle is the circular pitch $$p$$ for both gears.

If we know the location of a dot on one gear, we can infer the location of a corresponding point on a meshing gear: That is, if a dot on gear 1 is an arclength $$s$$ away from the pitch circle tangency point, there will exist a corresponding dot on gear 2 that is also an arclength $$s$$ away. We know this to be true since rotating the gears result in moving the dots by the same distance along the pitch circles; corresponding dots will coincide at the tangency point, and a rotation of the gears will move both dots by $$s$$. Care is to be taken in the directions of rotation.

We can use this information to consider tooth spacing for a closed loop of four arbitrary gears: Here, for $$i=1, 2, 3, 4$$, each gear has $$N_i$$ teeth, and the centres of the pitch circles connect to form a closed polygon with internal angles $$\theta_i$$.

Let’s consider a dot on gear 1 at the point of tangency of pitch circles 1 and 2. A corresponding dot will occur for gear 2 coincidently. From the above information, we can use the dot on gear 2 to infer a corresponding dot on gear 3, and then use the dot on gear 3 to infer a corresponding dot on gear 4, and finally use gear 4’s dot to obtain another dot on gear 1. This should appear as follows, with arclengths of interest indicated: Note how the consideration of a single dot on gear 1 led to the discovery of a second dot on the same gear. If these are to be two dots on the same gear, they must be separated by an integer number of tooth spacings $$p$$, i.e. they must be separated by $$zp$$, where $$z$$ is an integer.

Note how the arclengths are related to the radii of the pitch circles $$r_i$$ and the internal angles $$\theta_i$$. This yields the equations:

$$s_A = r_1 \theta_1$$

$$s_A + s_B = r_2 \theta_2$$

$$s_B + s_C = r_3 \theta_3$$

$$s_C + zp = r_4 \theta_4$$

Elimination of the unknown arclengths leads to the following condition:

$$r_4 \theta_4 - r_3 \theta_3 + r_2 \theta_2 - r_1 \theta_1 = zp$$

By noting that the radius of each gear $$r_i = N_i p/2\pi$$, this condition simplifies to

$$N_4 \theta_4 - N_3 \theta_3 + N_2 \theta_2 - N_1 \theta_1 = 2\pi z$$

Therefore, for gears of given numbers of teeth, you need to alter the interior angles of the closed polygon such that the above condition holds for some integer $$z$$, which may be positive, negative or zero.

For your particular case where $$N_1 = 12$$, $$N_2 = N_3 = N_4 = 44$$, this becomes

$$44( \theta_4 - \theta_3 + \theta_2) - 12 \theta_1 = 2\pi z$$

Find a geometrically valid set of internal angles that obey this rule, and the teeth should all mesh. Once you know the internal angles, you can determine the distance between the top and bottom gear.

This rule can also be generalised to any closed loop of an even number of gears, where the rule can be expressed as

$$\sum_{i=\textrm{even}} N_i \theta_i - \sum_{i=\textrm{odd}} N_i \theta_i = 2\pi z$$

• This is awesome! I did something similar to this but I used a CAD program and added constraints and relationships until it was fully constrained and properly meshed. Dec 25, 2018 at 4:35