fan speed control - diyAudio
Go Back   Home > Forums > Design & Build > Parts

Parts Where to get, and how to make the best bits. PCB's, caps, transformers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 21st June 2005, 05:11 PM   #1
diyAudio Member
 
Join Date: May 2005
Location: Guangzhou,China
Default fan speed control

I use PWM to control fan speed.
The fan will return a tacho to represent the factual speed(RPM).

The lookup table will contain the to be used PWM settings for the
requested speed. The speed needs to be converted as the PWM output is not
linear with the voltage of the connected fan. Depending on the load of the
fan the to be used PWM characteristics will differ.

But I don't know how to write a lookup table.
Do I must to try every PWM to corresponding RPM?
So, I want to know the fan how to give the factual RPM.

Thanks advanced.
  Reply With Quote
Old 21st June 2005, 07:44 PM   #2
macboy is offline macboy  Canada
diyAudio Member
 
Join Date: Oct 2003
Location: Ottawa, Canada
Why don't you forget about table lookups and write a control loop? You know the speed you want, and you know the speed that the fan is going. All that you need to do is adjust the PWM output if the fan is not going the right speed.
  Reply With Quote
Old 22nd June 2005, 06:37 AM   #3
diyAudio Member
 
Join Date: May 2005
Location: Guangzhou,China
Thanks for your reply.

I use PID algorithm to control fan speed.
So first I must write a PWM lookup table and a tacho lookup table.

My question is how to write these tables.
  Reply With Quote
Old 24th June 2005, 03:57 AM   #4
diyAudio Member
 
TwoSpoons's Avatar
 
Join Date: Oct 2004
No, you do not need a lookup table. Your PID algorithm takes your desired speed (set speed) and the speed from the tacho, and continuously adjusts PWM until the two speeds match.
  Reply With Quote
Old 24th June 2005, 08:04 AM   #5
diyAudio Member
 
Join Date: May 2005
Location: Guangzhou,China
I chage the fan speed according to the temperature.

The lookup table will contain the to be used PWM settings for the requested speed. The speed needs to be converted as the PWM output is not linear with the voltage of the connected fan. Depending on the load of the fan the to be used PWM characteristics will differ.

The lookup table can be used to make the conversion between the received tacho pulses and the corresponding fan speed. Note that this is the conversion table for 500ms tacho pulse measurement.
  Reply With Quote
Old 24th June 2005, 12:43 PM   #6
macboy is offline macboy  Canada
diyAudio Member
 
Join Date: Oct 2003
Location: Ottawa, Canada
Quote:
Originally posted by flylionking
I chage the fan speed according to the temperature.

The lookup table will contain the to be used PWM settings for the requested speed. The speed needs to be converted as the PWM output is not linear with the voltage of the connected fan. Depending on the load of the fan the to be used PWM characteristics will differ.

The lookup table can be used to make the conversion between the received tacho pulses and the corresponding fan speed. Note that this is the conversion table for 500ms tacho pulse measurement.
Perhaps you are making this more difficult than it needs to be. If the temperature is too high, increase the PWM output. That will tend to cool the temperature down to where it should be. If the temperature is too low, decrease the PWM, which will allow the temperature to rise. Why make it any more complicated than that? Specifically, why do you want to monitor the exact fan speed?
  Reply With Quote
Old 27th June 2005, 07:32 AM   #7
diyAudio Member
 
Join Date: May 2005
Location: Guangzhou,China
This program is written by others.

I want to know what means.
Maybe we want to know the corresponding RPM with the PWM.
To decide the tacho is right or wrong.

Thanks macboy.
Because my English is not good, so I can't represent my idea.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DC motor speed control winggo Analogue Source 13 25th August 2008 01:48 AM
Speed control JVC QL A2 GrooveCat Analogue Source 2 11th January 2008 02:37 PM
speed control IZHAKKATZ Analogue Source 6 26th January 2007 03:28 PM
Fan speed control jwb Parts 4 25th May 2004 05:33 PM
DIY electronic speed control? Optical Everything Else 1 14th January 2004 08:56 AM


New To Site? Need Help?

All times are GMT. The time now is 06:26 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2