• 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
    last edited by jckray 9 Sept 2018, 22:54 9 Sept 2018, 19:27

    My print cooling fan does not respond to fan speed changes or being turned off. The fan is always on regardless of fan speed setting. When the fan is set to anything lower than 100% speed it plusses.

    The fan is a 50mm 2 wire 5V blower style fan connected to FAN0 on my Duet WiFi. Below is my fan configuration located in my config.g

    M106 P0 S0.0 I0 F100 B0.1 H-1

    I have tried a number of different values for F as I have read that lowering the PWM frequency from the default 250 is sometimes necessary. I have also read that some fans do not like PWM, but I'm pretty sure that the fan I am using should work.

    Any ideas what the problem could be.

    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
      samlogan87
      last edited by 9 Sept 2018, 19:34

      I think the h-1 is not meant to be there.

      Kind Regards,

      Sam

      Custom Core-XY

      1 Reply Last reply Reply Quote 0
      • undefined
        jckray
        last edited by 9 Sept 2018, 19:42

        H-1 is needed to disable thermostatic control

        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, 19:48 Reply Quote 0
        • undefined
          Phaedrux Moderator @jckray
          last edited by 9 Sept 2018, 19:48

          How high of an F value have you tried? I had a fan that needed to be very high (10000) to keep it from pulsing. I eventually just swapped out to a better fan.

          Z-Bot CoreXY Build | Thingiverse Profile

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

            Highest I went was 1000. I using Pelonis fans and they definitely make high-quality products. I will try higher values and see what happens. Thanks for the suggestion.

            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, 20:07

              I guess when I said better I meant to say, better suited. Some fans are just not designed to work well with a PWM voltage like this.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 2 Replies Last reply 9 Sept 2018, 22:56 Reply Quote 0
              • 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
                                          9 out of 27
                                          • First post
                                            9/27
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA