At certain speeds a stepper resonates and leaves vertical stripes on the walls (VFA). An accelerometer on the toolhead measures at which belt speeds each motor vibrates. The slicer avoids those bands on outer walls and slows down to the nearest clean speed.
![Motor resonance bands and the speeds avoided on walls. Grey: an ordinary slicer. Blue: [r]evo.](/book/app/img/motor-resonance.jpg)
When smooth walls show regular vertical stripes and input shaping does not remove them.
- The measurement is done by scripts/vfa_scan.py on the printer's Klipper host with an accelerometer. It moves the toolhead, so only at the machine, after homing and with clear travel.
- The speed never drops below half of the set speed.
Motor resonance speeds
Belt speed bands in which a motor resonates. The output of vfa_scan.py.
| empty | No avoidance, the walls at their set speed. |
| 42-48, 95-103 | An outer wall at which a motor would run in the 42–48 mm/s band slows down to just below 42 mm/s. The stripes disappear. |
CoreXY motors
CoreXY: the motor speed depends on the sum and difference of the X and Y motion, not on each axis alone.
| off | A Cartesian printer: an X motor and a Y motor. |
| on | CoreXY: motors A and B working along the diagonals. |