COMPUTING DEVICE AND METHOD FOR CONTROLLING TEMPERATURE THEREOF

Information

  • Patent Application
  • 20110320062
  • Publication Number
    20110320062
  • Date Filed
    December 28, 2010
    13 years ago
  • Date Published
    December 29, 2011
    12 years ago
Abstract
A method for control a temperature of a computing device detects a first CPU temperature TN1 using a thermal sensor, controls the fan to swivel from an angle corresponding to the initial cooling location to an angle corresponding to a new cooling location according to a preset swiveling angle of the fan to cool the CPU according to a preset initial rotational speed if the TN1 is not less than a preset maximum temperature Tmax of the CPU, detects a second CPU temperature TN2 using the thermal sensor if the cooling time of the fan at the initial rotational speed is equal to the preset cooling time. The method controls the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN2 is less than the Tmax.
Description
BACKGROUND

1. Technical Field


Embodiments of the present disclosure relate to temperature control technology, and more particularly to a computing device and a method for controlling a temperature of the computing device.


2. Description of Related Art


Computing devices may include a central processing unit (CPU), an electric fan located on the CPU, a memory device, or other components, which usually generate a lot of heat while working. Overheating of a computing device (e.g., a computer) may lead to data loss or even damage to the computing device. Currently, temperature sensors and electric fans are coupled to the CPU for heat dispersion of the computing device. The temperature sensors measure the temperature of the computing device, while the electric fans are controlled to run at different rotational speeds. However, although the rotational speed of the electronic fans is increased, the heat dispersion of computing device is not improved and the electric fans may make more noise.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of one embodiment of a computing device comprising a temperature control system.



FIG. 2 is a block diagram showing one embodiment of functional modules of the temperature control system of FIG. 1.



FIG. 3 is a flowchart of one embodiment of a method for controlling a temperature of a computing device.





DETAILED DESCRIPTION

The processes described may be embodied in, and fully automated via, functional modules executed by one or more general purpose processors. The functional modules may be stored in any type of computer-readable medium or other computer storage device. Some or all of the methods may alternatively be embodied in specialized computer hardware or communication apparatus.



FIG. 1 is a block diagram of one embodiment of a computing device 1 including a temperature control system 10. In some embodiments, the temperature control system 10 is included in and controlled by the computing device 1, and can automatically control a temperature of working components of the computing device 1.


The computing device 1 may further include one or more fans 11, a central processing unit (CPU) 12, a thermal sensor 13, one or more components 14 (only one shown in FIG. 1), and a storage system 15. It should be understood that FIG. 1 illustrates only one example of the computing device 1, and may include more or fewer components than illustrated, or a different configuration of the various components in other embodiments. In one embodiment, the computing device 1 may be a desktop computer, a notebook computer, a server, a workstation, or any data computing device.


The fans 11 may be electronically coupled to the CPU 12, the components 14, and/or other components not shown in FIG. 1 for heat dispersion of the components. In one embodiment, the fans 11 may include a fan A, a fan B, and a fan C. In one example, the fan A is stationary (may not swivel), and is mainly used for heat dispersion of the CPU 12. The fan B may swivel (e.g., swivel/rotate about a pivot point) under control of the temperature control system 10, and is mainly used for heat dispersion of the CPU 12. The fan C is stationary (may not swivel), and is mainly used for heat dispersion of the components 14. The thermal sensor 13 is used to detect and measure the temperature of the CPU 12. In one embodiment, the storage system 15 may be an internal storage device, such as a random access memory (RAM) for temporary storage of information, and/or a read only memory (ROM) for permanent storage of information. In some embodiments, the storage system 15 may also be an external storage device, such as an external hard disk, a storage card, or a data storage medium.



FIG. 2 is a block diagram of the temperature control system 10 of FIG. 1. In one embodiment, the temperature control system 10 may include a parameter setting module 100, a temperature detection module 101, and a fan control module 102. In some embodiments, the modules 100, 101, and 102 may comprise computerized code in the form of one or more programs that are stored in the storage system 15 (or memory). The computerized code includes instructions that are executed by the at least one CPU 12 to provide functions for modules 100, 101, and 102.


The parameter setting module 100 sets a maximum temperature Tmax of the CPU 12, and sets an initial cooling location, a swiveling angle, an initial rotational speed, a maximum rotational speed Nmax, a preset cooling time, an increment of a rotational speed of the fan B. The Tmax is less than a critical temperature of the CPU 12, for example, if the critical temperature of the CPU 12 is 72°, the Tmax may be 70°. The initial rotational speed may be 30 percent of the max rotational speed Nmax of the fan B, for example, if the Nmax is 2000 revolutions per minute, the initial rotational speed may be 600 revolutions per minute. The preset cooling time of the fan B may be 1 minute. The rotational speed of the fan B may be incremented by 10 percent of the current rotational speed of the fan B, for example, if the current rotational speed is 600 revolutions per minute, the rotational speed may be incremented by 60 revolutions per minute (“the increment of rotational speed”), thus, an increased rotational speed is 600+60=660 revolutions per minute.


