pub struct BackDriven {
pub converter: Converter,
pub back_efficiency: f64,
pub travel: Option<TravelCompliance>,
}Expand description
A converter with its own back-driving efficiency (BallScrew::converter): derefs to the Converter, and applies like
it (Converter::apply, apply_to) with the back efficiency in the gearbox, and the screw’s compliance along the
travel where it follows the nut (Gearbox::travel).
Fields§
§converter: Converter§back_efficiency: f64§travel: Option<TravelCompliance>Implementations§
Source§impl BackDriven
impl BackDriven
pub fn apply( &self, cfg: &Config, joint: &mut RotaryJoint, ) -> Result<(), ConfigError>
pub fn apply_to( &self, cfg: &Config, joint: &mut RotaryJoint, output: f64, ) -> Result<(), ConfigError>
Methods from Deref<Target = Converter>§
Sourcepub fn apply(
&self,
cfg: &Config,
joint: &mut RotaryJoint,
) -> Result<(), ConfigError>
pub fn apply( &self, cfg: &Config, joint: &mut RotaryJoint, ) -> Result<(), ConfigError>
Puts the converter behind joint’s gearbox (read in N m and rad at the converter’s input): the joint’s gearbox
becomes gearbox and converter together, in N and m. Ratio i / lever; stiffness of the gearbox seen at the joint
(over lever^2) in series with the converter’s, the gearbox’s damping across its own spring alone (a Zener solid,
Gearbox::arm); backlash and efficiency added and multiplied as
effects.gearbox_backlash and effects.gearbox_efficiency say; the converter’s inertia joins the rotor over i^2.
With effects.thermal_feedback the gearbox’s temperature changes the gearbox’s share of the efficiency, not the
converter’s (RotaryJoint::extra_efficiency).
The output’s own inertia is not known here: the mesh friction’s bristle is capped by the rotor’s (apply_to).
Sourcepub fn apply_to(
&self,
cfg: &Config,
joint: &mut RotaryJoint,
output: f64,
) -> Result<(), ConfigError>
pub fn apply_to( &self, cfg: &Config, joint: &mut RotaryJoint, output: f64, ) -> Result<(), ConfigError>
apply for an output of the given inertia at the joint’s travel (kg behind a screw, rack or drum): the mesh
friction’s bristle, between the gear’s output and the housing, is capped by the smaller of it and the rotor’s
inertia seen at the load, so that a light output (a winch drum) does not stick to the housing at a frequency the
step cannot follow.
Sourcepub fn apply_back(
&self,
cfg: &Config,
joint: &mut RotaryJoint,
output: f64,
back_efficiency: f64,
) -> Result<(), ConfigError>
pub fn apply_back( &self, cfg: &Config, joint: &mut RotaryJoint, output: f64, back_efficiency: f64, ) -> Result<(), ConfigError>
apply_to for a converter that loses back_efficiency where the load drives it back (self.efficiency driving):
the gearbox’s back-driving efficiency becomes its own times back_efficiency / efficiency (Gearbox::back_ratio).
The converter’s spring is in series with the whole gear. The lost-motion band is the gearbox’s angle times the
lever, and over it the converter’s spring stretches with the force as it does beyond (Gearbox::band_compliance);
the line beyond the band keeps its offset, b lever / 2. The hysteresis, a friction T_h in parallel with the
flanks’ spring K1 (lever^2 / K1 in m/N at the joint): sliding, the force is K1’ (x -+ lever T_h / K1) with K1’ the
series stiffness, so its friction at the joint is T_h / lever times K1’ lever^2 / K1, and its loop as wide as the
gear’s, 2 lever T_h / K1; at a reversal the gear is K1 + sigma, in series K1’ + sigma’ with
sigma’ = series(K1 + sigma) - series(K1).
Trait Implementations§
Source§impl Clone for BackDriven
impl Clone for BackDriven
Source§fn clone(&self) -> BackDriven
fn clone(&self) -> BackDriven
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 BackDriven
impl Debug for BackDriven
Source§impl Deref for BackDriven
impl Deref for BackDriven
Source§impl PartialEq for BackDriven
impl PartialEq for BackDriven
Source§fn eq(&self, other: &BackDriven) -> bool
fn eq(&self, other: &BackDriven) -> bool
self and other values to be equal, and is used by ==.