How to tune Stall Detection?
-
Well, no other suggestions?
I need to make this work! -
Are you definitely running 1.20 or 1.21RC series firmware, on a Duet WiFi or Duet Ethernet?
-
Sure!
-
What are your Z steps/mm?
-
It's 400 steps/mm
-
From comparing other motors, I estimate the inductance of that motor to be about 8 to 10mH. What maximum Z speed at full torque does that give?
-
I am not 100% sure, if all the other values I have are correct.
I took them from this site: http://www.mytechnologie.de/2017/05/22/projekt-3d-drucker-die-motoren/I suppose by "maximum Z speed at full torque" you mean "Speed at which torque starts to drop (mm/sec), high slip angle".
For 8mH this gives me 32,7mm/s and for 10mH it is 27,9mm/s.
-
No additional suggestions?
This feature was one of the main reasons for buying the Duet -
Is it just the Z motor that you can't get stall detection working on? Does it work on the X and Y motors? How about U?
-
It works on X and Y. I tuned the values until I got no more false detections. S22 seems to be the value to go on these axes.
I tried [c]M915 Z S-50 F0 R1[/c] and [c]M915 P2:4 S-50 F0 R1[/c] for Z but never got stall detections on drives other than 0 and 1 (X and Y).
-
I have added this to my list of pending investigations. I should get to it before the end of this coming week.
-
Great, thank you!
-
Any news on this already?
-
-
Do you have one Z motor or two? If you have two, how are they connected?
-
See this post: https://www.duet3d.com/forum/thread.php?pid=37997#p37997
-
If you run M915 without parameters, what stall detect configurations does it report for drivers 2 and 4?
-
The console does not show the whole response. Seems to be too long:
Driver 0: stall threshold 23, filter off, steps/sec 200, coolstep 0, action: log
Driver 1: stall threshold 23, filter off, steps/sec 200, coolstep 0, action: log
Driver 2: stall threshold -10, filter off, steps/sec 200, coolstep 0, action: log
Driver 3: s -
You can send M915 D# where # is the drive number, to report the settings for a single drive.
-
Yeah, sure.
Drive 4 is the same as 2.
Tried this before with -50 instead of -10 for drives 2 and 4.