Duet 3 mini 5+ sensorless homing will not work
-
and you are missing the tool configuration in your config
-
@Veti I have no clue how to configure tools. Also why is it not configured in the online configurator?
-
@Alucardi see https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing#Section_Background_on_stall_detection
Additionally, the TMC2209 stepper driver used in Duet 3 Mini 5+ (and Duet 3 Tool board TOOL1LC once stallGuard is implemented in firmware), features stallGuard 4. This is optimised for operation with stealthChop, while its predecessor stallGuard 2 (TMC5160 and TMC2260) works with spreadCycle. You will need to adjust the speed at which stealthChop changes over to spreadCycle. This is set by M569 V parameter. The default is 2000.
Try M569 ... V100
Ian
-
@Alucardi said in Duet 3 mini can't configure sensorless homing + missing extruder:
@Veti I have no clue how to configure tools. Also why is it not configured in the online configurator?
i just tested it in the configurator and it creates the tool section correctly
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0Cyou might have clicked on remove tool in the tool section
-
@droftarts i have that in my config.
-
no you have small v and 2000. 2000 basically disables stealthchop
-
@Veti did you even look in the homeX? if you did you will see i have 100.
-
only on one axis.
you have a corexy where 2 motors are involved -
@Veti changedf still no dice. After i run the homex macro it for some reason go to y home. Which it should not do acording to homex.
-
Why is is so dam hard? It took me 2 minutes to set this crap up ion a duet wifi. Here is a video and a new homeall file. Why does it do like it does? It even goes the wrong way on Y axis. Something is wrong cause it wont matter if is et motor current % to 1 or 100. makes no difference.
-
@droftarts does not tell me a dam thing sadly. I am soon to give up on this board and throw in my duet 2 card in it again. I bought 2 cards and will just sell this and use the other with endstops in my voron.
-
Sensorless homing is literally just listening to the driver for a backEMF spike caused when the motor is unable to move anymore. The key to sensorless homing is finding the lowest motor current that still provides reliable movement, and using a speed fast enough to generate a strong backEMF spike. It's also compounded in a corexy belt arrangement by the belt stretch, so try and choose your location to stall the print head such that the belt length back to the motor is as direct as possible.
In your homex you have only dropped the current to 90% and you're only dropping the X motor. In a corexy both motors are involved in movement, so drop both.
M913 X90 ; drop motor current to 90%
First step will be to find how long you can drop the motor current and still have the axis move. That could be 30 or 40%
G1 H2 Z5 F1200 ; lift Z G1 H1 X-255 F2500 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F1200 ; go back a few mm G1 H1 X-10 F2500 ; move slowly to X axis endstop once more (second pass) G1 X10 F1200 ; go back a few mm G1 H2 Z-5 F1200 ; lower Z M400 ; wait for current moves to finish
Next, since you're using a hard stall as the endstop, you don't need to back off slowly and approach again for more accuracy. That's only relevant for endstop switches. I would increase the homing speed on the first move and that's it. Remove the other moves entirely.
-
@Phaedrux read the updated homeall instead. I tried 1% and it still moves. It will not accept M913. Also have a look at the video.
-
So you're saying you have sent the commands M913 X1 Y1 and are still able to move the motors by jogging?
-
@Phaedrux I have tried mah between 400-1400. I used to run at 900mah on my old duet card. I tried M915 s-64 to 64 no difference. M569 V1 and numbers in-between to 2000 no difference. Always behaves like in the video i posted. If i force stop it with my hand it wont detect anything either.
So il take back my old card and throw this in a box or sell it cause i spent over 8hours on it today and gotten no where..here is the cleaned up homeall homeall (1).g
-
@Alucardi said in Duet 3 mini can't configure sensorless homing + missing extruder:
So il take back my old card and throw this in a box or sell it cause i spent over 8hours on it today and gotten no where..
Alright. Take a banana break and when you want to take another crack at it come on back.
-
@Phaedrux if yo have anything to help please tell me. I Dont know what to do. Issue is that it does not detect the stall it just sits there.
-
Well let's start with finding the motor current limits.
Here's how I do it.
Set M906 to the rated max of the motor. In my case M906 X2000 Y2000.
Then I use M913 to reduce it to whatever I need it to be for regular usage. 85% for printing, 50% for homing. 20% for idle, etc. That way I know that the M913 percentage is the percentage of the motor max current.Do all of this with no M915 active.
So start with 85% current and jog the print head around. Reduce it to 70% and jog around, 60% and jog around, 50, 40, 30, 20, 10, 5. At some point in there your motors won't move. When you find that point increase the M913 by 1% until it moves again reliably.
Now that you've found the lowest current needed to have the motors move you can use that amount for sensorless homing and the motors should stall quite easily when blocked.
Once you have that the rest should get easier.
https://forum.duet3d.com/topic/20622/duet-3-mini-5-sensorless-homing-configuration/3?_=1610961629552
This thread has some valuable and specific information on sensorless homing with the mini5+. It's worth reading.
-
@Phaedrux I have read that thread a million times and still don't understand. I found out that 303 mah works. But still no dice. Sensitivity is -64 which is as sensitive as it goes and will NOT work, i tried 3.3 which i had before but wont work. It detects a stop after a while i think but it is not working as it should, i get error But the then i get error "G28
Error: Insufficient axes homed for bed probing
Error: G0/G1: insufficient axes homed"
So either i have a broken card, a card that will not work with my steppers even though a duet wifi did or i am missing something else. Just to prove it il add a video.
video -
Of the million times did you catch this post?
You need to run the stealthChop tuning procedure first. You can do this is the homing files.This is what I suggest:
Execute a tiny move (1 or 2 microsteps) away from the homing direction.
Pause for 100ms using G4.
Execute a small move away from the homing direction, e.g. 10mm.
Execute the homing move.
Don't forget to reduce current for the homing move (M913).