Skip to main content

Planet Bearings, Pins, Carrier and Housing Interfaces

Executive Summary

Purpose: Size the parts around the gears so the whole stage can be made: the sun-to-shaft joint, the planet bearings, the planet pins, the carrier, the ring fixing, and the axial stack that has to fit the envelope length.

What it does: size_components takes a PlanetarySet, its ISO 6336 rating, and a ComponentInputs describing the envelope and the input shaft, and returns every component dimension with its check. rim_thicknesses gives the rims under the tooth roots (sun over its key groove, planet over its bearing bore, ring outside its roots), which gears.rating needs for the rim factor \(Y_B\).

Arrangement assumed: double-plate (straddle) carrier with \(N\) posts between the planets; the output is taken from one plate. Each planet runs on a needle roller cage assembly placed directly on a hardened pin and in the hardened planet bore. The sun is joined to the input shaft by a key (DIN 6885-1), a spline (DIN 5480), a press or shrink fit or a retaining adhesive, or it is cut directly on the shaft. The ring gear is the outer wall of the stage and is clamped between housing parts by through bolts, or pressed and pinned into a housing when the rim is too thin for bolt holes.

How It Fits Into the Gear Design Workflow

Upstream: gears.layout.PlanetarySet (centre distance, gear diameters), gears.rating.PlanetaryRating (torques and tooth forces).

Downstream: gears.manufacturing (drawing data: fits and tolerances of the pin, bore and carrier holes), gears.design.

Sun–Shaft Joint: Theory

The joint between the input shaft and the sun decides whether there is backlash between motor and sun, how small the sun can be (a bore and a groove need room under the teeth), and whether the sun can float radially to share the load between the planets. Five options are offered (ComponentInputs.hub_joint):

hub_joint Joint Backlash Sun can float Smallest sun Take apart
key parallel key, DIN 6885-1 small (key side clearance) yes, with a loose bore largest: bore + groove + rim yes
spline involute spline, DIN 5480 sliding: yes; tight: none sliding only bore + spline depth + rim yes
press press or shrink fit none no bore + rim hard
adhesive retaining compound on a slip fit none no bore + rim hard (heat)
integral sun cut on the shaft none no smallest: no bore –

A joint without backlash also fixes the sun radially, so the load-sharing factor \(K_\gamma\) of a fixed sun applies (RatingInputs.floating_sun = False); a floating sun needs a key or a sliding spline.

Parallel key (DIN 6885-1, form A)

The key size (width \(b\), height \(h\), shaft groove \(t_1\), hub groove \(t_2\)) follows from the shaft diameter. The hub groove depth \(t_2\) sets the rim left under the sun teeth:

\[s_{R,s} = \frac{d_{f,s}}{2} - \frac{d_{sh}}{2} - t_2 \ \ge\ 0.5\,h_t\quad(h_t = (h_{aP}^* + h_{fP}^*)\,m;\ \text{below } 1.2\,h_t \text{ the rating applies } Y_B > 1).\]

The key length is the longest DIN 6885 standard length not above the hub width, \(l \le b + 2s_w\). The key transmits the sun torque, with the application factor, by flank pressure on the hub side:

\[p = \frac{2000\,K_A T_s}{d_{sh}\,(h - t_1)\,l_{tr}} \le p_{allow},\qquad l_{tr} = l - b\ \text{(rounded ends)},\]

with \(p_{allow} \approx 0.9\,R_e\) of the weaker part for steady load; 150 MPa is a safe default for a hardened sun on a steel shaft. A sun that is case carburized needs its key groove cut before heat treatment (or the groove masked during carburizing), because the hardened case is too hard to broach.

A key always has some side clearance in its grooves (P9 or JS9 hub groove), so it leaves a small backlash between motor and sun.

Involute spline (DIN 5480)

For a spline of nominal diameter \(d\) and module \(m_{sp}\) (30° pressure angle) the code uses

\[z = \Big\lfloor \frac{d - 1.1\,m_{sp}}{m_{sp}} \Big\rfloor,\qquad d_m = d - 1.1\,m_{sp},\qquad h_w = 0.9\,m_{sp},\]

and the mean flank pressure over the joint length \(L\) (the sun width), with only a share \(\varphi = 0.75\) of the teeth carrying because of pitch errors (DIN 5466-1 practice):

\[p = \frac{2000\,K_A T_s}{d_m\,h_w\,L\,z\,\varphi} \le p_{allow}.\]

The hub spline root lies about \(t_2 = (0.55 + 1.1)\,m_{sp} = 1.65\,m_{sp}\) outside the nominal diameter, so the rim is \(s_{R,s} = d_{f,s}/2 - d/2 - t_2\). The fit decides the backlash: sliding (9H/8f) has flank clearance, so backlash, but lets a floating sun centre itself; tight (an interference fit class such as 9H/8k) has none.

