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

    Mesh probe movement optimization

    Scheduled Pinned Locked Moved
    Firmware wishlist
    5
    17
    875
    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.
    • DanS79undefined
      DanS79 @Phaedrux
      last edited by

      @Phaedrux said in Mesh probe movement optimization:

      @DanS79 well dive speed is a bit tricky because you're then affecting accuracy. Reducing dive height to the minimum and only probing at a density that actually matters would help more. The BLtouch is pretty sensitive to dive speed. Other probe types may be less. Even so, the faster you go, the harder it is to be accurate.

      I've done several rounds of benchmark and found i could go as high as 300 without losing accuracy. Though at that speed it's frightening to watch. Dive height is about as low as i can go without risking the probe not deploying in time.

      Something like Klipper touch mode would be a nice feature to add that would speed up probing regardless of how many points are being probed.

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

        @DanS79 said in Mesh probe movement optimization:

        Something like Klipper touch mode would be a nice feature to add that would speed up probing regardless of how many points are being probed.

        There actually was a post a while ago about getting that touch mode setup.

        https://forum.duet3d.com/topic/14544/guide-to-marlin-s-fast-bltouch-probing-feature-on-duet?_=1615322157391

        Z-Bot CoreXY Build | Thingiverse Profile

        DanS79undefined 1 Reply Last reply Reply Quote 0
        • DanS79undefined
          DanS79 @Phaedrux
          last edited by

          @Phaedrux said in Mesh probe movement optimization:

          @DanS79 said in Mesh probe movement optimization:

          Something like Klipper touch mode would be a nice feature to add that would speed up probing regardless of how many points are being probed.

          There actually was a post a while ago about getting that touch mode setup.

          https://forum.duet3d.com/topic/14544/guide-to-marlin-s-fast-bltouch-probing-feature-on-duet?_=1615322157391

          I'm aware of that thread. However @dc42's post made it sound like it wasn't advisable.

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

            @DanS79 said in Mesh probe movement optimization:

            made it sound like it wasn't advisable.

            For context, this is what he said:

            Two words of caution:

            RRF used to keep the BLTouch deployed throughout probing sequences. Unfortunately that doesn't always work. The reason is that when the probe triggers, it retracts the pin automatically. If it is then commanded to deploy again (by using probe type P5 instead of P9), then if the print head hasn't risen enough (or the bed dropped far enough) so that the pin touches the bed and triggers again, the BLTouch enters the error state. That's why we introduced probe type 9, which keeps the pin retracted until ready to probe the next point.

            You should not call deployprobe.g or reractprobe.g using M98. Use M401 and M402 instead, so that RRF can track the deployment state.

            For the first point, you would need to ensure a minimum dive height to allow the pin to actually drop completely.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @DanS79 said in Mesh probe movement optimization:

              It would be really nice if something could be done to speed up probing.

              for example,

              If I generate this mesh

              M557 X10:290 Y45:290 P21:21
              

              with these settings

              M201 X4500 Y4500 Z250 E1500                           ; Accelerations (mm/s^2)
              M203 X24000 Y24000 Z1500 E3600                        ; Maximum speeds (mm/min)
              M566 X1500 Y1500 Z120 E1500                           ; Maximum jerk speeds mm/minute
              M558 P9 X0 Y0 Z1 H2.5 F180 T12000 A5 S0.02
              

              It will take 16 minutes and 38 seconds to complete.

              A substantial portion of that time is waiting on the Z moves. Upping the M558 Feed Rate above what it already is, doesn't accomplish much as it's already well into the realm of diminishing returns.

              @DanS79, I think the real reason for Z probing being so slow for you is that your probing speed of 180mm/min is so low. Does it need to be that low? Have you calculated the contributions to the probing time of the probing movement, the Z raise movement, and the XY movement?

              Another option I can see is to first raise the probe by e.g. 0.5mm, then do the XYZ move to be above the next point.

              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

              DanS79undefined 1 Reply Last reply Reply Quote 0
              • DanS79undefined
                DanS79 @dc42
                last edited by

                @dc42 said in Mesh probe movement optimization:

                @DanS79, I think the real reason for Z probing being so slow for you is that your probing speed of 180mm/min is so low. Does it need to be that low? Have you calculated the contributions to the probing time of the probing movement, the Z raise movement, and the XY movement?

                This is the default railcore config, and it would take roughly an hour and 40 minutes to finish generating the mesh for the M557 i posted above.

                M558 P9 X0 Y0 Z1 H5 F50 T6000 A5 S0.02  
                

                I didn't run every possible permutation, but I decreased the drop height and increased the travel speed between points and the probing speed till I started to see a degradation in repeatability. 180 seemed to be a good compromise between speed and me worrying about crashing the machine.

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

                  180mm/min is about the limit for the BLtouch. It's pretty sensitive to speed.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  DanS79undefined 2 Replies Last reply Reply Quote 0
                  • DanS79undefined
                    DanS79 @Phaedrux
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • DanS79undefined
                      DanS79 @Phaedrux
                      last edited by

                      @Phaedrux said in Mesh probe movement optimization:

                      180mm/min is about the limit for the BLtouch. It's pretty sensitive to speed.

                      I was able to get up to 300, but above ~220-240 repeatability started to suffer. If memory serves above 270 I had to start increasing the drop height or I'd get

                      Error: Z probe already triggered at start of probing move 
                      

                      errors.

                      Stonebakerundefined 1 Reply Last reply Reply Quote 0
                      • DanS79undefined
                        DanS79
                        last edited by DanS79

                        For reference here's Marlin's equivalent to Klipper's touch mode.

                        https://www.youtube.com/watch?v=95N2E6JVW2s

                        I've not looked into it, but i know one member of the RailCore Community has, and he felt to properly/safely handle touch mode, error/alarm handling as it relates to probing would need to be reworked.

                        1 Reply Last reply Reply Quote 0
                        • Stonebakerundefined
                          Stonebaker @DanS79
                          last edited by

                          @DanS79

                          ; deployprobe.g
                          ; called to deploy a physical Z probe

                          M280 P0 S10
                          G4 P200

                          wait for it to be deployed
                          as Z Endswitch i use 2000 on mesh 1000

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