pub struct BallScrew {Show 19 fields
pub lead: f64,
pub nominal_diameter: f64,
pub root_diameter: f64,
pub length: f64,
pub mounting: Mounting,
pub efficiency: f64,
pub back_efficiency: f64,
pub nut_stiffness: f64,
pub bearing_stiffness: f64,
pub preload: f64,
pub dynamic_rating: f64,
pub static_rating: f64,
pub load_factor: f64,
pub static_safety: f64,
pub speed_factor: f64,
pub buckling_safety: f64,
pub max_dn: f64,
pub axial_damping_ratio: f64,
pub fixed_bearing_at: Option<f64>,
}Expand description
A ball screw: shaft, nut and the bearings that hold the shaft. The nut moves the load by lead per turn.
Config [screw]: lead_m, nominal_diameter_m, root_diameter_m, length_m (between the bearings, or from the
fixed bearing to the free end), mounting (as Mounting::parse), efficiency, friction_coefficient (with
effects.screw_lead_efficiency, lead_efficiency), nut_stiffness_n_m,
bearing_stiffness_n_m, preload_n, dynamic_load_rating_n (Ca), static_load_rating_n (C0a), load_factor
(fw), static_safety_factor, critical_speed_factor, buckling_safety_factor, max_dn (d n with d in mm and n in
r/min; 0 for none), and optionally axial_damping_ratio (the damping ratio of the mass behind the nut on the screw’s
axial spring, from the nut, the bearings and the guides: Converter::apply_back; 0 where it is absent). With
effects.screw_stiffness_with_position (off where absent), fixed_bearing_at_m: the joint’s travel at which the fixed
bearing stands (TravelCompliance).
Fields§
§lead: f64§nominal_diameter: f64§root_diameter: f64§length: f64§mounting: Mounting§efficiency: f64§back_efficiency: f64Driven back by the load, with effects.screw_lead_efficiency (lead_back_efficiency); the forward one otherwise.
nut_stiffness: f64§bearing_stiffness: f64§preload: f64§dynamic_rating: f64§static_rating: f64§load_factor: f64§static_safety: f64§speed_factor: f64§buckling_safety: f64§max_dn: f64§axial_damping_ratio: f64§fixed_bearing_at: Option<f64>With effects.screw_stiffness_with_position: the joint’s travel at the fixed bearing, m. None: the stiffness is
the one at the position converter is given for the whole stroke.
Implementations§
Source§impl BallScrew
impl BallScrew
pub fn from_config(cfg: &Config) -> Result<Self, ConfigError>
Sourcepub fn lead_efficiency(lead: f64, nominal_diameter: f64, mu: f64) -> f64
pub fn lead_efficiency(lead: f64, nominal_diameter: f64, mu: f64) -> f64
The rolling efficiency of a ball screw driving its nut, from its lead angle beta = atan(lead / (pi d)) and the
balls’ friction coefficient mu (THK’s formula): (1 - mu tan beta) / (1 + mu / tan beta), tan beta / tan(beta + rho)
with mu = tan rho. effects.screw_lead_efficiency puts it in place of screw.efficiency, which is a catalogue’s
lumped figure that holds the nut’s preload drag too; the preload drags apart (preload_torque).
Sourcepub fn lead_back_efficiency(lead: f64, nominal_diameter: f64, mu: f64) -> f64
pub fn lead_back_efficiency(lead: f64, nominal_diameter: f64, mu: f64) -> f64
The efficiency of the load driving the screw back (THK): (1 - mu / tan beta) / (1 + mu tan beta). Zero or less
where tan beta <= mu: the screw locks itself (from_config refuses that). It is the driving one with force and
motion swapped, tan(beta - rho) / tan(beta) with mu = tan rho.
Sourcepub fn inertia(&self) -> f64
pub fn inertia(&self) -> f64
The shaft’s moment of inertia about its axis, a solid steel cylinder of the nominal diameter: pi rho L d^4 / 32.
Sourcepub fn critical_speed_rpm(&self) -> f64
pub fn critical_speed_rpm(&self) -> f64
The first bending mode of the shaft as a speed, r/min: n = 60 / (2 pi) (lambda L)^2 / L^2 sqrt(E I / (rho A)),
a uniform beam of the root diameter over length.
Sourcepub fn allowed_speed_rpm(&self) -> f64
pub fn allowed_speed_rpm(&self) -> f64
The highest screw speed the cycle may reach, r/min: the critical speed times critical_speed_factor (makers
ask for 0.8).
Sourcepub fn buckling_load(&self) -> f64
pub fn buckling_load(&self) -> f64
Euler’s buckling load of the shaft, N: factor pi^2 E I / L^2 with the mounting’s factor.
Sourcepub fn allowed_buckling_force(&self) -> f64
pub fn allowed_buckling_force(&self) -> f64
The highest axial force allowed against buckling: the buckling load over buckling_safety_factor.
Sourcepub fn allowed_static_force(&self) -> f64
pub fn allowed_static_force(&self) -> f64
The highest axial force allowed by the static rating: C0a over the static safety factor.
Sourcepub fn stiffness(&self, x: f64) -> f64
pub fn stiffness(&self, x: f64) -> f64
Axial stiffness between the motor’s shaft angle and the nut, N/m, with the nut x from the fixed bearing (the
fixed-fixed shaft held at both ends: A E L / (x (L - x))): shaft, nut and bearings in series. The shaft’s
share at least that of its whole length.
Sourcepub fn preload_torque(&self) -> f64
pub fn preload_torque(&self) -> f64
The drag torque of the nut’s preload, N m (THK’s formula): K Fpr l / (2 pi), K = 0.05 / sqrt(tan beta), beta the lead angle atan(l / (pi d)).
Sourcepub fn equivalent_load(&self, force: f64) -> f64
pub fn equivalent_load(&self, force: f64) -> f64
The load each ball track of a preloaded double nut carries under an axial force: Fpr (1 + Fa / (2.83 Fpr))^(3/2) until the force lifts the preload off the other nut (at 2.83 Fpr), the force itself beyond (Hiwin’s catalogue).
Sourcepub fn damage_rate(&self, force: f64, rpm: f64) -> f64
pub fn damage_rate(&self, force: f64, rpm: f64) -> f64
The share of the nominal life (L10 = (Ca / (fw Fm))^3 10^6 turns, ISO 3408-5) used per hour at an axial force and a screw speed (r/min): 60 |n| (fw F_eq / Ca)^3 / 10^6. Its mean over a cycle is one over the life in hours.
Sourcepub fn dn(&self, rpm: f64) -> f64
pub fn dn(&self, rpm: f64) -> f64
d n, the nominal diameter in mm times the speed in r/min, against max_dn.
Sourcepub fn converter(&self, x: f64) -> BackDriven
pub fn converter(&self, x: f64) -> BackDriven
The screw as a converter, stiff as it is with the nut at x from the fixed bearing. Every builder passes
softest_position(). Without fixed_bearing_at that is the joint gearbox’s stiffness for the whole stroke, which
judges resonance and settling on the safe side; with it the gearbox follows the nut from there (travel).
Sourcepub fn travel(&self, x: f64) -> Option<TravelCompliance>
pub fn travel(&self, x: f64) -> Option<TravelCompliance>
The shaft’s compliance along the travel with x as the reference (TravelCompliance), where it follows the nut.
Sourcepub fn softest_position(&self) -> f64
pub fn softest_position(&self) -> f64
Where the shaft is softest: its far end, or its middle where both ends are fixed.
Source§impl BallScrew
The signals and rating checks of a ball screw on joint id (one of chain::MOTOR_IDS, its motor motor): screw
speed (r/min), d n, and the share of its life used per hour, from the joint’s speed and force (signal
joint.<id>.force). Checks: “screw-speed” (against allowed_speed_rpm), “screw-dn” (where max_dn is set),
“screw-buckling” (|force| against allowed_buckling_force; pulling too, on the safe side), “screw-static” (against
allowed_static_force) and “screw-life” (against required_life_h, where set).
impl BallScrew
The signals and rating checks of a ball screw on joint id (one of chain::MOTOR_IDS, its motor motor): screw
speed (r/min), d n, and the share of its life used per hour, from the joint’s speed and force (signal
joint.<id>.force). Checks: “screw-speed” (against allowed_speed_rpm), “screw-dn” (where max_dn is set),
“screw-buckling” (|force| against allowed_buckling_force; pulling too, on the safe side), “screw-static” (against
allowed_static_force) and “screw-life” (against required_life_h, where set).
pub fn signal_infos(&self, id: &str, key: &'static str) -> Vec<SignalInfo>
Sourcepub fn signals(&self, speed: f64, force: f64, out: &mut Vec<f64>)
pub fn signals(&self, speed: f64, force: f64, out: &mut Vec<f64>)
Joint speed (m/s) and force (N) to the values of signal_infos.