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

    Fans on buck converter not turning completely off

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    3
    9
    492
    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.
    • sorcererundefined
      sorcerer
      last edited by sorcerer

      I replaced the 5V Noctua and "Prusa" fans I was using with 12V Sunon fans using a buck converter. I would have preferred 24V fans so I wouldn't have to use extra electronics but I couldn't find any easily.

      Both fans work fine, including PWM for the part cooling fan except that the new fans don't turn off completely when set to 0 and just continue to run at a low speed. This doesn't concern me for the hotend fan but I do want the ability to stop the part cooling fan.
      Could it be that the firmware isn't setting the PWM duty cycle to 0 when turning off the fans and it was just pure coincidence that the old fans stopped because whatever duty cycle was being used was below their minimum?

      The system is running on a Duet 2 Wifi with RepRap Firmware v3.2.2.
      The buck converter is connected directly to the printer's PSU, the fans' positive wires are connected to the 12V output of the converter and their negative wires are connected to fan0 and fan1 ports respectively as per documentation.
      Fan configuration:

      ; Fans
      ; Part cooling fan
      M950 F0 C"fan0"                                ; create fan 0 on pin fan0
      M106 P0 S0 H-1                                 ; set fan 0 value. Thermostatic control is turned off
      ; Hotend fan
      M950 F1 C"fan1"                                ; create fan 1 on pin fan1
      M106 P1 S1 H1 T45                              ; set fan 1 value. Thermostatic control is turned on
      

      Thanks in advance for any insight or solution.

      1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by fcwilt

        Hi,

        Can you measure the voltage on the inputs to the fan when setting the fan speed to 0?

        Perhaps there is some small voltage still appearing at the inputs?

        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
        • sorcererundefined
          sorcerer
          last edited by

          Hi,

          The converter is connected to VIN so its input voltage is always around 24V and its output is always around 12V when the printer is powered on.
          As for the fan outputs on the Duet, I didn't measure it but I have to assume that the average voltage is above the minimum required by the fans to start spinning.

          After it finishes its current print job I'll hook it up to my oscilloscope and check the PWM signal.

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @sorcerer
            last edited by

            @sorcerer said in Fans on buck converter not turning completely off:

            Hi,

            The converter is connected to VIN so its input voltage is always around 24V and its output is always around 12V when the printer is powered on.
            As for the fan outputs on the Duet, I didn't measure it but I have to assume that the average voltage is above the minimum required by the fans to start spinning.

            After it finishes its current print job I'll hook it up to my oscilloscope and check the PWM signal.

            My bad - I meant to check the fan inputs not the convertor.

            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
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              How do the fan mosfets look? It is possible to fail partially on.

              Z-Bot CoreXY Build | Thingiverse Profile

              sorcererundefined 1 Reply Last reply Reply Quote 0
              • sorcererundefined
                sorcerer @Phaedrux
                last edited by

                @Phaedrux Visually, they look brand new. I have seen a MOSFET turn into a solid wire without visual evidence in the past, though.
                I'll know more about them once I get it up on the scope. I would be surprised if both failed at the same time I changed fans, though, bit too much of a coincidence. I'll have a look at their datasheet, Sunon fans do draw more current than Noctua according to their labels.

                1 Reply Last reply Reply Quote 0
                • sorcererundefined
                  sorcerer
                  last edited by sorcerer

                  Apparently the culprit was the wiring. I wired the positive fan wires to the buck converter output (12V) and the negative fan wires to Duet fan grounds according to the documentation, specifically Mixed-voltage setups are not directly supported, but the Duet switches the fans' connections to ground, so you may be able to connect each fan's positive side to the appropriate voltage and its negative side to the appropriate pin on the Duet. This results in an average of 8V across the fans when PWM is set to 0%.

                  Scrolling down I found the section Using 12V fans when VIN is 24V and it mentions wiring the output of the buck converter to the center pin of V_FAN. This makes the voltage average go down to about 0.4V on the fan output when PWM is set to 0% and the fans behave as expected.
                  Also mentioned in that section is leave the VFAN pin of that connector not connected. While I assume that this refers to the positive output for the fan it gave me the idea to remove the V_FAN jumper and this also made the fans behave as expected.

                  Overall this mild frustration could have been avoided by reading the docs more carefully 🙂
                  For those of us too eager to get results fast may I suggest adding the part about disconnecting the V_FAN jumper to the section I quoted above since that is what people first see when navigating to that page? Either that or a link to the section below it which explains in more detail how to wire mixed voltage fans.

                  One last thing, how do I mark a thread as solved? I can't seem to find that option anywhere 🙂

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

                    Thanks for the feedback on the fan docs. Glad you got it sorted out.

                    @sorcerer said in Fans on buck converter not turning completely off:

                    One last thing, how do I mark a thread as solved? I can't seem to find that option anywhere

                    Topic Tools button, choose ask as question, then topic tools again, and this time, mark as solved.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    sorcererundefined 1 Reply Last reply Reply Quote 0
                    • sorcererundefined
                      sorcerer @Phaedrux
                      last edited by

                      @Phaedrux said in Fans on buck converter not turning completely off:

                      Thanks for the feedback on the fan docs. Glad you got it sorted out.

                      No problem. Hopefully it'll help other people who might end up in my situation 🙂

                      Topic Tools button, choose ask as question, then topic tools again, and this time, mark as solved.

                      Thanks 🙂

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