|
|
|
|
|
by blagie
719 days ago
|
|
Simplest? Perhaps. Stupidest? Definitely. What one really wants is a target temperature. There are two pieces I'd use here: - Baseline open-loop controller based on power usage (integrated over some time; e.g. past 30 seconds) - Closed-loop controller for fine-tuning with feedback from measured temperature to fan speed (PID is fine, but the integral term is critical) The latter can be used to periodically calibrate the former. You do not want a simple mapping of temperature to fan speed. The odd issue about the above is that done wrong, continuously-changing fan speeds can be upsetting to users. Once can use a discrete approximation with hysteresis to avoid that. |
|