Press or Shrink Fit

The sun (hub, outer diameter taken as the root circle \(D_o = d_{f,s}\), the teeth ignored) is shrunk onto a solid shaft of diameter \(d\) over the length \(L\). Both are steel (\(E\) = 210 GPa). The interference of a fit is

\[\delta_{min} = ei_{shaft} - ES_{hole} - \Delta,\qquad \delta_{max} = es_{shaft} - EI_{hole} - \Delta,\qquad \Delta = 0.8\,(Rz_{shaft} + Rz_{hole})\]

where \(\Delta\) is the roughness smoothed away on assembly (DIN 7190). Lamé’s thick-cylinder solution with \(Q = d/D_o\) gives the joint pressure

\[p = \frac{E\,\delta\,(1 - Q^2)}{2d}.\]

The smallest pressure must carry the torque with the slip safety \(S\) (default 1.5) and friction \(\mu\) (0.12 for a shrink fit):

\[T_{slip} = \mu\,p_{min}\,\pi d L\,\frac{d}{2} \ \ge\ S\,K_A T_s,\]

and the largest must not overstress the bore (Tresca at the bore, against \(\sigma_{allow}\) = 500 MPa, about \(R_{p0.2}/1.4\) of a 20MnCr5 core):

\[\sigma_{v} = \frac{2p_{max}}{1 - Q^2} \le \sigma_{allow}.\]

The fit is the lightest of H6/r5, H6/s5, H6/u5 and H7/u6 that meets both (a fit can also be given). The hole is H6 because the H7 spread is too wide for a small shaft: the lower end gives no grip and the upper end overstresses the bore.

The shrink fit has three side effects that are reported:

  • Hoop stress at the tooth root, \(\sigma_t(D_o) = 2p_{max}Q^2/(1 - Q^2)\). It is a steady tensile stress under the teeth that lowers the bending margin. The ISO 6336 rating does not include it, so keep \(S_F\) well above its minimum with this joint.
  • Sun growth. The root circle grows by \(\Delta d = 2p_{max}Q^2 D_o / \big(E(1 - Q^2)\big)\), which takes backlash away from the sun–planet mesh like a longer centre distance: \(\Delta j \approx \Delta d\,\sin\alpha_w\). The check requires \(\Delta j \le 0.5\,j_{bn,min}\).
  • Assembly. Shrinking needs the sun heated to \(T = 20 + (\delta_{max,geom} + 0.001\,d)/(\alpha\,d)\) °C (\(\alpha = 11.5\cdot10^{-6}\)/K, 0.001 d joining clearance). A case-hardened sun must stay below about 150 °C, so a small sun usually needs the shaft cooled too (dry ice or liquid nitrogen). Pressing in cold takes \(F = \mu_{press}\,p_{max}\,\pi d L\) (\(\mu_{press}\) = 0.08); never press the sun onto a motor shaft through the motor bearings.

Retaining Adhesive

An anaerobic retaining compound fills the gap of a slip or transition fit (H7/k6) and carries the torque in shear:

\[T_{cap} = \tau_{allow}\,\pi d L\,\frac{d}{2} \ \ge\ S\,K_A T_s,\]

with \(\tau_{allow}\) = 8 MPa as a design value (the catalogue strength of 15–25 MPa reduced for the gap, temperature and ageing). It has no backlash, needs no heating, and can be combined with a light press fit. It softens above about 150 °C, which is also how it is taken apart.

Sun Cut on the Shaft

With the teeth hobbed (or shaped) and ground directly on the input shaft there is no joint at all: no backlash, no bore, no rim limit, so the sun can be as small as its tooth count allows (in gears.layout.module_limits the bore is taken as zero). The motor is then connected to this shaft by a clamp hub or a torsionally stiff coupling. shaft_d now means the shaft beside the sun. The checks are the torsion in the shaft at the root diameter,

\[\tau = \frac{16\cdot 1000\,K_A T_s}{\pi d_{f,s}^3} \le \tau_{allow},\]

and the room for the hob. A shaft below the root circle lets the hob run out freely. A shoulder that stands \(c = d_{sh}/2 - (d_{f,s}/2 - 0.25\,m)\) above the root needs an axial gap from the gear face, so that a hob of tip diameter \(d_{a0}\) (default 40 mm) can finish the full depth at the face:

\[L_{ro} = \sqrt{c\,(d_{a0} - c)} + 1\ \text{mm}.\]


ParallelKey

def ParallelKey(
    d:float, b:float, h:float, t1:float, t2:float
)->None:

DIN 6885-1 form A key for one shaft diameter. Lengths in mm.

