Purpose: Check that the teeth of a planetary set survive the load for the required life: pitting of the flanks (contact stress) and fatigue breakage at the root (bending stress), for the sun–planet and planet–ring meshes.
What it does:rate_planetary splits the output torque over the planets, applies the load factors of ISO 6336-1, and computes the contact stress of ISO 6336-2 and the tooth-root stress of ISO 6336-3 for each gear, with the life factors for the number of load cycles each gear sees. It returns the safety factors against pitting \(S_H\) and against root breakage \(S_F\), and names the gear and failure mode that limit the design.
Method: ISO 6336:2019 Method B for the geometry factors, with Method C simplifications for the dynamic factor \(K_v\), the face load factor \(K_{H\beta}\) (entered, with a default) and the transverse load factors \(K_{H\alpha}\), \(K_{F\alpha}\). The tooth form factor uses load at the tip with the contact ratio factor \(Y_\varepsilon\) (Method C of ISO 6336-3:1996), which is a little conservative compared with loading at the outer point of single tooth contact. This is a design calculation. A design that is close to its limits, or a safety-critical one, should be re-checked in KISSsoft, RIKOR or a full ISO 6336 tool, and the material values confirmed with the heat treater.
How It Fits Into the Gear Design Workflow
Upstream:gears.layout.PlanetarySet (geometry and contact ratios of both meshes).
Downstream:gears.components (the tooth forces load the planet pins and bearings), gears.design (the search keeps sets whose safety factors meet the minima).
Materials
Allowable stress numbers for the endurance limit, from ISO 6336-5 for quality grade MQ (the grade a good commercial heat treater achieves with process control). \(\sigma_{H\,lim}\) is the contact endurance limit and \(\sigma_{F\,lim}\) the bending endurance limit of the standard reference test gear; the bending strength of a single tooth loaded in one direction is \(\sigma_{FE} = 2\sigma_{F\,lim}\).
31CrMoV9 nitriding steel, gas nitrided, ≥ 650 HV surface
1250
420
ring, planets
qt_nitrided
42CrMo4 quenched and tempered, then nitrided, ≥ 500 HV
1000
360
ring
through_hardened
42CrMo4 quenched and tempered to about 300 HB (315 HV)
787
321
ring, low-cost sets
The through-hardened values come from the ISO 6336-5 MQ lines \(\sigma_{H\,lim} = 1.313\,HV + 373\) and \(\sigma_{F\,lim} = 0.425\,HV + 187\). The others are the MQ plateau values. Treat all of them as typical; your supplier’s certificate or the heat treater’s own data takes precedence.
name : str Designation for the drawing treatment : str Heat treatment for the drawing hardness : str Surface (and core) hardness for the drawing sigma_Hlim : float Contact endurance limit [MPa] sigma_Flim : float Bending endurance limit [MPa] kind : str ‘case’ (carburized/induction), ‘nitrided’ or ‘through’ — selects the life curves E, nu : float Young’s modulus [MPa] and Poisson’s ratio
Tooth Form and Stress Correction Factors: Theory
The root stress is greatest at the critical section, where a 30° tangent touches the root fillet. The tooth is treated as a cantilever loaded at its tip: the normal load \(F_n\) acts along the flank normal at the angle \(\alpha_{Fan}\), its bending arm above the section is \(h_{Fa}\), the section is \(s_{Fn}\) wide and the fillet there has radius \(\rho_F\).
For a gear cut by a rack (hob) with dedendum \(h_{fP}\), tip radius \(\rho_{fP}\) and no protuberance, ISO 6336-3 gives the section through the auxiliary quantities
With the load at the tip (\(\alpha_{an} = \arccos(d_b/d_a)\), \(\gamma_a = \frac{1}{z}(\frac{\pi}{2} + 2x\tan\alpha) + \operatorname{inv}\alpha - \operatorname{inv}\alpha_{an}\), \(\alpha_{Fan} = \alpha_{an} - \gamma_a\)):
Internal gears. ISO 6336-3 treats the ring tooth as a rack tooth with the ring’s own reference thickness \(s\), addendum \(h_a = m(h_{aP}^* + x - k^*)\), dedendum \(h_f = m(h_{fP}^* - x)\) and fillet radius \(\rho = \rho_{fP}^* m\). Put the origin on the tooth centreline at the root line, \(y\) upwards. The straight flank is \(x = C - y\tan\alpha\), and the fillet circle touches both the root line and the flank:
The tip load acts at the tip corner \((w_a, y_a)\) with \(y_a = h_f + h_a\) and \(w_a = C - y_a\tan\alpha\), normal to the flank, so it crosses the centreline at \(y_a - w_a\tan\alpha\) and
\(Y_{Fa}\) and \(Y_{Sa}\) then follow from the same two formulas as above. The fillet radius of a shaped ring comes from the shaper cutter tip radius; GearGeometry.rho_f of the ring stands for it.
Rim thickness factor. A thin rim under the teeth bends as well. With rim thickness \(s_R\) and tooth depth \(h_t = (h_{aP}^* + h_{fP}^*)\,m\):
Tooth form factor Y_Fa, stress correction factor Y_Sa and the critical-section values s_Fn, h_Fa, rho_F [mm] for load at the tip (see theory). Works for external and internal gears.
for z in (12, 17, 20, 30, 60, 200): f = form_factors(GearGeometry(z=z, m=1, x=0.0if z >=17else0.4))print(f"z = {z:3d}: Y_Fa = {f['Y_Fa']:.3f} Y_Sa = {f['Y_Sa']:.3f} Y_Fa·Y_Sa = {f['Y_Fa'] * f['Y_Sa']:.3f}")f20 = form_factors(GearGeometry(z=20, m=1))assert2.7< f20["Y_Fa"] <2.9and1.5< f20["Y_Sa"] <1.6# ISO 6336-3 chart values ≈ 2.80 / 1.55# the rack-tooth model used for internal gears agrees with the external formulas as z → ∞fe = form_factors(GearGeometry(z=50000, m=1))fr = _rack_tooth_section(math.pi /2, 1.0, 1.25, 0.38, math.radians(20))assertabs(fe["s_Fn"] - fr[0]) <1e-3andabs(fe["h_Fa"] - fr[1]) <1e-3print("internal ring z = 72:", {k: round(v, 3) for k, v in form_factors(GearGeometry(z=72, m=1, internal=True, k_tip=0.2)).items()})
Load sharing between planets, \(K_\gamma\). Tolerances on pin positions and tooth thickness make one planet carry more than \(1/N\) of the torque. Typical values for a sun held on a stiff shaft (after AGMA 6123-B06):
\(N\)
2
3
4
5
6
7
8
\(K_\gamma\)
1.00
1.10
1.25
1.35
1.44
1.47
1.50
Three planets with a floating sun (radially free, for example on a crowned spline or a flexible coupling) share the load evenly: \(K_\gamma = 1.0\).
Dynamic factor \(K_v\) (ISO 6336-1 Method C for spur gears, using the pitch line velocity relative to the carrier, \(v = \pi d_s |n_s - n_c|/60\,000\)):
with \(K_A F_t/b \ge 100\) N/mm (smaller values are raised to 100), \(z_1\) the smaller gear and \(u = z_{large}/z_{small}\) for the sun–planet mesh, and \(z_1 = z_p\), \(u = z_r/z_p\) for the planet–ring mesh. \(K_1\) comes from the ISO 1328 accuracy grade:
grade
3
4
5
6
7
8
9
10
\(K_1\)
2.1
3.9
7.5
14.9
26.8
39.1
52.8
76.6
Face load factor. The planet pins bend and the carrier twists, so the load is not uniform across the face. \(K_{H\beta}\) is an input (default 1.2, a reasonable value for a straddle-mounted double-plate carrier with crowned or ground planets; use 1.35 or more for a single-plate cantilever carrier). The bending factor follows from it:
Transverse load factors (spur, \(K_A F_t/b \ge 100\) N/mm): \(K_{H\alpha} = K_{F\alpha} = 1.0\) for grades 5–6; for surface-hardened gears 1.1 at grade 7 and 1.2 at grade 8; for through-hardened gears 1.0 at grade 7 and 1.1 at grade 8. The surface-hardened line is used unless one of the three gears is through hardened.
Application factor \(K_A\) is yours to choose: 1.0 for a smooth electric motor driving a uniform load, 1.25 for moderate shocks, 1.5–1.75 for heavy shocks. If you rate on peak torque instead of the nominal torque, use \(K_A = 1\) with the peak torque, and check the static strength separately.
A gear that sees fewer load cycles than its endurance limit can take more stress. ISO 6336-2/-3 Method B give log–log straight lines through these points; above \(10^{10}\) cycles the factor is held. This module uses the conservative branch (factor falls to 0.85 at \(10^{10}\) cycles), which applies unless the lubrication, material cleanliness and manufacturing are all known to be optimal.
kind
\(Z_{NT}\): static / knee
\(Y_{NT}\): static / knee
case, through
1.6 at ≤ \(10^5\), 1.0 at \(5\cdot10^7\)
2.5 at ≤ \(10^3\) (through: \(10^4\)), 1.0 at \(3\cdot10^6\)
nitrided
1.3 at ≤ \(10^5\), 1.0 at \(2\cdot10^6\)
1.6 at ≤ \(10^3\), 1.0 at \(3\cdot10^6\)
Between the points the factor is interpolated on log–log scales: for \(N_0 \le N \le N_1\) with factors \(f_0, f_1\),
\[\log f = \log f_0 + \frac{\log N - \log N_0}{\log N_1 - \log N_0}\,(\log f_1 - \log f_0).\]
Load cycles in a planetary set (ring fixed, \(L_h\) hours, one flank loaded per mesh):
The planet meshes with the sun on one flank and with the ring on the other, so each tooth root is bent one way and then the other on every revolution. ISO 6336-3 accounts for this alternating bending with the mean stress factor \(Y_M = 0.7\) on the planet.
The force along the line of action is the same at both meshes of a planet (moment balance about the pin), and its component on the reference circle is the nominal tangential force. The carrier holds the pin against the sum of the two.
\[T_s = \frac{T_{out}}{i\,\eta},\qquad F_t = \frac{2000\,T_s}{N\,d_s}\quad[\text{N, with } T_s \text{ in N·m and } d_s \text{ in mm}],\qquad F_{bn} = \frac{F_t}{\cos\alpha},\qquad T_r = -(T_{out} - T_s).\]
\(\eta\) is the stage efficiency (default 0.97) and \(T_r\) the reaction torque the housing must hold. The pitch line velocity used for \(K_v\) is taken relative to the carrier, \(v = \pi d_s\,\lvert n_s - n_c\rvert/60\,000\) m/s.
\(Z_B\), \(Z_D\) move the stress from the pitch point to the inner point of single tooth contact of an external pinion and wheel, where one tooth pair carries the whole load:
T_sun, T_ring, T_carrier : torques [N·m] (ring reaction is opposite in sign to the others) F_t : nominal tangential force per planet mesh [N] (before K_γ) F_bn : force along the line of action per mesh [N] (before K_γ) v : pitch line velocity relative to the carrier [m/s] factors : the load factors used gears : one GearRating per gear and mesh (sun, planet@sun, planet@ring, ring)
torque_out : float Output (carrier) torque [N·m] used for the rating n_in : float Input (sun) speed [rpm] life_h : float Required life [h] at this torque and speed K_A : float Application factor K_Hbeta : float Face load factor (see theory) grade : int ISO 1328-1 flank tolerance class of the gears floating_sun : bool Sun radially free (three planets share load evenly) efficiency : float Mesh efficiency of the stage, for the sun torque S_Hmin : float Required safety against pitting S_Fmin : float Required safety against tooth breakage flank_finish : str ‘ground’ or ‘hobbed’ for sun and planets; the ring is always shaped (Z_LvR = 0.85)
Example
The ratio-5 set of the layout notebook (module 1.5, 18/27/72, three planets, 20 mm face) at 40 N·m output, 3000 rpm input, 10 000 h:
from emachines.gears.layout import PlanetarySet
ps = PlanetarySet.build(18, 27, 72, m=1.5, n_planets=3, b=20)r = rate_planetary(ps, RatingInputs(torque_out=40.0, n_in=3000.0, life_h=10_000))print(f"T_sun = {r.T_sun:.2f} N·m, T_ring = {r.T_ring:.2f} N·m, F_t = {r.F_t:.0f} N per planet, v = {r.v:.2f} m/s")print({k: round(v, 3) for k, v in r.factors.items()})print(r.table())assert r.ok
T_sun = 8.25 N·m, T_ring = -31.75 N·m, F_t = 204 N per planet, v = 3.39 m/s
{'K_A': 1.25, 'K_gamma': 1.1, 'K_Halpha': 1.0, 'K_Hbeta': 1.2, 'K_v sun–planet': 1.086, 'K_Fbeta sun–planet': 1.164, 'K_v planet–ring': 1.144, 'K_Fbeta planet–ring': 1.164}
gear mesh cycles σH σHP S_H σF σFP S_F Y_Fa Y_Sa Y_B
sun sun–planet 4.32e+09 461 1204 2.61 36 617 24.22 2.50 1.65 1.00
planet sun–planet 9.60e+08 454 1260 2.78 38 445 16.46 2.93 1.50 1.00
planet planet–ring 9.60e+08 220 1260 5.74 36 445 17.30 2.93 1.50 1.00
ring planet–ring 1.08e+09 220 754 3.43 31 457 20.83 1.82 2.06 1.00
min S_H = 2.61 (need 1.0), min S_F = 16.46 (need 1.4); limited by pitting of the sun (sun–planet mesh)
Doubling the torque roughly halves the bending safety and divides the pitting safety by \(\sqrt2\), which is the scaling to expect:
ISO 6336-1:2019 — Calculation of load capacity of spur and helical gears — Basic principles and influence factors (\(K_v\), \(K_{H\beta}\), \(K_{H\alpha}\)).
ISO 6336-2:2019 — Calculation of surface durability (pitting).
ISO 6336-3:2019 — Calculation of tooth bending strength (30° tangent, \(Y_F\), \(Y_S\), \(Y_B\), \(Y_M\)).
ISO 6336-5:2016 — Strength and quality of materials.