PWM controlled fan responds unexpectedly

  • Thread starter Artlav
  • Start date
  • #1
162
0
Hello.

I'm trying to control the speed of a fan (12V cpu cooler) with PWM (555 + MOSFET).
Should be quite straightforward, but i noticed that the speed of the fan does not seem to always change in the same way the duty cycle does.

With an optical RPM meter i'm seeing that the lowest RPM is at about 5% of POT's range, and goes slightly higher below that.
In the 5%-60% range the RPM climbs steadily with the duty cycle.
At 60% there is the maximum RPM.
Between 60% and about 80% it decreases.
Then between 80% and 90% it increases again, but at 90% it's less than at 60%.
And 90% to 100% it decreases again.

Even better, that 60% peak is higher that the RPM of the fan just hooked up to the 12V directly, while 100% is less than that.

An LED hooked up to the same controller seem to change brightness linearly.

What is causing such a strange behaviour?
Or rather, how to fix it?

Schematics:
pwm_fan.png
 

Answers and Replies

  • #2
818
67
Sounds odd indeed, with those resistors and pot your duty cycle should be within ~5-50%.

Do you have access to an oscilloscope? I would have a look at the gate-source voltage of your MOSFET to see what it's actually doing. It's probably hard to judge visually with the LED if there's any problem with your switching waveform.

Edit:
I didn't notice the charging diode, duty cycle should be within ~5-95%.
 
Last edited:
  • #3
677
16
Your fan is no ordinary motor, it is a brush-less DC motor with some controller chips on board. So, I am not sure its safe/good to PWM control it. The Odd behavior has got to do something with the BLDC motor controller on your fan.
 
  • #4
818
67
The electronics in that fan motor is in all likelihood completely "dumb" and only handles commutation:
AVR442: PC Fan Control using ATtiny13

You might have a super weird fan motor but the PWM scheme in your circuit has always worked for me.
 
  • #5
NascentOxygen
Staff Emeritus
Science Advisor
9,244
1,072
You could try a power MOSFET charging an electrolytic capacitor from the + rail. Your motor could be connected across that electrolytic.

You can get the same effect by connecting an electrolytic across your motor terminals in the arrangement you have. Current pulses may be higher than anticipated.
 
  • #6
162
0
brush-less DC motor with some controller chips on board.
Looks like that's what the problem is - the fan is too "smart".
I tried a "dumber" fan with only 2 wires, and everything works nicely.
The new fan won't start spinning unless given nearly full power, but once spinning it can be throttled up and down cleanly.

So, once again - if it does not make sense, look elsewhere :)
Thanks all.
 

Related Threads on PWM controlled fan responds unexpectedly

  • Last Post
Replies
6
Views
3K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
7
Views
5K
  • Last Post
Replies
9
Views
6K
  • Last Post
Replies
2
Views
5K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
3
Views
1K
Replies
4
Views
6K
Replies
1
Views
5K
  • Last Post
Replies
2
Views
1K
Top