Layer shifts on X axis only. Possibly after recent update

Basic Information:

Printer Model: Ender 3 Pro
MCU / Printerboard: BTT SKR3
klippy.log

Describe your issue:

I am seeing random layer shifts on the X axis. Everything was working fine until a few days ago. I now get consistent shifts left and right on the X axis. Only the X axis.

I thought perhaps my run_current wasn’t high enough so I increased it in small steps, printing after each increase. I got all the way up to 0.8 which is the rated max for that stepper.
I believe I have damaged a stepper in this process. I have replaced said stepper with a new one and set the run_current to a sensible number (what it was previously when it was working) and the shifts persist.

I have double checked the belts. They are tight. I have swapped my stepper drivers around to see if this was the issue, it does not appear to be.

I am out of ideas as to what the issue could be, except that there was a klipper update since it was last behaving correctly. It still could be something else but, as I have said it was working fine.

I am happy to test and debug so please ask questions

klippy.log (2.4 MB)

Hello @insanemal !

First, as you said, you may increase the run_current for stepper_x to 0.8 A.
Same is for stepper_y. This one has more load due to the bed.

BTW:

What are these steppers? The motors I know run at least at 1.2 A and more. Those for the Ender 3 have 1.5 A

Also check the X axis mechanics: Is the gear tight to the motor shaft? Has the timing belt a proper tension - not too lose and not too tight -? Does the carriage run smoothly its way?

It’s weird. Y seems fine. Previously before I started having issues I was running them at 0.460 as per another recommendation. And I was getting solid prints.

The conversation here seems to be sound? https://www.reddit.com/r/BIGTREETECH/comments/ct5j8k/stepper_driver_current_settings/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button

Yeah I’ve tried just about every tighness adjustment I can do. From loose-ish to probably too tight.

That’s what’s really got me stumped. It was working fine (I printed a mountain of test cubes dialing in the extruder) with much lower values and now its being weird. And like I said, really the only change was a recent update to Klipper… I might be able to recover which git commit I was previously on and test. But I’m not sure.

Only other thing I can think of is I have a failing power supply but that doesn’t add up

Can’t comment on the reddit post, since this depends on your hardware, which I do not have. For the general logic see Hold_current and run_current -- TMC2209 - #5 by Sineos

So do I need to adjust my R-Sense? I thought using UART I didn’t need to do that?

Where do you find an instruction to modify R-Sense?

I read your reply in the linked thread. I have TMC 2209 drivers in UART mode.

I have not adjusted the variable resistor on the board at all.

Just set the run current.

I just tried a print at 0.460 which was the previous good value.

The print came out like this

I have more photos but apparently I can only Upload one at a time

So now it appears I have issues on both the X and the Y?

Things are getting progressively worse it seems. It did appear to be doing fine for the first few layers however.

In the link I posted there is no information to adjust R-Sense. On the contrary, R-Sense is defined by the stepper modules that you are using and must match. This is not a setting to adjust. Follow the instruction given under the heading “The correct current for the stepper

If the print quality stays the same after adjusting to the correct current, then you should check your Z-Axis. For me your picture looks rather like a messed up Z-axis then a layer shifting.

I mean each problem layer is shifted on the X. The Y looks like crap because they don’t match the line above and below.

It’s actually even worse now than it has been. The Y direction was clean as and just X was stepped wrong. Often just in the last few layers. I have no idea. I’m pretty much at the end of my tether lol