Skip to content

[BUG] Input shaping causes delay in laser actuation #26116

Open
@Moeschus

Description

@Moeschus

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

Yes, and the problem still exists.

Bug Description

I use Marlin to control a laser engraver (using inline mode) and when I activate input shaping this causes delays in laser actuation. Therefore I cannot use input shaping, although it would be a great feature for laser engravers, because powerful laser modules are quite heavy and have to be moved around quite quickly. This generates quite a bit of vibration that can be nicely cancelled by input shaping.

The delay becomes clearly visible when I engrave text or images in bidirectional mode. This means that the laser moves across the whole text or image in lines in alternating directions (left to right, then right to left and so on). A delay causes all features to get a shifted "twin". This behavior is only present when input shaping is active (see image below). The shift between the letters in this picture is about 4 mm and the text was engraved with 200 mm/s. This means that there must be a time delay of the laser actuation of approximately 10 ms. This behavior is only present when input shaping is active.

inputShapingIssuejpg

Bug Timeline

Present in 2.1.2.1 and bugfix-2.1.x. No other versions tested.

Expected behavior

No laser actuation delays caused by input shaping

Actual behavior

laser actuation delays caused by input shaping

Steps to Reproduce

  • activate input shaping
  • engrave any picture or text in bidirectional fill mode

Version of Marlin Firmware

2.1.2.1

Printer model

custom laser engraver

Electronics

SKR mini E3 V3.0

Add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Configuration.zip
Test_gcode.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions