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

[BUG] ADAPTIVE_STEP_SMOOTHING causes skipped steps. #27241

Open rabirland opened 3 months ago

rabirland commented 3 months ago

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

Yes, and the problem still exists.

Bug Description

When using ADAPTIVE_STEP_SMOOTHING the potential torque of the motors are severely limited. The motor current have to significantly increased (at the range of 900 to 1000mA in my case) to prevent skipped steps above acceleration 5000 mm/s^2.

Bug Timeline

No response

Expected behavior

The motors motors could output the same torque as without ADAPTIVE_STEP_SMOOTHING.

Actual behavior

Pulling the acceleration above 5000 with ADAPTIVE_STEP_SMOOTHING increases the potential of skipped steps in some machines.

Steps to Reproduce

  1. Enable ADAPTIVE_STEP_SMOOTHING in the firmware
  2. Begin to increase the acceleration, see where it starts to produce skipped layers.

Considering this is highly machine dependent, confirm the results with the same acceleration (that caused shifting) with ADAPTIVE_STEP_SMOOTHING disabled.

Version of Marlin Firmware

Marlin bugfix-2.1.x

Printer model

Custom built machine

Electronics

SKR MINI E3 V3

LCD/Controller

Ender 5 plus factory DWIN display

Other add-ons

Direct drive module with a 42-40 motor attached

Bed Leveling

ABL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

SD Card (headless)

Don't forget to include

Additional information & file uploads

Find my configuration.h and configuration_adv.h on the links.

rabirland commented 3 months ago

Described a theoretical fix in https://github.com/MarlinFirmware/Marlin/issues/27242

github-actions[bot] commented 1 day ago

Greetings from the Marlin AutoBot! This issue has had no activity for the last 90 days. Do you still see this issue with the latest bugfix-2.1.x code? Please add a reply within 14 days or this issue will be automatically closed. To keep a confirmed issue open we can also add a "Bug: Confirmed" tag.

Disclaimer: This is an open community project with lots of activity and limited resources. The main project contributors will do a bug sweep ahead of the next release, but any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources such as the MarlinFirmware Discord to help solve the issue.