k14 = ParallelKey.for_shaft(14)
print(k14, f"p = {k14.pressure(10.0, 16):.0f} MPa at 10 N·m, 16 mm key")
assert (k14.b, k14.h, k14.t2) == (5, 5, 2.3) and ParallelKey.standard_length(19) == 18
ParallelKey(d=14, b=5, h=5, t1=3.0, t2=2.3) p = 65 MPa at 10 N·m, 16 mm key

hob_runout

def hob_runout(
    c:float, hob_d:float
)->float:

Axial gap [mm] needed between the gear face and a shoulder that stands c [mm] above the root circle, so that a hob of tip diameter hob_d can cut the full depth up to the face (plus 1 mm). 0 if the shoulder is below the root.


adhesive_torque

def adhesive_torque(
    d:float, L:float, tau_allow:float
)->float:

Torque [N·m] a retaining-compound joint of diameter d and length L [mm] carries at shear stress tau_allow [MPa].


select_press_fit

def select_press_fit(
    d:float, D_o:float, L:float, T_req:float, sigma_allow:float, mu:float=0.12, Rz:float=2.0,
    fits:tuple[str, ...]=('H6/r5', 'H6/s5', 'H6/u5', 'H7/u6')
)->PressFit:

Lightest fit that carries T_req [N·m] without exceeding sigma_allow at the hub bore; else the strongest within stress, else the lightest.


press_fit

def press_fit(
    d:float, D_o:float, L:float, fit:str, mu:float=0.12, Rz:float=2.0, mu_press:float=0.08, E:float=210000.0,
    alpha:float=1.15e-05
)->PressFit:

Interference fit fit (‘H6/s5’, ‘H7/u6’, …) of a solid shaft d in a hub of outer diameter D_o, joint length L (see theory). Rz: roughness of each surface [µm], partly smoothed away on assembly.


PressFit

def PressFit(
    fit:str, d:float, D_o:float, L:float, delta_min:float, delta_max:float, p_min:float, p_max:float, T_slip:float,
    sigma_hub:float, sigma_root:float, growth:float, T_join:float, F_press:float
)->None:

Interference fit of a solid shaft in a hub (Lamé, equal E and ν). Lengths mm, pressures MPa, torque N·m.


spline_pressure

def spline_pressure(
    torque:float, d:float, m:float, length:float, phi:float=0.75
)->float:

Mean flank pressure [MPa] of a DIN 5480 spline for torque [N·m] over length [mm]; phi: share of teeth carrying.


spline_geometry

def spline_geometry(
    d:float, m:float
)->dict[str, float]:

DIN 5480 involute spline on nominal diameter d [mm] with module m: teeth z, mean diameter d_m, bearing height h_w.

pf = press_fit(16, 31.0, 20, "H6/s5")
print(f"H6/s5 Ø16 in Ø31 hub: δ = {pf.delta_min * 1000:.1f}…{pf.delta_max * 1000:.1f} µm, p = {pf.p_min:.0f}…{pf.p_max:.0f} MPa, "
      f"T_slip = {pf.T_slip:.1f} N·m, σ_hub = {pf.sigma_hub:.0f} MPa, growth {pf.growth * 1000:.1f} µm, join at {pf.T_join:.0f} °C")
print(f"spline W16 × 1: {spline_geometry(16, 1.0)}, p = {spline_pressure(10, 16, 1.0, 20):.0f} MPa at 10 N·m",
      f"adhesive Ø16 × 20 at 8 MPa: {adhesive_torque(16, 20, 8):.1f} N·m, hob run-out for a shoulder 4.5 mm above the root: {hob_runout(4.5, 40):.1f} mm")
assert pf.p_max > pf.p_min > 0 and pf.T_slip > 0
sel = select_press_fit(16, 31, 20, 5.0, 500)
assert sel.T_slip >= 5.0 and sel.sigma_hub <= 500 and select_press_fit(16, 31, 20, 1e6, 500).sigma_hub <= 500
H6/s5 Ø16 in Ø31 hub: δ = 13.8…32.8 µm, p = 66…158 MPa, T_slip = 64.1 N·m, σ_hub = 431 MPa, growth 16.9 µm, join at 303 °C
spline W16 × 1: {'z': 14, 'd_m': 14.9, 'h_w': 0.9}, p = 7 MPa at 10 N·m adhesive Ø16 × 20 at 8 MPa: 64.3 N·m, hob run-out for a shoulder 4.5 mm above the root: 13.6 mm

Planet Bearing: Theory

The planet runs on a needle roller cage directly on the pin: the pin is the inner raceway (\(F_w\)), the planet bore the outer raceway (\(E_w\)), with rollers of diameter \(D_w\) in a cage of width \(B_c\).

Load. The sun and ring push on each planet with the same force \(F_{bn}\) along their two lines of action. Their tangential parts add and their radial parts nearly cancel (exactly when \(\alpha_{w1} = \alpha_{w2}\)), so the pin carries

