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

    STALL HELP: Duet 3 Mini 5+ Stall detection impossible.

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    3
    194
    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.
    • rocaranRAIundefined
      rocaranRAI
      last edited by rocaranRAI

      Hi all,

      We're trying to use the stall detection feature of the TMC2209 in the Duet 3 Mini 5+ with a lead screw NEMA 11 motor (https://de.nanotec.com/produkte/2568-lsa281s10-a-ugfc-152), but haven't had any luck so far. From reading through the dozuki and the TMC2209 datasheet, it seems like the expected problem would be to detect false stalls too often, but in our case, we cannot detect any stalling at all.

      I've tried setting M915 with ridiculous values such as:

      M915 X Y S-64 (most sensible threshold) F0 (unfiltered) H1(stall detection considered even at 1 step per second speed) R2

      Driver 0.0: stall threshold -64, steps/sec 1, coolstep 0, action on stall: run macro

      But even with this consideration, stalling is never detected at any speed, and the motor continues to miss steps against a high load.

      Attaching the output of M569 P0:

      Drive 0 runs in reverse, active low enable, timing fast, mode stealthChop, ccr 0x00053, toff 3, tblank 0, tpwmthrs 4 (297.7 mm/sec), pwmScaleSum 15, pwmScaleAuto 0, pwmOfsAuto 125, pwmGradAuto 10, pos 984

      and the output of M906 to show the current configuration of the motor:

      Motor current (mA) - X:1414, Y:1414, Z:1, E, idle factor 30% (I've also tried to run these commands with lower motor current values)

      I've seen that the TMC2209 uses StallGuard4 instead of StallGuard2, which has a different tuning procedure. Is this supported by Duet?

      Any help to put me into the right direction would be highly appreciated.

      Thank you in advance for your time.

      Best,
      Roc

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

        hi have a look at my config and homing files the x and y work fine https://forum.duet3d.com/topic/28831/need-guru-on-duet-3-mini5-using-stall-guard-sensor-less-homing

        <

        1 Reply Last reply Reply Quote 0
        • oliofundefined
          oliof @rocaranRAI
          last edited by

          @rocaranrai TMC2209 stallguard4 is supported, see the docs for how to tune https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_stall_detection

          Please note that not all motors in all configurations can trigger stallguard, and its inherently imprecise (=-2 full steps) so you may want to consider another way to measure whatever it is you want to measure.

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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