pub fn backlash_hammering(
entry: &MachineEntry,
cfg: &Config,
motor: usize,
) -> Result<Option<Hammering>, ConfigError>Expand description
Whether the velocity loop of motor hammers across its gearbox’s play: a time run, as the small-signal measurement
(velocity_loop_response) cannot tell. Inside the play the measurement sees the rotor alone; a loop that is stable
there can still be unstable with the flanks in contact, and then the rotor swings from flank to flank in a limit
cycle (the describing function of the play rises from 0 with the rotor inside it to the flanks’ stiffness with it far
beyond, so the loop crosses -1 at some amplitude). The motor’s rated torque, swept over the band at rest
(after_a_sweep), takes the rotor across the play at each frequency in turn. The loop hammers where, 0.1 to 0.3 s
after the sweep, the torque it asks for still swings by more in RMS than the margin measurement’s test torque
(loop_amplitude, beyond which loop_point says a loop moves on its own) and has not fallen to half from the
one window to the next, and where the same run with effects.gearbox_backlash off is quiet (otherwise the play is
not the cause). On the measurement’s config (lossless), at each pose of margin_poses: where it hammers at
several, the one with the largest peak of the torque. None without the play.