• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

How to tune Stall Detection?

Scheduled Pinned Locked Moved
Tuning and tweaking
5
41
7.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    dc42 administrators
    last edited by 7 Feb 2018, 23:26

    Are you definitely running 1.20 or 1.21RC series firmware, on a Duet WiFi or Duet Ethernet?

    Duet WiFi hardware designer and firmware engineer
    Please do not ask me for Duet support via PM or email, use the forum
    http://www.escher3d.com, https://miscsolutions.wordpress.com

    1 Reply Last reply Reply Quote 0
    • undefined
      GaRv3
      last edited by 8 Feb 2018, 02:13

      Sure!

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by 8 Feb 2018, 07:28

        What are your Z steps/mm?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • undefined
          GaRv3
          last edited by 2 Sept 2018, 01:51 8 Feb 2018, 22:44

          It's 400 steps/mm

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 9 Feb 2018, 09:36

            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?

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • undefined
              GaRv3
              last edited by 9 Feb 2018, 12:28

              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.

              1 Reply Last reply Reply Quote 0
              • undefined
                GaRv3
                last edited by 11 Feb 2018, 16:17

                No additional suggestions?
                This feature was one of the main reasons for buying the Duet 😕

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 11 Feb 2018, 16:59

                  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?

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    GaRv3
                    last edited by 2 Nov 2018, 17:46 11 Feb 2018, 17:44

                    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).

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 11 Feb 2018, 19:06

                      I have added this to my list of pending investigations. I should get to it before the end of this coming week.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        GaRv3
                        last edited by 11 Feb 2018, 20:51

                        Great, thank you!

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          GaRv3
                          last edited by 16 Feb 2018, 13:20

                          Any news on this already?

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            GaRv3
                            last edited by 18 Feb 2018, 19:44

                            😞

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 18 Feb 2018, 19:48

                              Do you have one Z motor or two? If you have two, how are they connected?

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                GaRv3
                                last edited by 18 Feb 2018, 19:49

                                See this post: https://www.duet3d.com/forum/thread.php?pid=37997#p37997

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 18 Feb 2018, 20:18

                                  If you run M915 without parameters, what stall detect configurations does it report for drivers 2 and 4?

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    GaRv3
                                    last edited by 20 Feb 2018, 07:59

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators
                                      last edited by 20 Feb 2018, 12:59

                                      You can send M915 D# where # is the drive number, to report the settings for a single drive.

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        GaRv3
                                        last edited by 20 Feb 2018, 14:05

                                        Yeah, sure.
                                        Drive 4 is the same as 2.
                                        Tried this before with -50 instead of -10 for drives 2 and 4.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          dc42 administrators
                                          last edited by 20 Feb 2018, 15:36

                                          Please can you set up a config.g file and test script (based on your Z homing file) that I can use to test this. I don't mind whether you have 1 Z motor or 2, just so long as I can put those files on a bench test setup and replicate the fault.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          1 Reply Last reply Reply Quote 0
                                          19 out of 41
                                          • First post
                                            19/41
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA