Skip to content

Commit 231b477

Browse files
authored
fix(iso6336): correct C_ZL formula (43) to sigma_Hlim/4375 (corrected version 2020-11) (#31)
1 parent 2417131 commit 231b477

5 files changed

Lines changed: 36 additions & 8 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ All notable changes are documented here. The format follows
77

88
## [Unreleased]
99

10+
### Fixed
11+
* ISO 6336-2 `C_ZL` (formula 43, corrected version 2020-11): `σ_Hlim / 4375` instead of
12+
`/ 437.5`; wrong `Z_L`, `Z_v` and pitting safety factor for `850 <= σ_Hlim <= 1200 MPa` (KI-43, #30).
13+
1014
## [0.2.0] - 2026-10-23
1115

1216
### Added

‎KNOWN_ISSUES.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ suspected deviation from the standard; to be confirmed against the 2019 editions
5353
| KI-40 | `Transmission.transverse_contact_ratio` | ISO 6336-2 formula (33): the roll angle of each flank is limited by `tan α_wt` (base circle tangent point), which only binds for small pinions whose mate tip lies beyond the interference point (before, `ε_α` was overestimated there). The limits by the active root diameter `d_Nf` (34)-(35) are not applied: `d_Nf` comes from ISO 21771, not available. Not applied to internal wheels. No existing reference scenario changes. | **fixed** (base circle only) |
5454
| KI-41 | `export`, `fem` (tooth form of `profile.py`) | The root fillet was a circular arc of radius `ρ_fP·m_n` tangent to the root circle, not the curve the hob generates. Where the arc could not reach the involute tangentially (e.g. `z = 22`, `x = 0`, `ρ_fP* = 0.38`) the code warned "undercutting occurs" and joined it to the base circle with a 35° corner, which raised the FEM root stress by about 40 % and inverted elements of refined meshes. The fillet is now generated by the rack: tip rounding `ρ_fP` in the normal section (an ellipse in the transverse section, so helical gears work), rolling on the reference circle with the datum line at `x·m_n`, contact where the rack normal passes through the pitch point; with undercut it ends where it cuts the involute. Checked against ISO 6336-3:2019 formulae (23)-(25): the chord and fillet radius of the mesh profile at the 30° tangent equal `s_Fn` and `ρ_F` (`tests/test_profile_generated_fillet.py`), and the 2D FEM root stress is within 2-12 % of `Y_F·Y_S·F_t/(b·m_n)`. The protuberance (`s_pr`) and the shaper cutter are not modelled in the tooth form (the rack with the same tip radius is used). All export coordinates of the fillet changed; no strength result changes. | **fixed** |
5555
| KI-42 | ISO `K_v` method B | The tip relief produced by running-in `C_ay` (ISO 6336-1:2019 table 8, note 1; figure 3) was computed with `1/8` instead of `1/18`, about twice the value (9.8 instead of 5.2 um at `σ_Hlim = 1000 MPa`). It only enters `B_k` (formula 17) of gears of tolerance class 5 or better; for `spur_sr20` with class 4 or 5, `K_v` rises by 0.0004. No reference scenario changes (they are class 6). Now `running_in_tip_relief`, tested against the formula and figure 3. | **fixed** |
56+
| KI-43 | ISO `C_ZL` | Formula (43) of ISO 6336-2:2019 was implemented with the printing error of the first 2019 issue, `σ_Hlim / 437.5 + 0.6357`; the corrected version 2020-11 removed the decimal sign: `σ_Hlim / 4375 + 0.6357`. Only `850 <= σ_Hlim <= 1200 MPa` of the weaker gear was affected (`C_ZL` was 2.6-3.4 instead of 0.83-0.91), which distorted `Z_L` and `Z_v` and therefore the pitting safety factor. `C_ZL` is now continuous at both ends (0.83 and 0.91). Reference scenario `spur_through` (σ_Hlim 1000-1100 MPa) moves: `Z_L` 1.070 -> 0.995, `Z_v` 1.528 -> 0.969, pitting safety factors 1.15/1.24 -> 0.68/0.73. Reported in issue #30. | **fixed** |
5657

5758
Two behaviours that are *not* defects but were surprising and are now explicit:
5859

‎src/gearbox/standards/iso6336/pitting.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,17 @@ def _relative_radius_of_curvature(transmission: Transmission) -> float:
285285

286286

287287
def _lubricant_constant(transmission: Transmission) -> float:
288-
"""``C_ZL`` from the weaker material (shared by ``Z_L`` and ``Z_v``)."""
288+
"""``C_ZL`` from the weaker material (shared by ``Z_L`` and ``Z_v``).
289+
290+
ISO 6336-2:2019 formula (43), corrected version 2020-11: ``σ_Hlim / 4375 + 0.6357``
291+
between 850 and 1200 MPa (KI-43).
292+
"""
289293
weakest = min(
290294
transmission.pinion.material.contact_stress_limit,
291295
transmission.wheel.material.contact_stress_limit,
292296
)
293297
if 850 <= weakest <= 1200:
294-
return (weakest / 437.5) + 0.6357
298+
return (weakest / 4375) + 0.6357
295299
if weakest < 850:
296300
return 0.83
297301
return 0.91

‎tests/golden/reference.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -868,17 +868,17 @@
868868
"helix_angle_factor": 1.0,
869869
"life_factor_pinion": 0.9161103303754252,
870870
"life_factor_wheel": 0.9410447174122808,
871-
"lubricant_factor": 1.0700760451224036,
872-
"permissible_contact_stress_pinion": 1445.4657518566955,
873-
"permissible_contact_stress_wheel": 1484.8079591326948,
871+
"lubricant_factor": 0.9950498330492572,
872+
"permissible_contact_stress_pinion": 852.1402289611266,
873+
"permissible_contact_stress_wheel": 875.3334990008652,
874874
"roughness_factor": 0.965161487530373,
875-
"safety_factor_pinion": 1.1496963147604975,
876-
"safety_factor_wheel": 1.2351004861136303,
875+
"safety_factor_pinion": 0.6777763358539282,
876+
"safety_factor_wheel": 0.7281243500061921,
877877
"single_pair_contact_factor_pinion": 1.0458193492610734,
878878
"single_pair_contact_factor_wheel": 1.0,
879879
"size_factor": 1.0,
880880
"transverse_load_factor": 1.0,
881-
"velocity_factor": 1.527725753136531,
881+
"velocity_factor": 0.9685420324935501,
882882
"work_hardening_factor_pinion": 1.0,
883883
"work_hardening_factor_wheel": 1.0,
884884
"zone_factor": 2.4945731713945865

‎tests/test_iso6336_2_pitting_2019.py‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,22 @@ def test_lubricant_factor_uses_at_most_500_cst():
171171
thick = replace(base, lubricant=replace(base.lubricant, kinematic_viscosity_40c=900.0))
172172
capped = replace(base, lubricant=replace(base.lubricant, kinematic_viscosity_40c=500.0))
173173
assert pitting.lubricant_factor(thick) == pytest.approx(pitting.lubricant_factor(capped))
174+
175+
176+
def test_lubricant_constant_formula_43_is_continuous():
177+
"""C_ZL = sigma_Hlim/4375 + 0.6357 (version 2020-11); 0.83 below 850, 0.91 above 1200."""
178+
base = scenario("spur_sr20")
179+
180+
def c_zl(limit):
181+
t = _with_materials(
182+
base,
183+
pinion={"contact_stress_limit": limit},
184+
wheel={"contact_stress_limit": limit},
185+
)
186+
return pitting._lubricant_constant(t)
187+
188+
assert c_zl(849.0) == pytest.approx(0.83)
189+
assert c_zl(850.0) == pytest.approx(0.83, abs=1e-3)
190+
assert c_zl(1000.0) == pytest.approx(1000.0 / 4375.0 + 0.6357)
191+
assert c_zl(1200.0) == pytest.approx(0.91, abs=1e-3)
192+
assert c_zl(1201.0) == pytest.approx(0.91)

0 commit comments

Comments
 (0)