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

    stalling and destroying stepper drivers

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    10
    32
    4.2k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Was this after a failure?

      Z-Bot CoreXY Build | Thingiverse Profile

      Hardware_SortingRoboticsundefined 1 Reply Last reply Reply Quote 0
      • Hardware_SortingRoboticsundefined
        Hardware_SortingRobotics @Phaedrux
        last edited by

        @phaedrux This was many power cycles after a failure. Should I send the command immediately after a failure?

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Juggeliundefined
          Juggeli
          last edited by

          It could also be wiring problem. When you swap the board around the connectors and cables get moved around and they are working again. Have you tried to wiggle the connectors and cables when the gantry is moving to see if that has any effect?

          I've also had some random stalling problems after assembling my machine and they turned out to be my bad crimp connections.

          adavidmundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @Hardware_SortingRobotics
            last edited by

            @injoi9000 said in stalling and destroying stepper drivers:

            @phaedrux This was many power cycles after a failure. Should I send the command immediately after a failure?

            Yes. Any error message is reset at a power cycle.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @injoi9000 said in stalling and destroying stepper drivers:

              @phaedrux Yup I have 2A motors. My motors only get warm to the touch and I have them mounted to an aluminum block for heat sinking. I have a 80mm 30cfm fan and I have position the duet as a blade in the middle of the fan so i get airflow on top and bottom.

              • Can you post a photo of your Duet cooling setup?
              • Do you ever see temperature warning messages on the GCode Console page of DWC?
              • 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

              Hardware_SortingRoboticsundefined 1 Reply Last reply Reply Quote 0
              • Hardware_SortingRoboticsundefined
                Hardware_SortingRobotics @dc42
                last edited by

                @dc42

                • Picture below
                  *I have never seen a temperature warning
                  *I am using firmware version 2.00
                  *Here is an diagnostic message I received after one of these random stalls:
                  === Diagnostics ===
                  RepRapFirmware for Duet 2 WiFi/Ethernet version 2.0(RTOS) running on Duet WiFi 1.02 or later
                  Board ID: 08DGM-9T6BU-FG3SN-6JKD2-3S46S-1UYHF
                  Used output buffers: 2 of 20 (7 max)
                  === RTOS ===
                  Static ram: 28380
                  Dynamic ram: 95476 of which 0 recycled
                  Exception stack ram used: 452
                  Never used ram: 6764
                  Task NETWORK ready, free stack 324
                  Task HEAT blocked, free stack 1256
                  Task MAIN running, free stack 3876
                  === Platform ===
                  Last reset 02:24:17 ago, cause: power up
                  Last software reset details not available
                  Error status: 0
                  Free file entries: 10
                  SD card 0 detected, interface speed: 20.0MBytes/sec
                  SD card longest block write time: 60.5ms
                  MCU temperature: min 13.7, current 21.2, max 24.0
                  Supply voltage: min 13.8, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0
                  Driver 0: standstill, SG min/max 0/1023
                  Driver 1: standstill, SG min/max 0/1023
                  Driver 2: standstill, SG min/max 0/1023
                  Driver 3: standstill, SG min/max not available
                  Driver 4: standstill, SG min/max not available
                  Date/time: 2018-09-28 14:54:25
                  Slowest loop: 40.42ms; fastest: 0.07ms
                  === Move ===
                  Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm 234, MaxWait: 2388690272ms, Underruns: 0, 0
                  Scheduled moves: 2628, completed moves: 2628
                  Bed compensation in use: none
                  Bed probe heights: 0.000 0.000 0.000 0.000 0.000
                  === Heat ===
                  Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1
                  === GCodes ===
                  Segments left: 0
                  Stack records: 2 allocated, 0 in use
                  Movement lock held by null
                  http is idle in state(s) 0
                  telnet is idle in state(s) 0
                  file is idle in state(s) 0
                  serial is idle in state(s) 0
                  aux is idle in state(s) 0
                  daemon is idle in state(s) 0
                  queue is idle in state(s) 0
                  autopause is idle in state(s) 0
                  Code queue is empty.
                  === Network ===
                  Slowest loop: 70.18ms; fastest: 0.01ms
                  Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                  HTTP sessions: 1 of 8
                • WiFi -
                  Network state is running
                  WiFi module is connected to access point
                  Failed messages: pending 0, notready 0, noresp 0
                  WiFi firmware version 1.21
                  WiFi MAC address 84:f3:eb:83:35:c6
                  WiFi Vcc 3.44, reset reason Turned on by main processor
                  WiFi flash size 4194304, free heap 14864
                  WiFi IP address 192.168.1.2
                  WiFi signal strength -45dBm, reconnections 0, sleep mode modem
                  Socket states: 0 0 0 0 0 0 0 0
                  === Expansion ===

                alt text

                deckingmanundefined 1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman @Hardware_SortingRobotics
                  last edited by

                  @injoi9000 Just looking at that M122......

                  Supply voltage: min 13.8, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0

                  So at some point, the supply voltage dropped from around 24v to 13.8v. Just wondering if that is the root cause of the problem - perhaps a dodgy power supply?

                  Ian
                  https://somei3deas.wordpress.com/
                  https://www.youtube.com/@deckingman

                  Hardware_SortingRoboticsundefined 1 Reply Last reply Reply Quote 0
                  • Hardware_SortingRoboticsundefined
                    Hardware_SortingRobotics @deckingman
                    last edited by Hardware_SortingRobotics

                    @deckingman

                    I think that was from me slamming on the E-stop to prevent the misplaced y-axis from destroying my machine... 😕 My E-stop is connected to stepper driver power the board is powered by the computer.

                    1 Reply Last reply Reply Quote 0
                    • adavidmundefined
                      adavidm @Juggeli
                      last edited by

                      @injoi9000 Did you see this comment?

                      @juggeli said in stalling and destroying stepper drivers:

                      I've also had some random stalling problems after assembling my machine and they turned out to be my bad crimp connections.

                      If you've got a bad crimp somewhere, or a damaged wire, in the path from duet - > motor then you run the risk of damaging the associated driver. The Duet is better protected against this than most controllers but it sounds like you are working the printer quite hard so maybe it's beyond what the protection can help?

                      dc42 has a video here demonstrating common failure modes in printer controllers and how the Duet attempts to mitigate them:
                      https://www.youtube.com/watch?v=uyWolKFzb-A

                      Hardware_SortingRoboticsundefined 1 Reply Last reply Reply Quote 0
                      • Hardware_SortingRoboticsundefined
                        Hardware_SortingRobotics @adavidm
                        last edited by

                        @adavidm Hmm...Having a bad crimp could be possible...That might be why the boards get damaged moving from driver to driver. But how come if I swap out a board then the machine works seemingly indefinitely? Maybe the crimps are positioned slightly differently once I swap out the board? How do I tell if I have "bad crimps"?

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

                          1. Are you certain that the boards are getting damaged, and they don't work again if you let them cool down?

                          2. Are they genuine Duet boards purchased from Duet3d.com or from one of our resellers? Genuine TMC2660 chips from Trinamic are now very reliable, but it could be that cloned boards use cloned or reject chips.

                          3. As shown in the video, disconnecting motors while under load doesn't normally cause the drivers to fail. OTOH a short circuit across a motor coil, or between one of the motor wires and ground, is much more likely to cause a failure.

                          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