Marlin: Layershift/missing steps with MKS SBASE

Created on 19 Dec 2018  路  10Comments  路  Source: MarlinFirmware/Marlin

skewed prints

When running Marlin 2.0 (downloadet 3dec) on a MKS SBASE i see layershifts/missing steps on my print (see pictures) from my Tronxy X5s (CoreXY printer).

In this video you can clearly hear it losing steps (around 10 seconds and 25 seconds in the video):
https://www.youtube.com/watch?v=6rsMBklIbGw

As also seen from video this results in skewed prints.

What i have checked:

  • All mechanical are perfect, this is not induced from mechanical resistance (or the nozzle hitting the object). I know that the picture shows to identical prints with layershifts in the exact same spot, which seems to indicate a z-axis fault. So i moved the z-axis 20mm, but the layershifts came at exactly the same spot.
  • different models and slicer used, same problem, but different places the layer shifts are happening (supporting that it is not mechanical!).
  • Checked with stepperdriver on the MKS Board and external stepperdriver (Leadshine DM422 current install seen on the video on X & Y motors). Same behaviour, although more pronounced with external stepperdriver.
  • Tronxy s5x config profile have been used, but acceleration, speed and jerk values have been dialed down by roughly half to see if this helped, it did not).
  • Pulse width set to 20 us for external steppers (minimum of 7.5 us required). Checked with scope (time of picture it was set to 30 us!):
    oscilioscope

Most helpful comment

I used to have similar issues on my Tronxy X5S.
#define MINIMUM_STEPPER_PULSE 4 in addition to setting XYZE DRIVER_TYPE DRV8825 resolved it for me.

All 10 comments

Update: Dialed the stepper drivers up to 2.2A (fortunately it is detached to a 5mm aluplate, so only get about 40 degress celcius).

The clunk heard in the video disappeared, but the layershift is still there and very consistent. Tried to dial down the speed and acceleration even more, but the results are the same:

still skewed prints

I think i will try to install smoothieware to see if i can get it to print straight with that, but still keeping the Marlin SD so i will be happy to keep investigating, if anyone has any ideas how to fix this?

Best regards

This was reported already. It seems there is no final solution yet. Find more information here (#11577) and there (#12403).

I suggest you re-load your firmware with a snap shot of the code from Sept. 1st 2018. Most likely, your layer shift problem will disappear.

I have the same issue, how can I get a 1st Sept snap shot to test? Thanks.

checking your configs.
If you use the on board DRV8825
you need to uncomment

define X_DRIVER_TYPE DRV8825

define Y_DRIVER_TYPE DRV8825

define Z_DRIVER_TYPE DRV8825

define DIGIPOT_I2C

change 8 to 5 #define DIGIPOT_I2C_NUM_CHANNELS 5 //MKS SBASE: 5

define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0 } //MKS SBASE I use xyz 1.2 E 1.1

define MINIMUM_STEPPER_DIR_DELAY 650

define MINIMUM_STEPPER_PULSE 20 //KPS uncommented //I change the 2 by 4 and solve the problem

define MAXIMUM_STEPPER_RATE 250000

And if you set the new backlash, all things will go better.

I used to have similar issues on my Tronxy X5S.
#define MINIMUM_STEPPER_PULSE 4 in addition to setting XYZE DRIVER_TYPE DRV8825 resolved it for me.

@palmhoej problem fixed?

Same issue on SKR 1.3 w/ TMC 2209 drivers. Some combination of MINIMUM_STEPPER_PRE_DIR_DELAY, MINIMUM_STEPPER_POST_DIR_DELAY, MINIMUM_STEPPER_PULSE fixed it for me too. 馃憤

I got interesting layer shifts with 2.01.

In CoreXY left motor had pushed the head 18mm towards right front corner.
15 layers later left motor pulled the layer back 20mm towards left back corner.

Cura (4.5) simulation looks OK, hopefully 2.0.4.4 works.

Configuration_adv.zip
DSC_0004_BURST20200302193248591

I was making the draft print with 100m/s + 150% speed.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

modem7 picture modem7  路  3Comments

ahsnuet09 picture ahsnuet09  路  3Comments

jerryerry picture jerryerry  路  4Comments

ShadowOfTheDamn picture ShadowOfTheDamn  路  3Comments

pubalan12 picture pubalan12  路  4Comments