\[F_{pin} = K_\gamma F_{bn}\sqrt{(\cos\alpha_{w1} + \cos\alpha_{w2})^2 + (\sin\alpha_{w1} - \sin\alpha_{w2})^2} + m_p\,\omega_c^2\,a_w,\]

the last term being the planet’s centrifugal force, \(m_p\) its mass and \(\omega_c\) the carrier speed:

\[m_p = \rho\,\frac{\pi}{4}\left(d_p^2 - E_w^2\right) b,\qquad \omega_c = \frac{2\pi n_c}{60}.\]

The bearing turns at the planet’s speed relative to the carrier, \(n = \lvert n_{p/c}\rvert\), and the equivalent load is \(P = F_{pin}\) (pure radial load).

Required capacity for an \(L_{10h}\) basic rating life (roller bearing, exponent 10/3):

\[C_{req} = P\left(\frac{60\,n\,L_{10h}}{10^6}\right)^{3/10},\qquad L_{10h} = \frac{10^6}{60\,n}\left(\frac{C_r}{P}\right)^{10/3}.\]

Space. The bearing outer raceway is the planet bore; the rim between the planet root and the bore must keep at least \(c_p\) tooth depths (\(c_p = 1.2\): no rim penalty). That fixes the largest bore,

\[E_{w,max} = \left\lfloor d_{f,p} - 2\,c_p\,(h_{aP}^* + h_{fP}^*)\,m \right\rfloor.\]

A needle roller cage assembly (ISO 3030, type K \(F_w \times E_w \times B_c\)) has rollers of diameter \(D_w\) with \(E_w = F_w + 2D_w\), so the pin diameter is \(F_w\). The roller size follows the pin size as in the catalogues:

\(F_w\) [mm] ≤ 8 ≤ 12 ≤ 25 ≤ 40 ≤ 60 > 60
\(D_w\) [mm] 1.5 2.0 2.5 3.0 3.5 4.0

and the cage width is \(B_c = \lfloor b - 1 \rfloor\) mm (1 mm shorter than the planet). size_components tries bores \(E_w\) = 8, 9, 10, … mm up to \(E_{w,max}\) and takes the first one that passes all of

\[L_{10h} \ge L_{10h,req},\qquad \sigma_b \le \sigma_{allow},\qquad \frac{10\,\delta}{b} \le 0.01\ \text{mm},\qquad p_{plate} \le p_{allow}\]

(the pin checks are below). A smaller pin keeps the carrier bosses inside the ring.

Capacity estimate. Until a catalogue part is chosen, the dynamic load rating of the cage assembly is estimated with the ISO 281 formula for line-contact roller bearings,

\[C_r = b_m f_c (L_{we})^{7/9} Z^{3/4} D_w^{29/27},\qquad b_m = 1.1,\]

with \(Z = \lfloor \pi D_{pw}/(1.25\,D_w) \rfloor\) rollers on the pitch circle \(D_{pw} = F_w + D_w\), effective roller length \(L_{we} = \max(B_c - 3\ \text{mm},\ 0.6\,B_c)\) and \(f_c\) from ISO 281 Table 7 as a function of \(\gamma = D_w/D_{pw}\) (interpolated linearly in the table). It is within about 20 % of catalogue values; select the real part from the INA, SKF, IKO or NBC catalogue with \(C_r \ge C_{req}\) and check its own speed limit.

Raceway requirements when rolling directly on pin and bore: 58–64 HRC, case depth ≥ 0.3 mm plus grinding allowance, \(R_a \le 0.2\ \mu\)m, roundness and cylindricity within IT3–IT4. Normal operating clearance: planet bore G6, pin j5.


needle_cage_rating

def needle_cage_rating(
    Fw:float, Dw:float, Bc:float
)->tuple[float, int]:

Estimated dynamic load rating C_r [N] and roller count of a needle cage assembly (ISO 281 formula).


needle_roller_diameter

def needle_roller_diameter(
    Fw:float
)->float:

Typical roller diameter [mm] of a needle cage assembly for pin diameter Fw [mm].

C, Z = needle_cage_rating(20, 3, 17)
print(f"K 20×26×17 estimate: C_r ≈ {C/1000:.1f} kN with {Z} rollers")
assert 15e3 < C < 26e3
K 20×26×17 estimate: C_r ≈ 22.1 kN with 19 rollers

Planet Pin: Theory

The pin is held at both ends in the carrier plates. Treating it as simply supported at mid-plate (span \(L = b + 2s_w + t_c\), with face width \(b\), thrust washers of thickness \(s_w\) and plates of thickness \(t_c\)) and loaded by \(F_{pin}\) spread over the bearing length \(B_c\) is conservative for press-fitted ends:

