FDM Printer Calibration: Flow, Pressure Advance, Input Shaping

Calibrating an FDM 3D printer correctly lets a mid-range machine print good-looking, dimensionally accurate technical parts, while calibrating in the wrong order makes the settings “fight” each other. The three most influential settings are flow (flow ratio), pressure advance (nozzle pressure compensation) and input shaping (vibration cancellation). This article follows the order recommended by the OrcaSlicer and Klipper calibration documentation, with test models, how to read the results and how to save profiles.

Calibration order and why

OrcaSlicer’s calibration guide splits the work into two groups. Filament-specific, redone whenever you change filament: temperature, max volumetric flow, pressure advance, flow and retraction. Machine-specific, done when hardware changes: cornering, input shaping and advanced tests.

The reasons for this order:

  1. Temperature first because it determines the filament’s viscosity, which affects every later test.
  2. Max volumetric flow so later tests are not under-extruded from printing too fast. OrcaSlicer suggests using a value 10–20% below the measured result.
  3. Pressure advance before flow, because according to OrcaSlicer it is the value most often wrong, while flow in the filament profile is usually already close.
  4. Flow is a small fine-tuning step from the existing value.
  5. Retraction last in the filament group, because pressure advance and flow both change pressure in the nozzle.

The Klipper documentation also notes that the extruder `rotation_distance` and nozzle temperature should be tuned before pressure advance. After changing input shaping settings, pressure advance should be retuned.

Step 1: Pressure advance

Pressure advance compensates for pressure lag in the nozzle: when the toolhead accelerates, filament comes out later than commanded; when it decelerates at corners, filament keeps flowing and creates blobs. The Klipper documentation instructs as follows:

  1. Print the hollow square tower `square_tower.stl` at 100 mm/s, no infill, with a layer height of about 75% of the nozzle diameter. Disable dynamic acceleration control and scarf seams in the slicer.
  2. Send `SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500` to exaggerate the effect of pressure at the corners.
  3. For a direct drive extruder: `TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005`. For a long Bowden, use `FACTOR=.020`.
  4. After printing, inspect the tower corners. A low value makes corners bulge; a high value rounds the corners and under-extrudes going into them. Measure the height of the section with the best corners with calipers; if in doubt, choose the lower height.
  5. Calculate: `pressure_advance = START + measured_height × FACTOR`. Example from the documentation: 0 + 12.90 × 0.020 = 0.258.

Klipper says the value is usually between 0.050 and 1.000, with the upper end mostly seen on Bowden setups. Values above 0.200 can make the extruder skip steps when returning to normal acceleration. Save the result in the `[extruder]` section of the config file and `RESTART`.

An often-overlooked point: pressure advance depends on the extruder, the nozzle and the filament. Klipper advises calibrating for each machine and each spool, because a different brand or colour can give a very different value.

Step 2: Flow (flow ratio)

Wrong flow leaves parts under-extruded (gaps, weak layers) or over-extruded (rough surfaces, oversized dimensions). OrcaSlicer offers two tests:

Several parts printed at once on a flat, clean build plate
  • 2-Pass: pass 1 prints nine blocks with different adjustments; pass 2 prints ten blocks from −9 to 0. Formula: `new_flow = old_flow × (100 + modifier) / 100`. OrcaSlicer’s example: 0.98 × 105 / 100 = 1.029, then pass 2: 1.029 × 94 / 100 = 0.96726.
  • YOLO: a single pass with a ±0.05 range in 0.01 steps. Formula: `new_flow = old_flow ± modifier`.

How to read it: choose the block with the smoothest top surface and no gaps between lines. With the Archimedean spiral pattern, also check the junction between the inner spiral and outer arc; material piling up there indicates over-extrusion.

On Bambu Lab printers, Bambu Studio has its own calibration: a coarse pass printing blocks from 80% to 120% in 5% steps; a fine pass from 91% to 100% in 1% steps. The Bambu Lab wiki notes the automatic mode may be unreliable with transparent, glitter or reflective filaments, and for ordinary filaments this step is usually unnecessary.

Step 3: Input shaping

Input shaping cancels ringing (ghosting) after sharp corners when printing fast. Klipper stresses that mechanical causes must be addressed first: a rigid frame, correctly tensioned belts and straight rails.

