add_worm_gear_mating¶
- add_worm_gear_mating(master: WormGear | WormWheel, slave: WormGear | WormWheel, friction_coefficient: float | int) None¶
It creates a gear mating between a worm gear and a worm wheel. This mating is used to compose the
Powertrain.The
mastergear is closest to the motor and transfers a fraction of the driving torque to theslaveone, based on the mating efficiency, which depends on thefriction_coefficient: the higher thefriction_coefficient, the lower the fraction of transferred driving torque.Parameters¶
masterWormGearorWormWheelDriving gear. It must be an instance of
WormGearorWormWheel, but different fromslave.slaveWormGearorWormWheelDriven gear. It must be an instance of
WormGearorWormWheel, but different frommaster.friction_coefficientfloatorintStatic friction coefficient of the gear mating. It must be a
floator anintbetween0and1.
Raises
TypeErrorValueErrorIf
friction_coefficientis not within0and1,if
masterandslavehave different values forpressure_angle(seeWormGear.pressure_angleorWormWheel.pressure_angle)
Notes
The gear ratio of the mating can be computed with the following relationship, regardless of
masterorslaveroles:\[\tau = \frac{n_z}{n_s}\]where:
\(\tau\) is the gear ratio, the ratio between the worm gear angular speed and the worm wheel angular speed,
\(n_z\) is the worm wheel number of teeth,
\(n_s\) is the worm gear number of starts.
If the
WormGearis themasterand theWormWheelis theslave, then the gear mating efficiency can be computed with the relationship:\[\eta = \frac{\cos \alpha - f \, \tan \beta}{\cos \alpha + \frac{f}{\tan \beta}}\]otherwise, if the
WormGearis theslaveand theWormWheelis themaster, then the gear mating efficiency can be computed with the relationship:\[\eta = \frac{\cos \alpha - \frac{f}{\tan \beta}}{\cos \alpha + f \, \tan \beta}\]where:
\(\eta\) is the gear mating efficiency,
\(\alpha\) is the gear pressure angle, equal for both worm gear and worm wheel (
WormGear.pressure_angleorWormWheel.pressure_angle),\(f\) is the
friction_coefficient,\(\beta\) is the gear helix angle (
WormGear.helix_angleorWormWheel.helix_angle).
The mating self-locking condition can be checked as:
\[f > \cos \alpha \, \tan \beta\]