The temperature detection module 101 detects a first CPU temperature TN1 using the thermal sensor 13, and determines whether the TN1 is less than the Tmax.


If the TN1 is not less than the Tmax, the fan control module 102 controls the fan B to swivel from an angle corresponding to the initial location (e.g., 30 degrees) to an angle corresponding to a new cooling location (e.g., 45 degrees) according to the swiveling angle (e.g., 15 degrees) of the fan B, to cool the CPU 12 according to the initial rotational speed, and calculates a cooling time of the fan B at the initial rotational speed. In one embodiment, as shown in FIG. 1, a location of the fan B is the new cooling location for heat dispersion of the CPU 12.


The temperature detection module 101 further detects a second CPU temperature TN2 using the thermal sensor 13 if the cooling time of the fan B at the initial rotational speed is equal to the preset cooling time, and determines whether the TN2 is less than the Tmax.


If the TN2 is not less than the Tmax, the fan control module 102 increases the current rotational speed of the fan B according to the increment of rotational speed to obtain an increased rotational speed of the fan B, and determines whether the increased rotational speed is less than the Nmax of the fan B.


If the increased rotational speed is not less than the Nmax of the fan B, the fan control module 102 controls the fan B to cool the CPU 12 according to the Nmax until the temperature of the CPU 12 is less than the Tmax.


If the increased rotational speed is less than the Nmax, the fan control module 102 controls the fan B to cool the CPU 12 according to the increased rotational speed, and calculates a cooling time of the fan B at the increased rotational speed.


The temperature detection module 101 detects a third CPU temperature TN3 using the thermal sensor 13, and determines whether the TN3 is less than the Tmax.


If the TN3 is less than the Tmax, the fan control module 102 decreases a current rotational speed of the fan B to be equal to the initial rotational speed, and controls the fan B to swivel from an angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan B.



FIG. 3 is a flowchart of one embodiment of a method for controlling a temperature of a computing device. Depending on the embodiment, additional blocks may be added, others removed, and the ordering of the blocks may be changed.


In block S10, the parameter setting module 100 sets a maximum temperature Tmax of the CPU 12, and sets an initial cooling location, a swiveling angle, an initial rotational speed, a maximum rotational speed Nmax, a preset cooling time, an increment of rotational speed of the fan B.


In block S11, the temperature detection module 101 detects a first CPU temperature TN1 using the thermal sensor 13.


In block S12, the temperature detection module 101 determines whether the TN1 is less than Tmax. If the TN1 is less than the Tmax, the procedure returns to the block S12.


If the TN1 is not less than the Tmax, in block S13, the fan control module 102 controls the fan B to swivel from an angle corresponding to the initial location to an angle corresponding to a new cooling location according to the swiveling angle of the fan B to cool the CPU 12 according to the initial rotational speed, and calculates a cooling time of the fan B at the initial rotational speed.


In block S14, the temperature detection module 101 detects a second CPU temperature TN2 using the thermal sensor 13 if the cooling time of the fan B at the initial rotational speed is equal to the preset cooling time.


In block S15, the temperature detection module 101 determines whether the TN2 is less than the Tmax.


If the TN2 is not less than the Tmax, in block S16, the fan control module 102 increases the current rotational speed of the fan B according to the increment of rotational speed of the fan B to obtain an increased rotational speed of the fan B.


In block S17, the fan control module 102 determines whether the increased rotational speed is less than the N. If the increased rotational speed is less than the Nmax, in block S21, the fan control module 102 controls the fan B to cool the CPU 12 according to the Nmax.


If the increased rotational speed is less than the Nmax of the fan B, in block S18, the fan control module 102 controls the fan B to cool the CPU 12 according to the increased rotational speed, calculates a cooling time of the fan B at the increased rotational speed, and detects a third CPU temperature TN3 using the thermal sensor 13.


In block S19, the fan control module 102 determines whether the TN3 is less than the Tmax of the CPU 12. If the TN3 is not less than the Tmax, the procedure returns to the block S16.


If the TN3 is less than the Tm, in block S20, the fan control module 102 decreases a current rotational speed of the fan B to be equal to the initial rotational speed, and controls the fan B to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan B.


Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.

