The extruder of the Prusa MK4S printers in our lab pushes filament through a gearbox of ratio 10 [1], a flat housing on the face of its motor (Figure 10.8.1). Inside, a sun gearsv. solhjul on the shaft of a pancake stepper motor drives two planetssv. planethjul. They roll around a fixed brass ring gearsv. ringhjul with internal teeth and carry the output round with them. The motor rides on the moving print head, and the gearbox lets it be small and light and still push the filament with nearly ten times its own torque.
(a) The extruder of a Prusa MK4S behind its clear cover: the brass ring gear and the steel planets on their bearings. The stepper motor is behind the gearbox.
(b) The same gearbox feeding filament. The ring stands still, the sun on the motor shaft turns fast, and the planets carry the carrier round ten times slower.
Figure 10.8.1: The planetary gearbox of the extruder of one of our Prusa MK4S printers: ring held, sun in, carrier out, \(u = 10\).
A pair of spur gears reaches a ratio of about six before the pinion gets too small or the wheel too large, and the two shafts stand side by side. A planetary gearsv. planetväxel puts the gears inside one another. The planets turn on pins in a carriersv. planethållare, which turns about the same axis as the sun and the ring (Figure 10.8.2). Input and output are coaxial, the load is shared by all the planets, and the gearbox is short and round.
Planetary gears drive robot joints and bicycle hubs, they give the gears of a car’s automatic gearbox, and they form the first stage of a wind turbine’s gearbox.
(a) Assembled, with the yellow carrier on top. The white stripes show how far each gear has turned.
(b) Pulled apart along the axis: the carrier with its three pins, the sun and the planets, and the ring.
Figure 10.8.2: A planetary gear set with an orange sun of 15 teeth, three blue planets of 15 teeth and a teal ring of 45 teeth, helical, with the tooth numbers of the printed gearbox in [2].
Sun, planets, ring and carrier
Figure 10.8.3 shows the gear set along its axis. The sun of \(N_s\) teeth meshes with each planet of \(N_p\) teeth, and each planet meshes with the ring of \(N_r\) teeth. All the gears share the module \(m\), so the pitch radii are \(r = mN/2\). The carrier holds the planet centres at the distance \(a = r_s + r_p\) from the axis, and the planets must reach the ring as well, \(a = r_r - r_p\). The two give \(r_r = r_s + 2r_p\), or in teeth
\[
N_r = N_s + 2N_p
\tag{10.8.1}\]
The ring is the largest gear and its teeth fix the size of the gearbox. In Figure 10.8.3, \(15 + 2 \cdot 15 = 45\).
Figure 10.8.3: The gear set of Figure 10.8.2 along the axis. The carrier, drawn as three arms, holds the planet centres at \(a = r_s + r_p\); the dashed lines are the pitch circles of the sun, one planet and the ring.
Four members can move: the sun, the ring, the carrier and the planets. The planets turn on their pins and are never connected to a shaft, so three members are left that can be an input, an output or held still, and each choice gives a different ratio.
Seen from the carrier: the Willis equation
If the carrier stands still, the planetary gear is an ordinary gear train with fixed axes: the sun drives the planets, which drive the ring. The planets are idlers, so the ratio from the sun to the ring is \(-N_r/N_s\), the minus sign because the ring turns the other way. When the carrier turns, we look at the gear set from the carrier, in a frame that turns with it at \(\omega_c\). In that frame every axis stands still again, and every gear turns at its speed relative to the carrier, \(\omega - \omega_c\). The sun drives a planet at an external mesh and the planet drives the ring at an internal mesh, which keeps the sense:
Multiplying the two removes the planet. The ratio between sun and ring seen from the carrier is the ratio of the train with the carrier held, the basic ratiosv. grundutväxling\(u_0\):
This is the Willis equation. It is one equation in three speeds, so two of them must be given, an input and a held member, to find the third. The planets have dropped out, and their number does not matter for the speeds. Figure 10.8.4 holds each member in turn.
Willis [3, articles 407 and 408] states it the other way round: the revolutions of a wheel in an epicyclic train are those relative to the arm plus those of the arm.
Figure 10.8.4: The gear set of Figure 10.8.2 with one member held (grey); the tabs choose which. Carrier held: the sun drives and the ring turns backwards, once for three turns of the sun. Sun held: the ring drives and the carrier turns three times for four turns of the ring. Ring held: the sun drives and the carrier turns once while the sun turns four times.
A check: the velocities across a planet
Figure 10.8.5 gives the same equation from the velocities. Along the line from the axis through a planet centre, the planet touches the sun at \(A\) and the ring at \(B\). The teeth roll there without slipping, so the planet’s point \(A\) moves with the sun’s pitch circle at \(v_A = \omega_s r_s\), and its point \(B\) with the ring’s at \(v_B = \omega_r r_r\). The planet is rigid, so the velocity across it is linear, and its centre \(C\), halfway between \(A\) and \(B\), moves at the mean of the two. The centre is also a point on the carrier, \(v_C = \omega_c a\):
\[
\omega_c\, a = \frac{\omega_s r_s + \omega_r r_r}{2}
\]
The carrier speed is the mean of the sun and ring speeds weighted by their teeth.
Figure 10.8.5: The velocities along the line through the axis \(O\) and a planet centre \(C\). The planet moves with the sun at \(A\) and with the ring at \(B\), and is rigid, so its velocity is linear between them; \(C\) is a point of the carrier.
NoteSymPy: the two equations agree
Solved for \(\omega_c\), 10.8.2 and 10.8.3 give the same carrier speed:
Holding one member and driving another leaves six combinations. For each, 10.8.2 with the held speed set to zero gives the ratio \(u = \omega_\text{in}/\omega_\text{out}\):
Code
members = {'sun': w_s, 'ring': w_r, 'carrier': w_c}rows = []for held, w_h in members.items():for inp, w_in in members.items():for out, w_out in members.items():iflen({held, inp, out}) <3:continue w_out_sol = sp.solve(willis.subs(w_h, 0), w_out)[0] # output speed for the input u = sp.simplify(w_in/w_out_sol) rows.append((held, inp, out, u, u.subs({N_s: 15, N_r: 45})))table = pd.DataFrame(rows, columns=['held', 'input', 'output', 'u', 'u (15/45)'])
With the gear set of Figure 10.8.2 in the last column:
held
input
output
u
u (15/45)
sun
ring
carrier
\(\frac{N_{r} + N_{s}}{N_{r}}\)
\(\frac{4}{3}\)
sun
carrier
ring
\(\frac{N_{r}}{N_{r} + N_{s}}\)
\(\frac{3}{4}\)
ring
sun
carrier
\(\frac{N_{r} + N_{s}}{N_{s}}\)
\(4\)
ring
carrier
sun
\(\frac{N_{s}}{N_{r} + N_{s}}\)
\(\frac{1}{4}\)
carrier
sun
ring
\(- \frac{N_{r}}{N_{s}}\)
\(-3\)
carrier
ring
sun
\(- \frac{N_{s}}{N_{r}}\)
\(- \frac{1}{3}\)
The largest reduction is the usual one: ring held, sun in, carrier out, \(u = 1 + N_r/N_s\). With the carrier held the gear set is an ordinary train and the ring turns backwards. With the sun held the ratio lies between one and two. The other three rows are the same three driven backwards, as speed increasers. Since \(N_r = N_s + 2N_p\), the ratio \(1 + N_r/N_s = 2 + 2N_p/N_s\) is always above 2 and is 4 when the planets are as large as the sun. In practice one stage gives between about 3 and 10 [2]. A larger ratio needs a sun so small that it cannot carry the torque, or planets so large that they touch each other.
The extruder of Figure 10.8.1 works at the top of that range, in the row ring held, sun in, carrier out, with \(u = 10\)[1]. Its ring has nine times as many teeth as its sun. Each step of its motor moves the filament a tenth as far as it would without the gearbox.
Example 1: the three cases
The gear set of Figure 10.8.4 is driven at 3000 rpm by a motor. Find the output speed in each of the three cases, and the speed of a planet on its pin, which decides the life of the planet’s bearing.
The output speeds follow from the table above. A planet turns on its pin at its speed relative to the carrier, \(\omega_p - \omega_c\), which the first of the two mesh relations gives:
With the ring held, the carrier turns at a quarter of the motor speed. The planets turn backwards on their pins at 2250 rpm, three quarters of the motor speed: the bearing inside a planet runs almost as fast as the motor, although the planet rides on the slow member. With the carrier held, the planets turn as fast as the sun, since they have the same number of teeth. With the sun held, the ring drives at 3000 rpm and the planets turn at 2250 rpm on their pins, now forwards.
Torques and the forces on the teeth
The speeds depend on which member is held; the torques do not. Figure 10.8.6 frees one planet. The sun pushes on it at \(A\) with the tangential force \(F_t\). Its pin turns freely, so the moments about the pin must cancel: the ring pushes at \(B\) with the same \(F_t\), in the same direction, and the pin carries \(2F_t\). The radial parts \(F_r = F_t\tan
20^\circ\) of the two mesh forces point against each other and cancel on the planet.
Figure 10.8.6: One planet freed from the sun, the ring and its pin. The moments about the pin cancel, so both meshes carry the same tangential force \(F_t\), and the pin carries \(2F_t\). The radial forces \(F_r\) cancel.
With \(K\) planets that share the load equally, the sun, the ring and the carrier carry the torques, from the forces on them at their radii,
\[
T_s = K F_t r_s,\qquad T_r = K F_t r_r,\qquad T_c = -2KF_t\,a = -KF_t\,(r_s + r_r)
\]
The three torques add up to zero, because a gear set that does not accelerate is in moment equilibrium, and the carrier carries the sum of the other two. A motor torque \(T_s\) on the sun puts the force
on each mesh. With the ring held, the carrier delivers \((1 + N_r/N_s)T_s = uT_s\), as 10.4.4 requires without losses, and the housing that holds the ring takes \((N_r/N_s)T_s\).
The sun meshes with \(K\) planets at once, and each mesh carries \(1/K\) of the torque if the planets share it equally. For the same module and tooth stress the gears can then be \(1/K\) as wide as a single pair, a third with three planets. With the planets equally spaced the radial forces on the sun cancel, so the sun needs no bearing of its own for them. Errors in the teeth and in the pin positions make one planet carry more than its share. Some gearboxes let the sun float between the planets, where it finds the position in which three planets share the load evenly; with four or more, one floating member cannot even them out, and the mesh force is raised by a load sharing factor [4].
The planet is an idler. The sun pushes on one flank of its teeth and the ring on the other, so every tooth of the planet is bent one way and then the other at each turn. A tooth bent both ways tolerates about 0.7 of the bending stress of one bent always the same way [5], and the planets, not the sun, often decide the face width.
Example 2: the forces in a printed gearbox
The 3D-printed gearbox of [2] has two stages, each with \(N_s = 15\), \(N_p = 15\), \(N_r = 45\), three planets and module \(m = 1.5\) mm, driven by a NEMA 17 stepper motor that gives about \(T_m = 0.28\) N·m (Figure 10.8.7). Find the ratio, the tangential force on each mesh in both stages, the force on a planet pin and the torque the housing must hold.
Figure 10.8.7: Two planetary stages in series, cut along the axis. The carrier of the first stage is the sun shaft of the second, and both rings are the housing.
The carrier of stage 1 drives the sun of stage 2, so the ratios multiply, \(u = u_1 u_2\). The input torque of stage 2 is the output torque of stage 1. 10.8.6 gives the mesh force of each stage, the pin carries \(2F_t\), and the housing holds the two ring torques, \((N_r/N_s)T_s\) per stage.
Code
T_m, m2, K =0.28, 1.5e-3, 3# motor torque [N m], module [m], planetsu_1 =1+ Nr_/Ns_ # each stage, ring heldu_tot = u_1**2T_s1, T_s2 = T_m, u_1*T_m # sun torques of stage 1 and 2F_t1, F_t2 = (2*T/(K*m2*Ns_) for T in (T_s1, T_s2)) # @eq-pg-ftT_housing = (Nr_/Ns_)*(T_s1 + T_s2) # both ring torquesT_out = u_tot*T_m
The first stage is lightly loaded, and the second carries four times as much, since its sun takes the output torque of the first. The second stage decides the strength, and the Lewis estimate checks it. The housing holds 4.2 N·m, almost all of the output torque of 4.5 N·m, so the ring of a gearhead is bolted to the machine and never left to the motor’s flange alone.
How many teeth?
10.8.1 ties the three numbers together. Three more rules narrow the choice [2], and the ring adds two.
Equal spacing. The planets should lie at equal angles \(2\pi/K\), so that the radial forces on the sun cancel and the load is shared. Fit the first planet, then turn the carrier by \(2\pi/K\) with the ring held, to bring that planet to the place of the next one. The sun turns by \(u\cdot 2\pi/K = (1 + N_r/N_s)\,2\pi/K\), or \((N_s + N_r)/K\) of its teeth. The next planet fits only if the sun’s teeth are then where they were, so
\[
\frac{N_s + N_r}{K}\ \text{is a whole number}
\tag{10.8.7}\]
The gear set of Figure 10.8.3 has \((15 + 45)/3 = 20\).
The planets are then not one planet copied round the axis. Hold the sun instead and let the carrier bring the first planet to the polar angle \(\psi_k = 2\pi k/K\) of planet \(k\). The sun’s teeth stay where they are, the ring turns by \(k(N_s + N_r)/K\) of its teeth, a whole number by 10.8.7, and the planet turns on its own axis by 10.8.2 with \(\omega_s = 0\),
which is how far planet \(k\) must be turned against the first. A rigid pattern turns it by \(2\pi k/K\) only, and that differs from 10.8.8 by a whole number of planet teeth only when \(N_s/K\) is a whole number. The 15/15/45 set has \(15/3 = 5\); the 16/17/50 set has \(16/3\), and copied planets would sit a third of a tooth off. In Figure 10.8.8 the 16/17/50 set, placed by 10.8.8, meets 10.8.7 with three planets and fails it with four: the planets at the sides then sit a part of a tooth off the ring and cut into it.
Figure 10.8.8: The 16/17/50 set placed as the configurator places it, with every overlap of two gears in red. Three planets mesh; with four, the planets at the sides cut into the ring.
Room for the planets. Two neighbouring planet centres are \(2a\sin(\pi/K)\) apart, and the tips of two planets must not touch, \(2a\sin(\pi/K) > m(N_p + 2)\), or
Three planets fit almost always; five or six need a large sun. The 15/15/45 set takes three planets but not six (Figure 10.8.9).
Figure 10.8.9: The 15/15/45 set with six planets. It meets 10.8.7, \((15 + 45)/6 = 10\), but the tip circles of neighbouring planets (dashed) overlap in the red lenses.
A hunting tooth. With \(N_s = N_p = 15\), every tooth of the sun meets the same tooth of a planet at every turn, and any flaw in one tooth wears its partner. If the numbers of teeth of two meshing gears have no common factor, a tooth meets every tooth of the other gear before it meets the first one again, and the wear spreads over all of them. Such coprime numbers are called a hunting toothsv. jagande kugg pair (Figure 10.8.10). One test covers both meshes of the planet: a factor of \(N_p\) and \(N_r = N_s + 2N_p\) also divides \(N_s\), so a planet coprime with the sun is coprime with the ring.
Figure 10.8.10: One tooth of each sun is marked, and each tooth of the planet that it meets turns dark. With 15/15 it meets the same tooth at every turn. With 16/17 it meets the next tooth at each turn, and every tooth of the planet once in 17 turns.
Ring tips outside the base circle. The involute starts on the base circle. The tips of the ring’s teeth lie inside its pitch circle, on the radius \(r_i = r_r - m\), and they reach the ring’s base circle \(r_{br} = r_r\cos\varphi\) when the ring is small. They stay outside it when \(r_r - m \ge r_r\cos\varphi\), or
which is \(N_r \ge 34\) at \(\varphi = 20°\) (Figure 10.8.11). With no gear under 12 teeth the ring has at least 36, so this rule only marks where a ring stops being an involute gear; the next one is far stricter.
Figure 10.8.11: Rings of 24 and 45 teeth near the top. At \(N_r = 24\) the tip circle lies inside the base circle, and the outline there (red) cannot be an involute; at \(N_r = 45\) it lies outside.
The planet against the ring. The planet’s flank is an involute only outside the planet’s base circle as well. Contact runs along the line of action, which touches the planet’s base circle in \(T_1\) and the ring’s in \(T_2\), both on the same side of the pitch point \(P\) (Figure 10.8.12). Contact with the ring’s tip lies where the line meets the ring’s tip circle between \(T_2\) and \(P\), in \(E\). If \(E\) lies beyond \(T_1\), the ring’s tip meets the planet below its base circle, where the planet has no involute to roll on: involute interference. \(E\) stays within \(PT_1\) when \(r_r\sin\varphi - \sqrt{r_i^2 - r_{br}^2} \le r_p\sin\varphi\), or in teeth
A ring of 45 teeth needs a planet of 23 teeth, one of 60 teeth a planet of 21; these are the lower limits of KHK’s table of allowable mating pinions [6]. The 15/15/45 set fails. Whether the solids then overlap depends on the planet’s shape below its base circle; the parts of this book overlap \(0.012\,m\), 12 µm at \(m = 1\) mm, less than the backlash of a printed gearbox. A planet of 15 teeth is also below the undercut limit. Cut by a hob it would be undercut, which weakens its teeth and clears part of the ring’s tip; printed, it has the shape of its model. A precision gearbox removes the interference with a profile shift or with ring teeth whose tips are cut back to the radius where \(E\) falls on \(T_1\),
\(21.76\) mm in place of \(21.5\) mm for 15/15/45, a ring addendum of \(0.74\,m\). The contact ratio stays 1.61.
Figure 10.8.12: A planet of 15 teeth in a ring of 45. Top: the line of action from the pitch point \(P\) through \(T_1\) on the planet’s base circle to \(E\) on the ring’s tip circle; along the red part the ring’s tip meets the planet below its base circle. Bottom: the deepest overlap of the two solids as they turn, magnified.
Internal gears have two more interferences, and neither occurs here. The tips clash after contact has ended only when \(N_r - N_p\) is small, below about 10, and in a planetary set \(N_r - N_p = N_s + N_p\). A planet pushed into the ring radially catches the ring’s tips, and planets go in along the axis.
Which rings mesh with which planets
A direct test of 10.8.11 rolls a planet inside the ring of the SolidWorks part: ring and planet turn through one pitch of the ring at the speeds of the mesh, \(\omega_p/\omega_r = N_r/N_p\) with the carrier held, and at each of 240 steps we measure how deep the two solids overlap. With no backlash, a correct involute mesh touches along a line and overlaps nowhere.
Code
import syssys.path.insert(0, '../tools')import ring_gear # the geometry of the part and of the configuratorNr_ring = np.arange(34, 101, 3)depth = {Np_: np.array([ring_gear.interference(Np_, nr, steps=160) for nr in Nr_ring])for Np_ in (15, 20, 25)} # deepest overlap through one pitch, in modulesNp_limit = {nr: ring_gear.min_planet_teeth(nr) for nr in Nr_ring} # @eq-pg-interference
Figure 10.8.13: The deepest overlap of a planet rolling inside a ring of \(N_r\) teeth, standard teeth and no backlash. The open circles mark where 10.8.11 says the overlap ends.
The rule says where the contact leaves the involute; the simulation measures overlap of the parts of this book, whose flanks run on below the base circle as radial lines and end in a circular root fillet. Where the rule fails, the overlap is a few thousandths of a module. A planet of 15 teeth overlaps with every ring, \(0.012\,m\) deep in a ring of 45 and still \(0.004\,m\) in one of 100: for a large ring 10.8.11 tends to \(N_p \ge 2/\sin^2\varphi = 17.1\), the undercut limit of a rack. A planet of 20 teeth falls below \(0.001\,m\) from \(N_r = 49\), before the rule’s 64, since its radial flank lies clear of the ring’s tip where an involute would reach it. A planet of 25 teeth keeps a trace up to \(N_r \approx 48\), past the rule’s 38: after contact ends, the ring’s tip corner grazes the planet’s root fillet. In every case the overlap is the wedge of Figure 10.8.12, where the ring’s tip meets the planet just below the planet’s base circle.
Example 3: choosing the teeth
Choose the teeth of a stage with three planets and a ratio close to 4, with a ring of at most 60 teeth and no gear under 12 teeth, which meets the rules: 10.8.1, 10.8.7, 10.8.9 and a coprime sun and planet.
The search runs over the sun and planet teeth; 10.8.1 gives the ring and \(u = 1 +
N_r/N_s\) the ratio. No gear under 12 teeth means \(N_r \ge 36\), so every candidate meets 10.8.10. 10.8.11 is left out of the search, since with standard teeth it would leave nothing: a ratio near 4 needs \(N_p \approx N_s\) and a ring of 45 to 60 teeth needs \(N_p \ge 21\), so \(N_r \ge 63\).
Code
K3 =3candidates = []for ns inrange(12, 40):for npl inrange(12, 40): nr = ns +2*npl # @eq-pg-fitif nr >60or (ns + nr) % K3: # @eq-pg-assemblycontinueif (ns + npl)*np.sin(np.pi/K3) <= npl +2: # @eq-pg-roomcontinueif np.gcd(ns, npl) >1: # hunting tooth, which covers the ring as wellcontinue candidates.append((ns, npl, nr, 1+ nr/ns))cand = pd.DataFrame(candidates, columns=['$N_s$', '$N_p$', '$N_r$', '$u$'])best = cand.iloc[(cand['$u$'] -4).abs().argsort()[:6]]
The six sets closest to a ratio of 4 that pass all the rules:
\(N_s\)
\(N_p\)
\(N_r\)
\(u\)
20
19
58
3.9
19
20
59
4.105
17
16
49
3.882
16
17
50
4.125
14
13
40
3.857
13
14
41
4.154
Of these rules the 15/15/45 set of Figure 10.8.2 fails only the hunting tooth, and that cannot be mended: a ratio of exactly 4 needs \(N_r = 3N_s\), so \(N_p = N_s\), and then sun and planet share every factor. An exact ratio and a hunting tooth exclude each other here. Of the sets that pass, 17/16/49 with \(u = 3.88\) and 16/17/50 with \(u = 4.13\) keep about the size of the 45-tooth ring; 20/19/58 comes closer to 4 with a ring a quarter larger. A ratio of \(33/8\) is as exact as 4 for software that counts the motor’s steps, so 16/17/50 gives up only the round number. With standard teeth both cut into their rings, 16/17/50 by \(0.004\,m\) and 15/15/45 by \(0.012\,m\); 10.8.12 gives the ring tips that avoid it.
Stages in series and the automatic gearbox
One stage gives a ratio of 3 to 10. Stages in series (Figure 10.8.7) multiply their ratios, and two or three stages reach 16 to 500 in a gearhead the diameter of the motor. Each stage loses a few per cent, so the efficiency falls with the number of stages, \(\eta = \eta_1\eta_2\cdots\).
An automatic gearbox uses the six ratios of the table instead. Two or three planetary sets share shafts, and clutches and brakes decide which member is held and which is driven, so each combination gives one gear while all the gears stay in mesh.
The differential is a planetary gear
The differential is a planetary gear with bevel teeth: the case is the carrier, the two side gears are the sun and the ring, and the spider gears are the planets. Seen from the case, a spider turns one side gear backwards at the speed of the other, so \(u_0 = -1\), and 10.8.2 becomes 10.4.12.
Backlash and efficiency of a printed gearbox
Two numbers describe how good a gearbox is for a robot joint: the backlashsv. glapp, the angle the output can turn while the input is held, and the efficiency. Both depend on how tightly the teeth fit, and they pull in opposite directions. In [2] and [7] the backlash is measured with an arm on the output shaft (Figure 10.8.14). With the motor held, a small force pushes the tip of the arm one way and then the other, with a torque of 1 to 2 % of what the gearbox is rated for, and the tip moves \(\delta_1 + \delta_2\). The backlash is the angle
Figure 10.8.14: Measuring backlash: with the input held, a small force \(F\) pushes an arm of length \(L\) on the output shaft one way and then the other, and the tip moves \(\delta_1\) and \(\delta_2\).
Example 4: what the printed gearboxes measured
The two-stage gearbox of Example 2 was tested twice. In the first test [2], with plain bushings in the planets, the arm was \(L = 100\) mm, the tip moved 0.3 mm and 0.2 mm under 1.5 N, the motor gave 0.28 N·m and the output held 20 N at 100 mm. In the second test [7], with ball bearings in the planets and \(L = 200\) mm, the tip moved 2.9 mm and 0.75 mm. This gearbox was printed with three fits of the teeth, from loose to tight, which gave 3.5, 3.1 and 2.9 N·m at the output with a motor of 0.22 N·m; the tightest fit had a backlash of about 30 arc minutes. Find the backlash and the efficiency in each case.
Code
def backlash_arcmin(d1, d2, L):return np.degrees(np.arctan((d1 + d2)/L))*60# @eq-pg-backlashalpha_1 = backlash_arcmin(0.3, 0.2, 100)alpha_2 = backlash_arcmin(2.9, 0.75, 200)eta_1 =20*0.100/(16*0.28) # @eq-pg-eta, first testeta_fits = [T/(16*0.22) for T in (3.5, 3.1, 2.9)] # loose, medium, tighteta_stage = np.sqrt(eta_1) # two equal stages
The first gearbox lost more than half the motor torque, about a third in each stage, mostly in the plastic bushings of the planets and the tight teeth. With ball bearings and the loose fit these readings give \(\eta = 0.99\), but the motor torque is not known that precisely, and the video estimates 90 to 95 %.
The video first states 16 arc minutes for this backlash of about 1°, a slip, and later uses about 60 [7].
The loose fit has a backlash of a full degree, 63 arc minutes by 10.8.13. Printing the teeth tighter halved the backlash to about 30 arc minutes and lowered the efficiency by 17 percentage points. A printed gearbox cannot have both; the tighter fit also wore in during a long test and lost part of its advantage [7].
TipIn industry: buying a gearhead
Planetary gearheads are bought from a catalogue by frame size, ratio and backlash class. The catalogue gives the rated output torque for a stated life, a short-time peak torque, the backlash in arc minutes, the torsional stiffness and the efficiency per stage, and the designer checks the duty cycle of the machine against them with the manufacturer’s service factors. The gear geometry, the number of planets and the hunting-tooth choice are the manufacturer’s business.
The ring gear in SolidWorks
Figure 10.8.15: The ring gear of this section in SolidWorks: 45 teeth, \(m = 1\) mm, driven by global variables.
The part is made in four moves:
a plain ring, from the outer diameter to the tip circle of the teeth;
half of one tooth space cut out of it, bounded by the involute flank, the root circle and the centreline of the space;
that cut patterned \(N\) times round the axis;
the pattern mirrored about the centreline, which gives the other flank of every space.
The sun and the planets are the gear of Modelling spur gears in SolidWorks, each with its own \(N\). The ring needs a part of its own. Its tooth space has the shape of an external tooth: each flank is the involute of the base circle \(r_b = r_r\cos\varphi\), with the material on the outer side of it. The addendum and the dedendum swap places, so the tips of the ring’s teeth lie inside the pitch circle and the bottoms of the spaces outside it,
On the pitch circle the space is \(\pi m/2\) wide, as wide as a tooth of the planet. The part therefore reuses the half tooth of the spur tutorial as a half space: it cuts the space out of a plain ring, patterns the cut \(N\) times and mirrors the pattern.
Step 1: Global variables
Tools, Equations, Global Variables, or Import of ring_globals.txt.
Table 10.8.1: The global variables of the ring. TipRadius and RootRadius are 10.8.15, t_root ends the flank curve on the root circle as t_tip ends the spur gear’s on the tip circle, and Rim is the wall outside the roots.
Variable
Expression
Value at \(N = 45\)
m
1
1 mm
N
45
45 teeth
PressureAngle
20
20°
FaceWidth
4
4 mm
Rim
3 * "m"
3 mm
PitchRadius
"m" * "N" / 2
22.5 mm
BR
"PitchRadius" * cos("PressureAngle")
21.143 mm
TipRadius
"PitchRadius" - "m"
21.5 mm
RootRadius
"PitchRadius" + 1.25 * "m"
23.75 mm
OuterRadius
"RootRadius" + "Rim"
26.75 mm
t_root
sqr(("RootRadius" / "BR") ^ 2 - 1)
0.5117
MidAngle
360 / ("N" * 4)
2°
R_fillet
0.25 * "m"
0.25 mm
Step 2: Sketch1 and the blank
Sketch on the Front Plane: two circles about the origin, = "OuterRadius" and = "TipRadius". Extruded Boss, Blind, = "FaceWidth". The blank is a ring without teeth whose bore is the tip circle.
Four circles about the origin: TipRadius and RootRadius as ordinary circles, BR and PitchRadius as construction circles. The part dimensions them as radii; diameters with = 2 * "TipRadius" and so on work as well.
The Equation Driven Curve of the spur tutorial with "t_root" in place of "t_tip" in both expressions, \(t\) from \(-1\) to \(1\), Fixed. The curve now ends on the root circle.
Construction line from the origin to the point where the curve crosses the pitch circle, Coincident with both: the datum line.
Line from the tip circle to the root circle, its ends Coincident with the two circles, the origin Coincident with the line, and the angle = "MidAngle" to the datum line, on the side the curve bends towards: the space centreline.
These are the steps of the spur gear’s Sketch1 with the ring’s circles. In the spur gear the tooth lies on the side the curve bends towards; here the space lies there, and the ring’s material is on the other side of the same curve.
Figure 10.8.16: Sketch2 at \(N = 45\), \(m = 1\), zoomed onto the first space. The orange flank curve runs below the base circle as a radial line, which the cut leaves out. The green half space is the region Cut-Extrude1 removes.
Step 4: Cut, Plane1 and root fillet
Extruded Cut on Sketch2. Selected Contours: the half space between the tip circle, the curve, the root circle and the centreline. Blind, = "FaceWidth", into the blank; Reverse Direction if the preview cuts nothing.
Plane1 through the centreline of Sketch2, perpendicular to the Front Plane, as in the spur tutorial.
Fillet the edge where the flank meets the root face, = "R_fillet".
The ring is cut by a pinion-shaped cutter, whose tip radius gives the root fillet. The part takes \(0.25\,m\), one of the rack tip radii of ISO 53 [8]. The space narrows outwards, so the flank meets the root circle at an obtuse corner, about \(117°\) at \(N = 45\), and the largest fillet that fits grows from \(0.37\,m\) at \(N = 24\) to \(0.46\,m\) at \(N = 300\).
Step 5: Axis, pattern and mirror
Axis1 from the Top Plane and the Right Plane.
Circular Pattern of Cut-Extrude1 and Fillet1 about Axis1, \(360°\), Equal spacing, instances = "N".
Mirror of CirPattern1 about Plane1.
Step 6: Check the model
Measure the area of the front face and multiply it by FaceWidth. At the example values the face has \(652.23~\text{mm}^2\), or \(2608.9~\text{mm}^3\), the volume of the exact outline. Evaluate, Mass Properties reports \(2612~\text{mm}^3\): it integrates the spline faces numerically and is good to about 0.1 % here, the face area to 0.01 %. Set N to 34 and 120 and rebuild; the part rebuilds from \(N = 24\) to \(N = 300\), and from 34 its tips lie outside the base circle (10.8.10). Checked through the API, its flanks lie within \(1.2~\mu\text{m}\) of the involute over that range.
The configurator builds the whole set: the sun and the planets of Modelling spur gears in SolidWorks and the ring of Section 10.8.8, placed at \(a = m(N_s + N_p)/2\) and turned by 10.8.8 so that every mesh is right. It checks 10.8.1, 10.8.7, 10.8.9 and 10.8.10, warns where 10.8.11 or the hunting tooth fails, and turns the sun with the ring held. The STEP file holds the sun, the planets and the ring as named solids in one assembly, built on the book’s server in three to ten seconds.
Problem 1: Sun held. In the gear set of Figure 10.8.17 the sun is held and the ring is driven at 1200 rpm by a torque of 10 N·m. Find the carrier speed and torque and the torque on the sun, without losses.
Figure 10.8.17: The gear set of Problem 1, with 15, 15 and 45 teeth, as in Example 1.
Answer:From the table, \(u = 1 + N_s/N_r = 4/3\), so \(n_c = 900\) rpm. 10.8.5 with \(T_r = 10\) N·m gives \(T_s = 10 \cdot 15/45 = 3.33\) N·m and \(T_c = -13.3\) N·m: the carrier delivers 13.3 N·m, and \(13.3 \cdot 900 = 10 \cdot 1200\).
Problem 2: A speed increaser. The same gear set, with the ring held, is driven at the carrier by a hand crank at 60 rpm. How fast does the sun turn, and in which direction?
Figure 10.8.18: The gear set of Problem 2.
Answer:\(\omega_s = (1 + N_r/N_s)\,\omega_c = 4 \cdot 60 = 240\) rpm, in the same direction as the crank.
Problem 3: More planets. Can the 15/15/45 gear set of Figure 10.8.19 carry four, five or six planets instead of three?
Figure 10.8.19: The gear set of Problem 3.
Answer:Equal spacing, 10.8.7: \((15 + 45)/K = 60/K\) is whole for \(K = 4\), 5 and 6. Room: \((15 + 15)\sin(\pi/K) > 17\) gives \(21.2\) for four and \(17.6\) for five, which pass, and \(15.0\) for six, which fails. Four or five planets fit; with five the tips of neighbouring planets clear by only 0.6 module.
Problem 4: Backlash at the end of an arm. A robot arm of 400 mm hangs on a gearbox with 30 arc minutes of backlash. How far can the tip of the arm move with the motor held?
Figure 10.8.20: The measurement of Problem 4.
Answer:\(400\tan(30/60)^\circ = 3.5\) mm: a printed planetary gearbox is a poor choice for the shoulder of an arm that must place parts to a millimetre.
Further reading
Budynas and Nisbett [9] treat planetary trains with the train value in the section on gear trains of Chapter 13, and Willis [3] gives the method of relative revolutions in its original form. The two videos of How To Mechatronics [2,7] show the design, printing, assembly and testing of the gearbox of the examples, and compare it with a cycloidal drive and a belt drive.
ISO 6336-1:2019 Calculation of load capacity of spur and helical gears – Part 1: Basic principles, introduction and general influence factors. Geneva, Switzerland: International Organization for Standardization; 2019.
[5]
ISO 6336-5:2016 Calculation of load capacity of spur and helical gears – Part 5: Strength and quality of materials. Geneva, Switzerland: International Organization for Standardization; 2016.
How To Mechatronics. Cycloidal vs belt vs planetary: The best 3D printed drive for your next robotic project? 2025. https://www.youtube.com/watch?v=9CDH4NMT_Pc (accessed October 12, 2026).
[8]
ISO 53:1998 Cylindrical gears for general and heavy engineering – Standard basic rack tooth profile. Geneva, Switzerland: International Organization for Standardization; 1998.