Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Enabling Backlash Compensation causes Layer Shift #23741

Closed
schmttc opened this issue Feb 15, 2022 · 7 comments
Closed

[BUG] Enabling Backlash Compensation causes Layer Shift #23741

schmttc opened this issue Feb 15, 2022 · 7 comments

Comments

@schmttc
Copy link
Contributor

schmttc commented Feb 15, 2022

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

Yes, and the problem still exists.

Bug Description

  • Enabling Backlash Compensation in configuration_adv.h causes layer shift to occur part way through prints
  • Larger compiled in compensation values for X/Y/Z seem to cause the layer shift to occur sooner in a given print
  • Setting backlash compensation settings in software via M425 cause the layer shift to occur sooner
  • For a given backlash configuration and the same model, the layer shift is always consistent
  • For the same model, prints with a taller layer height eg. 0.3mm can show no layer shift; but reducing the layer height to say 0.2mm shows layer shift towards the end of the print
  • This leads me to think there is an overflow type error that takes time or a number of segments or layers or operations to 'trigger'

This issue was first observed in Marlin 2.0.9.1, and persists in 2.0.9.3 bugfix.

(please excuse my hairy prints, I'm using up poor quality PLA and my temps are a bit high)

0.3 layers, 0.5,0.36,0 backlash compiled in, smoothing 0, correction 1. No layer shift apparent
0 3

0.2 layers, 0.5,0.36,0 backlash, smoothing 0, correction 1. Layer shift begins at top of tower
2903

M425 is enabled at 0,0,0 F0 S0 compiled in firmware
Test 1, Left in image: First line of Cura start block: M425 X0.39 Y0.39 Z0.2 F1 S0
Test 2, Right in image: Save settings to EEPROM, confirm over reboot. Remove M425 from Cura start block
146295484-a63771b7-9768-401e-b8fe-c2b08426ee35

I have additional notes and images here schmttc/EasyThreeD-K7-STM32#2

Bug Timeline

Exists in 2.0.9.1, remains present in 2.0.9.3 bugfix

Expected behavior

Enabling Backlash Compensation does not induce layer shift

Actual behavior

Enabling Backlash Compensation causes layer shift

Steps to Reproduce

  • Enable Backlash Compensation in configuration_adv.h
  • Compile and flash firmware
  • Print a moderate sized item (this backlash tower is enough to show the problem when using 0.2 layers https://www.thingiverse.com/thing:2371069 )

Version of Marlin Firmware

2.0.9.3

Printer model

EasyThreeD K7

Electronics

Stock (ET4000+ board)

Add-ons

None

Bed Leveling

No response

Your Slicer

Cura

Host Software

SD Card (headless)

Additional information & file uploads

See zip for configuration files: configuration.zip

@thinkyhead
Copy link
Member

Please test the bugfix-2.0.x branch to see where it stands. If the problem has been resolved then we can close this issue. If the issue isn't resolved yet, then we should investigate further.

@schmttc
Copy link
Contributor Author

schmttc commented Apr 22, 2022

  • Using bugfix code downloaded today fails to compile with PIO env "mks_robin_lite_maple"
  • Using bugfix code downloaded 15 Feb 2020 successfully compiles with PIO env "mks_robin_lite_maple", and is the code used in the first post
  • Compiling with either version of code using PIO env "mks_robin_lite" does not seem to be compatible with the board's bootloader; machine is unresponsive on boot.

I understand the intention is to depreciate the maple library. Should I raise a bug against the maple compile error; or the no-boot issue with the non-maple library?
Resolving one of these two issues is a dependency for testing the latest bugfix code for the backlash issue.

@thisiskeithb
Copy link
Member

Using bugfix code downloaded today fails to compile with PIO env "mks_robin_lite_maple"

Did you port your config /settings to the latest bugfix? What’s the error?

@ellensp
Copy link
Contributor

ellensp commented Apr 22, 2022

I updated provided configs to bugfix and mks_robin_lite_maple compiles without issue.

Configuration.zip

@schmttc
Copy link
Contributor Author

schmttc commented Apr 22, 2022

My apologies, I have found that the error was caused by my copying platformio.ini and the directories were incorrect. Compiling the latest bugfix for mks_robin_lite_maple does not have a problem.

I'm getting the same behavior with the Feb and today's code

image
Configuration_adv.h.txt
Configuration.h.txt

@github-actions
Copy link

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days.

@github-actions
Copy link

github-actions bot commented Sep 1, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants