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

    [Guide] How To Select Extruder Microstep Setting

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    20
    4.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.
    • wilrikerundefined
      wilriker
      last edited by

      Update for microstep-calculator

      I just added another column to the result table (to the left of max retraction speed) that will give you the shortest possible print move with the selected settings where number of microsteps for the extrusion is exactly 1.

      Manuel
      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
      with probably always latest firmware/DWC (incl. betas or self-compiled)
      My Tool Collection

      1 Reply Last reply Reply Quote 0
      • wilrikerundefined
        wilriker
        last edited by

        @deckingman Since thinking about this stuff and implementing the calculator I already switched my extruder from 16x w/I to native 256x microstepping. I never before had stallGuard log any stalls (although it was configured to do so for a long time). Today I had my first print with the new setting and my GCode console was plastered with stall warnings, so definitely it reduces torque - though it does not really have to mean that there were actual stalls it might just be that the sensitivity setting is to sensitive now. I will have to examine the print for quality later.

        Anyway your theory on this definitely has some reality. 👍

        Manuel
        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
        with probably always latest firmware/DWC (incl. betas or self-compiled)
        My Tool Collection

        1 Reply Last reply Reply Quote 0
        • wilrikerundefined
          wilriker
          last edited by wilriker

          Ok, my first print with 256x microstepping has massive under-extrusion. This means stall warnings were actual stalls and not just the setting being too sensitive.

          According to the calculator for my extruder the shortest print move would be slightly over 0.3mm (X-Y distance). According to the result of my analysis tool as listed above there are about 35% of moves in my GCODE files that are shorter, yet I never suffered from under-extrusion this much.

          I know think that RRF combines several G1 commands into one continuous print move.
          So, I wonder now if I should port this functionality to my tool because currently it does not represent actual print moves by the printer but only what the slicer did. Or should I abandon my analyzer tool altogether?

          Any thoughts, anyone?

          Manuel
          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
          with probably always latest firmware/DWC (incl. betas or self-compiled)
          My Tool Collection

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

            I'm curious what current you're running your extruder motor at. 85% of rated?

            Wouldn't combining the G1 moves lead to longer extrusion and less missed steps anyway? Or am I missing what that really means?

            Perhaps 128 is the better way to go as DC42 has suggested elsewhere.

            Z-Bot CoreXY Build | Thingiverse Profile

            wilrikerundefined 1 Reply Last reply Reply Quote 0
            • wilrikerundefined
              wilriker @Phaedrux
              last edited by wilriker

              @phaedrux Actually I run then at 77.7% of rated current, i.e. 700mA of 900mA. Since the Duet will only use increments of full 100mA anyway, I won't get any closer.

              I will retry the same print with 128x and probably also with 16x+I.

              Also I still use my ungeared MK8 extruder with only about 97 steps/mm which might also be another factor here.

              EDIT: regarding the combining of commands: yes, this leads to longer extruder moves with less skipped steps and makes it possible to reach higher speeds as you do not have to accel/decel all the time. But this also means that GCODE in the file can contain arbitrary short moves that in reality will be merged into other moves. So my tool does only show what goes into RRF but not how the motors will actually be commanded.

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              deckingmanundefined dragonnundefined 2 Replies Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @wilriker
                last edited by

                @wilriker said in [Guide] How To Select Extruder Microstep Setting:

                Ok, my first print with 256x microstepping has massive under-extrusion. This means stall warnings were actual stalls and not just the setting being too sensitive.

                According to the calculator for my extruder the shortest print move would be slightly over 0.3mm (X-Y distance). According to the result of my analysis tool as listed above there are about 35% of moves in my GCODE files that are shorter, yet I never suffered from under-extrusion this much.

                I know that RRF combines several G1 commands into one continues print move.
                So, I wonder now if I should port this functionality to my tool because currently it does not represent actual print moves by the printer but only what the slicer did. Or should I abandon my analyzer tool altogether?

                Any thoughts, anyone?

                Are sure about the firmware combining G1 commands into one continuous move? That seems highly unlikely to me.

                I'm not seeing any stall warnings but maybe I'm not looking in the right place. Where are you getting them from and are they during print moves or the more rapid retract moves?

                Anyway, that aside, try 128 x instead of 256 x.

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                wilrikerundefined 1 Reply Last reply Reply Quote 0
                • wilrikerundefined
                  wilriker @deckingman
                  last edited by

                  @deckingman I am not a 100% certain about this TBH. Maybe that's the point where @dc42 could step in. 😉

                  To get stall warnings you have to enable them in the first place with M915 P3 S1 R1 where the R1 is the part that enables the logging. Then they will just be send to GCODE console as well as pop-up messages in DWC.

                  Manuel
                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                  My Tool Collection

                  1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @wilriker
                    last edited by

                    @wilriker said in [Guide] How To Select Extruder Microstep Setting:

                    Also I still use my ungeared MK8 extruder with only about 97 steps/mm which might also be another factor here.
                    ................

                    Yes, that'll definitely screw things up. Geared extruders such as E3D Titans or Bondtech BMGs typically have around 400 steps per mm. So the best thing you could do would be to ditch that ungeared one. You'll need less micro-stepping and you'll also have 3 to 4 times more torque available because of the gearing.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                    • wilrikerundefined
                      wilriker @deckingman
                      last edited by

                      @deckingman There is actually a Titan laying on my desk already for a while. I just did not find the time yet to install it (and after some issues with failed "upgrades" to my Y axis a for me unusual never-change-a-running-system attitude had formed - need to get rid of this again 😂 ).

                      Manuel
                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                      My Tool Collection

                      1 Reply Last reply Reply Quote 0
                      • dragonnundefined
                        dragonn @wilriker
                        last edited by dragonn

                        @wilriker said in [Guide] How To Select Extruder Microstep Setting:

                        @phaedrux Actually I run then at 77.7% of rated current, i.e. 700mA of 900mA. Since the Duet will only use increments of full 100mA anyway, I won't get any closer.

                        If you cool you motor you can even get over-current, my motors are rated at 1.7A and they are running at 1.9A, but ever single have 40mm fan behind it. Nothing will happen if you motor runs at 88% if it doesn't get to hot (60-70C is still ok for a Nema17 motor).

                        deckingmanundefined wilrikerundefined 2 Replies Last reply Reply Quote 0
                        • deckingmanundefined
                          deckingman @dragonn
                          last edited by

                          @dragonn said in [Guide] How To Select Extruder Microstep Setting:

                          If you cool you motor you can even get over-current, my motors are rated at 1.7A and they are running at 1.9A, but ever single have 40mm fan behind it................

                          ...........and if the cooling fan fails................?

                          Ian
                          https://somei3deas.wordpress.com/
                          https://www.youtube.com/@deckingman

                          dragonnundefined 1 Reply Last reply Reply Quote 0
                          • dragonnundefined
                            dragonn @deckingman
                            last edited by

                            @deckingman well then probably my motor will demagnetize :D, I have a plan replace then with 2.5A motors. I am not saying this is a good idea :P, just wonted to point out that running motor 3% over recommend 85% is really nothing bad.

                            deckingmanundefined 1 Reply Last reply Reply Quote 0
                            • deckingmanundefined
                              deckingman @dragonn
                              last edited by

                              @dragonn said in [Guide] How To Select Extruder Microstep Setting:

                              @deckingman ............... just wonted to point out that running motor 3% over recommend 85% is really nothing bad.

                              Possibly not, but you are running 1.7A rated motors at 1.9 amp which is nearly 12% over their maximum, rather than 15% under . So that's about 27% higher than the Duet recommendation. Personally I wouldn't consider that to be safe for so many reasons but hey - it's your printer and your house.

                              Ian
                              https://somei3deas.wordpress.com/
                              https://www.youtube.com/@deckingman

                              1 Reply Last reply Reply Quote 0
                              • wilrikerundefined
                                wilriker @dragonn
                                last edited by wilriker

                                @dragonn As I usually have no issues with torque on my extruder except for the change to 256x microstepping I don't think I need to go over its rating - also I already have a replacement with gearing ready to install.

                                Of course I could go to 800mA and even 900mA and it is currently mounted on a metal extruder carriage so no risk that heat would damage anything but the motor itself but again I don't see a need yet.

                                But thanks nevertheless for pointing out that I actually could get closer to 85% by going to 800mA. Never really thought about that. 😂

                                Manuel
                                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                with probably always latest firmware/DWC (incl. betas or self-compiled)
                                My Tool Collection

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