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

    Max speed with core xy?

    Scheduled Pinned Locked Moved
    General Discussion
    6
    12
    4.1k
    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.
    • rs4raceundefined
      rs4race
      last edited by

      I have a new gantry for my printer. Trying to find the max speed possible. I've gotten stuck at 54,000mm/min for x and y speeds, anything above that it stalls. Is this possibly hardware limit of the duet? Step rate, clock speed etc?

      I'm using 16t gt2 pulleys, 300mm x 275mm travel in x and y. 1/64 microstepping, 400 step/mm, 1800mA current, 27000 mm/s^s acceleration, 60000mm/s max speeds.

      I guess it works out to 360khz? or maybe 720khz since both motors are moving?

      Just curious if its the limit of the duet or the steppers.

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

        There are two limits:

        1. Step pulse rate limit. 54000mm/min is 900mm/sec which at 400 steps/mm is 360000 steps/sec, at the limit of wat the Duet can manage. So you need to reduce microstepping to get higher speed.

        2. Motor drive voltage limit. See https://duet3d.com/wiki/Choosing_stepper_motors#How_to_work_out_the_power_supply_voltage_you_need (there is a link to a spreadsheet at the end).

        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
        • rs4raceundefined
          rs4race
          last edited by

          Thanks after reducing to 32x I was able to hit 1000mm/s. Someone suggested using the 16x with interpolation. With this setting I have reached the maximum speeds for the travel and accelerations 2800mm/s for X and 2700mm/s for Y.

          If I'm understanding it correctly when set to 16x it will use 256 and scale back as needed to keep step time above a certain value?

          1 Reply Last reply Reply Quote 0
          • BDubsundefined
            BDubs
            last edited by

            Now see how fast you go with 2 axes at the same time (XY); then 3 axes (XYZ) simultaneously. THAT is your max speed in the real world. If you rely on single axis speed and do a 2 axis move, it will choke. All controllers will do this if they reach their limit.

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

              @rs4race:

              Thanks after reducing to 32x I was able to hit 1000mm/s. Someone suggested using the 16x with interpolation. With this setting I have reached the maximum speeds for the travel and accelerations 2800mm/s for X and 2700mm/s for Y.

              If I'm understanding it correctly when set to 16x it will use 256 and scale back as needed to keep step time above a certain value?

              I could be wrong but my understanding is that the interpolation is done by the driver chip, so takes the load off the processor. So the duet sends 16x micro stepping but then the driver chip further divides these micro steps into smaller steps. David will do doubt correct me if this is wrong.

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

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

                @BDubs:

                Now see how fast you go with 2 axes at the same time (XY); then 3 axes (XYZ) simultaneously. THAT is your max speed in the real world. If you rely on single axis speed and do a 2 axis move, it will choke. All controllers will do this if they reach their limit.

                On a CoreXY both motors contribute to movement for X and Y moves, except those that are at 45 degrees in which case one motor would be at a standstill. So pure X or pure Y on a CoreXY are the worst case. Z will never move as fast as X and Y so an XYZ move will always be limited by the Z speed (but it would only last as long as a layer change distance).

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

                1 Reply Last reply Reply Quote 0
                • rs4raceundefined
                  rs4race
                  last edited by

                  Quick update.

                  It seems that diagonal moves will be the most limited as they only use one motor. This is probably a torque limited speed rather than a processor speed limit.

                  After much testing and dropping my stepper currents to the rated 1500mA, I have reached a 1300mm/s max speed for diagonal moves. Interestingly enough it doesnt seem to care how high I set the acceleration. I've tested pure x moves, pure y moves and both diagonals at 1300mm/s with accelerations set up to 72000mm/s^2. I imagine compliance in the belts help out with this a bit.

                  This has been an interesting experiment!

                  1 Reply Last reply Reply Quote 0
                  • cbusilloundefined
                    cbusillo
                    last edited by

                    What happens with an immediate move in the reverse direction? At 1000mm/s my printer would do a single move perfect. Back to back moves would cause it to skip steps.

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

                      @cbusillo:

                      What happens with an immediate move in the reverse direction? At 1000mm/s my printer would do a single move perfect. Back to back moves would cause it to skip steps.

                      That may mean that your XY jerk settings are too high.

                      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
                      • cbusilloundefined
                        cbusillo
                        last edited by

                        Thanks David! I’ll try that when I get everything together.

                        1 Reply Last reply Reply Quote 0
                        • rs4raceundefined
                          rs4race
                          last edited by

                          @cbusillo:

                          What happens with an immediate move in the reverse direction? At 1000mm/s my printer would do a single move perfect. Back to back moves would cause it to skip steps.

                          hmm I will have to check. Here's a video I made 100 mm/s to 1000 mm/s. Each time around it increases speed 100 mm/s.

                          https://youtu.be/C9LVhPq3OWU

                          1 Reply Last reply Reply Quote 0
                          • parovoZZundefined
                            parovoZZ
                            last edited by

                            Reducing the microstep increases the accuracy.
                            1/8 - exactly
                            1/16 - more accurate
                            1/32 - super accurately
                            etc
                            Increase the accuracy if you turn on the microstep interpolation (I1)?

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