MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.34k stars 19.26k forks source link

[FR] add feature "Hybrid_Max_Current" above "Hybrid_Threshold" #19675

Open Quas7 opened 4 years ago

Quas7 commented 4 years ago

Description

For rapid moves of geared extruders using TMC UART/SPI driver the maximum torque would be beneficial. Switching the TMC to Spreadcycle helps a bit but increasing current would add quite a punch. After the rapid, reduced waste heat and noise is preferred with Stealthchop.

It is mybe releated to https://github.com/MarlinFirmware/Marlin/issues/13316

Other axis might benefit as well from this feature.

Feature Workflow

define E0_HYBRID_THRESHOLD 50

// for gear ratio of 3 this translates to 150mm/s on "normal axis", limit for my setup is 60 on TMC2209 1A(rms)

define E0_HYBRID_MAX_CURRENT 1500

// mA max_current to jump to above threshold --> FR

Additional Information

I opened FR for Slic3r and Slic3r PE as this can be solve easier at least for rapid retracts during Gcode generation https://github.com/slic3r/Slic3r/issues/5025 https://github.com/prusa3d/PrusaSlicer/issues/4856

vovodroid commented 1 month ago

I opened FR for Slic3r and Slic3r PE

Four years passed...))) I can implement this change in Orca, but question is whether M569 Marlin command takes effect immediately? According to Marlin code it seems to be yes, but who knows...