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

    Stall Guard

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    27
    1.4k
    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.
    • BlueDustundefined
      BlueDust
      last edited by

      I am not able to get Stall Guard to detect anything at all after the print starts.

      I have tried many settings currently trying the below with no luck....
      M915 X Y S-60 R3 F1 H400

      I am using E3d motors currently set to 1000ma on the X and Y.

      Any ideas on what I could try would be great!

      One more thing. I am currently using stall guard for homing X and Y...

      Thanks!

      Fun, that 3 letter word with "u" in the middle.

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        What are your steps per MM on X and Y? How fast are you printing when you try to stall it?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • BlueDustundefined
          BlueDust
          last edited by

          Steps per mm, is 160. Speed depends on the movement. I have it set to 100mms but its not going that fast because of the short moves on the current print. I don't remember the speed it was moving when I was testing this out. How fast should it go? I know it can't be slow, but not sure what speed slow is.

          Thanks

          Fun, that 3 letter word with "u" in the middle.

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            The H400 parameter in your M915 means that stall detection is disabled below 400 full steps per second. Your steps/mm is 160, so assuming you have microstepping set to x16, that's 10 full steps/mm. Therefore stall detection will kick in above 400/10 = 40mm/sec.

            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

            BlueDustundefined 1 Reply Last reply Reply Quote 0
            • BlueDustundefined
              BlueDust @dc42
              last edited by BlueDust

              @dc42

              I misunderstood what H was for. I thought it needed to match the steppers .9 degree.... I assumed it could be adjusted for finer calibration, but didn't know it was used like that. I will test this again shortly.

              Thanks!

              Fun, that 3 letter word with "u" in the middle.

              dc42undefined 1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @BlueDust
                last edited by

                @BlueDust, at low speeds stall detection gets less reliable and more sensitive to temperature. That's why the H parameter exists. You can try reducing it, but that may result in false stall warnings, especially when the motors get hot.

                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

                BlueDustundefined 2 Replies Last reply Reply Quote 0
                • BlueDustundefined
                  BlueDust @dc42
                  last edited by

                  @dc42
                  Right now I am still not getting anything to happen. It cannot detect any stalls. I can hold the belts so the carriage doesn't move and nothing happens. So if I can get it to be too sensitive and at least see something work, I would be seeing some progress.

                  I am trying this right now.... I am just changing these settings live during a print a small amount at a time to see if it does anything. So far it runs the rehome.g file when I update the M915.
                  M915 X Y S-10 F0 H200 R3

                  But 10 minutes ago, I have this.
                  M915 X Y S-10 F0 H100 R3

                  Appears minimum speed the Duet is showing is 25mms, but going up to 100mms during this print.

                  Is there any other config I can show you that would help troubleshoot this?
                  M92 X160 Y160 Z800 E834.377
                  M566 X500 Y500 Z2 E1000
                  M201 X1000 Y1000 Z250 E2400
                  M203 X9000 Y9000 Z800 E800
                  M906 X1000 Y1000 Z1600 E1000 I30

                  M574 X1 Y1 S3

                  Fun, that 3 letter word with "u" in the middle.

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • BlueDustundefined
                    BlueDust @dc42
                    last edited by BlueDust

                    @dc42
                    I also wanted to add that when I hold the belts, they do not skip. The motors themselves are skipping/shaking.

                    Also to compare it... This is my rehome file. Same any my homeall minus the Z axis, and it works.

                    M913 Y60 X60             		; reduce motor current to 60% to prevent belts slipping
                    
                    M915 X Y S3 R0 F0 H400			; X sensitivity to 5, do nothing when stall, unfiltered
                    
                    G91                     ; relative positioning
                    G1 Z5 F6000 S2          ; lift Z relative to current position
                    
                    G1 H1 Y-305 F5000       ; home Y axis
                    G1 H1 X-305 F5000	; home X axis
                    
                    G1 X20 Y20 F6000  
                    
                    G1 H1 Y-305 F5000       ; home Y axis
                    G1 H1 X-305 F5000	; home X axis
                    
                    G1 X1 Y1 F6000          ; go back a few mm
                    G92 X0 Y0
                    
                    G90
                    M913 Y100 X100      	; motor currents back to normal
                    

                    Fun, that 3 letter word with "u" in the middle.

                    1 Reply Last reply Reply Quote 0
                    • BlueDustundefined
                      BlueDust
                      last edited by BlueDust

                      I feel like there is something I am missing to actually enable the feature during a print.
                      This doesn't do anything.

                      M915 X Y S-64 F0 H0 R3

                      Do I have to put the M915 in the config.g file, or can I run a script to enable it like I do with all of the homing config files? I ask because I am just sending the M915 command to the printer while testing this out. It is not in the config.g file. I feel like if it is in there, it will be overridden after I home the printer and become irrelevant. SO if I am just implementing this command in the wrong place, that is why it is not working.

                      Fun, that 3 letter word with "u" in the middle.

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        I'm guess H0 isinvalid and it's using the default instead. Try H50? Possibly the same with F0? I don't have the wiki open on my phone ATM.

                        I don't think there is anything wrong with sending it whenever you want. Nothing really needs to be in config.g.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        BlueDustundefined 1 Reply Last reply Reply Quote 0
                        • BlueDustundefined
                          BlueDust @Phaedrux
                          last edited by

                          @Phaedrux
                          I am just more confused now...
                          I have tried H50 already. I just went to the extreme with 0. I already use F0 for sensorless homing. It should just make it more sensitive at sharp movements and F1 should be used during normal printing.
                          I am just trying to get it to work during a print and just trip once so I have some proof this feature works. It currently doesn't make any sense to me why it works for homing and I can't get it to work during a print. I must have some other setting enabled/disabled that is affecting it.

                          Fun, that 3 letter word with "u" in the middle.

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            Is this on I duet wifi? Or maestro?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            BlueDustundefined 1 Reply Last reply Reply Quote 0
                            • BlueDustundefined
                              BlueDust @Phaedrux
                              last edited by

                              @Phaedrux

                              Duet2 Ethernet

                              Fun, that 3 letter word with "u" in the middle.

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                12v or 24v?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                BlueDustundefined 1 Reply Last reply Reply Quote 0
                                • BlueDustundefined
                                  BlueDust @Phaedrux
                                  last edited by

                                  @Phaedrux
                                  24v

                                  Fun, that 3 letter word with "u" in the middle.

                                  1 Reply Last reply Reply Quote 0
                                  • BlueDustundefined
                                    BlueDust
                                    last edited by

                                    I don't know if this is actually relevant, but I also read that this Stall Guard may need some fine tuning pointing to this formula sheet.
                                    I filled it out best to my understanding, but do not know how to use it.

                                    a2c76831-9e37-4081-8920-7d255b8d89f0-image.png

                                    Fun, that 3 letter word with "u" in the middle.

                                    1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by

                                      Do you have a link to that sheet?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      BlueDustundefined 1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        Have you tried getting it to detect a stall on a pure diagonal move to isolate just a single motor?

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        BlueDustundefined 1 Reply Last reply Reply Quote 0
                                        • BlueDustundefined
                                          BlueDust @Phaedrux
                                          last edited by

                                          @Phaedrux
                                          There is a link on the Sensorless homing wiki page that takes you to another page to talk about motors. This site has a link to download the calculation sheet I shared the screen shot of.

                                          https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors

                                          Fun, that 3 letter word with "u" in the middle.

                                          1 Reply Last reply Reply Quote 1
                                          • BlueDustundefined
                                            BlueDust @Phaedrux
                                            last edited by

                                            @Phaedrux
                                            I just printed a large print with long movements and held the belts still.

                                            I can try printing a large calibration cube and see what happens.
                                            Thanks.

                                            Fun, that 3 letter word with "u" in the middle.

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