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

Help with sensorless in duet 3 mini 5+

Scheduled Pinned Locked Moved Solved
General Discussion
5
16
738
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.
  • undefined
    Phaedrux Moderator
    last edited by 7 Aug 2021, 20:32

    See the tips here: https://forum.duet3d.com/topic/24523/duet-3-mini-5-wifi-sensorless-homing-help

    Z-Bot CoreXY Build | Thingiverse Profile

    undefined 1 Reply Last reply 7 Aug 2021, 21:45 Reply Quote 0
    • undefined
      RodrigoRMaraujo @fcwilt
      last edited by 7 Aug 2021, 21:18

      @fcwilt said in Help with sensorless in duet 3 mini 5+:

      I didn't think it would make a difference and it didn't.
      So why are you using H4 instead of H1?

      I just haven't changed it yet.

      1 Reply Last reply Reply Quote 1
      • undefined
        RodrigoRMaraujo @Phaedrux
        last edited by 7 Aug 2021, 21:45

        @phaedrux
        I had already read and verified everything in this post. I still have the same problem with him. I think he didn't solve it either, because I followed every step exactly. The X and motors continue to force after stopping, as if the stall does not work.
        I corrected the parameters in config.g:
        ; Endtops

        ;Sensorless homing
        M574 X1 S3 sets the X axis to low position, and the S value to multiple motor load detection
        M574 Y1 S3 sets the Y axis to low position, and the S value to multiple motor load detection
        M915 X Y R0 F0 S3 H200 ;main command need for sensorless homing

        The tip of configuring M569 with D3 and V40 only made things worse, the engine became even more aggressive.

        undefined undefined 2 Replies Last reply 8 Aug 2021, 04:02 Reply Quote 0
        • undefined
          Phaedrux Moderator @RodrigoRMaraujo
          last edited by 8 Aug 2021, 04:02

          @rodrigormaraujo said in Help with sensorless in duet 3 mini 5+:

          M915 X Y R0 F0 S3 H200

          H200? Is that really what your H value calculated out to? In your first post it's even H400. Your homing speed would have to be really chooching to get up to 400steps per second.

          What kind of motors are these? Do you have the specs available?

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 8 Aug 2021, 10:52 Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 8 Aug 2021, 07:31

            @rodrigormaraujo said in Help with sensorless in duet 3 mini 5+:

            M915 X Y R0 F0 S3 H200 ;main command need for sensorless homing

            What happens when you try lower values than S3 in that command?

            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

            undefined 1 Reply Last reply 8 Aug 2021, 11:05 Reply Quote 0
            • undefined
              gloomyandy @RodrigoRMaraujo
              last edited by 8 Aug 2021, 07:46

              @rodrigormaraujo If you want sensorless homing to work then you are going to need the V40 (or something like it) on your M569 commands. Without it the driver will switch to spreadcycle at a very low speed and stall detection (on the TMC2209 driver) only works when in stealthchop mode. The D3 is just setting explicitly what I think is already the default for the Mini 5+.

              undefined 1 Reply Last reply 8 Aug 2021, 11:02 Reply Quote 0
              • undefined
                RodrigoRMaraujo @Phaedrux
                last edited by 8 Aug 2021, 10:52

                @phaedrux
                I left the default value in the documentation.

                Hnnn (optional) Minimum motor full steps per second for stall detection to be considered reliable, default 200
                
                1 Reply Last reply Reply Quote 0
                • undefined
                  RodrigoRMaraujo @gloomyandy
                  last edited by 8 Aug 2021, 11:02

                  @gloomyandy said in Help with sensorless in duet 3 mini 5+:

                  If you want sensorless homing to work then you are going to need the V40 (or something like it) on your M569 commands. Without it the driver will switch to spreadcycle at a very low speed and stall detection (on the TMC2209 driver) only works when in stealthchop mode. The D3 is just setting explicitly what I think is already the default for the Mini 5+.

                  I put the V40 back without the D3. The behavior remains the same, except that the noise of the engine trying to force it after having already parked the car on the left becomes even louder.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    RodrigoRMaraujo @dc42
                    last edited by 8 Aug 2021, 11:05

                    @dc42 said in Help with sensorless in duet 3 mini 5+:

                    @rodrigormaraujo said in Help with sensorless in duet 3 mini 5+:

                    M915 X Y R0 F0 S3 H200 ;main command need for sensorless homing

                    What happens when you try lower values than S3 in that command?

                    It doesn't seem to change anything with S-60, S-10, S0, S3...
                    With S-60 only the engine looks weaker, as if it were using less force, but the behavior is the same.
                    I don't know if it helps but I'll post a video of what happens.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      RodrigoRMaraujo
                      last edited by RodrigoRMaraujo 8 Aug 2021, 11:25 8 Aug 2021, 11:24

                      Gentlemen, I come here to thank you!
                      I just removed the H parameter from the M915, add S3 and everything worked beautifully! I also left the V40 in the M569 as my friend warned and I increased the homing speed from F1200 to F4000. It is perfect. Thank you very much to all of you!

                      YouTube
                      Duet 3 mini 5+ sensorless homing

                      undefined 1 Reply Last reply 8 Aug 2021, 13:13 Reply Quote 0
                      • undefined
                        dc42 administrators @RodrigoRMaraujo
                        last edited by 8 Aug 2021, 13:13

                        @rodrigormaraujo thanks for reporting back! I'm glad you got it working.

                        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

                        undefined 1 Reply Last reply 8 Aug 2021, 22:10 Reply Quote 0
                        • undefined
                          RodrigoRMaraujo @dc42
                          last edited by 8 Aug 2021, 22:10

                          @dc42 said in Help with sensorless in duet 3 mini 5+:

                          thanks for reporting back! I'm glad you got it working.

                          It was amazing, thanks again!

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