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

      I have connected an air pump for print cooling (with a Berd-Air). It's a 24 V pump, drawing around 0.5 A according to my bench power supply. I connected it to FAN0 and attached a flyback diode (in the correct orientation). Recently (I don't know why it worked for a couple of weeks), my Duet Wifi resets 30-60 seconds after I turn the pump on. I have tried both a 1N5400 and a 1N4007 diode for flyback, but that doesn't appear to make a difference.

      Any idea what could cause this? 0.5 A should be fine for the PWM fan ports, right?

      I don't think it'll help, but here's the reset stuff from M122:

      Last reset 00:01:27 ago, cause: reset button or watchdog
      Last software reset reason: User, spinning module GCodes, available RAM 4592 bytes (slot 1)
      Software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff

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

        0.5A should be fine. Where have you connected the flyback diode? The best place is on the motor terminals if it has any, otherwise as close (in wiring terms) to the motor as reasonably possible. 1N4007 is a good choice.

        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

          Yeah, I connected it between the terminals of the pump, like this:

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

            I just tried using FAN2 instead of FAN0, but that didn't help. Duet reset after 70 seconds.

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

              Could the motor be seizing up after running for a little while?

              Is there anything else the Duet is doing at around the same time as turning the pump on, or a little later?

              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

                Hmm. Interesting idea. I don't think so, but that I guess something like that would cause it to draw too much current, right? If I connect it to my bench power supply, which has a current meter, it runs along just fine around 540-550 mA without any apparent problems. I guess there could be some kind of momentary surge of current that I couldn't see on that display.

                The Duet is doing nothing else (as far as I know). I just go to the web interface and set the fan speed and it dies after a few seconds.

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

                  I have now tried connecting a power MOSFET between Duet and the air pump, but that didn't make a difference either. Perhaps there's a momentary short in the pump, which I might not notice when using the bench power supply, which probably has protection against that. No idea what I would do about that, though. Buy a new pump? 😕

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators
                    last edited by

                    The power MOSFET should protect the Duet from that sort of stuff. Are you running the pump.off a seperate supply.niw you are using an external supply? Another thing worth a try is switching fan pins to see if there is an issue with that particular fan channel.

                    www.duet3d.com

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

                      That pump looks like the same one I'm using best I can tell from the pic. I have a small 12V 5A power supply for the pump and a 24V supply for everything else. Before I installed mine I tested on 24V and the instaneous power on spike was in the range of 3.2A and the pump ran really hot so I used a separate 12V supply. They (China) advertised 24/12V but running the numbers down on the motor itself led me to the conclusion that mines a 12V 550. I finally ran down what I think is the actual manufacturer.

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

                        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.

                        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
                        • Dougal1957undefined
                          Dougal1957
                          last edited by

                          David what sort of power rating would you suggest?

                          1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            T3P3Tony administrators
                            last edited by

                            I have a 24V version of the same/similar pump and have not had any issues yet. I generally run it at 0.3-0.7 PWM.

                            www.duet3d.com

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

                              @Dougal1957:

                              David what sort of power rating would you suggest?

                              The steady-state power dissipation @ 0.5A would be 0.25W for a 1 ohm resistor, or 0.5W for a 2 ohm resistor. So 1W or 2W should be adequate unless the motor stalls.

                              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
                              • Dougal1957undefined
                                Dougal1957
                                last edited by

                                @dc42:

                                @Dougal1957:

                                David what sort of power rating would you suggest?

                                The steady-state power dissipation @ 0.5A would be 0.25W for a 1 ohm resistor, or 0.5W for a 2 ohm resistor. So 1W or 2W should be adequate unless the motor stalls.

                                Thanks David hope to see you at TCT on the Wednesday

                                Doug

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

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

                                  1 Reply Last reply Reply Quote 0
                                  • WalterSKWundefined
                                    WalterSKW
                                    last edited by

                                    Just my thoughts : What's happening at that same moment in your printer.
                                    I mean the sum of all currents has to be less or equal to the current the PSU can supply …
                                    Could be a power dip too.

                                    Brian once said: "Always look at the bright side of life"
                                    Works for me!

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

                                      also just for info I now have my pump connected and running on Fan0 connector set as a print fan and it works just fine and can adjust the speed from the Panel due as expected get masses of air thru the berd air tube now don't think I will ever have to run it at above 25% more likely 15-20 will be the sweet spot

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

                                        @WalterSKW:

                                        Just my thoughts : What's happening at that same moment in your printer.
                                        I mean the sum of all currents has to be less or equal to the current the PSU can supply …
                                        Could be a power dip too.

                                        As far as I know, nothing else is happening. I first discovered this problem when trying to print, but turning the fan (pump) on manually in DWC is enough to reproduce the issue. The PSU capacity is ample. 600W should be enough for Duet and a pump 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • WalterSKWundefined
                                          WalterSKW
                                          last edited by

                                          @tomasf:

                                          600W should be enough for Duet and a pump 🙂

                                          Unless your heater draws something like 595W, this should be sufficient indeed 😉

                                          Brian once said: "Always look at the bright side of life"
                                          Works for me!

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

                                            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.

                                            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