Claims
  • 1. A computing device, comprising: a storage system;a central processing unit (CPU);a thermal sensor to sense a CPU temperature of the CPU;a fan; andat least one processor to execute one or more programs stored in the storage system, the one or more programs comprising:a parameter setting module operable to set a maximum temperature Tmax of the CPU, and set an initial cooling location, a swiveling angle, an initial rotational speed, and a preset cooling time of the fan;a temperature detection module operable to detect a first CPU temperature TN1 using the thermal sensor, and determine whether the TN1 is less than the Tmax;a fan control module operable to control the fan to swivel from an angle corresponding to the initial location to an angle corresponding to a new cooling location according to the swiveling angle of the fan to cool the CPU according to the initial rotational speed if the TN1 is not less than the Tmax, and calculate a cooling time of the fan at the initial rotational speed;the temperature detection module further operable to detect a second CPU temperature TN2 using the thermal sensor if the cooling time of the fan at the initial rotational speed is equal to the preset cooling time, and determine whether the TN2 is less than the Tmax;the fan control module further operable to control the fan to swivel from the angle correspond to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN2 is less than the Tmax.
  • 2. The computing device of claim 1, wherein the parameter setting module is further operable to set a maximum rotational speed Nmax and an increment of a rotational speed of the fan.
  • 3. The computing device of claim 2, wherein: the fan control module is further operable to increase a current rotational speed of the fan according to the increment of the rotational speed to obtain an increased rotational speed of the fan if the TN2 is not less than the Tmax, determine whether the increased rotational speed is less than the Nmax, and control the fan cool the CPU according to the increased rotational speed if the increased rotational speed is less than the Nmax;the temperature detection module is further operable to detect a third CPU temperature TN3 using the thermal sensor if a cooling time of the fan at the increased rotational speed is equal to the preset cooling time;the fan control module is further operable to decrease a current rotational speed of the fan to be equal to the initial rotational speed and control the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN3 is less than the Tmax.
  • 4. The computing device of claim 3, wherein if the increased rotational speed is not less than the max rotational speed Nmax of the fan, the fan control module is further operable to control the fan cool the CPU according to the Nmax until the temperature of the CPU is less than the Tmax.
  • 5. A computer-implemented method for control a temperature of a computing device, the computing device comprising a central processing unit (CPU), a thermal sensor and a fan, the method comprising: setting a maximum temperature Tmax of the CPU, and setting an initial cooling location, a swiveling angle, an initial rotational speed, and a preset cooling time of the fan;detecting a first CPU temperature TN1 using the thermal sensor;determining whether the TN1 is less than the Tmax;controlling a fan of the computing device swivel from an angle corresponding to the initial location to an angle corresponding to a new cooling location according to the swiveling angle of the fan to cool the CPU according to the initial rotational speed if the TN1 is not less than the Tmax, and calculating a cooling time of the fan at the initial rotational speed;detecting a second CPU temperature TN2 using the thermal sensor if the cooling time of the fan at the initial rotational speed is equal to the preset cooling time;determining whether the TN2 is less than the Tmax;controlling the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN2 is less than the Tmax.
  • 6. The method of claim 5, further comprising: setting a maximum rotational speed Nmax and an increment of a rotational speed of the fan.
  • 7. The method of claim 5, further comprising: increasing the current rotational speed of the fan according to the increment of rotational speed to obtain an increased rotational speed of the fan if the TN2 is not less than the Tmax;determining whether the increased rotational speed is less than the Nmax; controlling the fan cool the CPU according to the increased rotational speed if the increased rotational speed is less than the Nmax;detecting a third CPU temperature TN3 using the thermal sensor if a cooling time of the fan at the increased rotational speed is equal to the preset cooling time;decreasing a current rotational speed of the fan to be equal to the initial rotational speed and controlling the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN3 is less than the Tmax.
  • 8. The method of claim 7, further comprising: controlling the fan cool the CPU according to the Nmax until the temperature of the CPU is less than the Tmax if the increased rotational speed is not less than the Nmax.
  • 9. A storage medium having stored thereon instructions that, when executed by a processor of a computer, causes the computer to perform a method for controlling a temperature of a computing device, the computing device comprising a central processing unit (CPU), a thermal sensor and a fan, the method comprising: setting a maximum temperature Tmax of the CPU, and setting an initial cooling location, a swiveling angle, an initial rotational speed, and a preset cooling time of the fan;detecting a first CPU temperature TN1 using the thermal sensor;determining whether the TN1 is less than the Tmax;controlling a fan of the computing device to swivel from an angle corresponding to the initial location to an angle corresponding to a new cooling location according to the swiveling angle of the fan to cool the CPU according to the initial rotational speed if the TN1 is not less than the Tmax, and calculating a cooling time of the fan at the initial rotational speed;detecting a second CPU temperature TN2 using the thermal sensor if the cooling time of the fan at the initial rotational speed is equal to the preset cooling time;determining whether the TN2 is less than the Tmax;controlling the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN2 is less than the Tmax.
  • 10. The medium of claim 9, further comprising: setting a maximum rotational speed Nmax and an increment of a rotational speed of the fan.
  • 11. The medium of claim 10, further comprising: increasing the current rotational speed of the fan according to the increment of rotational speed to obtain an increased rotational speed of the fan if the TN2 is not less than the Tmax;determining whether the increased rotational speed is less than the Nmax; controlling the fan cool the CPU according to the increased rotational speed if the increased rotational speed is less than the Nmax;detecting a third CPU temperature TN3 using the thermal sensor if a cooling time of the fan at the increased rotational speed is equal to the preset cooling time;decreasing a current rotational speed of the fan to be equal to the initial rotational speed and controlling the fan to swivel from the angle corresponding to the new cooling location to the angle corresponding to the initial cooling location according to the swiveling angle of the fan if the TN3 is less than the Tmax.
  • 12. The medium of claim 11, further comprising: controlling the fan cool the CPU according to the Nmax until the temperature of the CPU is less than the Tmax if the increased rotational speed is not less than Nmax.
Priority Claims (1)
Number Date Country Kind
99121052 Jun 2010 TW national