Duet 3 mini 5+ wifi sensorless homing - Help
-
@Karim do you have sensorless homing working on x and y yet?
-
this is what i have on my duet3 mini5, your need to reconfigure the steppers and current and travel speed for the voron
; 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 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 stall 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
-
@moth4017 yes I have X & Y it working. But it still need tuning.
-
@Karim Hey guys does belt tension have anything to do with sensorless homing.
-
@Karim I've not found that belt tension makes much difference
-
@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
-
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
-
@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.
-
@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.
-
@blt3dp I am still testing, it still random stall when homing.
-
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
-
@Karim hi i had this issue too so i just increased the current a little on the axis that stalled
-
@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.
-
@Karim you only need a few ma like 50mA more
-
@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.
-
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 ,
-
@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.
-
@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
-
@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.
-
@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