pub struct ToothJump {
pub pitch: f64,
pub climb: f64,
pub factor: f64,
pub mass: f64,
}Expand description
With effects.belt_tooth_jump: the belt’s teeth jump over a driven pulley.
The teeth climb out when the effective pull at the pulley, |T_a - T_b|, exceeds climb times the slack-side
tension min(T_a, T_b): each tooth in mesh is held in its groove by the tension’s radial pull, T p / r over one
pitch, and pushed out by its share of the pull times the tangent of an effective flank angle (flank, friction
and the tooth’s give together). Summed over the z_m teeth in mesh: climb = k z_m p / r, k = 1 / tan(effective
angle) an estimate (belt.tooth_jump_factor). The pull a pulley can take before the teeth jump is then
proportional to the tension the belt is set up with: the torque at which timing belts jump is reported to rise
with their installation tension. No maker’s chart was read for the factor.
Once out, the teeth ride over the pulley’s: the belt, with its mass, moves on its own, and the pulley holds it back with a ridge force F_s sin(2 pi d / p), d how far it has slid, F_s the pull it climbed out at (climb times the slack side’s tension then), held over the jump so that the ridge is a spring with the energy F_s p / (2 pi) (1 - cos(2 pi d / p)). That force is what the pulley passes on meanwhile. Where the belt crosses the next groove (d = p) the teeth fall in: a jump, counted; where it slides back over the groove it left (d < 0), they fall back in, uncounted. Either way belt and pulley run on together, at the speed that keeps their momentum (a plastic impact): what that takes is what a jump dissipates. Where the pull settles below the ridge the belt stays half out, held by it.
The belt’s mass is the share the machine lumps on that pulley (effects.belt_mass, which the effect needs): while the teeth are out it moves with the belt and not with the pulley.
Fields§
§pitch: f64§climb: f64§factor: f64belt.tooth_jump_factor, k: with the wrap angle known (set_wrap) climb = k z_m p / r = k wrap.
mass: f64The belt’s mass lumped on the pulley, kg.
Implementations§
Source§impl ToothJump
impl ToothJump
Sourcepub fn from_config(
cfg: &Config,
radius: f64,
mass: f64,
) -> Result<Option<Self>, ConfigError>
pub fn from_config( cfg: &Config, radius: f64, mass: f64, ) -> Result<Option<Self>, ConfigError>
None with the effect off. radius is the driven pulley’s, mass the belt’s mass the machine lumps on it;
none (effects.belt_mass off) is refused.
Sourcepub fn set_wrap(&mut self, wrap: f64)
pub fn set_wrap(&mut self, wrap: f64)
The teeth in mesh from the angle wrap (rad) by which the belt wraps the pulley (effects.belt_wrap), in place of
ratings.belt_teeth_in_mesh: a pulley of radius r has 2 pi r / p teeth, wrap / (2 pi) of them in mesh, so
z_m = wrap r / p and climb = k z_m p / r = k wrap, whatever the pitch and radius.
Sourcepub fn pulley_inertia(&self, slip: &[f64], lumped: f64, radius: f64) -> f64
pub fn pulley_inertia(&self, slip: &[f64], lumped: f64, radius: f64) -> f64
The pulley’s inertia: lumped (with the belt’s share) while the teeth are in mesh, without it while they are out.
Sourcepub fn climbs(&self, a: f64, b: f64) -> bool
pub fn climbs(&self, a: f64, b: f64) -> bool
Whether the teeth climb out at these tensions of the two sections that meet at the pulley.
Sourcepub fn pulley_force(&self, slip: &[f64], force: f64) -> f64
pub fn pulley_force(&self, slip: &[f64], force: f64) -> f64
The force between belt and pulley along the belt, towards +u on the pulley: the sections’ pull force while
the teeth are in mesh, the ridge force while they are out.
Sourcepub fn pulley_torque(&self, slip: &[f64], belt_torque: f64, radius: f64) -> f64
pub fn pulley_torque(&self, slip: &[f64], belt_torque: f64, radius: f64) -> f64
pulley_force as a torque on a pulley of radius: the belt’s torque as it is while in mesh, so that an effect
that never climbs out changes no bit.
Sourcepub fn rates(&self, slip: &[f64], force: f64, surface_acc: f64, out: &mut [f64])
pub fn rates(&self, slip: &[f64], force: f64, surface_acc: f64, out: &mut [f64])
The rates of a pulley’s slip states: none while in mesh. While the teeth are out, the belt moves on its own at
r da/dt + du/dt (a the pulley’s angle) under force, the sections’ pull towards +u, less the ridge force:
d2u/dt2 = (force - ridge) / mass - surface_acc, the pulley’s surface acceleration r d2a/dt2.
Sourcepub fn slip_energy(&self, slip: &[f64], surface_speed: f64) -> f64
pub fn slip_energy(&self, slip: &[f64], surface_speed: f64) -> f64
What a sliding belt adds to the energy of a machine that counts its mass with the pulley, whose surface moves at v: 1/2 m (v + du/dt)^2 - 1/2 m v^2, and the ridge’s energy; 0 while the teeth are in mesh.
Sourcepub fn update(
&self,
slip: &mut [f64],
a: f64,
b: f64,
rest_mass: f64,
surface_speed: &mut f64,
) -> bool
pub fn update( &self, slip: &mut [f64], a: f64, b: f64, rest_mass: f64, surface_speed: &mut f64, ) -> bool
After a step: starts a jump where the teeth climb out at the tensions a, b (the section that +u feeds
and the other one), or ends one where the belt has crossed the next groove (a jump) or the one it left: belt
and pulley then share their momentum, surface_speed the pulley’s and rest_mass its inertia without the belt
over r^2. Returns whether it changed anything: the machine’s energy then changes at once.