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

    Duet maximum achievable step rates

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    12
    47
    5.9k
    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.
    • JoergS5undefined
      JoergS5 @deckingman
      last edited by JoergS5

      @deckingman thanks for your link, I understand that the main problem is the rounding to/from integer values. I know a similar problem to/from motor positions of the steppers for calculations of rotary actuators. The error can be diminished by finer steps, but the error remains, it's imho a fundamental mathematical problem (loosing information by rounding values / quantization to integer values).

      deckingmanundefined zaptaundefined 2 Replies Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @JoergS5
        last edited by deckingman

        @JoergS5 said in Duet maximum achievable step rates:

        ................. it's imho a fundamental mathematical problem (loosing information by rounding values).

        Yes that pretty much sums it up. It's only problem with mixing hot ends where individual extruders can be required to make single digit percentages of what would otherwise be considered "normal" moves. I guess a similar problem might be encountered if one used a very small diameter nozzle and very low layer heights, but in such a case, I would use a highly geared extruder (say 10:1 or more).

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

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @deckingman
          last edited by A Former User

          @deckingman said in Duet maximum achievable step rates:

          When I get chance, I'll post a link which includes the maths and spread sheets.

          Now that would be 🕶

          Did you ever have a chance (I had none so far, have to save money for it) to try the new(er)/ish Dyze-Design DyzeXtruder Pro (which has those new gear-tooth) with it´s 5.65:1 reduction-ratio (maybe attached to a 0.9° stepper) -> Or long question short: Have you ever made side-by-side comparisons of different reductions of "up to date" extruders?

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @A Former User
            last edited by

            @LB said in Duet maximum achievable step rates:

            @deckingman said in Duet maximum achievable step rates:

            When I get chance, I'll post a link which includes the maths and spread sheets.

            Now that would be 🕶

            Did you ever have a chance (I had none so far, have to save money for it) to try the new(er)/ish Dyze-Design DyzeXtruder Pro (which has those new gear-tooth) with it´s 5.65:1 reduction-ratio -> Or long question short: Have you ever made side-by-side comparisons of different reductions of "up to date" extruders?

            Scroll up 3 posts to the one dated 23rd Feb 🙂

            Ref the extruder - no, TBH, I'm happy enough with 6 BMGs that I already have (and now that I only have my pension - I don't have much cash to splash around).

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

            1 Reply Last reply Reply Quote 0
            • zaptaundefined
              zapta @JoergS5
              last edited by zapta

              @JoergS5 said in Duet maximum achievable step rates:

              I understand that the main problem is the rounding to/from integer values

              The rounding can be done when sending each command (micro step) to the servo but internally the software can have a much finer resolution such that the rounding error does not accumulate.

              Anyway, optimizing/prioritizing the hardware/software design for one niche use case like this proportional color mixing can make it sub optimal for the rest of the users.

              Scoping a product sometimes requires a tough decision making process.

              deckingmanundefined garyd9undefined 2 Replies Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @zapta
                last edited by

                @zapta said in Duet maximum achievable step rates:

                @JoergS5 said in Duet maximum achievable step rates:

                ........................ Anyway, optimizing/prioritizing the hardware/software design for one niche use case like this proportional color mixing can make it sub optimal for the rest of the users. ..................

                Woah, hold on a minute. Are you seriously suggesting that increasing the maximum step pulse frequency is a), only beneficial to users of mixing hot ends, and b) a sub optimal thing to do for all other users?

                Setting aside the other use cases for higher micro-stepping such as users with very small nozzle and/or layers heights or users with 0.9 degree motors or more recently 0.45 degree motors, possibly in conjunction with fine lead screws, how can having a lower maximum step pulse frequency be beneficial (or "more optimal") for other users?

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

                zaptaundefined A Former User? 2 Replies Last reply Reply Quote 0
                • zaptaundefined
                  zapta @deckingman
                  last edited by zapta

                  @deckingman said in Duet maximum achievable step rates:

                  how can having a lower maximum step pulse frequency be beneficial (or "more optimal") for other users?

                  @deckingman, here are two examples

                  1. Freeing significant developer's time/attention to features that benefit most users.

                  2. Reducing the need for more expensive hardware.

                  Nothing is free, including higher pulse rate.

                  It's Duet3d's role to scope their products but we need to understand that every scoping decisions is a compromise.

                  "Perfect is the enemy of good".

                  deckingmanundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @zapta
                    last edited by

                    @zapta said in Duet maximum achievable step rates:

                    @deckingman, here are two examples

                    1. Freeing significant developer's time/attention to features that benefit most users.

                    2. Reducing the need for more expensive hardware.

                    Nothing is free, including higher pulse rate.

                    Actually, there are alternatives to Duet which offer much higher step rates and which are free. I can provide a link but fear that I might fall fowl of forum rules by linking to what might be seen as competitors.

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

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

                      @deckingman said in Duet maximum achievable step rates:

                      I can provide a link but fear that I might fall fowl of forum rules by linking to what might be seen as competitors.

                      🙄

                      I think he means Klipper

                      https://www.klipper3d.org/

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @zapta I would say that we're always trying to maximize the step rate that the hardware is capable of providing.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          @Phaedrux Actually this is more explicit. - https://www.klipper3d.org/Features.html 😉

                          But lets' not go there - theoretical rates are divorced from what happens in the real world. So I can see how pursuing this line of thought will end (or never end).

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

                          1 Reply Last reply Reply Quote 0
                          • zaptaundefined
                            zapta @Phaedrux
                            last edited by

                            @Phaedrux said in Duet maximum achievable step rates:

                            I think he means Klipper

                            Doesn't Klipper require SBC in addition to a hardware controller such as Duet? IIRC @deckingman expressed in the past concerns about non SBC configurations but I may be wrong.

                            Anyway, I leave it to the Duet staff to scope their products and to prioritize their work.

                            Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                            • garyd9undefined
                              garyd9 @zapta
                              last edited by

                              @zapta said in Duet maximum achievable step rates:

                              Anyway, optimizing/prioritizing the hardware/software design for one niche use case like this proportional color mixing can make it sub optimal for the rest of the users.

                              Scoping a product sometimes requires a tough decision making process.

                              RRF used to have an excellent pulse rate, but there were regressions somewhere in RRF2 and RRF3 didn't make it any better. Happily, Duet3D has spent the time to correct the situation. Many would consider it a bug fix, and if my understanding of dc42 is correct, the regressions irritated him on a personal level.

                              While this might not impact you, personally, it can have impacts for different configurations that are far more common than @deckingman's multi-dimensional mixing hot end.

                              "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                              JoergS5undefined 1 Reply Last reply Reply Quote 0
                              • JoergS5undefined
                                JoergS5 @garyd9
                                last edited by JoergS5

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Luke'sLaboratoryundefined
                                  Luke'sLaboratory @zapta
                                  last edited by

                                  @zapta

                                  Yep - requires another computer to do the kinematics and generate the timings, then sends just raw step pulse information for the MCU to execute. Klipper doesn't use segmentation to calculate moves, instead opting for an iterative solver that uses the final position to calculate back how to get there.

                                  I run toolboards (not the 1LC, but inspired by) over CAN with klipper - basically using CAN to tunnel serial signal through - and it works great and stays in sync with the rest of the motion system.

                                  Apparently klipper only peaks at like 6kb/s usage max for data transfer, which is well within non-FD capabilities. Most of the issues are actually from limited adapters available that behave correctly with the current hack of tunneling serial thru CAN.

                                  The one thing that klipper focuses on is keeping mutliple MCU's in sync from a master. I don't know the ins and outs of how that's accomplished, but considering that they do it over serial or the even more hacky serial-by-can implementation, I'd think that there's something to be learned there.

                                  Related to main topic - I am genuinely appreciative of the bugfixes bringing back steprate performance. I'll be putting a small machine through its paces, and hope to run back-to-back prints between klipper and RRF on a d3 mini to help 1) Get an idea if there's really a difference in print performance and 2) help find ways to improve RRF's performance, especially with future input shaping adventures.

                                  Luke
                                  http://lukeslab.online

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

                                    FWIW I've further increased the maximum available step rate post 3.3beta1 on most boards (all except the Maestro, Tool Board and 1XD). I've already put one of the new figures in the step rates spreadsheet. Step rates in 3.3beta1 are already better than in 3.2.2 for the Tool Board and the 1XD. However, some of the increase may be lost when input shaping is fully implemented.

                                    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

                                    JoergS5undefined Luke'sLaboratoryundefined 2 Replies Last reply Reply Quote 1
                                    • JoergS5undefined
                                      JoergS5 @dc42
                                      last edited by

                                      @dc42 for the brave of us (I mean it 🙂 ) , making it configurable through some parameter would be nice. Otherwise many thanks for the continuous improvements.

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

                                        @JoergS5 said in Duet maximum achievable step rates:

                                        @dc42 for the brave of us (I mean it 🙂 ) , making it configurable through some parameter would be nice. Otherwise many thanks for the continuous improvements.

                                        Making what configurable?

                                        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

                                        JoergS5undefined 1 Reply Last reply Reply Quote 0
                                        • JoergS5undefined
                                          JoergS5 @dc42
                                          last edited by

                                          @dc42 I mean the interrupt rate. But don't waste time, I can do it myself by recompiling the firmware. Only if others have the need, it would be interesting.

                                          1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @deckingman
                                            last edited by A Former User

                                            @deckingman said in Duet maximum achievable step rates:

                                            @zapta said in Duet maximum achievable step rates:

                                            @JoergS5 said in Duet maximum achievable step rates:

                                            ........................ Anyway, optimizing/prioritizing the hardware/software design for one niche use case like this proportional color mixing can make it sub optimal for the rest of the users. ..................

                                            Woah, hold on a minute. Are you seriously suggesting that increasing the maximum step pulse frequency is a), only beneficial to users of mixing hot ends, and b) a sub optimal thing to do for all other users?

                                            Setting aside the other use cases for higher micro-stepping such as users with very small nozzle and/or layers heights or users with 0.9 degree motors or more recently 0.45 degree motors, possibly in conjunction with fine lead screws, how can having a lower maximum step pulse frequency be beneficial (or "more optimal") for other users?

                                            All 0.45° motors (nema16-18) I got quotes for are "way north from" ca. 100euros, if they are marked "Don´t use for new design" they are slightly cheaper - maybe a little below 100 (oh and min quantitiy is 5 or even 10...), but maybe that is just me having not found the right place to ask or something like it (I only know of ec-mot... and lin-enginee... (sorry for obfuscating the companynames but I do not want to get banned from the forum) to have those)... So I guess as long as not some company rolls the market new, I personally will stick to quality 0.9°-steppers with higher gearing ratio (currently in my personal calculations cheaper). If anybody does know of a cheaper source for 0,45°-steppers please share!

                                            That said I am also in favour for higher-step-rates
                                            +1
                                            but out of a total diffrent usecase: High-speed-printing (single-extruder-single-colour, e.g. e3d-(super-)volcano or maybe one day the newer slice-engineering-mosquito-magnum(+)) for lots of lots of series production parts...

                                            This post maybe a bit off, but I hope you do not mind - after all it is a public forum... ah and thanks for your hint above in your answer! I think you have a really cool use-case with your printer 😎

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