\[M_{max} = F_{pin}\left(\frac{L}{4} - \frac{B_c}{8}\right),\qquad \sigma_b = \frac{32\,M_{max}}{\pi d_{pin}^3},\qquad \delta = \frac{F_{pin}\,(8L^3 - 4LB_c^2 + B_c^3)}{384\,E\,I},\qquad I = \frac{\pi d_{pin}^4}{64},\]

with \(d_{pin} = F_w\), \(E\) = 210 GPa, plate thickness \(t_c = \max(4\ \text{mm},\ \lceil 0.5\,d_{pin}\rceil)\) unless you set it, and overall pin length \(b + 2s_w + 2t_c\).

The pin load keeps a fixed direction relative to the carrier, so the pin stress is steady and the check is against the hardened pin’s yield with a margin (default allowable 400 MPa for 100Cr6 at 60 HRC, which covers stress raisers at the plate edges). Deflection above about 0.01 mm per 10 mm of face width will push \(K_{H\beta}\) above the default 1.2.

Pressure of the pin on each plate bore: \(p = F_{pin}/(2\,d_{pin}\,t_c)\); keep it under about 150 MPa for a steel carrier. Pin fit in the plates: the pin is ground to one diameter (j5, for the bearing) and the plate holes are N7, which gives a light press fit of about 2–30 µm; secure the pin against turning (flat and plate, or a cross pin).

Cantilevered Pin (Single-Plate Carrier)

With carrier = "single" there is one plate and each pin is pressed into it and overhangs, as in compact actuator gearboxes (motor-integrated, high ratio): with a high ratio the planets are so large that no posts fit between them. The pin is a cantilever, clamped over the plate thickness \(t_c\) and loaded at the middle of the planet:

from matplotlib.transforms import Affine2D

\[L = s_w + \frac{b}{2},\qquad M = F_{pin}\,L,\qquad \sigma_b = \frac{32\,M}{\pi d_{pin}^3},\qquad \delta = \frac{F_{pin}L^3}{3EI},\qquad \theta = \frac{F_{pin}L^2}{2EI}.\]

The pin seat in the plate carries the force and the moment; with a linear pressure along the seat the highest pressure is at the plate face:

\[p_{max} = \frac{F_{pin}}{d_{pin}\,t_c}\left(4 + \frac{6L}{t_c}\right) \le p_{allow},\qquad t_c = \max(4\ \text{mm},\ \lceil 1.2\,d_{pin}\rceil)\ \text{unless set}.\]

The slope tilts the planet against the sun and the ring, a misalignment \(f_{ma} = \theta\,b\) across the face. It is turned into a face load factor with the mesh stiffness \(c_\gamma \approx 20\) N/(mm·µm) (ISO 6336-1, \(K_{H\beta} \le 2\)):

\[K_{H\beta} = 1 + \frac{c_\gamma\,f_{ma}}{2\,w_m},\qquad w_m = \frac{K_A K_\gamma F_t}{b},\]

which must not exceed the \(K_{H\beta}\) assumed in the rating (default 1.2); otherwise the pin is made thicker, or the planets need crowning or a lead correction. The slope is also held to 0.01 mm per 10 mm of face. The pin is \(t_c + b + 2s_w + 1.5\) mm long, with a retaining ring at the free end; the plate holes are N7 (or P6 for a firmer seat), square to the plate face.

Carrier: Theory

The plates must hold the pins with a ring of material around each hole, and pass inside the ring’s tip circle during assembly. In the double-plate carrier, posts between the planets tie the two plates together (a single-plate carrier has no posts; there the planets only need a tip gap \(2a_w\sin(\pi/N) - d_{a,p} \ge 0.5\) mm, and the axial stack has one plate, \(t_c + b + 2s_w + 2c_{ax}\)):

\[2a_w + d_{pin} + 2e \le D_c \le d_{a,r} - 2c,\]

with \(e \ge \max(3\text{ mm}, 0.5\,d_{pin})\) the boss wall and \(c\) = 1 mm. The plate is made as large as the ring allows, \(D_c = \lfloor d_{a,r} - 2 \rfloor\), which must not be below the left-hand side. Between the planets, \(N\) posts tie the two plates together. A post has the tangential width left between neighbouring planet tips at radius \(a_w\), \(w_{post} = 2a_w\sin(\pi/N) - d_{a,p} - 2c\), and runs radially from the sun tip (plus clearance) to the plate edge. The free plate passes half the planet forces to the output plate through the posts, so each post is a beam fixed at both ends with a shear force

\[V = \frac{1000\,K_A\,T_c}{2N\,r_{post}},\qquad M = \frac{V\,L_{post}}{2},\qquad \sigma = \frac{6M}{h_{post}\,w_{post}^2},\]

with the post running from \(r_{in} = d_{a,s}/2 + 1\) mm (clear of the sun) to the plate edge:

