Stepper phase change

Basic Information:

Printer Model: TriZero
MCU / Printerboard: SKR2
Host / SBC RPi4
klippy.log
klippy(1).log (2.8 MB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

I am starting a new post to expand on an issue highlighted in another post I made, specifically the listing of stepper phase change in klippy.log

Stepper stepper_z phase change (was 593 now 937)
Stepper stepper_z1 phase change (was 626 now 970)

my printer has three z motors z, z1 and z2. What could be the cause of a phase change on two of the motors? I’m having trouble finding any info on this doing any forum or web searches.

The klipper docs describe phase change, and how to use it with endstops as a configuration option, however in the notes it specifically mentions not using it with probe virutal enstop enabled, which I have. I do not have any phase settings configured at all, and never have.

Is this indicative of a hardware/software problem I have, or a red herring?

AFAIK, it should mean that the stepper made an unexpected number of steps.
So, the driver position does not equal the commanded one.

  1. Try disabling interpolation. IDK, but if the read happens between steps, it can be unaligned, but should not be so high.
  2. Try to set step_pulse_duration=0.000002 for Z steppers, just for the test.

On second glance, I think that tmc_autotune mess with TMC configuration, and enabled multistep_filt for some reason.

...
autotune_tmc set stepper_x multistep_filt=True
autotune_tmc set stepper_y multistep_filt=True
autotune_tmc set stepper_z multistep_filt=True
autotune_tmc set stepper_z1 multistep_filt=True
autotune_tmc set stepper_z2 multistep_filt=True
...


I guess you can report a bug to the tmc autotune github.


Just for the sake of mind map:


I was wrong, it should do nothing on 2209:

2 Likes

So I have disabled(but not uninstalled) the autotune and the problem with the phase changes persist. They appear for stepper_z and stepper_z1 but never stepper_z2, and I have spotted them for stepper_x and stepper_y in other parts of the log.

Well, you can still look at the DUMP_TMP output and/or logs to check that there are no strange changes left behind.

Also, you may wish to try to increase pulse_duration, as suggested above; it should help with that.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.