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

    Would be nice to set FAN target speed by RPM instead of PWM

    Scheduled Pinned Locked Moved
    Firmware wishlist
    6
    23
    1.1k
    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.
    • dragonnundefined
      dragonn
      last edited by

      But what gives the RPM you?
      The fan flow also doesn't scale linear with RPM.
      I think even the fan flow is more linear to the PWM input then RPM.

      BoAundefined 1 Reply Last reply Reply Quote 0
      • BoAundefined
        BoA @dragonn
        last edited by BoA

        @dragonn RPM is basically repeatable measuremet of fan speed between fans models. If You have some blower let's say 5015 I think it is safe to assume that different models (that have generally same size) will pump similar amounts of air at the same RPMs.

        My user story is that I swapped a fan to a different model, and now all gcode with fan % make cooling too strong / too weak just because of new fan beeing able to work with much higher RPMs

        dragonnundefined 1 Reply Last reply Reply Quote 0
        • theruttmeisterundefined
          theruttmeister @BoA
          last edited by

          @BoA said in Would be nice to set FAN target speed by RPM instead of PWM:

          I think PID is not required. The point is not too keep RPM with some insane accuracy. But RPM->PWM curve with simple "learning" is more than enough (like min PWM when FAN rotates, 100% to detect RPM range, and like 8 or 10 points curve).

          You are describing a PID loop, with an autotune function. Exactly how the heater control logic works.

          Isolate, substitute, verify.

          BoAundefined 1 Reply Last reply Reply Quote 0
          • dragonnundefined
            dragonn @BoA
            last edited by dragonn

            @BoA said in Would be nice to set FAN target speed by RPM instead of PWM:

            @dragonn RPM is basically repeatable measuremet of fan speed between fans models. If You have some blower let's say 5015 I think it is safe to assume that different models (that have generally same size) will pump similar amounts of air at the same RPMs.

            I am pretty sure the same models of a fan will give the same RPM at the same PWM output. But a different model, well of course but also a different model at the same RPM can give different air flow.

            Vetiundefined 1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti @dragonn
              last edited by

              @dragonn said in Would be nice to set FAN target speed by RPM instead of PWM:

              I am pretty sure the same models of a fan will give the same RPM at the same PWM output. B

              there is a +-10% spread on most fans of the same type.

              1 Reply Last reply Reply Quote 0
              • BoAundefined
                BoA @theruttmeister
                last edited by

                @theruttmeister PID uses feedback. I am describing one way conversion. RPM->(learned curve)->PWM

                theruttmeisterundefined 1 Reply Last reply Reply Quote 0
                • theruttmeisterundefined
                  theruttmeister @BoA
                  last edited by

                  @BoA
                  You already have a sensor measuring RPM to create the control curve... you are going to use that to monitor the fan anyway, the PID loop is such low overhead on something like the Duet that why on earth wouldn't you use it? You would need to create some control logic anyway, doing what dc42 suggests makes a lot of sense as it only needs a new sensor type and can re-use the heater logic.

                  I will also point out that you are also making a flawed assumption:

                  Fans are designed to push a certain CFM, with a fixed RPM and input voltage.
                  Taking 2 different CFM fans (that have different RPM ratings), and trying to run them at the same RPM is unlikely to produce the same CFM output. The fan blades are designed for the operating RPM rating and as such will perform differently at a different speed, that relationship between CFM and RPM is not linear.
                  To truly match CFM output would require a mechanism for measuring that output...

                  Its much easier to just buy fans with matching CFM/static pressure ratings.

                  Isolate, substitute, verify.

                  BoAundefined 1 Reply Last reply Reply Quote 1
                  • BoAundefined
                    BoA @theruttmeister
                    last edited by

                    @theruttmeister OK. Perhaps You are right. I build a mass flow sensor once, but for 3d printing it might be an overkill. Just looking on how the blowers are made I thought the major difference is RPMs capability.

                    dragonnundefined theruttmeisterundefined 2 Replies Last reply Reply Quote 0
                    • dragonnundefined
                      dragonn @BoA
                      last edited by

                      @BoA In my opinion they is only one, good 5015 fan - Sunon MF50151VX-A99
                      I put it in all my printers and recommend to every one.
                      Even that it is 12V only it is worth the hassle to add a step-down to run it.
                      It maybe not the quietest at 100% but is super powerful and if you need to be more quite just run it slower.

                      Vetiundefined 1 Reply Last reply Reply Quote 1
                      • Vetiundefined
                        Veti @dragonn
                        last edited by

                        @dragonn said in Would be nice to set FAN target speed by RPM instead of PWM:

                        Sunon MF50151VX-A99

                        what about he MF50152VX-1L01C-Q99?

                        24V and pwm.

                        dragonnundefined BoAundefined 2 Replies Last reply Reply Quote 0
                        • theruttmeisterundefined
                          theruttmeister @BoA
                          last edited by

                          @BoA said in Would be nice to set FAN target speed by RPM instead of PWM:

                          @theruttmeister OK. Perhaps You are right. I build a mass flow sensor once, but for 3d printing it might be an overkill. Just looking on how the blowers are made I thought the major difference is RPMs capability.

                          The original request, setting fan speed in rpm not pwm %, is still a good one!

                          Isolate, substitute, verify.

                          1 Reply Last reply Reply Quote 0
                          • dragonnundefined
                            dragonn @Veti
                            last edited by

                            @Veti said in Would be nice to set FAN target speed by RPM instead of PWM:

                            @dragonn said in Would be nice to set FAN target speed by RPM instead of PWM:

                            Sunon MF50151VX-A99

                            what about he MF50152VX-1L01C-Q99?

                            24V and pwm.

                            No idea, first time I see that model. But it isn't available outside in regular shops, only on aliexpress. I am buying A99 in a regular electronics store and paying less for that one.

                            1 Reply Last reply Reply Quote 0
                            • BoAundefined
                              BoA @Veti
                              last edited by

                              @Veti Can I connect MF50152VX-1L01C-Q99 directly to 4pin fan header on duet3? With 24V voltage?

                              Vetiundefined 1 Reply Last reply Reply Quote 0
                              • Vetiundefined
                                Veti @BoA
                                last edited by

                                @BoA
                                the duet 3 has 4 pin fan connectors for pwm fans.
                                check that the fan voltage is set to vin.

                                BoAundefined 1 Reply Last reply Reply Quote 0
                                • BoAundefined
                                  BoA @Veti
                                  last edited by BoA

                                  @Veti That is clear. My concern was voltage on tacho pin and pwm pin. Well... perhaps only tacho.

                                  Vetiundefined A Former User? 2 Replies Last reply Reply Quote 0
                                  • Vetiundefined
                                    Veti @BoA
                                    last edited by

                                    @BoA
                                    i think the hardware overview makes it pretty clear

                                    https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Hardware_Overview

                                    6 PWM controllable fan channels. 3 of these support 4 wire fans including tacho reading. These can be run from either the input voltage, from 12V, or from external power for added flexibility. Also one always-on fan connector supplied with VIN voltage.

                                    BoAundefined 1 Reply Last reply Reply Quote 1
                                    • BoAundefined
                                      BoA @Veti
                                      last edited by

                                      @Veti Ok. I will give it a try soon 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User @BoA
                                        last edited by

                                        @BoA said in Would be nice to set FAN target speed by RPM instead of PWM:

                                        My concern was voltage on tacho pin and pwm pin.

                                        they're generally active low to avoid voltage issues

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