\[h_{post} = \frac{D_c}{2} - r_{in},\qquad r_{post} = \frac{D_c/2 + r_{in}}{2},\qquad L_{post} = b + 2s_w,\]

and the post width at least 3 mm. Keep \(\sigma\) under about 120 MPa for a steel carrier (the post sees a pulsating load). The output shaft on the carrier plate needs \(d \ge \sqrt[3]{16\,K_A T_c/(\pi\,\tau_{allow})}\), with \(\tau_{allow}\) ≈ 40 MPa for a keyed steel shaft.

Ring Fixing: Theory

The ring reaction torque \(T_r = T_c - T_s\) goes into the housing. If \(z_b\) bolts clamp the ring axially on a bolt circle \(D_{bc}\), friction alone must carry it with a slip safety \(S_{slip}\):

\[z_b \ge \frac{2000\,S_{slip}\,K_A\,T_r}{\mu\,D_{bc}\,F_M}\]

with the assembly preload \(F_M\) of the bolt (VDI 2230 Table A1, property class 8.8, thread friction 0.12, 90 % yield), \(\mu\) = 0.15 between dry steel faces and \(S_{slip}\) = 1.5, and never fewer bolts than planets. The ring outside diameter and rim are

\[D_{ring} = D_{env} - 2t_{housing},\qquad s_R = \frac{D_{ring} - d_{f,r}}{2} \ge 1.75\,m\ \text{(ISO 6336-3 limit)}.\]

Bolts through the ring need a rim wide enough for the clearance hole \(d_h\) (ISO 273 medium) plus 1.5 mm of wall on each side, with the rim inside the bolt holes still at \(3.5\,m\):

\[s_R \ge d_h + 2\cdot 1.5 + 3.5\,m,\qquad D_{bc} = D_{ring} - 2\,(1.5 + d_h/2).\]

When the rim is too thin for that, the ring is pressed into the housing (H7/s6 class) and pinned with dowels.

Axial Stack

The length needed is two carrier plates, two thrust washers per planet, the face width, and the running clearances; the sun hub sits inside it. The axial envelope must hold

\[L_{stack} = 2t_c + b + 2s_w + 2c_{ax}.\]

The thrust washers are sized to sit on the pin and stay inside the planet root: inside diameter \(F_w + 0.5\), outside diameter \(\min(d_{f,p} - 1,\ E_w + 6)\), thickness \(s_w\).

Lubrication. A first choice from the pitch line velocity \(v\) (relative to the carrier):

\(v\) [m/s] < 1.5 1.5 – 5 5 – 12 ≥ 12
lubricant NLGI 00 semi-fluid grease or ISO VG 320 oil ISO VG 220 EP oil, splash (or NLGI 00 grease, sealed for life) ISO VG 150 EP oil, splash ISO VG 100 EP oil, spray or forced

Overall result. PlanetaryComponents.ok is true when every check passes: the sun joint (key or spline pressure; press-fit torque, bore stress and growth; adhesive torque; or shaft torsion), sun rim, bearing life, pin stress, plate pressure, pin deflection (single plate: pin slope and its \(K_{H\beta}\)), carrier plate inside the ring, post width and stress (single plate: planet tip gap), ring rim, and (if given) the axial length.


rim_thicknesses

def rim_thicknesses(
    ps:PlanetarySet, ci:ComponentInputs, planet_bore:float | None=None
)->dict[str, float | None]:

Rim under the tooth roots for the rim factor Y_B [mm]: sun over the hub groove, planet over its bore (default: the largest bore allowed), ring outside its roots.


max_planet_bore

def max_planet_bore(
    ps:PlanetarySet, ci:ComponentInputs
)->float:

Largest whole-mm planet bore E_w [mm] that keeps the planet rim of ci.planet_rim tooth depths.


ComponentInputs

def ComponentInputs(
    envelope_d:float, shaft_d:float, envelope_length:float | None=None, hub_joint:str='key', spline_module:float=1.0,
    spline_fit:str='sliding', press_fit:str | None=None, mu_fit:float=0.12, Rz_fit:float=2.0, slip_safety:float=1.5,
    sigma_hub_allow:float=500.0, tau_adhesive_allow:float=8.0, shrink_T_max:float=150.0, hob_d:float=40.0,
    carrier:str='double', c_gamma:float=20.0, housing_wall:float=0.0, planet_rim:float=1.2,
    bearing_life_h:float | None=None, plate_t:float | None=None, washer_t:float=1.0, axial_clearance:float=0.5,
    bolt:str='M5', p_key_allow:float=150.0, sigma_pin_allow:float=400.0, p_plate_allow:float=150.0,
    sigma_post_allow:float=120.0, tau_shaft_allow:float=40.0
)->None:

Envelope and choices for the parts around the gears. Lengths in mm.

