Notifications
Clear all

Voron 2.4 with Duet 3 + Toolboard + TAP

1 Posts
1 Users
0 Reactions
596 Views
Posts: 447
Admin
Topic starter
(@admin)
Member
Joined: 6 years ago

🎶 Complete Guide to Input Shaping (Resonance Compensation) on Voron 2.4 with Duet 3 + Toolboard + TAP

If you're running a Voron 2.4 with Duet 3 and a Toolboard and want to tune Input Shaping (resonance compensation) using the onboard accelerometer, here's a step-by-step process to get perfect print quality at high speeds! 🚀


What is Input Shaping?

Input Shaping helps:

  • Eliminate ringing/ghosting on print walls.
  • Compensate for mechanical resonances in belts, motors, and the frame.
  • Increase speed and acceleration while keeping quality.

🛠 Requirements:

  • Voron 2.4 with Duet 3 6HC/Toolboard combo.
  • Toolboard-mounted accelerometer (configured as shown below).
  • Latest RepRapFirmware (3.5+ recommended).

Step 1: Make Sure Accelerometer is Set Up

Your config.g should include:

gcode
 
M955 P121.0 I20 ; Toolboard accelerometer on SPI

Test connection:

gcode
 
M955

✔️ Should respond: Accelerometer on board 121, SPI channel 0


Step 2: Run Resonance Test Macros

I created two simple macros for you:

Macro Name Purpose
resonance_test_x.g Run X-axis vibration test
resonance_test_y.g Run Y-axis vibration test

These move the toolhead to the center of the bed and run an accelerometer capture. You can download them here.


Step 3: Download and Analyze Data

After each test:

  1. Go to DWC (Duet Web Control).
  2. Look under Jobs — download .csv file.
  3. Analyze file at: https://accelerometer.jyers.dev/ or use Duet Python tools.

Step 4: Set Input Shaping (M593)

Based on analysis (you'll get a graph of resonances):

  • Example:
    • Resonance peak found around 45Hz.
    • Set shaper:
      gcode
       
      M593 P"mzv" F45 S0.1

Add this line to config.g.


Step 5: Test and Adjust

Run test print (e.g., speed tower) to check:

  • Straight walls.
  • No ringing/ghosting.
  • Adjust F value (frequency) in M593 as needed and re-test.

Example config.g Line After Tuning:

gcode
 
M593 P"mzv" F45 S0.1 ; Example frequency

⚙️ Bonus Tips:

  • Once tuned, you can increase accelerations safely:
    gcode
     
    M201 X8000 Y8000 Z350 E2000 ; Example accelerations
  • You can also explore other shapers (like ei3, zvdd) if needed.

🔗 Download Pre-Made Macros Here:

👉 Download input_shaping_macros.zip