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

    Duet 3 mini 5+ wifi sensorless homing - Help

    Scheduled Pinned Locked Moved
    General Discussion
    6
    45
    1.7k
    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.
    • Karimundefined
      Karim @Karim
      last edited by

      @Karim Hey guys does belt tension have anything to do with sensorless homing.

      moth4017undefined 1 Reply Last reply Reply Quote 0
      • moth4017undefined
        moth4017 @Karim
        last edited by

        @Karim I've not found that belt tension makes much difference

        <

        Karimundefined 1 Reply Last reply Reply Quote 0
        • Karimundefined
          Karim @moth4017
          last edited by Karim

          @moth4017 ok,
          I am having Y stall sometime when homing.

          M915 X S0 R0 F0 H200		    ; Sensitivity 0 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
          M915 Y S2 R0 F0 H200		    ; Sensitivity -5 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
          

          So I find changing the S value in Y makes it move. is that the right way of fixing it.

          M915 X S0 R0 F0 H200		    ; Sensitivity 0 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
          M915 Y S2 R9 F0 H200		    ; Sensitivity 9 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
          
          moth4017undefined dc42undefined 2 Replies Last reply Reply Quote 0
          • moth4017undefined
            moth4017 @Karim
            last edited by

            @Karim

            its kind of a balancing act between the motor current , speed and s value ,

            it took me quite a while to get them reliable , for some reason i found the tmc2209 and more difficult than others to get reliable

            <

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

              @Karim if it tends to stall at the start of the homing move then you probably need to reduce the acceleration of that axis when homing. Recent versions of RRF support command M201.1 for this purpose.

              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

              blt3dpundefined 1 Reply Last reply Reply Quote 0
              • blt3dpundefined
                blt3dp @dc42
                last edited by

                @Karim Just following up on if you got it to work, I've got to do the same thing for my v0.1, I'm upgrading to the v0.2 as well.

                My 3D Printing YouTube Channel
                Better Living Through 3D Printing

                Follow me on Instagram and Twitter
                Instagram
                Twitter

                Karimundefined 1 Reply Last reply Reply Quote 0
                • Karimundefined
                  Karim @blt3dp
                  last edited by Karim

                  @blt3dp I am still testing, it still random stall when homing.

                  Karimundefined 1 Reply Last reply Reply Quote 0
                  • Karimundefined
                    Karim @Karim
                    last edited by

                    Ok Guys so My XY homes ok, but I have this problem every time the printer first power up and I try to home all Axis, X axis would not move, but I can home X along and it work ok. After I have a successful Home all the problem goes away till power off and on printer the it starts again.

                    ; homeall.g
                    ;  called to home all axes
                     
                    
                    M98 P"/sys/homez.g"        
                    M98 P"/sys/homex.g"  		
                    M98 P"/sys/homey.g"  		
                     
                    G1 F9000 X60 Y60 Z60
                    
                    moth4017undefined 1 Reply Last reply Reply Quote 0
                    • moth4017undefined
                      moth4017 @Karim
                      last edited by

                      @Karim hi i had this issue too so i just increased the current a little on the axis that stalled

                      <

                      Karimundefined 1 Reply Last reply Reply Quote 0
                      • Karimundefined
                        Karim @moth4017
                        last edited by Karim

                        @moth4017 ok i will try that, right now I have .63amps on both X and Y . I think the max current for the LDO (LDO-35STH52-1504 AH/VRN) stepper is 1.5amps.

                        moth4017undefined 1 Reply Last reply Reply Quote 0
                        • moth4017undefined
                          moth4017 @Karim
                          last edited by

                          @Karim you only need a few ma like 50mA more

                          <

                          Karimundefined 1 Reply Last reply Reply Quote 0
                          • Karimundefined
                            Karim @moth4017
                            last edited by Karim

                            @moth4017 Ok increasing current to 1amp does nothing. It’s just the first power up and home all stalls on X axis, it looks like the printer needs to warm the electronics. But once you get a successful home all everything seems to work, oh and something the z axis would stall on homing sometimes and that have a limit swith.

                            moth4017undefined dc42undefined 2 Replies Last reply Reply Quote 0
                            • moth4017undefined
                              moth4017 @Karim
                              last edited by moth4017

                              @Karim

                              what are the setting you have for the sensor less homing?
                              did you also use M201.1 as dc42 suggested?

                              i did some checks on mine tonight , i still get a non home event on the first time, so im doing a double home on x and Y , as you say after the first time it seems to be ok .

                              im about to swap my control board so i can try different drivers , im suspecting the tcm2209 and stall guard 4 , my next drivers will be stall guard 2 ,

                              <

                              Karimundefined 1 Reply Last reply Reply Quote 0
                              • Karimundefined
                                Karim @moth4017
                                last edited by Karim

                                @moth4017 Hey no I did try M201.1, I been working on this printer for two weeks now trying to get sensor-less homing to work properly . I have two duet 2 wifi with duex5 and they working flawlessly. I know what you are saying about homing, I have to home x and y separately then home all works it’s a hit or miss.

                                moth4017undefined 1 Reply Last reply Reply Quote 0
                                • moth4017undefined
                                  moth4017 @Karim
                                  last edited by moth4017

                                  @Karim hi, testing tonight , if i turn down the acceleration while homing it stall less, M201.1 X800 Y800 remember to put the values back after homing.

                                  i was at , M201.1 X1200 Y1200

                                  <

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

                                    @Karim said in Duet 3 mini 5+ wifi sensorless homing - Help:

                                    It’s just the first power up and home all stalls on X axis

                                    Try using a G1 H2 move to move the motors a few mm away from the endstops at the start of homeall.g or at the start of homex.g and homey.g. That should clear the stall status.

                                    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

                                    moth4017undefined 1 Reply Last reply Reply Quote 0
                                    • moth4017undefined
                                      moth4017 @dc42
                                      last edited by moth4017

                                      @dc42 Hi, i tried doing the small move first this didnt work for me , it stalled the "first moved" but moved on the second time.

                                      ; homex.g
                                      echo "home x stelh chop mode"
                                      M569 P0.0										; Check status in console
                                      M569 P0.1										; Check status in console
                                      G91                                             ; relative positioning
                                      M569 P0.0 S1 D3 V10                             ; set to stealth chop
                                      M569 P0.1 S1 D3 V10								; set to stealth chop
                                      M915 P0.0 S10 F0 R1 H150                   		; Configure Z-Axis Stall Detection 
                                      M915 P0.1 S10 F0 R1 H150						; Configure Z-Axis Stall Detection 
                                      M201.1 X800 Y800 
                                      echo "stall detection setup"
                                      M17 X Y											; Check status in console
                                      G1 P140											;pause to allow the drivers to characterise the motor    
                                      G1 H1 X-0.2 F3000								; move a  little  for cal of sensorless homing / not stalled
                                      G1 H1 Y-0.2 F3000    							; move a  little  for cal of sensorless homing / not stalle							
                                      
                                      echo "lower motor current"
                                      M913 X30 Y30									; Lower motor current %
                                      G4 P150											; wait 150ms
                                      M574 X1 Y2 S3									; Configure Z-Axis stall detection homing
                                      M569 P0.0										; Check status in console
                                      M569 P0.1										; Check status in console
                                      		
                                      echo "home x"
                                      G1 H1 X-350 F6000
                                      G1 H2 X10 Y10
                                      G1 H1 X-350 F6000
                                      G1 H2 X10 Y10; Home Z-Axis actuators independently
                                      M569 P0.0										; Check status in console
                                      M569 P0.1										; Check status in console
                                      G90 											; absolute positioning
                                      ;G1 X150 F6000									; move to center of bed
                                      
                                      ;revert back 
                                      echo "after revert back"
                                      M915 P0.0 S128 F0 R1 H550                   		; Configure Z-Axis Stall Detection 
                                      M915 P0.1 S128 F0 R1 H550						; Configure Z-Axis Stall Detection 
                                      M913 X100  Y100									; Reset motor current %
                                      M569 P0.0 S1 D2									; reset motors back to spread cycle,
                                      M569 P0.1 S1 D2									; reset motors back to spread cycle,
                                      M569 P0.0										; Check status in console
                                      M569 P0.1										; Check status in console
                                      M201.1 X1200 Y1200 
                                      

                                      <

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

                                        @moth4017 try a longer move such as 1mm and use H2 not H1 in those moves. It needs to be more than 1 full step, or more than 4 full steps if you are using the filtering option in M915.

                                        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

                                        moth4017undefined 1 Reply Last reply Reply Quote 0
                                        • moth4017undefined
                                          moth4017 @dc42
                                          last edited by moth4017

                                          @dc42 Hi tried the H2 and changing distance moved , 1mm = 10 full steps on my printer , but still have random stalls on the Y axis so far .

                                          <

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

                                            @moth4017 said in Duet 3 mini 5+ wifi sensorless homing - Help:

                                            but still have random stalls on the Y axis so far

                                            Are they stalls right at the start of the homing move (i.e. immediately after your 1mm G1 H2 move), or stalls part way through the homing move? If they are right at the start then try lower M201.1 values e.g. X300 Y300.

                                            Which firmware version are you using?

                                            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

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