envelope_d : outside diameter available [mm] envelope_length : axial length available for the stage [mm] (None: not checked) shaft_d : input shaft diameter in the sun bore [mm] hub_joint : ‘key’ (DIN 6885-1), ‘spline’ (DIN 5480), ‘press’ (interference fit), ‘adhesive’ (retaining compound) or ‘integral’ (sun cut on the shaft; shaft_d is then the shaft beside the sun) spline_module : module of the spline if hub_joint == ‘spline’ spline_fit : ‘sliding’ (9H/8f, backlash, floating sun) or ‘tight’ (9H/8k, no backlash) press_fit : fit for ‘press’ (e.g. ‘H6/s5’); None: lightest of PRESS_FITS that passes mu_fit, Rz_fit : friction coefficient and surface roughness Rz [µm] of the press fit slip_safety : required torque capacity of press fit or adhesive over K_A·T_sun sigma_hub_allow : allowable equivalent stress at the sun bore [MPa] tau_adhesive_allow : design shear stress of the retaining compound [MPa] shrink_T_max : highest temperature the hardened sun may be heated to for shrinking [°C] hob_d : hob tip diameter, for the run-out of a sun cut on its shaft [mm] carrier : ‘double’ (two plates joined by posts, pins supported at both ends) or ‘single’ (one plate, cantilevered pins, no posts between the planets) c_gamma : mesh stiffness [N/(mm·µm)] for the face load factor from the pin slope (‘single’) housing_wall : housing wall outside the ring (0: the ring is the outer wall) planet_rim : rim over the planet bore, in tooth depths (1.2: no rim penalty) bearing_life_h : required L10h of the planet bearings (None: same as the gear life) plate_t : carrier plate thickness (None: max(4, ceil(0.5·d_pin)) double, max(4, ceil(1.2·d_pin)) single) washer_t : thrust washer thickness per side axial_clearance : running clearance per side bolt : bolt size for clamping the ring (‘M3’ … ‘M12’) p_key_allow, sigma_pin_allow, p_plate_allow, sigma_post_allow, tau_shaft_allow : allowables [MPa]


size_components

def size_components(
    ps:PlanetarySet, rating:PlanetaryRating, ci:ComponentInputs, life_h:float, n_in:float, K_A:float=1.25,
    density:float=7.85e-06
)->PlanetaryComponents:

Size the sun joint, planet bearings, pins, carrier and ring fixing (see the theory sections).

life_h, n_in, K_A: as used for the rating; density in kg/mm³ for the planet centrifugal force.


lubrication_advice

def lubrication_advice(
    v:float
)->str:

Starting lubricant choice from the pitch line velocity v [m/s] (AGMA 9005 style ranges).


PlanetaryComponents

def PlanetaryComponents(
    sun_hub:dict, bearing:dict, pin:dict, carrier:dict, ring_mount:dict, axial:dict, lubrication:str,
    checks:tuple[Check, ...]
)->None:

Dimensions of the parts around the gears (mm, N, N·m) and their checks.

sun_hub : dict joint type, key size and length or spline data, rim bearing : dict cage assembly Fw × Ew × Bc, rollers, load, speed, C_req, C_est, L10h pin : dict diameter, length, span, stress, deflection, fits carrier : dict plate diameter and thickness, pin circle, posts, output shaft ring_mount : dict ring OD, bolts or press fit, torque axial : dict stack length and its parts lubrication: str starting recommendation checks : tuple[Check, …]


Check

def Check(
    name:str, value:float, limit:float, unit:str, upper:bool=True
)->None:

One component check: value against a limit.

Example

The rated set from gears.rating (18/27/72, module 1.5, 20 mm face) in a 120 mm envelope on a 14 mm keyed shaft:

from emachines.gears.layout import PlanetarySet
from emachines.gears.rating import RatingInputs, rate_planetary
ps = PlanetarySet.build(18, 27, 72, m=1.5, n_planets=3, b=20)
ci = ComponentInputs(envelope_d=120, shaft_d=14, envelope_length=40)
inp = RatingInputs(torque_out=40.0, n_in=3000.0)
r0 = rate_planetary(ps, inp, rims=rim_thicknesses(ps, ci))              # pass 1: largest planet bore
comp0 = size_components(ps, r0, ci, life_h=inp.life_h, n_in=inp.n_in)
rims = rim_thicknesses(ps, ci, planet_bore=comp0.bearing["Ew"])          # pass 2: the bore actually chosen
print({k: (round(v, 2) if v is not None else None) for k, v in rims.items()})
r = rate_planetary(ps, inp, rims=rims)
comp = size_components(ps, r, ci, life_h=inp.life_h, n_in=inp.n_in)
for name in ("sun_hub", "bearing", "pin", "carrier", "ring_mount", "axial"):
    d = getattr(comp, name)
    print(name + ":", {k: (round(v, 3) if isinstance(v, float) else v) for k, v in d.items()})
