pub fn friction_details(
time: &[f64],
force: &[f64],
speed: &[f64],
travel: &[f64],
rigid: &[f64],
) -> [Option<(f64, f64)>; 3]Expand description
Friction beyond the sliding level, from one axis’s force, speed and travel along the trace’s rows and its rigid values
(rigid_values: mass, viscous, Coulomb, constant; NaN viscous counts 0): each None where the trace does not show it.
held_force_n: what the axis holds at rest after its last motion, the force less the constant one on the rows of the last stretch at rest (the speed within 1 % of the top speed, averaged over the window) after its first 0.1 s, at least 0.1 s of them. A friction smoothed through zero holds nothing; one that sticks holds what the loops wound up when the axis stopped.breakaway_force_n: the friction at the lowest speeds, sign(v) (F − m a − b v − constant) on the rows whose speed is between 1 % and 5 % of the top speed and falls in size towards a stop or a reversal, keeping its sign across the window; at least ten windows of them. Above the Coulomb value where the friction rises towards rest (stiction and a Stribeck curve), at it where it does not.presliding_stiffness_n_m: at each reversal of the averaged speed, the travel from the turning point (the row of least speed) at which the friction, the force less inertia and constant, has turned from one sliding level through zero; in Dahl’s law (ShaftFriction::presliding_force) z = g (1 − 2 exp(−σ x / g)) passes zero at x = g ln 2 / σ, so σ = Coulomb ln 2 / x. The median over the reversals, its error 1.25 their spread over the root of their count, asmotor_fitdoes for its LuGre bristles; only with two reversals or more and an error below the value. A reversal whose friction does not pass zero within 0.5 s or that crosses in its first row (faster than the trace resolves) is left out. On a machine whose friction has no presliding state it reads, as a Dahl σ, how far the axis travels while its friction turns: the smoothing of its Coulomb step over speed, LuGre bristles, the drive train’s give and the loops’ lag together. Compared with the replay’s by the same estimate, not a value to set.
Each mean’s standard error from mean_and_error. A row is reported only where the trace tells it (None else):
the CLI, Python and the app list the three after an axis’s rigid values where they are there.