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

    RRF 3.0 stallguard

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    3
    249
    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.
    • Adryzzundefined
      Adryzz
      last edited by

      Hi, I just updated from 2.0 to 3.0 on a corexy, I used the online configurator, but the stallguard does not work, the cart does not stop, while in 2.0 it worked perfectly.

      In config,g i've put :

      ; Endstops
      M574 X1 S3 ; configure sensorless endstop for low end on X
      M574 Y1 S3 ; configure sensorless endstop for low end on Y
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      and in homex.g (for example) i've put:

      M915 P0:1 S0 R0 F0 H400; both motors because corexy; Sensitivity 10, don't take action, don't filter, 400steps/sec
      G91 ; relative positioning
      G1 H1 X-325 F1800 ; move quickly to X axis endstop and stop there (first pass)
      G1 X5 F6000 ; go back a few mm
      G90 ; absolute positioning

      Someone can help me please ?

      Thanks a lot

      1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators
        last edited by

        @Adryzz H400 on your M915 command sounds high. The 'H' parameter is the Minimum motor full steps per second for stall detection to be considered reliable, and set to 400 full steps per second. You haven't posted your full config.g, but if you're running, say, GT2 belt on 20-tooth pulleys with 1.8º motors, for 80 steps per mm, at 16x microstepping this is 5 full steps per mm. At 400 full steps per second, the feed rate you need to home at is, at least, 400/5=80mm/s, or 4800mm/min (F4800). Your homing speed is set to F1800, so even if you have 0.9º motors and double the number of full steps per mm, it's still too slow to trigger stall detection.

        From https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing#Section_Limitations_of_stall_detection

        To avoid this, the firmware allows you to set minimum speeds (in motor full steps per second) below which stall indications will be ignored.

        You'll need to either/both decrease H (200 is default) and increase the feedrate of the homing move until the number of full steps is above H.

        You should probably also reduce the motor current during stall detection with M915.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

          This is what I use on my E3D Tool Changer, which is also CoreXY, running RRF 3.01beta1:

          ; Endstops
          M574 X1 Y1 S3 		; Set X / Y endstop stall detection
          M574 Z0 		; No Z endstop
          ...
          ;Stall Detection
          M915 H200 X Y S3 R0 F0 	; set X and Y to sensitivity 3, do nothing when stall, unfiltered
          
          

          The XY steps/mm is 100 and the speed (F parameter) of XY homing moves is 3000.

          HTH David

          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

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