Resonance Compensation and Pressure Advance Configuration Issues
This page compiles configuration errors and tuning anomalies related to Input Shaper (Resonance Compensation) and Pressure Advance. For accelerometer hardware connection and communication errors, please refer to Accelerometer Testing and Calibration.
Print Artifacts Worsen or Blur After Enabling Input Shaper
Symptoms: After configuring [input_shaper], surface ringing (ghosting/ripples) on printed parts becomes more obvious than when disabled, or details become blurred, corners become rounded.
Common Causes:
shaper_freq_x/shaper_freq_ydeviates significantly from the actual resonance frequency.shaper_typeis unsuitable for the current machine type (e.g., using2hump_eion a high-rigidity machine causing excessive smoothing).- Mechanical structure has looseness (loose belts, large slider gaps, un-tightened screws), which resonance compensation cannot fix.
- Pressure Advance was not re-calibrated after enabling Input Shaper, resulting in extrusion anomalies from their combination.
Solutions:
-
First rule out mechanical issues: Check belt tension, slider/rail gaps, and frame screw tightness with power off.
-
Re-run resonance measurement to obtain accurate frequencies:
TEST_RESONANCES AXIS=XTEST_RESONANCES AXIS=Y -
Choose the appropriate shaper type based on the resonance graph:
Shaper Application Scenario Frequency Tolerance Smoothness Impact zvHigh rigidity, low vibration machines ±5% Lowest mzvMost desktop machines (recommended first choice) ±10% Medium eiBed-slinger / high vibration machines ±20% Medium-High 2hump_eiMultiple resonance frequencies present ±45% High 3hump_eiComplex resonance patterns ±60% Highest -
After enabling Input Shaper, re-calibrate Pressure Advance:
SET_PRESSURE_ADVANCE ADVANCE=0TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005 -
If blurring is severe, try decreasing
shaper_freqby about 5–10% or switching to a shaper type with lower tolerance.
Related configuration reference: Klipper Resonance Compensation Official Documentation.
TEST_RESONANCES / SHAPER_CALIBRATE Configuration Errors
Error Messages:
accel_chip not configured/No accelerometer configuredprobe_points must be specifiedor coordinates out of print boundsInvalid accel_chip/ cannot find specified chip name
Common Causes:
accel_chipis not configured in[resonance_tester], or its name does not match the[adxl345]/[mpu9250]/[lis2dw]section name.probe_pointscoordinates exceed theposition_maxrange defined in[stepper_x]/[stepper_y].- In multi-accelerometer configurations,
accel_chiphas incorrect capitalization or prefix.
Solutions:
-
Ensure the configuration section names match:
[adxl345]cs_pin: toolboard:gpio12spi_bus:spi0_gpio4_gpio3_gpio2[resonance_tester]accel_chip: adxl345probe_points:150, 150, 20 -
The X, Y coordinates of
probe_pointsmust be within the print area. The Z coordinate sets the nozzle height during testing (recommended 20 mm). -
If using an accelerometer on a toolboard, the
accel_chipname must exactly match the section name (case-sensitive). -
In multi-chip scenarios, you can specify
accel_chip_xandaccel_chip_yfor different axes.
Hardware Communication Errors: For errors like
ACCELEROMETER_QUERYreturning timeout or ID errors, please refer to the common problem handling in Accelerometer Testing and Calibration.
Failed to configure shaper(s)
Error Messages: configparser.Error: Failed to configure shaper(s) shaper_x with given parameters, Failed to configure shaper(s) shaper_z with given parameters.
Common Causes:
shaper_freq_xorshaper_freq_yis outside the usable frequency range of the selectedshaper_type. For example,mzvmay have no valid solution at higher frequencies.damping_ratiois set incorrectly (too small or too large), preventing the shaper from generating valid parameters.- Manually entered parameter combinations that were not validated by
SHAPER_CALIBRATE.
Solutions:
- Re-run
SHAPER_CALIBRATEand use the automatically recommendedshaper_typeandshaper_freq. - If adjusting manually, try lowering
shaper_freqor switching to a more tolerant shaper type (e.g.,eior2hump_ei). - Ensure
damping_ratiois within a reasonable range (default 0.1, common range 0.05–0.2). - If you only want to disable the shaper for a specific axis, set
shaper_freq_x: 0instead of entering an invalid value.
shaper_freq Too High Causing Motor Noise or Skipping
Symptoms: After enabling Input Shaper, the motor emits high-frequency whining, printed parts show regular striping, or steps are lost during high-speed moves.
Common Causes:
shaper_freqvalue is set significantly higher than the actual resonance frequency (e.g., filling in 80 Hz when actual is 40 Hz).- Misinterpretation of the resonance graph, mistaking a noise peak for the resonance frequency.
max_accelis set too high, exceeding the motor's torque capability.
Solutions:
-
Re-run
SHAPER_CALIBRATEand use the automatically recommended frequency and shaper type. -
When manually reading the resonance graph, choose the frequency corresponding to the highest and sharpest peak, ignoring low, broad noise.
-
Reduce
max_accelto a range where the motor does not lose steps (recommended to start from 3000 and gradually increase):[printer]max_accel: 3000 -
If the motor continues to make unusual noises, temporarily disable Input Shaper to confirm if it's a configuration issue:
SET_INPUT_SHAPER SHAPER_FREQ_X=0 SHAPER_FREQ_Y=0
Corner Blobs or Gaps After Enabling Pressure Advance
Symptoms: After enabling pressure_advance, printed corners show material buildup (blobs) or a section before the corner is under-extruded/thinner.
Common Causes:
- PA value too low: Residual nozzle pressure during deceleration is not fully compensated → corner blobs.
- PA value too high: Excessive retraction during acceleration → under-extrusion before corners, thin lines.
- Slicer has Coasting or Extra restart distance enabled, conflicting with PA compensation.
- Extruder
rotation_distanceis not calibrated, leading to inaccurate base extrusion.
Solutions:
-
Disable Coasting, Extra restart distance, and dynamic acceleration control in the slicer.
-
Calibrate the extruder
rotation_distancefirst, then calibrate PA. -
Print a test tower using TUNING_TOWER:
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005Use
FACTOR=.005for direct drive extruders,FACTOR=.020for remote Bowden. -
Choose the layer with the clearest corners and most even lines corresponding to the height, and calculate the PA value:
pressure_advance = START + height × FACTOR -
Typical value ranges: Direct drive 0.02–0.15, Bowden 0.1–1.0. If there is no improvement beyond 1.0, the issue is not related to PA.
Related configuration reference: Klipper Pressure Advance Official Documentation.
PA Value Too High Causing Extruder Skipping
Symptoms: After using a relatively high pressure_advance value (e.g., >0.2), the extruder makes clicking sounds during acceleration/deceleration phases, or printed parts show broken lines.
Common Causes:
- PA compensation generates significant extra extrusion/retraction movement during acceleration and deceleration, exceeding the extruder's torque.
- Acceleration is set too high, causing the instantaneous PA compensation amount to be too large.
- Insufficient extruder current or filament slipping.
Solutions:
- Reduce
max_accelto decrease the instantaneous extrusion amount from PA compensation. - Appropriately lower the PA value to balance corner quality and extrusion reliability.
- Check if the extruder current setting (TMC driver
run_current) is sufficient. - Ensure the filament is not slipping (check extruder gear wear, spring tension).
The PA system does not change the print time or total extrusion amount; it only redistributes extrusion movement during acceleration and deceleration phases. Extremely high PA values will result in very large instantaneous extruder movements, and there is no configuration option to limit the amplitude of this movement.
Improper Setting of pressure_advance_smooth_time
Symptoms: Periodic ripples on the print surface, unsmooth extrusion speed, or unnatural corner transitions.
Common Causes:
pressure_advance_smooth_timeis set too large (>0.1s), causing a sluggish PA compensation response.- Set too small (
<0.01s), causing aggressive PA compensation leading to extrusion jitter. - Older configurations used the deprecated standalone
[pressure_advance]section.
Solutions:
-
The default value
0.040is suitable for most scenarios and generally requires no modification. -
The configuration should be written inside the
[extruder]section:[extruder]pressure_advance: 0.05pressure_advance_smooth_time: 0.040 -
Do not use the standalone
[pressure_advance]configuration section (deprecated). -
If using a long Bowden tube, you can increase it to
0.060–0.080.
Slicer Settings Conflict with Klipper Extrusion Control
Symptoms: Print quality worsens after configuring PA, with increased stringing, abnormal corners, or extrusion blobs.
Common Causes:
- Slicer has Coasting enabled, which stacks with PA deceleration compensation.
- Simplify3D's Extra restart distance causes drastic extrusion speed changes.
- KISSlicer's PreloadVE duplicates PA functionality.
- Slicer's "Dynamic Acceleration Control" or "Scarf joint" interferes with testing.
Solutions:
- Disable the following functions in the slicer:
- Coasting
- Extra restart distance
- PreloadVE (KISSlicer)
- Dynamic Acceleration Control / Dynamic Pressure Control
- Scarf joint seam (when calibrating PA)
- Keep normal retraction settings (recommended 0.5–1.0 mm) and "wipe on retract".
- Disable the slicer's "Z-lift on retract", let Klipper macros handle it.
During PA calibration testing, it is recommended to set the slicer speed to 100 mm/s, layer height to about 75% of the nozzle diameter, infill 0%, and disable dynamic acceleration control to fully expose the PA effect.
Resonance Compensation Configuration Changes After Upgrading Klipper
Symptoms: After upgrading Klipper, SHAPER_CALIBRATE behavior changes, resonance test results differ from before, or configuration deprecation warnings appear.
Common Causes:
- Klipper updated default parameters for
[resonance_tester](e.g.,sweeping_period,accel_per_hz). - The old
max_accel_to_decelhas been replaced byminimum_cruise_ratio. - Accelerometer sampling logic or filter algorithms were updated.
Solutions:
-
After upgrading, check the Klipper Config Changes documentation to see if there are items affecting resonance compensation.
-
If you need to restore the old testing behavior, explicitly add in
[resonance_tester]:[resonance_tester]sweeping_period: 0accel_per_hz: 75 -
After upgrading, it is recommended to re-run
SHAPER_CALIBRATEand not reuse old frequency values. -
If
max_accel_to_decelreports a deprecation error, switch to:[printer]minimum_cruise_ratio: 0.5
Configuration Migration: For more configuration migration issues after upgrades, please refer to the relevant sections in Configuration Errors.