OpenCreator VFA calibration¶
Run VFA from the touchscreen or Fluidd's Calibrations group, or send
VFA_MOTORS in the console. It's loud and takes about 5 minutes. Add AXIS=X
or AXIS=Y to redo just one motor, or SAVE=0 to leave saving for later.
- Safety check. It refuses during a print or while paused.
- Homes and docks. A tool on the toolhead is docked first
(
AFC_UNSELECT_TOOL), so it also runs from the recalibrate dialog with nobody at the printer. It stops only if a tool is missing from its dock. - Picks up T0 (the weight it prints with) and parks at
Z100,X130 Y130, as stock does. - Calibrates each motor's own ripple with the accelerometer, X then Y: the 1, 2, 4, 6 and 8 times per motor cycle ripples together, in both directions. A quick sweep first finds the up to 6 speeds where that motor vibrates most (usually where its ripples cross the frame's resonance), and it calibrates there. Then the new correction, the old one and no correction are measured alternately (old, new, off, off, new, old): the 1x and 2x ripples at the calibration speeds, the 4x to 8x ripples over the whole 20-speed sweep, since their corrections change fast with speed and one that only fits its calibration speeds can add vibration in between. Each ripple keeps whichever wins both times and by at least 5% on average, so one lucky or unlucky reading doesn't decide. A ripple is judged only where its frequency can be measured (20 Hz and up), and in a direction where its correction would add vibration it's turned off instead of riding along with the others. How it works and what it measured: Ripple correction.
- Docks T0 and saves.
SAVE_CONFIGwrites the corrections toprinter.cfgand restarts Klipper.
Run it if you see VFA lines on your prints, and again after changing motors or re-tensioning belts. How the correction runs on the mainboard is on MCLib and motor control.
The full macro, graph and low-level command options are in Commands and saved values.
During a print¶
Calibration only finds the numbers. The cancelling happens on the mainboard, inside each motor's own control:
- At Klipper start each motor's corrections go to the mainboard. Print
start (
STEPPER_RESONANCE_DAMP_ENABLE) restores the stock damping values, and print end or cancel (STEPPER_RESONANCE_DAMP_DISABLE) turns those off; the VFA correction stays on. - While the motor turns, the mainboard adjusts the motor's current about 20,000 times a second. On top of the normal current it adds a small extra current that rises and falls with the motor's position, one per ripple, with the value calibrated for the current speed and direction, sent ahead of the lag of the motor's current control. A ripple with no calibrated table uses its stock damping value. It follows the motor's actual position, so it works through speed changes, with nothing for Klipper to calculate per move.
- At high speed, the mainboard switches a motor to a separate high-speed control mode, which doesn't add the correction. That happens at about 560 mm/s of belt travel: roughly 390 to 560 mm/s of toolhead speed, depending on the direction of travel. Walls at 300 mm/s are always corrected.
Corrections saved before Beta 1 used the old ripple_<n> names and are
ignored. See the update warning in Quieter motors.