Manual measurement procedure according to the Klipper documentation:

  1. Print `ringing_tower.stl`: 0.2–0.25 mm layers, no infill, no top layers, 1–2 perimeters, outer wall speed about 80–100 mm/s. Do not rotate the model, because the X and Y marks on the back identify the axes.
  2. Reset `square_corner_velocity` to 5, disable pressure advance (`SET_PRESSURE_ADVANCE ADVANCE=0`) and disable any existing shaper.
  3. Run `TUNING_TOWER COMMAND=SET_VELOCITY_LIMIT PARAMETER=ACCEL START=1500 STEP_DELTA=500 STEP_HEIGHT=5`: acceleration increases by 500 mm/s² every 5 mm of height.
  4. Count the number of ripples N over a length D (mm) and calculate the frequency `f = V × N / D`, where V is the outer wall speed. Klipper’s example: 100 × 6 / 12.14 ≈ 49.4 Hz.
  5. Enter `shaper_freq_x` and `shaper_freq_y` in the `[input_shaper]` section. Try MZV first; choose EI only if it is clearly better.
  6. Choose `max_accel`: take the lower of the acceleration where ringing is still acceptable and the level where smoothing becomes excessive (the 0.15 mm gap on the model starts to widen).

If the measured frequency is below about 20–25 Hz, Klipper advises stiffening the machine or reducing moving mass before continuing. Machines with an accelerometer can measure automatically, faster and more accurately.

Misleading results and how to handle them

Symptom on the test printCommon causeFix
PA tower corners differThe slicer’s layer change seamIgnore the odd corner and read the other three; if they still differ, choose the lower value
No improvement up to 1.000Pressure advance cannot helpDisable PA, check the extruder
All flow blocks are roughWrong temperature or wet filamentAdjust temperature, dry the filament and test again
Ringing does not follow the notches on the towerMechanical or extruder causeTension belts, check rails and loose screws
Ringing returns after a whileSlack beltsRe-tension belts and measure the frequency again

If surface defects remain after calibration, also check against 12 common 3D printing problems (in Vietnamese).

Saving profiles so you do not have to redo the work

Workshop rule: filament-specific settings go in the filament profile, machine-specific settings go in the printer configuration.

FDM nozzle depositing plastic layer by layer
  • Filament profile: save flow, pressure advance (if the slicer supports it), temperature, max flow and retraction. Use clear names including brand, type, colour, machine and nozzle, e.g. “ASA-brandX-black-machine2-0.4”. OrcaSlicer advises saving the filament profile after each update. Bambu Studio lets you save as a new preset or overwrite the old one.
  • Printer configuration: `rotation_distance`, `[input_shaper]` and `max_accel` are saved in `printer.cfg` (Klipper).
  • When to redo it: according to Klipper, remeasure input shaping when changing the toolhead, hotend or fan duct, re-tensioning belts, reinforcing the frame or changing the bed. Redo pressure advance and flow when switching to a spool of a different brand or changing nozzle size.

Finally, OrcaSlicer places the tolerance test at the end of the process because its result depends on all previous steps. This is also the time to recheck fits and screw holes following 3D printing tolerances (in Vietnamese).

Frequently asked questions

Can printers running Marlin firmware follow this?

Yes in principle, because the physics of nozzle pressure and frame vibration are the same. Marlin calls its pressure compensation feature Linear Advance, with different commands and units from Klipper. The safe approach is to use the slicer’s built-in calibration tests, such as OrcaSlicer’s, instead of typing Klipper commands.

Do I need to recalibrate when changing filament colour from the same brand?

Not necessarily, but Klipper notes that colour and additives can change pressure advance significantly. For parts needing accurate dimensions, quickly print a PA tower for the new spool. For display models, reusing the same brand’s profile is usually enough.

Does calibration make printing slower?

According to Klipper, pressure advance does not change print time or material usage. Input shaping itself has almost no effect on time; what matters is the max_accel value you choose. Good calibration usually allows faster printing without losing quality.

How often should everything be rechecked?

When print quality drops without changing filament, check the mechanics first: belts, rails, worn nozzles. After major maintenance or replacing toolhead components, redo input shaping and then pressure advance. Logging results in a machine log helps spot which machines are deteriorating.

Need 3D printing, 3D scanning or mould making?

CT3D Group offers 3D printing, 3D scanning, reverse engineering and silicone mould making in Ho Chi Minh City, with nationwide delivery.

Hotline/Zalo: 0975 008 728

Nguyễn Cường tổng hợp

Bạn đánh giá bài viết này thế nào?