Gear Ratio Design (gear-ratio-design)
Purpose
Search integer tooth-count combinations to achieve a target speed ratio within specified tolerance. Optimizes for compactness, balanced wear, or minimum total teeth subject to interference and manufacturing constraints.
Physics & theory
Gear ratio for external spur gears is . Only integer tooth counts are manufacturable, so exact ratios are approximated: . Error must fall within tolerance for synchronized drives.
Minimum tooth counts avoid undercut in standard involute profiles (typically for 20° pressure angle without profile shift). Hunting tooth combinations (where common factors of and exceed 1) distribute wear unevenly — coprime tooth counts are preferred for long life.
Governing equations
Numerical method
Exhaustive or bounded integer search over tooth count ranges. Filters candidates by minimum teeth, interference, and ratio error. Ranks solutions by total teeth, center distance, or hunting tooth preference.
Inputs
| Parameter | Description |
|---|---|
targetRatio | Desired |
tolerance | Maximum ratio error |
minTeeth, maxTeeth | Search bounds |
module | For center distance estimate |
| Preferences | Min total teeth, coprime requirement |
Outputs
- Ranked tooth-count pairs, actual ratio, ratio error, center distance, hunting tooth flag.
Design codes & checks
- Indicative: Ratio error screening
Assumptions & limitations
- External spur pair; internal or compound trains not searched.
- No profile shift or helical overlap considered.
- Center distance assumes standard involute with zero backlash.
- Does not verify bending/contact capacity — use Gear Design module.
References
- Shigley, J. E., & Budynas, R. G. Mechanical Engineering Design, 11th ed., Ch. 13.
- AGMA 917-B97. Design Manual for Parallel Shaft Fine-Pitch Gearing.
- ISO 21771:2007. Cylindrical involute gears and gear pairs — Concepts.
- Buckingham, E. Analytical Mechanics of Gears. Dover.
- PhyCalcPro verification benchmarks in
src/data/verification/where available for this module. - Beer, F. P., et al. Mechanics of Materials, 8th ed. McGraw-Hill — foundational stress and deformation theory.