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

Print cooling fan not working properly

Scheduled Pinned Locked Moved
Duet Hardware and wiring
7
27
3.4k
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.
  • undefined
    jckray @Phaedrux
    last edited by 9 Sept 2018, 22:56

    @phaedrux I tried higher frequencies with no luck. I also tried another 50mm blower fan I had laying around with no luck.

    Not sure what is going on as these fans work just fine on my other Marlin/Rambo based printers.

    John
    Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
    https://www.hydraresearch3d.com/

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 9 Sept 2018, 22:58

      Just keep trying values from very low to very high.

      I wonder if them being 5v has anything to do with it? Not sure.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        jckray @Phaedrux
        last edited by 9 Sept 2018, 22:58

        @phaedrux

        On a side note, PWM seems to work reasonably well with a Noctua 40x10 fan.

        You mentioned you found a fan that worked better. Was it also a 50mm blower? If so any chance you could shoot me a link it?

        John
        Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
        https://www.hydraresearch3d.com/

        undefined 1 Reply Last reply 9 Sept 2018, 23:00 Reply Quote 0
        • undefined
          Phaedrux Moderator @jckray
          last edited by 9 Sept 2018, 23:00

          @jckray I use 12v Sunon blowers. Not sure if they have 5v equivalents. If you're still interested I can dig up the digikey link.

          Or if you know what you're looking for with fans browsing digikey might find you some good options.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 9 Sept 2018, 23:20

            https://www.digikey.ca/product-detail/en/sunon-fans/MF50151VX-B00U-A99/259-1829-ND/7691033

            https://www.digikey.ca/product-detail/en/sunon-fans/MF50151V2-B00U-A99/259-1870-ND/7942633

            The first one is a bit more powerful and louder, the second is practically silent, but will probably need 100% speed for PLA.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • undefined
              fcwilt
              last edited by 10 Sept 2018, 00:03

              Hi,

              If raising F doesn't work then I would conclude that it is the fan.

              You do have the fan outputs configured for 5 volts - correct?

              I have used a wide variety of fans and never had one not work though some worked better at low speeds than others.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              1 Reply Last reply Reply Quote 0
              • undefined
                jckray
                last edited by 10 Sept 2018, 04:20

                I made a little progress. I tried sending the fan configuration line M106 P0 I0 F10 B0.1 H-1 as a console command. This works until I reset my printer at which point it goes back to have the same problem discussed before. I confused because I have this exact same fan configuration line in my config.g.

                Does anyone have any idea why the line in my config.g is getting ignored? I pasted my full fan configuration section located in config.g.

                ; Fans
                M106 P0 I0 F10 B0.1 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control off
                M106 P1 S1 I0 F500 H1 T50 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned pn

                John
                Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
                https://www.hydraresearch3d.com/

                1 Reply Last reply Reply Quote 0
                • undefined
                  jckray
                  last edited by 10 Sept 2018, 04:23

                  Okay nevermind. I have solved it! Should have waited another minute before making that last post. I had a bad line of code in a separate file I have set up to run on startup. Everything is golden now.

                  Thanks for everyone's help and ideas!

                  John
                  Founder of Hydra Research LLC, developers of the open-source 3D printers and providers of 3D printing services.
                  https://www.hydraresearch3d.com/

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    SnowCrash
                    last edited by SnowCrash 9 Oct 2018, 04:37 10 Sept 2018, 04:36

                    Hi @jckray,

                    Glad you got it sorted out.

                    Just thought I'd chip in about the issue of PWM frequencies for the benefit of anyone else struggling with pulsating fans and potentially reading this thread. 100Hz (or even 1000Hz for that matter) is way too low for PWM fan signals. Although there's no one frequency that's suitable for all PWM fans, conventional wisdom puts the number at 25,000Hz (or 25MHz), while some even opting for a little higher (around 30MHz). Often times, changing the frequency to that level makes a significant difference in terms of the fan's acoustics.

                    undefined undefined 2 Replies Last reply 10 Sept 2018, 15:59 Reply Quote 1
                    • undefined
                      Red Sand Robot @SnowCrash
                      last edited by 10 Sept 2018, 15:59

                      @snowcrash Not sure if I am understanding exactly how PWM affects the fans, but could setting a high frequency (as in the mHz range as you mentioned) damage the fans or the board at all?

                      I'm running a 24v blower fan and any time I set it lower than 100% it emits a high pitched whine (at 500hz). Curious as to if changing the frequency to much higher will remove the whine without damaging anything

                      almost an engineer

                      undefined 1 Reply Last reply 10 Sept 2018, 17:23 Reply Quote 0
                      • undefined
                        SnowCrash @Red Sand Robot
                        last edited by SnowCrash 9 Oct 2018, 17:23 10 Sept 2018, 17:23

                        @red-sand-robot said in Print cooling fan not working properly:

                        @snowcrash Not sure if I am understanding exactly how PWM affects the fans, but could setting a high frequency (as in the mHz range as you mentioned) damage the fans or the board at all?

                        I'm running a 24v blower fan and any time I set it lower than 100% it emits a high pitched whine (at 500hz). Curious as to if changing the frequency to much higher will remove the whine without damaging anything

                        Raising the PWM frequency to the levels I mentioned won't cause any damage to the fan or board (btw, I previously verified with @dc42 in another thread that the board can generate these frequencies and indeed it can). I'm not surprised your blower whines at 500Hz. Give 25MHz a go and see if it solves the problem (don't forget the value is entered in Herz, so 25000).

                        1 Reply Last reply Reply Quote 1
                        • undefined
                          samlogan87
                          last edited by 10 Sept 2018, 18:03

                          @SnowCrash so 25kHz is what you recommend for even a 2 wire fan that is pwm’d? The wife got sick of the whine so I ordered some 4 wire fans but in the mean time should I bump it up that high as it might be a few weeks before the others show up.

                          Regards,
                          Sam

                          Custom Core-XY

                          undefined 1 Reply Last reply 10 Sept 2018, 18:16 Reply Quote 0
                          • undefined
                            SnowCrash @samlogan87
                            last edited by SnowCrash 9 Oct 2018, 18:17 10 Sept 2018, 18:16

                            @samlogan87 said in Print cooling fan not working properly:

                            @SnowCrash so 25kHz is what you recommend for even a 2 wire fan that is pwm’d? The wife got sick of the whine so I ordered some 4 wire fans but in the mean time should I bump it up that high as it might be a few weeks before the others show up.

                            Regards,
                            Sam

                            Hi Sam,

                            No reason not to try and see. Though certainly not all 2-wire fans like to be PWM'd as they weren't designed for this kind of operation, still in many instances there will be a significant improvement with higher frequency in terms of noise (and functioning).

                            Btw, if you're hooking up a PWM fan to the Duet by running the blue (=pwm signal) wire to the GND pin of the fan header and independent power lines to the fan, don't forget to add the protection diode on the signal line.

                            For anyone interested, I dug up 2 previous discussions on this topic in which @dc42 took part (and also include instructions on the said protection diode):

                            https://forum.duet3d.com/topic/6054/help-configuring-pwm-fan-in-thermostatic-mode-for-duet-drivers/4

                            https://forum.duet3d.com/topic/5248/maximum-frequency-of-pwm-fans

                            undefined 1 Reply Last reply 11 Sept 2018, 02:25 Reply Quote 1
                            • undefined
                              Red Sand Robot @SnowCrash
                              last edited by 11 Sept 2018, 02:25

                              @snowcrash Hey, thanks for the tip to turn the frequency up to 25kHz! completely fixed the electronic whine I was hearing from my blower fan, didn't even think it turned on when I set it to 30% speed!

                              almost an engineer

                              undefined 1 Reply Last reply 11 Sept 2018, 04:46 Reply Quote 0
                              • undefined
                                SnowCrash @Red Sand Robot
                                last edited by 11 Sept 2018, 04:46

                                Very cool, @red-sand-robot, I'm happy this helped 🙂

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  samlogan87
                                  last edited by 11 Sept 2018, 09:52

                                  @SnowCrash Thanks for that. I am running them at 25000hz and I think there is a slight improvement but still noticeable. I am guessing the fans that I got are not the best.

                                  Kind Regards,
                                  Sam

                                  Custom Core-XY

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators @SnowCrash
                                    last edited by dc42 9 Nov 2018, 13:00 11 Sept 2018, 13:00

                                    @snowcrash said in Print cooling fan not working properly:

                                    Hi @jckray,

                                    Glad you got it sorted out.

                                    Just thought I'd chip in about the issue of PWM frequencies for the benefit of anyone else struggling with pulsating fans and potentially reading this thread. 100Hz (or even 1000Hz for that matter) is way too low for PWM fan signals. Although there's no one frequency that's suitable for all PWM fans, conventional wisdom puts the number at 25,000Hz (or 25MHz), while some even opting for a little higher (around 30MHz). Often times, changing the frequency to that level makes a significant difference in terms of the fan's acoustics.

                                    The 25kHz figure is quoted for 4-wire fans with a separate PWM input. You shouldn't use high PWM frequencies with ordinary 2-wire fans unless you use a series inductor followed by a parallel capacitor to smooth the PWM into DC.

                                    Most 2-wire fans were never designed to be used with PWM, and it's amazing that they work as well as they do.

                                    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

                                    undefined undefined 2 Replies Last reply 11 Sept 2018, 14:06 Reply Quote 0
                                    • undefined
                                      Red Sand Robot @dc42
                                      last edited by 11 Sept 2018, 14:06

                                      @dc42 Is there any danger to the electronics from using a high PWM frequency (in the 25kHz range)? Or would the other danger be to the fan itself?

                                      almost an engineer

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        SnowCrash @dc42
                                        last edited by SnowCrash 18 Sept 2018, 07:42

                                        The 25kHz figure is quoted for 4-wire fans with a separate PWM input. You shouldn't use high PWM frequencies with ordinary 2-wire fans unless you use a series inductor followed by a parallel capacitor to smooth the PWM into DC.

                                        Most 2-wire fans were never designed to be used with PWM, and it's amazing that they work as well as they do.

                                        @dc42, to pick up on @Red-Sand-Robot most recent question, while I completely agree with your second statement, I'm a bit baffled by the first.

                                        What's the specific electrical/mechanical problem with using high PWM on 2 wire fans?

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          dc42 administrators
                                          last edited by 18 Sept 2018, 22:00

                                          High frequency PWM is ineffective if the fan has a capacitor across its power terminals. Switching losses in the MOSFET increase with PWM frequency, so if you do use 25kHz PWM to switch the power input to a fan, watch out for the MOSFET overheating.

                                          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

                                          undefined 1 Reply Last reply 19 Sept 2018, 19:38 Reply Quote 0
                                          16 out of 27
                                          • First post
                                            16/27
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA