Patent ID: 11903162
Assignee: ASUSTEK COMPUTER INC.
Field: Control (Instruments)
Classification: CPC H  G | IPC G  H

Claim 6:
7. A fan control method, applied to an electronic device, the electronic device comprising a fan and a setting unit, the setting unit having a plurality of setting values, each of the setting values corresponding to a sampling number, the fan control method comprising:
continuously detecting a temperature of a heat source to obtain a plurality of temperature values;
selecting one of the setting values based on variations of the temperature values;
acquiring a value set from the temperature values based on the sampling number corresponding to the selected setting value, and generating an updated temperature value based on the value set; and
controlling rotation of the fan based on the updated temperature value;
wherein the temperature values comprise a current temperature value, and the step of selecting one of the setting values based on the variations of the temperature values comprises:
acquiring a reference value set from the temperature values based on a preset number, and calculating a reference average value of the reference value set;
calculating a difference between the current temperature value and the reference average value; and
selecting one of the setting values based on the difference;

wherein the sampling numbers comprise a first sampling number, a second sampling number, and a third sampling number, the first sampling number is less than the second sampling number, the second sampling number is less than the third sampling number and corresponds to a preset equation, the setting unit has a first temperature difference and a second temperature difference, the first temperature difference is greater than the second temperature difference; and the step of selecting one of the setting values based on the difference comprises:
selecting the setting value corresponding to the first sampling number, when the difference is greater than the first temperature difference;
selecting the setting value corresponding to the second sampling number, when the difference is less than or equal to the first temperature difference and is greater than the second temperature difference; and
selecting the setting value corresponding to the third sampling number, when the difference is less than or equal to the second temperature difference.