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.22k stars 19.22k forks source link

[BUG] Y-Axis Motor Shake with ZV Input Shaping Enabled Only on Y-Axis #27475

Open johnnychang924 opened 3 days ago

johnnychang924 commented 3 days ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

When ZV input shaping is enabled only on the Y-axis (with the X-axis shaping disabled), the Y-axis motor experiences strong shaking and skips steps during movement. The issue does not occur when input shaping is enabled on both axes or when it is completely disabled.

Bug Timeline

new bug

Expected behavior

Smooth motion of the Y-axis with accurate positioning when input shaping is applied only to the Y-axis.

Actual behavior

The Y-axis motor shakes violently and skips steps, resulting in significant inaccuracies in positioning. This makes the printer unusable.

Steps to Reproduce

  1. Configure Marlin firmware to enable ZV input shaping only on the Y-axis: INPUT_SHAPING_X_AXIS disabled INPUT_SHAPING_Y_AXIS enabled

  2. Start any movement or home the printer.

Version of Marlin Firmware

2.1.2.4

Printer model

Ender-3 Pro with switchwire mod

Electronics

creality 4.2.2

LCD/Controller

cr-10 stock

Other add-ons

I use stock extruder motor as y-axis motor.

Bed Leveling

UBL Bilinear mesh

Your Slicer

Cura

Host Software

SD Card (headless)

Don't forget to include

Additional information & file uploads

I am using a CoreXZ 3D printer, and in Marlin, CoreXZ configurations do not support input shaping on the X-axis. Therefore, I need to use input shaping only on the Y-axis. Configuration.zip

SMH17 commented 2 days ago

I'm facing this critical issue too, and mostly the shift happens on Y axis although some prints show problem on X at same time, but it happens with input shaping enabled on both axes. So, I think that your claim about the issue not occurring when enabled on both X and Y axis could be just by coincidence.

It seems working normal then suddenly it goes crazy: a stepper rattling noise with a shift of bed to a significantly higher than normal Y position, continuing to print "normally" in a then heavily misaligned position behind the correct layer alignment, without any gradual shifting till the next recurrence of the problem.

I haven't tried disabling STEALTHCHOP yet, that is the next in my list of suspect co-factors.

I have seen many issues related to shifting that are closed due to inactivity, without any related fix, I think the autoclosing of issues like this should be prevented till a proper determining of the cause of the problem and fix, otherwise these remains hidden and not properly addressed.

EDIT Reproduced exactly the same issue also with input shaping totally disabled, the issue in my case is this.

johnnychang924 commented 1 day ago

Thank you for your reply! It seems like we're experiencing different issues. In my case, the machine works perfectly fine when input shaping is completely disabled, with no step skipping or vibrations on any axis. The problem only arises when ZV input shaping is enabled exclusively on the Y-axis. This contrasts with what you're describing, where you encounter the issue even with input shaping disabled.