Skip to main content

apply_gearbox

Function apply_gearbox 

Source
pub fn apply_gearbox(cfg: &mut Config, name: &str) -> Result<(), ConfigError>
Expand description

Puts a gearbox of the catalogue into a config. The name is size, motor frame (for the gearboxes fitted through an adapter plate the clamping hub’s bore in mm) and ratio, e.g. “NRK070-04-5” or “SP+100MF-19-20”, with “-r” after it for the maker’s reduced backlash (“SP100-05-20-r”). Sets ratio, efficiency, torsional stiffness, backlash and the gearbox’s own inertia, and sets the torque ratings where the config has them. Where the row has them and the config the keys: the torque the efficiency holds at (the rated torque: makers give the efficiency at full load), the no-load running torque and its speed, and the stiffness curve (a strain wave gear’s K1 to K3 with its knees T1 and T2 and its hysteresis; a gearbox without one is linear, both knees at its rated torque and K2 = K3 = its stiffness, as docs/config-reference.md says for a planetary gearbox).