print(comp.lubrication)
for c in comp.checks:
    print(c)
{'sun': 2.68, 'planet': 13.52, 'ring': 4.48}
sun_hub: {'joint': 'key', 'shaft_d': 14, 'rim': 2.685, 'bore_fit': 'H7 (shaft k6)', 'backlash': 'key side clearance (P9 groove keeps it small)', 'key': 'DIN 6885-1 A 5 × 5 × 22', 'key_b': 5, 'key_h': 5, 't1': 3.0, 't2': 2.3, 'key_length': 22.0, 'key_pressure': 43.316, 'hub_groove_width': 'P9 (fixed key) or JS9', 'hub_groove_depth': '16.3 +0.1/0 over bore'}
bearing: {'type': 'needle roller cage assembly K 6 × 9 × 19 (ISO 3030), or equivalent; if no single cage this wide is listed, use two cages of about 10 mm side by side', 'Fw': 6.0, 'Ew': 9.0, 'Bc': 19, 'Dw': 1.5, 'rollers': 12, 'F_pin': 473.626, 'F_centrifugal': 25.618, 'speed_rpm': 1600.0, 'C_req': 3716.351, 'C_est': 8401.853, 'L10h_est': 151656.57, 'planet_rim': 13.515, 'raceways': 'pin and planet bore 58–64 HRC, Ra ≤ 0.2 µm, cylindricity IT3', 'bore_fit': 'G6', 'pin_fit': 'j5'}
pin: {'d': 6.0, 'length': 30.0, 'span': 26.0, 'M_max': 1953.706, 'sigma_b': 92.131, 'deflection': 0.01, 'plate_pressure': 9.867, 'material': '100Cr6 (1.3505) through hardened 58–64 HRC, or 16MnCr5 case hardened', 'fit_in_plates': 'plate holes N7 on the j5 pin (light press), pin secured against rotation', 'raceway_fit': 'j5', 'surface': 'Ra ≤ 0.2 µm on raceway'}
carrier: {'type': 'double-plate carrier with posts, output from one plate', 'plate_d': 102, 'plate_t': 4.0, 'pin_circle_d': 67.5, 'pin_holes': '3 × Ø6 N7 at 120°', 'post_width': 13.677, 'post_height': 34.64, 'post_length': 22.0, 'post_stress': 2.52, 'sun_clearance_bore': 32.72, 'output_shaft_min_d': 18.534, 'material': '42CrMo4 Q&T (1.7225) or C45 normalized, or sintered steel for series', 'pin_hole_position': 'pin circle radius ±(f_a) and angular position, see manufacturing data'}
ring_mount: {'method': 'ring pressed into housing (H7/s6) and secured with dowel pins; rim too thin for bolt holes', 'bolts': 0, 'ring_od': 120.0, 'ring_rim': 4.485, 'ring_torque': 31.753}
axial: {'plates': 8.0, 'face_width': 20, 'washers': 2.0, 'clearances': 1.0, 'stack': 31.0, 'thrust_washers': '2 per planet, Ø6.5/Ø15.0 × 1, hardened steel or PEEK'}
v = 3.4 m/s: ISO VG 220 EP gear oil, splash lubrication, or NLGI 00 grease for sealed-for-life units
✓ key flank pressure: 43.3 MPa (need ≤ 150)
✓ sun rim over hub groove / tooth depth: 0.796  (need ≥ 0.5)
✓ planet bearing L10h (estimated rating): 1.52e+05 h (need ≥ 1e+04)
✓ pin bending stress: 92.1 MPa (need ≤ 400)
✓ pin pressure on plate bore: 9.87 MPa (need ≤ 150)
✓ pin deflection per 10 mm face: 0.00507 mm (need ≤ 0.01)
✓ carrier plate inside ring tip circle: 79.5 mm (need ≤ 103)
✓ carrier post width between planets: 13.7 mm (need ≥ 3)
✓ carrier post bending stress: 2.52 MPa (need ≤ 120)
✓ ring rim / module (ISO 6336-3 lower limit; Y_B > 1 below 3.5): 2.99  (need ≥ 1.75)
✓ axial stack within envelope length: 31 mm (need ≤ 40)

The stage is 51 mm long against a 40 mm envelope, so this face width does not fit; gears.design searches for a set that does. The rating is run twice because the planet rim depends on the bearing, which depends on the load. The sun rim over the key groove is thin here, so the sun’s bending stress carries a rim factor above 1:

sun_r = next(g for g in r.gears if g.gear == "sun")
print(f"sun Y_B = {sun_r.Y_B:.3f}, S_F = {sun_r.S_F:.2f}")
assert sun_r.Y_B > 1.0
sun Y_B = 1.658, S_F = 14.61

Tests