Would be nice to set FAN target speed by RPM instead of PWM
-
@dc42 Sensor type for RPMs is also a nice idea.
-
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. -
@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
-
@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.
-
@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.
-
@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.
-
@theruttmeister PID uses feedback. I am describing one way conversion. RPM->(learned curve)->PWM
-
@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.
-
@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.
-
@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. -
@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.
-
@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!
-
@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.
-
@Veti Can I connect MF50152VX-1L01C-Q99 directly to 4pin fan header on duet3? With 24V voltage?
-
@BoA
the duet 3 has 4 pin fan connectors for pwm fans.
check that the fan voltage is set to vin. -
@Veti That is clear. My concern was voltage on tacho pin and pwm pin. Well... perhaps only tacho.
-
@BoA
i think the hardware overview makes it pretty clearhttps://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.
-
@Veti Ok. I will give it a try soon
-
@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