pub struct RackPinion {
pub module: f64,
pub teeth: f64,
pub helix_angle: f64,
pub efficiency: f64,
pub stiffness: f64,
pub backlash: f64,
pub pinion_inertia: f64,
pub rated_force: f64,
pub service_factor: f64,
pub pressure_angle: f64,
pub damping_ratio: f64,
}Expand description
A pinion on a rack. Config [rack]: module_m, teeth, helix_angle_deg, efficiency, stiffness_n_m (mesh and
rack mounting), backlash_m, pinion_inertia_kgm2, rated_feed_force_n (the maker’s permissible feed force of the
pair), service_factor (K_A), and optionally pressure_angle_deg (normal section, 20 where absent) and
damping_ratio (the damping ratio of the mass behind the pinion on the mesh’s spring: Converter::apply_back; 0
where absent).
Fields§
§module: f64§teeth: f64§helix_angle: f64§efficiency: f64§stiffness: f64§backlash: f64§pinion_inertia: f64§rated_force: f64§service_factor: f64§pressure_angle: f64Normal pressure angle, rad.
damping_ratio: f64Implementations§
Source§impl RackPinion
impl RackPinion
pub fn from_config(cfg: &Config) -> Result<Self, ConfigError>
Sourcepub fn radius(&self) -> f64
pub fn radius(&self) -> f64
The pinion’s pitch radius: m z / (2 cos beta), the normal module m.
Sourcepub fn allowed_force(&self) -> f64
pub fn allowed_force(&self) -> f64
The highest feed force the cycle may reach: the rated feed force over the service factor.
pub fn converter(&self) -> Converter
Source§impl RackPinion
impl RackPinion
pub fn signal_info(&self, id: &str, key: &'static str) -> SignalInfo
Sourcepub fn feed_force(force: f64, speed: f64, efficiency: f64) -> f64
pub fn feed_force(force: f64, speed: f64, efficiency: f64) -> f64
The force on the teeth for the force force the rack passes to the load at speed and the efficiency
efficiency in effect (1 with effects.gearbox_efficiency off): more than it while the pinion drives, less while
the load drives it back.
Sourcepub fn radial_load(&self, tooth_force: f64) -> f64
pub fn radial_load(&self, tooth_force: f64) -> f64
The radial load the pinion puts on the gearbox’s output shaft for the force tooth_force on its teeth: the tooth
force itself, tangential to the pinion and so across the shaft, and the force that pushes pinion and rack apart,
F tan(alpha_n) / cos(beta), at right angles to it: |F| sqrt(1 + (tan(alpha_n) / cos(beta))^2). The axial force of
a helical pinion, F tan(beta), and the tilt it puts on the shaft are left out.
Sourcepub fn rating_checks(&self, id: &str, motor: usize) -> Vec<RatingCheck>
pub fn rating_checks(&self, id: &str, motor: usize) -> Vec<RatingCheck>
“rack-feed-force”: the force on the teeth of joint id (signal rack.<id>.feed_force) against allowed_force.
Trait Implementations§
Source§impl Clone for RackPinion
impl Clone for RackPinion
Source§fn clone(&self) -> RackPinion
fn clone(&self) -> RackPinion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RackPinion
impl Debug for RackPinion
Source§impl PartialEq for RackPinion
impl PartialEq for RackPinion
Source§fn eq(&self, other: &RackPinion) -> bool
fn eq(&self, other: &RackPinion) -> bool
self and other values to be equal, and is used by ==.