主权项 |
1. A fan control system installed in an electronic device, the fan control system comprising: a fan, a temperature sensor, and
an acquisition module, to acquire a plurality of consecutive temperature values sensed and sent by the temperature sensor in the electronic device at a time interval, which comprise a current temperature value and a previous temperature value; a comparison module, to determine whether the current temperature value is higher than a threshold; a calculation module, to calculate a temperature difference between the current temperature value and the previous temperature value when the current temperature value of the current temperature value is higher than the threshold, the comparison module being configured to determine whether the temperature difference is higher than a first trigger value, a second trigger value less than the first trigger value, and a third trigger value less than the second trigger value; a control module, to speed up the fan by an increment when the temperature difference is higher than the first trigger value, or slow down the fan by a decrement when the temperature difference is lower than the third trigger value, or maintain a speed of the fan when the temperature difference falls between the first trigger value and the third trigger value; and a setting module, to shorten the time interval to a first interval when the temperature difference is higher than the first trigger value, shorten the time interval to a second interval which is longer than the first interval when the temperature difference is higher than the second trigger value, and maintain the time interval when the temperature difference falls between the second trigger value and the third trigger value, extend the time interval to an initial interval when the temperature difference is lower than the third trigger value. |