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

    Duet resetting when using air pump

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    38
    5.0k
    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.
    • tomasfundefined
      tomasf
      last edited by

      @tomasf:

      @dc42:

      It might be worth putting a power resistor in series with the motor to limit current surges. If its running current is about 0.5A then a value of 1 to 2 ohms should be about right. If the motor has a built-in capacitor for interference suppression, that would give rise to current surges when PWM is used - giving another reason to add the resistor.

      Interesting. Thanks, I will try that tonight. I don't have any power resistors, but putting eight 0.25 W, 15 Ω resistors in parallel should work for now.

      So I just tried this, and… no difference. 😞

      @dc42:

      Is the metal frame of the pump motor in contact with anything? Do the wires between the Duet and the motor run parallel with any other wires? I'm wondering if it could be an interference issue.

      No, I have isolated the pump in a plastic shell. Same thing when it's laying bare on a [wooden] table. I have tried keeping the wires from being near anything else, and it doesn't make a difference.

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

        Can you provide photos of the wiring between the air pump and the Duet?

        Does the problem definitely go away if you disconnect the air pump and then go through the same sequence?

        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
        • tomasfundefined
          tomasf
          last edited by

          @dc42:

          Can you provide photos of the wiring between the air pump and the Duet?

          Sure! Here's the pump side:

          Excuse the ugly blob of resistors! The diode is a 1N4007. The black/red wires are about 80 cm long and end up here, in FAN0, on the other side:

          @dc42:

          Does the problem definitely go away if you disconnect the air pump and then go through the same sequence?

          Yep. If I disconnect the pump from FAN0 and turn on the fan in DWC, Duet never resets.

          1 Reply Last reply Reply Quote 0
          • tomasfundefined
            tomasf
            last edited by

            @tomasf:

            Yep. If I disconnect the pump from FAN0 and turn on the fan in DWC, Duet never resets.

            And same thing if I connect a normal fan. It spins happily and Duet runs fine.

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

              Are you certain that the wire coming out of the right hand side of the diode isn't shorting against the motor casing? In the photo it looks as if it could be, but perhaps that's just because of the angle that it's taken from.

              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
              • tomasfundefined
                tomasf
                last edited by

                @dc42:

                Are you certain that the wire coming out of the right hand side of the diode isn't shorting against the motor casing? In the photo it looks as if it could be, but perhaps that's just because of the angle that it's taken from.

                Yeah, it's just the angle.

                1 Reply Last reply Reply Quote 0
                • tomasfundefined
                  tomasf
                  last edited by

                  Yesterday, I tried connecting the pump to an always on fan port. Same thing happened; Duet reset after a few seconds (after turning on ATX power, of course). So at least we know it's unrelated to the fan MOSFETs.

                  I ordered a replacement pump a few days ago. Free but slow shipping, so it'll take a while before I can test it.

                  1 Reply Last reply Reply Quote 0
                  • tomasfundefined
                    tomasf
                    last edited by

                    So my new pump arrived. The very same kind. I soldered on the diode and connected it and… same thing. Duet resets.

                    If I connect the pump directly to the 24V output of the supply, Duet resets. However, if I also disconnect Duet's VIN+GND terminals so that the pump is alone on the higher voltage, Duet does not reset. Re-connecting the high-power GND terminal restores the previous behaviour. I'm not sure what to make of this.

                    1 Reply Last reply Reply Quote 0
                    • fmaundefined
                      fma
                      last edited by

                      Is the motor close to the Duet? It might be an interference issue when the motor runs.

                      Did you try to use a separate power supply, and drive it through a FET?

                      Frédéric

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

                        Is the metal casing of the pump motor in contact with anything?

                        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
                        • tomasfundefined
                          tomasf
                          last edited by

                          @fma:

                          Is the motor close to the Duet? It might be an interference issue when the motor runs.

                          Did you try to use a separate power supply, and drive it through a FET?

                          The motor is currently outside the printer frame with a ~15 cm cable. Before, I used a 60+ cm wire and the pump far outside the printer with the same result.

                          I have tried using a separate supply operated manually, but not with a FET. Good idea, I should try that. I guess the two supplies would need a common GND connection. I just hope that connection doesn't spread whatever happens to the Duet again.

                          It's so frustrating. If I only knew what's actually happening, I might be able to solve it. Now I'm just clueless.

                          1 Reply Last reply Reply Quote 0
                          • tomasfundefined
                            tomasf
                            last edited by

                            @dc42:

                            Is the metal casing of the pump motor in contact with anything?

                            Nope. It's currently free on a wooden table, and normally it lives isolated in a plastic case.

                            1 Reply Last reply Reply Quote 0
                            • Alexander Mundyundefined
                              Alexander Mundy
                              last edited by

                              Gasping at straws here. Just out of curiousity, have you tried running it with the separate supply electrically isolated completely from the duet and it's supply? I don't understand how it could be, but that would only leave EMI as the cause.

                              1 Reply Last reply Reply Quote 0
                              • tomasfundefined
                                tomasf
                                last edited by

                                @Alexander:

                                Gasping at straws here. Just out of curiousity, have you tried running it with the separate supply electrically isolated completely from the duet and it's supply? I don't understand how it could be, but that would only leave EMI as the cause.

                                Yeah, that's what I'm doing now, and it works fine.
                                My printer's power supply also works for the pump as long as Duet's VIN (or rather, the VIN GND) isn't connected to that supply, it seems.

                                1 Reply Last reply Reply Quote 0
                                • Dougal1957undefined
                                  Dougal1957
                                  last edited by

                                  that sound like a ground loop issue now you've said that

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

                                    Do you have the Duet connected to as PC via USB as well?

                                    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
                                    • Alexander Mundyundefined
                                      Alexander Mundy
                                      last edited by

                                      Check the polarity of each power supply input and also anything that is connected via a cable. Make sure that the intentionally grounded AC conductor (commonly called the neutral here in the US) is hooked to the power supplys as they should be. A reverse polarity on one could account for this.

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

                                        What power supply are you using to drive the Duet and the pump motor?

                                        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