⚡️ Input Shaping improvements (#24951)
This commit is contained in:
committed by
Scott Lahteine
parent
d2ece1e713
commit
57f6c93192
@@ -1062,12 +1062,14 @@
|
||||
*
|
||||
* Zero Vibration (ZV) Input Shaping for X and/or Y movements.
|
||||
*
|
||||
* This option uses a lot of SRAM for the step buffer, which is proportional
|
||||
* to the largest step rate possible for any axis. If the build fails due to
|
||||
* This option uses a lot of SRAM for the step buffer, which is related to the
|
||||
* largest step rate possible for the shaped axes. If the build fails due to
|
||||
* low SRAM the buffer size may be reduced by setting smaller values for
|
||||
* DEFAULT_AXIS_STEPS_PER_UNIT and/or DEFAULT_MAX_FEEDRATE. Runtime editing
|
||||
* of max feedrate (M203) or resonant frequency (M593) may result feedrate
|
||||
* being capped to prevent buffer overruns.
|
||||
* DEFAULT_AXIS_STEPS_PER_UNIT and/or DEFAULT_MAX_FEEDRATE. Disabling
|
||||
* ADAPTIVE_STEP_SMOOTHING and reducing the step rate for non-shaped axes may
|
||||
* also reduce the buffer sizes. Runtime editing of max feedrate (M203) or
|
||||
* resonant frequency (M593) may result in input shaping losing effectiveness
|
||||
* during high speed movements to prevent buffer overruns.
|
||||
*
|
||||
* Tune with M593 D<factor> F<frequency>:
|
||||
*
|
||||
@@ -1077,13 +1079,18 @@
|
||||
* X<1> Set the given parameters only for the X axis.
|
||||
* Y<1> Set the given parameters only for the Y axis.
|
||||
*/
|
||||
//#define INPUT_SHAPING
|
||||
#if ENABLED(INPUT_SHAPING)
|
||||
#define SHAPING_FREQ_X 40 // (Hz) The dominant resonant frequency of the X axis.
|
||||
#define SHAPING_FREQ_Y 40 // (Hz) The dominant resonant frequency of the Y axis.
|
||||
#define SHAPING_ZETA_X 0.3f // Damping ratio of the X axis (range: 0.0 = no damping to 1.0 = critical damping).
|
||||
#define SHAPING_ZETA_Y 0.3f // Damping ratio of the Y axis (range: 0.0 = no damping to 1.0 = critical damping).
|
||||
//#define SHAPING_MENU // Add a menu to the LCD to set shaping parameters.
|
||||
//#define INPUT_SHAPING_X
|
||||
//#define INPUT_SHAPING_Y
|
||||
#if EITHER(INPUT_SHAPING_X, INPUT_SHAPING_Y)
|
||||
#if ENABLED(INPUT_SHAPING_X)
|
||||
#define SHAPING_FREQ_X 40 // (Hz) The default dominant resonant frequency on the X axis.
|
||||
#define SHAPING_ZETA_X 0.15f // Damping ratio of the X axis (range: 0.0 = no damping to 1.0 = critical damping).
|
||||
#endif
|
||||
#if ENABLED(INPUT_SHAPING_Y)
|
||||
#define SHAPING_FREQ_Y 40 // (Hz) The default dominant resonant frequency on the Y axis.
|
||||
#define SHAPING_ZETA_Y 0.15f // Damping ratio of the Y axis (range: 0.0 = no damping to 1.0 = critical damping).
|
||||
#endif
|
||||
//#define SHAPING_MENU // Add a menu to the LCD to set shaping parameters.
|
||||
#endif
|
||||
|
||||
#define AXIS_RELATIVE_MODES { false, false, false, false }
|
||||
|
Reference in New Issue
Block a user