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 Quality Worsens or Becomes Blurry After Enabling Input Shaper
Symptom: After configuring [input_shaper], surface ringing (ghosting/ripples) on the printed part becomes more noticeable than when disabled, or details become blurry and corners become rounded.
Common Causes:
shaper_freq_x/shaper_freq_ydeviates significantly from the actual resonance frequency.shaper_typeis unsuitable for the current machine model (e.g., using2hump_eion a high-rigidity machine causes excessive smoothing).- Loose mechanical components (loose belts, large slop in linear guides/rails, un-tightened screws) that resonance compensation cannot fix.
- Pressure Advance was not re-calibrated after enabling Input Shaper, leading to extrusion irregularities from the interaction of both features.
Solutions:
-
First, eliminate mechanical issues: Check belt tension, guide/rail clearance, and frame screw tightness after powering off.
-
Re-perform resonance measurement to obtain accurate frequencies:
TEST_RESONANCES AXIS=XTEST_RESONANCES AXIS=Y -
Choose an 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% Moderate eiBed-slinger / higher vibration ±20% Medium-High 2hump_eiMultiple resonance frequencies present ±45% High 3hump_eiComplex resonance patterns ±60% Highest -
After enabling Input Shaper, you must re-calibrate Pressure Advance:
SET_PRESSURE_ADVANCE ADVANCE=0TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005 -
If blurriness is severe, try reducing
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 are out of the print areaInvalid accel_chip/ Could not find specified chip name
Common Causes:
accel_chipis not configured in[resonance_tester], or its name does not match the section name in[adxl345]/[mpu9250]/[lis2dw].probe_pointscoordinates exceed theposition_maxrange defined in[stepper_x]/[stepper_y].- Incorrect capitalization or prefix for
accel_chipin multi-accelerometer configurations.
Solutions:
-
Ensure the configuration section names are consistent:
[adxl345]cs_pin: SHT36:gpio12spi_bus:spi0_gpio4_gpio3_gpio2[resonance_tester]accel_chip: adxl345probe_points:150, 150, 20 -
The X and Y coordinates of
probe_pointsmust be within the print area. The Z coordinate is the nozzle height during testing (recommended 20 mm). -
If using an accelerometer on a toolboard, the
accel_chipname must exactly match the configuration section name (case-sensitive). -
In multi-chip scenarios,
accel_chip_xandaccel_chip_ycan be specified for different axes.
Hardware Communication Errors: If
ACCELEROMETER_QUERYreturns a timeout or ID error, please refer to the common issues section in Accelerometer Testing and Calibration.
High shaper_freq Causes Motor Noise or Skipping Steps
Symptom: After enabling Input Shaper, the motor emits a high-frequency whine, the print shows regular striping, or steps are lost during high-speed moves.
Common Causes:
- The
shaper_freqvalue is set much higher than the actual resonance frequency (e.g., setting 80 Hz when the actual frequency is 40 Hz). - Incorrect interpretation 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 interpreting the resonance graph manually, select the frequency corresponding to the highest and sharpest peak, ignoring low, broad noise.
-
Reduce
max_accelto a range where the motor does not skip steps (suggest starting at 3000 and increasing gradually):[printer]max_accel: 3000 -
If the motor continues to make unusual noise, temporarily disable Input Shaper to confirm if the configuration is the cause:
SET_INPUT_SHAPER SHAPER_FREQ_X=0 SHAPER_FREQ_Y=0
Corner Blobs or Gaps After Enabling Pressure Advance
Symptom: After enabling pressure_advance, printed corners show material buildup (blobs) or a section just before the corner is underextruded/thinner.
Common Causes:
- PA value too low: Residual nozzle pressure during deceleration is not sufficiently compensated -> corner blobs.
- PA value too high: Excessive retraction during acceleration -> underextrusion/thin lines before corners.
- Slicer has Coasting or Extra restart distance enabled, conflicting with PA compensation.
- Extruder
rotation_distanceis not calibrated, resulting in 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 Bowden setups. -
Select the layer height where corners are sharpest and lines are most uniform, then 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 even with values exceeding 1.0, the issue is likely not related to PA.
Related configuration reference: Klipper Pressure Advance Official Documentation.
High PA Value Causes Extruder Skipping
Symptom: When using a high pressure_advance value (e.g., >0.2), the extruder makes clicking sounds during acceleration/deceleration phases, or the print has gaps/under-extrusion.
Common Causes:
- PA compensation generates significant additional extrusion/retraction movement during acceleration/deceleration, exceeding the extruder's torque capability.
- Acceleration is set too high, causing the instantaneous PA compensation amount to be too large.
- Insufficient extruder motor current or filament slipping.
Solutions:
- Lower
max_accelto reduce the instantaneous extrusion amount from PA compensation. - Appropriately reduce the PA value to balance corner quality and extrusion reliability.
- Check extruder motor current settings (TMC driver
run_current) to ensure it is sufficient. - Verify the filament is not slipping (check extruder gear wear, spring tension).
The PA system does not change the total print time or total extrusion amount; it only redistributes extrusion movement during acceleration and deceleration phases. An extremely high PA value can lead to very large instantaneous extruder movements, and there is no configuration option to limit this movement amplitude.
Improper Setting of pressure_advance_smooth_time
Symptom: The printed surface shows periodic ripples, uneven extrusion speed, or unnatural corner transitions.
Common Causes:
pressure_advance_smooth_timeis set too large (>0.1s), causing slow PA compensation response.- Set too small (
<0.01s), causing aggressive PA compensation leading to extrusion jitter. - An old configuration uses the deprecated standalone
[pressure_advance]section.
Solutions:
-
The default value of
0.040works for most scenarios and generally doesn't need modification. -
The configuration should be placed within the
[extruder]section:[extruder]pressure_advance: 0.05pressure_advance_smooth_time: 0.040 -
Do not use a separate
[pressure_advance]configuration section (deprecated). -
If using a long Bowden tube, it can be increased slightly to
0.060–0.080.
Slicer Settings Conflict with Klipper Extrusion Control
Symptom: Print quality decreases after configuring PA, showing increased stringing, abnormal corners, or extrusion blobs.
Common Causes:
- Coasting enabled in the slicer, which overlaps with PA's deceleration compensation.
- Simplify3D's Extra restart distance causes drastic extrusion speed changes.
- KISSlicer's PreloadVE duplicates the PA function.
- Slicer's "dynamic acceleration control" or "Scarf joint" interferes with testing.
Solutions:
- Disable the following features in the slicer:
- Coasting
- Extra restart distance
- PreloadVE (KISSlicer)
- Dynamic acceleration control / Dynamic pressure control
- Scarf joint seams (when calibrating PA)
- Keep normal retraction settings (suggest 0.5–1.0 mm) and "wipe while retracting".
- Disable the slicer's "Z-lift on retract", let Klipper macros handle it.
For PA calibration testing, it is recommended to use a slicer speed of 100 mm/s, layer height approximately 75% of the nozzle diameter, 0% infill, and disable dynamic acceleration control to fully expose the effects of PA.
Configuration Changes Related to Resonance Compensation After Klipper Update
Symptom: The behavior of SHAPER_CALIBRATE changes after a Klipper update, resonance test results differ from before, or deprecation warnings appear.
Common Causes:
- Klipper updated default parameters for
[resonance_tester](e.g.,sweeping_period,accel_per_hz). - The old
max_accel_to_decelparameter has been replaced byminimum_cruise_ratio. - Accelerometer sampling logic or filtering algorithms have been updated.
Solutions:
-
After the update, check the Klipper Configuration Changes to see if any items affect resonance compensation.
-
If restoring the old test behavior is desired, explicitly add to
[resonance_tester]:[resonance_tester]sweeping_period: 0accel_per_hz: 75 -
It is recommended to re-run
SHAPER_CALIBRATEafter the update rather than reusing old frequency values. -
If
max_accel_to_decelreports deprecation, use instead:[printer]minimum_cruise_ratio: 0.5
Configuration Migration: For more configuration migration issues after updates, please refer to the relevant sections in Configuration Errors.