#149

Voron 2.4 with Duet 3 + Toolboard + TAP



Input Shaping (Resonance Compensation) Guide



Summary


Input Shaping helps eliminate ringing/ghosting on print walls, compensate for mechanical resonances in belts, motors, and the frame, and increase speed and acceleration while maintaining print quality.

Requirements


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

Steps



#### Step 1: Make Sure Accelerometer is Set Up
Ensure your config.g includes:
`gcode
M955 P121.0 I20 ; Toolboard accelerometer on SPI
`
Test connection:
`gcode
M955
`
Expected response: Accelerometer on board 121, SPI channel 0

#### Step 2: Run Resonance Test Macros
Use the following macros:
- resonance_test_x.g: Run X-axis vibration test
- resonance_test_y.g: Run Y-axis vibration test

Download these macros from the provided link.

#### Step 3: Download and Analyze Data
After each test:
1. Go to DWC (Duet Web Control).
2. Look under Jobs and download the .csv file.
3. Analyze the 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), set shaper:
`gcode
M593 P"mzv" F45 S0.1
`
Add this line to config.g.

#### Step 5: Test and Adjust
Run a test print (e.g., speed tower) to check:
- Straight walls
- No ringing/ghosting
Adjust the 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


Download input_shaping_macros.zip from the provided link.
Log in or register to reply.