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

    DC-fan control

    Scheduled Pinned Locked Moved
    Hardware wishlist
    3
    8
    940
    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.
    • Duckleundefined
      Duckle
      last edited by

      Hey there. I recently got the Duet maestro, and I'm loving it, but one thing I've found is that none of my new 24v fans, or 5v fans like being PWMed, one even refused to run unless it had power for at least half a second, the rest screams nicely at whatever PWM frequency supplied.

      Because of this, it could be really cool to have DC control of the fans. To that end, I've worked on a small board, and have ordered parts for it. It takes a bit of a different approach and regulates the current instead of the voltage. The circuit is designed by a friend of mine, linked on the github page. Initially, we were using PWM to voltage control and 50% pwm would be 50% of the boards VCC. We switched to current control to burn less power in the transistor, and because it was fun 🙂

      You're free to use anything from that repo 🙂 If you go back in the git-log, there's a completed design doing the voltage control.

      I'll update here once I know how well it works.

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

        Did you try varying the frequency?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Duckleundefined
          Duckle
          last edited by

          Yea from 5hz to 5khz, all very audible.

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

            @duckle Try a bit higher, up to 30,000Hz

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Duckleundefined
              Duckle
              last edited by

              I'll give that a go when I get home. figured going 60x the default value was a bit overkill 😛

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

                I have a pair of fans that won't spin at less than 10,000Hz, but they have a high pitched whine. At 30,000Hz the whine is gone and they PWM properly.

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  A simpler way to convert the PWM to DC is to use an LC filter, comprising a 1mH or greater inductor (rated to carry at least the full fan current) and a 1uF capacitor. See this thread https://forum.duet3d.com/topic/6227/rc-low-pass-filter-for-blower-fan/35.

                  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
                  • Duckleundefined
                    Duckle
                    last edited by

                    @dc42 This is, in fact, a Low-pass filter, a 2nd order one in fact (yeah not necessary) it's just buffered by an opamp, and the current is carried by a MOSFET 🙂

                    A different option could be a low-pass with a series-pass transistor. that should be smaller than this board 🙂

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