Fan only full-OFF or full-ON. Tried 12V, & 24V fans. Hm?...

Ask the MakerGear community for assistance...
User avatar
ednisley
Posts: 1188
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson
Contact:

Re: Fan only full-OFF or full-ON. Tried 12V, & 24V fans. Hm?

Post by ednisley » Fri Dec 08, 2017 4:45 pm

insta wrote:respond to variable input voltage
Which isn't what they're seeing, because the cap is directly across the MOSFET.

Time for some back of the envelope numbers.

When the MOSFET turns on, it connects the + side of the cap to ground. That puts a dead short across the cap, so the MOSFET must absorb all the energy stored in the cap in one brief pulse. However, the fan sees the full supply, because the MOSFET has connected the black fan wire to ground, with the +24 V (or whatever) supply on the red fan wire.

When the MOSFET turns off, the cap voltage rises (and the fan voltage decreases) as the fan current passes through it. The 24 V fans on my (heavily modded) M2 say "DC Brushless 24 V 0.09 A", so two of them in parallel initially put 180 mA into the cap.

In round numbers, 180 mA charges a 680 uF cap at 260 V/s. IIRC, Marlin runs the fan PWM at 500-ish Hz, so at 50% PWM it's off for 1 ms, during which time the voltage changes by 260 mV. Even with 10% PWM, it'll rise maybe half a volt.

So good news: the cap voltage can't rise much while the MOSFET is off, which means the MOSFET will short a fully charged cap only when the fans start up. The rest of the time, it must handle only a fraction of a volt, which is survivable.

But bad news: the cap defeats the entire purpose of the exercise, because the fans see nearly the full supply voltage all the time, because the full range of PWM values changes the fan voltage by 2%.
A 680uF isn't going to blow up a mosfet
The IRLML6346TR fan MOSFETs live in little bitty SOT32 packages and have an on-state resistance around 0.06 ohm, so the initial current from a fully charged cap is 400 A = 24 V / 0.06 ohm. I'd expect the wiring & connector resistance to reduce that, but for a total resistance of 0.2 ohm, the peak current is still 120 A.

Their continuous current rating is 3.4 A and their absolute maximum pulsed current rating is 17 A.

You treat 'em your way, I'll treat 'em my way ... [grin]

User avatar
Tim
Posts: 1205
Joined: Thu Apr 10, 2014 2:19 pm
Location: Poolesville, Maryland
Contact:

Re: Fan only full-OFF or full-ON. Tried 12V, & 24V fans. Hm?

Post by Tim » Fri Dec 08, 2017 5:09 pm

Really, the best solution is either to get 24V fans and wire them in parallel, or get a cheap adjustable-voltage buck converter and set it to output 12V, and wire the fans in parallel to the output of that. The buck converters are so small you can just wrap it in electrical tape and cram it somewhere down inside the electronics enclosure. Also the 12V output is good for an LED strip as well.

I struggled constantly with bad fans for years until I installed the buck converter, and haven't had a problem since. That said, fans are cheap and cheaply made and as far as I've noticed have about a 50% failure rate within a year, so just stock up on fans and eventually you'll get lucky and come up with a replacement that lasts for years. However, stressing the fans by splitting the voltage across them will significantly raise the failure rate.

Post Reply