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.
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.
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.
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.
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.
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.
Because my English is not good, so I can't represent my idea.
|All times are GMT. The time now is 12:38 PM.|
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Copyright ©1999-2016 diyAudio