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

    Killing a stepper driver

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    9
    651
    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.
    • jens55undefined
      jens55
      last edited by

      It is well known (and specifically warned against in the documentation) that plugging or unplugging a stepper motor should only be done when the controller is off. I am curious about the failure mechanism. What actually happens? There is a connector with 4 pins, two of them may be energized. What is different when I plug / unplug things compared to when the controller turns a winding on or turns it off?
      I would ask that you only comment if you actually know what is happening and not just guessing at the reason.

      gloomyandyundefined dc42undefined 2 Replies Last reply Reply Quote 2
      • gloomyandyundefined
        gloomyandy @jens55
        last edited by

        @jens55 It may not be as big a problem as people think... https://www.youtube.com/watch?v=uyWolKFzb-A

        Certainly when you unplug the cable you may get a discharge and spark from the collapsing magnetic field in the motor. As to possible damage this probably comes down to how well the driver/board has been designed. See: https://electronics.stackexchange.com/questions/345003/why-does-disconnecting-a-stepper-motor-while-powered-on-damage-the-driver

        I guess it depends if you are feeling lucky.

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

          @jens55 Duets are fairly tolerant of connecting/disconnecting motors when powered, although you should always avoid doing it.

          The easiest way to kill a stepper driver is to connect the stepper motor wires to the wrong pins on the Duet. The drivers assume that the two pins of each phase output connect to one phase of the motor. If you connect the two wires of a motor phase to the outputs of different phases from the driver, then the driver can't regulate the current to the motor. If you are lucky then the driver short circuit protection may kick in before the output mosfets are destroyed.

          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

          jens55undefined 1 Reply Last reply Reply Quote 0
          • jens55undefined
            jens55 @dc42
            last edited by

            @dc42 thanks, that makes sense. Although if you plug in the wires the wrong way around, I would think that you would still kill the driver independent on if you do that while things are powered up or not. The driver would fry as soon as you turn on power and activate the driver if it can't regulate current.
            I had not thought about the current regulation aspect.

            1 Reply Last reply Reply Quote 0
            • jens55undefined
              jens55 @gloomyandy
              last edited by

              @gloomyandy, thanks for the link to the stackexchange site! Very informative.

              gloomyandyundefined 1 Reply Last reply Reply Quote 0
              • gloomyandyundefined
                gloomyandy @jens55
                last edited by

                @jens55 Did you watch the video link? Surprising what you find sometimes!

                jens55undefined 1 Reply Last reply Reply Quote 0
                • jens55undefined
                  jens55 @gloomyandy
                  last edited by

                  @gloomyandy he tried so hard .... 🙂

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

                    @jens55 the one way I managed to fry a stepper and driver was sending 1.5a to a 0.4a rated stepper I had mixed up the phases on and tried three times to make the error message go away by just rebooting the Duet2 board.

                    Luckily, @PCR was able to swap out the TMC2660 and the board is in perfect working order. The stepper did not survive the ordeal.

                    <>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
                    • oliofundefined
                      oliof
                      last edited by

                      @KenW ants? Crazy story I love it!

                      <>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